yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 Guides, News, & Discussion] Alex240188:
A is not empty.

A has OOS 5.1.3 which the phone shipped with.

OTA on launch day 5.1.5 which everyone has got, applied to B which is why everyone is now currently using slot B.

Next OTA we will be back to using slot A

Edit

And after next OTA TWRP will get replaced and a new boot.img will have to be created for 5.1.6

I can see the fun.

Unless the twrp app can patch the boot.img of the inactive slot before rebooting like what Magisk does
[OnePlus 6 Guides, News, & Discussion] liver20:
Not have to wipe data after flash image, right?

And do you tried flash from apk from system root booted?

Enviado desde mi ONEPLUS A6003 mediante Tapatalk
[OnePlus 6 Guides, News, & Discussion] joemossjr:
I'm just saying mine shipped with 5.1.5 and has nothing on a and boots to edl when on a
[OnePlus 6 Guides, News, & Discussion] Alex240188:
Ah many apologies then.

That would explain why yours is empty then.

Though I don't get why you're on b if it's still on 1st install.

Unless they switched to B for 5.1.5 factory install to keep support consistent. (E.g. everyone on 5.1.5 should be on slot b)
[OnePlus 6 Guides, News, & Discussion] iElvis:
Is that three commands or two? You don't mean flash via twrp/terminal, then flash the same file via fastboot, do you?

joemossjr was saying, flash in twrp, flash root, done.
[OnePlus 6 Guides, News, & Discussion] Bradl79:
so if we already have TWRP 3.2.1.0, we no longer need TWRPInstaller? We just use the new update image to flash via TWRP or Fastboot commands?
[OnePlus 6 Guides, News, & Discussion] CB620:
If you don't have TWRP at all you would have to flash in terminal.

If you already have TWRP than flash the twrp.img through TWRP

So I put commands for both.

Unquote the op your going to confuse people. I updated it.
[OnePlus 6 Guides, News, & Discussion] joemossjr:
Yeah. It's pretty buggy honestly the first firmware that ships on the device. When I had the z2 force the first software that came with it if you booted to a with no firmware on it it was bricked
[OnePlus 6 Guides, News, & Discussion] Mulham82:
Hi Guys,

I have OP6 Avengers Edition from China with HOS v5.1.5, and I wanted to flash OOS 5.1.5, so what I have to do because I have tried to use "Local Upgrade", but with no hope I got message says " The version of your selected package is lower than that of the current system. To avoid booting up failure, downgrading is not allowed ", so the only way to flash OOS is to use TWRP. Therefore, I just want to know that "Updated TWRP 3.2.1-3 (fixed): (6-2-2018)" will be flashed directed by "fastboot flash boot twrp.img" or I have to flash twrp on slot a & b what I mean is there any requirements to flash TWRP Recovery.

Thanks.
[OnePlus 6 Guides, News, & Discussion] joemossjr:
Na just flash it to boot . Fastboot will handle the rest lol
[OnePlus 6 Guides, News, & Discussion] Chris123NT:
THANK YOU. Fastboot flashed this to both a and b, rebooted, reflashed root, and everything is working great, no more wifi breakage.
[OnePlus 6 Guides, News, & Discussion] emuwar:
fastboot flash boot_a twrp-3.2.1-3-wOOSkernel.img

fastboot flash boot_b twrp-3.2.1-3-wOOSkernel.img

is ok?
[OnePlus 6 Guides, News, & Discussion] CB620:
Guys read the OP [emoji1] the command is there clear as day. You don't need to flash to both partitions the command does everything for you.

