yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 Guides, News, & Discussion] jordanlaa:
I have my device coming next week and want to get involved with Custom Roms and rooting once some of the incredible devs here develop some stable roms. I was thinking of unlocking the bootloader straight out of the box and then stopping there so that when I decide to proceed I won't need to wipe all user data. If I only unlocked the bootloader, am I still able to apply Oneplus OTA updates through the settings app as usual? This is in reference to your warning: "Warning: Do not flash partial update OTAs (under 1 GB) on a modified device! If you want to use partial OTAs, you must first flash a full OTA that it applies to, and then flash the partial OTA from stock recovery. Flashing partial OTAs from TWRP will either fail or soft brick your device. You can return to a usable state by flashing full zips in recovery."

Thanks for your guide Funk Wizard!
[OnePlus 6 Guides, News, & Discussion] cultofluna:
You can just take the partial OTAs with unlocked bootloader..

But if you install custom recovery ( twrp) ..then you have to flash the full rom zip anytime that you want to upgrade..
[OnePlus 6 Guides, News, & Discussion] Funk Wizard:
As and when you get the device follow the below:

1. Boot up the device and check for system updates

2. Update to the latest available 5.1.3 as of today or whatever latest at the time you have the device.

3. Unlock the bootloader

4. Continue with TWRP flash & Root (Magisk) as by next week TWRP will be available

4. Set up the device the way you want now like installing you preferred apps and setup your device.

5. There on whenever an update comes download the full zip and flash it via twrp instead of partial OTA's

I will make a separate thread for instruction on how to update just like my threads on 5T & 5, links on my signature.

Those will be self explanatory and tested instructions as I happen to have the device with me.

For anything else you are free to discuss here, I may not be available all the time due to work schedule however I will answer all your concerns once I have access to xda.

Thank you for your patience :highfive:
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
Go back to recovery and change the slot before rebooting system. Same issue occurred to me yesterday.

.. have you changed the slot before flashing recovery? That maybe the reason as I did yesterday and didn't changed back before booting system.
[OnePlus 6 Guides, News, & Discussion] Nickerek:
I currently flashed clean 5.1.5, I got working TRWP (without any of mentioned "fixes", they screw things for me), what steps should I do right now and when should I change that slot and for what.

Sorry if I ask for basic and obvious things, I have already spent a lot of time trying to work it out on my own and couldn't do, so it will be better if I ask i believe.

Also I need small clarification about this step:

Select Install Menu & Install img > Select stock boot 5.1.5 provided on the download package by selecting the boot option

I should download OP6Oxygen 5.1.5 and flash it at that point or?
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
Ok, I thought you flashed TWRP as described in the corresponding thread. Actually I don´t know what exactly happened in your case. To repeat myself Ihad bricked my phone and followed the instruction of this thread: https://xdaforums.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665

Then I flashed the new TWRP over the old one, but before I changed the slot (which was recommended but NOT necessary. I forgot to change back afterwards, rebooted into system and got the same error message as you did. Therefore I thought you can try to change the slot and reboot system again.

The choice of changing the slot you will find in TWRP when you press reboot. Down on the display there appear "SLOT A" and SLOT B" and the information on which slot you are. You can try as I did by changing, but maybe this can result in a bricked phone as I cannot reproduce the reason of your issue.

No matter what you do or what happens, following the instruction of the linked thread may help you out in any case. But I would suggest to wait for another answer to your request as I am not experience with that "slot thing"
[OnePlus 6 Guides, News, & Discussion] Nickerek:
Now I am in trouble :D Need help guys. I can start phone, which shows screen about unlocked bootloader and then screen turns black and just blue diode is light up above screen. I need to hold power button down for about 8 sec tu turn that off, then I can do it again. Can't boot fastboot/recovery/system. Can't see in cmd fastboot devices/adb devices. Any tips?

EDIT: managed to boot fastboot after 25-30 tries, flashed 5.1.5. Can someone help me and guide me step by step with that rooting process? I think I am missing some small/basic step that should be obvious and I am failing to root OP over and over.
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
So except root all is working now? Then for root there are at least 2 ways:

1, fastboot boot patched_boot... by following the instructions of this thread: https://xdaforums.com/oneplus-6/how-to/oneplus-6-magisk-root-oos-5-1-5-t3794440

2,a flash twrp following the instructions of this post: https://xdaforums.com/showpost.php?p=76633618&postcount=70

2,b when all finished you can update twrp with the instruction of the first post of the same thread: https://xdaforums.com/oneplus-6/how-to/recovery-twrp-3-2-1-1-hydrogen-oxygen-t3795770.

But don´t change the slot as described! It is not necessary and can cause issues as I described before.
[OnePlus 6 Guides, News, & Discussion] Nickerek:
Well... i finally did it :D Don't really know what I did diffrently this time but everything works, so I was doing something wrong for sure. Thx for trying to help tho!
[OnePlus 6 Guides, News, & Discussion] 19kylegreer96:
I'm having huge problems after following this, if anyone could help me:

https://xdaforums.com/oneplus-6/hel...s-internal-t3796927/post76658207#post76658207
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
Take a look at my post above. And also the last few posts which describe a similar (or the same ?) issue.

And maybe describe in your own thread how you installed twrp. The best you explain step by step what you did so we can find out the reason for what happened.
[OnePlus 6 Guides, News, & Discussion] 19kylegreer96:
I followed the original guide and flashed the temp TWRP

I get the error "there is an internal problem with your device on boot", apps cant login and my WIFI doesn't work at all.

It was after flashing magisk that the error message started showing, but I couldn't remove magisk without the device showing a black screen and a blue led when removing it via the magisk app. I did a data wipe and now magisk is gone and I have no root (although I did switch my emojis to IOS style and that has remained despite the data wipe) and I dont have any nandroid backups as the data wipe removed them (my stupid mistake)

I cannot flash oxygen OS fresh as you need stock recovery to do it and I don't believe it has been released yet. I just want my phone to return to stock to be honest, and then I will wait for a more stable / well backed solution in the future for custom recovery / root etc
[OnePlus 6 Guides, News, & Discussion] UCFour:
There is no recovery partition for OnePlus 6

Only Boot Partition

so

fastboot flash recovery recovery.img wont work

I haven't checked yet but if u have boot partition backup

try this from fastboot

fastboot flash boot_a boot.img

fastboot flash boot_b boot.img

It should flash the stock recovery back
[OnePlus 6 Guides, News, & Discussion] 19kylegreer96:
I managed to save the device with this:

https://xdaforums.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665

I had to also make the exe files it includes large application aware to work with 64bit windows. My phone just booted and wifi works
[OnePlus 6 Guides, News, & Discussion] Stern52:
Thanks
[OnePlus 6 Guides, News, & Discussion] amulbaby:
Thanks for asking what I had in mind.

Appreciate if anyone can answer this.
[OnePlus 6 Guides, News, & Discussion] masri1987:
i been waiting for TWRP to boot up now for 10 minutes, and i already rebooted it once before after a 5 minute wait.

Am i missing something here?
[OnePlus 6 Guides, News, & Discussion] cultofluna:
fastboot flash boot_a twrp.img

fastboot flash boot_b twrp.img

And then boot manually to TWRP
[OnePlus 6 Guides, News, & Discussion] masri1987:
ya i did that that's how i got to where i'm at
[OnePlus 6 Guides, News, & Discussion] iElvis:
Are you on 5.1.5 or 5.1.3? You should be on 5.1.5.

This twrp is laggy but not that laggy.
[OnePlus 6 Guides, News, & Discussion] masri1987:
5.1.5

I did the fastboot flash of stock firmware because it wasn't booting up then just did the root method with magisk. I'll wait until TWRP install method becomes a bit more stable
[OnePlus 6 Guides, News, & Discussion] deedaleet:
I have the same problem. I see the TWRP splash screen but even after waiting 10 minutes, it wont boot into recovery.
[OnePlus 6 Guides, News, & Discussion] Brouss:
Followed the directions. No issues. thanks!
[OnePlus 6 Guides, News, & Discussion] chakra:
I am getting error cannot load "TWRP.IMG" when trying to use fastboot flash boot_a twrp.img. I placed the twrp.img in the adb folder? any advice
[OnePlus 6 Guides, News, & Discussion] Ippolito1971:
Open the window in the location you have the file on your PC. For ease I always create a folder on my desktop for the device (I. E. ONEPLUS 6) then put any and all zips, files, etc in there. When I'm using fastboot I open my window inside the folder by holding shift and right click choosing "open window in this location" then fastboot flash. Easy peasy
[OnePlus 6 Guides, News, & Discussion] magnamentis:
try the following 2 downloads, they are neither laggy nor do they behave in any other way than perfectly working TWRP recoveries ever did.

1. fastboot flash boot twrp-3.2.1-oneplus6.img to the current slot

2. reboot directly into recovery from bootloader using the volume buttons to navigate

3. flash the recovery.zip file from within TWRP to the non-active slot, you can change the slots in boot menu

4. switch slot back to previous after having done that

5. flash root zip from twrp (version 16.4)

for this to work you'd have magisk app installed because you'll have to flash magisk again from within the app

this is a straight forward procedure, only exception is the need to re-flash magisk and also flash twrp to second slot, everything else works as it always did.

i post this because i had trouble before and none with this. i cannot judge what is different with this twrp than with others floating around.

i did not make it but found it on another website (did not keep the link, no need) only thing i know is that this recovery is blazing fast from first boot, has produced no errors or issues except the error 255 caused by parallel app file 999 in data partition which seems normal for now.

further DO NOT boot from the slot from which you flashed the recovery zip. it will have no wifi while the current slot once booting from that into system will have everything working.

hope it helps, while there is not much to flash from recovery i at least was able to dirty flash O2 OS from the OP site as well as making a nice nandroid backup in case of future issues, a real risk at current state of development ;)

http://magnamentis.com/WFH_Files/PaymentProofs/180522_Payments_Series_013/twrp-3.2.1-oneplus6.img

http://magnamentis.com/WFH_Files/Pa..._Series_013/twrp-installer-oneplus6-3.2.1.zip
[OnePlus 6 Guides, News, & Discussion] novo123:
Hi, I'm new here and i hope i'm in the right place for my request. And please, sorry for my english, not perfect since i'm French.

Well i followed the procedure to root and install TWRP but it doesn't work out.

No problem for the procedure to root my OP6 but when flashing and lauching TWRP i did the chinese spash screen and since i don't speak chinese for sure i did someting wrong when searching to exit.

Now i can't launch Android and Oxygen OS, i only do have the black screen with to Start, restart bootloader, recovery mode or power off and no matter what i select, i always come back to this screen. Windows can't even access to the phone (i see the oneplus 6 icon but when i click on it it freeze)

Anybody could help me to sort it out ?

Thanks in advance.
[OnePlus 6 Guides, News, & Discussion] Rebel7022:
Reflash the stock boot image, then when you get to oxygen recovery, do a factory data reset( that's what I did, cause when in flashed the stock boot image and didn't do a factory data reset and just went back to fastboot and re-flashed TWRP it still didn't load) (maybe that's a unnecessary extra step,doing a factory data reset, but it worked for me) then re-flash the TWRP image in fastboot, then boot twrp, go to settings witch is the third tab on the right, look for the the globe icon & change it to French or English, then follow the steps again in the post
[OnePlus 6 Guides, News, & Discussion] novo123:
Many thanks for your help and explanations but please, could you let me know where i can get the stock boot image and how to flash it ? any link or detailled infos ? Sorry for the incovenience and many thanks in advance.
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
https://androidfilehost.com/?w=files&flid=271474

All credits go to [MENTION=258172]tito[/MENTION]
[OnePlus 6 Guides, News, & Discussion] novo123:
Thanks very much ! So i downloaded the following file : OnePlus6Oxygen_22_OTA_009_all_1805172226_boot.img

Then i opened cmd and use the command "fastboot devices" to check if my OP6 is recognize (Yes, it is), then i used the following command "fastboot flash OnePlus6Oxygen_22_OTA_009_all_1805172226_boot.img" on the folder where i added the image and it failled (remote : failed to load /authenticate boot image : load error). Tried a second time with "tool all in one software" and failled too with "unknown partition error cannot determine image file name xxxx.img

Any help ?
[OnePlus 6 Guides, News, & Discussion] laupuy:
You can't flash rom via fastboot unless you use a special one here https://xdaforums.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665

Edit

Ah, and if you want to flash a boot.img you should use fastboot flash boot boot.img or with A/B partition:

fastboot flash boot_a boot.img

fastboot flash boot_b boot.img

Or something like that (please search)
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
Just fastboot boot boot.img (of course the whole name of the boot.img). Don't use the command "flash"
[OnePlus 6 Guides, News, & Discussion] novo123:
All right, i will try this out. Hope it works to unbrick my OP6 ;) Many thanks for your help !
[OnePlus 6 Guides, News, & Discussion] magnamentis:
no guarantee that this always works but the first and easiest thing to try after the usual means did not work would be to:

- format, system and data partition ( fastboot format system etc.)

- fastboot boot boot.img (entire file name) (fastboot flash boot boot.img is working as well, no reason to make a difference there while

. the flash command always works with any device for sure.

- relock the bootloader and immediately unlock it again in one singles session.

- boot into recovery from bootloader (use volume buttons to navigate.

two things can happen now if it works which it usually does and did with the OP6 for me:

a) the device will boot directly into system, skiping the recovery ( no clue why but that's how it happened)

b) recovery will boot and boot into system from there.

the reason why this works is because the device holds a system image and a vendor image partition that remain untouched no matter what you do and did. only thing you need is a perfectly good kernel (boot.img) and you're good to go.

like this one can save the hassle of all the tools that:

a) don't always work

b) are not always easy to comprehend

c) mostly are made for windows like if there would be no mac users nowadays LOL

good luck
[OnePlus 6 Guides, News, & Discussion] novo123:
Thanks very much. The procedure by flashing the stock rom with the fash.bat file here works : https://xdaforums.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665

Everything's ok now but no root anymore and of course everything was erased but it's ok. Now i will try to root again with TWRP, hope it works this time.
[OnePlus 6 Guides, News, & Discussion] magnamentis:
try this post : https://xdaforums.com/showpost.php?p=76681988&postcount=203

best variants i've found for me, does not exclude others to be as good, just say that those are great, snappy and working from first moment.
[OnePlus 6 Guides, News, & Discussion] novo123:
Is there another link to download Twrp + root package ? Triying to get this file the whole day but failled each time (Rar is about 64mo but can't be opened with the mention "corrupted file"). This google link sucks. Thanks !
[OnePlus 6 Guides, News, & Discussion] cultofluna:
https://xdaforums.com/oneplus-6/how-to/unofficialbeta-twrp-oneplus-6-t3798439/post76690534
[OnePlus 6 Guides, News, & Discussion] Funk Wizard:
Guys i see a lot of people bricking their device trying to go back to stock recovery when they have root/twrp.

TWRP for now is actually not of much use as we dont have much to flash for now. Let me know if you guys want to go back to stock with stock recovery, i can post a simple 3 steps where in you can unroot and go back to stock recovery and also lock you bootloader if the need be without using the unbrick tool or having to flash the fastboot flash the whole zip with long fastboot commands, Thanks.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
I have some problems to automatize the process without the phone. Actually the tool wantìs to boot the twrp and not to flash it directly in both slots
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
Feel free to to so :) ... Honestly I would be pleased. Obviously I tried too many things out. Now I have reboots, Magisk modules don´t work, wifi broke and so on. I could need your help, if it is an easy method. Would I lose data with your steps? Just use adb and boot boot.img to both slots doesn´t work? I ask because I dont wanna brick and unbrick my device again. Thanks in advance
[OnePlus 6 Guides, News, & Discussion] Funk Wizard:
Well if you lock the bootloader yes you have to have a stock phone in order to do so ... yes wipe required before locking otherwise if you just need to get back to stock recovery and unroot keeping bootloader unlocked no wipe required.

Let me test the steps later tonight and i would do a post tomorrow as i dont need any further bricks, i can afford them myself rather then others as OP6 is not a daily for me :laugh:

Being a Saturday evening not in a mood to experiment too much so may be once i am back after a few beers i will do the testing later tonight ;)

Enjoy your weekend :highfive:
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
Same here. It´s Saturday and children come first. I didn´t want to waste too much time on starting from scratch and I thought you already know an easy method “rescuing” things. So please forget my request. I´ll try to find a way by myself.

I just did the “fastboot-rom-method” and accepted, losing my all my data. Unfortunately after flashing the latest twrp posted last night my wifi broke again. So one more time…

Anyway thank you for your intention to help!
[OnePlus 6 Guides, News, & Discussion] magnamentis:
oh... without the phone things can be tricky, hope you get it soon, if you get close but there is no progress let me know, i gonna send you another 10 if needed ;)

---------- Post added at 10:26 PM ---------- Previous post was at 10:21 PM ----------

not generally contradicting but still want to say that i'm glad for two things with a flawlessly working TWRP recovery:

- i'm happy to have a full nandroid backup now

- i'm glad to be fully ready to shoot away once the first custom ROM and Kernel that interest me will pop up.

BTW this OOS is astonishingly great, i've been on RR and a few more for years and this is the first stock rom which gave me the thought to

perhaps keep it. after all, many custom rom features can be had via apps from the playstore or elsewhere, at least on rooted devices.

i mostly use tasker, a good launcher, a few tasker tools and intents and only little is missing.

my compliment to OP since i bashed them in the past ( when the OP2 came out) LOL

cheers [MENTION=535343]all[/MENTION] and a nice weekend
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Thanks for your support :good:
[OnePlus 6 Guides, News, & Discussion] azsl1326:
Did you try this TWRP, https://xdaforums.com/oneplus-6/how-to/unofficialbeta-twrp-oneplus-6-t3798439/post76699128?

Supposedly it uses the OOS kernel, while the original one used the kernel from Hydrogen OS, this the reason for Chinese and the wifi breaking.
[OnePlus 6 Guides, News, & Discussion] Dr.A:
after doing this I got no sound working on my device !!!

no sound and no wifi !!

can anyone help
[OnePlus 6 Guides, News, & Discussion] Funk Wizard:
We appreciate your feedback on OOS and its optimization on providing you best OEM Android ROM. Welcome back to OnePlus and thank you for your continued support. I would insist you to stay on OOS for now till you have good custom rom support all over which would take another month AFAIK and hopefully 6 will also move to beta stage with P incoming within a few months. Lots happening behind the scenes actually which is positive for the OP community.

I did some tests last night and looks like TWRP is far from stable right now. Although you can take a nandroid but the restore is still broken for me when i tested. Also the TWRP is unable to flash the OOS full rom image as it ends up in an error. For now its only good to flash Magisk and a couple of custom kernels which are out.

We are working on the next OP6 update and if we dont get a refined TWRP version till then I am sure all have to do the update manually as for now TWRP is not able to install/flash the OOS full zips.

Ill post by findings soon later this evening once i lock the bootloader again for test purposes.

Cheers Funk :highfive:
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
I can confirm that this version of twrp breaks wifi even after following the given Instruction step by step.
[OnePlus 6 Guides, News, & Discussion] mikklethepickle:
I also had an issue with wifi being broken after flashing this "temporary" TWRP. Just flashed stock recovery, and wifi is now back to normal.

I'd LOVE to get root access but I guess it will have to wait for a stable version of a custom recovery!
[OnePlus 6 Guides, News, & Discussion] Funk Wizard:
You can get root without twrp also, here is a reference thread :good:

https://xdaforums.com/oneplus-6/how-to/oneplus-6-magisk-root-oos-5-1-5-t3794440
[OnePlus 6 Guides, News, & Discussion] mikklethepickle:
That worked perfectly, thank you very much!