AOSP Lollipop 5.1.0 for LG Optimus 4X HD

One of the main rivals of the legendary Samsung Galaxy SIII, the LG Optimus 4X HD has received … more

S6 Pre-orders on T-Mobile are Arriving

T-Mobile appears to be first off the mark with delivering the S6, as some customers are already … more

Best Alarm App for Android?

There are tons of choices to choose from when looking for a great alarm app for Android. While the stock … more

Unofficial CM12.1 Available for Moto E 2014

While Motorola is yet to release a final 5.0.2 build for the Moto E 2014, XDA Senior … more
Post Reply Subscribe to Thread Email Thread

[Q] boot loop, how to update data to /data/system ?

29th May 2014, 05:18 PM   |  #1  
OP Junior Member
Thanks Meter: 1
 
9 posts
Join Date:Joined: Aug 2011
Hi all,

anyone can point in the right direction how to get this boot loop fixed? theoretically i would want to push back the correct 3 locksettings files into /data/system as i have bad locksettings.db uploaded in it.

background info:
- boots into main home launcher then immediately reboots
- samsung note 3 with MJ7 stock rom but with MJ1 bootloader
- rooted and android 4.3, can access download mode and stock recovery mode
- knox 0 and wishing to remain as is
29th May 2014, 05:38 PM   |  #2  
Senior Member
Thanks Meter: 627
 
3,292 posts
Join Date:Joined: May 2010
Donate to Me
More
If you have USB Debugging enabled and have accepted the authentication request, then you should be able to remove the lockscreen settings like this:

adb shell
su
rm /data/system/locksettings.db
rm /data/system/locksettings.db-wal
rm /data/system/locksettings.db-shm
reboot

Other than that, you might just have to do a factory reset as that will remove the old lockscreen settings as well.
29th May 2014, 06:04 PM   |  #3  
OP Junior Member
Thanks Meter: 1
 
9 posts
Join Date:Joined: Aug 2011
Quote:
Originally Posted by es0tericcha0s

If you have USB Debugging enabled and have accepted the authentication request, then you should be able to remove the lockscreen settings like this:

adb shell
su
rm /data/system/locksettings.db
rm /data/system/locksettings.db-wal
rm /data/system/locksettings.db-shm
reboot

Other than that, you might just have to do a factory reset as that will remove the old lockscreen settings as well.

how do i get into adb? booting into download mode and stock recovery, i can't see any devices through the command "adb devices".

if i'm in stock recovery and choose the option "apply update from adb", only then can i see the device but i'm limited to adb sideload only without shell.
29th May 2014, 08:00 PM   |  #4  
Senior Member
Thanks Meter: 627
 
3,292 posts
Join Date:Joined: May 2010
Donate to Me
More
Quote:
Originally Posted by ebackbone

how do i get into adb? booting into download mode and stock recovery, i can't see any devices through the command "adb devices".

if i'm in stock recovery and choose the option "apply update from adb", only then can i see the device but i'm limited to adb sideload only without shell.

Have to be booted or custom recovery for adb to work.
30th May 2014, 04:10 AM   |  #5  
OP Junior Member
Thanks Meter: 1
 
9 posts
Join Date:Joined: Aug 2011
Quote:
Originally Posted by es0tericcha0s

Have to be booted or custom recovery for adb to work.

initially that's what i thought.

i'm wondering is it possible to reflash through odin a small subset so that it replaces certain files into /data/system alone? theoretically that could work right? if so, i need some pointers on where to go to attempt that.
30th May 2014, 11:15 AM   |  #6  
Senior Member
Thanks Meter: 627
 
3,292 posts
Join Date:Joined: May 2010
Donate to Me
More
Quote:
Originally Posted by ebackbone

initially that's what i thought.

i'm wondering is it possible to reflash through odin a small subset so that it replaces certain files into /data/system alone? theoretically that could work right? if so, i need some pointers on where to go to attempt that.

No. For 2 reasons. One, Odin doesn't work like that. It can install all the separate partitions, but not individual files and settings. And two, official firmware files don't wipe data.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes