[Q] Forgot lock pattern. Looking for a way to backup messages before factory reset. - HTC One Max

Hi there,
I've got a tiny problem with my One Max. It's updated to latest OTA and not rooted/unlocked.
I usually use my fingerprint to unlock it and I forgot the pattern to unlock it manually. As you can imagine, I wrongly tried to unlock it with my fingerprint 4 times, so it's asking for pattern unlock. I've tried two patterns I usually use and it didn't work, now I'm panicking and have tried countless other combinations I might've used.
What can I do, other than trying to find a right pattern?
I have no way to access my SMS storage and no backup to speak of, so formatting the phone is not an option.
EDIT:
I have seen this topic:
http://forum.xda-developers.com/htc-one-max/help/help-please-t2879590
And it does not include any viable options. What I need is _at least_ to install some kind of app from google play that will backup all my data to google drive so I can safely factory reset the phone.
I have active data connection, sync and wifi, so now I'm struggling to find an option to import/export SMS in pushbullet.
EDIT:
I seen this article:
http://trendblog.net/how-to-bypass-android-phone-lock-screen-pattern-pin-password/
most of the options are not available in lollipop, but there was one that mentioned flashing custom zip (and had direct link to file from XDA forums atachment) - so two more questions: one - can I root the phone without unlocking it and two - can such zip be applied to lollipop one max?
EDIT:
After careful investigation in the net I came to conclusion that I will have to factory reset the phone. The only thing stopping me is my sms archive and whatsapp history.
Can anybody tell me what does HTC Backup actualy backup and if there's any application I can push from the market that will allow me to backup (and possibly restore later) that data without touching the phone?

@skybleu
If you were rooted you could always try deleting the HTCLockScreen.apk or renaming it to .apk.bak
But in this case seems like you will have to factory reset.. HTC Backup will backup your messages and keeps a list of apps installed on your phone so if you were to restore it would download the list of apps that it had installed at the time of the backup.

Flyhalf205 said:
If you were rooted you could always try deleting the HTCLockScreen.apk or renaming it to .apk.bak
But in this case seems like you will have to factory reset..
Click to expand...
Click to collapse
It's not that bad, I have access to internal storage via airdroid, so at least whatsapp archive and my photos will survive.
I'm worried about SMS though.
Say, about the idea - one, should it be possible even? I'd assume this would lead to crash, instead of unlocking.
Also, is there any option to root the phone without unlocking it? gold sd card, push exploit, sth?

Related

[Q] Installing a nand on someone else's phone

