safetynet-fix icon indicating copy to clipboard operation
safetynet-fix copied to clipboard

[Feature Request] Add support for hiding USB Debugging/Developer Options status.

Open nl255 opened this issue 2 years ago • 25 comments

Unfortunately it seems like alot of apps have now started detecting whether USB Debugging or even Developer Options are enabled and refusing to run if they are, most likely due to those checks being added to a standard "security check" library or SDK. Would it be possible to add the ability to hide the fact that they are enabled to the existing MagiskHide functionality? Unfortunately while there is an xposed module that claims to be able to do so it doesn't actually work (something about skipping injection because it is isolated) and if this is going to become a standard detection method then making a bypass for it built in would be a very nice feature.

nl255 avatar Sep 27 '21 10:09 nl255

Can you give a specific example of an app that checks for Developer Options?

kdrag0n avatar Sep 27 '21 19:09 kdrag0n

For developer options specifically the ones I found, though not tested by me, are Banco del Pacifico and Citibank PH though supposedly Citi reverted that change. I found mention of them when searching reddit for a solution to having come across two different apps that "merely" check for usb debugging and refuse to run until it is disabled.

nl255 avatar Sep 27 '21 21:09 nl255

With regard to usb debugging which is what started the whole thing, the two apps are https://play.google.com/store/apps/details?id=com.llcu.mobile and https://play.google.com/store/apps/details?id=com.fmibt.mobile . Since the message that pops up is identical (something about security policy not allowing it to run with usb debugging enabled and to disable the setting) that suggests some kind of standard library or SDK.

nl255 avatar Sep 27 '21 21:09 nl255

Can you give a specific example of an app that checks for Developer Options?

https://play.google.com/store/apps/details?id=com.pubg.newstate Source https://twitter.com/MishaalRahman/status/1458892764020723714?t=u61hh0-CNkPVKX_-Ngfr8w&s=19

JayaKrishnaKruthick avatar Nov 12 '21 01:11 JayaKrishnaKruthick

Also at least for a while the Spectrum TV app does this check too https://play.google.com/store/apps/details?id=com.TWCableTV is link for the app

however i dont use this app anymore so its not as important for me for the feature to reach this app, however if banking apps start doing this then it will be a definite issue.

newdev4ios avatar Nov 20 '21 17:11 newdev4ios

Basically this would have to be adapted to Zygisk: https://github.com/redlee90/Hide-USB-Debugging-Mode

osm0sis avatar Dec 03 '21 08:12 osm0sis

Can you give a specific example of an app that checks for Developer Options?

PUBG: NEW STATE

MlgmXyysd avatar Mar 11 '22 02:03 MlgmXyysd

Any progress? More apps have been doing these BS, its increasing day by day.

xAffan avatar Mar 23 '22 06:03 xAffan

a french NFC bank app : lyf if developper mod is activated, the app detect it , a nag screen appears and the app won't work.

https://play.google.com/store/search?q=lyf&c=apps&hl=fr&gl=GB

Broukmiken avatar Jul 28 '22 18:07 Broukmiken

Bad. Use the module by HuskyDG to hide it

xAffan avatar Aug 05 '22 20:08 xAffan

Bad. Use the module by HuskyDG to hide it

Thanks for advice,but where Can WE find it ? On his repo, there's nothing about.

Screenshot_20220809-165826_GitHub.jpg

Broukmiken avatar Aug 09 '22 15:08 Broukmiken

Magisk Delta automatically hide USB debugging I believe. Otherwise there is a module on his telegram https://t.me/+igdQXLreRaZkZWVl

On Tue, Aug 9, 2022, 8:00 PM Fred @.***> wrote:

Bad. Use the module by HuskyDG to hide it

Thanks for advice,but where Can WE find it ? On his repo, there's nothing about.

[image: Screenshot_20220809-165826_GitHub.jpg] https://user-images.githubusercontent.com/109454001/183685387-3c741a3d-2cf9-4a92-8100-4df0a3828977.jpg

— Reply to this email directly, view it on GitHub https://github.com/kdrag0n/safetynet-fix/issues/100#issuecomment-1209497730, or unsubscribe https://github.com/notifications/unsubscribe-auth/AODGAVYURK5IDDJNMRPAVG3VYJXCVANCNFSM5E2FY2KQ . You are receiving this because you commented.Message ID: @.***>

xAffan avatar Aug 09 '22 15:08 xAffan

hello , i found another way to hide usb debbugging and developer mode :

1/ install LSPosed module from https://github.com/LSPosed/LSPosed/releases/latest choose the Zygist release 2/ install this module in Magisk 3/ reboot 4/ when asked, choose "yes" to create a LSPosed shortcut on your phone if you forget to do it, just re install the module 5/ download and install "I am not a developer" apk from here : https://github.com/Xposed-Modules-Repo/xyz.xfqlittlefan.notdeveloper/releases/latest 6/activate this apk (module) in LSPosed by launching LPSosed shortcut 7/ choose the app that you want to hide from usb debugging mode and developer mode 8/ force close of the app (banking ...) wipe cache and restart the app the app should now can't check that you have usb debbuging activated and developer mode

Broukmiken avatar Oct 02 '22 18:10 Broukmiken

the app should now can't check that you have usb debbuging activated and developer mode

in which app are you checking the development status?

I'm using Playground-1.3.0 (https://github.com/fingerprintjs/fingerprintjs-android/releases) and this xposed module can't hide dev options

westruk avatar Nov 17 '22 10:11 westruk

this xposed module can't hide dev option

https://play.google.com/store/apps/details?id=com.redlee90.hideusbdebugging Try using this xposed module it's working for me

JayaKrishnaKruthick avatar Nov 17 '22 11:11 JayaKrishnaKruthick

this xposed module can't hide dev option

https://play.google.com/store/apps/details?id=com.redlee90.hideusbdebugging Try using this xposed module it's working for me

It's not working with this last https://github.com/fingerprintjs/fingerprintjs-android/releases detector

westruk avatar Nov 18 '22 04:11 westruk

Magisk Delta automatically hide USB debugging I believe. Otherwise there is a module on his telegram https://t.me/+igdQXLreRaZkZWVl

also cant bypass Screenshot_20221118-003424767

westruk avatar Nov 18 '22 05:11 westruk

Just found this module on github. github module. Worked for me on nokia 7.2 android 11 stock rom. Install LSPosed module for zygisk and install apk from the github linked. Once installed LSPosed into zygisk, reboot device. Once device reboots open lsposed and enable the module IAmNotADeveloper from github for the apps of your choice. Restart once again and the apps will not be able to detect that you have developer option enabled. Github Repo Owner Attribution: xfqwdsj. Disclaimer: I am not reponsible for damadged or "bricked" devices. Enjoy :)

GC2040 avatar May 25 '23 21:05 GC2040

Just found this module on github. github module. Worked for me on nokia 7.2 android 11 stock rom. Install LSPosed module for zygisk and install apk from the github linked. Once installed LSPosed into zygisk, reboot device. Once device reboots open lsposed and enable the module IAmNotADeveloper from github for the apps of your choice. Restart once again and the apps will not be able to detect that you have developer option enabled. Github Repo Owner Attribution: xfqwdsj. Disclaimer: I am not reponsible for damadged or "bricked" devices. Enjoy :)

It doesn't work, I still get the error message and from the wording of it and the fact that I have seen the same exact wording in two apps from different banks/credit unions I believe it is a standard shared library/framework that is doing it.

nl255 avatar May 26 '23 04:05 nl255

Just found this module on github. github module. Worked for me on nokia 7.2 android 11 stock rom. Install LSPosed module for zygisk and install apk from the github linked. Once installed LSPosed into zygisk, reboot device. Once device reboots open lsposed and enable the module IAmNotADeveloper from github for the apps of your choice. Restart once again and the apps will not be able to detect that you have developer option enabled. Github Repo Owner Attribution: xfqwdsj. Disclaimer: I am not reponsible for damadged or "bricked" devices. Enjoy :)

What app you use for detect that you have developer option enabled?

westruk avatar May 30 '23 06:05 westruk

LLCU Mobile. I have also seen the same identical wording on the First Mid Illinois banking app (which I don't use but a family member does, their phone is not rooted) which is what leads me to believe that it is not something the app developer is using but a standard "security check" library.

nl255 avatar May 30 '23 10:05 nl255

LLCU Mobile. I have also seen the same identical wording on the First Mid Illinois banking app (which I don't use but a family member does, their phone is not rooted) which is what leads me to believe that it is not something the app developer is using but a standard "security check" library.

But GitHub module that you mentioned can't hide dev options in other apps, you can check issues in it's repository

westruk avatar May 30 '23 10:05 westruk

Magisk Delta automatically hide USB debugging I believe. Otherwise there is a module on his telegram https://t.me/+igdQXLreRaZkZWVl

also cant bypass Screenshot_20221118-003424767

what app do you use to check adb?what app do you use to check adb?

savidnet avatar Jun 08 '23 14:06 savidnet

Another app to the list, e-wallet G-Cash (5.69.0) from the Philippines https://play.google.com/store/apps/details?id=com.globe.gcash.android&hl=en&gl=US&pli=1

Possible fix is upcoming: https://github.com/xfqwdsj/IAmNotADeveloper/issues/29

Lavmint avatar Oct 13 '23 06:10 Lavmint

Don't forget that some apps need their data cleared, not cache.

Some apps will save the status of various things it doesn't like being enabled. On those apps, even if you fix/hide the concerns, it won't help until you clear the data for the app, or uninstall & reinstall.

Jon8RFC avatar Jan 18 '24 00:01 Jon8RFC