[solved] is it possible to remove screen unlock pattern (fingerprint works)? - ZTE Axon 7 Questions & Answers

Hi,
I've just set up my Axon7 from scratch, after it returns from service, and set up new unlock pattern. I admit, I must've been drunk or something, because can't remember the pattern itself. Currently I unlock the phone with fingerprint sensor.
Is it possible to change/remove the unlock method without factory reset? As I said, the phone reads my fingerpritnts fine.
Thank's for any advice

1. Boot to TWRP
2. In File Manager go to the /data/system folder. Scroll down and find the two files with the .key extension. Delete both of them (by tapping on the file and then tapping the <Delete> button). Then, delete all the files containing the word locksettings:
gatekeeper.password.key
gatekeeper.pattern.key
locksettings.db
locksettings.db-shm
locksettings.db-wal
3. Reboot system.

kinetiq said:
Hi,
I've just set up my Axon7 from scratch, after it returns from service, and set up new unlock pattern. I admit, I must've been drunk or something, because can't remember the pattern itself. Currently I unlock the phone with fingerprint sensor.
Is it possible to change/remove the unlock method without factory reset? As I said, the phone reads my fingerpritnts fine.
Thank's for any advice
Click to expand...
Click to collapse
Is it possible for you to post in the right section (i.e. questions & answers)?
besides from that, the user above is right, you just have to do that

Thank you very much, for your advice.
Unfortunately I haven't rooted my phone yet, and after lecture of few tutorials I'm slightly intimidated, so...
Is it possible to do something with my problem without rooting, instaling custom recovery etc?
I could even accept factory reset, after all, but it asks for unlock pattern as well...

kinetiq said:
Thank you very much, for your advice.
Unfortunately I haven't rooted my phone yet, and after lecture of few tutorials I'm slightly intimidated, so...
Is it possible to do something with my problem without rooting, instaling custom recovery etc?
I could even accept factory reset, after all, but it asks for unlock pattern as well...
Click to expand...
Click to collapse
No man, without your bootloader unlocked there's not much you can do, unlock bootloader then install twrp and you'll be good to go

I made some digging, and found solution: Power on+vol up allowed factory reset, problem is solved.
Thank you all for your help.

kinetiq said:
Hi,
I've just set up my Axon7 from scratch, after it returns from service, and set up new unlock pattern. I admit, I must've been drunk or something, because can't remember the pattern itself. Currently I unlock the phone with fingerprint sensor.
Is it possible to change/remove the unlock method without factory reset? As I said, the phone reads my fingerpritnts fine.
Thank's for any advice
Click to expand...
Click to collapse
kinetiq said:
I made some digging, and found solution: Power on+vol up allowed factory reset, problem is solved.
Thank you all for your help.
Click to expand...
Click to collapse
Hmm... Well you said "without factory reset" in OP... Else everyone could've told you to do that...

Gachmuret said:
Hmm... Well you said "without factory reset" in OP... Else everyone could've told you to do that...
Click to expand...
Click to collapse
i guess he was still a little drunk?

Related

Urgent help needed. Locked out of phone.

I was poking security options within my phone, and I accidentally locked it with a pattern that I cannot recall.
I tried looking for troubleshooting guides, but unfortunately Marshmallow no longer has a "forgot code?" option. Also, I tried Android Device Manager, but it tells me since my phone already has a lockscreen, I no longer need to add a password (which I intended to do, in order to know said password)
I would greatly appreciate any help, since I really don't want to factory reset, since I got lots of pics I don't want to lose.
xdmatt said:
I was poking security options within my phone, and I accidentally locked it with a pattern that I cannot recall.
I would greatly appreciate any help, since I really don't want to factory reset, since I got lots of pics I don't want to lose.
Click to expand...
Click to collapse
google is your friend http://www.addictivetips.com/android/how-to-bypass-disable-pattern-unlock-on-android-via-adb-commands/
edit: this does not work on marshmallow[tested]
i think this will help you http://forum.xda-developers.com/note-4/orig-development/bypass-lock-screen-pattern-password-pin-t2948336
bablu048 said:
google is your friend http://www.addictivetips.com/android/how-to-bypass-disable-pattern-unlock-on-android-via-adb-commands/
Click to expand...
Click to collapse
hopefully he enabled the usb debugging option
pijes said:
hopefully he enabled the usb debugging option
Click to expand...
Click to collapse
nope, this does not help. Just now i tried this on my device..if the device is locked adb doesn't recognize the device. this method does not work on marshmallow.
i don't know about lollipop. maybe it works.
pijes said:
hopefully he enabled the usb debugging option
Click to expand...
Click to collapse
bablu048 said:
nope, this does not help. Just now i tried this on my device..if the device is locked adb doesn't recognize the device. this method does not work on marshmallow.
i don't know about lollipop. maybe it works.
Click to expand...
Click to collapse
Unfortunately, my phone is stock and non rooted, but luckily I could guess the pattern.
I still would like to know for future reference, since Android Device Manager did a great job at getting my phone's location and making it ring... just not unlocking it!!
xdmatt said:
Unfortunately, my phone is stock and non rooted, but luckily I could guess the pattern.
I still would like to know for future reference, since Android Device Manager did a great job at getting my phone's location and making it ring... just not unlocking it!!
Click to expand...
Click to collapse
you don't need to be rooted to access recovery and install files.
for future reference see the 2nd link i posted. I haven't tried that yet, i'l report when i try.
bablu048 said:
you don't need to be rooted to access recovery and install files.
for future reference see the 2nd link i posted. I haven't tried that yet, i'l report when i try.
Click to expand...
Click to collapse
He wouldn't have been able to use it because you need a custom recovery to flash that file.
Well... I guess you know the system works? Probably not great for there to be an easy or sure-fire way to unlock a phone if you don't know the security details.
If it's just data you need, recovery mode should allow you to copy it off the device via USB (if you didnt encrypt the device). Getting into a phone you really locked yourself out of is probably not possible.
AtomicStryker said:
If it's just data you need, recovery mode should allow you to copy it off the device via USB (if you didnt encrypt the device). Getting into a phone you really locked yourself out of is probably not possible.
Click to expand...
Click to collapse
i want to know how to copy data from the device through recovery. do you know the process or where to find a guide?
edit: thanks for the idea. i hadn't thought that way.
xdmatt said:
Unfortunately, my phone is stock and non rooted, but luckily I could guess the pattern.
I still would like to know for future reference, since Android Device Manager did a great job at getting my phone's location and making it ring... just not unlocking it!!
Click to expand...
Click to collapse
For preventative measures, Tasker is your friend. Have a "Plan B" microSD with a special .txt file on it, and have Tasker detect SD inserted and scan that file. If the file matches, then Tasker should wipe /data/system/gesture.key and password.key, and sqlite3 into settings.db and "update system set value=0 where name='lock_pattern_autolock' " to unlock your device.
In the case of an aftermath, it is now (as of today) possible to recover files/photos from the lockscreen without root, ADB, or custom recovery. Just an internet connection, linked Google account, and access to the notification drawer. I just published my first app, Locked-out Phone Backup, that is similar to the old Screen Lock Bypass Pro for Gingerbread, but instead recovers files instead of disabling the screen lock, so no root is required!
Hope this answers your question!
Well, try some password remover.

Your device is corrupted.

Yo. I got my Nexus 6P the other day and immediately flashed CM13 on it, and came across a couple of problems. I used the following guide, step by step: (Can't post links. but it's on Devs-Lab)
So, first off, after finishing everything (Unlocking the bootloader, Rooting & Installing Recovery and finally installing CM13) I came across a couple of problems. Firstly, my phone refused to start as it couldn't be decrypted even though I never encrypted it or set a password for the encryption (which it asked me for, to decrypt) so I tried to factory reset the phone. Didn't work, formated the phone which did work and now it launches / works with no issues. However, every time I start the phone it tells me that the device is corrupted and can't be trusted. What's up with this?
Thanks in advance,
Alex.
I don't have CM installed but what you are describing is normal. Read this:
https://support.google.com/nexus/answer/6185381?p=verified_boot&rd=1
Ah yeah, you're right.
But what about the encryption thing? It's sketchy as ****, I know for sure I didn't encrypt the phone myself / set a password to decrypt it.
zixti said:
Ah yeah, you're right.
But what about the encryption thing? It's sketchy as ****, I know for sure I didn't encrypt the phone myself / set a password to decrypt it.
Click to expand...
Click to collapse
The device comes encrypted out the box.
If you look at the article by Heisenberg
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
3. How To Decrypt Your Data Partition
This is no longer necessary as long as you use TWRP 2.8.7.1 or newer
Click to expand...
Click to collapse
And according to that thread, formatting your phone will remove the encryption. Which it did. Gotcha.
Last thing, why did it ask me for a password to decrypt? Or, why didn't I have that password? Mostly out of curiosity.

Did Factory Reset in Recovery Mode now wont let me in unless i have previous credenti

A friend bought a this phone second hand and asked me to reset it to factory settings for them.
Naturally I did what i always do and went into recovery mode and dit it there.
Now i have rebooted it is asking for the previous owners Gmail credentials before allowing me any further.
Is there a guide to resetting the phone to ACTUAL factory settings or are we screwed?
Maybe screwed. There is a video in Youtube that shows how to bypass it but maybe it's already fixed by now. Maybe contacting Samsung/seller would help with that Do you have any documents that phone belongs to ur friend?
thanks for the post.
no documents on phone - otherwise i wouldnt have wiped it in the first place...remember i did a wipe and data reset through recovery - this wipes the data anyway.
i just want to be able to use the phone.
surely we are not at a stage now in where simply not knowing a username and password means you cannot use a £600 device???
this is truly security gone mad.
the thing is, this is all set up so that if your phone is stolen someone cannot set it up for themselves and use it. But in truth, if your phone is stolen and the criminal wipes the data, what the hell difference does it make to you if they can use it or not?
I would think a new stock rom flash could help ?
Security has increased but this has to some degree to do with Knox and its approval for restricted information
|Night| said:
I would think a new stock rom flash could help ?
Security has increased but this has to some degree to do with Knox and its approval for restricted information
Click to expand...
Click to collapse
i havent done this yet because i have read on other forums that people have tried this and it didnt work - it takes an age to download the original rom from sammobile as well
someone on another forum suggested to install TWRP and choosing the "format data" option - which wipes the security section...need to confirm this works though before i do it otherwise i will invalidate the warranty for no reason.
nk33 said:
someone on another forum suggested to install TWRP and choosing the "format data" option - which wipes the security section...need to confirm this works though before i do it otherwise i will invalidate the warranty for no reason.
Click to expand...
Click to collapse
You can do an emergency rapir from Kies which wipes everything on the phone, if you install TWRP you brake knox.
I know Knox is a love and hate affair but still
|Night| said:
You can do an emergency rapir from Kies which wipes everything on the phone, if you install TWRP you brake knox.
I know Knox is a love and hate affair but still
Click to expand...
Click to collapse
Personally, on all my phones, i install twrp straight away, root them and off i go....but this is not my phone..so want to try everything but tripping knox first...
nk33 said:
Personally, on all my phones, i install twrp straight away, root them and off i go....but this is not my phone..so want to try everything but tripping knox first...
Click to expand...
Click to collapse
This is my first phone which i have not wiped before removing the plastic wrapping, reading up on the security of the device it is high, there are some ways which shows up as workaround for this security option but those are on old devices.
http://www.progeeksblog.com/bypass-factory-reset-protection-on-samsung-devices/
edit: Kies is fun fun fun, just installed on one of my computers, and it claims my device is unsupported >p
---------- Post added at 02:38 PM ---------- Previous post was at 02:08 PM ----------
The "Firmware upgrade and initialisation" In Kies should restore your device bypassing that login screen from what I read.
Kies is old. Smart Switch is the new deal. Try emergency recovery with it This is more of an Android thing, so maybe TWRP should wipe everything. Also if you don't have any documents you dont have a valid warranty... just flash TWRT then root and live happy ever after I wish it would be possible to have root and OTA...
nk33 said:
A friend bought a this phone second hand and asked me to reset it to factory settings for them.
Naturally I did what i always do and went into recovery mode and dit it there.
Now i have rebooted it is asking for the previous owners Gmail credentials before allowing me any further.
Is there a guide to resetting the phone to ACTUAL factory settings or are we screwed?
Click to expand...
Click to collapse
Beautiful protection, don't you think? It's called FRP (Factory Reset Protection)!
Your friend must contact the person where he bought it from, and ask for the credentials!
When he/she doesn't know the previous owner anymore -> good luck!
mk89pwnz said:
Kies is old. Smart Switch is the new deal. Try emergency recovery with it This is more of an Android thing, so maybe TWRP should wipe everything. Also if you don't have any documents you dont have a valid warranty... just flash TWRT then root and live happy ever after I wish it would be possible to have root and OTA...
Click to expand...
Click to collapse
ok - regarding Smart Switch and TWRP.
the documents we were refering to previously are not documents relating to the purchase of the phone, but the data on the phone.
we have all the documents regarding the purchase so DO have a valid warranty.
henklbr said:
Beautiful protection, don't you think? It's called FRP (Factory Reset Protection)!
Your friend must contact the person where he bought it from, and ask for the credentials!
When he/she doesn't know the previous owner anymore -> good luck!
Click to expand...
Click to collapse
not sure if you are being sarcastic when you say "beautiful"?
seems a bit pointless to me. if your phone has been stolen it has been stolen. whether the person who stole it can use it or not is irrelevant isnt it? Doesnt exactly help you get it back!
nk33 said:
ok - regarding Smart Switch and TWRP.
the documents we were refering to previously are not documents relating to the purchase of the phone, but the data on the phone.
we have all the documents regarding the purchase so DO have a valid warranty.
Click to expand...
Click to collapse
So go to a repair shop of Samsung and they will fix it for you... Just say I forgot the account... END of story.
mk89pwnz said:
So go to a repair shop of Samsung and they will fix it for you... Just say I forgot the account... END of story.
Click to expand...
Click to collapse
Ok - i know that - but I would like to try other routes first as i am sure it wont be that quick doing it like that.
Also - if they can sort it then why isnt there a tool so we can sort it? Logic states if they can do it then surely we can...LOL
nk33 said:
Ok - i know that - but I would like to try other routes first as i am sure it wont be that quick doing it like that.
Also - if they can sort it then why isnt there a tool so we can sort it? Logic states if they can do it then surely we can...LOL
Click to expand...
Click to collapse
I rly doubt it will be easy anyway gl if you think going to Samsung is a hard way [emoji2]
nk33 said:
Ok - i know that - but I would like to try other routes first as i am sure it wont be that quick doing it like that.
Also - if they can sort it then why isnt there a tool so we can sort it? Logic states if they can do it then surely we can...LOL
Click to expand...
Click to collapse
Have a guess...
Maybe, to prevent "thieves" unlocking the phone?
If your friends phone is legit: go with the papers to a Samsung Service Point, explaining the situation -> voila! ?
Verstuurd vanaf mijn SM-T700 met Tapatalk
You have to remove your google account from your phone before selling it. The seller should have done this beforehand. Happened to me as well, when i sold my LG G4. Didn't remove my google account, just did a factory reset, and sold the phone. Few days later i got an e-mail from the buyer with the same symptoms. I solved it by signing in with my account (changed the password afterward of course) and manually removed the account again. A factory reset later the phone was free again.
This is the same for all android phones. It was first introduced with LP i guess. So keep this in mind if you are selling an android phone in the future.
nk33 said:
Ok - i know that - but I would like to try other routes first as i am sure it wont be that quick doing it like that.
Also - if they can sort it then why isnt there a tool so we can sort it? Logic states if they can do it then surely we can...LOL
Click to expand...
Click to collapse
If anyone could unlock the phone, then the security inherent in FRP would be invalid. I used to work for Apple, and they had a tool that could unlock a phone if the customer provided proof of ownership, but there is no legitimate way to perform this function without going through Apple. I imagine Samsung has a similar tool. If they can unlock it in a similar manner, it should take about 15 minutes out of your day. Good luck.
jjohnsonej25 said:
If anyone could unlock the phone, then the security inherent in FRP would be invalid. I used to work for Apple, and they had a tool that could unlock a phone if the customer provided proof of ownership, but there is no legitimate way to perform this function without going through Apple. I imagine Samsung has a similar tool. If they can unlock it in a similar manner, it should take about 15 minutes out of your day. Good luck.
Click to expand...
Click to collapse
ok thanks for all your help guys.
I will try and get the email and password first - if that fails then off to a Samsung Store it is.

Is there a way to root the phone without decrypting it?

I'm currently unrooted on locked bootloader, and I'd like to keep my phone encrypted.
I read that newer versions of TWRP work with an encrypted device, but can I unlock the bootloader while keeping the phone encryted?
The process of unlocking your bootloader will wipe it, not rooting it or loading twrp. Your phone will still be encrypted when your done unlocking the bootloader. I imagine it's a safety feature if someone steals your phone that it wipes it if they try breaking in by unlocking the phone.
JeffBea said:
The process of unlocking your bootloader will wipe it, not rooting it or loading twrp. Your phone will still be encrypted when your done unlocking the bootloader. I imagine it's a safety feature if someone steals your phone that it wipes it if they try breaking in by unlocking the phone.
Click to expand...
Click to collapse
Thank you! So I can unlock the bootloader and then flash TWRP while keeping the encryption?
Yes
So change the pin code used for accessing the encryption key (which can be different than the short screen unlock one)
Otherwise encryption is useless (default password is... "default_password")
rchtk said:
So change the pin code used for accessing the encryption key (which can be different than the short screen unlock one)
Otherwise encryption is useless (default password is... "default_password")
Click to expand...
Click to collapse
Yea you're right but if attempting to break into a phone through twrp with " default_password" as pass code won't work. It won't recognize that value
rchtk said:
So change the pin code used for accessing the encryption key (which can be different than the short screen unlock one)
Otherwise encryption is useless (default password is... "default_password")
Click to expand...
Click to collapse
dontbeweakvato said:
Yea you're right but if attempting to break into a phone through twrp with " default_password" as pass code won't work. It won't recognize that value
Click to expand...
Click to collapse
I'm pretty sure both are the same no matter what you do. The code you'll have to enter on TWRP will get set once first boot is done and pattern or pin or passcode is selected during setup. That's the key that'll let twrp decrypt the partitions. If you ever flag a new ROM and change the method, it'll also change for TWRP as well.
Jammol said:
I'm pretty sure both are the same no matter what you do. The code you'll have to enter on TWRP will get set once first boot is done and pattern or pin or passcode is selected during setup. That's the key that'll let twrp decrypt the partitions. If you ever flag a new ROM and change the method, it'll also change for TWRP as well.
Click to expand...
Click to collapse
Not sure if I understand correctly what you mean but decryption key can be different from unlock pin. There's an API to change the decryption key so there are apps to make a super long decryption key while still having a small unlock pin code CM even integrated this distinction in their settings menu.
People have asked this feature to google for ages (as well as reboot after x wrong pin code) but they are still waiting..
rchtk said:
Not sure if I understand correctly what you mean but decryption key can be different from unlock pin. There's an API to change the decryption key so there are apps to make a super long decryption key while still having a small unlock pin code CM even integrated this distinction in their settings menu.
People have asked this feature to google for ages (as well as reboot after x wrong pin code) but they are still waiting..
Click to expand...
Click to collapse
Now I see what you're talking about. The original postings looked like you guys were talking about them being different on stock.

