yashsingh1/xdaforums huggingface dataset:
[OnePlus 8 / 8 Pro & 8T Cross Device Development] TechForEver:
You can try this

It's for colorOS OnePlus 8/8pro but I guess it's working also on oxygen

ColorOS Pro

t.me
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Shah Taj:
Will it work on A14 custom rom?

The firmware is A13
[OnePlus 8 / 8 Pro & 8T Cross Device Development] 535iu:
Does Android 13 decryption work?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] samhhmobil:
No!
[OnePlus 8 / 8 Pro & 8T Cross Device Development] 535iu:
Thank you very much for your response. I have just one more question, please:

Does Android 12 decryption does work 100% or is there any problem?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] samhhmobil:
That's different. It should work with OOS stock rom (but I don't know about that, I don't use that), it does NOT work with custom rom's like LineageOS.

Don't forget: TWRP is history. R.I.P.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] 535iu:
Hello, please could you explain everything in detail, please?

I've been using TWRP all my life and I don't understand why I can't enjoy it anymore.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] samhhmobil:
Have a look at “twrp.me“. All official versions you can get, are many years old. It's dead.

And only a few guys (not the official devs) try to port it to unofficial versions for one single device, more or less successful. In our case: less...

Look at the official twrp-website, and you'll see: it's history. The latest official version for our device is from 2021/04.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] 535iu:
Thank you, what do you think is the reason for this death?

Why no developers are interested in TWRP?

And the most important question:

Why doesn't TWRP work on custom ROMs?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] samhhmobil:
There are some devs, but not for all important devices. They support only a few newer devices.

I use four different devices (Sony, Samsung, Xiaomi, OnePlus), and there is no working twrp anymore for my specific ones, running with A13/A14. Sigh.

The difference between stock rom and custom rom is the use of different filesystems and different encryption methods.

In the history of smartphones and early android versions that was no topic and everything did work straight forward. But with ongoing security reasons (and that's the right way) it's not as easy as it was in former times.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] 535iu:
Thank you very much.

Is there any custom ROM that allows TWRP on the OnePlus 8 Pro?

Or does only the official ROM work with TWRP?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] samhhmobil:
I don't know.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] TheDevil259:
As far as I'm aware, OrangeFox is the new TWRP. It is also based on TWRP and has (also, as I am aware) all the features of TWRP.

On my OnePlus 8 Pro I am currently using a unofficial OrangeFox version under the Nameless ROM, which is based on Android 14 with FBEv1 encryption.

You can find out more at the following Telegram group: https://t.me/OrangeFox8.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] 535iu:
OrangeFox allows to decrypt data on Android 14?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] TheDevil259:
The version I use sure does!
[OnePlus 8 / 8 Pro & 8T Cross Device Development] deepongi:
Logs?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
That's usually a encryption/decryption issue.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] rootlessabroad:
None of the restore options worked for me. I tried wiping everything and installing PixelExperience, which resulted in Qualcomm crashes even when trying to boot into recovery. I ended up having to MSM the device. Since I had to load OOS, I figured I would update to A11, now that we have a working recovery. After doing the OP OTA update for OOS to 11.0.7.7, and had it booting fine. I then rebooted to fastboot and flashed twrp beta 5 recovery, rebooted to recovery and made a backup of the vanilla 11.0.7.7, just in case. After rebooting, it just looped back to recovery/twrp. Presently, that's all it does - bootloop to recovery.

I'm not sure where to go from here. I suppose I can look for an OOS A11 recovery.img to install, but I didn't go to A11 until now (even though there were problems with backup and recover for A10 too) because there was no working twrp recovery.

Thoughts?

Log files are from A11. *my files aren't attaching even though the site reports that they are. Here is a pastebin: https://pastebin.com/ReTQ3ytB

Thank you.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] rootlessabroad:
I used the "attach files" button to attach them to the post. Trying again. These are the logfiles for the attempt to restore under A10.

I tried again. It shows me the attached files, but when I reload the page (after clicking save) they aren't there. Here is a paste for the A10 recovery.log: https://pastebin.com/C7cisAuc
[OnePlus 8 / 8 Pro & 8T Cross Device Development] rootlessabroad:
On stock OOS A11, I restored the stock recovery.img to try and get the full OS to load again. That just had me bootlooping into stock recovery. I then flashed boot.img and did a complete wipe. It boots into the OS now - up to the point where the dot goes into the "O" with the red background. After that final logo goes away, the screen goes black, and it stays black until the logo (red dot with two white dots circling) appears again. To me this is very strange. Maybe someone else can imagine what is happening?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
You need to do some reading. You are literally just flashing things and trying things. When you go from OOS to custom ROM, you MUST wipe internal storage with the custom ROMs recovery or twrp. OOS 10 and 11 custom ROMs and OOS are not compatible with each other. Meaning, both slots MUST be the same android version. You can't have OOS10 or custom A10 on one slot and a11 custom on another. You need to msm OOS11, install updates, unlock bootloader, then chose which ROM you want. Then install its recovery or twrp and wipe internal storage while you install the rom
[OnePlus 8 / 8 Pro & 8T Cross Device Development] rootlessabroad:
Thank you so much for responding. I appreciate your patience. I have been doing a lot of reading. Which is why, when everything had been wiped, including internal storage, I figured I would go ahead and try flashing PE, to see if I could get a custom rom working. I did see that OOS10 and OOS11 (really A10 and A11) are not compatible at all. I'm not absolutely sure why, though I think that it may have to do with the dynamic allocation of of file systems being different between the two.

When flashing OOS10, OOS11,and PE, (other than Manurofrio's 10.5.12 flash-all.bat) I manually flashed both A and B slots with the same files/same ROM, to make sure I wouldn't have a conflict between the A and B slots. I got PE to boot, until I used their recovery to wipe internal storage. It wouldn't even reboot into their recovery or twrp after that.

I only have the msm for OOS10 and thought to look for the msm for OOS11. Everything I can find talks about all of the bugs with OOS11 or things that aren't working with A11 custom roms. I decided to just go back and stick with OOS10. What happened to me last time was that, in spite of my best efforts (automatic updates off, automatic downloading of updates off, and manually deleting the downloaded update file) to keep my phone from being updated, it decided to update itself and failed. Recovering from my earlier twrp (3.4) backups didn't work. So I tried reinstalling OOS10, backing up with twrp 3.5b4. I then tried restoring from those backups, even after msm OOS10 and only ended up boot looping.

Then, I tried msm OOS10, updating to OOS11 (11.0.7.7). Which worked. When I installed twrp 3.5b4 it stopped booting into the OS. Then I tried booting with twrp 3.4b5, same boot loop. So I tried restoring the stock 11.0.7.7 recovery which I extracted from the payload.bin. That only succeeding in booting through the logo screen, the rebooting. It wouldn't do a full reboot though - it was as if it couldn't run the window manager. If I didn't want to wait, using the power button to reboot it would bring up a white window with grey text "Power off" or "Restart". It wouldn't go back to the bootloader, but just start the logo-cycle again.

At this point, I really just want to be able to restore my backups if OnePlus somehow hijacks my phone again (though I'm thinking of applying a stick-bit to the update download folder and making it read only to keep that from happening).

All of that said, I think I'm doing what you are suggesting. Maybe I'm missing something obvious. The documentation is great. I love XDA. I'm glad they added the 8t instructions for removing all of the locks before backing up to the second entry of the new thread. Thank you for your help and for your work on twrp 3.5.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] yot2703:
Holy smokes man!!! Thank you so much!!!

Works perfectly!!!
[OnePlus 8 / 8 Pro & 8T Cross Device Development] juaki:
I do not understand what I am doing wrong. but it keeps giving me the same error. it won't let me install anything, it won't let me mount the system, because I try to uncheck it and it doesn't. I already give up.

here I attach log and screenshots. I use OOS 11 latest version Oneplus 8 pro twrp beta 5.

thanks for the work
[OnePlus 8 / 8 Pro & 8T Cross Device Development] juaki:
logcat https://drive.google.com/file/d/1WvDF9UXO_MWpIoRfgOS7Uy3Xr8gqBfwq/view?usp=sharing

recovery.log https://drive.google.com/file/d/1D5DdyZcR6gkaamHwhBeJ2CsSCXxhYJqd/view?usp=sharing
[OnePlus 8 / 8 Pro & 8T Cross Device Development] bkman08:
I have also had this issue trying to install magisk on beta 5, kept getting a cant mount /system error and couldnt install anything. Switch to beta 4 and use that for now in the meanwhile, that worked for me. something must have been accidentally borked in beta 5, thanks for the log !
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dlads:
As @jamescable has said..

Just MSM your phone (back up first)

Next update your device as you'll be on 11.0.4.4

Then unlock your bootloader.

If you want a great custom ROM then visit the Evo X thread, then either follow my guide on post 76 or use TWRP.

It shouldn't be baffling to anyone that 10 and 11 are extremely different, they're totally different bases and as such no they're not to be mixed.

As soon as you've got a custom ROM on your phone with twrp installed you should be free to flash what you want.

Make a back up if you really need to.

Plus the coded files you saw in TWRP are encrypted, this means that you didn't access your devices storage with a valid passcode/password, you could remove them prior to back up/ flashing but in all fairness you should be prompted enter them thus decrypting the device.

Stick to a pin and you'll be fine.

Good luck.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] deepongi:
uploaded beta 6.

changelog:

* Add custom kernel for recovery

* crypto: only set crypto state and type if not already set

* crypto: only show FBE error if device is encrypted

* digest: fix checking of digest on restore

* fs_mgr: allow deleting merged snapshots

* merges: allow user to perform snapshot merges in advanced menu

* mtp: don't create storage device after format data

* recovery: Allow kernel to read and write unlabeled files

* repacker: add root overwrite warning

regards.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] greatestandroidfan:
Updated recovery inside TWRP Beta5 to Beta6 to both slots.

And see: It just works! (y)

Thanks again @infected_ !
[OnePlus 8 / 8 Pro & 8T Cross Device Development] sairam108:
What is that?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] deepongi:
@jamescable appreciate, but you know theres a option to flash both slots at same time inside recovery?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] rootlessabroad:
Thank you. A working backup seems to be the hardest part. I will see if I can back it up using the Qualcomm tools. And on the coded files - they showed up after I did a twrp restore of data. That was kind of funny. I only ever use a pin.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dlads:
Would it be worth removing it then opening twrp and sering if it's visible, then when restoring just remove the pin and go for the restore, was the old update a 10 backup?

Might be why if so
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Clearly didn't 😂
[OnePlus 8 / 8 Pro & 8T Cross Device Development] gaww:
I had installed beta 4 and now there are 5 & 6, but I can't find the updated items - are they significant ?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] juaki:
Finally! It FUNCION!!! that's great! thank you, what a great job!
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Surfeur-des-Reves:
Nice to finally have such a useful tool as TWRP for our device, well done!

Just curious before I flash it...

Can it simply be booted with the fastboot boot recovery.img command, without flashing it?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] AlDollaz:
Yes.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Mchlbenner51:
Flash to both a/b.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] gaww:
That's a safe way to test.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lycidias:
Is there a way to flash the twrp image at the phone itself without fastboot/PC?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Once you install twrp, yes, from within twrp itself...post #117
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lycidias:
Yes, i already know and did that😀 but twrp gets overwritten after an ota and I want to flash twrp back on the go🙂
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Look at my post on #115
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lycidias:
What does that zip do? Is it for flashing in FKM for example?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
You can flash that directly after flashing a ROM to keep twrp just in case the ROM has its own recovery
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lycidias:
Very nice, thank you 🙂but how do I do if install an ota update via system updater and not twrp? Should I flash the zip In a kernel manager before rebooting ?

And in case there is a new twrp build, could I just replace the image inside the zip?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] mirdaVG:
I tried to flash ROM update with beta 6 and like before twrp just rebooted (8pro). For reference the rom is aicp, but also happended on derp and evox. Here's the log. Log @infected_

​
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lycidias:
https://xdaforums.com/t/twrp-3-5-2-...-for-oneplus-8-8pro-wip.4341707/post-85772003

Ok I inspected the updater script of the zip on post #115 by myself:

-the zip can be flashed via magisk

-every twrp img (*.img) can be put/placed inside the zip

-twrp gets flashed to both a/b slots

Thank you very much for the zip @jamescable ! Working good.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] osm0sis:
Should use the official twrp_ab zip template instead. We're going to have them auto-built with the whole images for recovery_a/_b devices for the next TWRP release. 🤘

GitHub - osm0sis/twrp_abtemplate: TWRP A/B Installer Zip Template

TWRP A/B Installer Zip Template. Contribute to osm0sis/twrp_abtemplate development by creating an account on GitHub.

github.com
[OnePlus 8 / 8 Pro & 8T Cross Device Development] zelos156:
Wow! U are amazing!
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lycidias:
Great, thanks! Do I need to create a zip and then put the structure of the repository together with the twrp img in the zip?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] osm0sis:
Yeah the repository is just set up like the contents of a zip, so you can just add a .img then zip up the immediate directory and you're good to go.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lycidias:
Working good, thank you very much ☺️

Created a magisk flashable zip with twrp beta 6.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dlads:
Did you just install TWRP using Magisk?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lycidias:
Yes, it's a "magisk module installer script"
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dlads:
Legend. Very nice.

Will give that a shot.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lycidias:
Could you explain, what this template differs from the zip @jamescable posted?

I looked into the script but i have no knowledge about it 😅

Thanks 😊
[OnePlus 8 / 8 Pro & 8T Cross Device Development] mac796:
Thanks worked for me
[OnePlus 8 / 8 Pro & 8T Cross Device Development] osm0sis:
James' zip was based on an old (i.e. the oldest) version of the template, but hacked to use full images. Mine is the official TWRP installer zip template you'll see on dl.twrp.me for all A/B devices, which now supports both ramdisk.cpio and full images, plus has some dump/flash speed optimizations from arter97.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] turboedm:
is this only for the 8? I flash this on my 8 Pro and I'm just stuck at the twrp splash screen,
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lycidias:
No, it's for 8 and pro. Wait a little bit longer, splash screen is taking longer than we expect
[OnePlus 8 / 8 Pro & 8T Cross Device Development] turboedm:
Yes I figured that out on my own, right after I sent that it showed up. Well I'm not gonna use it yet, but I backed up some things as a test and it seems like they were backed up just fine. Hopefully this opens up more ROMs to come to the 8 and 8 Pro. TWRP is exactly what this device needed.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Supracer:
Hey everyone, just a quick question.

If I'm on oos and I want to flash a custom rom, do I have to format/will the rom flash wipe my internal storage?

Like will twrp format my internal storage after flashing for example crdroid?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jackreaper:
Can I flash twrp recovery with magisk in OnePlus 8 rooted and bootloader unlocked ? Please tell me the steps..
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lycidias:
Yes, just flash it inside magisk like a magisk module
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Unn113:
I doubt it would format on its own, but you actually have to format data as it's incompatible between oos and aosp/caf
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Supracer:
Formatting data I have no problem with formatting the data like I have been doing for the past 8 years on every android phone I owned but I just don't want to format my internal storage. Up until now, to flash a custom rom on my OnePlus 8 pro, via PC I have to format my internal storage so has this twrp made life easier and you don't have to format internal storage anymore or that's not the case?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Unn113:
You have to format it because it's incompatible :c
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Supracer:
Thanks for the reply! 🤗

Then what's the point of having twrp if we can't keep our pics/files/downloads when we want to flash a different rom....
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Unn113:
I believe only when switching between oos and aosp/caf roms format internal data is necessary, because oos and aosp use different partition types what causes it to be incompatible, but I never flashed aosp rom on this device.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jackreaper:
It worked like magic...thank you so much...what steps should I follow to backup and restore ...
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lycidias:
Great, the steps are described in the first post :-)
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jackreaper:
Ok ...😁
[OnePlus 8 / 8 Pro & 8T Cross Device Development] rodken:
Do we know if restoring a NANDroid functions as designed?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] fil0s0f0:
has Someone tried this on a t-mobile variant?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] baxtex:
Anyone tested with 8T?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dlads:
Can't see why it wouldn't work.

