First time set-up, A/B paritions and Encrypted storage problems. - OnePlus 6 Questions & Answers

Hi all,
I had everything unlocked and running fine, TWRP was working and I was running 9.0 (OTA 25), and when booting to TWRP it would prompt me for my password and booting to either A or B I was able to see the contents of my Internal Storage from TWRP. I updated via TWRP to the 9.0.1 OTA 26 (Full, flashable zip). The update completed and booted fine. Fastbooted to TWRP, flashed blu_spark.
Now when I boot into the TWRP I flashed, it no longer asks for an encryption key. The A partition can see the SDCard without problems, but booting to the B slot sees gibberish. A slot boots fine, B slot is obviously dead.
What did I mess up here? Should I just be doing the incrementals? Guides seem to indicate I should do a full flash (not a Fastboot flash however). My XDA searching is not finding anything, but I may be looking for the wrong thing.

electroblood said:
Hi all,
I had everything unlocked and running fine...
Click to expand...
Click to collapse
I think I found it. Should have taken the lockscreen password off first before updating right? I have seen other people mention that.
That would seems strange to me since it doesnt 'decrypt' storage when you do that does it?

electroblood said:
I think I found it. Should have taken the lockscreen password off first before updating right? I have seen other people mention that.
That would seems strange to me since it doesnt 'decrypt' storage when you do that does it?
Click to expand...
Click to collapse
Yes this is what I do now every time (except when I forget). It's a known bug in TWRP afaik.

the black twrp should be able to decrypt from the fastboot img now, it might save you a format!
Changelog:
Fix boot.img not being able to decrypt
Click to expand...
Click to collapse

Related

Lost root and TWRP recovery doesn't recognize my encryption PIN

While attempting to flash the latest unofficial MIUI build yesterday, I got stuck at the animation logo, so I gave up. Instead, I flashed the Android L developer build, which did boot up completely for me. However, when I attempted to boot back into recovery, I got prompted to enter my encryption passcode, which I did. However, TWRP keeps telling me that decryption failed and to try again. The issue isn't an incorrect passcode, so I'm at a loss to try to figure out what's going on. Also, because TWRP won't decrypt my storage, I can't flash anything (despite the fact that I'm able to access SD card files from a file manager app when the phone is on). Any way I can get TWRP to decrypt my storage without having to wipe everything completely? Has anyone else experienced this?
tattedupboy said:
While attempting to flash the latest unofficial MIUI build yesterday, I got stuck at the animation logo, so I gave up. Instead, I flashed the Android L developer build, which did boot up completely for me. However, when I attempted to boot back into recovery, I got prompted to enter my encryption passcode, which I did. However, TWRP keeps telling me that decryption failed and to try again. The issue isn't an incorrect passcode, so I'm at a loss to try to figure out what's going on. Also, because TWRP won't decrypt my storage, I can't flash anything (despite the fact that I'm able to access SD card files from a file manager app when the phone is on). Any way I can get TWRP to decrypt my storage without having to wipe everything completely? Has anyone else experienced this?
Click to expand...
Click to collapse
Reflash recovery
Lethargy said:
Reflash recovery
Click to expand...
Click to collapse
I can't without root access.
tattedupboy said:
I can't without root access.
Click to expand...
Click to collapse
Recovery is flashed in fastboot/bootloader...
Unless you used Towelroot, then you'll have to unlock the bootloader, which will wipe.
Really what I need is to figure out why TWRP isn't recognizing my encryption PIN. My storage is encrypted, but whenever I input my encryption PIN, I get an error message. How do I get it TWROP to recognize my encryption PIN?
Doesn't flashing L mess with your sdcard anyway?
Sent from my Nexus 5 using Tapatalk
tattedupboy said:
Really what I need is to figure out why TWRP isn't recognizing my encryption PIN. My storage is encrypted, but whenever I input my encryption PIN, I get an error message. How do I get it TWROP to recognize my encryption PIN?
Click to expand...
Click to collapse
Encryption always causes issues. I suggested to reflash TWRP with fastboot to rule out TWRP itself being the issue.
This is why I never encrypt. I just don't trust it.
Sent from my Nexus 5 using Tapatalk
rootSU said:
This is why I never encrypt. I just don't trust it.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
slightly running off topic but .. i have the same issues ... so i pushed twrp 2711 via adb .. now I did a factory reset .. still the request for the encryption password, and i cant seem to get rid of it.
Really frustrating, to the point where i want to smash my phone on the wall.
How can i get rid of it? im just confused,
Onecton said:
slightly running off topic but .. i have the same issues ... so i pushed twrp 2711 via adb .. now I did a factory reset .. still the request for the encryption password, and i cant seem to get rid of it.
Really frustrating, to the point where i want to smash my phone on the wall.
How can i get rid of it? im just confused,
Click to expand...
Click to collapse
Flash factory images lol
Lethargy said:
Flash factory images lol
Click to expand...
Click to collapse
hahaha, i nearly went ballistic on that thing yesterday ... i have no idea how i managed to get rid of it .. first i updated to 2.7.1.1. Twrp... Then i reflashed the Rom ...
Then i did a factory reset .. then i whiped data .. and reflashed rom .. anyways encryption is gone .. but i cant copy stuff from my pc to the handset well ... not that i care .. but kind of inconvenient
Was this resolved?
I am facing the same issue with the AOSP builds of L. I wanted to take new Nandroid backups and realized that TWRP cannot decrypt the partition.
tattedupboy said:
While attempting to flash the latest unofficial MIUI build yesterday, I got stuck at the animation logo, so I gave up. Instead, I flashed the Android L developer build, which did boot up completely for me. However, when I attempted to boot back into recovery, I got prompted to enter my encryption passcode, which I did. However, TWRP keeps telling me that decryption failed and to try again. The issue isn't an incorrect passcode, so I'm at a loss to try to figure out what's going on. Also, because TWRP won't decrypt my storage, I can't flash anything (despite the fact that I'm able to access SD card files from a file manager app when the phone is on). Any way I can get TWRP to decrypt my storage without having to wipe everything completely? Has anyone else experienced this?
Click to expand...
Click to collapse
nirudha said:
I am facing the same issue with the AOSP builds of L. I wanted to take new Nandroid backups and realized that TWRP cannot decrypt the partition.
Click to expand...
Click to collapse
No it cannot.

In need of help! TWRP!

first some back story:
it's been a long time since i did a lot of rooting so i lost a lot of knowledge.
I got the phone close to release in the EU.
There was only BETA stage twrp at the time.
So i flashed this unstable twrp and rooted with magisk.
And i run stock Oxy Rom.
But the main problem is, whenever i boot into recovery, twrp ask me for a password. (i have none) so i press continue.
And it then ask for unmodified system partition. (not sure what to select here)
But when i swipe to allow modification, i can't find the root of the phone? i cannot find the download folder where i flash updates or other modified apk's.
It's all just numbers and random letter. i have no idea on how to proceed or how to update twrp safely without falling into boot loop and other problems.
Some help would be appriciated. Thank you.
saitek1911 said:
first some back story:
it's been a long time since i did a lot of rooting so i lost a lot of knowledge.
I got the phone close to release in the EU.
There was only BETA stage twrp at the time.
So i flashed this unstable twrp and rooted with magisk.
And i run stock Oxy Rom.
But the main problem is, whenever i boot into recovery, twrp ask me for a password. (i have none) so i press continue.
And it then ask for unmodified system partition. (not sure what to select here)
But when i swipe to allow modification, i can't find the root of the phone? i cannot find the download folder where i flash updates or other modified apk's.
It's all just numbers and random letter. i have no idea on how to proceed or how to update twrp safely without falling into boot loop and other problems.
Some help would be appriciated. Thank you.
Click to expand...
Click to collapse
Boot to bootloader, flash original boot img than follow the guide to flash original twrp
Hitman478™ said:
Boot to bootloader, flash original boot img than follow the guide to flash original twrp
Click to expand...
Click to collapse
and which of my problems does this solve?
First of all flash official TWRP now. Makes no sense to use the unofficial version because its not stable.
Enter PW -> decrypt data for TWRP
No PW -> hieroglyphs
I successfully used official twrp, version 3.2.2 and then did a "format data" and then used fastboot again to install the full rom.
Kollachi said:
First of all flash official TWRP now. Makes no sense to use the unofficial version because its not stable.
Enter PW -> decrypt data for TWRP
No PW -> hieroglyphs
Click to expand...
Click to collapse
ok i figured it out, added a password. and now it shows correct folder names etc. thanks.
saitek1911 said:
first some back story:
it's been a long time since i did a lot of rooting so i lost a lot of knowledge.
I got the phone close to release in the EU.
There was only BETA stage twrp at the time.
So i flashed this unstable twrp and rooted with magisk.
And i run stock Oxy Rom.
But the main problem is, whenever i boot into recovery, twrp ask me for a password. (i have none) so i press continue.
And it then ask for unmodified system partition. (not sure what to select here)
But when i swipe to allow modification, i can't find the root of the phone? i cannot find the download folder where i flash updates or other modified apk's.
It's all just numbers and random letter. i have no idea on how to proceed or how to update twrp safely without falling into boot loop and other problems.
Some help would be appriciated. Thank you.
Click to expand...
Click to collapse
U have corrupted u r data partation u have to factory reset along with wiping internal storage and then transfer u r rom File through MTP in sd card of phone and then flash rom.
Or u can flash fastboot flashable rom via fastboot mode.
Then install your official twrp via fastboot mide after installing rom.
Now twrp will detect all data from sd card
pankspoo said:
U have corrupted u r data partation u have to factory reset along with wiping internal storage and then transfer u r rom File through MTP in sd card of phone and then flash rom.
Click to expand...
Click to collapse
Thank you, all i did was add a four digit code when twrp asked me for a password. now the folders are showing up correctly. not just random numbers and letters.
still need to update twrp safely. can i flash a new twrp within twrp or do i need to update via computer?
saitek1911 said:
Thank you, all i did was add a four digit code when twrp asked me for a password. now the folders are showing up correctly. not just random numbers and letters.
still need to update twrp safely. can i flash a new twrp within twrp or do i need to update via computer?
Click to expand...
Click to collapse
U can directly flash new twrp installer in current recovery no problem
saitek1911 said:
and which of my problems does this solve?
Click to expand...
Click to collapse
All of your problems i presume
Can Anyone help me, please? I have somehow the same problem. The phone literally itself without doing anything started doing a download(odin) mode loop. So I deleted data, dalvik, cache, system partitions without internal storage since it has very very important files for me and a lot of projects for the university!!! and before and after the folders in internal storage in twrp shows as random numbers and letters. I don't know why since when the phone was working normally I was protecting it by fingerprint and a password. And when I installed a stock ROM after it without wiping the internal storage. The storage is showing in negative. If anyone can help me this would be super appreciated and helpful. Thank you!
Hitman478™ said:
Boot to bootloader, flash original boot img than follow the guide to flash original twrp
Click to expand...
Click to collapse
Can you help please?
Madara818181 said:
Can Anyone help me, please? I have somehow the same problem. The phone literally itself without doing anything started doing a download(odin) mode loop. So I deleted data, dalvik, cache, system partitions without internal storage since it has very very important files for me and a lot of projects for the university!!! and before and after the folders in internal storage in twrp shows as random numbers and letters. I don't know why since when the phone was working normally I was protecting it by fingerprint and a password. And when I installed a stock ROM after it without wiping the internal storage. The storage is showing in negative. If anyone can help me this would be super appreciated and helpful. Thank you!
Click to expand...
Click to collapse
If it is already showing folders with random file names in the internal storage it means it needs to format data (to remove file encryption) which deletes all files in the internal storage.
Don't wipe system because it removes your OS.
Always secure backup before messing your device.
Hitman478™ said:
Boot to bootloader, flash original boot img than follow the guide to flash original twrp
Click to expand...
Click to collapse
You may try this boot.img just rename to boot.img only.
Credits to RR10 TG channel by Enzo #CatGang.
tiga016 said:
If it is already showing folders with random file names in the internal storage it means it needs to format data (to remove file encryption) which deletes all files in the internal storage.
Don't wipe system because it removes your OS.
Always secure backup before messing your device.
You may try this boot.img just rename to boot.img only.
Credits to RR10 TG channel by Enzo #CatGang.
Click to expand...
Click to collapse
Thanks Man. All my university stuff is in the phone's internal storage so wiping it is no no for me and I need the files today!!! I flashed the boot.img file you attached using TWRP but now the phone is in a boot loop and it did not solve anything!!! Sorry for this but what the f**k should I do man. All my important files are on the phone!!!
Madara818181 said:
Thanks Man. All my university stuff is in the phone's internal storage so wiping it is no no for me and I need the files today!!! I flashed the boot.img file you attached using TWRP but now the phone is in a boot loop and it did not solve anything!!! Sorry for this but what the f**k should I do man. All my important files are on the phone!!!
Click to expand...
Click to collapse
Sorry I thought you are also literally same issues with OP but then it's not. Are you able to reboot to twrp? And what is the whole story of you device? I mean if you are rooted, what ROM you came from and all that you did before the issues occur. And did you tried to switch slot? Since you wiped everything with system included then you have no OS installed. Did you tried to flash OS via OTG? Or flash via fastboot.
I flashed another os without deleting the internal storage but the storage is now showing in negative values. Story is The phone literally itself without doing anything started doing a download(odin) mode loop. So I deleted data, dalvik, cache, system partitions without internal storage since it has very very important files for me and a lot of projects for the university!!! and before and after the folders in internal storage in twrp shows as random numbers and letters. I don't know why since when the phone was working normally I was protecting it by fingerprint and a password. And when I installed a stock ROM after it without wiping the internal storage. The storage is showing in negative and yes I can still boot into twrp
tiga016 said:
Sorry I thought you are also literally same issues with OP but then it's not. Are you able to reboot to twrp? And what is the whole story of you device? I mean if you are rooted, what ROM you came from and all that you did before the issues occur. And did you tried to switch slot? Since you wiped everything with system included then you have no OS installed. Did you tried to flash OS via OTG? Or flash via fastboot.
Click to expand...
Click to collapse
This is the story
Madara818181 said:
This is the story
Click to expand...
Click to collapse
I know that but it seems incomplete. It did not mention what I ask recently. It is always a need for detailed story.

