locksettings.db - Lenovo ZUK Z2 (Plus) Questions & Answers

Hi,
I'm trying to explain what happened: on my rooted z2 plus there is AEX rom v.7.3, some days ago my 6yo son changed the sequence used to unlock the phone, but he can't remember it. So I've connected the phone to the pc and through sqlite3 I've disabled the lockscreen updating some values into the file locksettings.db so I can at least access the phone. The problem is that now I can't set any security setting anymore. If I restore the old values into that db, the old sequence shows up but no one knows it... Now I'm asking, is there any way to REMOVE the old sequence without re-flashing the AEX rom?
Thanks in advance.

LiquorBurn said:
Hi,
I'm trying to explain what happened: on my rooted z2 plus there is AEX rom v.7.3, some days ago my 6yo son changed the sequence used to unlock the phone, but he can't remember it. So I've connected the phone to the pc and through sqlite3 I've disabled the lockscreen updating some values into the file locksettings.db so I can at least access the phone. The problem is that now I can't set any security setting anymore. If I restore the old values into that db, the old sequence shows up but no one knows it... Now I'm asking, is there any way to REMOVE the old sequence without re-flashing the AEX rom?
Thanks in advance.
Click to expand...
Click to collapse
I think you can delete the file locksettings.db through twrp filemanager. So that u can setup another password. I had a similar problem but can't remember exactly how i fixed it.
Cheers.

deathbreath2010 said:
I think you can delete the file locksettings.db through twrp filemanager. So that u can setup another password. I had a similar problem but can't remember exactly how i fixed it.
Cheers.
Click to expand...
Click to collapse
It worked, thanks a lot I owe you a beer!

LiquorBurn said:
It worked, thanks a lot I owe you a beer!
Click to expand...
Click to collapse
No worries. I'm glad it worked
Cheers

Related

[Q] Can't pass setup wizard on cm12.1 2015/05/12

Hello I got a big problem with my LG,
Also i did, wipe factory resset/wipe data-cache-dalvik cache, then i flashed ROM CM12.1 2015-05-12 and then GAPPSör 12.1 from offical site, when i rebot phone it's comming to setup wizard and here's the problem. I can't pass the setup wizard, ewerytime i chose language then it's comming to Wifi and it's searching all the time and can't find (router works and have wifi) when i try to skip the wifi Connection it give me . Unfortunately, Setup Wizard has stopped. i tryied /many ROM'S/ many Gapps/ Many kernel's/ still the same, anyone who has the same problem or know hot to fix that?
http://forum.xda-developers.com/showpost.php?p=60693652&postcount=307
iakoboss7 said:
http://forum.xda-developers.com/showpost.php?p=60693652&postcount=307
Click to expand...
Click to collapse
Thx for the reply, but i can't find the file to delete. The system folder are empty
well... the link provides 2 solutions
Alredy tested but no luck
then you did something wrong... you know you have to boot up in the quoted solution to work..
iakoboss7 said:
then you did something wrong... you know you have to boot up in the quoted solution to work..
Click to expand...
Click to collapse
Yapp. I flash cm12 witout reboot and then cm12.1, still the same
i just told you to boot.... boot and finish the setup in the start, after that you can use cm12.1
Newer mind, FIXED it, thx all for help
Hello my friends
I flash cm12 and don't find cmSetupwizard in the /system/priv-app in the twrp recovery
buy I find name Setupwizard.apk
I deleted it and reboot.
after installing rom correctly. setupwizard error again and I can't pass it
please help me
aminlord said:
I flash cm12 and don't find cmSetupwizard in the /system/priv-app in the twrp recovery
buy I find name Setupwizard.apk
I deleted it and reboot.
after installing rom correctly. setupwizard error again and I can't pass it
please help me
Click to expand...
Click to collapse
Hello! Just disable Setup Wizard via adb.
AKATSUKI2099 said:
Thx for the reply, but i can't find the file to delete. The system folder are empty
Click to expand...
Click to collapse
mount the system first

Lockscreen bypass?

So my roommate was drunk and set up a lockscreen swipe password and can't remember it. Is there a way to get past it without a full reset? Tried using Android device manager but not working. Any help would be great. Phone is also unlocked and rooted. Thanks
squrily said:
So my roommate was drunk and set up a lockscreen swipe password and can't remember it. Is there a way to get past it without a full reset? Tried using Android device manager but not working. Any help would be great. Phone is also unlocked and rooted. Thanks
Click to expand...
Click to collapse
You might be able to delete locksettings.db in recovery. That should clear out the pin. Used to have to do that on 6p after a restore.

Original Phone APK

Hi,
I was screwing around the other day and without realising, deleted the Phone app
When I restarted my phone, I got into a bootloop (it went from the SAMSUNG animation to the 'Optimizing apps' screen, and back to the SAMSUNG animation)
I tried installing an old one that I found on APKMirror, which booted, but 'com.android.phone' keeps crashing and I can't do anything!
So is anybody able to upload the original Phone APK from their phone? I've got an A3, but I'm sure one from an A5/7 would work the same.
If anybody could, they'd be a lifesaver!
TIA,
Ben
Ok, check your private messages
Chris.nl said:
Ok, check your private messages
Click to expand...
Click to collapse
Thanks, you're my hero!
AgentNectra said:
Thanks, you're my hero!
Click to expand...
Click to collapse
Well the euphoria was short lived. I installed it by putting it in /system/app and doing 'chmod 644' on it, but it still keeps crashing and I still have no SIM card...
Does it need to be installed somewhere special? priv-app?
Where did you pull the apk from Chris.nl?
AgentNectra said:
Well the euphoria was short lived. I installed it by putting it in /system/app and doing 'chmod 644' on it, but it still keeps crashing and I still have no SIM card...
Does it need to be installed somewhere special? priv-app?
Where did you pull the apk from Chris.nl?
Click to expand...
Click to collapse
I used SD-Maid to export the apk. Don't know it's original location.
I think /system/priv-app/TeleService/ but maybe you should reflash stock again. Just freeze apps (first few days) instead of deleting them to prefent mayor issues like this. I'm sorry.

WhatsApp not working!

Well, I do not know when or how but Whatsapp app is broken on my device! Just not starting anymore, I only get some force crash screen of about 1 second and that's it...
I have a Note 8T with latest EEA software 12.5.4.0 MIUI 12.5, rooted with Magisk, custom recovery (OrangeFox)
Funny story but enabling dual apps for Whatsapp, basically another user, I managed to start and use the app, as a secondary app because the base app is still dead!
Now, my question is:
How do I get Whatsapp to function normally again???
Things I tried:
1. clean cache and data - no fix
2. uninstall/ install app - no fix
3. enable miui optimizations - no fix
4. fix/ repair data partition in OrangeFox recovery - no fix
Is there anything else I could try in order to fix this issue? It might be somehow related with the user part of the data partition? But why only this app is affected then?
I'm just baffled by this turn... don't know what to do anymore...
Your browser is not able to display this video.
MadK9 said:
Whatsapp app is broken
Click to expand...
Click to collapse
try with :
uninstall/reboot/install
if still not work
go to : Data/system/dropbox
delete everything
open wsp and send the generated crash log (from that folder)
Well, tried twice uninstall/ install procedure... Same result...
Thank for this info. I'll try.
MadK9 said:
Well, tried twice uninstall/ install procedure... Same result...
Click to expand...
Click to collapse
i said uninstall/!REBOOT!/install
when you reboot, the package manager will delete the app leftover
the app crash because there is some data left from a previous version
try deleting "com.whatsapp" folder from
/data/data/
and from
/user_de/0/
also whatsapp folder on internal storage
Holly mackerel!!!
You know how many times I rebooted this device???
But, now, it worked without deleting anything except the dropbox content you mentioned earlier!
It just went smooth, install, setup, restore backup and all without a glitch!
THX A BUNCH!!!
Anyway, I would really love to know how was this possible in the first place as I did nothing specially regarding this app... and found myself in this situation of not being able to use it anymore... why only this app? Was something some update maybe that broke something?
MadK9 said:
You know how many times I rebooted this device???
Click to expand...
Click to collapse
dosn't matter how many time
what matters here is the timing (reboot after uninstall, once booted install)
MadK9 said:
But, now, it worked without deleting anything except the dropbox content you mentioned earlier!
Click to expand...
Click to collapse
this has nothing to do with this problem, it has only crash logs of apps ...
MadK9 said:
I would really love to know how was this possible in the first place as I did nothing specially regarding this app... and found myself in this situation of not being able to use it anymore... why only this app? Was something some update maybe that broke something?
Click to expand...
Click to collapse
it's always the updates
Thanks again loopy!