So I made a nand of the rom I'm using and flashed it to my wife's phone (so she wouldn't have to set her phone up at all). It logged in under my accounts (which I expected). I removed my FB account but it will not let me remove my gmail account. It says the only way I can do that is to factory reset the phone, which defeats the point.
Does anyone have the setup wizard app or know where I can find it? I couldn't find it in the market.
Am I fighting a lost cause here?
i beleive you are I personally have yet to figure out how to remove your gmail account you can add a gmail of hers but i dont think you can remove yours from it.
Nevermind. I gave up and did a clean install. I'll just use Titanium and install her settings back. No biggie. I was just being lazy.
I am curious though if that set up wizard app would let me remove a gmail account from a phone. I even logged in and syned with her gmail account and it wouldn't let me remove mine.
Really simple... flash a rom that doesn't come with google apps.
Hungry Man said:
Really simple... flash a rom that doesn't come with google apps.
Click to expand...
Click to collapse
What I'm aiming to do is put my backup on my wife's phone...only with the ability to replace my accounts and login with hers. So pretty much any nand I create is going to have google apps already flashed.
To install a nand restore on another phone
all you have to do is put it in the right folder.
Step 1) Make a nand Backup on the new phone.
Step 2) Take the nand backup from YOUR phone, save it somewhere
step 3) Save YOUR nand backup to the right folder inside hers.
For example: Her phone will look for
/sdcard/nandroid/HTC123ABCDEFG
so her backup will be /sdcard/nandroid/HTC123ABCDEFG/2010-0814-1234/ or something
your phone might be
/sdcard/nandroid/HTC456HIJKLMNO
so you need to take your backup, maybe called /2010-0821-1111/ and put it in her folder, so that on her SD card you have
/sdcard/nandroid/HTC123ABCDEFG/2010-0821-1111/
Then she can 'nand restore' that, perfectly.
I have done this when getting new Eris's. First root the new Eris.
Then make a nand backup (so it creates the right folder)
Then drag the old nand backup into that folder
The problem is that once you nand restore, whatever Google account was set up with that backup is the ONLY primary Google account that will be allowed for that phone. So your Contacts/Calendar/Gmail syncing will have to be done with that original Google account. You have to data/factory reset anyway to change it. You could go Settings >Accounts and sync> and uncheck the the boxes for syncing contacts, gmail, and calendar, but that might be impractical.
pkopalek said:
To install a nand restore on another phone
all you have to do is put it in the right folder.
Step 1) Make a nand Backup on the new phone.
Step 2) Take the nand backup from YOUR phone, save it somewhere
step 3) Save YOUR nand backup to the right folder inside hers.
For example: Her phone will look for
/sdcard/nandroid/HTC123ABCDEFG
so her backup will be /sdcard/nandroid/HTC123ABCDEFG/2010-0814-1234/ or something
your phone might be
/sdcard/nandroid/HTC456HIJKLMNO
so you need to take your backup, maybe called /2010-0821-1111/ and put it in her folder, so that on her SD card you have
/sdcard/nandroid/HTC123ABCDEFG/2010-0821-1111/
Then she can 'nand restore' that, perfectly.
I have done this when getting new Eris's. First root the new Eris.
Then make a nand backup (so it creates the right folder)
Then drag the old nand backup into that folder
The problem is that once you nand restore, whatever Google account was set up with that backup is the ONLY primary Google account that will be allowed for that phone. So your Contacts/Calendar/Gmail syncing will have to be done with that original Google account. You have to data/factory reset anyway to change it. You could go Settings >Accounts and sync> and uncheck the the boxes for syncing contacts, gmail, and calendar, but that might be impractical.
Click to expand...
Click to collapse
It took me a few tries to figure out that I had to put my nand in her file located at sd/nandroid/whateverfilename and couldn't simply drop my sd/nandroid/whateverfilename/datenandwascreated file on her phone.
Correct me if I'm wrong. Doing a factory reset would return the rom to a factory state (like a fresh wipe and flash of a new rom)? Surely google/verizon/htc thought that people might want to change their e-mail address for whatever reason and included a way to do this without resetting the phone? Guess not.
Sent from my ERIS using XDA App
pkopalek said:
The problem is that once you nand restore, whatever Google account was set up with that backup is the ONLY primary Google account that will be allowed for that phone. So your Contacts/Calendar/Gmail syncing will have to be done with that original Google account. You have to data/factory reset anyway to change it. You could go Settings >Accounts and sync> and uncheck the the boxes for syncing contacts, gmail, and calendar, but that might be impractical.
Click to expand...
Click to collapse
Last night I ran a quick experiment with a Froyo ROM (Kaos V30):
- Shut down phone
- booted Amon_RA
- # mount /data
- # rm /data/system/accounts.db
- # umount /data
- rebooted
Reboot seemed fine, and there were no (Gmail) contacts present in the dialer, nor any access to Gmail. Shortcuts to specific (phone) contacts were still in my home screens (including images of the person), but clicking on them resulted in an error. No apparent FCs anywhere.
Clicking on the Market app took me immediately to the Google Account setup screen (which I believe is the same thing as Settings -> Accounts & sync -> Add account -> Google). I don't know if this (behavior) is unique to 2.2 or not.
I don't have a second Google account, so I just re-entered the username/pass for my account - the same one that had already been on the phone, and the phone started "syncing". I sort of wondered what might happen (because I am using Froyo "Save my settings"), but everything came back as I would expect - Contacts, Gmail, etc.
I would have proceeded a little further with this experiment, but I couldn't access the Market ("connection error") (about 1am EST Saturday morning), so I stopped, assuming this was a failure - and restored a Nandroid backup. When the restored ROM also had trouble with the Market, I thought - "oh, boy, what have I done?" But, it seems that a number of people have reported trouble with the Android Market late last night / early this AM - and the Market was working this AM on my restored ROM, too.
I could repeat the experiment if there is any interest, and this time use my GF's account for testing purposes. There are probably some things cached that should be cleaned up prior to adding back in a Google account; probably it wouldn't hurt to use
Settings -> Applications -> Manage applications
To clear the data and cache areas for a few things such as
Browser
Calendar
Calendar Storage
Contacts
Contacts Storage
Dialer
Dialer Storage
Email
Gmail
Google Voice
Maps
Market
(Plus others as appropriate - Twitter, FB, etc)
bftb0
bftb0 said:
Last night I ran a quick experiment with a Froyo ROM (Kaos V30):
- Shut down phone
- booted Amon_RA
- # mount /data
- # rm /data/system/accounts.db
- # umount /data
- rebooted
Reboot seemed fine, and there were no (Gmail) contacts present in the dialer, nor any access to Gmail. Shortcuts to specific (phone) contacts were still in my home screens (including images of the person), but clicking on them resulted in an error. No apparent FCs anywhere.
Clicking on the Market app took me immediately to the Google Account setup screen (which I believe is the same thing as Settings -> Accounts & sync -> Add account -> Google). I don't know if this (behavior) is unique to 2.2 or not.
I don't have a second Google account, so I just re-entered the username/pass for my account - the same one that had already been on the phone, and the phone started "syncing". I sort of wondered what might happen (because I am using Froyo "Save my settings"), but everything came back as I would expect - Contacts, Gmail, etc.
I would have proceeded a little further with this experiment, but I couldn't access the Market ("connection error") (about 1am EST Saturday morning), so I stopped, assuming this was a failure - and restored a Nandroid backup. When the restored ROM also had trouble with the Market, I thought - "oh, boy, what have I done?" But, it seems that a number of people have reported trouble with the Android Market late last night / early this AM - and the Market was working this AM on my restored ROM, too.
I could repeat the experiment if there is any interest, and this time use my GF's account for testing purposes. There are probably some things cached that should be cleaned up prior to adding back in a Google account; probably it wouldn't hurt to use
Settings -> Applications -> Manage applications
To clear the data and cache areas for a few things such as
Browser
Calendar
Calendar Storage
Contacts
Contacts Storage
Dialer
Dialer Storage
Email
Gmail
Google Voice
Maps
Market
(Plus others as appropriate - Twitter, FB, etc)
bftb0
Click to expand...
Click to collapse
THAT'S AWESOME! I would be very interested for you to repeat this experiment. This would be VERY useful for me. My wife likes the whole rooted phone with all the extra options but she's not into it like I am. If this works and is stable, I could easily set her phone up exactly like mine. I would test it myself but I'm not an advanced adb user. If I break something, it's just broke which would probably equal the doghouse for me since it's my wifes phone.
If this works, you should write a how-to for the community. I couldn't find one when I searched and I'm sure others would find it useful.
Sent from my Froyo Eris using XDA App
joshw0000 said:
THAT'S AWESOME! I would be very interested for you to repeat this experiment. This would be VERY useful for me. My wife likes the whole rooted phone with all the extra options but she's not into it like I am. If this works and is stable, I could easily set her phone up exactly like mine. I would test it myself but I'm not an advanced adb user. If I break something, it's just broke which would probably equal the doghouse for me since it's my wifes phone.
If this works, you should write a how-to for the community. I couldn't find one when I searched and I'm sure others would find it useful.
Sent from my Froyo Eris using XDA App
Click to expand...
Click to collapse
So long as you have adb working, you do not need to be an "advanced" adb user in order to help out with the testing. After you create a Nandroid Backup in Amon_RA, there are literally only four lines you type in using the "adb shell" (with Amon_RA still running):
Code:
mount /data
rm /data/system/accounts.db
umount /data
exit
... and then do a Wipe Dalvik-cache in Amon_RA
Everything else that I suggested is performed using
Settings -> Manage -> Manage applications
in the main OS. (I suppose it might even be possible to delete /data/system/accounts.db using a root-aware file manager, but I prefer to do stuff like that in an offline fashion)
If something goes wrong - well, you have a full Nandroid backup available to restore to. The same thing goes for your wife's phone too, right?
bftb0
PS For anyone else reading this thread: it is a quarter-baked idea (not even half-baked); don't take away from this any sort of mis-impression that this has undergone any significant testing (none at all on 2.1, in fact). Feel free to experiment yourself - but make good Nandroid backups!
bftb0 said:
So long as you have adb working, you do not need to be an "advanced" adb user in order to help out with the testing. After you create a Nandroid Backup in Amon_RA, there are literally only four lines you type in using the "adb shell" (with Amon_RA still running):
Code:
mount /data
rm /data/system/accounts.db
umount /data
exit
... and then do a Wipe Dalvik-cache in Amon_RA
Everything else that I suggested is performed using
Settings -> Manage -> Manage applications
in the main OS. (I suppose it might even be possible to delete /data/system/accounts.db using a root-aware file manager, but I prefer to do stuff like that in an offline fashion)
If something goes wrong - well, you have a full Nandroid backup available to restore to. The same thing goes for your wife's phone too, right?
bftb0
PS For anyone else reading this thread: it is a quarter-baked idea (not even half-baked); don't take away from this any sort of mis-impression that this has undergone any significant testing (none at all on 2.1, in fact). Feel free to experiment yourself - but make good Nandroid backups!
Click to expand...
Click to collapse
I do have a working adb and understand for the most part that you're deleting accounts.db in /data/system?? What I'm not following is why I would need to boot into recovery to delete the file. Would the process not work the same if you made the changes while booted in the rom? Do the changes affect the recovery partition at all or did you boot to recovery so you can immediately wipe dalvik and reboot? That's my biggest fear.
Sorta the same question - does it matter where you're booted when you do adb commands (booted, usb mounted, recovery, powered off)?
P.S. I've read several responses you've posted in other threads. You're very thorough in reponses and I personally have learned a lot from reading them. Thanx for your input and help with us noob and novice users.
Sent from my Froyo Eris using XDA App
joshw0000 said:
I do have a working adb and understand for the most part that you're deleting accounts.db in /data/system?? What I'm not following is why I would need to boot into recovery to delete the file. Would the process not work the same if you made the changes while booted in the rom? Do the changes affect the recovery partition at all or did you boot to recovery so you can immediately wipe dalvik and reboot? That's my biggest fear.
Sorta the same question - does it matter where you're booted when you do adb commands (booted, usb mounted, recovery, powered off)?
Click to expand...
Click to collapse
The changes do not affect the recovery partition - the reason that the recovery partition is used for almost all administration involving system elements is because there are not files which are "locked" by applications that are using those files, nor do you have anything running which depends on that file at the moment it is deleted.
The account credentials are important to lots of applications which are running on the phone in the regular OS, and you will get strange behaviors, crashes, and possible corruption of application state if you just yank the file out from underneath all those applications. You could try to stop those apps first - but a lot of them auto-restart on their own.
I'll use an analogy; it's like the difference between setting a table without a tablecloth, versus trying to remove the tablecloth after all the dishes are in place.
There are lots of reasons to prefer doing things in an offline mode, but the primary one is that you are not "yanking X out from underneath Y" - when "Y" thinks that "X" is still there.
It is typical for both system and application logic to do things like check for files on startup, and then either rebuild them from defaults if they are not present, or read/write their contents if they are already present. It is a lot more rare for applications to be coded in way that they are constantly check to see if something they though was there has suddenly disappeared. Moreover, the way that locking works with Linux kernels, you can delete a file that is opened by another process, and replace it with a new file - but the processes that are still running with that file open will still have a copy of it.
As for being scared - you have a Nandroid backup, right?
bftb0
That makes a lot since. I'll try this method out the next time I change my wife's rom.
Sent from my Froyo Eris using XDA App

