yashsingh1/xdaforums huggingface dataset:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] techlogik:
Just reboot to TWRP and Flash the installer, then flash Magisk and kernel if you use one. Reboot. No need to uninstall magisk first.

For fun I manually switch partitions and flash magisk and kernel after TWRP update. A, then B, reboot system. Works like a charm.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Abort Retry Fail?:
I was actually able to resuscitate the 6t by simply booting directly into recovery (with the volume up and power buttons combination, once I was able to power it off!) and repeating what I had done earlier, but this time flashing Magisk 18.1 before booting. If I should ever find myself making a similar mistake in the future, I shall remember your advice and store the Magisk uninstaller zip on my 6t.

Many thanks for the advice.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] SMcC2:
Thanks Everyone!

Been lurking in this thread since its inception. Been hesitant to install it until today. I ran the Twrp installer from Magisk, rebooted to recovery, decrypted using my pin without any issues, flashed Magisk installer, and booted to system all without any issue.

Thank you for all the hard work! :good:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ujwal.p:
I haven't been facing much of an issue with twrp, until today, when I am not sure as to what went wrong. But twrp no longer asks for the pattern, thereby no decryption happens.

Steps I did (using stock OOS)

- fastboot boot twrp-3.2.3-37

(asks for pattern to decrypt, and then successfully decrypts after entering pattern)

- flash twrp zip

- flash magisk

- reboot to recovery

(twrp no longer asks for pin, thereby failing to decrypt)

Also unable to boot to OOS.

PS: Everytime I do fastboot boot twrp, it asks for pattern and successfully decrypts, but after I flash recovery zip and try to reboot to recovery, it does not ask for pattern, thereby failing to decrypt.

also both partition has OOS.

Any help would be appreciated :)
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] cultofluna:
Boot twrp

Flash installer

Flash magisk

Reboot to system

After booting to OOS , reboot to twrp and it will decrypt
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] :
Format Data. It sounds like it's having problem with decryption. However it will wipe all internal storage. Also before doing that see if in install menu you see your files or random folders with weird names. If it's the latter then format Data.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ujwal.p:
Already tried this, dint work, since when I try to reboot to system after flashing magisk, it goes back to recovery.

---------- Post added at 09:45 AM ---------- Previous post was at 09:43 AM ----------

Yes, since decryption was unsuccessful, the files/folders would have weird names. And yes, I know formatting internal storage would fix it, but I have kept it as my last option.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] :
Well that's what you have to do now. Bummer.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] cultofluna:
Flash magisk uninstaller

Reflash magisk

Boot to OOS
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] nikosrs4:
The good thing is that when you boot with recovery you can view your files and you can back them up.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Which rom did you have?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ujwal.p:
Hey, please check pm.

Thanks
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] maxq1:
1. Flash OOS - full rom

2. Flash TWRP installer Zip

3. Reboot to RECOVERY to ensure TWRP was flashed properly

4. Flash the latest Magisk

been there, done so. restored what i thought was my stock 0.12 boot to test a kernel. ended up in what you're in now. with the steps above, upon TWRP reboot i was greeted with my encrypt code. entered it & i'm good as before. HTH
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] spaziomilano:
[MENTION=4712355]mauronofrio[/MENTION] little question is it possible to compiled a black themed version with your last TWRP update?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ZeroKool76:
Acuicultor already did.....
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Vortell:
Is it in rom/kernel area?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ZeroKool76:
It may be in his kernel thread. I got it from AFH, directly
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Vortell:
Yeah heres the link to that folder

https://androidfilehost.com/?w=files&flid=286372
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Gelo31:
[RECOVERY][3.2.3-34 worth , I can upgrade to version 3.2.3-37 from under the system through Magisk ?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] alberto8523:
-37 version successfully flashed!

Everything works fine

OOS OB5

Magisk v18.1

Thanks to Mauronofrio!
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ecompton59:
working great on 9.12
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] nostradomis:
I have a strange problem and I wonder if anyone has a suggestion:

I clean install oos 911 then Havoc 3/8 with format everything boots and configures normally, but I'm not rooted even though I installed magisk. I reboot to TWRP 37, backup data system image and vendor image. I then install magisk 18.1 and reboot to system. and boots to the boot logo and will not go past that point. I reboot back to recovery and tried to install uninstaller magisk. same result when booting system. I tried wiping and restoring, but still will not boot past logo. I totally wiped and formatted and did a client clean instal oos 9.11 to both slots. I then tried to install the 3/5 version of havoc. can at boots with no root and sticks logo when I try to install magisk.

I reinstalled 00S 9.12, TWRP 37, xXx and rooted with the same magisk 18.1 file with no problem. I even put together CR Droid and it Roots

with no problem. I want to run to Havoc rooted because I use Viper and it is very polished.

any ideas?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] nyzoli72:
I'm on twrp 28. Is it enough to flash the New installer 37? Or need to flash it from fastboot with twrp 37?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Kaneki:
Just flash install.zip via twrp, then magisk and that's it

Enviado desde mi ONEPLUS A6013 mediante Tapatalk
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] HACK3DANDR0ID:
Some users are stating that using TWRP3.2.3-37, we are able to flash enchilada ROM Builds onto fajita without issue.

Is this a fact?

Any other information regarding this would be greatly appreciated!

Thanks for your continued support on this project!
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
This is not true. you can flash unified roms, so if the installer script contains both devices you can install it with this twrp
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ivicakc:
Did you try this?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] valexi:
Not on update, but I have used this method to update TWRP. I don't know, but why it wouldn't work on update.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] bcool_1:
My phone is stuck in bootloop and i am not able to access fastboot or recovery mode.

Can anyone please hlep me what can be done now to bring the phone back to life?

I installed pix3lify magisk module and then after removing the module and rebooting the phone is in continous bootloop.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Artnig:
Can this be flashed through magisk to freshly install TWRP on an already rooted device with STOCK recovery? Or is it only able to update an existing TWRP install? Digged through the thread and couldn't find a clear answer. Thanks.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] letmedanz:
Yes.

Discussion on this just 4 pages back
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Artnig:
Were you able to flash it without losing any data?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ZeroKool76:
Why would you lose it, just flashing the installer? [emoji848]
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Hi to all, actually this is thread is really populate, but i saw all days there are always the same questions, some answer are already in the first post, others answer are written hundreds of times in the 222 threads. Actually i'm working on more projects at the same time, so i will answer if i have time or if i will read a good question.

Updating a twrp you will not lose data, why should you lose it?

If the phone is in bootloop you should be able through physical buttons to boot it in fastboot mode.

If you got too problems you should use msmtool
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Artnig:
Idk, just asking because I'm not updating it but rather installing from scratch. Haven't touched TWRP since Android 7.

Figured I'd just ask because I haven't messed with TWRP since my o.g pixel? I'd rather ask the developer a simple question than run the risk of having to restore my device, not everyone follows the Android Dev scene 24/7, and the search function on this forum has always been utter ****e.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ZeroKool76:
Fair enough [emoji106]
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] krohme:
Finally installed latest twrp, thanks to OP.

Now I want to make a nandroid backup of 9.0.12, forgive the noob question, what options would I highlight to make a full backup of data, settings, etc - so that it's a carbon copy of my current configuration?

I ask because I'm assuming there are more options to select on the 6t nandroid backup compared to the 3t (my old device).

Thanks in advance :o
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] letmedanz:
Zerokool and Mauronofrio answered your question, however since I was in your situation, no I didn't lose any data. Worked without any issue
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ZeroKool76:
Boot, system image, vendor image, data
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Artnig:
Appreciate the response. Thanks for confirming.

Followed these steps precisely, thanks for giving a detailed outline. Many of the other responses failed to include the part about reflashing magisk before booting back into system, although that's a given from the OP, so be sure to have the magisk installer zip on your device before flashing the TWRP installer through magisk.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] krohme:
Thanks for the reply bro, is it also necessary to remove pin and fingerprints? Because twrp will ask for a pin to decrypt - wonder if removing the pin will then present an issue in twrp

Edit: just read somewhere on Google it's necessary to remove pins and other lock screen security :svetius:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ZeroKool76:
Not necessarily needed, but it is advised
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] techlogik:
So, I flashed 9.0.12 official. I was on Beta 6. Never had an issue dirty flashing from any Beta to 9.0.12 and vice versa. Maybe it is a Beta 6 issues...but. I then flash TWRP latest after 9.0.12, reboot to recovery, and it asks to swipe, but stays encrypted, doesn't ask for password.

If I fastboot boot twrp.img file, it boots, and asks for PIN to decrypt data. Just booting to recovery from TWRP after I flash the ROM and TWRP immediately to ensure it sticks won't decrypt and thinks it is a new install or something. Flashed both partitions, switched, etc..same thing.

I've switched partitions, flashed the Rom, then TWRP, reboot, it goes to the other partition, same issue with TWRP. Only fastboot twrp.img will decrypt and boot so I can attempt other stuff. Wonder if it something with Beta 6 different? OR, maybe issues with Magisk 18-1-2? Going to try 18.1 again and reboot. This is weird, never had this issue.