Now someone be brave and do a nandroid backup and restore.
[OnePlus 6 Guides, News, & Discussion] Chris123NT:
Yep, do that, reboot to recovery, flash Magisk 16.4 zip, reboot to system and all is well.
[OnePlus 6 Guides, News, & Discussion] joemossjr:
Nandroids probably won't work ATM. Due to wonky data lol I personally haven't tried it. I have 500 meg internet speeds so restoring data takes all of about 15 mins lol
[OnePlus 6 Guides, News, & Discussion] Bradl79:
so no need for boot.img and twrpinstaller.zip anymore?
[OnePlus 6 Guides, News, & Discussion] silvercat:
Just flashed the new one via twrp. But no vibration feedback for key press.
[OnePlus 6 Guides, News, & Discussion] Bradl79:
i guess i am just going to stay on what i have now, i don't have wifi issues or anything. thank u for the info
[OnePlus 6 Guides, News, & Discussion] Chris123NT:
At least for now, until OnePlus releases another OTA and the image won't work, unless you run custom kernel then you flash this, boot recovery, flash custom kernel, flash magisk, done.

Stupid question for anyone who knows, does dirty flashing OOS remove TWRP or does TWRP have a mechanism to protect itself and not get overwritten by stock? This is my first a/b phone so still getting a handle on how this all works.
[OnePlus 6 Guides, News, & Discussion] KnifeFed:
The OP should be updated to reflect this, right?

Edit: I see now that it was added but that the old commands remain.
[OnePlus 6 Guides, News, & Discussion] Mulham82:
Thanks dude. If I want to flash stock OOS over H2OS v5.1.5, so the current TWRP will replaced by the stock recovery?!!

by the way, which stock ROM is better in terms of "Battery life and performance" H2OS or OOS?!!

Thanks.
[OnePlus 6 Guides, News, & Discussion] joemossjr:
I don't know what the battery life is like on h2os not running it lol but I'm pretty good on oos
[OnePlus 6 Guides, News, & Discussion] B3501:
Rooted and custom kernel installed very easy thanks to joemossjnrs twrp. Thanks! Hopefully it'll be easy to install OOS updated with A/B etc.
[OnePlus 6 Guides, News, & Discussion] joesee:
Just a heads up, with Chrome and Firefox, I'm unable to download that .rar file without it being corrupt. Not sure what I'm doing wrong.
[OnePlus 6 Guides, News, & Discussion] Mulham82:
Dear B3501,

I have unlocked the bootloader on H2OS, and then I have flashed the TWRP then I have flashed Global Stock OOS 5.1.5, but while flashing the ROM I got updater error 255 with no hope, so to boot again I have flashed global stock ROM through the fastboot flash_all.bat

May you tell me how you are able to flash the stock OOS ROM from TWRP.

Thanks.
[OnePlus 6 Guides, News, & Discussion] B3501:
I've no idea. I just followed the instructions to install TWRP on my OOS OP6 and it worked easily.
[OnePlus 6 Guides, News, & Discussion] CB620:
There's nothing to change if the twrp.img is in the fastboot folder and your already in that directory you run the command in the OP.
[OnePlus 6 Guides, News, & Discussion] lollyjay:
Has anyone tried to disable passwords/pins/patterns from a restore using the twrp file manager?

/data/system/gatekeeper.password.key and

/data/system/gatekeeper.pattern.key
[OnePlus 6 Guides, News, & Discussion] CB620:
I'm backing everything up.I'm about to try some roms and kernels.
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
Could I ask you if you recommend backing up System, Vendor (and Data of course) or System and Vendor Image. I´m not quite sure in this point.
[OnePlus 6 Guides, News, & Discussion] liver20:
If i have boot patched with magisk and no twrp, and i wanna install your twrp.... Have to flash stock boot.img or can install twrp IMG over stock magisk patched....

Thanks

Enviado desde mi ONEPLUS A6003 mediante Tapatalk
[OnePlus 6 Guides, News, & Discussion] lollyjay:
Good question. I have had advice recently to backup system and vendor images
[OnePlus 6 Guides, News, & Discussion] tom.vipin:
I had Magisk without twrp. Flashed twrp from fastboot, booted into recovery and flashed magisk. Everything is working here.
[OnePlus 6 Guides, News, & Discussion] dgunn:
Temporary or permanent

Is the version/installation process a permanent or temporary TWRP solution? I have came across a few so far but none have been a permanent installation.
[OnePlus 6 Guides, News, & Discussion] :
Yep, can confirm this. Did the same.

Edit: tried to make a full backup --> failed

----------------------------------------------------

I:Error adding file '/data/system_ce/999' to '/data/media/0/TWRP/BACKUPS/3bc1f1df/1. Backup2018-06-03/data.ext4.win004'

Error creating backup.

I:ERROR tarList for thread ID 0

Error creating backup.

I:InfoManager saving '/data/media/0/TWRP/BACKUPS/3bc1f1df/1. Backup2018-06-03/data.info'

createTarFork() process ended with ERROR: 255

Backup Failed. Cleaning Backup Folder.

?
[OnePlus 6 Guides, News, & Discussion] A.Priori:
how's this working with xposed?
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
If you follow the instruction step by step in #1, it is permanent.
[OnePlus 6 Guides, News, & Discussion] dgunn:
So just to confirm you need stock rom with no Magisk root before backup will work?
[OnePlus 6 Guides, News, & Discussion] :
I don't know why the backup failed...

I was rooted without TWRP.

Flashed the TWRP.img on boot

Rebooted into recovery and flashed root.zip

Than I tried to make a full backup and it failed.

Gesendet von meinem ONEPLUS A6003
[OnePlus 6 Guides, News, & Discussion] tom.vipin:
I don't think backups are working yet.
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
I did a backup and restored successfully. But I didn't´t wipe data or system before. So I´m not totally sure. Maybe I´ll try later..
[OnePlus 6 Guides, News, & Discussion] lollyjay:
I suspect that it has something to do with tapping the settings/apps/parallel apps (either on purpose or by mistake) and from then on files that have 999 are created. Not sure but others have had similar issues
[OnePlus 6 Guides, News, & Discussion] :
Ah ok... That could be the Problem. Because I have WhatsApp Parallel. Thanks dude.

Gesendet von meinem ONEPLUS A6003
[OnePlus 6 Guides, News, & Discussion] lollyjay:
My pleasure. I suspect that unless you do clean install, those infernal 999s will be created every time.

Edit: It's a bug in all twrp so far as I know
[OnePlus 6 Guides, News, & Discussion] :
Ok yeah I think that's right. Because I tried to delete WhatsApp Parallel and make a backup again but no luck. Had again the same error.

Gesendet von meinem ONEPLUS A6003
[OnePlus 6 Guides, News, & Discussion] lollyjay:
I remember that if you use TWRP file manager and search for the 999 files and delete them then you can make a backup

---------- Post added at 09:21 PM ---------- Previous post was at 09:19 PM ----------

Seems that someone could make a flashable zip to do that
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
Ok, I had time to test few things as I wanted to know, if twrp can manage restoring backups or not. Maybe most of you have already made experiences, but if not, this maybe helps.

So in first case I made a backup of boot, system, vendor and data. Before, I had done a factory reset and additionally had wiped twice all partitions except the internal storage of course. Restoring ended up in a bootloop. But after flashing my favored custom rom (xxxNoLimits) the OP6 booted regular without any data loss.

In second case I made a backup of boot, system image, vendor image and data. Restoring this backup now was successful as the OP6 booted normally without flashing the custom rom in advance.

Anyway, in both cases there were no real issues. But at least I could realize the difference in those two procedures of creating backups (with and without the images) and none of them resulted in a bricked device or in loss of data (at least not for me).
[OnePlus 6 Guides, News, & Discussion] Chris123NT:
Oxygen OS has a really nasty bug with bootlooping due to various things, so not surprised that a restore of OOS failed but a custom ROM was successful.
[OnePlus 6 Guides, News, & Discussion] Nikos69:
Hey Guys,

So i managed to flash twrp i did this:

fastboot flash boot twrp.img

fastboot flash boot_a twrp.img

fastboot flash boot_b twrp.img

and now it automatically boots to fastboot only, i have the option to flash new twrps because it recognizes fastboot devices but i currently cant do anything right now, any help much appreciated.
[OnePlus 6 Guides, News, & Discussion] iElvis:
It's right there in the OP:
[OnePlus 6 Guides, News, & Discussion] Nikos69:
I have fixed the issue
[OnePlus 6 Guides, News, & Discussion] pankspoo:
Yes u have to remove all passwords, pin Before proceeding and it will not interfere when u boots in to TWRP
[OnePlus 6 Guides, News, & Discussion] Muntasir Mahmud Saif:
will flashing custom kernel replace twrp recovery?
[OnePlus 6 Guides, News, & Discussion] silvercat:
No it won't
[OnePlus 6 Guides, News, & Discussion] yefonme:
that is amazing，thanks for your hard work
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
I haven't tried with stock OOS. But good for me to know backing up system and not system image will not work. To flash the stock OOS (without losing data) I think there is no way around the fastboot mode. In fact this doesn't make much effort.
[OnePlus 6 Guides, News, & Discussion] ajsmsg78:
Thanks for sharing this. So far it has been working great. I even themed it with my black & blue theme the way I like it.
[OnePlus 6 Guides, News, & Discussion] Blunts47:
Do you mind sharing how you did that? That's dope
[OnePlus 6 Guides, News, & Discussion] ajsmsg78:
I'll have a download link later tonight.
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
Everytime I boot into TWRP it asks me to decrypt with the password.
[OnePlus 6 Guides, News, & Discussion] B3501:
Remove your password from the Rom and boot back into twrp or decrypt the data and lose all the data on your phone and have an unsecure phone.
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
TWRP just asks for the password if one is set. No data on internal storage will get decrypted or lost ;)
[OnePlus 6 Guides, News, & Discussion] TheNetwork:
Where is my fastboot folder supposed to be? Can't find it on computer or phone (I assume it's meant to be on the computer).
[OnePlus 6 Guides, News, & Discussion] joe_donkor:
I could have saved half a day if the OP said that this unoff. will not restore a data backup taken from another device.
[OnePlus 6 Guides, News, & Discussion] Trinaaa:
Hopefully i'm not missing something... I flashed twrp 3.2.1.3 img but after booting to recovery again...it shows still 3.2.1.0
[OnePlus 6 Guides, News, & Discussion] dabistduja:
Me2 :crying:
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
Don´t forget to root your device after flashing new twrp, same after flashing a custom kernel (e.g. flash magisk).

And by the way I think that it is normal that the number doesn't change. Since the color changed from orange to blue, I assumed that the update worked.
[OnePlus 6 Guides, News, & Discussion] dgunn:
Will you please tah me in this link as well, thank you. Can't wait to have this color scheme.
[OnePlus 6 Guides, News, & Discussion] lollyjay:
There is a G+ forum for all sorts of recovery themes here:

https://plus.google.com/u/0/communities/118151252631894552764
[OnePlus 6 Guides, News, & Discussion] eroigaps:
Doesn't flashing magisk after kernel result in reverting to old kernel? Am I totally lost?
[OnePlus 6 Guides, News, & Discussion] lollyjay:
No, Magisk only modifies what you already have. It is not a kernel replacement.
[OnePlus 6 Guides, News, & Discussion] dgunn:
Dude you're awesome thank you so much... Now to find a Batman theme ?
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
Maybe you confused magisk with the patched boot.img (wich was patched for magisk). This would of course replace your kernel.
[OnePlus 6 Guides, News, & Discussion] eroigaps:
Okay! Thanks
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
Of course you can also flash the root.zip from #1, if you don´t want magisk. Report please if it worked, so that others can benefit here and maybe are informed that sometimes it´s useful to read the first post.
[OnePlus 6 Guides, News, & Discussion] masri1987:
i'm slightly confused by op

"Flash twrp.img via TWRP<------------If you have TWRP installed already

fastboot flash boot twrp.img <------------If you don't have TWRP at all"

Do i not need fastboot flash boot a\b twrp.img ?

You give those instructions later but i'm just confused,

Edit:

SO i did fastboot flash boot twrp.img and then flashed root.zip in TWRP, everything works fine.

I tried this method a few days ago by doing the fastboot boot_a and boot_B commands and that left me hung up on TWRP every time.

When i flashed root.zip it did so on boot_a , do i need to remember this?

Also can we wipe dalvik\cache?

Edit 2:

I flashed frankenkernel + magisk 16.4 zip and got a message upon bootup

"There's a internal problem with your device, contact your manufacturer"

Problem?
[OnePlus 6 Guides, News, & Discussion] Lownita:
When flashing boot without specifying the partition (boot_a/b), will it just flash it to the currently active partition or to both?
[OnePlus 6 Guides, News, & Discussion] joemossjr:
No if you read the thread that's normal

---------- Post added at 11:16 PM ---------- Previous post was at 11:16 PM ----------

Yep
[OnePlus 6 Guides, News, & Discussion] tdamocles:
Was that yep to current partition or yep to both?
[OnePlus 6 Guides, News, & Discussion] B3501:
The "internal problem with device" is normal, it's just a vendor mismatch and won't affect the phone.
[OnePlus 6 Guides, News, & Discussion] masri1987:
Thanks guys. So far so good. running OEM ROM + magisk and franken kernel and substratum, finally themed properly , it's all to the good.

Q: when will this vendor mismatch be perma-resolved.
[OnePlus 6 Guides, News, & Discussion] Paz9:
does this twrp support decrypt if we format /data? and flash no force decrypt?
[OnePlus 6 Guides, News, & Discussion] lollyjay:
Have you found a no_verity zip for [1]+6?
[OnePlus 6 Guides, News, & Discussion] lollyjay:
Cool themes working :o
[OnePlus 6 Guides, News, & Discussion] Paz9:
I usually manually disable verity and encrypt in the fstab that's exactly what the zip does.

But twrp has to support the decryption otherwise it just removes verity and not force encrypt

---------- Post added at 01:41 PM ---------- Previous post was at 01:39 PM ----------

Can we flash magisk zip instead of the root zip in OP?
[OnePlus 6 Guides, News, & Discussion] lollyjay:
Yes I suspect we will have to wait until twrp is tested
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
I'm fine with encrypted device. But is there anyway to stop twrp from asking me to decrypt the device.
[OnePlus 6 Guides, News, & Discussion] tdamocles:
This works and is simple.
[OnePlus 6 Guides, News, & Discussion] masri1987:
I flashed magisk zip instead of root zip file
[OnePlus 6 Guides, News, & Discussion] Suraj6ironman:
Is nandroid backup working on oneplus 6 with latest twrp 3.2.1-3

I just flashed twrp and i have taken a nandroid backup before using magisk modules so little tensed as i dont know how well tge nandroid backup Is working. Please reply as soin as possible

:D
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
IMaybe if you cancel your password. So if you don't need it want one, you could try. Otherwise twrp will always ask for one. This is for security reason.

But haven't tried by myself.

---------- Post added at 10:29 AM ---------- Previous post was at 10:23 AM ----------

Many users report that it is working.. also for me. But I do not use (or have) parallel apps. I you do, you will need to delete all 999 folders on your device before making a nandroid. This is what was explained to me and you can also find this information somewhere here. Otherwise it won't work.
[OnePlus 6 Guides, News, & Discussion] joemossjr:
Well guys made a bootable twrp you can run it via fastboot boot /path/to/twrp.img https://drive.google.com/file/d/1QVU8NmoNeizorZrtYH8TuatblegXHCds/view?usp=drivesdk if you currently have twrp no need to use this this will be the new way of installing twrp
[OnePlus 6 Guides, News, & Discussion] carlos67:
So fastboot boot twrp rather than fastboot flash twrp?? for a temporary twrp that's lost after reboot.

