yashsingh1/xdaforums huggingface dataset:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] TheKnux:
Have you done it? Does it remove the app permanently or just temporarily? Because if it permanently deletes it, then I'll just backup using TB and then skip backing up data for now. I also tried deleting addon.d and then making a backup but got the same error.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] lollyjay:
No. I don't use Parallel Apps. But twrp logs def show what's going on. I asked [MENTION=2055304]maurono[/MENTION]frio if he could modify the code to accept the 999 folders
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] clarkcant:
I thought this issue was fixed with the latest update (not the test build)? I haven't tried a restore yet but the backup worked.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
It's a permissions problem...
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] TheKnux:
So will it be fixed in a future update? That would be awesome since I use Parallel Apps all the time.

---------- Post added at 01:40 AM ---------- Previous post was at 01:39 AM ----------

I took a log but it ended up opening it in Notepad on my PC so I couldn't read jack.

---------- Post added at 01:40 AM ---------- Previous post was at 01:40 AM ----------

How did you get backups to work?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] H4X0R46:
Does flashing system.img and vendor.img work in TWRP? Is that what everyone's doing right now?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Yes it should work

No it can't be updated, the parallel apps just create another user and the twrp is unable to read the file of that user, so you should disable parallel apps and try again with the backup
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] TheKnux:
Is there a way to just disable it and then back up or does the remove app command permanently remove the app? I use it every day, multiple times and heavily rely on it.

Is it possible to remove it, make a backup, then clean flash my rom so I have it again? Or if I restore the backup, would it not restore correctly?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] clarkcant:
I successfully removed user 999 via the terminal. I then took a backup. Later, when I wanted to restore the backup, I got the error 255 even though I had removed user 999. At that point, somehow the entire system got wiped. I spent a day panicking, and finally got everything restored via the MSM tool. So I have some questions, and I'd really appreciate it if anyone can shed some light on what went wrong:

1. Considering I had removed user 999 before backing up, why did I get an unsuccessful restore?

2. When I made the backup I used TWRP's default settings. Now, I noticed that the OP said to backup system and vendor image, and not the default. Is that the reason my restore was unsuccessful?

3. Is there a different process for restoring a backup that was backed up via the image settings?

Bottom line:

Do I need to be afraid of doing anything because I have no way of properly restoring a backup?

Thanks for taking a look!
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Sorry for late answer.

The 255 error is a generic error, you need to read what it's written before the error.

Then where you got 255 error? Data, system, vendor or which other partition?

Again, when you backup the "image" you are taking a full partition copy like it is and it is safier of normal backup.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] lollyjay:
The tarfork error is DATA not system
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] twinnfamous:
Have you tried this ? cherry pick yet?

https://gerrit.omnirom.org/#/c/android_bootable_recovery/+/32646/
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ross92:
I need help, I'd installed twrp (twrp-3.2.3-x_blu_spark_v9.86_op6.img and zip) and i want update so must i flash the ''.img'' or only the installer?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] reppi:
Installer
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] TENlll423:
---------- Post added at 09:20 AM ---------- Previous post was at 09:11 AM ----------

[/COLOR]

Don't flash the img you want to fastboot boot the img ...once it boots to twrp you want to sideload the installer flash that... Then reboot to recovery and then you want to sideload magisk and flash that if you want root.. I had the same blue spark on my 6t. And I did those steps and it worked perfectly. I'm on the TWRP fajita 3.2.3-8. which one you install is up to you.. I updated to the 9.0 .7 OTA update with that TWRP and it worked flawlessly..
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ross92:
Help

I can't see anything, I ready Flash twrp 3.2.3-11, on 9.0.7

I downloaded Dolby atmos, is in downloads folder but I couldn't find it
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] datsoy:
you have to decrypt your data first.twrp should ask for your pin at start.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] TENlll423:
I never had that problem I don't have a password or pin setup so it just decrypts my data with a default password.

I'm fairly new to this stuff I'm just passing on what was recommended for me and it all worked.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Striatum_bdr:
The pin at start isn't used to decrypt, it's a very very common confusion. It's just there to protect access to TWRP and is asked only if you have set one in Android.

Decryption is an under the water process using built in procedures and keys
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
This is for data wipe
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] btb55:
I spotted a potential issue with A/B partitions when flashing the 9.07 update. I'm routed with Magisk, have TWRP already installed and was updating the full ROM.

I rebooted to TWRP, flashed the ROM, then the TWRP installer, then Magisk, and noted I was on Partition 'A'. I then rebooted back to TWRP to check all was well and when inputting password to decrypt I had finger trouble and put the wrong code in by mistake. I then hit cancel thinking it would let me put the right password in, but noticed I had the screen asking if I wanted to keep read only or swipe to allow modify system, as I'd already done that when first installing TWRP it seemed odd, but swiped to allow, put the right password in, but I thought something wasn't right so when I checked I saw I was now on partition 'B'...and on stock image, no Magisk. I flashed Magisk again and rebooted to system and all was well.

The point being that making the error inputting the password and cancelling had switched me to the other partition, and if I hadn't have reflashed Magisk would have been in boot loop.

Hope this might alert others to a potential trap with A/B partions when flashing updates.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] twinnfamous:
Well aware of what it is just thought Id ask.

Trying to help figure out why there's issues with your wipe and restore process. For some users.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] cwalker0906:
Anytime you flash a rom it switches slots
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] btb55:
That's correct, it switched again when I entered the wrong password and cancelled decrypting though. I wasn't expecting that.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] tech_head:
Which is why if you are going to do this, I suggest taking the OTA as a local install, then reboot and take the OTA again.

This forces both slots to be on the same version of the OS.

Now go through and install the TWRP zip and root or whatever.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Giansi:
I think that after flashing rom You have to reboot system and You will lose twrp and root. Then You have to install TWRP as described in OP through a PC and fastboot. Actually there's no way to keep twrp and root when updating. This is what I understood.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jochem86:
LOL I noticed right now when I had the flash oos again because of a bad kernel flash... Forgot to install trwp. When I saw I didn't had root, I reboot to recovery but now I am left with stock recovery... :o
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] StykerB:
I'm having an issue, I downloaded the full zip for 9.0.7 today and installed it. I also took the opportunity to update twrp to the -8 release. So I switched slots to B installed the 9.0.7 zip then the twrp zip then magisk to keep root. I ended up back in TWRP after booting with no option to decrypt storage. I can't seem to wrap my head around this systemless stuff and how it works so I'd be grateful to anyone who can explain what happened. I just ended up switching back to the A slot and it booted fine into the 9.0.6 and the same TWRP version can decrypt in slot A.

update: if I flash the twrp.img file from the OP it is able to decrypt just fine. So is the installer just broken to install TWRP on the stock boot image?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] trinidude4:
I was able to get 9.0.7 installed in both partitions through TWRP and keep TWRP and root without using a PC. I can't confirm the sequence I used since I already updated both partitions but the way I think it works is if you're starting on the A partition and you flash the ROM through TWRP, it will flash to the B partition. Then you have to flash TWRP which will install to both partitions. When you reboot to recovery, you are automatically switched to the B partition. You can then flash Magisk on the B partition and you should now have an updated B partition with TWRP and root. If you want to get the A partition updated, you have to start with flashing the ROM on the B partition in TWRP. Would anyone be able to confirm that is how this works?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Giansi:
Guys to upgrade Oxygen please check this always by [MENTION=4712355]mauronofrio[/MENTION]

https://xdaforums.com/oneplus-6t/how-to/how-to-update-return-to-stock-oneplus-6-t3870795

You have to understand that after updating there's no way to keep twrp, root and other mods previously flashed.

You will need to connect your OP6T to a PC again and repeat the install method described in the OP.

EDIT, it seems that [MENTION=5822230]trinidude4[/MENTION] was able to do this, check the post before this
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] sabrdawg:
Worked like a charm! :) I'm officially rooted!
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] stryver:
How I successfully updated the OnePlus 6T while rooted/twrp and keeping root/data.

Prerequisites:

Have twrp installed already or boot twrp from a PC.

Make sure you have a pin/password/pattern set up. (TWRP WILL NOT WORK UNLESS YOU HAVE A PIN/PASSWORD)

1. Download the full update package here on XDA(around 1gb or more). The smaller file will not work!

2. Download your choice unofficial twrp installer package(there are a couple choices that work fine) and magisk v17.3 ZIP file

(TWRP INSTALL MUST BE DONE WITH INSTALLER.ZIP FILE, If you flash the image.img file you will not be able to decrypt twrp.)

3. Now that you have the required files, reboot to TWRP.

4. Select the 'install' option, locate and select the new full update, then 'add more zips' locate and select twrpInstaller.zip, and flash both files. (In that order, update file first and twrp 2nd)

5. Do not reboot system yet, instead, Reboot TWRP recovery (This will switch slots, which is ok. Don't switch back)

6. Select 'install' one more time. Locate and select magisk17.3 installer.zip(this will make your device bootable. It's a requirement after flashing twrp)

7. Clear dalvik if you want, otherwise just reboot system.

That's it. Good luck to those having trouble, I hope this helps...

Notes: There is a new 18.0 magisk, I haven't tested yet, so I'd stick to 17.3 if you're following this as a guide, at least, until further notice.

ALSO: if you don't have any twrp installed, you can connect to a PC, using the latest version of the adb terminal tool(I use minimal adb) Put the twrpfile.img in the adb folder on the PC. Then reboot phone to bootloader, enter command on PC 'fastboot boot twrpfile.img' (this will only boot twrp once, not altering anything on your phone) from here follow the steps above as if the recovery were installed already.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] trinidude4:
It's true you can't keep TWRP, root or other mods after updating, but you don't need a PC to get it back.

The TWRP User instructions here have worked for many people to reinstall TWRP and root at least:

https://xdaforums.com/oneplus-6t/how-to/official-oxygenos-9-0-4-ota-oneplus-6t-t3860953/post78026660

It might not be there recommended method, but it does work.

Unless you're talking about recovering from being unable to boot, you don't need a PC.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Drekonai:
Thanks a lot [MENTION=4710806]stryver[/MENTION], this worked for me. I needed to first boot into TWRP via the img file, then I picked the option to let TWRP be read only (the NOT permanant option). Then I installed via TWRP the twrp zip file from the OP, after that Magisk v17.3.

I was on stock ROM and did not need to do the update part.

Also, thanks a lot OP for making TWRP work!

Happy I'm rooted now and everything is working. I came from an iPhone 6 because I got it from work a couple of years ago, now I finally am back on the Android side! :) I missed it A LOT, finally custom romming/rooting again!
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] blue5055:
My question for those that have decrypted their phone & are using Magisk: are you able to set up a lock screen pin/pattern without any issues or do we still have the "incorrect pin" issue?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jukyO:
Question:

If I load twrp via "fastboot boot twrp.img", root ROM by flashing Magisk, will normal official OTA work?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Sure, but you will get full rom via ota and not the incremental
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jukyO:
You mean full OTA will download by itself from Android and initiate install like incremental one does now?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Yes, You will still have OTA (Over the air) updates but they will be always full rom, the only difference is that you will need of more time to download and install them
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jukyO:
Last one:

Download and install of full OTA will still be done automatically in this case?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Yes but you will lose twrp and root
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] TomeG2kc:
Is full backup (or any part - which one?) possible in this version stage of twrp or not? I'm confused...
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] faulkner23:
Any chance of a guide on how to back up and then restore as i just get bootloop back to twrp
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jackennils:
Have you backed up system and vendor or system_image and vendor_image?

Try with the images instead, add mentioned multiple times in this thread.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] TENlll423:
That's basically the same steps I used to successfully update to 9.0.7.

I never had a pin or password setup ever on my device, and TWRP works fine for me. I guess it uses default password.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] TomeG2kc:
I've tried both, with system only, with system_image only, vendor or vendor_image only. All together with data. Data only ect. I thing I tried almost every configuration between parts of backup and always I got error 255...

And anticipate the question, no, I'm not using parallel apps, never.

I'm using twrp-fajita-3.2.3-11-installer.zip... But I'm tried 3.2.3-8 and was the same.

Maybe it's look like it's something wrong with DATA (look screenshot)?

Without DATA partition backup is created. What's wrong???

Screenshot:

https://photos.app.goo.gl/KRLWdx2AsydpJsnG6

Wysłane z mojego ONEPLUS A6013 przy użyciu Tapatalka
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Have you multiple users on your phone?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] felek73:
It's really strange, I jusy made a successfull backup of all partition excluding system and vendor (used system_image and vendor_image)… using the same TWRP installer version.. I'm not brave enough to try restoring though :) OF course no multisuer and parallel accounts

Both , TWRP and kernel logs attached. Maybe devs could compare both logs and come to any solution

https://drive.google.com/open?id=16KUGapTh17vXZVBDikv44JlTDVTn-H9z
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] TomeG2kc:
Ok, it's my log:

https://drive.google.com/file/d/14JioM8iThchLB1rZoCXMtt2wAEEYmKY2/view?usp=drivesdk

Wysłane z mojego ONEPLUS A6013 przy użyciu Tapatalka
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] twinnfamous:
For those having issues with wipe and restore.

If you can. Would you be so kind to test recovery linked in my thread

https://xdaforums.com/oneplus-6t/how-to/twrp-dev-compiling-op6t-t3870182

It is just a img it is not meant to be flashed.. Only booted through fastboot.

Please report your findings.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] :
Deleted.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] nany91:
Thank you. My op6t is rooted now. I am still working out on decryption issues as I can't perform nandroid backup. Will read the thread posted here previously
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Darktron13:
Hey guys I just read most of this and I just wanted to mention I used a command in fastboot that formated the data partition in my phone (le max 2) I know they are very different phones but I might help later on I'm going to get this phone maybe for Christmas.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Jsilver73:
Yep I remember this, but this issue is similar but different - even deleting all the lock settings and gatekeeper settings when setting up new fp the pin gives wrong pin error even when you have just set it up brand new.

---------- Post added at 01:50 PM ---------- Previous post was at 01:49 PM ----------

Backup to otg
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] nany91:
Good idea. Will try thanks
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] MartinX3:
It the solution by [MENTION=1030560]xXx[/MENTION] would deactivate the encryption completely, which I would like to keep, or? :)
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] djkinetic:
Can anyone with a global version of the 6t do something to help us tmo users out.. we need someone to flash the criticals partitions with the bat script but with echo turned on then post the log file. We're trying to see if twrp really flashes critical because on our variant twrp is not actually flashing critical. We're trying to confirm whether it's an actual issue with TWRP for all 6t or just the T-Mobile version. Thanks in advance.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] BIGWORM:
Would some need a TMO boot image or anything I can pull to otg? I'm anticipating my unlock tokens within the day.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Nsane457:
I assume this commit would fix the encryption issue?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Dark Nightmare:
Can you do a full system back up when you're unlocked please?

Script to be run when unlocked: https://pastebin.com/5Wwfk3uV

Requires the TWRP recovery image file name TWRP.img to be in the working folder, fwiw it works on our device as well.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Not easy, there are some problem with omni9.0 source
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] BIGWORM:
I'll be able to adb pull all those partitions to my computer, correct? I would use that OP6- based twrp, right?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Dark Nightmare:
Yes, it'll pull to your current working folder, the twrp available for download in this thread works fine, thanks.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Nsane457:
I know. I ran into them. Still, there is a TWRP-3.2.3 with Pie decryption support for Oneplus 5.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Man it's different, they use twrp omni-9.0 source (The same i'm using), but they compiled the twrp under source omni-8.1, for op6t i should compile twrp under source omni-9.0 that has some problems at this moment
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] BIGWORM:
So until the encryption is fixed, the only storage that could be used is OTG right? Can nandroid and restore from OTG as well? Just want to get all my ducks in a row before I start adb'ing stuff lol
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Nsane457:
I see. Thanks.

In the meantime, I guess I'll have to get an OTG adapter for nandroid backups.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Jsilver73:
Yes restore should in theory work from otg - I used to do that a lot when I was on 6p way back when, haven't tried with 6t yet though, probably give it a go tomorrow when I have time.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] AnoopKumar:
What kind of error ?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] justibasa:
Quick question, when booting twrp, I get a bunch of file names that are just random numbers and letters. All my regular files are gone. I cant flash anything and I cant transfer anything to twrp. Tmobile 6T bl unlocked and rooted. Just wanted to flash a kernel.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] AnoopKumar:
Your internal storage is encrypted. You can flash the kernel.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] :
I took efs backup, are these files okay?

I also took backup via terminal just to be safe. I wanted to know if this is what efs backup files look like because i have never taken efs backup via twrp.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] kgr:
Still have wrong pin problem. Even on the PE AOSP ROM.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] :
Something in oos9.07 messed up restoring backups.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Giansi:
Mine is like this, took via terminal
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ross92:
HELP

Hi I need your help, Iwant yo re-lock the bootloader on my OnePlus 6T

I understand that I have to go back everything on factory but I dont know how do it.

I did the ''root'' because I wanted to change the font and improve the sound but tlost quality on Netflix, and I that is important to me because I use it a lot.

The problem was when I tried to eliminate the ''root'' (magisk) The system did not star and i was afraid because Iam not an expert so i flashed the ''full OTA'' and it works again, Now I want to remove twrp but I dont know how so I need help because i dont want brick my phone

I got the recovery 9.0.7 stock.img if I flash it will work?

sorry for my english..

Thanks
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Check this thread:

https://xdaforums.com/oneplus-6t/how-to/how-to-update-return-to-stock-oneplus-6-t3870795
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] TheKnux:
There's a Magisk Module that you can install called libcrypto disabler that gets you the quality back.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] aer0zer0:
Like a 255 error, or just hosed entirely
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] david72262:
This mod actually gets full HD back on Netflix? I've been waiting to unlock due to this and the fact there aren't any roms yet.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] clarkcant:
I get the error, and then it won't boot past the recovery. Need to wipe, which obviously sucks when you cannot restore a backup.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] efbill:
Unfortunately no :(