OP6 got stuck with corrupted internal storage

Hello, i'm a bit in trouble with my internal storage.
Yesterday i wanted to update to newest havoc os so i prepared as usual and wiped system and data under advanced wipe in TWRP ( twrp-3.2.3-0-enchilada(mtp) from joemossjr ).
Then things went strange... op6 reboots itself and since there was no system installed got stuck. i rebooted to TWRP and it started like first time install.
I wanted to do the TWRP Setup but TWRP freezes everytime and after some seconds the device reboots.
I tried different TWRP (joemossjr, eng.stck), tried flashing manually with fastboot flash boot_a twrp.img fastboot flash boot_b twrp.img and even with Tool All In One from mauronofrio
but only recovery that doesn't freeze is newest official TWRP 3.2.3.0.
But now i can't get access to my internal storage. The TWRP filemanager and adb shell are showing weird folders ( see attached jpg ).
It seems something is corrupted... i also tried to flash stock op6 rom in fastboot "OnePlus6Oxygen_22_OTA_015_all_1808102118_770880-FASTBOOT" with flash-all-partitions-fastboot.bat.
Seems to work but got stuck at bootanimation...
flashed back official TWRP and i think i have to install magisk now but don't know how to do because i have no access to my internal storage.
at this point i wish they would have included a sdcard slot
suggestion anyone?
It's not corrupted, but it's encrypted, when you flashed the havoc rom you kinda ****ed up with the encryption method so now you got files that are encrypted and that you can't decryp, so your solution is to format your internal storage, sorry for you, and if anyone have another solution i would take it
do an adb sideload for magisk zip , that should help
adb sideload sadly doesn't work, just "Starting ADB Sideload feature" ...
and on cmd when i try to adb sideload i got an "error: closed"
can't figure out why the files should be encrypted... makes no sense to me
now i flashed flash-system-boot-vendor.bat
phone boots till startup wizard and then after few seconds freeze and reboot
gdre said:
now i flashed flash-system-boot-vendor.bat
phone boots till startup wizard and then after few seconds freeze and reboot
Click to expand...
Click to collapse
Format data. Problem fixed. This is the ONLY SOLUTION that will work.
Yup, you need to format the data and start all clean and i hope you did a full twrp backup
yes i do always make a backup before flashing something... my problem is i don't have access to files on internal storage.
Data partition is not my problem because all my apps are stored with titanium backup but in the freaking internal memory.
i wiped data partition but it doesnt help... now i have all folders like after complete reset. but i dont know how to get access to my old files in /sdcard folder.
i think of deleting internal storage also and start from scratch and try some data recovery tools... maybe i have some luck.
use Tool all in one
gdre said:
yes i do always make a backup before flashing something... my problem is i don't have access to files on internal storage.
Data partition is not my problem because all my apps are stored with titanium backup but in the freaking internal memory.
i wiped data partition but it doesnt help... now i have all folders like after complete reset. but i dont know how to get access to my old files in /sdcard folder.
i think of deleting internal storage also and start from scratch and try some data recovery tools... maybe i have some luck.
Click to expand...
Click to collapse
Did you ever actually try to flash the Havoc update? What's going on is that you flashed a rom on the August security patch and OOS is still on July. You can't roll back to an earlier patch. Only a rom on the current patch will work.
If it doesn't work, as several have said, you have to format data, not just wipe. That will unfortunately, erase everything on your phone, but there's no other way to go back to OOS.
ok iElvis... things start getting interesting
hmm i want to try that but how should i be able to do that...
how does it work flashing the havoc with all in one tool or could it be done in fastboot mode per cmd?
the phone came with oos 5.1.5 and used that a while then with xXx NoLimits 2.4 over it for a few weeks.
after that havoc os from 6.8.18 for a month or so and i want that as daily driver.
then yesterday updated with fresh install to version from 28.8.18 and setup everything then after reboot wifi was complete dead and SIM also.
flashed newest smurf kernel over and all worked again till next reboot.
i decided to install again from scratch and thats the point where things getting weird...
gdre said:
ok iElvis... things start getting interesting
hmm i want to try that but how should i be able to do that...
how does it work flashing the havoc with all in one tool or could it be done in fastboot mode per cmd?
the phone came with oos 5.1.5 and used that a while then with xXx NoLimits 2.4 over it for a few weeks.
after that havoc os from 6.8.18 for a month or so and i want that as daily driver.
then yesterday updated with fresh install to version from 28.8.18 and setup everything then after reboot wifi was complete dead and SIM also.
flashed newest smurf kernel over and all worked again till next reboot.
i decided to install again from scratch and thats the point where things getting weird...
Click to expand...
Click to collapse
Yep, that's the security patch issue. Once you're on a patch, going back to an earlier one will break encryption. I don't believe there's any other option beyond formatting data.
iElvis said:
Yep, that's the security patch issue. Once you're on a patch, going back to an earlier one will break encryption. I don't believe there's any other option beyond formatting data.
Click to expand...
Click to collapse
ok... formated whole storage and installed OnePlus6Oxygen_22_OTA_012_all_1806140300_e4bacf-FASTBOOT_5.1.8.
but while first setup stll freeze and reboot. also wiped again with stock recovery with no change.
bootloader is unlocked... should i now flash patched boot image with magisk for 5.1.8?
https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
Using this will save you time before you **** something up
gdre said:
Hello, i'm a bit in trouble with my internal storage.
Yesterday i wanted to update to newest havoc os so i prepared as usual and wiped system and data under advanced wipe in TWRP ( twrp-3.2.3-0-enchilada(mtp) from joemossjr ).
Then things went strange... op6 reboots itself and since there was no system installed got stuck. i rebooted to TWRP and it started like first time install.
I wanted to do the TWRP Setup but TWRP freezes everytime and after some seconds the device reboots.
I tried different TWRP (joemossjr, eng.stck), tried flashing manually with fastboot flash boot_a twrp.img fastboot flash boot_b twrp.img and even with Tool All In One from mauronofrio
but only recovery that doesn't freeze is newest official TWRP 3.2.3.0.
But now i can't get access to my internal storage. The TWRP filemanager and adb shell are showing weird folders ( see attached jpg ).
It seems something is corrupted... i also tried to flash stock op6 rom in fastboot "OnePlus6Oxygen_22_OTA_015_all_1808102118_770880-FASTBOOT" with flash-all-partitions-fastboot.bat.
Seems to work but got stuck at bootanimation...
flashed back official TWRP and i think i have to install magisk now but don't know how to do because i have no access to my internal storage.
at this point i wish they would have included a sdcard slot
suggestion anyone?
Click to expand...
Click to collapse
This was happens every day after when i try to mod my device.
When i see weired Folder. I boot to fastboot then flash fastboot twrp. Img.(this will shows all folders with normal names)
Then flash liquid remix rom(its my saviour)
Then flash twrp.Installer.
Then reboot to Recovery and restore my liquid rom backup and boom its boot to everything normal.
Here i want to say that keep one liquidremix rom in otg pendrive.
After fastboot twrp command when u gets working twrp.
Install that rom via otg, and flash twrp installer and then reboot back to twrp and then clean flash rom u want it will work without doing formatting or fastboot flashing stock rom which erase everything everytime
@ whizeguy... did that as mentioned before and gave me the freeze after first time reboot
@ pankspoo... ok i cant understand what is causing this issue but if you say that did the trick for you than i will buy me a otg adapter and check that out.
silly that i already deleted everything and sadly with no affort...
but i dont understand why im not able to boot anymore even after deleting everything
gdre said:
@ whizeguy... did that as mentioned before and gave me the freeze after first time reboot
@ pankspoo... ok i cant understand what is causing this issue but if you say that did the trick for you than i will buy me a otg adapter and check that out.
silly that i already deleted everything and sadly with no affort...
but i dont understand why im not able to boot anymore even after deleting everything
Click to expand...
Click to collapse
Fastboot method of installing rom will work 100%, have u used flash all. Bat (just unzip ur downloaded fastboot rom, connect phone to comp in fastboot mode and click on flash all bat file) command while installation.
Use that command because u have soft bricked u r device.
That installation will boot to normal oos rom.
I think u r doing something wrong.
Hmm thats exactly what i did.
In cmd there are some errors like sparse blabla but finally it completes but with freeze and reboots during startup assistent.
I bought an otg adapter today. Flashed liquid remix and that worked! All seems fine no freezes and reboots but wifi and signal still broken...
Very confusing
gdre said:
Hmm thats exactly what i did.
In cmd there are some errors like sparse blabla but finally it completes but with freeze and reboots during startup assistent.
I bought an otg adapter today. Flashed liquid remix and that worked! All seems fine no freezes and reboots but wifi and signal still broken...
Very confusing
Click to expand...
Click to collapse
U have u r efs backup? If have then restore it via twrp.
That will give u ur signal and wifi
That is what im thinking of...in fastboot there are no infos at bootloader and baseband Version. unfortunately my efs Backup is gone since internal storage messed up.
If i could recover some data that could help but 2 tools i tried yet didnt work.
Tomorrow ill try making raw dump and see If this would help.. still looking for the best guide or method

Help, I can flash and boot LineageOS but not OxygenOS

Hi, as the title explains I can flash and boot into lineage os but when I try to flash a stock OxygenOS signed flashable zip from this thread (https://forum.xda-developers.com/oneplus-6/how-to/oneplus-6-mirrors-official-oxygen-os-t3792244)
and when I boot to system, the screen doesn't show a boot logo, it just goes black for a few seconds before rebooting back to twrp (also if it helps, when it goes to twrp all the files are gibberish, I have to shut off the phone and boot into it from fastboot or I can't see any files).
This all started because I misunderstood the instructions and tried to flash an ota package which then broke the system, it's working now but I'd much rather use OOS as Lineage is missing a lot of the features I'm used to on Oxygen.
I've also tried the "flash-all-partitins-fastboot" from https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665 but unfortunately that gave the same issue, it just went back to recovery and wouldn't load OOS.
If anyone has any ideas on how to get back to oxygen that'd be super helpful! I'm considering using the MSM tool but I'd rather not have to start from scratch and lose all my files.
I'm just guessing, but there might be something wrong with your TWRP, did you try re-flashing it?
mati11233 said:
I'm just guessing, but there might be something wrong with your TWRP, did you try re-flashing it?
Click to expand...
Click to collapse
I should've clarified in the post, I mean all the files are gibberish (as in not decrypted I think?) but when I
Code:
fastboot boot twrp.img
it works fine and I can see all the files.
I've probably tried flashing it 4 times through twrp but every time it just does the same thing, boot to system just shows a black screen for a few seconds then reboots to twrp.
I'd love to use blu_spark like everyone recommends but I can't find the blu_spark recovery for the op6, only their kernel.
The reason why it's gibberish is because your device is encrypted and you need to input the password in the twrp to be able to access it. Seems the twrp doesn't detect the encryption correctly so there might be something wrong with it.
Here is the bluespark twrp https://github.com/engstk/android_device_oneplus_enchilada/releases
mati11233 said:
The reason why it's gibberish is because your device is encrypted and you need to input the password in the twrp to be able to access it. Seems the twrp doesn't detect the encryption correctly so there might be something wrong with it.
Here is the bluespark twrp https://github.com/engstk/android_device_oneplus_enchilada/releases
Click to expand...
Click to collapse
I just tried with blu_spark and the same thing happens but I realised something else, twrp only doesn't work on slot A.
If I see that it didn't decrypt the files, I can set B to active, reboot to recovery, and it works perfectly.
I noticed after one of the failed boots it switched the active slot to B even though I had set it to A before flashing. So every time it doesn't show the logo or anything, it sets the active slot from A to B and reboots to recovery.
Also I just looked and from the Backup page, it shows 2.7 GB for system on slot A and 1.7GB on slot B so I'm going to try wiping both and reflashing the flashable signed zip on each then twrp.
UPDATE: Just did that and the twrp installer was giving an error saying unsupported android version so I looked and system is only 4MB after flashing that package (OnePlus6Oxgygen_22_OTA_034_all_...zip), I'm trying an older one (...OTA_026...zip) to see if that actually works.
So I tried with the older one and lineage and they both still left the system partition at 4MB and the blu_spark twrp installer isn't detecting an android version. The system image partition is at 2.6GB if that means anything.
Oh wait more update, I'm dumb and shut off the phone while taking the case off (got stuck and it was pushing the power button) and even though the twrp installer couldn't detect anything and twrp said No OS installed when trying to boot to system, lineage just started up, no problem. I am very confused I miss when there was one system partition.
How are you flashing the OS?
mati11233 said:
How are you flashing the OS?
Click to expand...
Click to collapse
I'm using twrp, blu_spark and normal, and both have the same result. They can flash lineage and it runs fine, but oxygen refuses to boot and just switches the active slot and goes to recovery instead.
I also tried the fastboot rom flashing thing from the thread I linked to in the OP and it's the same thing, just goes back to recovery and wont boot.
P.S. I'm currently copying over /sdcard to an external drive and if I can't figure out how to fix this by the time that's done, I'll just use MsmDownloadTool and start over.
And you are wiping each time before flashing it, right? If it is the case then the download tool is probably the easiest way to go about it, rather than spending days troubleshooting it.
mati11233 said:
And you are wiping each time before flashing it, right? If it is the case then the download tool is probably the easiest way to go about it, rather than spending days troubleshooting it.
Click to expand...
Click to collapse
I've tried it with and without wiping and it always seems to do the same thing either way, works with LOS not with OOS. Thanks for the help! but yeah I think I'm just going to end up using the download tool once everything's over.

