yashsingh1/xdaforums huggingface dataset:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] sronweb:
I added a PS comment because I got success after deleting some space. I found huge trash folder of more than 50Gb. As I understand from some reading, the error -255 can be reported for different causes from the access to another created user, the use of multiple apps, and space lack. I hope can help others.

Twrp 3.5.0_9-0-fajita is still from Mauronofrio who is the official maintainer for the OP6T (always thanks to Mauro!)
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] brajesh.sharma87:
where can I find the black version of official twrp
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Duvel999:
My mistake, I found it. First post Official downloads.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] spinergist:
I have a soft bricked OnePlus 6T which does not boot into the twrp.img from fastboot. It gives the following message:

fastboot boot twrp-3.4.0-11-fajita-Q-mauronofrio.img

downloading 'boot.img'...

OKAY [ 1.609s]

booting...

FAILED (remote: Failed to load/authenticate boot image: Load Error)

finished. total time: 1.675s

Is there a way to get twrp working again? The main thing I care about at this point is data recovery so any ideas would be helpful. I want to be able to do what's listed in this post but cannot get twrp to boot.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Wishmasterflo:
Hi!

Is the Bootloader on your phone unlocked?

Which ROM / OOS Version is running on the phone?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] spinergist:
Hello!

Yes the bootloader is unlocked. Its all I can get into right now.

It was a stock OxygenOS OP6T with TWRP and rooted with magisk - can't remember the exact OS version (tried to find out from get var all) but most likely Android 10.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Wishmasterflo:
Have you tried with TWRP 3.5.0.-9 if you get the same error?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Which changes this twrp has? Can you share the source?

Already found, are you sure of your changes?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
You need to flash magisk
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] AnoopKumar:
currently im testing something... source not pushed yet.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Ok, unfortunately i'm unable to test it without the device. In this moment i pushed a new twrp built by me, cleaned and perfectly working, except for system formatting. I also removed twrp app
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] justibasa:
Because no one has patience anymore. This phone has been out about 3 weeks and they think every rom and kernel maker should have their stuff done already and working for this phone, not caring that the devs have lives and also, THIS PHONE HAD BEEN OUT FOR LESS THAN A MONTH.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ELGeKo24:
After it, when i reboot i have partition corrupted message, i dont kwno how i boot in the other partition with 9.0.5 and i now i'll try to upgrade
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Fil76:
Please don't laugh..

I'm stuck after "You will temporarily boot into TWRP", cause after i cancel on decrypt page if i click on install i can't find zip files placed in root and in \download
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Funk Wizard:
You need to enter you pin/pattern/password in to be able to decrypt data partition, cancel on that screen will fail decryption and device wont be able to read any data off your device.

Thus, Decrypt > Flash the installer > Reboot Recovery > Flash Magisk > Reboot System :good:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Fil76:
Thank you :good:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] The_Voice_70:
Do we need a new installer zip to fix twrp? :)
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] AnoopKumar:
use fastboot
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] refedit:
You mean, using your .img and the OP's installer?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jamal2367:
Hey can you upload the installer zip? Thx :)
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] AnoopKumar:
i meant the fastboot command.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] The_Voice_70:
Whats that in OP : 3.2.3.3 ? Which one is now right with all fixes ? ;)
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] suzook:
Flash image in old twrp
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] lollyjay:
I think it is referring to this https://xdaforums.com/oneplus-6t/de...ial-twrp-touch-recovery-t3861482/post78267533

but I have not tested it yet
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] The_Voice_70:
Jep. Post 308. Point 3. .... the zip ;)
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] JedixJarf:
You're the best! :D
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] refedit:
So I didn't read it right

The better way to flash twrp in one time is to use
Code:
fastboot flash boot recovery.img
of course replace recovery.img by your twrp name

TWRP will flash into slot A and B
No more twrp installer

As it says, no more necessary to flash installer as mentioned. Is that right?

So you skip the part where you boot into temporary twrp and then you flash installer, reboot into recovery.

thx m8
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] spinergist:
It doesn't seem to matter which twrp I use, I've tried all official versions from the website and a few unofficial ones.

I also get the same error when trying to boot to system with fastboot continue.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Extreme_Ninja2099:
With TWRP 3.5.0-9 my twrp backup fails. All the new TWRP updates after 3.4.0-0 suck, is there something I'm doing wrong? I just back up data and boot the trying to restore those. But they don't work
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Fil76:
Update procedure with magisk 22 Is the same with 21.4 ?

Boot in twrp

Uninstall magisk

Install update

Install twrp

Reboot to twrp

Install magisk zip
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Wishmasterflo:
Yes!
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] sprocketoctopus:
Further to this:

1. Uninstall Magisk.

2. Install update.

3. Install TWRP

4. Reboot to TWRP.

4a. Make sure you have renamed Magisk to 'magisk,.zip' (as there is no seperate '.zip' file anymore)

5. Install Magisk.zip file

Is that correct?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Saksham03:
Yes, but I don't think there is a need of uninstalling Magisk in the first step.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Wishmasterflo:
Yes exactly uninstall Magisk is not needed actually.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] JustAnotherAndroidUser:
So I made a backup of my own build of LineageOS 17.1 using version 3.3.1-32. I backed up System Image, Vendor Image, Data (excl. storage) and Boot. I'm trying to restore it now, but when recovering the data, I get this lovely 255 error.

I would like to lookup the restore log, but I can't find it anywhere. The restore.log included in my backup folder, only includes the log from when the backup was created. Am I looking in the right place?

When messing around trying a different recovery version, wiping some partitions, installing another ROM (as you can see I barely have a grasp of what I'm doing here), I magically got it to restore without errors once, but then when I tried to boot into the system it would just loop to the recovery.

Possibly important info: I've had Shelter installed (it uses the work profile), but I uninstalled it before making the backup (because last time it wouldn't let me backup with it installed). Since it was no longer installed during backup, I suppose it shouldn't matter when restoring, unless it leaves some traces that I don't know of.

Anyone that can maybe give me some pointers on how to get the system back in its original state?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jhedfors:
Not sure if this helps but I get that error if I attempt to restore after formatting data partition. If I format data, I need to let the phone boot completely first before restoring data backup.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] osm0sis:
It might have worked if you had been on 3.5.x, since there were fixes added specifically to avoid the files which can cause that issue with backups..
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] flash713:
Try TWRP v3.5.2-9 or something close. And try backing up data, system and boot and restoring those three partitions. Worked for me the other day. Remember your recovery is in your boot partition now ever since A/B partitioning has been on the scene. Whatever you back up in your setup, whatever recovery you have installed at that time is then restored when restoring your boot partition. To save room and time I just backup data partition then if and when I restore I clean install OOS, and whatever rom, format data..flash magisk, reboot, set up my Gmail account then boot back to TWRP and restore data partition and reboot system.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] JustAnotherAndroidUser:
Thanks for the info guys. Appreciate it!
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Timmmmaaahh!:
Oh and don't forget you can still extract things from a nandroid backup with a tool like TitaniumBackup.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] OP6Tuser:
I just got a 6T and heard that I need an older TWRP version if I want to root with Magisk V22.1 or else it will cause issues on my phone like losing wifi. Is this true? Which version should I use?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] scorpio76r:
Is the device international converted?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] OP6Tuser:
It is the unlocked version with 2 sim slots
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] plepew:
Att: make sure which version of the 6T you have before proceeding. They are 2 versions, International 2 active SIM slots & the T-Mobile which is 1 Active SIM slot.

I'm using the International Version (2 active working SIMs), which I got directly from OnePlus when the device came out, I'm am rooted, using Magisk 22.1 and using TWRP 3.4.0-11 Q Unofficial by mauronofrio and my device is running perfectly!! ☺️

Installation Instructions, all files needed can be found on the first page of this thread. Please review in details and follow the instructions carefully.

The reason for using this version, is because it is maintain expressly for the 6T by Mauronofrio to whom we are eternally grateful!! 🙏🏼

