FlaStar Tablet unlock pattern help - General Questions and Answers

I have a FlaStar (Chinese) Tablet model Tp719 running gingerbread. The person has forgotten their unlock pattern and does not have a Gmail backup ( don't ask me why ) first thing I asked them. I have been running the following script using SDK Tools ( device is found FYI )
adb -d shell
# sqlite3 data/data/com.android.providers.settings/databases/settings.db
sqlite> update system set value=0 where name='lock_pattern_autolock';
sqlite> .exit
# exit
> adb reboot
which does not unlock it ( I have also tried update secure set value=0 ) per honeycomb same result
Any help would be appreciated or does anyone have a copy of firmware for this MID ? trying to get it fixed for them before Christmas
Thanks in advance for any and all help or suggestions

Related

Screen lock wont let me in

I reposted in Q&A, couldnt figure out a way to delete this sorry about the double post
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

[GUIDE][HOW-TO] Use VPN in Jellybean without security lock

I am not responsible for anything that may come of or from this information. Use at your own risk!
Step #1)
Create security lock through Settings (pattern, pin, password).
Step #2)
Add VPN connections
Step #3)
Plug the phone in and run these commands (requires adb to be setup properly and drivers). I am sure there is a way to do this directly on the phone but this is easier for me.
Commands to remove security:
Code:
adb shell
sqlite3 /data/system/locksettings.db
update locksettings set value=0 where name='lockscreen.password_type';
.exit
exit
Finished!
For me no reboot was required and you do not have to restore pattern in order to create more VPN connections.
Optional Step:
If you decide that you want to restore the security run the one that fits you.
Commands to restore pattern:
Code:
adb shell
sqlite3 /data/system/locksettings.db
update locksettings set value=65536 where name='lockscreen.password_type';
.exit
exit
Commands to restore pin:
Code:
adb shell
sqlite3 /data/system/locksettings.db
update locksettings set value=131072 where name='lockscreen.password_type';
.exit
exit
Commands to restore password:
Code:
adb shell
sqlite3 /data/system/locksettings.db
update locksettings set value=262144 where name='lockscreen.password_type';
.exit
exit
Great! Thank you!
really helpful, i've been fed up with stupid design.
Brilliant, does it also work for ICS?
I don't have an ICS device. If I can find someone that is willing to let me take a look at their ICS device I can see.
When I restart my phone, it needs a password to access VPN menu. what should I do? I don't want to run these commands every time I restart my phone. any solutions?
does it work with exchange password policy as well?
Sent from my GT-I9300 using xda app-developers app
P30SiNa said:
When I restart my phone, it needs a password to access VPN menu. what should I do? I don't want to run these commands every time I restart my phone. any solutions?
Click to expand...
Click to collapse
Hmm did notice that before I will see whats up with that,
portnoy.vitaly said:
does it work with exchange password policy as well?
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
I am not sure but I would imagine so. I would try with pattern lock and not PIN or Password.
Says that "sqlite3: not found" ....
I justd used Forget password option and entered pin , then i didnt choose any options , and the pattern removed
Just tried this. Added vpn, removed lock pattern. It went back to slide, worked fine.
Rebooted, not visiting VPN settings it's asking me to enter credential storage...any ideas how I can a) get past this without wiping my wifi/vpns, or b) remove this but keep my vpns and slide lock?
sorset said:
Says that "sqlite3: not found" ....
I justd used Forget password option and entered pin , then i didnt choose any options , and the pattern removed
Click to expand...
Click to collapse
Same here.
Works great, thanks for sharing :good:
spumanti said:
Same here.
Works great, thanks for sharing :good:
Click to expand...
Click to collapse
Works for me, too, until I reboot :/
Doesn't work. Apparently it's problem with sqlite.
soinfo_relocate(linker.cpp:1013): cannot locate symbol "sqlite3_enable_load_extension" referenced by "sqlite3"...CANNOT LINK EXECUTABLE
Any help please?
Use Script Manager to make this done on every boot.
1. Make this a batch file:
Code:
#!/system/bin/sh
echo "update locksettings set value=0 where name='lockscreen.password_type';" | sqlite3 /data/system/locksettings.db
and save it to your sdcard
2. Use Script Manager to run it on boot and enable su (root).
3. Test it by running it from script manager and see if it runs correctly. You can try enabling PIN and it should be disabled after running this.
4. Final test: reboot your phone and see if PIN/password is disabled.
Keep in mind this gets executed after everything else, so if you try to wake your phone right away, you might still see the PIN prompt.
Another way without script manager:
1. Make this a batch file:
Code:
#!/system/bin/sh
echo "update locksettings set value=0 where name='lockscreen.password_type';" | sqlite3 /data/system/locksettings.db
and save it to your sdcard as 99pinremove
2. Run the following using adb:
Code:
adb shell
su
mount -o remount rw /system
cp /sdcard/99pinremove /etc/init.d/99pinremove
chmod 755 /etc/init.d/99pinremove
chown root:shell /etc/init.d/99pinremove
exit
exit
In 4.4 there is no such file
Code:
/data/system/locksettings.db
.. any ideas?

[Resolved] The SIM-card you are trying to use is now roaming.No local SIM is available

ALL CREDITS GOES TO "CAMEL"
For those who experienced this annoyng warning like "The SIM-card you are trying to use is now roaming. No local SIM is available now" I found a working solution. The basic ideea is to update a system property called [gsm.operator.isroaming] to false fast enough that the system belives that is not in roaming. You need root on your device for this workaround to work.
Step 0. Get root access!!!! Adb working!!!
Step 1. Create a file in /system/etc called "install-recovery.sh". If this file exists, append a new line
android# echo "\n/system/etc/camel-roaming &\n" >> /system/etc/install-recovery.sh
This line will execute in background a script named camel-roaming which is placed in system/etc. Change its permission to 755 with
android# chmod 755 /system/etc/install-recovery.sh
Step 2. Create a file in /system/etc called "camel-roaming". This will change roaming parameters once every second. Content of this file will be:
while [ 1 - eq 1 ]
do
setprop gsm.roaming.indicator.needed false
setprop gsm.operator.isroaming false
sleep 1
done
Change its permission to 755 using the same chmod command. Do not use windows notepad for edit because the way that it threats new lines. Use root explorer, midnight commander or simply echo to this file using echo "some text \n" where "\n" stands for a new line.
Reboot your phone and voila! The warning will no more be displayed. It is a chance, probably one in a million to get this warning again if the property is changed by system in less than one second, while our script is sleeping.
:crying:
Don't work for me! :crying:
I use a dual-sim phone (Allview V1 Viper, the same with Gionne Elife E3 / Blue Life Play / General Mobile Discovery, etc).
This solution is valid also for dual-sim phones or only for single-sim?
Thanks!

[Q] CM12 encryption with separate pattern unlock

I want to use encryption with a long password at boot but retain the easy pattern unlock while phone is in use. I found a simple way to do this elsewhere online but can't post the link because I don't have enough posts to do so, but it boils down to using these commands at the terminal:
Code:
[email protected] # adb root
[email protected] # adb shell
[email protected]:/ #
[email protected]:/ # /system/bin/vdc cryptfs enablecrypto inplace PASSWORD
However, stock Android 4 is what's being used in this guide and I can't find any info about whether this works the same in later Android versions. I want to accomplish this task with the official CM12 on my Nexus 5. Does anyone know if it works before I accidentally get stuck with a really long screen unlock?
Thanks!

[Completed] Batch Script - -SQLite3 issue

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 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
AnthonyAveley said:
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 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
Click to expand...
Click to collapse
Hi Anthony
Please, feel welcome to access our experts at the below forum as they should be able to tackle your question.
Android Development and Hacking > Android General
Nice regards, good luck and mainly, have fun.
.

Categories

Resources