Boot to twrp gives me encrypted files

Hi guys,
I have a pretty weird problem.
I was running LineageOS 17.1, tried to go on 18.
Don't know what I screwed up but when I try to reboot to recovery as I do usually to flash, twrp boots but acts as if my files were encrypted.
I took care to remove pin lock before upgrade.
Weird thing is that when I boot twrp from fastboot, I can see my files.
My twrp is latest official 3.4.0-3
My system now can't boot (I think that it sees the data as encrypted also)
Would anyone know what's happening here ?
Try your lockscreen password.
outlawmodzz said:
Try your lockscreen password.
Click to expand...
Click to collapse
I'm not asked for a password, and I removed lockscreen before upgrade
Just bite the bullet and full wipe back to stock and try again.
outlawmodzz said:
Just bite the bullet and full wipe back to stock and try again.
Click to expand...
Click to collapse
That's what I made but I would have liked to know why so I can avoid it happening again
It happens sometimes could be anything.
was your device encrypted or decrypted before?
Cygnust said:
Hi guys,
I have a pretty weird problem.
I was running LineageOS 17.1, tried to go on 18.
Don't know what I screwed up but when I try to reboot to recovery as I do usually to flash, twrp boots but acts as if my files were encrypted.
I took care to remove pin lock before upgrade.
Weird thing is that when I boot twrp from fastboot, I can see my files.
My twrp is latest official 3.4.0-3
My system now can't boot (I think that it sees the data as encrypted also)
Would anyone know what's happening here ?
Click to expand...
Click to collapse
Have you solved it?
If you switch over to the other slot in twrp, is it different? My files appear encrypted on slot b (no password asked like with you) on slot a twrp asks for a password and all is fine and I can boot into my phone normally
pjotrski1000 said:
Have you solved it?
If you switch over to the other slot in twrp, is it different? My files appear encrypted on slot b (no password asked like with you) on slot a twrp asks for a password and all is fine and I can boot into my phone normally
Click to expand...
Click to collapse
No, I made a full reset with msm..
Cygnust said:
No, I made a full reset with msm..
Click to expand...
Click to collapse
Ok, thanks.
My slot B got messed up yesterday going from twrp-mauronofrio to the latest official twrp. Luckily slot A still readable, but not sure how to go forward

Categories

Resources