Good luck mate!! ✌️
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] OP6Tuser:
In the install guide, it says to copy the .img file into phone memory and install it to recovery ramdisk. Do we no longer need the .zip file to have TWRP permanently installed as the recovery? Or should the .img file be the .zip file?

Sorry, I am brand new to all this.

Install guide:

1. Install fastboot tools from google's sdk on your PC

2. Enter fastboot mode

3. Unlock your bootloader

4. Run "fastboot boot recoveryimgfilename.img" in command line

5. Copy the recoveryimgfilename.img in the phone memory

6. Go in advanced menu

7. Click on "Install Recovery Ramdisk"

8. Choose the recoveryimgfilename.img

9. Swipe to install
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jhedfors:
You can install either using a zip file OR install an .img file per the instructions. Either will install TWRP onto your device.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] plepew:
Correct.

However if I recall, in order to install TWRP properly on the 6T, the IMG file is used to get the device to load TWRP only.

Please be aware that the IMG fle is the following version of TWRP: twrp-3.3.1-18-enchilada-Q-mauronofrio.img.

So once you have completed the IMG install from the above post, reboot into recovery to confirm the recovery is TWRP (3.3.1-18) and flash the Installer ZIP version, which is the latest version: twrp-3.4.0-11-fajita-installer-mauronofrio.zip = Done!

You now can reboot to system (OOS)

This ZIP installer, if I recall, will install TWRP on both A/B Slots...which is important.

After that, always use the Installer Zip to retain TWRP which is required after any full rom flash updates, which is another set of instructions altogether. Which you can read here :

[Discussion & Feedback] OxygenOS 10.3.7 OTA for OnePlus 6T​

To community members:

If I missed anything or something is incorrect, please chime in! ☺️

✌️
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jhedfors:
While you explain the process well, this part is incorrect - ”Enchilada” img file is for the 6 not the 6T. The 6T code name is "Fajita".

You will just need to download the latest TWRP installer zip and IMG file (for booting before installing).

Add of now, they latest versions are:

twrp-installer-3.5.2_9-0-fajita.zip

twrp-3.5.2_9-0-fajita.img

Download TWRP for fajita

Download TWRP Open Recovery for fajita

dl.twrp.me
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] plepew:
Thank you jhedfors!

Ok, so if the files you're referring to are correct, then the files that are posted at the beginning of this thread are incorrect and should be updated to reflect that.

I thought that Mauronofrio was the only one that was updating TWRP for the 6T??

So to be very clear for myself, I can use the files from the link above for the 6T?

✌️
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jhedfors:
I believe this thread was started before we got an official build of TWRP. I would definitely go with the official version. But I agree that OP should be updated to link to the official version.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] OP6Tuser:
I have read in other forums that TWRP 3.5 isnt working correctly with magisk v22.1 and is causing wifi disconnections and device bricks. Is there any issue with using TWRP 3.4 to be safe?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jhedfors:
With our device? Links? I have not experienced or heard of any issues. I am on the latest TWRP and Magisk.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] OP6Tuser:
WARNING Magisk v22 soft bricks Oneplus 6T !!!! · Issue #3924 · topjohnwu/Magisk

Hey guys. Was running magisk over years without major issue. Sadly v22 bricked my Oneplus 6T phone and others: https://forum.xda-developers.com/t/rom-stock-fastboot-op6t-stock-fastboot-roms-for-one...

github.com

I also just installed magisk v22.1 on my 6T and it fails safetynet check. Something about the API
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jhedfors:
That API error is only cosmetic. If you try another safety net checker, it should pass. It should be fixed in next Magisk build.

That issue that you linked to is closed. Perhaps it was in 22.0
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] plepew:
In all honesty folks, if your device is working properly with 3.4.0-11][fajita]Official/Unofficial TWRP by Mauronofrio, there is really no reason to change or update it!

I have been using it for the last few years and absolutely no issues at all!

