Speed Up Deodexing with JoelDroid Batch Deodexer

Android 5.0 Lollipop brings many under-the-hood changes like changing the default compiler … more

Top 5 Apps for 2014 + Top Xposed Mod of 2014 – XDA TV

Its that time of year where you look back and remember the things that happened … more

NVIDIA SHIELD Tablet Gets Android 5.0.1, OTA Available

The NVIDIA SHIELD Tablet is the latest Android-powered device released by famed GPU … more

FXP Team Delivers Lollipop to Various Xperia Devices!

From all of us here at XDA-Developers, we’d like to wish you Happy Holidays! If … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Thread Deleted

[ROOT][HOWTO] Disable Lockscreen Ads

OP Souple

Prev Previous Post   Next Post Next
21st June 2014, 11:57 PM   |  #1  
OP Junior Member
Thanks Meter: 9
 
2 posts
Join Date:Joined: Jun 2014
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.

Prerequisites:
  • Basic knowledge of databases
  • SQLite Editor Pro (Free on 1Mobile Market)
  • DroidWall

Steps:
  1. Open SQLite Editor
  2. Open "Settings Storage" (com.android.providers.settings)
  3. Open settings.db
  4. open "global" table
  5. Highlight entry "IS_DTCP_ENABLED"
  6. Click the Edit Record button at the top
  7. Change the value from a 1 to a 0
  8. Click Save
  9. Go back
  10. Make same change on the "secure" table
  11. Reboot kindle for new options to take effect.

Other Thoughts:
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.
The Following 8 Users Say Thank You to Souple For This Useful Post: [ View ]
Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes