Flashed OxygenOS back and having some PIN issues - OnePlus 6 Questions & Answers

Well since I flashed the Unofficial version of LineageOS 15.1 earlier and then decided to flash back to OxygenOS, everything seems to be all good, except when I boot into the OS. I get prompted to enter my PIN and when I enter the RIGHT pin, it says it's incorrect. But I enter the same PIN to decrypt my data in TWRP. I factory reset the phone, still no luck. I'll try to find more ways to get back in but for now i'd take any help I could get.

DaNamesFrank said:
Well since I flashed the Unofficial version of LineageOS 15.1 earlier and then decided to flash back to OxygenOS, everything seems to be all good, except when I boot into the OS. I get prompted to enter my PIN and when I enter the RIGHT pin, it says it's incorrect. But I enter the same PIN to decrypt my data in TWRP. I factory reset the phone, still no luck. I'll try to find more ways to get back in but for now i'd take any help I could get.
Click to expand...
Click to collapse
You'll probably need to wipe everything to disable incorrect pin, including internal storage. If you flashed OOS without deleting lock screen, it makes the OS "forget" the correct pin.

mikex8593 said:
You'll probably need to wipe everything to disable incorrect pin, including internal storage. If you flashed OOS without deleting lock screen, it makes the OS "forget" the correct pin.
Click to expand...
Click to collapse
Actually I wiped the ART/ Dalvik Cache, System, and Data and it didn't work. So what I didn't realize what I did wrong was keep the PIN over on Lineage so I flashed back to it, disabled the PIN, reflashed OxygenOS, and now it's PIN-free. But thank you for the help, it's really appreciated.

DaNamesFrank said:
Actually I wiped the ART/ Dalvik Cache, System, and Data and it didn't work. So what I didn't realize what I did wrong was keep the PIN over on Lineage so I flashed back to it, disabled the PIN, reflashed OxygenOS, and now it's PIN-free. But thank you for the help, it's really appreciated.
Click to expand...
Click to collapse
That would've been your avenue, had you not had a backup to restore to. Always remember to delete your lock screen before changing system to avoid the issue. Glad it's fixed.

Related

Pressed factory reset by accident

Now it's my turn. Pressed factory reset by accident in boot loader. Can get to TWRP but it says E: Unable to mount storage
e:Unable to mount /sdcard/TWRP/twps. when trying to read settings file. etc...
Advanced File manager in TWRP shows /sdcard/TWRP
Any ideas???? If I try to mount data in TWRP my Mac wants to initialize.
Thanks
TWRP shows internal storage 0 mb
I flashed the stock recovery, then ran it and somehow it booted right into CM11. Everything was lost, but it's working again.
Factory reset wipe everything! Including SD card.
null0seven said:
Factory reset wipe everything! Including SD card.
Click to expand...
Click to collapse
Possibly, but how come CM11 was still on there? I think that the Boot Loader in Moonshine's factory reset is not compatible with CM11. Luckily the stock recovery fixed things for me.
808phone said:
Possibly, but how come CM11 was still on there? I think that the Boot Loader in Moonshine's factory reset is not compatible with CM11. Luckily the stock recovery fixed things for me.
Click to expand...
Click to collapse
I had the same issue, pressed by mistake factory reset in bootloader some time ago. I was pressing vol down to reach recovery, there was a slight lag and I pressed it a second time the immediately I've pressed power...so cursor has jumped 2 rows then executed. I've solved it only by flashing stock recovery and resetting to factory settings again, then flashed TWRP.
Now why you still had CM11...well not 100% sure but in TWRP when you wipe to factory the system partition is not formatted. I've paid attention once to the messages during a wipe and it was formatting data, cache, dalvik and android secure but not system. A reason can be that while flashing any ROM, the install script formats system at the beginning so theres no need to do that with factory reset.
Now I can only think that the factory reset from bootloader does the same and system is not wiped. Theoretically it is correct...system is read only especially on a stock non rooted device and resetting it to factory practically means that any trace of personal settings/aps and so on should be erased. And those are not stored on the system partition. There is also no hidden place on the phone where a recovery image of the original android OS is kept so this is not like on the laptops where you reset to factory and Windows is reinstalled from the recovery partition. My guess is that the factory reset just wipes all partitions that contain personal data and settings and leave system intact. So after a wipe and reboot is like you first start it.
You still had CM11 cause the wipe didn't format system...If anyone has a better explanation I would be glad to hear it. So From my point of view nothing went wrong and has nothing to do with the Maximus recovery or it's compatibility with CM11. It would have happen the same if you have used any other stock recovery
Factory reset, resets youre phone to original settings.
Anyway, its good that the phone works.
null0seven said:
Factory reset, resets youre phone to original settings.
Anyway, its good that the phone works.
Click to expand...
Click to collapse
Yes. And it is not formatting system when doing this. So any os is installed will be kept
Sent from nowhere over the air...
Rapier said:
Yes. And it is not formatting system when doing this. So any os is installed will be kept
Sent from nowhere over the air...
Click to expand...
Click to collapse
I don't want to try it again but I wonder if moonshine's factory reset is incompatible with cm11?
Dont understand what do you mean by "incompatible". The factory reset from bootloader is not the same thing as the one from a custom recovery. You shouldn't do a factory reset from bootloader regardless of the ROM you're using
Moonshine is an S-Off method, I didn't used it myself so I don't know what factory reset option is in there
Sent from nowhere over the air...
I never said anything about the custom recovery. If you should never use it, why is it there and why does it make the SD card not available?
Wow, HTC says you can use it here:
http://www.htc.com/us/support/htc-one-x-att/howto/313779.html
I'm sure you know something others like me don't, but I when I mean "incompatible" I mean that I don't believe that it should make the sdcard unavailable and make the phone think it has zero MB. I think what you might have missed is that I used factory reset from the custom boot loader from moonshine. I was wondering if that factory reset was compatible - that's all.
Again, it was a mistake - it's not like I chose it on purpose. Thank you for the help.
808phone said:
I never said anything about the custom recovery. If you should never use it, why is it there and why does it make the SD card not available?
Wow, HTC says you can use it here:
http://www.htc.com/us/support/htc-one-x-att/howto/313779.html
I'm sure you know something others like me don't, but I when I mean "incompatible" I mean that I don't believe that it should make the sdcard unavailable and make the phone think it has zero MB. I think what you might have missed is that I used factory reset from the custom boot loader from moonshine. I was wondering if that factory reset was compatible - that's all.
Again, it was a mistake - it's not like I chose it on purpose. Thank you for the help.
Click to expand...
Click to collapse
The reset to factory from bootloader exists because on stock ROM there's no custom recovery that has that option....so it's in bootloader. For it to work properly though, you must have the stock recovery also. If you have a custom recovery like twrp/cwm and use the wipe from bootloader it'll mess your sd cause phone is not able to perform the wipe properly with that custom recovery. That's why, in order to get back to normal you should flash back stock recovery and perform the wipe from bootloader again.
Sent from nowhere over the air...
Thank you for the clarification. It makes sense. Too bad that reset is so close to the recovery command. It's pretty weird that I didn't have to run the wipe from the stock boot loader again. It ran and rebooted the phone into CM11. Anyway, I am glad I am back to running. Thanks.

Unsuccessful decryption

Okay, I'm not sure if this entirely the right place. Have updated to Viper 2.1.0. Rebooted my phone, as I do each morning. It came up with needing to to enter a decryption key, ie; my password. Did said & it failed saying that data is corrupt. TWRP can no longer read the data portion either. Therefore can't wipe it in TWRP.
Is there a way to format or wipe the data partition through either fastboot or adb?
Factory reset but your data will be gone.
Random Pinenut Joy said:
Okay, I'm not sure if this entirely the right place. Have updated to Viper 2.1.0. Rebooted my phone, as I do each morning. It came up with needing to to enter a decryption key, ie; my password. Did said & it failed saying that data is corrupt. TWRP can no longer read the data portion either. Therefore can't wipe it in TWRP.
Is there a way to format or wipe the data partition through either fastboot or adb?
Click to expand...
Click to collapse
Try this, Venom helped with it a while ago and it worked, you will just have to re activate smart lock in google setting.
TWRP-Advanced-File Browser.
Navigate to /data/system and delete the locksettings.db.
I got my phone back from HTC after repair my phone screen and they wiped my custom rom and recovery but still have unlocked bootloader and restore oreo 8.0.
I managed to re-install twrp and tried to install a customed rom and experienced the same "decryption unsuccessful". But there is no lockingsettiings.db in the folder.
I will later try this method and report.... been a frustrating day....
=https://forum.xda-developers.com/showpost.php?p=59685278&postcount=3

TWRP Restore Data and/or System = Bootloop

Something happened to my phone and I succeeded to flash it all new with Android 9.0 which I was on.
But when I try restore twrp backup (data and/or System) I always end up with bootloop.
Tried to reflash Magisk too but doesn't help.
Bootloops right back to TWRP after 2 minutes.
Anyone have any ideas on how I can get my data back from the twrp backup?
Tried to official twrp and bmu_sparks.
Thanks.
timebandi said:
Something happened to my phone and I succeeded to flash it all new with Android 9.0 which I was on.
But when I try restore twrp backup (data and/or System) I always end up with bootloop.
Tried to reflash Magisk too but doesn't help.
Bootloops right back to TWRP after 2 minutes.
Anyone have any ideas on how I can get my data back from the twrp backup?
Tried to official twrp and bmu_sparks.
Thanks.
Click to expand...
Click to collapse
Same thing happened to me yesterday. If you still have access to TWRP, enter it and wipe everything and install newest oxygen pie zip. TWRP is broken for our devie and backups cannot be trusted I'm afraid. Wish I knew this before.
timebandi said:
Something happened to my phone and I succeeded to flash it all new with Android 9.0 which I was on.
But when I try restore twrp backup (data and/or System) I always end up with bootloop.
Tried to reflash Magisk too but doesn't help.
Bootloops right back to TWRP after 2 minutes.
Anyone have any ideas on how I can get my data back from the twrp backup?
Tried to official twrp and bmu_sparks.
Thanks.
Click to expand...
Click to collapse
After restore is complete do not reboot, try the following, it might work,
1-Do not do any wipe,
2-Flash exactly the same ROM which is backed up,
3-Flash twrp,
4-Reboot twrp.
5-Flash Magisk,
8-Reboot system,
In case you are trying to go back from pie to oreo you have to flash roll back rom.
All the best, hope this helps., cheers.
Have tried all that with no luck. But if I do a Factory reset any time after the data restore the phone works but then I dont have any data
This sucks big time.
Have installed all from scratch. Luckly fastboot was working all the time
Some data I could restore with Titanium Backup but not so much I needed/wanted.
Too bad we cant rely on TWRP and its backup/restore feature.
timebandi said:
Have tried all that with no luck. But if I do a Factory reset any time after the data restore the phone works but then I dont have any data
This sucks big time.
Have installed all from scratch. Luckly fastboot was working all the time
Some data I could restore with Titanium Backup but not so much I needed/wanted.
Too bad we cant rely on TWRP and its backup/restore feature.
Click to expand...
Click to collapse
Its good only in the case if you are decrypted, since the time I'm decrypted no such problems, if you want you can try it,
https://forum.xda-developers.com/oneplus-6/how-to/tutorial-decrypt-flash-rom-pie-oreo-roms-t3838643
timebandi said:
Something happened to my phone and I succeeded to flash it all new with Android 9.0 which I was on.
But when I try restore twrp backup (data and/or System) I always end up with bootloop.
Tried to reflash Magisk too but doesn't help.
Bootloops right back to TWRP after 2 minutes.
Anyone have any ideas on how I can get my data back from the twrp backup?
Tried to official twrp and bmu_sparks.
Thanks.
Click to expand...
Click to collapse
Using TWRP backups on this phone is fun but not impossible. This process works for me.
1. Store backups on something other than the phone (I use an OTG card reader and 128 GB SD card)
2. Use a Fastboot Rom of THE EXACT SAME ROM as the backup and let it do it's thing flashing the phone (it will also wipe the phone in the process, which is why you need to store the backup elsewhere)
3. Boot up the phone and go through the whole process of setting it up. Don't worry about installing all your apps.
4. Install TWRP and Magisk if you used it on the backup.
5. Now restore your TWRP backups - just restore system, data, and boot.
I have done this at least 100 times and it has always worked.
I presume the fastboot rom is not only gonna wipe the internal drive but will also lock the bootloader, thats a lot of hassle to do every time you want to restore, but thanks for your suggestions, cheers.
vtec303 said:
I presume the fastboot rom is not only gonna wipe the internal drive but will also lock the bootloader, thats a lot of hassle to do every time you want to restore, but thanks for your suggestions, cheers.
Click to expand...
Click to collapse
The fastboot rom wipes the internal drive but DOES NOT lock the bootloader. Besides, I haven't seen or heard of another way to use TWRP backups without decrypting the phone, and I have security concerns with decrypting the phone.
tabletalker7 said:
The fastboot rom wipes the internal drive but DOES NOT lock the bootloader. Besides, I haven't seen or heard of another way to use TWRP backups without decrypting the phone, and I have security concerns with decrypting the phone.
Click to expand...
Click to collapse
ohh ok, I thought it locks it but thanks for the info, yes thats why I decrypted my device, lets hope in this thread we could find a easy way out to restore sucessfully while encrypted, have you tried just backing up boot, system and data and than restoring it ? cheers
vtec303 said:
ohh ok, I thought it locks it but thanks for the info, yes thats why I decrypted my device, lets hope in this thread we could find a easy way out to restore sucessfully while encrypted, have you tried just backing up boot, system and data and than restoring it ? cheers
Click to expand...
Click to collapse
Yes I tried. Without the fastboot rom to reset everything that stupid encryption bites you in the butt.
Yep. I just restored an entire nandbackup, and now my phone boots to a quailcomm dump screen only, can't fastboot into recovery or anything. Guess my new plans tonight involve fixing this thing.
I also got a bootloop after restoring 8.1 android with twrp 3.3.1 by nemo nemo on my leagoo xrover.
factory reset and wiping everything exept microsd card didnt help...
thanks for some help
vtec303 said:
After restore is complete do not reboot, try the following, it might work,
1-Do not do any wipe,
2-Flash exactly the same ROM which is backed up,
3-Flash twrp,
4-Reboot twrp.
5-Flash Magisk,
8-Reboot system,
In case you are trying to go back from pie to oreo you have to flash roll back rom.
All the best, hope this helps., cheers.
Click to expand...
Click to collapse
Thanks a lot, man. it worked for me

