Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,786,442 Members 43,308 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
ebackbone
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 9
Join Date: Aug 2011
Question [Q] boot loop, how to update data to /data/system ?

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
 
es0tericcha0s
Old
#2  
Senior Member
Thanks Meter 504
Posts: 2,627
Join Date: May 2010

 
DONATE TO ME
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.
Need some help, advice, something fixed? Hit me up on Hangouts @ es0tericcha0s
Now offering unlocking services - including many Sprint phone unlocks! PM for details!

HTC Droid Eris / Motorola Droid / Samsung Galaxy S Fascinate / Motorola Droid X / LG G2x / HTC Evo 3D (x2) / Samsung Epic 4G Touch (Sprint S2) / HTC Amaze / Samsung Galaxy S3 (International) / Samsung Galaxy Note 2 / Nexus 4 / HTC One / Samsung Galaxy S4 / Sony Xperia ZL / Nexus 5 / OnePlus One (64 GB)
 
ebackbone
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 9
Join Date: Aug 2011
Quote:
Originally Posted by es0tericcha0s View Post
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.
 
es0tericcha0s
Old
#4  
Senior Member
Thanks Meter 504
Posts: 2,627
Join Date: May 2010

 
DONATE TO ME
Quote:
Originally Posted by ebackbone View Post
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.
Need some help, advice, something fixed? Hit me up on Hangouts @ es0tericcha0s
Now offering unlocking services - including many Sprint phone unlocks! PM for details!

HTC Droid Eris / Motorola Droid / Samsung Galaxy S Fascinate / Motorola Droid X / LG G2x / HTC Evo 3D (x2) / Samsung Epic 4G Touch (Sprint S2) / HTC Amaze / Samsung Galaxy S3 (International) / Samsung Galaxy Note 2 / Nexus 4 / HTC One / Samsung Galaxy S4 / Sony Xperia ZL / Nexus 5 / OnePlus One (64 GB)
 
ebackbone
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 9
Join Date: Aug 2011
Quote:
Originally Posted by es0tericcha0s View Post
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.
 
es0tericcha0s
Old
#6  
Senior Member
Thanks Meter 504
Posts: 2,627
Join Date: May 2010

 
DONATE TO ME
Quote:
Originally Posted by ebackbone View Post
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.
Need some help, advice, something fixed? Hit me up on Hangouts @ es0tericcha0s
Now offering unlocking services - including many Sprint phone unlocks! PM for details!

HTC Droid Eris / Motorola Droid / Samsung Galaxy S Fascinate / Motorola Droid X / LG G2x / HTC Evo 3D (x2) / Samsung Epic 4G Touch (Sprint S2) / HTC Amaze / Samsung Galaxy S3 (International) / Samsung Galaxy Note 2 / Nexus 4 / HTC One / Samsung Galaxy S4 / Sony Xperia ZL / Nexus 5 / OnePlus One (64 GB)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes