yashsingh1/xdaforums huggingface dataset:
[OnePlus 9 Pro] Samuel Holland:
I'm gonna try and send a log soon as I can, if possible to get it. I've been working twelves and haven't had much time. If anyone still wants to install TWRP on latest 8.8 update, you can refresh sizes and then it let me install, although wouldn't decrypt or see storage with or without lockscreen. For me adb at first didn't seem to work, but I adb sideload, and then when exiting adb sideload, adb was working. Hopefully I can get a log that maybe can help if Dev hasn't already received one. Thx

adb pull /tmp/recovery.log

adb logcat > logcat.txt
[OnePlus 9 Pro] oulouloul:
Those having problems with password,

Its asking for the encryption password. The default password is "default_password" (without the quotes) try that.

If it doesnt work, BEAWERE ALL YOU DATA WILL BE GONE. try format sd, format data (where you have to write YES) , format cache. This will delete encryption.

Last option and permanently solve: you should go back to previous version of rom. I guess its 11.2.7.7 - go back to stock oneplus recovery - update rom to latest version - flash twrp again.

regards
[OnePlus 9 Pro] iTryH:
I came from MSM of a previous version, updated through OTA to the current rom version. Installed twrp like normal but that nor data formatting will work it seems, currently, that is. It just gets locked back up again.
[OnePlus 9 Pro] aNGERY:
You can't flash twrp with 8.8
[OnePlus 9 Pro] oulouloul:
you can use fastboot commands

like

Code:

fastboot format userdata

Code:

fastboot format cache

Code:

fastboot reboot
[OnePlus 9 Pro] aNGERY:
What if I don't want to format?
[OnePlus 9 Pro] Samuel Holland:
Hi, it allowed me to flash after hitting "refresh sizes" even though it's not able to see storage; but just thought I'd mention in case anyone wanted to test, etc.
[OnePlus 9 Pro] aNGERY:
Does it wipe the storage?
[OnePlus 9 Pro] Samuel Holland:
Just installing it from booted TWRP after refreshing sizes won't wipe. I was looking on the telegram group and someone was mentioning possibly rebooting recovery once your in recovery and then it asking for pass but I wasn't sure if they were referring to the seven pro or our device. Might be worth having a look on Devs telegram. Good luck.
[OnePlus 9 Pro] SupposedlySam:
Good job!!! Is there any way this can become official (just curious)?
[OnePlus 9 Pro] neobuddy89:
@Nebrassy JFYI - the issue has started with July security update on both OOS and AOSP/LOS. Perhaps, some update in framework / interface.
[OnePlus 9 Pro] Nebrassy:
does it also fail to decrypt on aosp roms?
[OnePlus 9 Pro] mannizyx:
Is there an update coming addressing this issue? still wasn't able to make twrp work on 11.2.8.8, even after refreshing sizes, changing slots etc. i'm not able to install twrp like normal with working decryption

or is there a foolproof way for making it work on 11.2.8.8?

on 11.2.7.7 it's working flawlessly with magisk, omega kernel and viper4android installed, thanks for your great work!!
[OnePlus 9 Pro] neobuddy89:
-- delete --
[OnePlus 9 Pro] neobuddy89:
Yes
[OnePlus 9 Pro] xontax:
You will be just fine by loading into fastboot boot twrp.img and launching adb sideload under advanced features. Then apply the omega kernel for example.
[OnePlus 9 Pro] russel5:
@Nebrassy thanks for sources. One question. I'm successfully compiling twrp with android 11 sources, but when I'm try to boot into recovery the phone is freezing on twrp logo. Do i miss something, do i need to add something or patching?

Because I'm can't compiling twrp on android 11 sources and twrp v10.

Help please, thanks
[OnePlus 9 Pro] Nebrassy:
check logcat and recovery.log
[OnePlus 9 Pro] rejectedjs:
So, since I'm unrooted on 11.2.8.8, is there no way for me to gain root / other mods because twrp can't decrypt data on this version?
[OnePlus 9 Pro] djsubterrain:
Yes, read elsewhere in the forum, i.e. :

https://xdaforums.com/t/how-to-extr...ot-image-and-apply-root-to-the-phone.4263811/
[OnePlus 9 Pro] jimbo77:
You can still root with Magisk, just push through adb the magisk apk to /tmp and then flash from twrp
[OnePlus 9 Pro] russel5:
Thanks, im fixed issue. Now it works. In minimal twrp manifest qcom-caf folder was missing.
[OnePlus 9 Pro] rejectedjs:
That's exciting because I used root to hide my status bar and avoid burn-in. Can I do the same thing to flash a custom kernel again?
[OnePlus 9 Pro] jimbo77:
Yes or flash the Kernel from ExKernel Manager or Franco Kernel Manager once rooted.
[OnePlus 9 Pro] Nebrassy:
new build is up

fixed decryption on newer roms

further fixes for flashing

data can be formatted directly after flashing a rom

added an option to auto flash TWRP after flashing a rom

fixed the problem where you needed to refresh sizes before being able to flash TWRP
[OnePlus 9 Pro] xontax:
you are a god, thank you it works
[OnePlus 9 Pro] dkcats3:
Just tested it and it seems to be working well! Would it be possible to get the CPU temp at the top left working properly? It reads 0 but i'd like to be able to keep an eye on it so I know when to unplug my phone if it's getting too warm during a backup/flash/etc
[OnePlus 9 Pro] Copyninjaa211:
Can now twrp able to read usb storage?? Please tell
[OnePlus 9 Pro] jimbo77:
No
[OnePlus 9 Pro] mgear356:
Thanks all working well on 8.8 build.

Just wondering does this twrp flashes well with carbon or lineage os?
[OnePlus 9 Pro] pyanyj_kuznechik:
Thanks ))
[OnePlus 9 Pro] RazOne:
So, now we can flash lineageos via twrp ? And if we want to go back to oos can we flash oos thorough twrp too?
[OnePlus 9 Pro] osm0sis:
Should work, yes.
[OnePlus 9 Pro] RazOne:
Great news. Thank you !
[OnePlus 9 Pro] Hot-Proton:
Backup also work with oos and can back to the Backup too?
[OnePlus 9 Pro] Rmaier14:
thanks for your great work @Nebrassy, with the command fastboot boot *.img my password is recognised correctly, in the menu extended "flash current TWRP" also works, only the status bar cannot be operated.
[OnePlus 9 Pro] Hot-Proton:
USB OTG not work. How flash a new rom whene usb otg not work. i will not flash over a pc every time. After i have install twrp, kernel and magisk my phone only boot in recovery now :-(.
[OnePlus 9 Pro] Mar-cel:
Here is a installer zip I made for magisk

Edit: zip removed.
[OnePlus 9 Pro] pyanyj_kuznechik:
That is, someone has the latest version on 2.8.8 decrypts the storage? Because I have no changes.
[OnePlus 9 Pro] Dn_nS:
Installed both the "regular" way and via this magisk module, have to unbrick my phone for the 2nd time now :(
[OnePlus 9 Pro] Mar-cel:
What? Why? after flashing in magisk reboot in twrp and install current recovery image. Reboot to recovery again after that you can install magisk again

the zip works for me, but I will remove it
[OnePlus 9 Pro] Dn_nS:
No idea really, I thought I did something wrong the first time, but now I just flashed the magisk module (no errors whatsover) and for some reason, there wasn't an OS to boot to anymore.

How do you flash it normally?
[OnePlus 9 Pro] Mar-cel:
1. flash the zip in magsik

2. Reboot to twrp and flash current twrp image

3. Reboot recovery and flash magisk

you do not have to unbrick if twrp fails to boot or decrypt... just flash magisk_patched boot image to both slots and reboot

nothing will be wiped
[OnePlus 9 Pro] Dn_nS:
No idea what I did different, but just got everything working...

Genuinely no idea what caused both times to fail, but I think it's safe to say that your module is working just fine.

Sorry for the inconvenience!
[OnePlus 9 Pro] jkt97401:
Does the backup/restore function work correctly yet?? When this thread first started I tried a backup and restore and was forced to MSM back to stock. Curious if anyone has had good luck with it these days not that it's been out for a bit!

Thanks all :)
[OnePlus 9 Pro] roko1501:
Hi .

I tried this TWRP but the touch screen doesn't respond. The model is LE2123.

Thanks.
[OnePlus 9 Pro] roko1501:
sorry.

It solved.

Thanks.
[OnePlus 9 Pro] josc002:
With all this new A/B partition hassle, I understand that the recovery partition is no more.

Instead the recovery function in embedded in the boot image. That's why you no longer can flash TWRP directly from fastboot. You have to first boot from the recovery image via "fastboot boot twrp.img". Then from the booted TWRP , install TWRP which modifies the boot image to include the TWRP recovery function. I see from other threads that this "install TWRP" from TWRP modifies the boot image on both boot_a and boot_b partitions. Some versions of TWRP modifies only one boot image.

Does this version of TWRP modify both boot partitions ?
[OnePlus 9 Pro] Dn_nS:
It modifies both boot partitions 👍🏻
[OnePlus 9 Pro] foamerman:
Hey Guys got a question. In the Installation number 4 it says if you were using magisk, reflash it now. My question is I've already installed magisk.apk. Does magisk need to be flash in twrp now?
[OnePlus 9 Pro] vipinpvarghese:
With the latest version of TWRP, can I do a full back up of latest OOS and try custom ROMs. And if I need to return to OOS, can I just restore using TWRP?
[OnePlus 9 Pro] IamTheBRAVE:
So far i have read onlyvup to page 8. But i noticed a lot of people having problems with fastboot (me included). I think fastboot flashes to inactive slot without saying so.

With slot a active, doing fastboot flash boot <filename>.img works fine (it goes to slot b) but rebooting anything (system, recovery, bootloader) ends up rebooting to fastboot mode in slot a (because of corrupted partitions).

I am now in twrp on slot b but can't sideload files to install ramdisk. Pc is not detecting device even with mtp enabled. Stuck at this point...

Edit: I was able to load the system on slot b. Transferred twrp img and installed ramdisk. Rooted and rebooted to system. On slot b.

Should i start again everything from the top to slot a (reboot slot a, fastboot twrp, install rom reroot)
[OnePlus 9 Pro] Samuel Holland:
Before on previous TWRP when pc didn't see device using ADB while in TWRP, I went to adb sideload which worked, and when I went back to recovery(TWRP), ADB was working, so maybe try going into adb sideload and then back out. Just an idea, and also for anyone wondering, I use:

"fastboot boot TWRP.img"

, and then install TWRP from menu in TWRP. Anyway just wanted to add in case it might could help someone. Thank you
[OnePlus 9 Pro] IamTheBRAVE:
Thanks. That didn't work. But was able to boot the system then transfer files there fortunately. I hope all our combined mistakes help someone later.
[OnePlus 9 Pro] Nebrassy:
the instructions say fastboot boot twrp.img, NOT fastboot flash
[OnePlus 9 Pro] IamTheBRAVE:
Yes i understand. But i went and asked in lineage thread (i had LosRecovery then) they said for temporary root/boot i needed fastboot flash boot. Also fastboot boot was giving me error: "failed remote: failed to load/authenticate".

In the end, TWRP saved my phone from soft brick. Lineage procedure is complicated. I prefer this way. Thank you.
[OnePlus 9 Pro] pyry666:
Some people have a hard time to understand the differce. I exclude my self...lol
[OnePlus 9 Pro] reaper000:
Think of it this way:

"Fastboot boot" is a one-time (temporary) injection of the file into working memory for boot up. Since nothing is written/flashed into stored memory, your boot partition remains untouched. What booted up will not survive a shutdown.

"Fastboot flash boot boot.img" actually writes/flashes the file boot.img into stored memory (boot partition), and as such, will survive a shutdown and as the newly written boot partition, what henceforth boots up.

There's a significant difference in the end state of your device. I've always thought it is a dev's responsibility to provide clear, typo-free instructions and a user's responsibility to follow them. Any deficit on either side is asking for trouble...!
[OnePlus 9 Pro] IamTheBRAVE:
This is excactly how i understood it but in lineage thread and wiki it says fastboot flash boot for temporary root.

Install LineageOS on lemonadep | LineageOS Wiki

wiki.lineageos.org

And i asked if it's a typo. Dev said no.

Post in thread '[ROM][OFFICIAL][lemonadep][11] LineageOS 18.1' https://xdaforums.com/t/rom-official-lemonadep-11-lineageos-18-1.4289357/post-85449515

This is what lead me to corrupt files on slot a.
[OnePlus 9 Pro] pyry666:
I was being sarcastic. I know the differce but hopefully this helpes/helped some one else
[OnePlus 9 Pro] Nebrassy:
well, this isn't lineage recovery, but for more context, lineage recovery can't boot up with fastboot boot, that's why you need to flash, and it's only flashed temporarily to flash a rom
[OnePlus 9 Pro] IamTheBRAVE:
I was using it to flash crdroid when i got stuck in fastboot (something i did). What i'm saying is Twrp is what got me out of a 3-day headache trying to figure out why flashing goes okay but rebooting only goes to fastboot (had to manually switch to slot b).

Lineage thread OP did not offer any explanation other than to say i'm mistaken.
[OnePlus 9 Pro] Stogie87:
Hi together.

I have a huge issue. My android system shows, that my media storage has a size of 43,1 Gigabyte and i can not clear these huge amount of unavailable storage space.

I think it is my twrp backup, which i created before a while, but i can not find it anymore on my device and TWRP doesn‘t show it.

I had a similar issue long time ago on my old op3 and the reason was, that there was some enrypted hidden internal storage space from OOS and i could only get rid of it through a total wipe of internal storage.

Does anyone know this issue and is there maybe another solution to clear media storage on OP9 Pro?

I use crDroid custom rom.

Thanks in advance and kind regards
[OnePlus 9 Pro] IamTheBRAVE:
This issue is well known.

OnePlus 9 Pro's Media Storage app is reportedly using up too much space

If you’ve been seeing "storage space running out" warnings on your OnePlus 9 Pro lately despite no heavy usage, you’re not alone.

www.xda-developers.com

You can try to clear the "recently deleted" section of the collection tab. It might solve the problem.

Please report if it works.
[OnePlus 9 Pro] Nebrassy:
Using x-plore, enable root access, go to /data/media and click the disk map button, that should tell you what's taking space there

X-plore File Manager - Apps on Google Play

X-plore is dual-pane file manager with tree view, LAN/Root/Clouds and more.

play.google.com
[OnePlus 9 Pro] ahasae:
fixed
[OnePlus 9 Pro] Stogie87:
Thanks, the App X-Plore was very helpful.

I found some files which took a lot of space and could succesfully delete them. Everything seems to be fine now :)
[OnePlus 9 Pro] Ajulson:
I should be ok just booting twrp and flashing magisk correct? I don't want a custom recovery right now.
[OnePlus 9 Pro] oscarmaldonado:
Yes, just flash the .apk
[OnePlus 9 Pro] Ajulson:
Thank you much!
[OnePlus 9 Pro] Kenkool12:
if I install twrp will wipe my custom rom and I have to re install it again
[OnePlus 9 Pro] filjusz:
No
[OnePlus 9 Pro] Kenkool12:
Do I have to reinstall it after I flash magisk or custom rom?
[OnePlus 9 Pro] filjusz:
Depends
[OnePlus 9 Pro] Kenkool12:
On what just curious I flashed magisk and didn't have to install it again and I turned on the feature to reinstall TWRP after I flash a custom ROM.
[OnePlus 9 Pro] Kenkool12:
I try To install a new custom rom and now twrp won’t let me slide to unlock or anything And los just keeps loading.
[OnePlus 9 Pro] filjusz:
Format data
[OnePlus 9 Pro] Kenkool12:
i couldnt twrp was stuck at swipe to unlock and would let me do anything I had use msm tool and revert back to stock.
[OnePlus 9 Pro] Kenkool12:
i installed twrp now in bootloop for soem reason after installing it
[OnePlus 9 Pro] Samuel Holland:
If you have access to computer and fastboot you could boot to bootloader & issue the command :

fastboot erase userdata

Installing TWRP you boot TWRP and then install it in menu of TWRP (just in case you didn't know) if not you would need to reflash boot(kernel).
[OnePlus 9 Pro] Kenkool12:
I had use msm tool and revert and just rooted my phone but I couldn't get into fast boot it would just restart my phone and boot loop again.
[OnePlus 9 Pro] Samuel Holland:
For fastboot on windows, when you first plug in your phone do the one plus setup and then under device manager update driver (while in fastboot) and it'll be under C:\Program Files(x86)\OnePlus USB Drivers. You might have to turn test signing on and then reboot for the driver to install:

bcdedit /set testsigning on

There is a guide somewhere on XDA.
[OnePlus 9 Pro] Kenkool12:
can I boot and install twrp and then flash a rom and not install it again or do you have to install it after you flash a rom.
[OnePlus 9 Pro] Samuel Holland:
You can boot TWRP,

fastboot boot recovery(TWRP).img

You can do what you need to, and if you decide to install go in the menu and install but is not mandatory. You can go back on the first page for the exact instructions. And yes, if you flash a ROM you would be on another slot with whatever came with the rom but I believe there is an option now for being able to keep TWRP but maybe someone else knows a little more than me since I haven't got to really flash any ROMs yet personally.
[OnePlus 9 Pro] Kenkool12:
Would you know why whenever I flash a rom a fails or renders my touchscreen unresponsive
[OnePlus 9 Pro] Samuel Holland:
I remember the pixel xl2 having a similar problem where the driver for the touch screen had to be added into the kernel but this is a little past my knowledge, sorry, but you might find somebody that could tell you on the devs telegram group. The link is on page one.
[OnePlus 9 Pro] Libra420T:
so far for twrp on op9pro. Uses are

file management, backups, install & uninstall modules(bootlooped), update roms.

but as for switching/flashing new roms in twrp; No.

I have not had success flashing new roms and wiping. I use it as a fail safe for now...

Hope this helps 😊 👍
[OnePlus 9 Pro] Kenkool12:
I flashed evox last night with success.
[OnePlus 9 Pro] m0d hipp¥:
Hoping I could get some guidance here. I just got my Oneplus 9 Pro (LE2125). I am running the latest version of the stock OOS 11.2.8.8.LE15AA

I flashed the Omega Kernel that I read a lot of good things about v 5.4.61-Omega

Also managed to install Magisk using the canary channel.

What I don't understand is I can't seem to get TWRP installed following these directions. Actually I was able to boot into it and also flash it to recovery partition, but when I boot to it, non of my folders are visible.

When I navigate to mount the USB drive it errors out for me. When I try to decrypt the drive and I type in my pw, it says it's incorrect. I'm not really sure what to do.

Any guidance please?
[OnePlus 9 Pro] gorilla p:
Twrp still has yet to work fully for the OP8 series. Similar situation with OP9 series. You can boot to it, but not flash and get full functionality. Its really frustrating and will probably drive me away from OP devices.
[OnePlus 9 Pro] m0d hipp¥:
Dang! That's really unfortunate. Is there any other options available. I came from using a oneplus 5T, and I used both twrp and orange fox as a recovery. Both seemed like solid options. I hope a similar solution could be developed at some point. I wouldn't mind the stock recovery, I just find it so limiting. There really isn't a good solution that I know of for backups/recovery and zip installations.

I guess for the time being all we can do is support our devs and hope someone comes up with a feasible solution. I don't know if it's any help and I'm not much of a dev myself, but I recall encryption issues in the past with older versions of twrp. I think some suggestions in the past included flashing no dm verity fix or something to help with that. If there is anything we can do to help troubleshoot and come up with a solution please let us know.

Thanks!
[OnePlus 9 Pro] Ajulson:
I've had to change the extension on the magisk apk to zip, then it flashed in TWRP just fine!
[OnePlus 9 Pro] thirtythr33:
does anyone know if twrp retention script (magisk module) will work so I don't need to fastboot install (I'm not able to use a computer at the moment). that module would be great for my current situation
[OnePlus 9 Pro] Samuel Holland:
Hi, yes I just updated using the "full" zip, installed TWRP retention script, flashed magisk to inactive slot, and I'm happy to report everything worked beautifully. 👍👍
[OnePlus 9 Pro] thirtythr33:
dude this is exactly what I was about to do and thank you for letting me know it works! and thanks @osm0sis for the awesome module
[OnePlus 9 Pro] illusiveairforce:
This happens when you flash or boot twrp.img into the opposite slot. I get it all the time. you have to do...

fastboot getvar all

check the boot_slot its on...

then change it by:

fastboot set_active a 'or' b
[OnePlus 9 Pro] Wuast94:
im stuck in twrp, the problem is that my phone boots in recovery no matter what i do, and in recovery touch is not working, so i dont can do anything, tried OTG with mouse or keyboard but no luck.
[OnePlus 9 Pro] illusiveairforce:
You have to switch slots bro..

Then what you gotta do is adb sideload the OTA update or a ROM. Just keep trying trust me it works. I probably have flashed or wiped my phone 75 times this month. Each and every way.
[OnePlus 9 Pro] ecera:
Same thing happened to me. Hold both vol buttons and power button at the same time to get into fastboot mode. From there follow the instructions given by illusiveairforce. Fastboot getvar all to find out which slot you're in and switch slots. From there you can reboot back to recovery and touch should be restored. I ended up just using msm from this point. I'm having a hard time flashing OnePlus stock zips from twrp myself. Which is why I ended up in the twrp bootloop with no touch responsiveness to begin with.
[OnePlus 9 Pro] FragRot:
Anyone tested and working on OOS 11.2.9.9?
[OnePlus 9 Pro] Samuel Holland:
Yes, it decrypts and everything seemed okay👍
[OnePlus 9 Pro] mattie_49:
Does partition/system backup and restore work yet for the op9 series TWRP recovery?
[OnePlus 9 Pro] russel5:
today i'm succesfuly flashing global rom zip from crdroid and all works
[OnePlus 9 Pro] benhidalgo:
Can you flash crDroid back without Lineage recovery?
[OnePlus 9 Pro] Mr-Zhag:
Is this TWRP works on oneplus 9 pro now?
[OnePlus 9 Pro] giuseppe18:
this recovery is installed with this classic command fastboot flash recovery twrp.img?
[OnePlus 9 Pro] freddienuxx:
read the first op page
[OnePlus 9 Pro] Tekkamen77:
once you put the twrp the phone freezes does it happen to you too?
[OnePlus 9 Pro] oscarmaldonado:
No because you're not supposed to flash it, fastboot boot NAME.img and then you have the option to install it but by booting it you can flash anything you want, but if you still need to install it once you boot TWRP go to advance then Flash Current TWRP to install recovery.
[OnePlus 9 Pro] Tekkamen77:
i tried but the phone crashes in recovery
[OnePlus 9 Pro] oscarmaldonado:
So what rom do you have installed at this moment?
[OnePlus 9 Pro] Tekkamen77:
no rom the original one
[OnePlus 9 Pro] oscarmaldonado:
Alright bud, why don't you start all over by installing just OOS boot.img and then just boot TWRP, did you try that already?
[OnePlus 9 Pro] Tekkamen77:
friend where do I download oos boot img?
[OnePlus 9 Pro] oscarmaldonado:
Here:

https://xdaforums.com/t/guide-magisk-unlock-root-keep-root-oos-11-2-9-9.4252373/
[OnePlus 9 Pro] reaper000:
So I've read the entire thread, and if I understand things correctly, the current state of affairs (9/26/21) is that TWRP currently cannot decrypt the data partition or mount OTG/USB drives. As such,

- any ROM flash will require a full format of the data partition (typing 'yes' to wipe internet storage)

- any flashing activity can only be achieved via ADB sideload

- TWRP will have to be reinstalled via fastboot after every ROM flash

And lastly, the disable dm-verity zip does NOT work to leave the data partition decrypted and thereby eliminate the first couple of issues listed above.

That's my impression, at least. Am I right so far...? Thanks to anyone for confirmation or correcting me!
[OnePlus 9 Pro] osm0sis:
Switching ROMs would need a format, updating an existing ROM would probably work fine despite no /data access.