Remove All Ads from XDA


5 posts
Thanks Meter: 0
By shaddowdemon, Junior Member on 7th January 2011, 03:34 AM
Post Reply Email Thread

My main question is: where are the settings stored? I've done some research, and there is apparently supposed to be a file called settings.db on android phones... but mine doesn't have one o.O

I was locked out of my phone because of the pattern lock screen, and it will not accept my gmail user name and password. It immediately fails when I submit the info, and I am positive it is correct. A common solution to this problem is to change some variables in settings.db (for different phones).

To find all .db files, I used: find / -name "*.db" -print

I can boot into clockwork recovery and connect with adb...

Thanks in advance!
7th January 2011, 03:43 AM |#2  
imnuts's Avatar
Inactive Recognized Developer
Flag West Chester
Thanks Meter: 3,184
Donate to Me
Are you running the command as root? The default user doesn't have read access to all directories on the phone, and it's likely the file is in one of those directories.
7th January 2011, 03:51 AM |#3  
OP Junior Member
Thanks Meter: 0
I believe so. I have a # for the prompt.
7th January 2011, 04:48 PM |#4  
OP Junior Member
Thanks Meter: 0
Ah, after many hours, I have fixed my problem. Since it's possible someone else may find this thread, I'll explain what I did. Basically, the datadata folder is not auto-mounted. I noticed this when I was doing a nandroid backup... so, I mounted it, and my problems were solved

First, I used adb to pull /etc/fstab. In fstab, you can view the device location that is usually mounted for the datadata folder (open it in notepad or wordpad or something).

After that, I used adb -d shell and mounted the device.

I forget the name of the block file, but the syntax of the command to mount devices is:

mount <block_device_location> /datadata
Come to think of it, "mount /datadata" might have also worked.

After that, I was able to find the settings.db file in the datadata/databases folder and edit a setting in it to remove the permanent lock using the "sqlite browser". The variable to change is obvious (it has permanent lockout in the name) and it needs to be changed from a 1 to a 0.
10th January 2011, 01:30 AM |#5  
Junior Member
Thanks Meter: 0
**** this **** didnt work, too confusing.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes