yashsingh1/xdaforums huggingface dataset:
[OnePlus 8 / 8 Pro & 8T Cross Device Development] gaww:
I have been back and forth in this thread as there is no compressive guide to flash roms, as opposed to data - which is simple. Could you add it to the OP ?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] keeratsawhney:
I am eagerly waiting for fully functional TWRP. ❤️
[OnePlus 8 / 8 Pro & 8T Cross Device Development] chrisross:
Problems with root detection

I had the Santander UK app working fine on my OP7 with Magisk up until the June update ( foolishly didn't spot the app was updated at the time). Since then I've been unable to get root hidden from the app (even after running the Magisk uninstaller).

I've now got a 8 Pro. I followed the instructions above as I like a proper recovery, but wasn’t going to install Magisk just yet. Guess what? Santander now said my phone was rooted (even though it wasn’t). So i thought what the hell, I might as well install Magisk which would then allow me to hide from Santander. But uninstalling and reinstalling Santander makes no difference (yes, I have Magisk ‘hidden’). So I ran the Magisk uninstaller, removed Titanium, but still no joy. Even more annoying: Root Beer Sample shows all green ticks!

If I do a factory reset can I be sure I'll get an unrooted phone back?

(I followed the instructions carefully, but I have ended up with TWRP installed - not just booted into it).
[OnePlus 8 / 8 Pro & 8T Cross Device Development] passion8059:
restore phone back to factory using OP8PRO OOS Unbrick tool. Once completed it will lock bootloader and root should be gone totally.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] M3drvr:
Just FYI, when without magisk, it's very possible that Santander was detecting unlocked bootloader, not root. I notice some apps aren't specific and just call an unlocked bootloader as root. I'm not familiar with that app, just throwing it out there as a potential cause. Using the tool and lockout the bootloader back up will get rid of the error though as mentioned.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] chrisross:
Thanks. I thought I'd considered all possibilities, but missed that one. I may try locking the bootloader. My next move was going to be restore stock Recovery, in case TWRP triggered it. That's the only banking app I have any problems with, but it's my main bank, and they sometimes use the app for 2FA, so it's useful to have it working.

I've just applied the latest update from Oxygen Updater, which has definitely removed root and returned to stock Recovery, but Santander still says it's rooted, so your suggestion seems to be the answer.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] c_86:
It's your bootloader being unlocked

Root with magisk and hide. Issue solved.

Or restore to stock and lock bootloader
[OnePlus 8 / 8 Pro & 8T Cross Device Development] chrisross:
I had it rooted with Magisk and hid the Santander app. That's how I worked out it was the bootloader. Magisk can't hide that.

I have found a discussion on this by topjohnwu, but that seems to indicate detected an unlocked bootloader would fail CTS - which it didn't.

Using the stock OOS, is it safe to lock using fastboot-android oem lock?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] M3drvr:
If completely stock oos yeah it's fine. It'll wipe your data though.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] chrisross:
Thanks. I've actually just updated to the new OB2. Why was my data kept intact going that way, but I'll lose it going to the final release? I'm not too concerned about losing data for now, as all I did was use the OP app to copy from one phone to the other, which is easily repeatable. But rooting is not looking so good for Android 11 :crying:
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Burt Squirtz:
is this his 6/23 build bro? or is there a new 11 build he made? and how did you install it? did you flash Android 11 in twrp, and then just flash the TWRP installer over that?

pm me, please~
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Nekromantik:
Has data wipe been fixed?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] hagar006:
Rooting isn't a problem for 11.. there is a thread about it in the guide section..
[OnePlus 8 / 8 Pro & 8T Cross Device Development] chrisross:
Sure. and I'm subscribed to it. But some people seem to be experiencing problems, and Google are making it more and more difficult - plus banking apps getting more demanding incompatibility.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] hagar006:
Absolutely right.. but I've been a member here on XDA for many years on various devices and I've seen the skill and determination of members in overcoming problems most people didn't think could be solved.. so I wouldn't worry just yet!

Root is available for now and methods will be found in the future also, I'm sure!
[OnePlus 8 / 8 Pro & 8T Cross Device Development] soicon11:
Help me bro. Pleaste make twrp for android 11 beta 2. I cant use any twrp. My OP8 is brick now
[OnePlus 8 / 8 Pro & 8T Cross Device Development] gaww:
That would be great, but I think he would want to wait for the stable android 11 like most other developers.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Burt Squirtz:
it has nothing to do with stable 11 but rather the developer knowing how to even make it work in the first place. even the Chinese developer can't figure out how to decrypt on Android 11 with TWRP.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Tho, he could at least update for Android 10. Obviously 11 is not fully ready for root and stuff so most people will be using 10, including roms for a bit. I mean. I am using Ressurection Remix on our 8 pro and I ha e to use LOS recovery to format data, the. I stall twrp to flash magisk, etc
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Josh McGrath:
It's not like the dev is doing nothing at all, it's hard work since android 10 cause they changed a lot of things.

There are many guides that will teach you the basics to build twrp for android 10. That way you can help instead of just complaining.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
He already said he fixed everything including the format data, weeks ago
[OnePlus 8 / 8 Pro & 8T Cross Device Development] keeratsawhney:
Final Recovery Please ??
[OnePlus 8 / 8 Pro & 8T Cross Device Development] joaste:
So can this recovery still not be flashed? The OP still suggests to boot it only (although instructions for flashing it are given).

Has anyone flashed it?

Thanks!
[OnePlus 8 / 8 Pro & 8T Cross Device Development] gaww:
Had flashed it a few times after stable android 10 updates, and saved and restored data wit it.

On beta 2 now, so it's not usable.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Azzull:
How did you flash as there is no installer for 3.4.0.2 or once booted stays?

Thanks
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Don't need installer. We now have a recovery partition again
[OnePlus 8 / 8 Pro & 8T Cross Device Development] gaww:
I had used xXx' installer.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Burt Squirtz:
having an installer has nothing to do with whether there's a recovery partition or not. what it does have everything to do with, is being able to flash on your phone without being next to being a PC - which is a godsend.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
No. The installer is meant for those phones WITHOUT a recovery partition. Like on the 7 pro, you flash a rom and twrp gets deleted, so you flash installer after rom to KEEP twrp. One the 8 pro, since we HAVE a recovery partition, flashing a rom does NOT delete twrp so we don't need to flash the installer to keep it. See below for 7 pro exqmple
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Burt Squirtz:
no the installer is meant for people that want to easily install TWRP without being near PC my friend. it allows you to flash a new version of the os, and keep TWRP .
[OnePlus 8 / 8 Pro & 8T Cross Device Development] krakout:
Hello guys!

Perhaps silly question, but I don't remember... can I install Magisk and root if I just boot into TWRP, without actually flashing it?

Brand new OP8 here :)

Thanks!
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lossyx:
You can use an app like flashify to do that. (Although the app hasn't been updated in a while).

There was a zip though, somewhere in this thread I think that could automatically reflash twrp after an update, but you'd have to replace the TWRP inside the zip (if you wanted a new version).
[OnePlus 8 / 8 Pro & 8T Cross Device Development] gaww:
When I was on stable OS, it did delete TWRP, but it was on oneplus updates only.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] goRt:
Yes
[OnePlus 8 / 8 Pro & 8T Cross Device Development] krakout:
Thanks. I always had custom recovery, but nowadays it's not as useful...
[OnePlus 8 / 8 Pro & 8T Cross Device Development] keeratsawhney:
Waiting for stable update. Without Format data and other features my phone feels Bird without wings :/ TWRP can only mend way to development for this device. Waiting Eagerly.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Imprezzion:
Am I doing something wrong or is this TWRP supposed to go into crashdump mode when flashing it onto OB2 android 11. Not that I need TWRP for anything, I can flash ROM from local upgrade and kernel through FKM but for making a nandroid backup and such i still prefer to have a working TWRP lol.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] c_86:
Did you even read any of the last 3 or 4 pages ?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] gaww:
If you want TWRP now, you have to downgrade, but it will wipe data.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Ok, so since twrp is opensourced and this dev has already said he has fixed the wipe data issue, I'm going to compile this for us
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Burt Squirtz:
this is great. please do that

I hope you mean Android 11, as 10 is basically dead^
[OnePlus 8 / 8 Pro & 8T Cross Device Development] krakout:
I'm in the same boat - just got my OP8 and updated to OB2, but instead of trying to flash TWRP I merely try to boot into it in order to install Magisk. Needless to say, I get the crashdump and I'm left out of Root options?? :(

Basically I stupidly, foolishly jumped into it without thinking there might not be a root option just yet :D
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
I'm mainly worried about Android 10. Android 11 was just recently released and not even stable in our device yet. Probably won't even go stable till December-January
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
I mean, I think we would all like to have a twrp that fully works and then can be upgraded when 11 is stable enough
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Imprezzion:
There is. As long as your bootloader is unlocked you can flash a kernel through ADB or FKM/EXKM that is pre-patched for magisk canary. I don't use TWRP either. I just use FKM and flashed the A11 version of blu_spark kernel and used magisk canary.

Works fine, even passes safety net and all.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] krakout:
In the end I did it with a pre-patched boot.img (though for another device version). Pretty sure it doesn't pass Safetynet...

Pre-patched kernel are news to me!!! Perhaps I should revert to stock and try that...
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Flapjack:
I've been considering going to 11 (OB2) myself, but not if root is not working. Honestly, I can live without TWRP until it's rock solid, but I do absolutely need root.

The only reason I'm seriously considering the beta A11 release is because need dual SIM working. I'm pissed that it's not working in A10.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Imprezzion:
Yes, it does. This is with blu_spark but stock patched OB2 kernel passes fine as well.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Burt Squirtz:
LOL ob2 is entirely stable. and rootable. with tons of custom kernel options already..

not to mention smoother, faster, and apps open up much quicker.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Ob2 is NOT full stable android 11. It's Onepluses way of testing the transfer in their settings and customization to Android 11 and seeing if it works. Hence the name beta. Which means more and more changes that COULD cause issues with root and recovery. Which means OB3 could mess up twrp. Or so could stable OOS 11
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Burt Squirtz:
Root works perfectly. and there's custom kernels which are far better than stock.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] c_86:
No one was saying ob2 was the staples build. He's saying it staples enough to run as a daily and is rootable
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dlads:
According to the OP format data is not functional.

But is wipe data working?

As I remember it, that should be all that's required to flash a ROM, or would a second recovery be required for the wipe process?

Thanks
[OnePlus 8 / 8 Pro & 8T Cross Device Development] keeratsawhney:
Old Rom Flashing Process is no longer valid, You will have to use fastboot commands to flash rom.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dlads:
Fastboot wipe didn't always work.

So I suppose another recovery is required as I said.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Burt Squirtz:
lmao james, even the guy with not the best English just above understood what I meant. it's completely stable and working perfectly. I'm not saying it's literally labeled as a stable build. I think you're too caught up on the word 'beta' thinking that it's inferior. you'd be wrong.

there's no reason not to be on OB2 right now.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
You guys completely missed my point lol. I'm not talking about the rom itself. Ok let's put it this way. If the dev of this thread or myself create twrp for Android 11 ob2 this very moment. It could work. Yes. BUT. If OnePlus decided to do some major changes with OB3, twrp may NOT work and will have to be updated AGAIN and could be harder to get working. Then if they do ob4, same thing. And same thing with full release of android 11. No point in creating twrp that is possibly going to have to be worked on constantly. Better to wait till the OOS 11 is released and ha e twrp fully working along with magisk than to keep messing with it. If I create twrp for android 10, I already know it will work with any and all android 10 roms and then just update it 1 time once android 11 is fully released for us
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Flapjack:
That's a helluva lot different than what you said (which was you saying OB2 is not stable). I can see why they are confused.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
I highlighted the area where I said the exact same thing
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Flapjack:
I completely understand what you *meant*. I'm just pointing out how your original wording was confusing and easy to misinterpret.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] krakout:
Our profiles are very, very similar! Wanted to go to 11, absolutely want root, don't really care about TWRP and I need dual SIM :D

You're right. I checked later and it was pasing SafetyNet, I must have checked at some other point during the process... Ok, kernels here I come :D
[OnePlus 8 / 8 Pro & 8T Cross Device Development] mauronofrio:
TWRP 3.4.0-14 for OnePlus 8/8 Pro (instantnoodle unified):

Fixed Format Data;

General Fix and Improvements;

TWRP 3.4.0-14 by mauronofrio
[OnePlus 8 / 8 Pro & 8T Cross Device Development] keeratsawhney:
Does this has A11 Support ?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Gordietm:
Deleted
[OnePlus 8 / 8 Pro & 8T Cross Device Development] mauronofrio:
Not for now
[OnePlus 8 / 8 Pro & 8T Cross Device Development] 4ndychu:
Qualcomm crashdump after flashing custom rom

TWRP is working fine when I am on the latest stable stock ROM but after flashing the unofficial lineageOS or carbonOS ROMS (only ones I've tested) and then rebooting into TWRP to flash GAPPS I always end up with a Qualcomm crashdump unable to boot into TWRP, the ROMs themselves are working fine though when I boot it up.

When I revert to stock TWRP works normally again.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] mauronofrio:
Stock TWRP?

I think is a kernel issue, i will investigate on it
[OnePlus 8 / 8 Pro & 8T Cross Device Development] 4ndychu:
Sorry forgot to add a comma, I meant after reverting to the stock rom, TWRP starts working again without issues.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Did you try Resurrection Remix rom? Gapps are included in it. This way you can narrow your issues
[OnePlus 8 / 8 Pro & 8T Cross Device Development] 4ndychu:
Thanks, I'll give that a try but I'll still need TWRP to install magisk afterwards.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Flash1337:
[MENTION=4712355]mauronofrio[/MENTION]

Might be a Weird question, but why would one format data? Wouldn't it fix any error etc, just to flash the rom?

Thank you for this update tho, really appriciate the work you do.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Because let's say the rom you're using upgrade it's android version, or changes to a new base. Your current rom settings, apps, etc could **** it up and cause it not to boot or reboots

And also moving from OOS to Custom you HAVE to wipe data or nothing will boor
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Kookitza:
RR for OP8P? Where? :eek:
[OnePlus 8 / 8 Pro & 8T Cross Device Development] FreshlyBaked 420:
Check this thread

https://xdaforums.com/oneplus-8-pro/help/resurrection-remix-8-pro-t4160289
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Flash1337:
I see, thank you for clearing that up:good::)
[OnePlus 8 / 8 Pro & 8T Cross Device Development] scott45333:
You can adb sideload magisk with AOSP recovery.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dlads:
Can do it in fastboot. Fastboot flash boot.img (name of boot IMG)

And obviously the slot you're flashing it to.

No need for twrp for root
[OnePlus 8 / 8 Pro & 8T Cross Device Development] RandomPooka:
Just trying to make sure I'm clear on the super partition. It sounds like LVM dynamic partitioning for system a and b, vendor a and b, etc.

Basically, all the partitions that you don't need to necessarily back up, since you can restore them by flashing the ROM that provided that partitioning structure to begin with.

I'm assuming that custom ROMs have to obey the existing partition setup inside the "super" partition, or risk rendering the a/b partition unusable for the other slot? Or, do they rewrite the partition table appropriately to allow your off slot to be booted successfully?

Either way, I've never bothered backing up and restoring system and vendor. It's easier to reflash the ROM than to have a redundant backup of something that is never mounted R/W on my device.

I would like to know where the persist.img is stored. Does it live inside or outside of the super partition? On the T-Mobile variant, it seems that persist.img and modem.img are crucial for getting fingerprint sensor and radios working properly, respectively. Modem is clearly a rigidly defined physical partition. Is persist also?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] osm0sis:
You can check in /dev/block/mapper to see which are part of super :good:
[OnePlus 8 / 8 Pro & 8T Cross Device Development] RandomPooka:
Wonderful! Thanks for showing me where to look
[OnePlus 8 / 8 Pro & 8T Cross Device Development] PingPawan:
OOS 11 stable build is released today for Indian Variants. I am looking for recovery which I can use to flash Magisk 21.

twrp-3.4.0-14-instantnoodle-unified-mauronofrio is booting to crash dump.

Any help is appreciated. I need to be rooted anyhow. Boot loader is unlocked already.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] k4ustu3h:
You can extract the boot image from the OTA and patch it with Magisk Manager, then flash it from ADB.

That's how I got root access in the Open Beta.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] PingPawan:
Can you help me with extracting the boot image from Stock OOS 11 please?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] k4ustu3h:
You can find the instructions here

For Android:

https://xdaforums.com/oneplus-6/how-to/tutorial-android-ota-payload-dumper-t4061799

For PC:

https://xdaforums.com/nokia-7-plus/how-to/guide-how-to-extract-payload-bin-ota-t3830962

If you need more help feel free to ask.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] PingPawan:
Can you please share the Stock and boot image if you don't mind. I am Stock OOS 11
[OnePlus 8 / 8 Pro & 8T Cross Device Development] k4ustu3h:
Ok I'll try when I get home, and we should continue this discussion in PM as this isn't the thread for this and I don't want any problems with the mods ?.

And you have the Pro or 8?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] nnwwtt:
Ugh… so I just did that for my EU 8 Pro (using the extractor on pc, and the global rom that xda links patched with magisk 21 from within OxygenOS 11 stable).

Now the device boots into a black screen (after finishing a prolonged boot animation, and crashing out/rebooting within a minute), and what's worse, reflashing the unmodified boot.img doesn't fix it.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] k4ustu3h:
You just flashed a Global boot image in an EU ROM, that's where you messed up. The only options now I think are to ask someone with the EU OxygenOS 11 to provide you with the stock boot image, wait for the download link or use the Unbrick Tool.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] rahulcasper:
Let the device keep rebooting like that for 10-15 minutes, after 6-7 failed boot attempts the device automatically switches back to the old slot which was working. Or if you can switch slot through fastboot then that works as well. Onve you're back to your previous working slot, just flash the full update again and keep in mind to extract the stock boot image before you flash a patched magisk boot img just in case you mess up.

---------- Post added at 03:13 PM ---------- Previous post was at 03:11 PM ----------

You can also use payload dumper and extract the boot.img from the EU zil on your PC. If you don't know how to I'll be happy to provide it to you if you cna link me the update you flashed. I'll extract and send it to you
[OnePlus 8 / 8 Pro & 8T Cross Device Development] nnwwtt:
Thing is, there doesn't seem to be a EU rom? The list just mentions the global one.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] k4ustu3h:
I just posted the links with instructions for the boot images for OnePlus 8 (Global) here.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] crazynapkinman:
Please! We need this coherent guide put together. There is WAY too much info all sparsed throughout this and all the other related threads for OP8 rooting\twrp\rom.

Can anyone help us out here??