• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root A Bit Stuck

I left my phone down in a class and went back to retrieve it only to find out that someone had maxed out the password guesses, which prompted me to put in my gmail credentials. Buttttt, i can't do that because I have wifi and 4G disabled(as well as USB debugging as far as i am aware). I tried disabling the lock screen and enabling wifi in the TWRP terminal but I can't figure out how to use it correctly. I don't mind factory resetting, but most of my contacts and other personal things aren't backed up. Any ideas?
 
I left my phone down in a class and went back to retrieve it only to find out that someone had maxed out the password guesses, which prompted me to put in my gmail credentials. Buttttt, i can't do that because I have wifi and 4G disabled(as well as USB debugging as far as i am aware). I tried disabling the lock screen and enabling wifi in the TWRP terminal but I can't figure out how to use it correctly. I don't mind factory resetting, but most of my contacts and other personal things aren't backed up. Any ideas?


First, be glad the phone was there when you got back, had that happened here in FL, the phone would've been gone. Second, try flashing a rom, don't wipe.
 
First, be glad the phone was there when you got back, had that happened here in FL, the phone would've been gone. Second, try flashing a rom, don't wipe.

I tried flashing Dover's rom and no dice. It keeps taking me back to "Too many password attempts". I've been trying to find a file manager that will let me explore the backup files and delete the lockscreen data but no dice so far.
 
Clear the dalvik cache and cache then flash a rom, but don't clear anything else


That would do it I think... but that would wipe out his contacts... and I believe he's trying to avoid that.

U might be beat bud... bit keep researching
 
That would do it I think... but that would wipe out his contacts... and I believe he's trying to avoid that.

U might be beat bud... bit keep researching

Dalvik and cache won't wipe contacts

If it helps I did in fact manage to get it to connect to ADB. i was thinking about pulling the build.prop and changing the wifi value to 1 and then pushing it back but I'm not really familiar with pushing things back to the device, only pulling. As for Dalvik Cache & Cache, it didn't work for me. Currently sitting on the lock screen trying to disable the lockscreen with the following command i found on xda:
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
only problem is "update:not found"
 
Try replacing the systemui, frameworkres apk via adb or using Android commander. Not sure if the lock pattern will get reset but won't hurt to try

Nope, won't reset. Still at the "Too many pattern attempts" screen. What line in the build.prop turns wifi on/off(or data)? That seems like my last bet other than factory resetting.
 
Well the phone has no active data connection right now which is why it's locked, lol. Would it be possible to push the apk for that app to /system/app in adb to get it to install?


I believe you do everything in on your pc, then reboot the phone, but provided you have no data and wifi is not enabled, yes you should definitely push the apk to system apps and reboot

If that doesn't do the trick you may need to flash the apk in recovery, which, to avoid too much explaining, it will be easier to dissect a custom rom, put the apk inside the system apps or user apps, then flash the rom.
 
I believe you do everything in on your pc, then reboot the phone, but provided you have no data and wifi is not enabled, yes you should definitely push the apk to system apps and reboot

If that doesn't do the trick you may need to flash the apk in recovery, which, to avoid too much explaining, it will be easier to dissect a custom rom, put the apk inside the system apps or user apps, then flash the rom.

yeah i just ended up giving up and factory resetting, thanks for the help though guys
 
Back
Top Bottom