yashsingh1/xdaforums huggingface dataset:
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Marcyvee:
So, with that module I can remove it just disabling the module?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] FreshlyBaked 420:
No. It's not a module.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Marcyvee:
I asked if there's a way to boot twrp form terminal without install it and overwrite the stock recovery, as we can do wit fastboot. Is it possible?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Ummmm, yes it is.....
[OnePlus 8 / 8 Pro & 8T Cross Device Development] tfae:
$ fastboot boot twrp_filename.img
[OnePlus 8 / 8 Pro & 8T Cross Device Development] FreshlyBaked 420:
It's a module in that sense, it cannot be uninstalled within magisk. It's just a flashable zip to install
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Just replace with whatever recovery you want.....that's how you can uninstall
[OnePlus 8 / 8 Pro & 8T Cross Device Development] osm0sis:
8/Pro now has official builds thanks to maintainer @infected_ but didn't have the website updates for it committed in time, for any wondering what's up with that.

.img: https://build.twrp.me/twrp-3.6.0_11-0-instantnoodle.img

.zip: https://build.twrp.me/twrp-installer-3.6.0_11-0-instantnoodle.zip
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Are these any different with the update he posted yesterday with the same build number?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] osm0sis:
They're the most recent official Jenkins builds: https://jenkins.twrp.me/view/TWRP Release Android-11/job/instantnoodle-prod/

So that makes them from the 21st. You'll have to md5sum them or something to let us know if there's a difference. Where were they posted? Zulip? I don't see them here.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Page 16
[OnePlus 8 / 8 Pro & 8T Cross Device Development] deepongi:
Let's keep on Rolli'n...! Still need to figure the issues with flashing.

Regards
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
HEY!!! With @osm0sis builds, I can flash AICP!!! Might be luck but I'll test flashing other ROMs when I can
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Yes, I successfully flashed aicp to BOTH slots. Obviously I had to flash twrp after each ROM flash because aicp dev includes a recovery in his ROMs but no issues flashing. Have not tried other ROMs
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Unn113:
Thats great news! Is AICP specifically made for recovery flashing?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dyval:
Bro is the zip flashable within TWRP? Thanks.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] gaww:
Otherwise if not we just fastboot the .img ?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Everyone needs to read!!! The first fee posts tells you what to do.

fastboot flash recovery_a twrpname.img

fastboot flash recovery_b twrpname.img

Twrp updated can be flashed with any zips posted AND using the .img using twrp itself
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Unn113:
You need to read. I asked if AICP dev prepared zip flash able via twrp
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
I literally uploaded pics of me flashing aicp in twrp.......literally answering your question. Aicp will flash inside twrp
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dyval:
Bro you're using twrp b1?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Unn113:
Didn't saw pictures on phone, now I see, sorry for trouble!
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Extreme_Ninja2099:
Thanks for releasing the new twrp 3.6.0 and the thread to how to do a twrp backup + restore! I definitely wouldn't have figured it out for sure. I want to ask... How stable is the new 3.6.0 version of twrp? It's only beta 1, so I want to make sure the basic functions like flashing and backups work before installing it
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Marcyvee:
I'm not up to date: what's this a and b slot stuff? What if I install twrp on just one slot? And whats for the rom? Do I have to install in 2 slots too? I'm a little confused..... o_O
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
All I can say is read.

Use the installer osm0sis posted (I believe page 18 or 17)

Flash with fastboot then use the zip. Is the zip again after you flash a ROM just incsse the ROM flashes a different recovery
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Marcyvee:
Already done. Now I have twrp installed and I know how to remove it, but my questions are the same. I haven't understand what are these 2 slots, and how do they works.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] FreshlyBaked 420:
Google A/B slot phones. Lots of good reads about it.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] gaww:
It did not show "beta" earlier, so may not update the earlier one until it's stable.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dyval:
What roms have you tried to flash successfully so far other than AICP?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Here in a bit, when aicp releases its new weekly, I'll try crdroid 11, Jaguar, and a few a12 ROMs and see if they flash(I think they do since the base is still OOS 11). Others have reported they can flash a12 ROMs also
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dyval:
Thanks bro. I'm wondering if you have tried flashing Evolution X A12..do you modify the rom zip when you flash or you flash the build as is?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Haven't looked but the ROM devs must make the ROM flashable. If they have it set up as a fastboot ROM, or only using payload/ROM installer, twrp may not flash it
[OnePlus 8 / 8 Pro & 8T Cross Device Development] gaww:
I have 2 slightly different sized TWRPs downloaded today - are there any differences as to performance?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] DickyG:
Can TWRP be flashed with Odin?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] musicman5844:
I can confirm that the latest twrp recovery and installer works I just went from aicp to crdroid to havoc to jag and Evo A12 and back to aicp
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Unn113:
Are You using 3.60 beta1 from Infected, or the one posted by Osmosis?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] musicman5844:
Not sure I got it from someone else
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Use the one from osm0sis. Its the most updated. From now on, when infected updates twrp, it will include all changes
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dyval:
Have you tried doing a back up bro or flash back to OOS? Thank you.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] musicman5844:
No and yes flash oos flash installer zip reboot recovery flash oos flash installer zip now your stock with twrp and oos on both slots ready to come back to custom again and when you do come back to custom again reboot to recovery format data flash Rom zip flash installer zip reboot recovery flash Rom zip flash installer zip reboot recovery flash Gapps magisk reboot system
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Marcyvee:
Can we perform a backup of oos stock, flashed a custom rom without perform a full media backup? (and without losing media).

Does restore a backup to oos works?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
I don't understand why people need the backup function that badly. The only time your internal storage is fully wiped with twrp, is if you're going from OOS to custom or custom to OOS. Other than that, you can dirty flash custom ROMs(keeps installed apps and rom settings)or clean flash(factory reset) both of which keeps all your media like music, videos, downloads, etc.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Revenant Ghost:
I'm aware of that, and I used it once in the past. So apparently, using MSM isn't necessary before installing this TWRP? I'm just trying to get some confirmation.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lycidias:
That's right
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dlads:
No you don't mate, it's just writing to the recovery partition / partitions.

So no need, you could install then go back to stock recovery with no affect on anything else.

You're good to go
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
@infected_ is it possible for new twrp's that you change the beta number in the twrp boot splash page also?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] gsser:
i am on evolution x rom. using beta 3 rn. a bug i found is if i flash something like magisk which uses system partition, it doesnt flash.

if i uncheck system read only box it flashes but the problem is before unchecking it and flashing makes partitions list on mounting options disappear.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] deepongi:
added important info on second post regarding backup and restore on twrp.

regards.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Imprezzion:
Haven't managed to sucessfully make a backup in EvoX with this TWRP. Even without any pin/password/FP it keeps saying ERROR 255 CreateTarFork(). I do not have any parallel apps (unless it treats Swift Installer APK's as a parallel app) or multi users set up, no 999 folders anywhere either.

What am I doing wrong? Phone is encrypted unfortunately. Forgot to remove it last fresh install...

It points me to not being able to add /data/misc/ but that folder should be just fine..

Here's the full error.

failed to lookup fscrypt tar policy for '/data/misc' - 'bb56c023000000000000000000000000'

I:Error adding file '/data/misc' to '/data/media/0/TWRP/BACKUPS/fcc22551/2021-10-03--06-24-25_RQ3A210905001/data.f2fs.win000'

Error creating backup.

I:ERROR tarList for thread ID 0

Error creating backup.

I:InfoManager saving '/data/media/0/TWRP/BACKUPS/fcc22551/2021-10-03--06-24-25_RQ3A210905001/data.info'

createTarFork() process ended with ERROR: 255

Backup Failed. Cleaning Backup Folder.

So it has to do with fscrypt which is probably decryption related isn't it?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] deepongi:
already fixed the error 255, but haven't uploaded the patchset.

try this recovery, and report back pls.

recovery.img

drive.google.com
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Imprezzion:
Yup, works fine now. It's backing up now, 12% in. Thanks!
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lossyx:
TWRP doesn't mount logical partitions R/W as far as I'm aware, even on custom ROMs.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] deepongi:
uploaded beta 4.

changelog:

* add usb config from kebab to fix MTP and adb via recovery

* add variable to set policy to FSCRYPT_V1

https://github.com/infectedmushi/android_device_oneplus_instantnoodle/commits/beta-test

regards.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Unn113:
Im preparing to finally flash twrp, I know I have to flash it using fastboot, but then if I want to update to next beta, can I do it through twrp? Does it support flashing to both _a and _b slots? My last phone was OnePlus 5t which didn't have a/b partitions so I'm a bit confused.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lycidias:
Thank you for beta 4 ☺️

Like before, I am getting this error message in the screenshot. I am on Evolution-X with my OnePlus 8 Pro.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] kokanee1:
I'm running Pixel Experience, rooted, on the OnePlus 8. And now it's TWRPed!

Everything is working perfectly - thank you guys!
[OnePlus 8 / 8 Pro & 8T Cross Device Development] deepongi:
Grab me recovery.log
[OnePlus 8 / 8 Pro & 8T Cross Device Development] gsser:
Btw that error is also in beta 2 and 3. Just letting you know
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lycidias:
Here you go ☺️
[OnePlus 8 / 8 Pro & 8T Cross Device Development] deepongi:
but everything works has it should anyway?

you are using evo-x also?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Lycidias:
I think everything is working. Made a successful backup but didn't test restore
[OnePlus 8 / 8 Pro & 8T Cross Device Development] gsser:
Yes. On beta 2 with oos it didnt show that
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Extreme_Ninja2099:
It's not about the internal storage. U can back that up manually, the twrp backup is a way to restore the data that's not in the internal storage. It's basically a way to restore a ROM/OOS like you never left or what it was like before the backup. It's way easier to switch from a twrp backup if you got loads of data/ stuff to set up. Otherwise, clean installing is better. For me, switching ROMs is tiering and a long process to get everything set up and restored.

TWRP backup is just something to have in case u want to switch to another ROM and switch back to or if a mod ur going to install might mess the system up or something to have in case something goes wrong. If any of these things do happen, a TWRP backup is handy especially when u just want to go back to a ROM quickly + easily with everything back and running

Ps. I am coming from a OP6T and that's what the TWRP backup was mainly used for. Idk know if this is the same for the 8 series
[OnePlus 8 / 8 Pro & 8T Cross Device Development] scorpio76r:
I agree, I'm coming from the OP6t also.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Unn113:
Yesterday I spent 4 hours restoring my settings, apps and etc. With backup going back to oos will be minutes
[OnePlus 8 / 8 Pro & 8T Cross Device Development] scorpio76r:
I was using the migrate app to restore from android 9 to Android 11 on the 6t. Could not restore via migrate on this device. Twrp gave error during flash
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Marcyvee:
So, if I backup OOS and copy my backup somewhere else, can I install a custom rom and, if I don't like it, restore OOS with twrp?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Unn113:
TiBu recovery package also doesn't work in my case

In theory yes, but for now it's not working like it should
[OnePlus 8 / 8 Pro & 8T Cross Device Development] rodken:
In the event that the device does not boot up after flashing anything - then what do you do without a fully functional backup,

(1) 'Say a prayer to the MSM Gods'?

Or

