Context - I started building Android apps 3 years ago, and that is the best thing that happened to me. But Android has some shortcoming too. For Devs, it's the Android Developer options, To enable Android Developer Options, First you have to
1)Go to Settings
2)Go to About Phone
3)Find where is build number
4)Click it 7 times
5)Enter your passcode
6)Then go to the developer options Settings
7)And Finally enable android developer settings
You have to perform 7 freaking steps!! to just enable 1 setting. And to be quite frank. I can do that, it's no problem but just for one time. I use my development phone as my primary phone and many of you also might be using the same phone for development and for personal use.
Issue - I go anywhere, even a grocery store and try to pay. Because my developer options are active, Now I cannot open my UPI/Banking apps and that to me, is very absurd(I came to know that google is now redacting the ability of apps to read if the developer options are enabled or not in later versions). And this was very frustrating for me at times. Because i just had to make one 20 rupees transaction and i have to give the shopkeeper a whole walkthrough of my settings app. Close the UPI app, go to developer options and then disable the settings to just perform one 20 rupees transaction.
One day I got so frustrated, i tried looking for solutions. I sat and researched and finally i found something. Android has a database of all android settings called the Settings Provider. and you can manipulate it and change any setting of your android phone, but it needed a special permission, that cannot be accesed just like a normal permission in your android app where a dilaog box will open and you can just click Grant Permission. And kaboom you can now have the access to all the settings.
Actually No, If this were true, it would be a huge security exploit as normal users don't clearly examines why this particular app needs this permission and just give the permission away. So, Android team decided to just make this permission a special permission, which means you can give this permission to an android app over adb only.
The permission is WRITE_SECURE_SETTINGS. I made the app and decided to make a widget to quickly give the user access to the developer settings. The widget acted as a toggle to enable/disable the developer options.
Furthermore I thought if somebody is not a big fan of widgets then what? That's why i made a Quick settings toggle tile. So, the user can open the notification bar and can enable/disable the developer options.
That's it
NO 7 times tapping
NO Awkward walkthrough of your settings app in public places
NO frustration of repeatedly enabling/disabling developer options.
and the most perfect thing? The code is open source.
you can check it out here
shubhang-d
/
Loophole
Toggle Android Developer Options from Quick Settings in one tap. Built so banking apps and dev work don't collide.
A one-tap Quick Settings toggle for Android Developer Options — so your banking apps stop throwing a fit while you're building.
The problem
If you're an Android developer, Developer Options is basically always on. But a lot of banking and fintech apps treat that as a red flag and refuse to open, or silently degrade, while it's enabled — even though you're not doing anything shady, you're just building.
The normal fix is: open Settings → System → Developer Options → toggle it off → open your banking app → remember to go back and turn it on again later. Every. Single. Time.
Loophole turns that into one tap from the notification shade.
What it does
- Reads and toggles
Settings.Global.DEVELOPMENT_SETTINGS_ENABLEDdirectly - Ships as a Quick Settings tile — pull down the shade, tap, done
- Includes a simple in-app switch as a fallback / status view
- No ads, no analytics…
If you like my work, You can give it a star too😁. Currently we are at 70+ stars




Top comments (0)