I had Pattern Lock forgotten in my Samsung Galaxy Core i8262 ..
I tried the following commands
Code:
adb shell
cd /data/data/com.android.providers.settings/databases
sqlite3 settings.db
update system set value=0 where name='lock_pattern_autolock';
update secure set value=0 where name='lock_pattern_autolock';
update system set value=0 where name='lockscreen.lockedoutpermanently';
update secure set value=0 where name='lockscreen.lockedoutpermanently';
.quit
exit
adb reboot
Pattern Lock Removed but Now device face a strange problem ..
Update device Information screen appeared and Now it does get off .. it covers the half of the device screen
Related
So i restarted my phone this afternoon, and went to put in my screen lock password, and I get the incorrect password error over and over, until it gives me the you must wait 30 seconds.. Ive done a battery pull and still no love. Is the only way to remedy this a full data wipe. I just got bamf ginger remix up and running.
I did just find this its an older post though does anyone know if it will still work.
> ./adb shell
# sqlite3 data/data/com.android.providers.settings/databases/settings.db
sqlite> update system set value=0 where name='lock_pattern_autolock';
sqlite> update system set value=0 where name='lockscreen.lockedoutpermanently';
sqlite> .exit
# exit
I have this in general also which ill remove this is probably a better place for it.
Ok, so before there was android id changer in the market. That has now gone, so how do we change our id now? is there a code we can type into an emulator or anything?
Thanks
EDIT:
su
cd /data/data/com.android.providers.settings/databases
sqlite3 settings.db
sqlite> insert into secure (’name’, ‘value’ ) values (’android_id’,'DEVICE_ID_GOES_HERE’);
sqlite> .exit
Reboot
apparently works.
I am running CM 7.1 Jordon Stable
So I disabled the slider unlock, but it stopped recognizing my gesture for some reason and I cannot figure out how to login to my phone. Not sure if I can change that setting somehow from ADP or do something from a terminal... Any ideas?
When I say gesture, I am not referring to the password based on the motion with the dots, I am saying the screen where the unlock / silent toggle was has been disabled and I cannot get passed there.
Here are the things I have tried already
----
Attempt 1:
$ ./adb -d shell
# cd data/data
# sqlite3 ./com.android.providers.settings/databases/settings.db
SQLite version 3.7.2
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> update system set value=1 where name='lockscreen_disabled';
sqlite> .exit
# reboot
Attempt 2:
adb shell
input keyevent 82
---
Neither of these worked. I think the solution should be in the updating the settings.db, but maybe its a different row/record that contains "ENABLE slider"?
Help would be appreciated!
Hi All,
I am writing a batch script to perform functions via ADB to set up our devices.
The device is rooted, and i can do the following via ABD:
adb root
adb remount
adb shell
sqlite3 /data/system/locksettings.db
sqlite3> update locksettings SET value='1' where name='lockscreen.disabled';
sqlite> .quit
There is not the issue so far, and this works to disable the screen lock from swipe to "none"
Here is the issue, I have created a batch file, which processes all the various commands I have, which works perfectly, the problem is i cannot execute that as one command I.E.
adb shell sqlite3 /data/system/locksettings.db update locksettings SET value='1' where name='lockscreen.disabled';
This fails, i have tried various syntax changes but i get and error of TO MANY OPTIONS FOR LOCKSETTINGS
any thoughts or solutions would be most appreciated.
Kind regards
Anthony Aveley
I changed my settings for rounded corners and the display size but I forgot to backup what it was originally.
What are the defaults for:
Code:
adb shell settings get secure sysui_rounded_size
adb shell settings get secure sysui_rounded_content_padding
adb shell wm size
I found the following to be more to my preferences by toning down the large rounded corners:
Code:
adb shell settings put secure sysui_rounded_size 8
adb shell settings put secure sysui_rounded_content_padding 5
adb shell wm size 1440x2780
But I'm having an issue with touch responsiveness and I don't know if it's because I altered these settings. I will often have to tap multiple times for the screen to respond; but it's inconsistent. Kind of like the digitizer goes to sleep and I have to tap once to wake it up and then again for a touch to respond. But if I can end up tapping a bunch of times before it actually "wakes up".
I am running the latest LOS rom from this forum.
Hi. Would someone please type this adb command so that I can get the default values?
Code:
adb shell settings get secure sysui_rounded_size
adb shell settings get secure sysui_rounded_content_padding