5,594,282 Members 43,052 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Bypassing lock screen, various devices

Tip us?
 
RedPandaFox
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Sep 2012
Default [Q] Bypassing lock screen, various devices

Hi,

I know this topic has been beaten into the ground but I have been looking around and have found no solutions for this issue relating to my position.

Why do I need to a solution to?

I work in a business which deals with a lot of phones which are mostly faulty/cracked screen/need data retrieved while they have a lock screen;
I see mainly Samsung phones come in with these issues;
Factory reset is not always an option for data recovery reasons, etc etc.

The situation?

Rooting the devices is not an option.
Touch screen may not work or lock code may have been forgotten.
USB debugging probably isn't enabled.

What do I need to know?

How do I enable USB debugging from without going to settings; and
How can I remove the lock without inputting the code?


What I have tried:

Quote:
adb shell
cd /data/data/com.android.providers.settings/databases
sqlite3 settings.db
update system set value=0 where name='lock_pattern_autolock';
update system set value=0 where name='lockscreen.lockedoutpermanently';
.quit
Why it didn't work?
sqlite3: not found

Quote:
adb shell rm /data/system/gesture.key
Why it didn't work?
Permission denied

And all the other threads I found pretty much all lead to the same two results.

Any help that leads to a solution for me would be greatly appreciated!!
 
backb0ne5p1d0r
Old
#2  
backb0ne5p1d0r's Avatar
Senior Member
Thanks Meter 71
Posts: 130
Join Date: Feb 2013
You can't use sqlite3 or rm if the adb doesn't have root access.
It has to show a # instead of a $ sign. So just root the device and unroot it later if you want
And some phones give root access on adb even if you don't root them. So on adb shell type "su". If it showed a # sign then everything will work fine.
If it gave an error that su wasn't found then you need to root it.
Or you can try using adb pull commands to pull files from sdcard
You cannot enable USB debugging without going to settings. But there are some custom recoveries that gives full adb access. So just flash a custom recovery.

Sent from my One X+ using XDA Premium 4 mobile app
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes