security pin code deleted after trying CM13 - ZTE Axon 7 Questions & Answers

Hello everybody,
I'm using a european B05 version of the phone and tried the unofficial CM13 today just to have a look at it.
I did a full TWRP backup prior to flashing and after restoring I noticed that the phone is asking for the lockscreen pin as usual but it's not unlocking the device after putting in the pin.
So it somehow has to have deleted the pin in the background but still ask for it.
If I didn't have setup fingerprint unlock I wouldn't even be able to us the phone.
I already tried reflashing the full OTA, tried the Android Device Mananager (which didn't even work properly) to try the "lock and erase" function to set a new pin but as it didn't work I'm asking the community if there's a way to disable the screen lock without factory resetting my device and loosing all the data.
Best regards

regenwurm16 said:
Hello everybody,
I'm using a european B05 version of the phone and tried the unofficial CM13 today just to have a look at it.
I did a full TWRP backup prior to flashing and after restoring I noticed that the phone is asking for the lockscreen pin as usual but it's not unlocking the device after putting in the pin.
So it somehow has to have deleted the pin in the background but still ask for it.
If I didn't have setup fingerprint unlock I wouldn't even be able to us the phone.
I already tried reflashing the full OTA, tried the Android Device Mananager (which didn't even work properly) to try the "lock and erase" function to set a new pin but as it didn't work I'm asking the community if there's a way to disable the screen lock without factory resetting my device and loosing all the data.
Best regards
Click to expand...
Click to collapse
First the standard disclaimer...I'm not responsible if you brick your phone or if something gets messed up...
Boot into TWRP. Open file manager and browse to /data/system and delete the following files:
gatekeeper.password.key
gatekeeper.pattern.key
locksettings.db
locksettings.db-shm
locksettings.db-wal
That should remove any previous PIN settings and you can set a new one.

Hi shifuharris,
worked like a charm! Thanks very much?

shifuharris said:
First the standard disclaimer...I'm not responsible if you brick your phone or if something gets messed up...
Boot into TWRP. Open file manager and browse to /data/system and delete the following files:
gatekeeper.password.key
gatekeeper.pattern.key
locksettings.db
locksettings.db-shm
locksettings.db-wal
That should remove any previous PIN settings and you can set a new one.
Click to expand...
Click to collapse
Your correct, but is only 1 file that need to be deleted.
locksettings.db
The rest is just desert

regenwurm16 said:
Hi shifuharris,
worked like a charm! Thanks very much��
Click to expand...
Click to collapse
Awesome! Glad to hear it!
---------- Post added at 09:40 AM ---------- Previous post was at 09:38 AM ----------
DrakenFX said:
Your correct, but is only 1 file that need to be deleted.
locksettings.db
The rest is just desert
Click to expand...
Click to collapse
Thanks @DrakenFX. I'll have to try that next time.

Related

[Q&A] Bypass(Reset) Lock screen Pattern/Password/PIN/Fingerprint scanning without wi

[Q&A] Bypass(Reset) Lock screen Pattern/Password/PIN/Fingerprint scanning without wi
Q&A for Bypass(Reset) Lock screen Pattern/Password/PIN/Fingerprint scanning without wipe
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for Bypass(Reset) Lock screen Pattern/Password/PIN/Fingerprint scanning without wipe. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Bypass(Reset) Lock screen Pattern/Password/PIN/Fingerprint scanning without wipe
dr.ketan said:
Bypass(Reset) Lock screen Pattern/Password/PIN/Fingerprint scanning without wipe
We know it's a big pain when you forget PIN/Passowrd/Pattern and you simply can't afford to wipe device as you don't have backup.
Then What?
You were all the night busy with your new beast and when you wake up in morning and notice that your GF/BF took revenge by registering and locking device by his/her fingerprint
Then what?
Very simple. Flash attached file from recovery.
Click to expand...
Click to collapse
thanks it work on my N4 android 4.4.4 N910C
I downloaded this and haven't been able to figure out how to install it.
Does the phone have to be rooted or anything special?
Guess i shouldn't have angered the ex before the break up. oops.
Saved my life...
I had completely lost all the hopes after bad luck with other various ways to bypass the lock screen(Pin Lock). To be honest I didn't expect this to work either. But I was completely taken by surprise. Thanks a ton for this mod. Worked like a charm with my note 2 n7100 with DN4 installed on it.
Thanks, really useful!
By pass lock screen on note 4
Dr. You said to flash the file you created and it would work. I'm sorry if this sounds like a dumb question but I'd rather have the answer then appear like an idiot. Here goes......
I have kies and Odin I cannot figure out how to flash your file using either one of those tools. You mentioned "flashing from recovery" if that's the case how does one do that.
I am able to get Odin to see my phone but it won't do anything with your file
Please Advise I'm miserably frustrated and can't hard reset at the cost of loosing very important files.
Thank you
doug1952 said:
Dr. You said to flash the file you created and it would work. I'm sorry if this sounds like a dumb question but I'd rather have the answer then appear like an idiot. Here goes......
I have kies and Odin I cannot figure out how to flash your file using either one of those tools. You mentioned "flashing from recovery" if that's the case how does one do that.
I am able to get Odin to see my phone but it won't do anything with your file
Please Advise I'm miserably frustrated and can't hard reset at the cost of loosing very important files.
Thank you
Click to expand...
Click to collapse
Recovery menu of your phone. To access recovery. Switch of your phone. Press and hold. Volume up button + home button + power on. After a few seconds release power button but keep balding volume up + home. You'll get into recovery.
Bypassing lock screen
mariosraptor said:
Recovery menu of your phone. To access recovery. Switch of your phone. Press and hold. Volume up button + home button + power on. After a few seconds release power button but keep balding volume up + home. You'll get into recovery.
Click to expand...
Click to collapse
Thank you very much!
That is probably the right answer the problem is it didn't work on my note 4. When I got into recovery mode I selected the "SDcard option" and directed it to the folder I downloaded from the good Dr. The folder didn't have anything it was looking for and simply said so.
So I tried going deeper into the folder trying to find anything it would respond to but came up empty. So I tried downloading and installing the ADB app with SDK files and drivers the whole works. By the time I got it all set up apparently the phone has to have debugging turned off before ADB can communicate with my phone. Which of course my phone cannot be accessed because master password is required which I don't have.
I have the PW but it won't accept it. I think It was caused by a conflict with an app I downloaded. Any help or ideas short of doing a complete factory reset, I would really appreciate it. It's evident that starting over May be my only choice. I just can't lose all my information.........I was 24 hrs from backup to.
Warm regards
Doug
HTML:
Debug should be ON for adb to work. See OP to activate it
---------- Post added at 01:22 AM ---------- Previous post was at 01:18 AM ----------
Also. If you have left WiFi on it will automatically connect to known WiFi nets. Or insert a simple card w/o pin. If you know the password then either go to find my Samsung or Google remote find phone both need Internet and use one of tho the to change your password and unlock remotely your phone. That is your best chance.
Awesome That Worked...!
Marioscaptor
I can't thank you enough I was able to reset using the Google device manager as you suggested. It never accured to me that was even available on a phone that was locked. Resetting remotely is a great feature.
I appreciate your patience and your willingness to help me work through the issues. I learned a lot.
Thanks again!
Doug
doug1952 said:
Marioscaptor
I can't thank you enough I was able to reset using the Google device manager as you suggested. It never accured to me that was even available on a phone that was locked. Resetting remotely is a great feature.
I appreciate your patience and your willingness to help me work through the issues. I learned a lot.
Thanks again!
Doug
Click to expand...
Click to collapse
Glad I could help man. You're welcome.
is that work on Samsung Galaxy Tab A SM-T805
Thank GOD
finally i got an idea to unlock my Samsung Galaxy Tab A SM-T805
Please Dr Ketan sir tel me how to use this file to unlock my TAB if its compatible with my TAB
Thanks
How to flash LockScreen_Security_bypassV1.1.zip to Note 4
Dear
How to flash LockScreen_Security_bypassV1.1.zip to Note 4?
S5 Works
I used this on a tmobile s5 and it worked great.
---------- Post added at 08:47 PM ---------- Previous post was at 08:41 PM ----------
gsm_mind said:
Dear
How to flash LockScreen_Security_bypassV1.1.zip to Note 4?
Click to expand...
Click to collapse
1. install custom recovery (CWM) via odin.
2. load this zip file onto a micro sd card ( you cant access the phones storage to load it onto the phone).
3 restart phone in custom recovery
4. select install zip from memory card then restart phone and enjoy.
S5 Mini G800F rooted CF Android 4.4.2
Once Dr. Ketan's script flashed from recovery will bypass the Lockscreen Security (fingerprintpassword, password, locksetings, personal key, gesture key) the associated security information is gone.
I wonder how the following scenario will work out:
1. What if BEFORE running Dr. Ketan's script the files related to Lockscreen Security are copied to e.g. external SD card - or internal storage - by another script from recovery?
2. Then run Dr. Ketan's script flashed from recovery to bypass the Lockscreen utility.
3. Then access telephone and reboot.
4. Then run another script from recovery to copy back the files of step 1 related to Lockscreen Security to their respective original locations.
QUESTION: Will now the original Lockscreen Security information be active again on the telephone?
So the original fingerprint and other settings of the Lockscreen utility from step 1 are active again on the telephone?
Edit: In the discussion area Dr. Ketan and Mussels84 discuss the use of Nandroid for backing up purposes with problems encountered. I read on forums that Nandroid usage may result in wrong access rights assigned to files involved in Nandroid operations due to oversight of users. Dr. Ketan's script is actually a set of commands. The copy (backup step 1) and copy (restore step 4) actions of my assumption above should be done in the same way as Dr. Ketan's script: with a set of commands and not Nandroid to avoid potential issues. Is ti too easy to think that just a slight adoption to Dr. Ketan's original scrip could do the job?
Cant use fingerprintscanner, and dont know alternate password
Hello,
My phone was in my pocket and something kept touching the fingerprintscanner, because of too many failed attempts my phone got "blocked", I cant use the fingerprint scanner and i dont remember the alternate password. I dont want to do a factory reset because my phone has a lot of valuable data and personal photos.
Does anyone know how i can get the fingerprintscan function to work again or bypass the password screen?
Galaxy S5(european version)
Thanks in advance.
Sukhdev-Singh said:
Hello,
My phone was in my pocket and something kept touching the fingerprintscanner, because of too many failed attempts my phone got "blocked", I cant use the fingerprint scanner and i dont remember the alternate password. I dont want to do a factory reset because my phone has a lot of valuable data and personal photos.
Does anyone know how i can get the fingerprintscan function to work again or bypass the password screen?
Galaxy S5(european version)
Thanks in advance.
Click to expand...
Click to collapse
Please go to the discussion area of this thread and read carefully what Dr. Ketan developed. It did work for soe XDA members.
How do i install a cwm recovery?
Windmolen said:
Please go to the discussion area of this thread and read carefully what Dr. Ketan developed. It did work for soe XDA members.
Click to expand...
Click to collapse
Does my phone have to be rooted to use this method?
I was looking how to flash a custom recovery, i found a couple of ways, but i was wondering if i install a custom recovery will it set of KNOX?
Sukhdev-Singh said:
Does my phone have to be rooted to use this method?
I was looking how to flash a custom recovery, i found a couple of ways, but i was wondering if i install a custom recovery will it set of KNOX?
Click to expand...
Click to collapse
1. Dr. Ketan explains the root non root issue in his thread.
2. I am not sure if a custom recovery will trick the KNOX. I am jsut a junior expert and an afriad to mention wrong information. But to my best (may be wrong/limited knowledge), a custom recovery will not trick the KNOX. But please look for re-affirment from a more expereinced XDA memeber.
Galaxy note 4 lock screen problem
My galaxy note 4 has fingerprint lock screen. and yesterday it didn't recognize my fingerprint. maybe because my fingers are wrinkly that time. My data network is disabled. that is why I try to unlock it using backup password but i forgot my password. I tried many times. and then It only ask me to enter password no other option like fingerprint or log in via google mail. It's too late for me to realize that I can enable my data network even if its locked. Now my problem is I don't really remember my password and I tried so many times. and weird thing is that it says unable to verify your fingerprint 6 times. try again in 30 seconds. which It didn't scan my fingerprint it only ask to enter a password. I restart it a lot of times but nothings happen. Bypass screen lock app from google play is not compatible with note 4. I also tried to change lock on android device manager but it wont let me it said phone is already locked so It doesn't need to be changed.
I don't want to factory reset my phone. I need my files. please help. and It is possible to recover my files after factory reset??
btw. i also did the flashing thing. but I don't know if i did it right. nothings happen. please help me how. what i did was I power off my phone the I press power buton + volume up + home button and It brings me to an options and I choose apply update using external storage. I download the attached file by dr. and put it on my sd card. then I click the zip file there's too error occured then at the end it says complete then the phone restart and nothings happen.

Locked out of your phone? SOLUTION! [ROOTED ONLY]

So I flashed a rom to test and then restored my backup and now my pattern doesn't work. Anyone had this issue before? There isn't any chance I'm using the wrong pattern because I've used the same one for ages and this pattern has been set on this rom for days working just fine. I'm not sure why it won't work now but i'm definitely never going to use a lock again because this is annoying to be locked out of my own phone lol.
If anyone knows how to get around this please help. I don't feel like having to do a clean rom flash right now :/
-------
As you can see above I was locked out of my phone after doing a backup restore. The solution can be found here I just linked the actual post so the proper user gets credit. Be sure to thank him.
I ended up having to wipe and flash a clean ROM. I tried everything I could think of and every time it failed to recognise my pattern. It's funny because usually I don't use a lock on my phone but it's actually a bit faster to get into them with the fingerprint reader so I started using it. But I'm just sticking with swipe to unlock for now on because it's highly annoying to get locked out your own phone especially when you know for a certainty you are using the correct code.
I did do a little google searching on the issue and found that it has happened to a lot of S7 owners and most seem to get it working again with a few reboots but that didn't work for me. I wiped cache and dalvik, pulled my battery and left it out for ten minutes, rebooted many times, and every time it failed to recognise my pattern. Sucks because I had just got my phone setup exactly how I wanted after several days of configuring and tweaking.
I had the same issue today.
And I always use the same pattern, which it wouldn't accept. When I had a S7E, I remember having to delete finger prints before making a backup.
I guess I'll start doing the same with the V20.
Sent from my LG-H918 using Tapatalk
I had run into this same thing myself, but luckily someone on IRC mentioned the fix to me... if you boot into TWRP and rename/move/delete the /data/system/locksettings.db file, you should be able to get back into your device with a swipe. for some reason after restoring a backup of your /data, that file's contents are no longer valid. if anyone has an explanation why, I'd love to hear it...
slkpmp said:
I had the same issue today.
And I always use the same pattern, which it wouldn't accept. When I had a S7E, I remember having to delete finger prints before making a backup.
I guess I'll start doing the same with the V20.
Sent from my LG-H918 using Tapatalk
Click to expand...
Click to collapse
I considered that perhaps in the future it would be wise to change it to swipe to unlock before doing the backup. But I know myself and I would forget so for now I'm just going to use swipe
dimm0k said:
I had run into this same thing myself, but luckily someone on IRC mentioned the fix to me... if you boot into TWRP and rename/move/delete the /data/system/locksettings.db file, you should be able to get back into your device with a swipe. for some reason after restoring a backup of your /data, that file's contents are no longer valid. if anyone has an explanation why, I'd love to hear it...
Click to expand...
Click to collapse
Thanks! You answered about an hour too late! lol
I knew there had to be a solution. Well at least this thread exist now for those who have the issue in the future. I'm going to put your post in the OP. Thanks for sharing the solution.
imucarmen said:
Thanks! You answered about an hour too late! lol
I knew there had to be a solution. Well at least this thread exist now for those who have the issue in the future. I'm going to put your post in the OP. Thanks for sharing the solution.
Click to expand...
Click to collapse
no problem. keep in mind that this does expose a security risk that anyone can get into your device...
dimm0k said:
I had run into this same thing myself, but luckily someone on IRC mentioned the fix to me... if you boot into TWRP and rename/move/delete the /data/system/locksettings.db file, you should be able to get back into your device with a swipe. for some reason after restoring a backup of your /data, that file's contents are no longer valid. if anyone has an explanation why, I'd love to hear it...
Click to expand...
Click to collapse
Luckily I still have my back ups.
Thanks for this.
Sent from my LG-H918 using Tapatalk
Need to do this but I cannot get into twrp. Adb not working with locked screen. Any idea how to boot into twrp with hardware keys?
Sent from my Pixel XL using Tapatalk
Nrod0784 said:
Need to do this but I cannot get into twrp. Adb not working with locked screen. Any idea how to boot into twrp with hardware keys?
Sent from my Pixel XL using Tapatalk
Click to expand...
Click to collapse
turn device off. hold the vol-down and power button to turn device back on. release the power button for a second after you see the LG logo and press the power button again all the while holding the vol-down.
dimm0k said:
turn device off. hold the vol-down and power button to turn device back on. release the power button for a second after you see the LG logo and press the power button again all the while holding the vol-down.
Click to expand...
Click to collapse
Yeah I figured it out last evening. I spent last two days flashing and my mind got twisted haha.
Beastmode on my LG V20
dimm0k said:
I had run into this same thing myself, but luckily someone on IRC mentioned the fix to me... if you boot into TWRP and rename/move/delete the /data/system/locksettings.db file, you should be able to get back into your device with a swipe. for some reason after restoring a backup of your /data, that file's contents are no longer valid. if anyone has an explanation why, I'd love to hear it...
Click to expand...
Click to collapse
thanks dude!! i restored my backup about 3 times now and out of the blue i'm locked out. this helped me out. i also found this.
LG V20 Reset Password with LG Find My Mobile
Another option would be to use LG’s Find My Mobile (Find My Android), similar to Find My iPhone. You can use the “Remote Controls” feature on your LG V20 which will allow you to temporarily reset the password and bypass the lock screen on the LG V20. If you have not already registered the LG V20 with LG, try registering it as soon as possible
Register the LG V20 with LG
Use the Find My Mobile service to temporary reset the password
Bypass the lock screen using the new temporary password
Set a new password
LG V20 Password Reset with Android Device Manager
Another solution to reset the password on the LG V20 is for those that have already registered their LG V20 with Android Device Manage. When using Android Device Manger to reset the password, all you need to do is activate the “Lock” feature. The “Lock” feature on Android Device Manger will allow you to get the LG V20 password to reset when you have forgotten the password on the LG V20.
Go to the Android Device Manager from a computer
Find your LG V20 on the screen
Enable “Lock & Erase” feature
Then follow the given steps on the page to lock your phone
Set a temporary password
Enter the temporary password on your LG V20
Create a new password
https://recomhub.com/blog/forgot-pin-password-on-lg-v20-solution/
BROKEN1981 said:
thanks dude!! i restored my backup about 3 times now and out of the blue i'm locked out. this helped me out. i also found this.
LG V20 Reset Password with LG Find My Mobile
Another option would be to use LG’s Find My Mobile (Find My Android), similar to Find My iPhone. You can use the “Remote Controls” feature on your LG V20 which will allow you to temporarily reset the password and bypass the lock screen on the LG V20. If you have not already registered the LG V20 with LG, try registering it as soon as possible
Register the LG V20 with LG
Use the Find My Mobile service to temporary reset the password
Bypass the lock screen using the new temporary password
Set a new password
LG V20 Password Reset with Android Device Manager
Another solution to reset the password on the LG V20 is for those that have already registered their LG V20 with Android Device Manage. When using Android Device Manger to reset the password, all you need to do is activate the “Lock” feature. The “Lock” feature on Android Device Manger will allow you to get the LG V20 password to reset when you have forgotten the password on the LG V20.
Go to the Android Device Manager from a computer
Find your LG V20 on the screen
Enable “Lock & Erase” feature
Then follow the given steps on the page to lock your phone
Set a temporary password
Enter the temporary password on your LG V20
Create a new password
https://recomhub.com/blog/forgot-pin-password-on-lg-v20-solution/
Click to expand...
Click to collapse
I have a feeling if you use the Android Device Manager, it will wipe your data when you reset... haven't verified it, but that seems to be what the wording states...
dimm0k said:
I have a feeling if you use the Android Device Manager, it will wipe your data when you reset... haven't verified it, but that seems to be what the wording states...
Click to expand...
Click to collapse
I restored my backup again so I could get locked out, it worked lol. I tried that method but it did not work. Google detected I had a screen lock method on, so it would not overwrite the pin.
Have no clue on how the LG version would work.
dimm0k said:
I had run into this same thing myself, but luckily someone on IRC mentioned the fix to me... if you boot into TWRP and rename/move/delete the /data/system/locksettings.db file, you should be able to get back into your device with a swipe. for some reason after restoring a backup of your /data, that file's contents are no longer valid. if anyone has an explanation why, I'd love to hear it...
Click to expand...
Click to collapse
thank you thank you! my old v20 wasn't taking my pattern. no idea why. your fix took care of it though

Problems with inital setup with used phone

I recently bought a used oneplus 5 and i was told/asured it was factory reset and all. Now i'm trying to set it up but im required to enter the gmail account data from the former user, which, of course, i dont have and probably won't get because i mean who's gonna give a stranger his gmail password even if one can change it immediately.
Question is: Is there a way to bypass it (i factory resetted it another 2 times and erased all system settings and all already) and actually use my account for it or is it unusable until i get the account data of the seller
The bootloader is still locked and i factory resetted it myself 2 times.
Apotrox said:
I recently bought a used oneplus 5 and i was told/asured it was factory reset and all. Now i'm trying to set it up but im required to enter the gmail account data from the former user, which, of course, i dont have and probably won't get because i mean who's gonna give a stranger his gmail password even if one can change it immediately.
Question is: Is there a way to bypass it (i factory resetted it another 2 times and erased all system settings and all already) and actually use my account for it or is it unusable until i get the account data of the seller
Click to expand...
Click to collapse
Enter into fastboot mode by pressing volume up + power button together when the device is powered off. Connect your pc to your phone and do fastboot format userdata. For more information you can contact @MrWilsonxD he is an expert for this.
sleepwalking0593 said:
Enter into fastboot mode by pressing volume up + power button together when the device is powered off. Connect your pc to your phone and do fastboot format userdata. For more information you can contact @MrWilsonxD he is an expert for this.
Click to expand...
Click to collapse
Aye did this and it failed (Flashing is not allowed in Lock State). So i guess it's because the bootloader is still locked which i can't do since i can't access the settings to enable it (which i have to if i carry out the steps of a basic tutorial). Can i access the settings somehow without finishing the inital setup? Maybe in addition to being able to unlock the bootloader i can also remove the restriction of the old user account?
Apotrox said:
Aye did this and it failed (Flashing is not allowed in Lock State). So i guess it's because the bootloader is still locked which i can't do since i can't access the settings to enable it (which i have to if i carry out the steps of a basic tutorial). Can i access the settings somehow without finishing the inital setup? Maybe in addition to being able to unlock the bootloader i can also remove the restriction of the old user account?
Click to expand...
Click to collapse
Okay do this now. Wipe system, data, cache, dlavik, vendor. Then go in format and type yes. Flash oos. Reboot to recovery. Flash magisk. Flash no verity. Boot into os. See if it solve your issue.
Next method. Delete these 3 colour files in twrp. Look at photo attached.
https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877
Refer to this thread.
Hope it solves your issue. Goodluck. Happy Friday. Don't forget to leave thanks if I helped.
Me sleep now goodnight. See you tomorrow. I would try to do my best to help you and solve your issue
sleepwalking0593 said:
Okay do this now. Wipe system, data, cache, dlavik, vendor. Then go in format and type yes. Flash oos. Reboot to recovery. Flash magisk. Flash no verity. Boot into os. See if it solve your issue.
Next method. Delete these 3 colour files in twrp. Look at photo attached.
https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877
Refer to this thread.
Hope it solves your issue. Goodluck. Happy Friday. Don't forget to leave thanks if I helped.
Me sleep now goodnight. See you tomorrow. I would try to do my best to help you and solve your issue
Click to expand...
Click to collapse
The op has a device with a locked bootloader.
So he cannot have twrp, flash magisk every other things that you suggested...
BTW: if you're sleeping you can grab a BBS idle dump file for sure, you know what I mean
---------- Post added at 09:43 PM ---------- Previous post was at 09:30 PM ----------
Apotrox said:
I recently bought a used oneplus 5 and i was told/asured it was factory reset and all. Now i'm trying to set it up but im required to enter the gmail account data from the former user, which, of course, i dont have and probably won't get because i mean who's gonna give a stranger his gmail password even if one can change it immediately.
Question is: Is there a way to bypass it (i factory resetted it another 2 times and erased all system settings and all already) and actually use my account for it or is it unusable until i get the account data of the seller
The bootloader is still locked and i factory resetted it myself 2 times.
Click to expand...
Click to collapse
If the device has nougat, you can try to type *#812# within the emergency calling screen to get access to the home screen and can factory reset your device.
Otherwise you can try to write the partitions from scratch with the unbrick tool which should also work https://forum.xda-developers.com/oneplus-5/how-to/guide-unbrick-guide-hard-bricked-t3761706
strongst said:
The op has a device with a locked bootloader.
So he cannot have twrp, flash magisk every other things that you suggested...
BTW: if you're sleeping you can grab a BBS idle dump file for sure, you know what I mean
---------- Post added at 09:43 PM ---------- Previous post was at 09:30 PM ----------
If the device has nougat, you can try to type *#812# within the emergency calling screen to get access to the home screen and can factory reset your device.
Otherwise you can try to write the partitions from scratch with the unbrick tool which should also work https://forum.xda-developers.com/oneplus-5/how-to/guide-unbrick-guide-hard-bricked-t3761706
Click to expand...
Click to collapse
But you didn't read my last message i moved to oos now. You don't understand that many people face this issue. Even lightning kernel developer whose kernel was used by Sian in his earlier ROM also had that issue. People don't report on XDA because of things i can't type because i will get warning from mods. Everyone has shifted to telegram and those chats are not moderated and things that happen aren't good. If you are on telegram you will know. Okay i guess i will have to become like others and don't post my own question. Just will reply to others. I will post dump file when i flash ROM again and also developer doesn't support it. + Logs won't show anything. If it was possible atleast a kernel developer would have sent to others. + It's definitely not because of me. Because i didn't install anything apart from magisk, no verity zip, fk kernel app, bbs when i did my last testing. Sorry to bother you.
sleepwalking0593 said:
But you didn't read my last message i moved to oos now. You don't understand that many people face this issue. Even lightning kernel developer whose kernel was used by Sian in his earlier ROM also had that issue. People don't report on XDA because of things i can't type because i will get warning from mods. Everyone has shifted to telegram and those chats are not moderated and things that happen aren't good. If you are on telegram you will know. Okay i guess i will have to become like others and don't post my own question. Just will reply to others. I will post dump file when i flash ROM again and also developer doesn't support it. + Logs won't show anything. If it was possible atleast a kernel developer would have sent to others. + It's definitely not because of me. Because i didn't install anything apart from magisk, no verity zip, fk kernel app, bbs when i did my last testing. Sorry to bother you.
Click to expand...
Click to collapse
Again: The op of this thread thread as the factory reset protection issue on stock rom with locked bootloader.
You cannot suggest him to boot to twrp or format several partitions, that's simply not possible!
strongst said:
Again: The op of this thread thread as the factory reset protection issue on stock rom with locked bootloader.
You cannot suggest him to boot to twrp or format several partitions, that's simply not possible!
Click to expand...
Click to collapse
I'm sorry, i got messed up with another thread i guess. Okay i will think of another solution now.
---------- Post added at 07:23 AM ---------- Previous post was at 07:20 AM ----------
Apotrox said:
I recently bought a used oneplus 5 and i was told/asured it was factory reset and all. Now i'm trying to set it up but im required to enter the gmail account data from the former user, which, of course, i dont have and probably won't get because i mean who's gonna give a stranger his gmail password even if one can change it immediately.
Question is: Is there a way to bypass it (i factory resetted it another 2 times and erased all system settings and all already) and actually use my account for it or is it unusable until i get the account data of the seller
The bootloader is still locked and i factory resetted it myself 2 times.
Click to expand...
Click to collapse
If you click on i forgot my email id. Than you get an option to enter your phone number. Will that work for you.
If you click on i forgot my email id. Than you get an option to enter your phone number. Will that work for you.
Click to expand...
Click to collapse
Nope i don't have the phone number used with the google account (apparently the seller used another number than the one he has on ebay). I messaged him but haven't gotten an answer yet.
Apotrox said:
Nope i don't have the phone number used with the google account (apparently the seller used another number than the one he has on ebay). I messaged him but haven't gotten an answer yet.
Click to expand...
Click to collapse
Have you tried my suggestions?
strongst said:
Have you tried my suggestions?
Click to expand...
Click to collapse
I'm at it, the *#812# didn't work so i'll have to try the unbrick tool method which takes some time to download the files. I'll keep you updated
strongst said:
Have you tried my suggestions?
Click to expand...
Click to collapse
Alright i skipped the thing with the drivers because it showed up correctly and used the msm download tool for OOS 9.0.4.
And it did work!! Thank you so much!

Are there any problems when changing the recovery to TWRP?

I was reading to see if I found something related to the consequences of rooting my PIXEL 2XL and put a custom recovery (TWRP), if it happens as with my previous Galaxy S8, which changed the KNOX to 1, meaning that it could not be left as newly purchased, it showed that it had been manipulated and could not be used with any of its own APKs for being "manipulated".
In definitive it is possible to revert the action of rootear and to change the recovery to PIXEL 2XL without major consequences?:confuso:
lmmerono said:
I was reading to see if I found something related to the consequences of rooting my PIXEL 2XL and put a custom recovery (TWRP), if it happens as with my previous Galaxy S8, which changed the KNOX to 1, meaning that it could not be left as newly purchased, it showed that it had been manipulated and could not be used with any of its own APKs for being "manipulated".
In definitive it is possible to revert the action of rootear and to change the recovery to PIXEL 2XL without major consequences?:confuso:
Click to expand...
Click to collapse
Absolutely you can without issue. I've run twrp on my P2XL since it's inception in late 2017 without issue. Since we have an A/B partitioned device, there is no separate recovery, it is built in with the boot.img. Which means twrp can easily be removed by flashing or fastbooting the stock boot.img :good:
Badger50 said:
Absolutely you can without issue. I've run twrp on my P2XL since it's inception in late 2017 without issue. Since we have an A/B partitioned device, there is no separate recovery, it is built in with the boot.img. Which means twrp can easily be removed by flashing or fastbooting the stock boot.img :good:
Click to expand...
Click to collapse
Thank you very much, but there is no "waste" in the mobile as in the Galaxy S8?:confuso:
lmmerono said:
Thank you very much, but there is no "waste" in the mobile as in the Galaxy S8?:confuso:
Click to expand...
Click to collapse
Not sure I understand what you mean. "No waste in the mobile"???
Badger50 said:
Not sure I understand what you mean. "No waste in the mobile"???
Click to expand...
Click to collapse
that is registered in some internal counter as in the galaxy s8
lmmerono said:
that is registered in some internal counter as in the galaxy s8
Click to expand...
Click to collapse
That's just because it uses Sammy's memory chip I believe. Nothing to worry about :good:
Badger50 said:
That's just because it uses Sammy's memory chip I believe. Nothing to worry about :good:
Click to expand...
Click to collapse
Thank you very much, I already did it and in part and to be the first time that I put my hand, it has not gone too badly.
Let me explain, update it by means of "TOOL ALL IN ONE" to version 9 PIE, the last one that appears in the list, I flashed twrp-3.2.3-0-taimen and 3.2.3-1 and there is this problem when starting in recovery mode. ask for a password and when you do not know it (provide with the access pin to the screen and with the digital fingerprint without results) it does not allow me to make some options like trying to decrypt the DATA and that is a problem for me.
Is there any magic formula as a possible "default password ist xxxxxxxx"?
There is some rational way to decrypt data because using the TWRP when I make a backup and get to the partition of DATA hangs up and I have to do the backups without copying DATA.
Forgive the beating I'm giving you but I do not find much literature from this terminal, my previous phone was the Galaxy S8 G-950F and with that phone everything was relatively easy.
Thank you.:confuso:
lmmerono said:
Thank you very much, I already did it and in part and to be the first time that I put my hand, it has not gone too badly.
Let me explain, update it by means of "TOOL ALL IN ONE" to version 9 PIE, the last one that appears in the list, I flashed twrp-3.2.3-0-taimen and 3.2.3-1 and there is this problem when starting in recovery mode. ask for a password and when you do not know it (provide with the access pin to the screen and with the digital fingerprint without results) it does not allow me to make some options like trying to decrypt the DATA and that is a problem for me.
Is there any magic formula as a possible "default password ist xxxxxxxx"?
There is some rational way to decrypt data because using the TWRP when I make a backup and get to the partition of DATA hangs up and I have to do the backups without copying DATA.
Forgive the beating I'm giving you but I do not find much literature from this terminal, my previous phone was the Galaxy S8 G-950F and with that phone everything was relatively easy.
Thank you.:confuso:
Click to expand...
Click to collapse
No trouble at all my friend. The twrp password would be the same as your screen unlock pin. However, to save time and trouble going forward, set your screen lock to swipe, then enter twrp to make your backups. When done, go back to the OS, setup screen lock pin, or whatever you use, then when you go back to twrp and enter your screen lock password, twrp should decrypt just fine :good:
Badger50 said:
No trouble at all my friend. The twrp password would be the same as your screen unlock pin. However, to save time and trouble going forward, set your screen lock to swipe, then enter twrp to make your backups. When done, go back to the OS, setup screen lock pin, or whatever you use, then when you go back to twrp and enter your screen lock password, twrp should decrypt just fine :good:
Click to expand...
Click to collapse
[BAs simple as great.
Problem solved, I can access all the options except that, since the data is encrypted when I try to make a full backup when I get to DATA, the copy is broken and I can only remove it if I unmark the copy of DATA
Thank you very much for your time and attention.:bueno:

Trying to flash files in TWRP and can't make sense of what I'm seeing

Sorry if this sounds dumb but I've been out of the modding game for a long time and I barely knew what I was doing when I started. I've had 2 other devices since I last rooted so something's aren't adding up.
When I view my files in TWRP they seem almost encrypted, mainly the sdcard. If I wanted to install an image or zip file in the past I would find them on the sdcard and flash away. I attached a video to show in detail what I am seeing. Sorry for the poor quality. EDIT: sorry, after uploading my gif I see it only made it a thumbnail. I'll work on a correct version.
Thank you in advance.
They are encrypted. I see you are using BluSpark's TWRP, what OS / Version are you running? Does BluSpark work with the May security patch? Previous versions of TWRP had problems with the latest security patch and could not decrypt it.
Boot 3.3.1-6 from here then see if your files are still encrypted.
OhioYJ said:
They are encrypted. I see you are using BluSpark's TWRP, what OS / Version are you running? Does BluSpark work with the May security patch? Previous versions of TWRP had problems with the latest security patch and could not decrypt it.
Boot 3.3.1-6 from here then see if your files are still encrypted.
Click to expand...
Click to collapse
I'm running 9.0.11
I'll try that version you linked. Thanks. I assume I have to install using adb sor USB OTG since my internal file system is encrypted, right?
tjlmbklr said:
I'm running 9.0.11
I'll try that version you linked. Thanks. I assume I have to install using adb sor USB OTG since my internal file system is encrypted, right?
Click to expand...
Click to collapse
Yeah, either use a USB drive through OTG or copy it to internal (when in OOS) and use fastboot to boot the newer TWRP. You should be able to install from internal storage after that.
Disable fingerprint, smartlock , face recognizing etc.
It's security related.
Reboot
Then the folders show normal
tjlmbklr said:
I'm running 9.0.11
I'll try that version you linked. Thanks. I assume I have to install using adb sor USB OTG since my internal file system is encrypted, right?
Click to expand...
Click to collapse
9.0.14 has the May security patch and the new encryption, which will be an issue. I'm not sure why you are seeing that with 9.0.11, but definitely try the other version I linked to, I know it is up to date. Worst case, as mentioned, if you temporarily remove your password / pin code / pattern everything will just work. However then you will have to redo this, along with all your finger prints. Not that it's a big deal. Just get the right TWRP, and you won't have to do that.
OhioYJ said:
They are encrypted. I see you are using BluSpark's TWRP, what OS / Version are you running? Does BluSpark work with the May security patch? Previous versions of TWRP had problems with the latest security patch and could not decrypt it.
Boot 3.3.1-6 from here then see if your files are still encrypted.
Click to expand...
Click to collapse
Duvel999 said:
Disable fingerprint, smartlock , face recognizing etc.
It's security related.
Reboot
Then the folders show normal
Click to expand...
Click to collapse
OhioYJ said:
9.0.14 has the May security patch and the new encryption, which will be an issue. I'm not sure why you are seeing that with 9.0.11, but definitely try the other version I linked to, I know it is up to date. Worst case, as mentioned, if you temporarily remove your password / pin code / pattern everything will just work. However then you will have to redo this, along with all your finger prints. Not that it's a big deal. Just get the right TWRP, and you won't have to do that.
Click to expand...
Click to collapse
Temporarily disabled? I'm not sure how to disable other than delete the fingerprints all together. Will I need to do this every time I need.to boot into recovery?
tjlmbklr said:
Temporarily disabled? I'm not sure how to disable other than delete the fingerprints all together. Will I need to do this every time I need.to boot into recovery?
Click to expand...
Click to collapse
If you just delete your password / pin / etc, it will automatically delete all your finger prints and your TWRP problem will go away. No you should NOT need to do this. This is only because you don't have an up to date, or the wrong version of TWRP installed. I never remove my password and go into TWRP all the time. It's not an issue.
tjlmbklr said:
Sorry if this sounds dumb but I've been out of the modding game for a long time and I barely knew what I was doing when I started. I've had 2 other devices since I last rooted so something's aren't adding up.
When I view my files in TWRP they seem almost encrypted, mainly the sdcard. If I wanted to install an image or zip file in the past I would find them on the sdcard and flash away. I attached a video to show in detail what I am seeing. Sorry for the poor quality. EDIT: sorry, after uploading my gif I see it only made it a thumbnail. I'll work on a correct version.
Thank you in advance.
Click to expand...
Click to collapse
I think all you need to do here is turn off your screen lock by setting it to "None."
When you reboot to TWRP, you should see the files now unencrypted.
TWRP had the potential to allow you to input a "Pattern" screen lock, but I can't guarantee it will work under all circumstances, nor do I know what it does with fingerprint scans, etc.

Categories

Resources