(2) Wish that one can perform a restore from a NanDroid?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Marcyvee:
And forgetting OOS, is it possible to choose in what slot install a custom rom? And what about the update? Can a rom provide seamless update? Or we always flash an update through twrp? In this case, it will be flashed on the other slot to prevent bootloops or any other problem?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Extreme_Ninja2099:
Nice! I have been seeing more posts online from op6 series users upgrading recently
[OnePlus 8 / 8 Pro & 8T Cross Device Development] scorpio76r:
We should start a new thread for people like us. 😊
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Marcyvee:
I upgraded from an op3. Is the first time I heard about a/b slots...
[OnePlus 8 / 8 Pro & 8T Cross Device Development] scorpio76r:
Easier to brick now
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Revenant Ghost:
What if you find yourself in that situation without being anywhere near a PC? You're pretty much screwed.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Nope. Just do a clean flash with twrp. Or a factory reset. The ROMs, gapps, kernels, etc are already in storage so no pc needed
[OnePlus 8 / 8 Pro & 8T Cross Device Development] FoxyDrew:
Just because you don't understand it doesn't mean your 2 cents means anything to the people who do understand..

It's a great feature that me, along with (clearly) many other use and enjoy.

Some people jump from one ROM to the next a lot, in which a clean flash and having a stable backup is recommended.

I just don't get it, if a feature is getting asked about a lot, and you don't use it. Happily enjoy the features that you DO use, no need to explain to people you admit you didn't understand why they don't want something that they want.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
That's why I am asking, so I can understand. I've never had to do a backup besides EFS and kernel backups since the very beginning of twrp from day 1.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] FoxyDrew:
But you didn't just ask lol, you also tried to explain to the people that want the feature why it's not necessary. In fact that was the bulk of your reply.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] BillGoss:
What I love about TWRP backups is that they not only restore your apps and their data, but they also restore all your system settings.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] gaww:
Exactly which one - beta ?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] rodken:
That issue would fall back on what @Unn113 posted regarding OP8 users on OOS.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Raiz:
The new "3.6.0-11-b1" version did not work for me (but I think I'm misusing it). I booted it via fastboot while running the first Alpha or AOSPA 12 (Sapphire) to flash some sweet addons and NikGApps. But it's been a long time since I flashed a device, and I had to get myself up-to-date about how A/B partitions work, fastbootd, etc... And the new way of flashing ROMs: fastboot.

So back to my issue: I first flashed TWRP with fasboot (in both slots), then rebooted to recovery. But TWRP couldn't read storage, Cache/Dalvik, etc...

It displayed "(0MB)" next to "storage", the /sdcard folder was empty (when it didn't while running the ROM), and whenever I want to wipe a partition it says "failed to mount [partition]".

I think the problem comes from the fact that TWRP doesn't support the Android 12 encryption scheme, does it ? (because my device is encrypted, and idk how to uncrypt, then re-encrypt (if that's even a thing) the device after flashing the Gapps etc.)

If so, I'm left with one big question, how could I possibly flash stuff to this ROM, or any other Android 12 ROM without the assistance of TWRP. I'm sure there are some ways, but I'm not aware of them as far as I searched.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
Right now there IS no true a12 for 8/8pro. All a12 ROMs are still using OOS 11 as a base, using A11 blobs, etc.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] scorpio76r:
Have you tried the all in one tool? Just curious
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Raiz:
What all in one tool are you talking about? I didn't even know there was one

Can it help in flashing stuff ? that would be awesome!
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Raiz:
So is there a chance I get TWRP working for AOSPA 12? Is this version of TWRP supporting AOSPA 12 since it's based on OOS 11 ? I tried some workaround that used to solve this problem back then (aka format the data partition) but it did not work out, so I'm kinda stuck
[OnePlus 8 / 8 Pro & 8T Cross Device Development] scorpio76r:
Just put in All in one tool for Android in your search bar and, check it out. I have used it before for flashing on the oneplus 6t and, 7. I have not tried it yet on the 8. But, it is designed to work on the 8 too
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
@Raiz

You need to use these.

fastboot flash recovery_a twrp-3.6.0_11-0-instantnoodle.img

fastboot flash recovery_b twrp-3.6.0_11-0-instantnoodle.img

The .zip is an installer you can flash after flashing any ROMs that overwrite twrp with another recovery so you don't lose twrp.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] rodken:
Tool All In One.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Raiz:
Hi, I'm back with some news!

I tried it, but it did the same thing: mounting issue and 0MB Internal Storage

I did this too (that's what I did in the first attempt) but again, the same results.

I went digging and found this guide elsewhere, and it did work (with some exceptions)

Setting a password or a PIN didn't do much, same for decryption (because the partions couldn't be mounted to begin with).

But the changing file system of the data partition to EXT2 and back to EXT4 did work! (the data was erased, but I got "Internal storage (101331MB)" (My OP8 is 128Gb so that make sense).

Rebooting to system after that would make you bootloop or boot back to TWRP

So I tried to format the data, then booted to system.

It booted, so I transferred the zips to my internal storage and went back to TWRP.

When in TWRP again, the memory was (0MB)

So that's enough trouble for me today... If you have any solutions please share them. But for now, and since this seems to only happen with AOSPA, I deem this an AOSPA bug. (i'm sure it has smt to do with A12 encryption process or smt along those lines

One last question: is it possible to flash the NikGApps package through Magisk?

AOSPA has already the Google services so I might be better off flashing only add-ons...

Thanks everybody for you help up until now ;)
[OnePlus 8 / 8 Pro & 8T Cross Device Development] jamescable:
@osm0sis , any input on this? He seems to be the only one

@Raiz , I believe the data partition is supposed to stay f2fs
[OnePlus 8 / 8 Pro & 8T Cross Device Development] rodken:
There is something clearly 'unscrupulous' with your data partition.

Try changing file system to ext2, then reboot the recovery, then do the change back to ext4.

Or

Remove the pattern lock and enable PIN Lock/ Password lock.

Once done, power off your device.

Boot your device into the TWRP Recovery Mode

Enter a new PIN/ Password when prompted.

TWRP Recovery should start decrypting system files of the device now.

Wait for the process to get completed and try accessing your storage.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Raiz:
Well maybe, in fact the first time I flashed AOSPA, I did a mistake. The installation was going great, but when the device was rebooting to fastbootd, I clicked on the powerbutton and it stopped the process. I ended up in crash dump mode, but got out of it and ended up in bootloader mode. From there I just did the flashing process all over againt ("fastboot update ...") and it worked.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] osm0sis:
No idea. I've heard of that issue a couple times but that's about it. Does it work for everyone else? Might be something screwed up on the device and a fastboot format or an MSM would fix it.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Raiz:
I think I'll go with fastboot format, as I'm not able to install the required QD_loader drivers to my windows PC so that MSM tools recognises my phone in EDL mode.

1- Is this what you're referring to (the "fastboot format:ext4 [partition]" command)? Could you detail the whole fastboot format process please? (so I don't get it wrong and brick my phone again lol)

2- And if so, what partition should I format?

3- Should I erase it before formatting (with "fastboot erase [partition]")?

4- And to what file system should I format my partition to? (EXT4 or F2FS, I don't know the regular format of the partitions. If you could check your partition's format on your working OP8 and tell me it would be amazing, unless you know already what format is required for each partitions)

In order for you to have the whole story summed up, here's what I did:

1- Unlocking bootloader [success]

2- Entering the command : "fastboot update [the-aospa.zip]", the flashing begins

Spoiler content hidden.

3- At some point during the flashing process, the phone reboots to fastbootd, but I interput the reboot and instead of booting fastbootd, it just turns off and my terminal returns an error message

4- I try to reboot, it shows the boot logo but end up in crash dump mode

5- I go to sleep (stressed the hell out)

6- I manage to reboot the phone to bootloader mode (with the buttons, no commands)

7- Entering the command : "fastboot update [the-aospa.zip]"

8- I do NOT touch anything

9- AOSPA boots

10- What I believe is AOSPA's recovery mode asks me to format userdata,

I formatted userdata with TWRP I believe (by doing what I described earlier the EXT2 back to EXT4 trick mentioned above).

But appart from that, it's all I've done.

And thanks for your reply!