kaputnikGo / PilferShushJammer

Light Android AOSP application to test microphone jamming techniques to combat Cross-Device Tracking (XDT)
212 stars 25 forks source link

[Feature] Boot options - passive/active jammer #31

Open dmlemos opened 3 years ago

dmlemos commented 3 years ago

Hi @kaputnikGo Thanks for making the feature #21.

I'm using the version 4.5.3, and since the feature was introduced I was hoping the app would turn on the passive jammer automatically. Is this something possible? It is great that the app already starts on its own, so I never forget to turn it on now. Perhaps having boot options would help accommodate different use cases.

kaputnikGo commented 3 years ago

hi there, yes the boot listener is now working as expected. However on my 3 test devices (running AOSP) it works differently - on one it doesn't auto start at all, on another it resumes in background and minimised and on the third it opens the app on reboot and displays the main window. Google/Android have stated that they don't want any app running arbitrary code at boot as it ruins user experience or something. I don't know whether that means they will/are blocking it at the API level, but it does point to why it isn't something that should be relied upon. And as such it isn't something that i want to try and force in any way, if that were even possible. Also i am not too keen on automating such a function as I think it leads to complacency and privacy on a mobile device running Android requires constant vigilance.

So if your device and your ROM are allowing it to auto start at boot now then you are lucky, but don't assume it will be this way if you update Android or the device. I know this isn't what you were hoping for but hopefully it is in some way an explanation for the circumstances surrounding partial/incomplete autostart at boot.

dmlemos commented 3 years ago

Forgot to mention that I'm using a rooted phone. If you want to investigate, a magisk module could work. I'm not sure how to do this on my side, unless it can be scripted.

kaljade commented 1 year ago

I would also like to be able to set it to start passive jamming at boot, and to resume passive jamming after a phone call. It would be possible to automate through Tasker or something similar if there are any broadcast receivers I can send an intent to?