yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 & 7 Pro Cross Device Development] kold11:
Unfortunately this recovery (TWRP-3.5.1-guacamole-Nebrassy-3.img) is not working properly for me.

I can't make full backup (esp. data).

I get error: createTarFork() process ended with ERROR: 255

when backing up data

from recovery.log:

failed to lookup fscrypt tar policy for '/data/vendor_ce/0' - '0f298d4b000000000000000000000000'

I:Error adding file '/data/vendor_ce/0' to '/data/media/0/TWRP/BACKUPS/ff8f5f97/2021-06-13--21-29/data.ext4.win000'

Error creating backup.

I thought is related to this problem. I had guest user but deleted it but I'm getting the same error even with main user (user 0).

Any ideas? What is wrong?
[OnePlus 7 & 7 Pro Cross Device Development] blas4me:
Root wouldn't stick, so I had to patch my boot.img. Then followed the instructions, and updated magisk once booted. Haven't tried a backup yet, phone was down long enough trying to get perma-root.
[OnePlus 7 & 7 Pro Cross Device Development] lollyjay:
Anyone else with this TWRP error on backup?

I:addFile '/data/app' including root: 1

==> set selinux context: u:object_r:apk_data_file:s0

failed to lookup fscrypt tar policy for '/data/app' - '1a6a3c6a000000000000000000000000'

I:Error adding file '/data/app' to '/data/media/0/TWRP/BACKUPS/6d11274b/2021-06-14--08-54-32/data.ext4.win000'

Error creating backup.

I:ERROR tarList for thread ID 0

Error creating backup.

I:InfoManager saving '/data/media/0/TWRP/BACKUPS/6d11274b/2021-06-14--08-54-32/data.info'

createTarFork() process ended with ERROR: 255

Backup Failed. Cleaning Backup Folder.
[OnePlus 7 & 7 Pro Cross Device Development] immppa:
Opening post says:

bugs:

backup/restore is unreliable
[OnePlus 7 & 7 Pro Cross Device Development] dianoandr:
In the first post of thread, the only bug of this recovery is clearly described:

bugs:

backup / restore is unreliable

so I don't think that, at the moment, the questions regarding errors related to the backup function, can have a decisive answer. 😉
[OnePlus 7 & 7 Pro Cross Device Development] osm0sis:
PSA: -3 seems to have broken adb. -2 works fine. (y)
[OnePlus 7 & 7 Pro Cross Device Development] imaGine00:
Hi there :-)

As soon as I boot on a ROM, this twrp stays unencrypted and don't propose me to put my password to decrypt and use all functions. What did I miss ? I don't know where to look for ??

And where can I find recovery ramdisk ? I'm on dotOS unofficial and Magisk says : "ramdisk: no"

thank you in advance, you made a super work :-)
[OnePlus 7 & 7 Pro Cross Device Development] khalisz:
I think you have to relock and then unlock the BL (full erase, backup) and flash twrp and flash rom normally you'll be encrypted.

What's dotos ?
[OnePlus 7 & 7 Pro Cross Device Development] imaGine00:
like totally relock the phone and then unlock it again ???

'cause I tried format data, then flash official twrp and oos10, it works OK.

I only get the problem when I try to work with this twrp and oos11 or custom A11 rom (like DotOS 5.1.1 ;-) )
[OnePlus 7 & 7 Pro Cross Device Development] wartomato:
Same here. 🤗
[OnePlus 7 & 7 Pro Cross Device Development] osm0sis:
Quoting Nebrassy in the TWRP Zulip: "Classic, I fix fastbootd breaking mtp, I fix sideload breaking adb" :p

So it's pick your poison for now! ;)
[OnePlus 7 & 7 Pro Cross Device Development] aNGERY:
thanks pimp
[OnePlus 7 & 7 Pro Cross Device Development] syzw:
Can I install Android 11 ROMs zip on OOS 11+ this twrp?
[OnePlus 7 & 7 Pro Cross Device Development] dewin_prins:
How did you install ? im using pixel experience and im stuck on the Google boot screen..
[OnePlus 7 & 7 Pro Cross Device Development] wp007:
Will the Magisk Modul TWRP A/B Retention Script work flashing it after OTA install before rebooting?
[OnePlus 7 & 7 Pro Cross Device Development] osm0sis:
It should.
[OnePlus 7 & 7 Pro Cross Device Development] dewin_prins:
i installed pixel experience on my oneplus 7 pro with this version of twrp but problem is now it is stuck on the Google boot screen when i want to go back to twrp it goes into the pixel experience recovery and have to flash twrp over again. The rom will not boot at all
[OnePlus 7 & 7 Pro Cross Device Development] Nebrassy:
build for FBEv2 encryption roms, only use this if you're on a custom rom and the other builds don't decrypt for you

Downloads for : OnePlus OnePlus 7 Pro | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com
[OnePlus 7 & 7 Pro Cross Device Development] jaggillararla:
Nice. What ROMs has this ?
[OnePlus 7 & 7 Pro Cross Device Development] famewolf:
Derpfest
[OnePlus 7 & 7 Pro Cross Device Development] Dark Fear:
hi there, sorry if its a silly question .. its been a while since i flashed roms...

so i'm on oos 10 OB19 . and want to upgrade to oos11 ob5 . are these the right steps?

1. flash new twrp 11 recovery

2. flash oos 11 (+magisk on both slots)

3. done!
[OnePlus 7 & 7 Pro Cross Device Development] textbook:
I am in the same position as the person above my comment. Can someone please give me instructions?

I am on a GM1917 with OxygenOS 10 Open Beta 19, and I want to jump to OxygenOS 11 Open Beta 5.

Is this instruction my best path? https://xdaforums.com/t/recovery-11-unofficial-teamwin-recovery-project.4289455/post-85157715

Any advice from someone that has already updated would be highly appreciated, especially if you have a GM1917.

EDIT:

I installed the OOS 11 OB5 through OTA and then I did not reboot.

Then I installed Magisk in the Magisk app for both the current slot and slot_b.

Then I rebooted.

I was in my phone and nothing was wrong, then I booted into fastboot and I connected my phone to my computer.

Then I installed this version of TWRP just like the original post says.

Then I rebooted.

NOW IT BOOTS ONLY INTO THIS VERSION OF TWRP!!!!

Also it shows slot_a as having no OS to boot into. And it seems like slot_a still has my old version of TWRP on it.

EDIT 2:

I fixed the issue by going back into Nebrassy's version of TWRP and selecting fix bootloop. But there is still no OS on slot_a and reboots take a little longer than before. But the performance after I am inside my phone is pretty good.

Is this how things are meant to be? How can I restore slot_a? How can I install this version of TWRP to slot_a?
[OnePlus 7 & 7 Pro Cross Device Development] midgo12:
This is what I did to install the latest version of OOS 11 and keep root and this version of TWRP.

Maybe it will help you.

1. Install OTA update as a local upgrade but DON'T REBOOT.

2. Open Magisk and install to direct install DON'T REBOOT.

3. Open Magisk again and install to inactive slot NOW REBOOT.

4. After reboot you should still be rooted and have the latest OTA update with stock recovery.

5. Use phone stock recovery to boot into bootloader mode.

6. Use your PC with adb to flash nebrassy 2 TWRP image in the phone bootloader mode.

7. When in TWRP go to Advanced > Flash Current TWRP.

8. Flash latest Magisk (have this .zip file in download folder already) again to keep root.

9. Reboot and enjoy latest OOS11 version with TWRP and rooted.
[OnePlus 7 & 7 Pro Cross Device Development] linuxares:
Can confirm success with "DerpFest R for OnePlus 7 Pro".

Needed to use the FBEv2 version.
[OnePlus 7 & 7 Pro Cross Device Development] Dark Fear:
i've followed this method but stuck on bootloop. apparently some of my magisk modules didnt like android 11 .. so i'd advise everyone to disable them first.

btw if you stuck in bootloop just flash this recovery and uninstall magisk, boot , re install it again and you'll be fine

thank you midgo12 for the steps..!

----

and for anyone wondering, no its not worth it.. stick to your oos10 . i haven't faced any bugs yet but its just not as fast. when you click on a notification it'll take 1 second to react and open it. and its kinda annoying. apparently its how OOS11 is even on OP8 / OP9 ive seen people complaining
[OnePlus 7 & 7 Pro Cross Device Development] theerachai:
Will this keep phone encrypted?
[OnePlus 7 & 7 Pro Cross Device Development] midgo12:
Yes...

Mine remained encrypted...
[OnePlus 7 & 7 Pro Cross Device Development] theerachai:
Thank you for this long waiting twrp for Android 11

Here is step I used to install.

My rom is Encrypted OOS11 stable , magisk root.

1. Boot to boot loader.

2. Fastboot boot this_twrp

3.When in TWRP go to Advanced > Flash Current TWRP.

4. Flash Magisk

5 Reboot system.
[OnePlus 7 & 7 Pro Cross Device Development] WesTD:
Can i install oos11 both slots with this TWRP?
[OnePlus 7 & 7 Pro Cross Device Development] khalisz:
Yes absolutely, install it on each partition A and then B or B then A.

- I prefer A and then B.
[OnePlus 7 & 7 Pro Cross Device Development] Gemino2:
Hi - i am bit desperate. Trying to recover my data from a botched LineageOS update. I tried both versions of your TWRP (booting from fastboot and flashing as well) - no joy. It wouldn't decrypt the data partition. I get:

"Password failed, please try again!"

"Failed to decrypt data."

I only had a simple 4-digit PIN setup.

Am I doing something wrong?
[OnePlus 7 & 7 Pro Cross Device Development] Gemino2:
UPDATE: something worked! I think on the normal version (not the FBEv2). I tried the ADB SHELL commands from this article: https://android.stackexchange.com/q...-over-adb-and-recovery-twrp-lineageos-16-redm

Initially - it did n't work - I had the following result:

"Attempting to decrypt data partition or user data via command line.

Failed to decrypt data".

But then after a while I went back to Mount menu and Select Storage - and then I saw the Internal Storage SIZE being reported correctly and voila!!

Perhaps it's because I have the 256GB variant and it took a bit longer to decrypt it?
[OnePlus 7 & 7 Pro Cross Device Development] abbassbhai:
Guys i am on stock oos 11

Just unlocked bootloader and want to install a custom rom , havoc or dot os.

Can anyone pls explain how shud i proceed and which recovery should i flash?

Steps in brief would be appreciated

Thanks
[OnePlus 7 & 7 Pro Cross Device Development] rodken:
http://

Is there an unofficial version for OP8 OOS 11 available?
[OnePlus 7 & 7 Pro Cross Device Development] wartomato:
Not by now... And wrong thread. 😉
[OnePlus 7 & 7 Pro Cross Device Development] aprojanos:
after fastboot boot twrp.img,

after flash magisk23,

reboot and the phone.apk fc...
[OnePlus 7 & 7 Pro Cross Device Development] dianoandr:
If you have a "call recording" magisk module installed, try removing it.

There should be no connection with twrp installation, while a fc like yours, happened using magisk 23 together with "call recording" module.
[OnePlus 7 & 7 Pro Cross Device Development] aprojanos:
Call recording is not installed.

I reinstalled a stock rom 11.

Then I flashed twrp.img [TWRP-3.5.1-guacamole-Nebrassy-3].

Done!

Then I reflashed Magisk23, but phone.apk fc...

Again.
[OnePlus 7 & 7 Pro Cross Device Development] aprojanos:
if i make then slot "a" to active, then I reboot, phone.apk fc.

then i remake slot "b" to active, phone works done, but not rooted.
[OnePlus 7 & 7 Pro Cross Device Development] dianoandr:
Do you have modules installed?

In my opinion the problem comes from magisk or from some module, so it would be useful to try to restart with all the modules deactivated and, if this does not solve, you could try to reinstall magisk from recovery but this do it after uninstalling all the modules.

The steps to follow should be:

Firmware installation

First complete boot

Restart in fastboot mode and start recovery twrp from img

Install recovery twrp

Root with Magisk installation

Reboot
[OnePlus 7 & 7 Pro Cross Device Development] midgo12:
I used this app v9.2 on the latest stock OOS 11 installed through latest Magisk as a Magisk module (see root method Magisk Spoiler area) in the post and call recording works fine for me.

https://xdaforums.com/t/enable-nati...on-root-app-magisk-module-adb-tasker.3634292/
[OnePlus 7 & 7 Pro Cross Device Development] aprojanos:
No modules installed.

1-4. Ok, but when i rooting with magisk, and reboot, then phone.apk fc.
[OnePlus 7 & 7 Pro Cross Device Development] dianoandr:
The steps to follow should be:

But when you install stable firmware, do you wipe the phone? Full wipe with mass memory formatting...
[OnePlus 7 & 7 Pro Cross Device Development] aprojanos:
I didn't delete it because I don't know what to select. :-(

-Dalvik

-metadata

-Data

-Internal Storage

-USB storage

-Vendor
[OnePlus 7 & 7 Pro Cross Device Development] dianoandr:
I would start from a clean installation, then data backup, stock firmware installation, factory reset and then twrp and magisk.

But I think we are going too far off topic.
[OnePlus 7 & 7 Pro Cross Device Development] osm0sis:
Did a bit more thorough testing today, and guac -3 is the winner because of adb sideload working. (y)

guac -2:

- adb works without MTP

- adb works with MTP

- MTP works

- adb sideload broken

guac -3:

- adb broken without MTP

- adb works with MTP

- MTP works

- adb sideload works
[OnePlus 7 & 7 Pro Cross Device Development] iamMG:
I am too stupid to figure this one out myself. Can you explain why using the same password causes the Parallel partition (user 999) to not be backed up? Shouldn't it actually become easier to decrypt?

Also, on an unrelated note, I am on OOS 10.3.8 and official TWRP 3.5.2. I want to try out OOS 11 and your TWRP.

If I back up my entire OS using official TWRP, then upgrade to OOS 11 and your TWRP, but later don't like OOS 11, can I downgrade to OOS 10.3.8 (using your TWRP) directly using the backup image files? Will that work?
[OnePlus 7 & 7 Pro Cross Device Development] midgo12:
From page 1 in the devs notes.

bugs:

backup/restore is unreliable.

Several post here including mine refer to a "255" error message when trying to create a backup using this TWRP version.

I have done what you suggest but I had to restore back to stock 10.3.8 first using the MSM tools in this post.

https://xdaforums.com/t/op7pro-late...0-gm21ba-collection-of-unbrick-tools.3956595/

Then unlock bootloader, flash latest official TWRP .img using adb etc.

Reboot to TWRP recovery to make sure it is functioning correctly.

Then copy over the last 10.3.8 TWRP backup made before upgrading from my PC back to the phone and also the latest official TWRP.zip and restore the backup, flash TWRP zip and latest Magisk if you were rooted.

A bit of stuffing around involved:///

I am happy with the latest OOS11 EU version and it is fine for my needs so I am staying put for now:)
[OnePlus 7 & 7 Pro Cross Device Development] iamMG:
Thanks @midgo12 for the prompt reply. :)
[OnePlus 7 & 7 Pro Cross Device Development] moscic:
I have LOS18.1+Gaps+Magisk installed on encrypted phone. I installed Nebrassy recovery with fastboot and can decrypt data with it, but when I try boot to system it always booting to twrp recovery, so I flashed LOS recovery image from twrp and then system booted properly. Does anyone know what the matter is?
[OnePlus 7 & 7 Pro Cross Device Development] wartomato:
The fastboot install might be the problem. If you just boot it from PC and flash it from within the booted twrp via the "new" flash option, it should be fine. Otherwise it broke the ramdisk with Magisk for me.
[OnePlus 7 & 7 Pro Cross Device Development] moscic:
So what should I do?
[OnePlus 7 & 7 Pro Cross Device Development] wartomato:
I just wrote what it solved for me. I flashed TWRP from within nebrassy's TWRP by using the option to "flash currently booted TWRP" from advanced settings. 🤷
[OnePlus 7 & 7 Pro Cross Device Development] osm0sis:
Just like any flash TWRP option or zip you need to flash Magisk again after.
[OnePlus 7 & 7 Pro Cross Device Development] DLordStarkiller:
I get an error E:Unable to decrypt FBE device i've done wipes formats everything and i dont know what to do because i dont have access to internal storage, only when i use an older version of another unofficial twrp i can get access to internal storage (btw this is with the latest release from this post and im trying to install oos11)
[OnePlus 7 & 7 Pro Cross Device Development] @soka:
Did you try the non FBE version. Normal version works fine with OOS 11
[OnePlus 7 & 7 Pro Cross Device Development] da4kgr3y:
Confirming, backup is not working
[OnePlus 7 & 7 Pro Cross Device Development] esi2121:
is this procedure work in A11 , for working twrp after ota update>??
[OnePlus 7 & 7 Pro Cross Device Development] didymus:
When I do `Flash Current TWRP` and was running OOS11 what am I supposed to do after that? If I flash the OTA then I loose TWRP. If I don't flash it then I'm just stuck in a TWRP bootloop. Also, what does "reflash it now" mean? Does that mean flash the Magisk-patched `boot.img`? So then how do I keep TWRP? I don't know how to keep both TWRP and root. The closest I got was using the TWRP off Twrp.me, getting the OTAs, using A/B Retention Script in Magisk Modules then selecting the OTA option in Magisk. Only problem with that was the second I rebooted after the 11 OTA it bricked itself and gave me a flashing TWRP logo.

What am I missing? I'm having a lot of trouble with this and it's never been this hard before.
[OnePlus 7 & 7 Pro Cross Device Development] @soka:
Flash it now refer to , if you ae using a custom kernel then flash it now & the same for Magisk.

If you dont use a custom kernel, but you just want root. then after flashing twrp.img in recovery just flash magisk and reboot.
[OnePlus 7 & 7 Pro Cross Device Development] Lukalion:
when I do "Flash current TWRP" i get this:

Unpacking Boot...

Backing up Boot..

Error unpacking image.

Im on GM1913 OOS 11.0.1.1 with magisk patched boot.img. Do I first have to flash normal boot.img in fastboot before doing "fastboot boot twrp.img"?

Edit: i just tried that and that did not help..
[OnePlus 7 & 7 Pro Cross Device Development] AngryUserLG:
having trouble getting TWRP to work properly ive done this with both builds and it doesn't seem to flash for some reason any help? i can get OOS 11 fine with this but it looks like every time i want to use Twrp i have to reflash it every time with my computer since it won't stick
[OnePlus 7 & 7 Pro Cross Device Development] Nebrassy:
Try going into backup > refresh sizes before doing flash current twrp
[OnePlus 7 & 7 Pro Cross Device Development] Lukalion:
Thank you that did the trick for me. seems like i have to do this everytime i boot to twrp. magisk23.zip flash worked flawlessly in trwp.
[OnePlus 7 & 7 Pro Cross Device Development] AngryUserLG:
seems this issue went away when i tried flashing it in the latest OOS 11 build and after getting my phone setup all the way
[OnePlus 7 & 7 Pro Cross Device Development] HarisJ95:
There are certain roms which ship their own recovery. How can I retain the current twrp without twrp installer zip?
[OnePlus 7 & 7 Pro Cross Device Development] razibus:
In firt page ==> 2. go to Advanced > Flash Current TWRP
[OnePlus 7 & 7 Pro Cross Device Development] RogerNZ:
Ignore
[OnePlus 7 & 7 Pro Cross Device Development] Bleuzen:
Is there actively work going on on the backup problem or will this just never work on OOS 11?

If so, are there any other alternatives besides TWRP for full backups?
[OnePlus 7 & 7 Pro Cross Device Development] xtzy:
After updating the OnePlus 7 firmware to version 11.0.2.1 TWRP-3.5.1-guacamole-Nebrassy-3 via FastBoot is installed, but when trying to Edvanced / Flash Current TWRP gives the error "File or directory not found". How can I fix this?
[OnePlus 7 & 7 Pro Cross Device Development] kodrnusa:
I am still on android 10 with magisk installed. I would like to upgrade to android 11 (it notifiys me every dsy to upgrade). What is the procedure? First flash the android 11, and then through magisk this twrp, then reboot? Or something else?
[OnePlus 7 & 7 Pro Cross Device Development] ForeverYoung_ru:
Got the same problem. TWRP doesn't ask for PIN to decrypt (and manually doing decrypt fails)