RE-LOCK the bootloader possible?

Hi!
I've recently unlocked my bootloader as I wanted to root the phone.
However, I'm planning to sell it and want to revert it.
I've tried "fastboot oem lock", but this soft bricked my phone so I had to unlock it again.
Is it possible to relock the bootloader or at least get rid of the booting message "the bootloader is unlocked and software integrity cannot be guaranteed, etc..."...
vessk0 said:
Hi!
I've recently unlocked my bootloader as I wanted to root the phone.
However, I'm planning to sell it and want to revert it.
I've tried "fastboot oem lock", but this soft bricked my phone so I had to unlock it again.
Is it possible to relock the bootloader or at least get rid of the booting message "the bootloader is unlocked and software integrity cannot be guaranteed, etc..."...
Click to expand...
Click to collapse
Ensure that unroot first before locking the bootloader.
The command you used worked for legacy devices. New devices including the OP8 series use the 'fastboot flashing lock' command.
P.S. If you have questions, please post them under the OnePlus 8 Pro Q&A section.
Use MSM tool. This will ensure that the software is 100% clean and in a new state.
Lossyx said:
Use MSM tool. This will ensure that the software is 100% clean and in a new state.
Click to expand...
Click to collapse
+1
Lossyx said:
Use MSM tool. This will ensure that the software is 100% clean and in a new state.
Click to expand...
Click to collapse
It will, but MSM is a low-level flashing utility and thus only recommended for unbricking.
For some very odd reason, I was able to break my phone's proximity sensors after using it the second time.
I wouldn't personally advise it to be a go-to solution for something that could be easily done via a bunch of commands. Just me two cents. ✌
DJBhardwaj said:
It will, but MSM is a low-level flashing utility and thus only recommended for unbricking.
For some very odd reason, I was able to break my phone's proximity sensors after using it the second time.
I wouldn't personally advise it to be a go-to solution for something that could be easily done via a bunch of commands. Just me two cents. ✌
Click to expand...
Click to collapse
I understand what you mean. But if that's the case then you would want to advise somebody to un-root, then run the adb command to remove any and all left over magisk modules, then factory wipe, then lock the bootloader.
Personally have ran the MSM tool 3 times due to poor flashes and it's been perfect.
I think the risk is much much higher if you plan to downgrade your OS. If not then you'll be absolutely fine.
Plus it's quicker
dladz said:
I understand what you mean. But if that's the case then you would want to advise somebody to un-root, then run the adb command to remove any and all left over magisk modules, then factory wipe, then lock the bootloader.
Personally have ran the MSM tool 3 times due to poor flashes and it's been perfect.
I think the risk is much much higher if you plan to downgrade your OS. If not then you'll be absolutely fine.
Plus it's quicker
Click to expand...
Click to collapse
I did mention unrooting first. Magisk will automatically take care of the modules when that's done. But yes, if someone did forcibly mount the system (not sure if it's possible anymore with dynamic partitions) and altered it, then that requires extra care.
As for a factory wipe, that'll be done at the same time when the bootloader is locked. So, that's why I suggested just unrooting and locking the bootloader straightaway.
Anyways, the suggestions you provided are equally valid as well.
DJBhardwaj said:
I did mention unrooting first. Magisk will automatically take care of the modules when that's done. But yes, if someone did forcibly mount the system (not sure if it's possible anymore with dynamic partitions) and altered it, then that requires extra care.
As for a factory wipe, that'll be done at the same time when the bootloader is locked. So, that's why I suggested just unrooting and locking the bootloader straightaway.
Anyways, the suggestions you provided are equally valid as well.
Click to expand...
Click to collapse
No mate you're wrong there im afraid. That is not always the case
Hence the actual requirement for a magisk removal command.
Magisk does not always clear up left overs, that's a well known problem.
But hey that's my advice.
Plus the wipe before hand is to eliminate anything that may have stuck similar to magisk modules.
It can happen.
Tbhi think he'll be fine either way.
dladz said:
No mate you're wrong there im afraid. That is not always the case
Hence the actual requirement for a magisk removal command.
Magisk does not always clear up left overs, that's a well known problem.
But hey that's my advice.
Plus the wipe before hand is to eliminate anything that may have stuck similar to magisk modules.
It can happen.
Tbhi think he'll be fine either way.
Click to expand...
Click to collapse
But sometimes, it is also the module developers to blame. That's why merging the modules into the official repository is difficult.
John has strained on this often. He recently removed EdXposed from the official repo:
https://twitter.com/i/web/status/1350590699113115648
As for wiping, it's all the same if you do it just before the relock command or let the command do it for you. The same thing is gonna happen either way, so it feels redundant to perform a factory reset right before locking the bootloader. This is what I was trying to convey earlier.
And yes, agreed. He'd probably be fine, given that we have provided various points to look out for before locking the bootloader.
DJBhardwaj said:
But sometimes, it is also the module developers to blame. That's why merging the modules into the official repository is difficult.
John has strained on this often. He recently removed EdXposed from the official repo:
https://twitter.com/i/web/status/1350590699113115648
As for wiping, it's all the same if you do it just before the relock command or let the command do it for you. The same thing is gonna happen either way, so it feels redundant to perform a factory reset right before locking the bootloader. This is what I was trying to convey earlier.
And yes, agreed. He'd probably be fine, given that we have provided various points to look out for before locking the bootloader.
Click to expand...
Click to collapse
I think he'll be fine.
An yea R-ice doesn't remove properly especially if you don't remove the theme first

Categories

Resources