yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] michelD:
I cannot decrypt partition B

Dear Mauronofrio,

First of all, thank you very much for your fantastic work.

I have a very strange issue: after upgrading OOS to 10.3.5, I can decrypt only partition A: when I boot on partition B, TWRP (v3.4.0-1) is just asking if I want read-only, but never ask me for the password and then obviously no decryption, while when I boot on version A, everything is normal: it decrypt correctly after introducing my password.

Any suggestion to solve this issue?

Fortunately, my phone is 100% operational after booting normally on partition A.

Thank you
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Rootbox_Fan:
Check official here:

https://dl.twrp.me/enchilada/

Newest one is 3.4.0-3.

Seems like [MENTION=4712355]mauronofrio[/MENTION] releases only there now...

So flash this and check again. Good luck :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] michelD:
Thank you, I just tried v3.4.0-3, but unfortunately it doesn't solve my issue: partition B is still crypted, and TWRP doesn't even ask me for the password ?!?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
Factory reset + Format data and start from scratch, the sooner you start the sooner you're done because once you can't decrypt which can happen as you can see searching google for the problem, happens on pixels and many other devices rarely but happens, you are in for going from scratch.

Factory reset should decrypt but only for most, not for all devices, while formatting data certainly does.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
Just wondering: why would you want to boot to the other partition? You may have good reasons I don't know, and me asking this doesn't solve your 'problem'. But the a/b system is meant to simplify system updates, not to switch between installations.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
Each time you flash an update you will change the slot from A to B and vice versa.

Also leaving a phone in a incorrect setup and condition is by now means a solution and why someone wants or has to do something is never ever of anyone elses business.

If the man asks for help to get his phone back to a correctly working state, asking why he wants that is inappropriate, kind of attitude and certainly not helpful at all.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
You're right but before the system switches it has flashed an update to the before inactive slot, leaving the previously active slot in its previous state (e.g. with its original encryption).

Maybe yes, maybe no. Reason I was asking is that I myself have tried twice to switch partitions in the past, and failed.

And: sometimes it helps a lot to know the reason why someone wants to perform a certain action because then you can help think of an alternative way. In fact, part of my job in "real live" is giving 3rd level support (not android), and it's proven extremely helpful to learn as much as possible about the circumstances when being in a debugging situation.

Don't really see what's so inappropriate about this but if you think so... (and please: no reason to discuss this any further)

Best regards
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Jagadish-ravi:
can any one help me,

im not able to decrypt my op6 on 10.3.5 (Any version now)

was using decrypted 10.3.4 smoothly, previously dirty flashed from 10.3.3 successfully

but dirty flashing 10.3.5 over 10.3.5 caused boot loop, (magisk module issue) so tried clean flash

initially format data, later flashed entire rom with fastboot

but no matter which version im flashing, its giving me storage mont issue after decrypting using this method

https://xdaforums.com/oneplus-6/how-to/tutorial-decrypt-flash-rom-pie-oreo-roms-t3838643

it gives me 0mb internal storage or permission denied error in file manager, but can access internal storage via TWRP.

Tried different twrp by Mauronofrio and bluspark but results are same

method i followed

-clean flash 10.3.3 via fastboot (also flashed msm tool flashed 10.3.5)

-boot twrp using all in one tool - flash twrp-3.3.1-18/ 3.4.0-1 / 3.4.0-3 (suggested 3.3.1-11 gives error flashing 10.3.5 rom)

-reboot recovery - flash 10.3.5(any version)+TWRP - format data - reboot recovery

-install magisk (tried both 19.4 & 20.4) then flashed no-verity-mod.

-please help.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] spartan121:
I am getting this issue after installing any rom....so after installing rom and setting it up wipe only the internal storage option in twrp.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Shyciii:
Which is newer? Mauronofrio 3.4.0-1 or official 3.4.0-3?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] dom_mnml:
:confused: which is more: ONE or THREE??

