[ROOT][HOWTO] Disable Lockscreen Ads
WARNING: I am not responsible for any bricked devices caused by attempting this howto. If you haven't read this how to twice, and fully understand the requirements, then please don't attempt it.
Introduction (not important):
First, this may not be the best way to do this, and if someone knows a better way, I'll be happy to listen.
I kinda stumbled across this solution after trying the many other ways to solve the problem, but all the other ways seemed to have something incomplete with them and ended with no ADS, but no something else, like rotating lock screens or something.
I started with the assumption that the ADS program (dtcp) can be disabled through a flag somewhere on the system, for if you pay the extra $20 you get a kindle with no ADS, but same Android build. After looking through lots of sqlite databases I found it in the com.android.providers.settings/settings.db file.
- Basic knowledge of databases
- SQLite Editor Pro (Free on 1Mobile Market)
- Open SQLite Editor
- Open "Settings Storage" (com.android.providers.settings)
- Open settings.db
- open "global" table
- Highlight entry "IS_DTCP_ENABLED"
- Click the Edit Record button at the top
- Change the value from a 1 to a 0
- Click Save
- Go back
- Make same change on the "secure" table
- Reboot kindle for new options to take effect.
This just changes the value temporarily until the device checks back in with Amazon and then the value will get overridden again with the correct value. To prevent that install DroidWall and whitelist only the applications you need to access the internet. DroidWall requires root, which is why root is in the subject. But you should be doing this anyways to prevent OTA updates.