yashsingh1/xdaforums huggingface dataset:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] OhioYJ:
Locking the bootloader was one of your troubleshooting steps? It sounds like you are just typing in random commands. You are going to have a bad a time.

I would suggest Funk Wizard's Guide, also note the one section on EFS backups, that is the on item unique to your phone. Hopefully you never need them, but if you ever do, it will save your phone. Make those backups and keep them somewhere safe (not on your phone).
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Dimcode:
Hahaha yes random, I was going to call it a day and think "meh, I'll just lock the bootloader again" and then see that it's booting into stock recovery. It's giving me hope thus I unlocked the bootloader again. It wipes the phone and to my surprise, restored the boot to the correct one.

Thank you for your advice! Currently doing a backup when I saw your comment. Cheers :o
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] OhioYJ:
Locking the bootloader on a device that isnt stock, can result in a bricked device. We are lucky enough to have the MSMTool that doesn't care about the bootloader status, but generally a bad idea to use the bootloader as troubleshooting. Thats the only reason I pointed it out.

Glad you got it sorted out.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] paulr24:
So I'm in the middle of attempting to flash a new ROM to my OnePlus 6T and running into issues with TWRP. Something seems to have gone wrong with the ROM flash and the next thing I want to do is go into TWRP and mount it to my PC so I can backup my data. Right now for some reason TWRP refuses to decrypt either of my partitions. It just boots up and asks whether I want to use it in read only mode or not, and doesn't ask for the encrption password. Any ideas?

Edit: I said that "TWRP refused to encrypt either of my partitions," I meant to say decrypt.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] david72262:
Did you just format data? The one where you type yes, that will do it.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] paulr24:
I was purposely trying not to format data so I did Factory Reset withought selecting to fomat data. I guess it's possible that I may have by mistake but I really doubt it.

Is there any other reason that both slots won't decrypt like this? I just tried flashing back to the latest Oxygen OS via adb sideload but that didn't work either, still can't boot and it goes right to stock recovery.

Edit: I just realized that in my original quote I said that "TWRP refused to encrypt either of my partitions," I meant to say decrypt.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] OhioYJ:
I think the slots / decryption needs clarification here. There are two slots, and one data partition. The data partition is encrypted, the two "OS" partitions are not. When you type in the password you are decrypting the data partition. If you hit cancel at the password prompt in TWRP, then mount system you can still see all the files for that slot, or switch slots and see the other slot.

If you are going from Android 9 to 10, you need to format data. If you are going from OOS to a custom ROM you need to format data. My [Guide]Installing Lineage will work for installing many custom ROMs. Might be helpful?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] paulr24:
Oh interesting, I wasn't fully aware that the slots and data partition work that way exactly. The issue that I was this. In the past when using TWRP, if I booted to one slot (I forget if it was A or B) it would work fine and request a decryption password, but if I booted to the other, it wouldn't decrypt. I'm not sure if that's the norm but I feel like it's not?

When this issue today start, booting to either the A or B slot would not bring up the request to decrypt. So I had no way of seeing any of the data on my phone since it was stuck in a bootloop.

I ended up losing patience/hope and just formatted data even though I didn't really want to lose that (mostly unimportant, but some that I kinda wanted) data. I'm still interested in learning more about this and what the heck was going on with my phone. Is what I just explained normal behavior?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] OhioYJ:
No. Did you have different ROMs on the two slots?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] paulr24:
It's possible that at some point I had different versions of Oxygen OS on the two slots I suppose, but this was my first time switching to a non-stock ROM on this phone.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] OhioYJ:
If both slots had Android 10 OOS on it, no problems being different versions (one being 10.3.1, and one being 10.3.2 is not an issue). If both were Android 9, no problems. If one was Android 9 and one 10, random things can happen. One slot being OOS and one slot being a custom ROM can cause random problems as well. You'll notice most instructions have the initial install flashing twice (to get both slots on the same ROM), then updates only flashing once.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] paulr24:
Ah I see, thanks for the info! Things are going well with the new ROM since I formatted data, but I guess I should make sure to flash the same ROM to the other slot before flashing the next update.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Termehansen:
I'm still a bit surprised that we need to fully wipe also all internal storage each time we install a new ROM. Why is that needed and why is a wipe of the data part not enough?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] naseefnachi:
With the latest oos we don't need to wipe internal storage
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Termehansen:
So from 10.3.2 and to other ROMs we only need to wipe data (as I'm also is used to from other phones)?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] naseefnachi:
Not 10.3.2

Latest 10.3.3.

Unlike in othe phone while installing stock oos data encrpted and we can't access it with twrp, with the latest 10.3.3 if we dont have any screen locks we can access internal storage
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ay453sfad:
noob here, I have some questions and I apologize if they're dumb, I'm confused about a couple things. what exactly does " Copy the recoveryimgfilename.img in the phone memory" mean? where do I find it to copy it, and where am I copying it to, and how do I copy it? none of this is explained (in enough detail for a noob like me to understand) and I'm lost on this step, every other step makes sense though.

also I don't need to use linux to run the commands right? also it doesn't matter what version the phone is on right, the newest version can still have twrp installed?

And are there any up to date videos that show how to do all of this(either method is fine if there's a good up to date video guide)? I looked on youtube and most of the videos seemed to be a bit old so I wasn't sure if they'd still be accurate.

Thanks for any help!
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] naseefnachi:
Phone memory means your phone internal storage. Download the image from the first post.

windows command prompt can be used to run command.

Always use latest twrp.

You can see videos in youtube just search how to install twrp in one plus 6T
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Alecjasonn:
3.3.1.-32

But no worries. I got it to work. I don't know why it wasn't working the first two times I re-flashed, but the third time everything went smoothly.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] hightension:
Hi , is openrecoveryscript implemented yet ?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] moa77:
HI,

I have a 6T with Android 10 (OxygenOs 10.3.2). The device is oem unlocked. I have the latest fastboot/adb (30.0.0).

When I try and install the temporary boot image, it reboots, but just hangs on "Oneplus+ Fastboot Mode" logo screen.

I'm doing;

C:\Android\android-sdk\platform-tools>adb reboot bootloader

C:\Android\android-sdk\platform-tools>fastboot boot twrp-3.2.3-2-fajita.img
Sending 'boot.img' (30288 KB) OKAY [ 0.858s]
Booting OKAY [ 0.077s]
Finished. Total time: 0.975s

I've tried with both lineage-17.1-20200422-recovery-fajita.img and twrp-3.2.3-2-fajita.img. Both hang a fastboot logo screen.

The phone can boot again fine into OxygenOs and works, just can't get the recovery running.

Any clues? thanks in advance.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] pjadec:
Because you use Pie version of TWRP and it will not work. Use newest TWRP version. TWRP 3.3.1-32 Q Unofficial by mauronofrio
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] lostunsunghero:
Did you try using the AIO tool? Boot into fastboot mode and select "recovery flasher and device rooter" then select TWRP Android Q and see what happens.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] AquariumVitae:
Hello [MENTION=4712355]mauronofrio[/MENTION] ,

I read somewhere on gerrit.twrp.me or on github, that there is a fix for the backup (and restore?) problem associated with "createtarfork()", " error 255" and "parallel apps/work profiles/shelter/island".

Something about decrypting the other users.

I don't want to ask ETA, but at least will this come to the OnePlus 6T Fajita in a next release?

I would rather not delete additional users but it is no use _to delay essential backups_ if adding the patch is not planned. (eg. before further modding, Magisk, xposed etc)

Thanks :)
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] moa77:
Not sure where that is? But I have managed to get past that part now somehow. I am now able to get to recovery. I have tried both the twrp version and the lineageos recovery, installing all these;

lineage-17.1-20200421-nightly-fajita-signed

lineage-17.1-20200422-nightly-fajita-signed

lineage-16.0-20200325-nightly-fajita-signed (because others didn't work...)

After installing any one of them, twrp say "No OS installed". I don't get any errors on screen using the twrp install process. Just says "1/2" then "2/2" then returns, no on screen errors.

I'm using latest twrp (twrp-3.3.1-32-fajita-Q-mauronofrio) as suggest above.

But I see I have errors in the recovery log. the part an the end where gapps fails I guess is just because the OS part failed previously. The gapps, I can look at later, but I can't even get the OS on currently.

I've attached log, fro installing lineage-17.1-20200421-nightly-fajita-signed.zip with twrp-3.3.1-32-fajita-Q-mauronofrio
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] lostunsunghero:
It's saying no OS found because youre using the lineage specific recovery. Use this one instead and see if it works.

https://androidfilehost.com/?fid=4349826312261707793

here is the AIO tool i mentioned previously in case that doesn't work.

https://xdaforums.com/android/software/tool-tool-one-driversunlocktwrpfactory-t3358711

edit: Question, when the flash completes is it booting into TWRP? Did you send a fastboot reboot recovery command via adb? If not then that's what you need to do.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] moa77:
Thank you for the prompt reply, but I wasn't using the Lineageos recovery, I was using the same one you gave the link for.

This is the first line of the recovery log from my last post;

Starting TWRP 3.3.1-32-a0f664c5 on Thu Mar 5 23:54:51 1970

But even with that (the Q version), and installing a 17.1 rom, as details above, it still says no OS after install.

And to answer your question about after the install, it's still in twrp so I go back the the reboot menu and choose System, which I would normally do as per any other phone I've done this on, but this just boots to bootloader menu (I guess becuase no OS)

I used the AIO tool too. I can get TWRP 3.3.1-32-Q on with the tool and via bootloader too. And I can install one of the 17.1 OS, from lineageos.org. But after install when I try and reboot system it just keeps warning there is no OS and just boots to bootloader.. :/

Can anyone who knows a little about what's going on see the issues from the recovery log??
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] sgsnoob325:
Hi everyone.

I really need some help, I have done more less the same things as the guy above and fastbooted the wrong twrp (pie) and soft bricked my phone. I tried a few more times and the phone stopped booting and no longer has stock recovery. It just shows the warning about an unlocked bootloader. It does not move from this screen.

I have managed to get it into fastboot and I used the twrp Q.img unofficial as mentioned above and I can get the phone into the TWRP recovery. But from here I am stuck.

I have tried adb sideloading the TWRP zip file for permanent recovery access but when I reboot into recovery to check I am faced with the same situation . ie. no recovery and stuck at the warning for bootloader being unlocked. Phone does not boot.

I have tried adb pushing the TWRP image file to try install using twrp "recovery ram disk". But i cannot get the file to the phone.

I am wondering should i root it? Should i install original rom again via fastboot or adb sideload.

I dont know what to do.

i am using a mac which i think is making things harder because I cannot drop files to the phones memory as apparently i have not got MTP enabled and I cant turn the phone on to do this. I have attmepted to enable this via adb also but failed.

i really could use some step by step guidence

thanks
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] moa77:
If you can get into twrp now, you should be able to copy the files to the phones internal storage as normal, as the phone should just appear as an internal storage folder on your computer, like plugging in a usb stick. It does on mine, (as MTP is enabled by default in the mount section)... once there, you can browse to it in Advanced>Install Recovery Ramdisk.

I'm on a PC, not mac, but that part works pretty straight forward to me. My problems are when I try in install the OS.

Have you put a custom ROM on yet, if so, which one?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] lostunsunghero:
Right this is very strange in a no OS situation it should throw you back to recovery not the bootloader. So something has gone wrong during either the flash of the OS or the recovery or both. In either case is it possible for you to return to stock Oxygen OS with stock recovery using one of the guides in the forum?

If yes then do that and start again flash TWRP (i recommend using the AIO tool as it will flash a persistent copy without you needing to do any extra steps)/ Once TWRP is confirmed working and you can boot into Oxygen OS you can go from there to do whatever it was you were trying to do in the first place.

If you cannot go back to stock this suggests a soft brick and you can use the MTM tool found in the forum to get your phone back into a working condition and again just repeat the steps mentioned above.

EDIT: it's also possible that the rom you downloaded is corrupted. Did you double check the MD5 before installing? if they don't match you should try downloading it again and installing again before the above steps. The log tells me that you tried installing gapps for 10 on a 9 install of Lineage. You're saying here that you installed Lineage 17.0 but the log is showing 16.0
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] moa77:
I really don't get where the reference to 9 are from. I have gone into both slots A & B from wiped all the partition. So there is no OS. I've (tried) installing 17.1 on both slots, and although I hasn't install the OS properly so it will boot, I know it's installed the 17.1 stuff, as both slots boot the 17.1 lineage recovery after I try to install 17.1, which looks different the that 16.0 recovery. So there is NO 16.0 on any slot. The only thing I do after that is put twrp-3.3.1-32-fajita-Q-mauronofrio recovery on. But when I look at recovery logs after that, I see those things too??

ro.omni.version=9-20200225-fajita-HOMEMADE

ro.omni.version.security_patch=

ro.twrp.boot=1

ro.twrp.version=3.3.1-32

ro.vndk.lite=true

ro.vndk.version=28

ro.wifi.channels=

ro.allow.mock.location=1

ro.board.platform=sdm845

ro.build.id=PQ3B.190801.002

ro.build.date=Tue Feb 25 14:19:15 CET 2020

ro.build.date.utc=1582636755

ro.build.host=MAUROMINTNEW

ro.build.tags=test-keys

ro.build.type=eng

ro.build.user=mauronorfio

ro.build.flavor=omni_fajita-eng

ro.build.display.id=omni_fajita-eng 16.1.0 PQ3B.190801.002 eng.mauron.20200225.141928 test-keys

ro.build.product=OnePlus6T

ro.build.selinux=1

ro.build.version.sdk=28

ro.build.version.base_os=

ro.build.version.release=16.1.0

Where are the 16 and 9 things comining from?? is the recovery rigght? Um 100% putting this (twrp-3.3.1-32-fajita-Q-mauronofrio) on!!?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] sgsnoob325:
Hi.

I'm using stock ROM. This is my first time messing with this phone.

Mac's are tricky to use when it comes to androids. So I can't easily get the files onto the phone through usb.

Can anyone help me out?

Phone is still in temporary twrp and will not take permanent twrp zip file. Phone doesn't boot either.

---------- Post added at 12:57 AM ---------- Previous post was at 12:56 AM ----------

Hi.

I'm using stock ROM. This is my first time messing with this phone.

Mac's are tricky to use when it comes to androids. So I can't easily get the files onto the phone through usb.

Can anyone help me out?

Phone is still in temporary twrp and will not take permanent twrp zip file. Phone doesn't boot either.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] pjadec:
Do you have USB memory stick? Then you need USB-C OTG. Then you can copy files from Mac to USB.

Like these are what I have. Then you can install rom and etc from USB memory stick
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] PattayaGlock:
I am in need of serious help.... I am soooo lost

Background:

Screwed up my phone playing around with some permissions for system apps, ended up in an endless bootloop.

Booted into TWRP, but had already deleted my last ota update file. Dowloaded the file, used adb sideload, reflashed twrp, got rid of my xxxNoLimits boot animation, but still stuck in bootloop.

Back to TWRP recovery, did sideload again....FORGOT to reflash TWRP =((

Stuck in a bootloop still, only NOW with the factory recovery.

Booted into the bootloader, which is still unlocked. Have used fastboot and "$ sudo fastboot boot twrp-3.2.3-2-fajita.img" but reboot just hangs on the fastboot mode screen, never boots. I have tried this on a couple of different images with the same results.

Before all the fun started I was on OOS 10.3.2, Elemental X kernel, xxxNoLimits Magsik module.

The only thing I have not done is a complete wipe and start over. I have a data back up, but REALLY want to fix this while saving my data.

Any suggestions? Anything I am missing? I am notorious for skipping a minor detail ( like sudo ).

I have a windows machine if that is last recourse at out shop, but I am a Linux user (MXLinux).

Thank you in advance,

JC without a phone
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] sgsnoob325:
Hi fellas.

So i have managed to get the IMG file onto the phones memory through the temporary TWRP recovery using usb and an old windows laptop.

I flashed the img file using ramdisk function on tmrp. I rebooted into recovery to find myself back in the same situation.

My situation is I cannot boot the phone and I cannot seem to obtain permanent TWRP. I can only get into it via terminal.

I am really lost. I dont know what to do.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] pjadec:
So with this tool you can restore your phone to its original state https://xdaforums.com/oneplus-6t/how-to/tool-6t-msmdownloadtool-v4-0-oos-9-0-5-t3867448

But, it wipe all data
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] sgsnoob325:
I have managed to get back to stock. Thank goodness.

The phone is on android 10 Oxygen 10.3.3.

I tried to fastboot twrp again and unfortunately the phone just stays in fastboot logo until I force restart it.

What am I doing wrong. I am finding it impossible to get twrp onto the phone.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] moa77:
I managed to get that process working eventually. What slot you are on seemed to be a big part of the problem for me. If you are using the "flash_all.bat" script to retuen to stock. do "fastboot --set-active=a" prior to doing that. then the fastboot flash boot, using the 3.3.2-32 (Q version!) and it should work. That's the process i used right after a reset to stock.

I can install lineage from there. btw, I only lasted about 15 mins on that because I hated the finger unlock compared with the stock too much, and it didn't have the face unlock either??
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jules16v:
Similar problem here.

- Saw the notification that the 10.3.3 update was available, downloaded the ROM update and tried flashing it via TWRP without luck as my phone is encrypted.

- Took the OTA route, install went as expected (mangling TWRP recovery and root in the process).

- Rebooted into fastboot (bootloader is still unlocked)

- "fastboot devices" shows me that the phone is connected and the daemon is running

- "fastboot boot twrp-3.3.1-32-fajita-Q-mauronofrio.img" brings me to the installer and password query

- "install" -> "twrp-installer-fajita-3.2.3-2.zip"

and immediately

- "install" -> "Magisk-v20.4(20400).zip" (also tried 19.4)

-> reboot system

System boots up normally but no root is detected.

When I try to boot back into recovery mode I get stuck in a bootloader bootloop.

Flashing only TWRP recovery without Magisk makes no difference.

I grow weary of this nonsense, can anyone please put me out of my misery?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] :
You're using an Outdated version of TWRP. Use the latest 3.3.1-32. At least you're installer is outdated. Use the latest one and also the latest Magisk.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jules16v:
Sigh. You are absolutely right. Problem solved!

The latest Magisk is in fact 20.4...
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] MichelFreri:
Hi everyone. I managed to unlock the bootloader but I can't install the recovery. After typing the string: fastboot boot twrp-3.3.1-32-fajita-Pie-mauronofrio.img the phone hangs in a black screen with the word fastboot mode.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Maybe you need of the Q .img
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] MichelFreri:
Hi! Yes you are right I tried the Q and it worked without problems. Thanks so much.

Sei un grande!
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Check better the first post
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] PattayaGlock:
After spending 2 days trying to get my phone back p and runninng it turns out "the latest version" of TWRP is buggy and not working!!! All the guides say "get the latest version". I went back about 3 versions and had my phone up an running in 30 minutes!!!!! just accidentally stumbled across a post in a Xiomi forum that suggested TWRP version was the issue.

Banged my head on the desk and questioned 5 yrs of higher learning for 2 days!!!!

---------- Post added at 08:19 AM ---------- Previous post was at 08:18 AM ----------

After spending 2 days trying to get my phone back p and runninng it turns out "the latest version" of TWRP is buggy and not working!!! All the guides say "get the latest version". I went back about 3 versions and had my phone up an running in 30 minutes!!!!! just accidentally stumbled across a post in a Xiomi forum that suggested TWRP version was the issue.

Banged my head on the desk and questioned 5 yrs of higher learning for 2 days!!!!
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
What? Xiaomi forum for oneplus 6t twrp?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] dwardo:
[MENTION=4712355]mauronofrio[/MENTION] have you been able to discuss this proposal in the TWRP group ? What did they think about it ?