To get sure check the releasedate
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sschacko:
both or check black twrp 3.4.0 by acuicultor
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] CYB3R0ID694:
can anyone tell me how to decrypt data?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] RMarques:
Excuse my ignorance but what's the difference between

3.4.0-1 Q unofficial and 3.4.0-1 installer unofficial?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] dwardo:
Q is an img that you boot to using fastboot

Installer is a zip file to install twrp from twrp
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] GR4V17Y:
Does this rom come with gapps or i need to flash them manually?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Pseudonym:
This is not a rom
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Djaentz:
Hello everyone,

did anybody try to flash the latest full Rom with this version of recovery? :)

Regards

Edit: worked
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] GR4V17Y:
Oops. I mixed up threads
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] audiovicious:
Did you use 3.4.0.1 or 3.4.0.3? I am about to flash to the newest OOS and have been successfully using 3.3.1-18 for all previous flashes. Seeing that there were issues decrypting, I want to make sure I use the correct version.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Djaentz:
I used 3.4.0.1.

No issues so far. No clean flash, just flashed the full Rom.

To be honest: I didn't find the 3.4.0.4 version of the mauronofrio TWRP. It's not in the first post?!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] racerx002:
I don't think he posts here anymore. He is the maintainer for the official TWRP now. Latest version of official is on the TWRP website.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Cygnust:
Same here ..

And when booting using fastboot boot twrp.img data is decrypted ..

Anyone knows why it happens ?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] audiovicious:
I flashed 10.3.6 using TWRP 3.3.1-18 with no issues. I installed 3.4.0.1 afterwards. No issues decrypting or flashing.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] dwardo:
I'm encrypted (or rather the Mrs is as its her phone)

1. Updated twrp to official 3.4.0-3 from magisk

2. Rebooted to twrp

3. Installed OOS 10.3.6 & twrp 3.4.0-3

4. Rebooted to txrp

5. Installed fake india remover and magisk

6. Rebooted

All went very smoothly as always...
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] pjotrski1000:
updated twrp from mauronofrio to official. Files now encrypted booting to slot B

I hope someone can help me out here, looks like I messed up my recovery:

I just updated TWRP from twrp-3.3.1-16-enchilada-installer-mauronofrio to the latest official TWRP 3.4.0-3.

I was on official OxygenOS 10.3.6 , it was rooted with magisk 20.4

After updating TWRP, all my files are encrypted and the system only boots into recovery.

I hope someone can help me out with some advice. Thanks.

EDIT: after switching the active slot in twrp and rebooting I'm back into my phone.

But the question remains: how can I fix the other slot??

EDIT2: I tried installing various version of TWRP now from the slot that is working and then trying to switch to the other slot. But even with my original 3.3.1-16 i can now only encrypt slot A. So that is not the way to restore the phone to a normal state again

Any option to restore both slots without a full factory reset?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] pjotrski1000:
Thanks for your posts. It let me find the other slot still boots.

I have the same issue as both of you as described above.

Has anyone made any progress?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Cygnust:
[MENTION=4712355]mauronofrio[/MENTION] , Hi guys.

I made a few manipulations to try to install lineageos 18.0 (described here) and now I'm stuck with a twrp which asks for a password but can't decrypt.

Is there any way to have even a temporary access to my sdcard so I can backup it before wiping everything (again)

After a few issues, it seems like twrp and most recoveries really have issues with encryption, I'll stay away from it at the moment.

Here's a complete summary :

Hi guys, I have a pretty serious problem with encryption

I'd like by all ways to avoid formatting my sdcard

long story short, I have a OnePlus 6, tried to flash LineageOS 18.0, it worked.

Then tried to flash magisk using the boot.img patched method then my phone launched LineageOS and phone was stuck on phone is starting.

I found out that my data was not decrypted, no matter what.

Tried to go back to OOS 10.3.6, but it doesn't boot, it's endlessly on the boot logo.

When I go to TWRP (official 3-4.0.3):

- when booted directly from the phone, twrp doesn't asks for a pin and gives me the data encrypted (seems like acting like OOS or LineageOS)

- when booted from fastboot twrp asks for a pin but my usual pin doesn't work.

I'm pretty screwed by now and can't boot my phone.

I'd like to avoid formatting my sdcard because my latests online backup are old

Many thanks for your help
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Yogesh Chouhan:
TWRP
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] semdoc:
First of all... You must disable every password/ pattern protection before starting to flash ...
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mauronofrio:
TWRP 3.4.0-11 for OnePlus 6 (enchilada) by mauronofrio:

Fixed Android 11 Decryption;

Updated to latest official changes

TWRP 3.4.0-11 Q Unofficial by mauronofrio

TWRP 3.4.0-11 Installer Unofficial by mauronofrio
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] spartan121:
Thanks a lot dev....Is this version also compatible with latest magisk 21?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] giorgosspam:
I have trouble restoring full backups made with official TWRP 3.4.0-3. The phone has never been updated or flashed with an Android 10 rom (neither custom nor stock OOS), had the last HavocOS 2.9 build (Android 9) on both slots (no gapps or the like) and was rooted using Magisk (only for the purpose of rooting it, nothing else). Prior to making the backup I had removed all locking security (password and fingerprints). There was a secondary user set up on the phone.

It seems, the restored /data partition causes the phone to boot into recovery instead of system (almost immediately, there is no screen logo of the rom). If /data is wiped after the restore process, the phone boots fine (albeit without any user isntalled apps and settings, of course).

The phone booted fine prior to this (first ever) attempt to restore a backup, so I don't think that /data was corrupt prior to making the backups. I suspect that either the backup or the restore process with TWRP was erroneous.

I also tried the latest 3.5.0-9 official release to restore either of the backups but the result is always the same (bootloop into recovery with restored /data, regular boot into /system with /data wiped after the restore).

I would appreciate it if anyone has any tips on how to get /data from one of the backups to work. All saved files are still on the phone (and like the backup files also on a computer), but I would rather not have to set up everything from scratch.

Many thanks in advance!

PS.:

And a side note to everyone taking backups: make sure the restore process works prior to getting into a situations where you depend on restoring them to work!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] ed57:
Hi giorgosspam,

I'm also interested in this topic as I plan to try another custom rom soon.

Did you try to restore only /data after you wiped the data? (once you boot the rom up and do the setup)

Please confirm if it works or not. Thanks
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] giorgosspam:
I did try to restore /data only. It didn't make a difference, with either of the three backups. At some point (I think after I wiped /vendor and /system and then made a full restore) the phone didn't even get to boot into recovery or fastboot (crashdump). The MSM Download Tool restored it to factory condition and now I'm setting the phone up from scratch.

I have two further remarks (or rather questions) which may be relevant:

1. At the very first attempt of restoring /data I noticed that the progress percentage went beyond 100%. Does anyone know if this implies that the backup was written beyond the bounds of the phone's /data partition?

2. After restoring it with the MSM Download tool, I upgraded the phone to the last Android 9 OxygenOS version (telling the OOS updater to use the previously downloaded, full OOS zip file copied into the phones storage. After rebooting, I repeated the process so that both slots are on the 9.0.9 OOS firmware. I then proceeded to unlock the bootloader and tried fastbooting into official twrp 3.5.xx (only "boot", no "flash"). The phone responded by switching to the "fastbooting" screen but never entered twrp. This was repeatedly the case and the same with official twrp 3.4.xx. I then tried with bluspark twrp version 101 and it booted immediately into twrp. Installing (flashing) officail twrp 3.5.xx from within bluspark twrp worked fine then, as did the subsequent installation of the custom rom (an Android 9 rom, of course).

Could it be, that twrp 3.5.xx and 3.4.xx are not (fully) compatible with the Android 9 partition structure?

PS.: If anyone has clues or tips on how to successfully use the existing backups, I'd still be very thankful to hear them!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Baron1971:
Will there be Builds 3.5.0_10 and 3.5.0_11 come?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] MatteCarra:
@mauronofrio

Thanks for your TWRP.

I initially had problems with Android 11 decryption("Failed to decrypt for user 0").

If anyone has the same problem, I would advise to press Cancel > Format > Delete Data.

This will delete your whole internal storage.

The dev told me that the cause was the migration from OOS to AOSP.

TWRP is now running great, even with encryption enabled.

Thanks!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Dagobert:
what are the differences between 9/10/11? i have 3.5.0-9 but my os is 11.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] clearchris:
Same issue here, but it sounds a bit different too. TWRP errors on the first file it hits from the secondary user. I tried to remove the secondary user files from the nandroid backup files with generic linux tar. Then TWRP will extract the entire nandroid backup then, but the backup won't boot.

I may try to dig into the twrptar program and see if there's a way to either skip the files it can't decrypt or zero fill them or something. Doesn't seem like a really hard problem, I don't mind if the guest user doesn't get restored.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kouzelnik3:
I don't fully understand what's better in this twrp in comparison with official twrp. What it brings? :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] NLhardcore:
https://eu.dl.twrp.me/enchilada/twrp-installer-3.5.2_9-0-enchilada.zip.html
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] NLhardcore:
Recente twrp
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] clearchris:
Has anyone attempted a backup and restore on android 11? Anyone know the current status?

I'm running ArrowOS 11, it's unfortunately encrypted by default.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kouzelnik3:
I hope in twrp 3.5.2 update or something similar from mauronofrio soon. :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Chuck012:
On twrp.me for OnePlus 6, it shows to temporarily boot into fastboot boot twrp-3.2.1-0-enchilada.img.

Does the zip I download have to be

14.5M	2018-07-02 13:24:19 EDT
twrp-installer-enchilada-3.2.1-0.zip

or can it be another zip ? Is there a suggested zip to use ?

I will be using lineage os 18.1 .

Thank you.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] diemadedrei:
Look into the first post on this thread for current downloads. The most current one worked for me on Los 18.1
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sn0n:
I see the _9 in the file name and wonder if this is the version I can use with android 10?

I'm currently stock OnePlus 6, build # ONEPLUS A6003_22_210511
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] NLhardcore:
Yes you can
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] daxiaamu:
And how about OOS 11 beta？
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] NLhardcore:
I think that works 2 butt not 100% sure because I am currently using [RECOVERY][DUALBOOT][MAGISK][V6] TWRP/OrangeFox for the OnePlus 6/6t
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] daxiaamu:
thanks a lot bro
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] pgr197901:
tested but it's not working on OS11 beta , waiting if there will be a recovery that will work
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Pundy:
Yes. Just wait for new TWRP 😀
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] BenoMosko:
Hi,

I'm on Stable OOS 11 with 6T

Which version of TWRP should I try and install?

thanks.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] TekHck:
Its not working on OOS 11 ☹
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Kurty00:
From what I could gather, OnePlus hasn't released the Kernel of OOS 11 for enchilada/fajita, yet. Which is why the TWRP could not be patched to work with OOS 11 so far.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] TekHck:
yes that is the actual case
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mrjuniork:
I have been using the official "twrp_3.5.2_9-0-enchilada_installer" for several A11 custom ROM's (A10 firmware) and also for all the A11 OB's (up to OB3).

I'm aware that many had issues with it and ended up with soft brick or crashdump mode, but I never faced any of those issues.

just to put it out there.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] TekHck:
omg ! guys follow This Thread