Currently running Magisk 22.1, TWRP 3.4.0-11fajita Mauronofrio on OOS 10.3.9 and will update shortly to OOS 10.3.10.

All Banking Apps, Google Pay, Samsung Pay, on OP 6T and my Galaxy Watch 46mm with Samsung Pay all work with no issues.

Just sharing in case you feel you are stuck.

Cheers!!

✌️
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] nikosrs4:
Are there any updated instructions for backing up and restoring an A11 custom ROM?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] plepew:
This may be of help and I believe these methods are the same as A10 or A11.

1. Read thru this and see: https://xdaforums.com/t/guide-oneplus-6t-fajita-unlock-flash-twrp-root-nandroid-efs-backup.3851789/

2. https://techsphinx.com/smartphones/create-and-restore-nandroid-backup/

PS. When I do mine, I select all the partitions for Backup. Used 3.4.0-11fajita till 10.3.9...and I just updated to OOS 10.3.10 & updated to Official twrp-3.5.2_9-0-fajita. All works!! 😊

** ATT: "Full" Nandroids Backups can only be restored on the same OOS version. ie: 10.3.10 can not be restored on 10.3.9 & vice versa. I did that once and I learned that lesson the hard way!😝

I've never done partials to avoid issues and not remember what was what. I always do a Full Nandroid Backup after each OOS updates and do regular Full Nandroid Backups every month to be on the safe side. It has saved me time & time again since my OP3 days!!!🙏

Good luck!!

✌️
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Beast14:
Hi Guys,

I clean flashed CarbonROM and then went ahead and flashed the patched boot.img from Magisk 22.1, everything went well, it got installed properly and verified root apps on the phone. Then i went ahead and flashed TWRP 3.4.0-11 the latest from this thread using Ramdisk option, and then i rebooted and lost Magisk, seems it got replaced by TWRP. I did it the other way around, flashed TWRP then Magisk, and then lost TWRP.

Is anyone else having a problem with this not being able to keep both Magisk & TWRP on the phone? Obviously this only happened since the new version of Magisk 22.1 came out, which is to be flashed as a ramdisk boot.img. Never had an issue with previous versions of Magisk and TWRP co-existing.

Anyone have both Magisk 22.1/23.0 AND TWRP installed and how did you manage to do that??

Yes i also tried to install TWRP installer zip (which installs on both slots) and still lost Magisk afterwards.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Wishmasterflo:
I just flashed Carbon ROM today and have Magisk 23.0 but I use OrangeFox recovery right now not TWRP.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Beast14:
oh cool, another CR fan! Yea i updated my Magisk from the app to v23.0, all good there too. In what sequence and how did you flash Orangefox and Magisk?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Wishmasterflo:
I flashed the ROM, then Orangefox, reboot to recovery. Flashed Nikgapps, and Magisk 23.0
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] plepew:
I flashed the ROM, then Orangefox, reboot to recovery. Flashed Nikgapps, and Magisk 23.0

Dualboot TWRP/OrangeFox Oneplus 6/6t

So a bit off topic for this thread, but I went to see about this Carbon ROM and seems to be a pretty solid one and has a nice evolution since 2019 for the 6T (Carbon ROM for OnePlus 6T (Fajita))

Even though Magisk is NOT the topic of this thread, it was highlighted a while ago on Magisk Github, it is not recommended to be flashing Magisk thru recovery anymore...here is the actual web page at the bottom of the page (This installation method is deprecated and is maintained with minimum effort. YOU HAVE BEEN WARNED!)

Custom Recovery

This installation method is deprecated and is maintained with minimum effort. YOU HAVE BEEN WARNED!

It is very difficult to accurately detect the device’s information in custom recovery environments. Due to this reason, installing Magisk through custom recoveries on modern devices is no longer recommended. If you face any issues, please use the Patch Image method as it is guaranteed to work 100% of the time.

Download the Magisk APK

Rename the .apk file extension to .zip, for example: Magisk-v22.0.apk → Magisk-v22.0.zip. If you have trouble renaming the file extension (like on Windows), use a file manager on Android or the one included in TWRP to rename the file.