Factory reset - What EXACTLY happens?

Hello,
In my question, What EXACTLY happens during a factory reset, the emphasis is, obviously, on "exactly". I will explain why I need to know this - the research I've done has failed to answer my question.
Carrier-phones come with a bunch of pre-installed apps. Of all possible scenarios, Japanese smartphones, and particularly Sharp smartphones, are the worst case. They are very difficult to root, very finicky phones that seem to go into a boot loop whenever you do something to them that you're not supposed to - all the more challenging
If we manage to root a Sharp phone, the first thing we do is freeze some of the Docomo or Softbank pre-installed apps that take up precious memory. We know that if we want to do a factory reset, we must first un-freeze all those apps, or we risk going into a boot loop, and having to ship the phone back to Japan to get repaired (for those of use who don't live in Japan).
Now, the million dollar question is, what happens if we delete/uninstall those system apps? And here I am asking about the general case, hoping that Sharp haven't invented some twisted scheme here too.
When we do a factory reset, how does the phone know what was - and what is supposed to be - in the /system/apps folder? Hence: What EXACTLY happens during a factory reset?
Does the phone look up a file which contains a list of all those pre-installed app, and verify the contents of the /system/app folder against it --- and if something is missing, it gets stuck during reboot? Or does it simply delete the contents of the /data folder, without paying attention to /system/app? And why does it go into a boot loop, if a system app was frozen?
In the end, I don't simply want to freeze some apps, I want to get rid of them completely --- you can't imagine the load of BS that Japanese carriers cram into their phones (a built-in Rakuten auctions app, a McDonald's app, a BeeTV app??? and so on and so forth) --- but I want to make sure the phone isn't checking what's supposed to be in /system/app.
---------------------
In the case of my 005SH, the rootkit came with a recovery that helps me "resurrect" the phone from a boot loop - and that has happened twice after a factory reset so far - I deleted some seemingly insignificant app, and Titanium Backup failed to restore it for some reason, so it's now gone forever. But not every rootkit comes with a proper recovery...
cheeseus said:
Now, the million dollar question is, what happens if we delete/uninstall those system apps?
Click to expand...
Click to collapse
Some system apps are important for the device to run properly and some are just bloatware that can be deleted without harm (e.g, Youtube, ChatOn.. etc). There are several app lists in the forum of safe app to remove (this is one).
But I advice you not to play with system apps if you don't know which app is safe to remove.
cheeseus said:
When we do a factory reset, how does the phone know what was - and what is supposed to be - in the /system/apps folder? Hence: What EXACTLY happens during a factory reset?
Click to expand...
Click to collapse
All app in system partition will be restored as if it was first time to be run, although all of your installed app, contacts, sms, WiFi access and data will be deleted
majdinj said:
Some system apps are important for the device to run properly and some are just bloatware that can be deleted without harm (e.g, Youtube, ChatOn.. etc). There are several app lists in the forum of safe app to remove (this is one).
But I advice you not to play with system apps if you don't know which app is safe to remove.
All app in system partition will be restored as if it was first time to be run, although all of your installed app, contacts, sms, WiFi access and data will be deleted
Click to expand...
Click to collapse
Thanks but this does not answer my question. I know perfectly well which apps are bloatware and which are essential. I will restate my question:
Is there some register or list, which the phone checks during factory reset, and which says what apps were originally installed in /system/app? That is, will the phone "know" that I have removed some of the original apps?
cheeseus said:
Thanks but this does not answer my question. I know perfectly well which apps are bloatware and which are essential. I will restate my question:
Is there some register or list, which the phone checks during factory reset, and which says what apps were originally installed in /system/app? That is, will the phone "know" that I have removed some of the original apps?
Click to expand...
Click to collapse
As I mentioned, factory reset will delete all data apps that can be found in data partition not those found in system partition.. If it happens some of original apps are installed in data partition, then they will be deleted (unless if they are found in preload partition!!).. I can't be clear more than this..
majdinj said:
As I mentioned, factory reset will delete all data apps that can be found in data partition not those found in system partition.. If it happens some of original apps are installed in data partition, then they will be deleted (unless if they are found in preload partition!!).. I can't be clear more than this..
Click to expand...
Click to collapse
Really, read my question carefully, please, not just the title of the thread. You are talking about something very different.
It is known that on Japanese Sharp phones, if you uninstall and remove completely some of the apps that are installed by the manufacturer or the carrier in /system/app, when you do a factory reset, the phone may - or even will - go into a boot loop (will be bricked). This has nothing to do with apps that are installed in /data.
Is it possible that Sharp have added an extra "security" mechanism to their phones to prevent users from removing pre-installed apps (similar to their MIYABI LSM lock)? I want to know how to find this security mechanism, if it exists, and - hopefully, how to cheat it.
How does the phone know what apps are supposed to be in /system/app, and if it doesn't find them when rebooting after a factory reset, why does it go into a boot loop?

[SOLVED] deleted gatekeeper.pattern.key ! now can't lock again

I have a silly problem, I had freshly installed the unofficial CM14.x and between all the new settings forgot the Lockscreen pattern. Since i didn't want to try factory reset and other solutions without data loss didn't wird, I searched a bit and erasted the /data/system/gatekeeper.pattern.key via ADB ! It actually helped passing through lockscreen, but now I can't set any new lock (none of the options tough) / I can't go to the option… I get dropped out with an error…
What can I do??
roshak said:
What can I do??
Click to expand...
Click to collapse
Open thread in right section.
CheckYourScreen said:
Open thread in right section.
Click to expand...
Click to collapse
Well, I guessed that users in the Q&A/Troubleshoot section wouldn't have much clue about manipulating Android's /data/system/. . . files and apparently I was true! No reply since 3-4 days
roshak said:
Well, I guessed that users in the Q&A/Troubleshoot section wouldn't have much clue about manipulating Android's /data/system/. . . files and apparently I was true! No reply since 3-4 days
Click to expand...
Click to collapse
Chill.
You able to access your files and data?
Just open settings and change the screen lock to "none" or "swipe", then select pin/password and set your own.
It should fix it.
If it doesnt then make a backup of your data and clean flash stock rom by wiping system,cache and data (not internal sd).
CheckYourScreen said:
Chill.
You able to access your files and data?
Just open settings and change the screen lock to "none" or "swipe", then select pin/password and set your own.
It should fix it.
If it doesnt then make a backup of your data and clean flash stock rom by wiping system,cache and data (not internal sd).
Click to expand...
Click to collapse
Says right in the in original post that he can't set any new lock with any of the options, it just crashes. I think he's got not choice but a re-flash.
As @Tanner1294 noticed. I can't change the locksreen options anymore and that's the problem (I can't use the device without lock! But I wouldn't)
backing up data may work or maybe not, because the missing files could be under data… But I'll give it a try.
I don't know why I couldn't replace the screen password via Google Device Manager… The device was recognised and the pass and message has been sent to it, but i couldn't interact with it at all! only "emergency call" was touchable If it's an issue in Android 7.x or CM14.x dunnow
Maybe dirty flashing the ROM again will help
mcmarius said:
Maybe dirty flashing the ROM again will help
Click to expand...
Click to collapse
didn't work!
roshak said:
As @Tanner1294 noticed. I can't change the locksreen options anymore and that's the problem (I can't use the device without lock! But I wouldn't)
backing up data may work or maybe not, because the missing files could be under data… But I'll give it a try.
I don't know why I couldn't replace the screen password via Google Device Manager… The device was recognised and the pass and message has been sent to it, but i couldn't interact with it at all! only "emergency call" was touchable If it's an issue in Android 7.x or CM14.x dunnow
Click to expand...
Click to collapse
Make a backup of contacts,sms, apps(or just download from playstore) or use titanium backup if you want app data also.
And clean flash rom.
Forget everything and clean flash after making backup.
That file is related to system and has to be present in /data/system/ so will remain excluded from backups you make.
Make sure you clean flash rom.
CheckYourScreen said:
Make a backup of contacts,sms, apps(or just download from playstore) or use titanium backup if you want app data also.
And clean flash rom. . .
Click to expand...
Click to collapse
If I only knew how I can re-install my selection of apps straightforward, I wouldn't hesitate about clean flash; I don't worry about my files, contacts etc.
I'll try to figure out, how Titanium Backup works… Thanks for advice
The problem is now solved without reflashing etc.
I just had to know which other files need to be removed in addition to /data/system/gatekeeper.pattern.key
they were locksettings.db locksettings.db-wal locksettings.db-shm from the same directory!
So i removed them, whatever they may contain
then rebooted to system and everything was on the rail, i could pick a lockscreen method again.
PS: I haven't imagined that havong debugging mode enabled could make an Android system so unsecure though!
roshak said:
If I only knew how I can re-install my selection of apps straightforward, I wouldn't hesitate about clean flash; I don't worry about my files, contacts etc.
I'll try to figure out, how Titanium Backup works… Thanks for advice
Click to expand...
Click to collapse
Titanium backup is godly makes transitioning between ROMs a breeze like you never left your setup. In TB app top right corner is a blank page with check mark on it. In there you can backup/restore large chunks of apps and data. After a fresh install rooted first thing install is TB and got to that section restore and choose what you want from backup. System apps can be backup also but will find some won't work on other ROMs. Regular apps will have no such issues. There is also TB sms backup. To use that you must set TB as default sms app. Restore sms then revert back to regular sms app and open. There all your messages will be restored.
roshak said:
The problem is now solved without reflashing etc.
I just had to know which other files need to be removed in addition to /data/system/gatekeeper.pattern.key
they were locksettings.db locksettings.db-wal locksettings.db-shm from the same directory!
So i removed them, whatever they may contain
then rebooted to system and everything was on the rail, i could pick a lockscreen method again.
PS: I haven't imagined that havong debugging mode enabled could make an Android system so unsecure though!
Click to expand...
Click to collapse
You shouldn't delete " /data/system/gatekeeper.pattern.key" as "locksettings.db locksettings.db-wal locksettings.db-shm" contain your lock screen pattern. So to remove pattern just delete these files. Android device manager won't work if it reads that your device has already a pattern/PIN enabled. I guess it worked a while ago on password protected devices as well but not anymore.

Can you disable automatic factory reset/SD wipe after entering PIN wrong?

Currently if you enter the PIN wrong, or wrong fingerprint, or wrong screen-tap code wrong 10 times it will wipe your phone AND sd card. I cannot find any way to disable this. It kind of defeats the purpose of having an SD card if your child can grab your phone and erase it in under 2 minutes.... any help would be appreciated. I have an RS988 so I could root if need be but I don't want to use custom ROMs. Thanks.
I think, the risk that this situation will appear, is same high than you can have lost your phone or it was been stolen.
So i recommend to make a backup with LG backup to a second external sd card every month!
And no, there is no way to protect your phone against secure wipe after entering wrong pin for ten times.
Sorry!
BTW: most of the available restore programs are able to get your data back in this case. It is not an really secure wipe!
and...
Sometimes it seems to be possible to make a backup of all of your date using the adb bridge.
(connection to a pc is needed!) Use Google to get more informations about that procedure!
see here for example: ->
1.) https://www.technipages.com/how-to-backup-your-entire-android-device
2.) https://forum.xda-developers.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351
I use LG backup only and i need ~1h to fully restore my H850. (including all setups for right management and sound settings too!)