Factory Reset Broken with Root?

So I've been having weird battery and stability issues ever since I rooted my phone and I'm chalking it up to maybe just a bad run. So planning on factory resetting it and hoping it solves the issue. Problem is, every time I go into the phone's settings and choose the full reset, it just reboots into TWRP. Rebooting back to system and I see nothing's been deleted. I've also tried doing a factory reset in TWRP as well, but that then lands me in this weird spot where it boots to some kind of default lock screen and asks for my password. If I give it my old password, it just goes straight to a home screen and completely skips setup (looks like some sort of preset placeholder desktop that you usually see when first installing a custom rom).
I'm currently on OOS 10.01. Any idea on how I can get a full factory reset without having to reflash the entire OS?
Flash the stock boot image. Then reroot after the reset.
tech_head said:
Flash the stock boot image. Then reroot after the reset.
Click to expand...
Click to collapse
Thanks, that did the trick! No idea what happened to my boot.img that could have caused it, but the reset seems to have solved all the stability issues as well.
This is why before I do anything, I grab the stock boot image.
magisk and TWRP only modify the boot image. As long as you have the sock image, there is no need to panic or do a full wipe to recover.
when you do a factory reset it deletes info from data partition which has some files for magisk, if you just open magisk it will ask you to install some files and reboot and you should have root back.

Can't decrypt DATA after flashing lineage..?! HELP

Hi there, so i just made a backup of RealmeUI, wiped cache/data/system & flashed Lineage 16. Not only it didn't want to boot system after reboot but now when i get into TWRP, i'm not prompted for my pattern, i land directly on main page and data is all encrypted : Not sure what went wrong here..!! Need to get how to get around this, help me please thanks :good:
seems like \data has to be encrypted if you use a pattern/pin etc. annoying
GoJo ^^ said:
Hi there, so i just made a backup of RealmeUI, wiped cache/data/system & flashed Lineage 16. Not only it didn't want to boot system after reboot but now when i get into TWRP, i'm not prompted for my pattern, i land directly on main page and data is all encrypted : Not sure what went wrong here..!! Need to get how to get around this, help me please thanks :good:
Click to expand...
Click to collapse
Same problem after flash PE, and got softbrick. My solution was format data and reinstall rom...

Categories

Resources