This means we can flash magisk root zip without having permanent twrp??
[OnePlus 6 Guides, News, & Discussion] eroigaps:
Works 100% for me. Successfully booted TWRP, did not "swipe to allow system modification".

Flashed ex kernel and magisk without any kind of bother.

Thanks!
[OnePlus 6 Guides, News, & Discussion] carlos67:
So this twrp is only temporary? Basically it allows you to flash zips without actually installing twrp as permanent recovery?

Am I right?
[OnePlus 6 Guides, News, & Discussion] eroigaps:
Correct! Works great.
[OnePlus 6 Guides, News, & Discussion] lollyjay:
Yes that's what it does
[OnePlus 6 Guides, News, & Discussion] _MartyMan_:
Thank you :good: :D
[OnePlus 6 Guides, News, & Discussion] carlos67:
Thanks guys but I may have a slight problem.

I booted the twrp into recovery and flashed the magisk zip but before re-booting to system I decided to do a cache and dalvik wipe first. However, I received this output after wiping cache and dalvik and also I can't see a cache partition?? I can see Dalvik/Art cache, System, Data, Internal Storage and USB Storage. But, no "cache partition :eek:

Does anyone know why this is so? I'd be greatful for any advice why it's not showing up

The Dalvik gets wiped but the error message is"unable to find partition for path '/cache'

I'm confused :confused:
[OnePlus 6 Guides, News, & Discussion] joemossjr:
Tthe use of this will be to boot twrp then flash the installer to both partitions since kernels are constantly changing. It's easier this way
[OnePlus 6 Guides, News, & Discussion] joemossjr:
Tthe use of this will be to boot twrp then flash the installer to both partitions since kernels are constantly changing. It's easier this way

---------- Post added at 03:25 PM ---------- Previous post was at 03:22 PM ----------

There's no cache partition on ab devices anymore it's in data. So no need to wipe it

---------- Post added at 03:38 PM ---------- Previous post was at 03:25 PM ----------

Delete
[OnePlus 6 Guides, News, & Discussion] gmlogan:
As my mother would 'silly boy'.

Anyways temp booted TWRP ran a backup all great, then went may as well flash Magisk, did so then rebooted. Now stuck at the spinning OOS symbol and went 'sh1t, had not unlocked the bootloader', tried to restore in temp boot TWRP but of course read only system partions tce.

Net-net

I can get fastboot and temp boot TWRP, the bootloder is locked but the phone on booting just sits at the spinning OOS symbol.

Tried factory wipe in temp TWRP, same issue.

Any ideas :)

Update: Just decided to use the MSM full return to stock tool, will leave this hear in case anybody else does it.
[OnePlus 6 Guides, News, & Discussion] xXx:
thanks for this. Do you by chance have any idea why aroma Installers don't work. Do you see this can be supported any time soon?
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
My problem is that suddenly I can no longer successfully complete nandroids. The backup process is aborted each time. So far, I had no problems in this regard. Now I'm thinking about completely rebuilding my system. In this case, I would use the bootable twrp.img, but I would like to have it permanently.

My question: is the procedure as usual - not "fastboot boot twrp.img", but "fastboot flash twrp.img" and if so, for both slot A and slot B? Or is the bootable twrp.img not meant for that?

As I said, I want to have twrp permanently, to continue to make nandroids, which so far had worked well. And as far as I understand, the input command "fastboot boot twrp.img" is only for the temporary version.
[OnePlus 6 Guides, News, & Discussion] lollyjay:
Are you getting a tarfork error 255? While backing up data?
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
No, just the data partition doesn´t seem to be backuped correctly. Can´t remember an error 255 in this case. But I will take a look to it. Why?

---------- Post added at 09:10 PM ---------- Previous post was at 09:06 PM ----------

I am not sure if it has anything to do with the "parallel apps". I had tested it briefly yesterday, but then disabled them again. And now I can´t get rid of these "999-files", I do not succeed, despite r / w permissions I can not delete them.