ADB USB Debugging / Unknown Sources

Lot of rude posts in here I wish a moderator had seen when they were relevant. Here's how to enable USB debugging programmatically.

Code:
adb shell
su
sqlite3 data/data/com.android.providers.settings/databases/settings.db
update global set value=1 where name='adb_enabled';
exit
exit

But, as mentioned you need to have adb debugging enabled to interact with the console, so it can't be done.
 
The rude posts are from over a year ago, lets not repeat them, lol. I was going to playfully blame you, jerry, for resurfacing a dead thread, but then I saw a user posted asking a question, so, thanks for offering your knowledge :)

"Differences of habit and language are nothing at all if our aims are identical and our hearts are open.? -courtesy of Albus Dumbledore, via my droid DNA.
 
The rude posts are from over a year ago, lets not repeat them, lol. I was going to playfully blame you, jerry, for resurfacing a dead thread, but then I saw a user posted asking a question, so, thanks for offering your knowledge :)

"Differences of habit and language are nothing at all if our aims are identical and our hearts are open.? -courtesy of Albus Dumbledore, via my droid DNA.
Lol. That's the only reason I saw the post. Way to go Jerry. :thumbup:

Sent from my Nexus 4
 
OK, I have a LG VIPER 4G LTE. I plug my cell phone into my PC, I select Charge Only, then I go into Settings, and then Developer Options to enable USB debugging, it is grayed out so that I can't turn it on. How do I make this option available so that I can enable USB debugging?
 
OK, I have a LG VIPER 4G LTE. I plug my cell phone into my PC, I select Charge Only, then I go into Settings, and then Developer Options to enable USB debugging, it is grayed out so that I can't turn it on. How do I make this option available so that I can enable USB debugging?

Charge only shuts off data transfer. You have to be in mass storage mode to use adb and debugging.

Or you can unplug your phone and turn it on, then plug it back in.

Sent from my paranoid s3...
 

Trending Posts

Members online

Forum statistics

Threads
954,116
Messages
6,960,630
Members
3,162,924
Latest member
und3ad