I am on oos 11 ob3 and finally twrp is working
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] dewa5227:
no need to promote your own post, and installing twrp on OB wasn't really that much hassle. as you can simply use FKM for an easier method (if you already achieve root).
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Linux4life2211:
Near the top it says "Android 11 Decryption" does that mean on oos 11 stable I can will finally be able to decrypt in twrp. If not is there a twrp zip that will? thanks
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Beta-boom:
I don't think so... I understand that it refers to custom ROMs based on Android R, not to OOS 11 (because it includes firmware and vendor updates).
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] TekHck:
I posted this to help people, not to promote.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] ShankyJain:
HI What is FKM and where do I find the method. Can you provide the link please.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Beta-boom:
As of my research, FKM stands for Franco Kernel Manager, which, as its name suggests, it is the manager app for the Franco Kernel. I found an article in 6T forums by @shahfaishal explaining how to install TWRP through this method.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] EngineManShawn:
will this work on stable unlocked 6t? this is imposible...
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Smakodak:
I updated one OP6 from 10.3.12 to 11.1.1.1 using twrp-3.3.1-18-enchilada-mauronofrio. The phone was using "Pattern" as screen lock. After updating I was able to enter twrp-3.3.1-18 and decrypt.

After that I updated another OP6 that was using "pin" as screen lock. After upgrading it went into a boot loop.

I had backups, so I formatted system and data and tried a clean flash. It booted. But I couldn't decrypt in twrp-3.3.1-18. So I tried booting twrp-3.4.0-11-enchilada-Q-mauronofrio, but got "crash_dump".

So I booted back into OS11 and changed from "Pin" to "Pattern". After that I was able to decrypt in twrp-3.3.1-18.

I then flashed twrp-3.4.0-11 and was able to decrypt with that as well. I then flashed Magisk23 and it works.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] linzoid:
So, just to be absolutely clear, as at 10 October, we can't install twrp via the usual method in A11.1.1.1 stable - correct?

We wait for a new version of twrp?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Drakinite:
I believe so. When I attempt to boot twrp-3.4.0-11-enchilada-Q-mauronofrio.img (as of now most recent), I get a Qualcomm crashdump screen:

QUALCOMM CrashDump Mode
Attempted to kill init! exitcode=0x0000000b
complete_and_exit

HOWEVER:

If you're just looking to root your device in the meantime, before a working version of TWRP is released, there's another way I discovered today.

Follow the instructions in this comment: https://xdaforums.com/t/guide-how-to-root-oneplus-nord.4139411/page-11#post-84858219

but instead of using a Nord build, use the appropriate OxygenOS build that you currently have installed. (At the time of writing, the most recent version released to OP6 is 11.1.1, which you can find here: https://www.xda-developers.com/oneplus-6-6t-oxygenos-11-1-1-1/

If you don't have Magisk installed, you can get it here: https://github.com/topjohnwu/Magisk/releases
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marlontravagli:
After update to 3.4.0-11, pin works on TWRP? I changed pattern to pin, but got error to decrypt with 3.3.1-18, so I changed again to pattern.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] linzoid:
Yes, thanks to Geenyous1 on another thread, I used a patched boot.img to root my OP6 without TWRP.

https://xdaforums.com/t/rom-stock-f...s-for-oneplus-6.3796665/page-63#post-85763297

However, I dislike A11 so much I might go back to 10.3.12. Can't uninstall Google apk's from system /product using Root Explorer anymore, and that's the main reason for me rooting.

Thanks for your response.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] stokstaartje420:
Any updates on this? Is there already a way to flash a TWRP version on OP6- OyxgenOS 11.1.1.1? or do we still wait? Thanks in advance =).
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] dobi3:
Use this version

https://xdaforums.com/t/recovery-11-unofficial-teamwin-recovery-project.4306803/

Working fine 👍 👍
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Laurens54321:
Im getting stuck on twrp logo with latest img on A 11.1.2.2
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] computersalat:
I am still on 10.3.12 and will not update to 11.1.2.2

I won't be able to install own scripts and binaries like bash, ssh and rsync. Without those binaries I am not able to backup my phone.

Android 11 comes a 'super' that includes the /system, /persist and other partions that are NOT read/write mountable. This is a no-go for me.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] stokstaartje420:
Same. Any updates on how to flash TWRP now? Is there an unofficial version available?