Question Remove all trace of rooting

Hi folks,
Hope you are all fine !
I uninstalled Magisk but some apps still detect it's "rooted" which prevent them from opening. Would you have any ideas what cleaning I could do to avoid these apps to wrongly detect root ?
I'm running A13 stable TP1A.221005.02.
Thanks in advance !
5t4rC0m1337 said:
Hi folks,
Hope you are all fine !
I uninstalled Magisk but some apps still detect it's "rooted" which prevent them from opening. Would you have any ideas what cleaning I could do to avoid these apps to wrongly detect root ?
I'm running A13 stable TP1A.221005.02.
Thanks in advance !
Click to expand...
Click to collapse
My guess is that you still have the bootloader unlocked.
If you decide to re-lock the bootloader, it's gonna factory reset & wipe all data.
KOLIOSIS said:
My guess is that you still have the bootloader unlocked.
If you decide to re-lock the bootloader, it's gonna factory reset & wipe all data.
Click to expand...
Click to collapse
Thanks for the suggestion.
I didn't think app could verify this so easily.
I'd like as much as possible to not wipe the device, is there any way to confirm what triggered the app to find the "root" though it is not rooted any longer ? Any logs I could check perhaps ?
Thanks in advance -
One other thing is to remove the magisk app .apk if you downloaded it. Some programs do scan your files and if they see magisk in your files they deem you as "rooted".
Cheers,
B.D.
5t4rC0m1337 said:
Thanks for the suggestion.
I didn't think app could verify this so easily.
I'd like as much as possible to not wipe the device, is there any way to confirm what triggered the app to find the "root" though it is not rooted any longer ? Any logs I could check perhaps ?
Thanks in advance -
Click to expand...
Click to collapse
Before factory resetting, you could also try a dirty flash of the latest firmware.zip or using the official online Google Pixel Flash Tool.
BostonDan said:
One other thing is to remove the magisk app .apk if you downloaded it. Some programs do scan your files and if they see magisk in your files they deem you as "rooted".
Cheers,
B.D.
Click to expand...
Click to collapse
I don't think apps are allowed to read other app's data by default anymore?
mko000 said:
I don't think apps are allowed to read other app's data by default anymore?
Click to expand...
Click to collapse
It is not reading another apps data. It literally is scanning filenames. If you grant an app permission to read/write files, it can read any downloaded file to determine if it is magisk related.
Cheers,
B.F.
BostonDan said:
It is not reading another apps data. It literally is scanning filenames. If you grant an app permission to read/write files, it can read any downloaded file to determine if it is magisk related.
Cheers,
B.F.
Click to expand...
Click to collapse
I would be very suspicious of any app requesting such a permission, if it doesn't really need it.
Hi Folks,
Thanks everyone for your suggestions !
I removed all Magisk apps files, applications which needed root (though I'm not root, but was), and this fixed the issue here (I had in my hide list from nova an app called Root Explorer and I think the issue got resolved after I uninstalled it lol).
Have a great evening !
On a side note, moving to A13 ruined my great battery life, sadge.
I had poor battery on Sept A13 release. Oct A13 security release seemed to fix this.
Cheers,
B.D.

Categories

Resources