It's simply a recovery, functionality wise I'm not sure. But it'll install/boot for sure, not sure if T-Mobile has a special partition that TWRP may miss, I'd say it'd be fine personally.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dlads:
They're both on the 865 chipset, so would assume it's fine. Just boot it to test, no harm in that. If it fails just reboot.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] fil0s0f0:
Will try, currently running jaguar rom installed through lineage recovery an adb , thinking about converting to international version
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dlads:
If you can then absolutely go for it..

I've heard so much trouble with the T-Mobile variant, they're trying to corner their customer's it seems, absolutely cannot stand that.

If you can break free of that then go for it.

Try to boot the recovery, theres no risk in doing that..if it's working as expected then go ahead and flash.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] BillGoss:
The 8T has its own thread (TWRP is not a unified build across all 8x devices) at https://xdaforums.com/t/recovery-11-alpha-teamwin-recovery-project-8t-kebab-2021-09-04.4302449/
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dlads:
With it being the 8T (AFAIK it's the same chipset) I'd be surprised if this didn't work on it.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lycidias:
I think, 8t has another type of encryption
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dlads:
Oh really?

Well there you go.

Didn't know that...wonder why?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lycidias:
I red it in the old twrp thread in the past 😊
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dlads:
Had no idea.

Ignore my posts then ;)
[OnePlus 8 / 8 Pro & 8T Cross Device Development] majedalanni:
I tried to fastboot boot twrpname.img on OSS 10 but it not booting, is it only for OSS11?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Wow. Senior member
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dyval:
So to confirm sir I can flash this on Magisk like a regular module? Thank you. 👍🏻
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Kutikov:
Has anyone any expirience of flashing TWRP on LOS 18.1 Off/Unoff?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lycidias:
Yes 😊👍
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dyval:
Thanks bro. And the developers, great work! 👏🏻
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dlads:
To all involved.

Beautifully done.

Thank you.
[Xiaomi Mi Pad 5] Regys:
Hi,

Simple question. How to unlock and root the pad 5 ?

Regards.
[Xiaomi Mi Pad 5] leonlifr:
for Global Version you can not unlock now, because have a bug with unlock. so you can not root it too....
[Xiaomi Mi Pad 5] Regys:
Do you have any information about it ?
[Xiaomi Mi Pad 5] leonlifr:
i have post it at Global FOrum of Xiaomi but have no anwser at moment
[Xiaomi Mi Pad 5] Regys:
And with other software it does not work ?

Exemple: https://xdaforums.com/t/tool-win-li...oader-of-xiaomi-devices-on-mac-linux.3782444/
[Xiaomi Mi Pad 5] Borisu541:
Hi,

And for Chinese Xiaomi Mi Pad 5 ? Does it possible to unlock and root for installing an other ROM, like global ROM ?
[Xiaomi Mi Pad 5] leonlifr:
no global rom exist at moment
[Xiaomi Mi Pad 5] leonlifr:
i will try tonight
[Xiaomi Mi Pad 5] Borisu541:
Ok, thanks but do you think it will be possible one day? Cause I really want the green version 😅
[Xiaomi Mi Pad 5] leonlifr:
no device find with this Tools
[Xiaomi Mi Pad 5] leonlifr:
i tired to connect my xiaomi Pad 5 and it said without unblock BL can not install another version of Rom.... just install global rom, but Global Rom have BUG for Unblock....
[Xiaomi Mi Pad 5] Regys:
Thank you for trying. I think now it will have to wait !
[Xiaomi Mi Pad 5] B.Wayne:
I'm on EEA Stable Beta V12.5.5.0.RKXEUXM and want to root with Magisk. The device in unlocked. Is it possible to take the Boot Image from Global Stable V12.5.4.0.RKXMIXM? There is no fastboot version of the eea rom.