Can I Backup a locked phone?

Hey Every One
I have a Galaxy A 21s on wich I broke the Screen.
Now a few Yeas later I replaced the LCD but forgot my Password.
-Usb Debuging is Disabled.
-No Custom ROM installed, so i cant delete the Password File.
-oem Unlock is alsoe disabled.
-Find my Phone is deactivated and Google recovery also.
I have now tried a lot of ways to get to my Data but nothing worked so far.
My last resorts are trying to get a full Backup of the Phone and use it in an Android Emulator to Brutforce my Passcode.
or install Custom Recovery, restor my Backup and delete the Password File or get in with adb.
Hence my question woud it be possible to Make a Complet Backup, wit example Odin and use it in an Emulator or restore it on a Rooted Phone?
If any one knows further ways of getting back my Data im open to try things out.
Thanks for the Help.
Edit: I found that i could use adb Sideload to install Apps from stock Recovery. The only Problem i woud need to spoof the signature of the .zip im trying to instal, maybe any one knows a way wit that method?
If you can't access it you can't copy anything.
A data recovery specialist that works with Samsung's might be able to.
I never set a lock on mobile phones or PC bios because you are the one most likely to get locked out! Security is physical, one will pay with blood for trying to steal my phone.
I redundantly back up all critical data often and keep backups in separate locations. Never encrypt backup drives. Hdds are best, flash for quick "dirty" backups. I use my 1tb SD card as a data drive then back that up. Also use two .5th OTG flashsticks.
Phone is always cased. Don't put yourself in the predicament again. Think it through and tie up the loose ends before they trip you. I've lost entire, irreplaceable databases before, not fun.
There's no such thing as overkill when it comes to backing up critical data. Digital data is otherwise very fragile.
Hi, I am in the same situation as you. I forgot the pattern but I really need to recover some data before restoring the phone. With the stock recovery were you able to remove any protection via adb sideload? Thanks

Categories

Resources