EDIT: Short story, don't try going backwards from Beta 6 to 9.0.12, something is definitely different from Beta 5 and the process required with that new release.

Thoughts?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] vukis:
What kind of problems? Got botloop after restoring system+boot+data.

Flashed latest full OnePlus 6t update zip via recovery (this wiped my data). Then restored only boot+data and it was working. Pattern lock was removed after this. But I believe this is intentional?

What kind of data is stored in sdcard/Android/* which is not backuped?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] wako23:
I cant get rid of the 255 error ("extracttarfork() process ended with error=255")

I have no folders with 999 or 10, i have no double apps or accounts. Even if i wipe system and data, flash a brand new LOS 16 and backup only data, i still get this error when i try to restore it.

I tried this 3.2.3-37 and also the 3.2.3-2 from twrp site.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Stogie87:
The error can appear because of several reasons. You can find it out, if you create a logfile in twrp after the issue appears.

I faced the following reasons for the 255 error:

1.) Some files on my data folder were corrupted and i had to delete them, because twrp was not able to overwrite them during the restore process.

2.) The backup wasn't created with the same lockscreen pin and twrp can not encrypt it as long you are not logged in with the same pin in twrp. A clean flash of the rom and setting the same pin after boot fixed the issue for me.

Btw i wouldn't recommend to restore more than system and data backup in twrp. I always got very hard issues, if i restored the boot image, for example. I got issues like:

- the device always boots in fast boot and nonway to boot in twrp again. The only solution was msmtool.

- a too small internal storage size of only 10gb-> MSM Tool again.

In future i only will backup system and data partition and i also would recommend to save your twrp backup on a cloud or your pc.

Regards

Stogie
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] bjevers:
OB6 has March security patch. 9.0.12 is January. You will have to format your data partition to go back to stable. Or wait for a new stable build with the March security patch.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] popy2006:
Hello guys.

Thanks for your hard work on TWRP for the 6T.

Recently i gor back my repaired 6T from service center.

Sadly, a factory reset was made.

Luckily i had an full TWRP backup (data, vendor_image, system_image) made a few days ago before i have sent the device to service center.

I wanted to restore it after i have rooted and installed the phone again.

TWRP aborts everytime with "extractTarFork() process ended with ERROR: 255".

After looking into the recovery.log i found some messages that extraction of "data/local/traces" failed (before ~4 files could be exracted without an issue).

I already tried the following:

Tested different TWRP versions (from this thread & official) -> no luck.

renamed the first data backup file to tar and opened it with 7z -> success, i can extract all the files

deleted the data/local/traces from the backup and tried again -> no luck

Yes, my data partition was encrypted when i took my backup.

Could this be the issue?

Is this a known behaviour on our 6T?

Would be nice to get a working image backup solution for my 6T,just in case...

thx a lot

pOpY
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ivicakc:
I tried, it's working. And without disabling modules or swift/substratum. Just need to flash magisk after twrp, than reboot and flash magisk again.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] popy2006:
Same for me (see above post).

I learend it the hard way and had to start from scratch :(

Is there a solution/workaround for that?

Thanks

pOpY
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] [] AL []:
From all the time I've spent here, I've always heard devs say that there's no problem with dirty flashing the same ROM as long as you go newer release over older. If you flash and older (9.0.12) over a newer release (Beta 6), you're just asking for problems.

So has suggested already, always wipe before going backwards flashing. The fact that you could do it before without wipe is definitely not a proof that this will always work; you've just been lucky.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] cultofluna:
You can't go back to older security patch..(.9.0.12)

You have to format data

Or wait new stable with the same security patch as beta 6
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Kaneki:
Why i can't wipe cache in wipes - advanced section?

I have the latest recovery installed

Enviado desde mi OnePlus 6T mediante Tapatalk
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] acuicultor:
Because there's no cache partition.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jamescable:
What do you mean no cache partition? Fastboot format cache ends with success
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
This is impossible, if you try to run "fastboot format cache" you will something like the screen in te attachments
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] pimpdaddy00:
I've had this problem before, what worked for me was switching slots from a to b, then reflashing TWRP, that allowed me to decrypt my data and restore.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jamescable:
This is in recovery obviously. I'll upload a picture of fastboot format cache when I have a chance
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Dalvik cache is not the same of cache. you're getting a little confused
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jamescable:
Of course you are right. System slot b is basically a bigger size cache partition turned system partition. On droid x 2, they were able to use another partition to store recovery image...would that be possible? They used a hijack boot
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
What? system_b is not a big cache partition, what are you saying man?

Cache i stored in /data/cache
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] oux:
i have this strange deryption issue, which make all files/folders named weird, which i guess is (or at least was) a common issue. however i cant get any rom i tried (latest los & omnirom) working with any of the solutions i can find on the forum. the only solution i kind find thats working is to flash rom + twrp installer, reboot to recovery, then the names are weird, then i have to reboot to fastboot and run "fastboot -w", reboot to the rom, and then boot twrp and flash the rest. why is this? wipe data doesnt work either, only that "fastboot -w"-command. i ask in here because i guess its the recovery causing this in some way? im sorry but i dont know how to get a log since i have to wipe storage to get access to it

so this is the complete way i do to flash it to work for a totally wiped device:

fastboot twrp

flash oos

boot oos

reboot oos

fastboot twrp

flash rom & twrp

reboot to twrp

fastboot -w

boot rom

fastboot twrp

flash twrp

reboot recovery

flash magisk, kernel
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Stogie87:
I have the issue, that backup always failed, if i use password protection.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ivicakc:
If you get weird names, just connect otg and flash magisk from otg, reboot device and you will be good.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] oux:
seems like just boot up the rom instead of twrp works just fine, so awkward of me. this is actually the only steps that i really would need (based on that i already got oos installed on both slots)

flash custom rom, twrp-installer.zip & magisk

reboot to rom

reboot to twrp

flash magisk, kernel & nanodroid
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ivicakc:
First disable all magisk modules.

Flash rom

Flash twrp

Reboot twrp

Now if all names are weird, copy magisk to the flash drive and connect otg and flash it from there. It works for me.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] oux:
well, as i said i got it working without any external drives, which i dont even have access to with usb type-c
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] popy2006:
Dont get we wrong :o

I have access on the pc/phone to the TWRP backup.

I can select it and the error pops up on restore of the backup.

To sum my question up: Whats the correct way to make an backup or restore using TWRP with an phone and the following setup:

OOS 9.0.12

encrypted data

Magisk 18.1

latest unofficial TWRPfrom this thread

Would be nice if someone could post the correct things todo to make and restore an backup.

Sorry for such "simple" questions but the slot a/b thing and encryption makes it really hard to understand.

On my older phones it was as simple as press backup/restore.

thx

pOpY
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Archangel:
Yup,,,I long for the days where you can just make a back up in recovery then restore and it works! Now you get all kinds of people chiming in telling you what to back up! Some say system_image and not system,,,some say vendor_image and not vendor,,,some say do both with data,,,some say back up everything. All of them are wrong! I have tried every single combination and I have never had a back up and restore work properly. Would be nice if the dev chimed in and ended the debate.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] popy2006:
Thx for your post. So I don't have to try all the combos. Would love to see an working twrp in the future....

Gesendet von meinem ONEPLUS A6013 mit Tapatalk
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] reppi:
Never had a problem with restoring a backup.

Backing up everything except system and vendor. As simple as that.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jamescable:
Wanted to report a big bug if it already hasn't. Can't flash anything that requires aroma. It will flash and TRY to load aroma, but gets stuck and nothing works. Screen gets frozen and had to hold volume down and power button u til it rebooted to bootloader
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Archangel:
So your saying back up system_image and vendor_image, data, and boot? Tried that didnt work.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ZeroKool76:
Up until recently, those were the exact partitions I backed up. Now, I can backup, but get that damn error 255. Tried the terminal command, but it says it can't remove that ID. So, I have given up and just resolved to clean flashing everything on this device [emoji21]
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Archangel:
See thats what I am saying,,,everyone BUT the dev chimes in and says what works for them but doesnt seem to work for anyone but them. This is not a bust on the people who say it works but, that never seems to work for me. I always get errors or the restore just bootlops and trust me I have tried every combo. Guess I am just used to the old days where it was straight forward, "choose these options" back up and restores all work fine.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Desertio:
This is going to sound stupid but, does anyone have the stock boot img 9.0 for the 6t? That's right. 9.0.0. Tia
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ZeroKool76:
I don't even think the 6T had a 9.0.0. Mine was shipped with 9.0.5(which updated to .6 after turning it on) and I had mine since the first week of launch. International version
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Desertio:
Then maybe I'm missing something. Any help is greatly appreciated
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ZeroKool76:
That's wild. Even looks like the old "about phone" section. Nothing like what I have ever seen
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] null0seven:
Maybe because it's T-mobile version...
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] reppi:
What the ... What is that? :D