So on my old phone i had a fingerprint lock set. I got my replacement phone back to today and restored it.
After I restored the new phone phone it asks for a pin number. I unlock with the pin from the old phone but when I go to re enable the fingerprint it flashing the fingerprint/pin screen then returns to settings.
Anyone else have this happen?
Festaman said:
So on my old phone i had a fingerprint lock set. I got my replacement phone back to today and restored it.
After I restored the new phone phone it asks for a pin number. I unlock with the pin from the old phone but when I go to re enable the fingerprint it flashing the fingerprint/pin screen then returns to settings.
Anyone else have this happen?
Click to expand...
Click to collapse
Try wiping all prints then redoing it.
Has anyone found a solution to this problem?
This is something I have just ran into after swapping what I think was a bit of a lemon Atrix for a new one; I did a quick Titanium Backup prior to the swap, went about restoring everything, and now I cannot enter the "Change Screen Lock" section of Settings, nor can I "Clear stored fingerprints" as that option isn't allowed.
My thanks for any advice or help that anyone can offer. I'd prefer not to resort to a Factory Reset; after all, I just got things up and running again, and I have no idea if that would even help anything.
Thank you,
-Newbie
JustAnotherNewbie said:
Has anyone found a solution to this problem?
This is something I have just ran into after swapping what I think was a bit of a lemon Atrix for a new one; I did a quick Titanium Backup prior to the swap, went about restoring everything, and now I cannot enter the "Change Screen Lock" section of Settings, nor can I "Clear stored fingerprints" as that option isn't allowed.
My thanks for any advice or help that anyone can offer. I'd prefer not to resort to a Factory Reset; after all, I just got things up and running again, and I have no idea if that would even help anything.
Thank you,
-Newbie
Click to expand...
Click to collapse
You probably will have to and then not restore your settings. For future before you swap out your device due to a glitch remove the security. Also I would recommend submitting a bug report to the developer.
I also have the exact same problem. Has anyone found a solution to this issue?
I had this same problem. To fix I had to flash SBF. Don't think there is a way to fix it once you've restored it. Make sure when you make a new back-up before you flash that you remove security or not back it up. In this instance, since you can't disable it, you'll have to remove it from back-up.
Yeah I had the same issue. when TiBu backed up my stuff it backed up even sys files and settings messing a lot of things up, forcing me to flash 4.1.26 and start over. So what I had to do is manually pick what TiBu backs up and leave sys settings and files out.
Sent from my MB860 using XDA Premium App
fix for titanium backup restore of fingerprint capability.
from a root shell after restoring and being in the bad state run this command
Code:
sqlite3 /data/data/com.motorola.android.providers.settings/databases/settings.db
at the sqlite> prompts enter these commands
Code:
delete from settings where name='lock_type';
delete from settings where name='lock_fingerprint';
delete from settings where name='lock_timer';
wrldsuksgo2mars said:
from a root shell after restoring and being in the bad state run this command
Code:
sqlite3 /data/data/com.motorola.android.providers.settings/databases/settings.db
at the sqlite> prompts enter these commands
Code:
delete from settings where name='lock_type';
delete from settings where name='lock_fingerprint';
delete from settings where name='lock_timer';
Click to expand...
Click to collapse
After any command at the sqlite prompts I get "SQL error: not an error" and of course the fingerprint issues continues. I'm using Android terminal Emulator. Please advice. Thanks!
digicypher said:
After any command at the sqlite prompts I get "SQL error: not an error" and of course the fingerprint issues continues. I'm using Android terminal Emulator. Please advice. Thanks!
Click to expand...
Click to collapse
in windows cmd: adb.exe shell
at prompt: su
then try the above.
camoto said:
in windows cmd: adb.exe shell
at prompt: su
then try the above.
Click to expand...
Click to collapse
wish i would've had this a couple days ago. Had to sbf flash back to get mine working again. I will say, if you have to use TiBu, setup your security first, then restore. Worked for me the last time this happened.
THANK YOU
wrldsuksgo2mars said:
from a root shell after restoring and being in the bad state run this command
Code:
sqlite3 /data/data/com.motorola.android.providers.settings/databases/settings.db
at the sqlite> prompts enter these commands
Code:
delete from settings where name='lock_type';
delete from settings where name='lock_fingerprint';
delete from settings where name='lock_timer';
Click to expand...
Click to collapse
I had this problem after going through hell flashing my phone and then updating to retain root when i had this problem. Your commands worked like a charm, thank you so much.
wrldsuksgo2mars said:
from a root shell after restoring and being in the bad state run this command
Code:
sqlite3 /data/data/com.motorola.android.providers.settings/databases/settings.db
at the sqlite> prompts enter these commands
Code:
delete from settings where name='lock_type';
delete from settings where name='lock_fingerprint';
delete from settings where name='lock_timer';
Click to expand...
Click to collapse
Worked like a charm! Thanks a lot!
camoto said:
in windows cmd: adb.exe shell
at prompt: su
then try the above.
Click to expand...
Click to collapse
Perfect! Thank you very much!
adb.exe
camoto said:
in windows cmd: Adb.exe shell
at prompt: Su
then try the above.
Click to expand...
Click to collapse
It worked !!!!!!!!!!!!!!!!!!!!!
many thanks!!!!!
wrldsuksgo2mars said:
from a root shell after restoring and being in the bad state run this command
Code:
sqlite3 /data/data/com.motorola.android.providers.settings/databases/settings.db
at the sqlite> prompts enter these commands
Code:
delete from settings where name='lock_type';
delete from settings where name='lock_fingerprint';
delete from settings where name='lock_timer';
Click to expand...
Click to collapse
Great solution! Others have been going back to SBF and rebuilding!
I'm posting this elsewhere because this problem can impact anyone with fingerprint security doing customization and restoring settings.
God bless you, wrldsuksgo2mars. You saved me an hour or two.
i have the same problem but i dont know where to start , and it seems like others are having luck fixing it ? HELP.
wrldsuksgo2mars said:
from a root shell after restoring and being in the bad state run this command
Code:
sqlite3 /data/data/com.motorola.android.providers.settings/databases/settings.db
at the sqlite> prompts enter these commands
Code:
delete from settings where name='lock_type';
delete from settings where name='lock_fingerprint';
delete from settings where name='lock_timer';
Click to expand...
Click to collapse
THANK YOU!!!!!!!
I was just about to flash my phone when I came across this.
UPDATE FOR THE FIX using only the handset
1. Get the program SQlite editor on your atrix
2. Root Explorer to directory /data/data/com.motorola.android.providers.settings/databases/settings.db
3. select settings
4. scroll down to lock_type lock_fingerprint lock_timer
5. Long press on each and delete.(confirm delete on each)
then you dun
reboot and your back in bidness
hope this helped somebody....
Related
I've wiped and installed a lot of roms lately, and generally when I go to 'my downloads' in the market, only my paid apps are there. So, I have to go though the process of searching the installing each app again. It's just easier when they are all in a list.
I figured it would be a good idea to backup all my apps and then reinstall them afterward with adb in linux as such:
for a in `ls *.apk`; do adb install $a; done
this works, but of course they don't show up under 'my downloads' and I don't get update notifications.
Is there a way around this?
gsgleason said:
I've wiped and installed a lot of roms lately, and generally when I go to 'my downloads' in the market, only my paid apps are there. So, I have to go though the process of searching the installing each app again. It's just easier when they are all in a list.
I figured it would be a good idea to backup all my apps and then reinstall them afterward with adb in linux as such:
for a in `ls *.apk`; do adb install $a; done
this works, but of course they don't show up under 'my downloads' and I don't get update notifications.
Is there a way around this?
Click to expand...
Click to collapse
You need to backup and restore the database file located in the market folder....it should be here...
Code:
/data/data/com.android.vending/databases
I'm assuming since you can backup and restore your apps thru adb then you can figure out how to pull and push this to your phone
I assume you would want to do this to get update notifications. If so you can grab "aTrackDog" from the market. It will list all you apps and when you refresh it will tell you when updates are available and give you a link to get the update from the market.
AdrianK said:
I assume you would want to do this to get update notifications. If so you can grab "aTrackDog" from the market. It will list all you apps and when you refresh it will tell you when updates are available and give you a link to get the update from the market.
Click to expand...
Click to collapse
will it only work for software installed through the market or will manually installed software show up as well?
DirectMatrix said:
You need to backup and restore the database file located in the market folder....it should be here...
Code:
/data/data/com.android.vending/databases
I'm assuming since you can backup and restore your apps thru adb then you can figure out how to pull and push this to your phone
Click to expand...
Click to collapse
Awesome. I'll do this next time I wipe and reflash with the latest coolest rom. =)
gsgleason said:
will it only work for software installed through the market or will manually installed software show up as well?
Click to expand...
Click to collapse
nope, works for the apps on my ext3 even after switching builds several times, works great.
DirectMatrix said:
You need to backup and restore the database file located in the market folder....it should be here...
Code:
/data/data/com.android.vending/databases
I'm assuming since you can backup and restore your apps thru adb then you can figure out how to pull and push this to your phone
Click to expand...
Click to collapse
For those of us who are not that familiar with adb, can you give a short tutorial on how to pull and then push that database folder?
well i just wiped and installed the latest cyanogen mod and when i went to the "my downloads" section of the store all the apps i had downloaded before were all there (paid and free)
I also thought it didnt do that, apperently it does
Gilliland12 said:
For those of us who are not that familiar with adb, can you give a short tutorial on how to pull and then push that database folder?
Click to expand...
Click to collapse
You don't need ADB, you can use the terminal emulator from the market or the recovery console.
To pull the database, open terminal or recovery and type:
Code:
su
cd /data/data/com.android.vending/
cp databases /sdcard
that will copy that database file to the root of your sdcard.
When pushing it back it is probably best to do it while the phone isn't running, so only use the recovery console:
Code:
cd sdcard
cp databases /data/data/com.android.vending/
reboot
I haven't tested this, but it will have the same results as the ADB method.
AdrianK said:
You don't need ADB, you can use the terminal emulator from the market or the recovery console.
To pull the database, open terminal or recovery and type:
Code:
su
cd /data/data/com.android.vending/
cp databases /sdcard
that will copy that database file to the root of your sdcard.
When pushing it back it is probably best to do it while the phone isn't running, so only use the recovery console:
Code:
cd sdcard
cp databases /data/data/com.android.vending/
reboot
I haven't tested this, but it will have the same results as the ADB method.
Click to expand...
Click to collapse
Many thanks.
Backup for Root works perfectly for me
if you got a paid app through adb and got a refund, can you still get updates for that app if you have it installed?
opasha said:
if you got a paid app through adb and got a refund, can you still get updates for that app if you have it installed?
Click to expand...
Click to collapse
No, you will not get updates without re-purchasing the app. And talking about ripping off app developers on this forum is frowned up so please stop discussing it.
opasha said:
if you got a paid app through adb and got a refund, can you still get updates for that app if you have it installed?
Click to expand...
Click to collapse
If you got a refund, then you shouldn't have the app. That's stealing and it's not nice. Most apps are cheap (a couple of bucks at most), stop being a cheapskate.
Originally Posted by AdrianK View Post
You don't need ADB, you can use the terminal emulator from the market or the recovery console.
To pull the database, open terminal or recovery and type:
Code:
su
cd /data/data/com.android.vending/
cp databases /sdcard
that will copy that database file to the root of your sdcard.
When pushing it back it is probably best to do it while the phone isn't running, so only use the recovery console:
Code:
cd sdcard
cp databases /data/data/com.android.vending/
reboot
I haven't tested this, but it will have the same results as the ADB method.
i tried this but it dodnt work.
when I did the first command it said ommiting databases. so I thought it worked.
flashed to the new cyanogen 4.0 rom (which is amazing btw!) did the second command and it said cannot stat file "databases" no such file or folder.
what gives??
Id say the databases were open and couldnt be backed up.
You should try to copy them from the recovery.
Also, after copying why didnt you check if the database files were in your sdcard (or the path you specified for the copy) before wiping? If the file is not there its obvious that it cant be restored after the wipe..
thought it might have been hidden or on my ext2 partition! never mind i got atrackdog!
addiosamigo said:
thought it might have been hidden or on my ext2 partition! never mind i got atrackdog!
Click to expand...
Click to collapse
Seems you can only copy each of the four db files individually... but copying the entire folder doesn't work.
All that is needed is assets.db
Open the terminal and enter
$ su
# cp /data/data/com.android.vending/databases/assets.db /sdcard
Wipe, flash, reboot.
YOU MUST OPEN THE MARKET AND AGREE TO THE TOS BEFORE RESTORING!!!!
Open the market, agree to the TOS, and close the market. Open the terminal and enter
$ su
# cp /sdcard/assets.db /data/data/com.android.vending/databases/assets.db
# reboot
Somehow I let my ritual of deleting my messages get away from me and now I have an inbox with over 2k messages...and I can delete none of them. Anytime I try my app (both the stock one and handcent) lock up and become non responsive.
Any advice?
So, I got impatient and did a data wipe (i backed up first). It obiviously got rid of my messages. But I decided that I don't like losing everything else, so I tried to restore my backup. No go. It returns something about needing to run it in the console?
The more advice I could get at this point, the better...
I have a fix for this that I helped brock do. I knew I should have made it public. lol. One day too late! I'll post it here in a little bit.
Edit:
So yea I too have noticed that when trying to delete large threads (500+ texts) it will typically FC. Sometimes if I click "wait" enough it will eventually delete, however 1000+ threads never seem to go. This work around will wipe ALL of your threads, however it's much better than wiping your entire phone. The best advice I guess would be to just clear them out every 250 texts or so.
These instructions are for windows. If you have mac or linux then you'll just need to change the parts about pulling the db from the phone.
Code:
mkdir c:\temp
adb pull /data/data/com.android.providers.telephony/databases/mmssms.db c:\temp (this will backup the database to your computer at c:\temp, just in case)
adb remount
adb shell
rm /data/data/com.android.providers.telephony/databases/mmssms.db
reboot
Let me know if you have any problems. Maybe I should add this is a fix in my apps installer program, just like clearing the cache.
Flip, you are a wizard! Thank you!
hello ive got exactly the same problem i have atleast 5k messages in on thread and cant delete them i dont understand what to do with that code you have put up flipzmode can you shed some light on it for me please .
Connect your phone via USB.
Bring up command prompt (or terminal if in osx or Linux)
Change directory to where you're adb is and then input flip's commands.
nvm got it wewt~
and adding this to app installer would be hot~
Permission Denied
I am Getting a "permission Denied" after i Type in the command, "adb pull /data/data/com.android.providers.telephony/databases/mmssms.db c:\temp"..... phone is rooted and i did verify that the phone is pulling up in the bridge... Any help is greatly appreciated
i had to do this: (just put in w/e drive your adb is on if it isnt a H~ more then likely a C drive)
cd H:\android-sdk-windows\tools
adb pull /data/data/com.android.providers.telephony/databases/mmssms.db H:\temp (this will backup the database to your computer at H:\temp, just in case)
adb remount
adb shell
rm /data/data/com.android.providers.telephony/databases/mmssms.db
reboot
all this is complete jiberish to me im not very compouter literate with these codes etc been trying for ages to figure it out and delete these messages its really doing my head in now
cant delete sum msgs how n where do i put that code so i can delete msgs over +1000
sprint hero messages
still cannot get this to work, i have changed the dir to F but i still get errors that says adb is not a rec. internal or ext command
plz help
I had the same problem (about 1600 messages for one contact) I set the phone's display to never turn off so it wouldn't go to "sleep" then I clicked delete on the thread and walked away for about 15 minutes and it eventually deleted. It seemed like the screen turning off and going to the lock screen is what was making the messaging app unresponsive.
riotkid976 said:
Connect your phone via USB.
Bring up command prompt (or terminal if in osx or Linux)
Change directory to where you're adb is and then input flip's commands.
Click to expand...
Click to collapse
What is "Abd"? It is not recognizable in my command prompt!! Please help!!! Thanks!!
I'm adding this in to my kitchen so it can be done with the click of a button. I'll post here when it's released.
Fresh is Sick
Thanks Fresh i definitely that was the easiest way to delete the threads and it worked great. Can't wait for the next best thing you put out there!
SOO glad I found this thread. My girlfriend doesn't even have this phone but this thread has solved her issue with her mms.apk force closing. This needs to be pinned or something.
Hey, I messed up my terminal by changing the config to launch bash instead of sh, now it won't launch.
How do I go in and delete or change the config file to launch sh - to fix it? also where would that config file be and how do I get to it?
Thanks in advance for helping me fix it.
Les
/data/data
evilkorn said:
/data/data
Click to expand...
Click to collapse
Thanks, but when I look on the phone with oi file manager there is /data but there is nothing in it. (no /data/data)
So let me clarify to the help get me an answer as how to fix my issue.
I have a G1 with Cyanogen 4.2.14.1, (CM-recovery 1.4 and DCR83-base-defanged) with apps2SD on a ext3 partition.
So I went into the terminal setup and changed the launch shell command and changed it from "sh -" to "bash -" thinking it would load bash on launch of terminal, yeah I'm to lazy to type bash every time. So now when I try to launch terminal it blinks and crashes.
I'm asking where the config file is located and for guidance on repairing it. Can I use the telnet app to connect to local host and just repair it without connecting to PC? if so how do I start telnetd? I tried the process that I used to root it, when I type telnetd now it launches dolphin now instead of dialler/contacts app and it doesn't launch.
So thanks in advance for what ever help you can provide.
Les
any one?
Come on, any one?
isn't it in preferences ---->command line: /system/bin/sh -
staunty said:
isn't it in preferences ---->command line: /system/bin/sh -
Click to expand...
Click to collapse
Yes, but since I broke it, Terminal won't load, it crashes so I can't go back and change it back. That's why I'm asking for where the config file is and how I can fix it.
brew1brew said:
Yes, but since I broke it, Terminal won't load, it crashes so I can't go back and change it back. That's why I'm asking for where the config file is and how I can fix it.
Click to expand...
Click to collapse
Tell us what you did to break it,
I once set bash as the default shell, and it mostly worked fine apart from some market root apps not working properly like the overclock widget
Hello All,
I would really appreciate help on this issue I have been having. I recently rooted then unlocked the bootloader of my device. I downloaded a root uninstaller and may have somehow killed the home process from running. Now, when i turn on the device, i get the error
The application Home (process com.motorola.home) has stopped unexpectedly
It does not go away and comes repeatedly back, not allowing me to change any settings whatsoever. I don't know what to do. I tried going into android recover mode and both wiped the device and cleared the cache, but the problem persists. I also tried putting a cyanogenmod version on the devices SD card but cant get it install because for some reason I can't get clockwork mod installed correctly. I cannot turn on USB debugging mode because I can't get into the settings. I tried using the .sbf to flash it but it is the .sbf I used to unlock the device so I am not sure that is the right one or if the right one would even do the trick, I fear that the system files that run the home application may be corrupt, deleted or permanently inactive. I would appreciate any ideas people may have to help me.
Also, becuase I factory reset the device, the bootloader is unlocked, but it is no longer rooted, and I cannot root it at this time becuase I cannot turn on USB debugging mode.
I was looking at the guide here;
http://forum.xda-developers.com/showthread.php?t=1302423
And was wondering why it didn't work when I tried to install CWM, then I noticed something I didnt see;
"DO NOT FORGET TO DO THIS PART: After the install of RomRacers recovery boot up your phone. Open up your favourite file browser (I used Astro file manager to do this ) and navigate to /system/etc/ and delete the file called 'install-recovery.sh'"
Is there a way to do this from the PC as I wouldn't be able to on my device? Or is the fact that it is not currently rooted going to stop me from doing anything?
Thanks,
heronpj said:
I was looking at the guide here;
http://forum.xda-developers.com/showthread.php?t=1302423
And was wondering why it didn't work when I tried to install CWM, then I noticed something I didnt see;
"DO NOT FORGET TO DO THIS PART: After the install of RomRacers recovery boot up your phone. Open up your favourite file browser (I used Astro file manager to do this ) and navigate to /system/etc/ and delete the file called 'install-recovery.sh'"
Is there a way to do this from the PC as I wouldn't be able to on my device? Or is the fact that it is not currently rooted going to stop me from doing anything?
Thanks,
Click to expand...
Click to collapse
If you are familiar with ADB, the basic commands would be:
Code:
adb remount rw
adb shell
While in the ADB shell:
cd /system/etc
rm install-recovery.sh
exit
that should cover it.
let me know if this works for ya.
Thanks for your response. The only problem is my phone isn't in USB debug mode, and I can't set it to be. Any idea of how to get that turned on without being able to get into the settings?
FaithCollapsing said:
If you are familiar with ADB, the basic commands would be:
Code:
adb remount rw
adb shell
While in the ADB shell:
cd /system/etc
rm install-recovery.sh
exit
that should cover it.
let me know if this works for ya.
Click to expand...
Click to collapse
heronpj said:
Thanks for your response. The only problem is my phone isn't in USB debug mode, and I can't set it to be. Any idea of how to get that turned on without being able to get into the settings?
Click to expand...
Click to collapse
can you boot into recovery?
FaithCollapsing said:
can you boot into recovery?
Click to expand...
Click to collapse
I can, and have down a wipe data as well as cleared the cache, problem persists.
Solved!!! I was able to basically button mash until somehow the screen to log into the play store came up. Download launcher pro and that got me back into my phone! Thanks for your help
Hi, i need a fix for this and fast !!! I've tried all that is listed on xda about this issue, but to no avail. Anyway, i forgot my pattern and went to the forgot pattern menu. My wifi was off, so i figured it would give a prompt of some kind to turn on the wifi and then log on to my google account. But nooooo, google supposes that everyone's wifi is on all the time. Please help, what do i do ? I rebooted to recovery, i made a nandroid and currently i am adb pulling the twrp folder from my N7. I would have just factory reseted it, no probs, but i remembered i have some EXTREMELY important works in colornote that i can't afford to lose. Please help, what do i do ?????
Looks like you answered your own question. Unless your Android isn't encrypted, just boot into TWRP and backup your data using adb:
adb pull /data/data C:\backup
Click to expand...
Click to collapse
The main thing you will have to concern about is restoring those data and make it readable by the app. There are several ways, but you can either:
adb push C:\backup\colornotes /data/data/colornotes
Click to expand...
Click to collapse
Don't forget some devices you need to give it write permission first: adb remount rw, though should not be needed with TWRP. Or just copy the folder back using a rooted file manager.
Then go into adb shell and fix permission of the files so the app can get access to them:
adb shell
su - (again shouldn't be needed wile in TWRP)
chmod -R 644 /data/data/colornotes (or 777 for full access)
Click to expand...
Click to collapse
Tips while in adb shell:
Check permissions of files by typing: ls -la
Check what partition is mounted and whether you have write privilege to it by typing: cat /etc/fstab
Also, if you use a custom rom like CyanogenMod or AOKP, there is an option to enable all widgets on the lockscreen. Just put the Power Control widget on the lockscreen, then you can toggle WiFi on and off. (Can't remember if this is also possible with stock.)
Have fun.
OR have a look here.
Looks like either of the two methods suggested would be feasible with only a recovery running, but the 2nd one is easiest (as a custom recovery wouldn't necessarily provide a statically-linked sqlite3 utility).
if it works it doesn't require any wiping.
BTW guess how I found this.... wait for it .... wait for it.... wait for it.... I used google search.
Hi, i forgot to mention that i made the twrp backup while i was locked out and whenever i try to restore from the backup after a factory reset, it goes back to square one... And when i did a full wipe and hoped to use titanium backup to extract stuff from the nandroid, it just gives me and empty list, but the backup is there, all 5gb of it
iAndroidOS said:
Hi, i forgot to mention that i made the twrp backup while i was locked out and whenever i try to restore from the backup after a factory reset, it goes back to square one...
Click to expand...
Click to collapse
Well, that is to be expected, is it not? You are restoring exactly what is already there - effectively a no-op.
OK, I just booted into TWRP (2.4.1.0) and confirmed that the (equivalent of the) following disabled my pattern lock on the next boot:
cd /data/system
mkdir foo
mv locksettings.* foo
mv gesture.key foo
I did all of the above (the 'cd' command is implicit) using TWRPs touch interface - didn't even need adb.
ymmv as I am using jdq39/4.2.2 and my tablet was not in a "locked-out" state, but its an easy thing to try.