How to Disable Data Encryption on Nexus 6

In late September, Google decided to step on NSA’s toes and turn on encryption by default in … more

DJI Phantom 2 Vision+ Review – XDA TV

The holidays will be here in no time, so why not start thinking about gifts now? Youll be ahead … more

Mozilla Ditches Google, Makes Yahoo Default Search Engine

Mozilla and Google have had a long-standing relationship of about 10 years. Google … more

Learn More About Linux with Linux Man Pages

Linux is quite a powerful and very configurable operating system. Thanks to some user-friendly … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP ebackbone

29th May 2014, 06:18 PM   |  #1  
OP Junior Member
Thanks Meter: 0
 
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, 06:38 PM   |  #2  
Senior Member
Thanks Meter: 586
 
3,082 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, 07:04 PM   |  #3  
OP Junior Member
Thanks Meter: 0
 
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, 09:00 PM   |  #4  
Senior Member
Thanks Meter: 586
 
3,082 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, 05:10 AM   |  #5  
OP Junior Member
Thanks Meter: 0
 
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, 12:15 PM   |  #6  
Senior Member
Thanks Meter: 586
 
3,082 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