Flash the zip just like any other ordinary flashable zip.

Reboot and check whether the Magisk app is installed. If it isn’t installed automatically, manually install the APK.

Warning: the sepolicy.rule file of modules may be stored in the cache partition. DO NOT MANUALLY WIPE THE CACHE PARTITION.

Just as an FYI: Currently running all the below and running super well! :)

updated to OOS 10.3.10 from 10.3.9 a few days ago with an

updated to TWRP 3.5.2_9-0-fajita from TWRP 3.4.0-11-fajita official/unofficial Mauronofrio version and

updated from Magisk 22.1 to Magisk 23 yesterday

✌️
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Saksham03:
Flash TWRP

Reboot recovery

Flash Magisk

Reboot system
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Beast14:
Yes, i didnt flash Magisk via recovery. I flashed it following the guide here: https://topjohnwu.github.io/Magisk/install.html#patching-images - its the new way to install/flash Magisk, right? thats how you all did it? so basically i flashed via adb with this cmd: fastboot flash boot /path/to/magisk_patched.img. but then i lose recovery when rebooting. What am i doing wrong here? Im too scared to try again as i have restored everything on my phone now and it took me all day.

My magisk updated to v23 via the app, but currently am sitting without TWRP. When i try boot into recovery, it goes to CarbonROM's custom recovery menu. How can i install TWRP and keep the existing updated version of Magisk without losing my data?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] plepew:
Hi Beast14,

This thread is really about TWRP 3.4.0-11 fajita Official/Unofficial TWRP recovery for OnePlus 6T (Stable) by Mauronofrio and in all honesty, pretty much dead as I found out recently. There is an Official TWRP now: Download Here with the latest versions. This thread is really not about Magisk.

I would love to help you, don't get me wrong, but my Magisk was installed a while back & have been simply updating the Magisk within the app & each time I did an OOS update, re-applied TWRP thru Magisk & applied Magisk to inactive slot. I have not had to do a fresh install of Magisk in recent years. So i'm not well versed on the recent new process for a new install on a device that doesn't have it.

I strongly recommend that you go to this thread here: Magisk General Support / Discussion from topjohnwu himself & a bunch of subject matter experts. There you will find tons of information, instructions, resources, support & assistance to resolve your challenges. I am sure someone will come to your aide fairly quickly and I will be looking out for it as I will have the same challenge soon because when OOS 11 for the 6T finally drops, I want to do a fresh & clean install from scratch...lol!!

Good luck mate!!

✌️
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] plepew:
Hey guys, for some reason I ended up on "Unmodified System Partitions", must have tapped the screen a few times in error while handling the phone I guess.

What should I do?

Unable to go back to TWRP main menu without selecting an option.

I am rooted, on stock OOS and not doing customs ROM at this time...

What should I do?

Select "Keep Read Only"? or Swipe to "Allow Modifications"?

thanking you guys in advance for you help & guidance!

✌️

POSTED this on another thread. When I get the proper response, I will provide the response to the other thread. :)
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jhedfors:
You did not state what you were trying to do...

If you were not intending on making any changes, select keep read only and reboot.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] plepew:
I was going to do a Nandroid....but I may have touch the screen while handling the device it and tapped away by mistake and ended up there.

I ended up swiping as per Extreme_Ninja2099 in another thread.

Here was his answer:

Swipe to allow modifications. But it seems that your internal storage corrupted. Not sure what you did and how you got into this situation.

After you swiped to allow modifications... If the internal storage files are a messed up, try to switch slots and reboot recovery

My Response:

I swiped and yeah, the IS was messed up in File Managfer(TWRP).

Selected Reboot then Selected the Slot I remembered I was on : "A"

Rebooted & Boom all good!

Thank you for the quick response and assistance!!

✌️
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] HannibalLecter:
is this version of TWRP dead?

So shall we use Official Now?

this one used to be ahead in terms of capabilities despite the older name/version from official?

what is the scene now can the dev please update us?

@

mauronofrio