Tried also FBEv2 version, it didn't help
[OnePlus 7 & 7 Pro Cross Device Development] osm0sis:
They're working on fixing this. For now you need to boot the ROM once first so it can set up some directories.
[OnePlus 7 & 7 Pro Cross Device Development] midgo12:
I haven't received the latest EU version of 11.0.2.1 yet.

I normally install the update rom through Oxygen updater and don't reboot.

I then install Magisk twice once as a direct install and don't reboot.

Then install it again to the inactive slot.

I then reboot.

I then boot into the standard rom bootloader to use fast boot.

I then flash the TWRP image through adb.

When in TWRP I then follow the process through the advanced menu.

It has always worked so far.
[OnePlus 7 & 7 Pro Cross Device Development] Nimueh:
If the annoying update notification is the only reason you want to update then simply get rid of it and stay on the much better 10. Either freeze (disable) it in Titanium Backup or similar apps or use adb to remove it:

removal : pm uninstall -k --user 0 com.oneplus.opbackup

restore : cmd package install-existing --user 0 com.oneplus.opbackup

I froze it with TiBu months ago and don't plan on defrosting it again, like ever :LOL:
[OnePlus 7 & 7 Pro Cross Device Development] HippoMan:
I totally agree. A11 is much more of a headache than A10 in terms of Magisk, TWRP, and a number of its "features".
[OnePlus 7 & 7 Pro Cross Device Development] chogau1:
What app do you freeze?
[OnePlus 7 & 7 Pro Cross Device Development] Nimueh:
Just search for "update" in TiBu and you'll see the system Update with the long number after it.
[OnePlus 7 & 7 Pro Cross Device Development] Spacewulf:
Is there an ETA on the fix for OOS 11.0.2.1? Just wondering and adding this so I can get notifications as to when there's an update.
[OnePlus 7 & 7 Pro Cross Device Development] josepepowner:
Updated to 11 to test it out and used this recovery. Everything is working fine for myself. For now. I'm on the newest 11.0.2.1.

My process from 10 was installed 11. Booted to stock recovery and cleared everything. Booted to 11. Repeated the last two things again. Once booted I rebooted and fast booted to the twrp here. Installed using the install current twrp method. Then flashed the magisk 23 APK as it's now a flashable APK. Booted.

I stopped using xXx mod as I noticed on install it wasn't actually getting rid of everything and over time it caused strange stutters. After removing it the OS is great.

For magisk flashes I have the wifi bonding, busy box for Android and overlay mount fix. At least for things that would cause issues. I also use LSpeed app.

Will see how the week goes but not too bad so far.
[OnePlus 7 & 7 Pro Cross Device Development] Spacewulf:
My twrp wasn't able to decrypt the data partition, did you find this at all?
[OnePlus 7 & 7 Pro Cross Device Development] destinypham:
Already fixed cannot Flash Current TWRP or Install Recovery Ramdisk, I just jump from Slot A to Slot B and Slot A again, and it can Flash Current TWRP like normal.
[OnePlus 7 & 7 Pro Cross Device Development] midgo12:
Hi Guys.

Before I format my phone back to 10.3.8.

I tried to install TWRP after upgrading to latest OOS 11.0.2.1 out today.

Installed fine but now when I try to flash current TWRP.

I get ERROR 1 failed to create ramdisk to flash.

I am also now stuck in TWRP boot loop.

Unable to mount storage.

Any ideas...
[OnePlus 7 & 7 Pro Cross Device Development] Spacewulf:
Managed to get it working after a failed adb sideload, it installed just fine.
[OnePlus 7 & 7 Pro Cross Device Development] @soka:
This worked great, I changed the slots from the the booted TWRP a few times, then flashed the TWRP.img from my OTG
[OnePlus 7 & 7 Pro Cross Device Development] RBwai:
What a trick, thank's man!
[OnePlus 7 & 7 Pro Cross Device Development] Pjotrofsky:
It works/installs but the phone won't be decrypted by TWRP (doesn't ask for a password/fails to manually decrypt) and so I can't install for example Magisk....
[OnePlus 7 & 7 Pro Cross Device Development] RBwai:
Use instructions from destinypham, it will work after changes of A to B slot an than change reverse again