yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 Guides, News, & Discussion] lazygeniuslanz:
In the 4th post, do you really do the shift + right click + open cmd window here in desktop? Or you should go to C:/Android?
[OnePlus 5 Guides, News, & Discussion] mrjuniork:
Got a question. I got a bit confused. It's probably just a "no-big-wonder-answer" :)

I wanna flash the Blu spark twrp over my actual K3 recovery. Since only the boot.img is overwritten, I don't need to Flash magisk afterwards again, right?

Can I Flash the new image with twrp and after flashing, the usual dalvik and cache cleaning, right?
[OnePlus 5 Guides, News, & Discussion] laupuy:
No need wipe for recovery.

Boot into your twrp, Install, install image (bottom right), choose blu_spark_twrp.img, tick recovery then after flash reboot recovery (it should be blu_spark) then reboot system.
[OnePlus 5 Guides, News, & Discussion] karam nigam:
updating partition details...

...done

full SELinux support is present.

set_policy_failed;data/misc

running recovery commands

formatting cache using make_ext4fs...

wiping data without wiping /data/media...

done.

done processing script file

i'm facing this problem and its rebooting again and again
[OnePlus 5 Guides, News, & Discussion] HC4Life:
Which TWRP theme is the one in OP?
[OnePlus 5 Guides, News, & Discussion] dr.zook:
Are you unencrypted?

Did you flash a new kernel/rom without flashing no_verity at the very end?
[OnePlus 5 Guides, News, & Discussion] lazygeniuslanz:
Hi, I've read here and here that you should use full signed zips instead of the incremental updates if you're updating your phone when rooted. Is that true?

You said on your that if the update is greater than 1GB, you can flash it. But this means that these OTA updates are "partial or incremental".

What should I follow?
[OnePlus 5 Guides, News, & Discussion] Absalom34:
ota

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.

How can I do that ???

I will like to see It with pictures
[OnePlus 5 Guides, News, & Discussion] rohittalwar17:
stuck at boot

I unlocked bootloader but its taking too long to boot its been 10 mins now
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
If you are rooted use the full zip, else you can use the incremental OTA's if you are stock. Unlocking bootloader does not affect your flashing method but root or any modifications made to the system partition does.

You can follow my other thread for update here

Apologies for the late reply, i hope its sorted for you now. For instant help join the TG group link below on my signature.

Let me know if any issues :good:
[OnePlus 5 Guides, News, & Discussion] Absalom34:
updates

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.

Sorry to insist but I don't get IT. What full OTA we must to flash after the partial OTA?? and where do we have to flashed IT?

IF the update is bigger than 1 g can we flashed via OTA???

Can you please show IT to us using pictures?? It will be great for some users like me that don't understand this warning

Thanks dudes
[OnePlus 5 Guides, News, & Discussion] rickysidhu_:
If your phone is rooted with SuperSU or Magisk, you need to flash the full zip (you will know it's the 'full' zip if it's over 1GB in size).

You can download it from the thread Funk Wizard has provided for you in the post above.

You flash the zip file in TWRP recovery, and then flash Magisk or SuperSU after to ensure your phone keeps TWRP and doesn't replace it with the stock recovery.

I can't provide pics as I don't have stock OOS on my device right now, but I'm sure you can do it without! The instructions on this thread are pretty clear and straight forward :)
[OnePlus 5 Guides, News, & Discussion] ippocampos:
If i skip the transfer from pc to phone and go ahead and download the files directly to my phone and then proceed to rooting will work???
[OnePlus 5 Guides, News, & Discussion] lazygeniuslanz:
I've seen it now. Thank you for that guide! It really helps. And thank you for clarifying! ;)
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Just make sure you download the files after the bootloader unlock else it will be erased.

As long as you have the files available on your device you are good to go :good:
[OnePlus 5 Guides, News, & Discussion] arjunarora:
I've got a decrypted device..

I want to flash stock. Rom..

Easiest way to do it while staying decrypted is..?

Flash rom

Flash twrp again.. Without rebooting..

Flash magisk

Flash no verity..

Is this correct..?
[OnePlus 5 Guides, News, & Discussion] VVV850:
Stupid question but can I use flashify to flash the blu spark recovery over the original TWRP?

Thanks
[OnePlus 5 Guides, News, & Discussion] laupuy:
Yes, but you can flash with your twrp (official): install, install image (bottom right), then choose recovery partition and reboot twrp (new) after the flash (to stick the new one).
[OnePlus 5 Guides, News, & Discussion] VVV850:
Of course. Haven't thought about it. Thanks.
[OnePlus 5 Guides, News, & Discussion] llcaiafax:
Guys...

How is the best way of going everything back to stock? I mean, I have unlocked my bootloader, rooted and installed blu_spark kernel and I'm using OOS 4.5.13.

Using fastboot to the original recovery and OOS file should make things "stock” again?
[OnePlus 5 Guides, News, & Discussion] laupuy:
Hi,

Just make a clean flash of latest oos 4.5.14 with your twrp and without root nor custom kernel.

You will be on stock oos, stock recovery, without root.

Then you could lock the bl (if you want).
[OnePlus 5 Guides, News, & Discussion] aydinbahadir88:
Hello OnePlus friends

I bought OP5 from China, can I install OyxgenOS or other ROMs normally?

Of course, unlock bootloader and TWRP flashing

thanks for your help :)
[OnePlus 5 Guides, News, & Discussion] marf28101995:
Yes

There is only one op5 version

So you're good to go
[OnePlus 5 Guides, News, & Discussion] aydinbahadir88:
Thank you very much my friend :D
[OnePlus 5 Guides, News, & Discussion] dandan_00000:
ok so this seems a bit random but when i boot into recovery its not picking up any storage it tells me the internal 0 and if i plug in OTG shows 0

Have tried a quick search but niot had any joy
[OnePlus 5 Guides, News, & Discussion] :
How did you get the black/red themed TWRP with the OnePlus logo as a homescreen?
[OnePlus 5 Guides, News, & Discussion] NhaMeh:
So fastboot finds nothing, drivers are installed, USB debugging is enabled, OEM unlocking is enabled, device is booted in fastboot mode. Device manager shows an unknown Android device even though the drivers are installed (the phone is recognized and I could transfer files to it np). The adb drivers installer also says the driver is already installed.

So which drivers does it REALLY need?

-edit-

Sigh, so the moment I decided to ask that question I also went to take a look in the Program Files folder. Apparently using the systemwide ADB/fastboot didn't work but the one inside the OnePlus USB Drivers folder in Program Files does show the phone.
[OnePlus 5 Guides, News, & Discussion] kbocek:
TWRP Hang

Using TWRP posted here, installed via fastboot, TWRP hangs at splash screen.
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Please try this one, flash as usual from fastboot.

https://drive.google.com/file/d/0B0pr-ZA5b-1pdmdLNDFoTWtUX1k/view?usp=drivesdk

Please report once done :svetius:
[OnePlus 5 Guides, News, & Discussion] hibby50:
I keep getting fastboot error "Requested download size is more than max allowed"

Also in the bootloader secure boot is labeled yes and the baseband and bootloader version are blank
[OnePlus 5 Guides, News, & Discussion] geko53:
Tx, now I'm able to boot into TWRP, SU is installed too... :)

Ciao

Gerald
[OnePlus 5 Guides, News, & Discussion] kbocek:
Did it for me. I'm in TWRP. Many thanks.

---------- Post added at 03:40 PM ---------- Previous post was at 03:23 PM ----------

Perhaps someone could remind me how to keep Oxygen from replacing Recovery. The new TWRP installs and runs fine, but booting into the OS replaces it with stock.

Thanks.

---------- Post added at 04:00 PM ---------- Previous post was at 03:40 PM ----------

Okay, installing SuperSU seems to have done it. I don't know if this TWRP is supposed to include SuperSU but I had to install separately. Now TWRP is persistent.
[OnePlus 5 Guides, News, & Discussion] Jsilver73:
Twrp and magisk 13 running smooth here :cool:

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

This one worked for me
[OnePlus 5 Guides, News, & Discussion] Flint2:
Somebody not allowed system modification and installed Magisk (keeping system pristine for future OTA )?
[OnePlus 5 Guides, News, & Discussion] cheesechocolate:
Got the device today. Loving it.

Can someone enlighten me as to how OnePlus treats rooting and installing custom recovery?

What does it do to the warranty?

Does my device become untouchable like my previous Note 5 that Samsung wasn't willing to touch with a ten foot long pole?
[OnePlus 5 Guides, News, & Discussion] Flint2:
No, warranty will not be voided

I've owned and rooted OnePlus One, OnePlus 2 and OnePlus 3T. Now waiting for the OnePlus 5.

Official source:

https://oneplus.net/support/answer/will-rooting-or-unlocking-the-bootloader-void-my-warranty
[OnePlus 5 Guides, News, & Discussion] pratik_193:
was just wondering, will the ROM's be the same for 6 gb and 8gb variant ?
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Yes
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Don't think that would work and even if it does ota flash would still fail

You would need to flash full zips in order to update the OS when you are rooted
[OnePlus 5 Guides, News, & Discussion] AndroidGX:
Very useful soon guide, thanks for this [MENTION=6143932]Funk Wizard[/MENTION] ! and nice to meet you ;)

What a nice surprise to see that OnePlus understood everything by allowing users to put root without breaking warranty ! :good:

Can't wait to receive mine this monday.. :cowboy:

Cheers'
[OnePlus 5 Guides, News, & Discussion] Sgace:
Hello all,

A question if I may; I am new to Oneplus and only want to flash 1 zip file wich will install a hosts file. Nothing more is needed.

What will be the best way to do this? (I'm a little lost here and there about some things:o)

Thnx in advance.

Cheers
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Hi buddy, welcome to the Oneplus Family and Community. Hope to see you around :highfive:

Could you please elaborate what file you are looking to flash and its purpose, i lost it somewhere.
[OnePlus 5 Guides, News, & Discussion] Sgace:
Ooh offcourse: I want to flash a modified hosts file for adblocking purpose. Thnx for you're reply.
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
You can do so via flashable zip on twrp or unsing script on terminal but i am not aware of how to create it. May be you can have a look on the 3T forums where everything is available and ask someone who has made a debloater to create a script for you.
[OnePlus 5 Guides, News, & Discussion] DaSoul:
So i installed TWRP, flashed Magisk and afterwards verified with root checker and it tells me, that my phone is correctly rooted.

My magisk gui looks totally different to those i could find in any video related to magisk installtion.

Also in my settings i have no option to enable "hide magisk", my settings are "dark theme" "update notification" and "delete repo cache" that's all.

What have i done wrong? How do i hide the root?

Thanks for any help.
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
You have to install the Manager 5.0.1 or higher to make it work

I've uploaded the apk for your here

https://drive.google.com/file/d/0B0pr-ZA5b-1pWFhZQ0lsRGlDS0k/view?usp=drivesdk

I shall update the OP with the same
[OnePlus 5 Guides, News, & Discussion] rickysidhu_:
https://xdaforums.com/oneplus-5/themes/theme-black-themed-official-twrp-t3651669
[OnePlus 5 Guides, News, & Discussion] :
Why isn't this in the original post?
[OnePlus 5 Guides, News, & Discussion] rickysidhu_:
I'm guessing because it's not functionally different from the TWRP downloads that are currently posted, it's just a cosmetic change.
[OnePlus 5 Guides, News, & Discussion] :
Ok, I just thought it was odd since that was the picture that was used...
[OnePlus 5 Guides, News, & Discussion] rickysidhu_:
Fair enough! Nonetheless you have the link to it now ;)
[OnePlus 5 Guides, News, & Discussion] Onyx VI:
i followed everything correctly but when I went to flash recovery it says "sending 'recovery' (0KB)..." it finishes I try tired to boot into recovery and it says "cannot load 'recovery': no such file or directory"

and my file size was the correct size it was 536870912 bytes
[OnePlus 5 Guides, News, & Discussion] stalvekio:
Deleted
[OnePlus 5 Guides, News, & Discussion] wadken1:
Help Here Please

Just been through all the steps in the OP. I have successfully unlocked the bootloader and installed TWRP.

After that booting into the existing OS worked fine.

I then downloaded FreedomOS and did a clean install (3 times now) each time I try to boot the OS it tries but then reboots into recovery - I've never seen this issue before.

Anyone have a clue how to get out of this?

UPDATE: The answer is always flash No-verity after a ROM (or Kernel) install when unencrypted. My mistake. I read that Freedom ROM automatically installed No-verity.
[OnePlus 5 Guides, News, & Discussion] Absalom34:
parcial OTA

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.

Where do he have to get the full OTA, and where do we have to flashed It?

I guess that first comes to flash that FULL OTA, and after that we can flash the parcial one that we have download before.

Can anyone show us the procees with pictures?? THANKS!
[OnePlus 5 Guides, News, & Discussion] 3DSammy:
You get the full OTA from links from the second post here. You only need to flash the full OTA (> 1Gb or so) as it contains everything including the latest partial OTA updates. You flash it with the TWRP recovery that you need to already have installed as you can't use the stock recovery. You also need to install either SuperSU or Magdisk (your choice) BEFORE you boot back into the system or TWRP will be over written with the stock recovery. Installation instruction are found in this post.
[OnePlus 5 Guides, News, & Discussion] Absalom34:
Any pictures for that please??

Anyone?'
[OnePlus 5 Guides, News, & Discussion] MrWilsonxD:
..... i tell you this with love brother,

You shouldn't be messing with your device like this if you need a picture by picture instruction set for something as simple as downloading a file and then installing it. It's one of the simplest operations you can do.
[OnePlus 5 Guides, News, & Discussion] NoobMonkey:
Ok, what I'm doing wrong here? I was on LOS15 but want to go back on OOS. I've downloaded the official full rom from OnePlus and did following:

1. full wipe

2. transfer files to OP5

3. flash rom from TWRP

4. flash no_verity

5. flash superSU

6. wipe cache/dalvik

7. reboot to system

I keep gettin "Encryption unsuccessful" message.
[OnePlus 5 Guides, News, & Discussion] wartomato:
Format data?
[OnePlus 5 Guides, News, & Discussion] gonsa:
Hi guys,

So I've sent my phone to OnePlus to repair a broken screen. They will wipe the whole phone.

I've made a full TWRP backup (with no screenlock) of all partitions but when the phone arrives, what partitions do I format and which do I restore?
[OnePlus 5 Guides, News, & Discussion] cultofluna:
How can you restore your backup??....

When you will get the phone back should have stock recovery ..
[OnePlus 5 Guides, News, & Discussion] :
Will this work on OP5 Oreo?
[OnePlus 5 Guides, News, & Discussion] gonsa:
I install TWRP and then do the restore.
[OnePlus 5 Guides, News, & Discussion] gonsa:
I'm getting the error "extracttarforck() process ended with ERROR: 255" while trying to do the restore..

Can anyone help?
[OnePlus 5 Guides, News, & Discussion] karpov92:
I have a problem flashing twrp: flashing the .img of the twrp after reboot I still have the stock recovery.... How can I fix it?
[OnePlus 5 Guides, News, & Discussion] pranavateja99:
Try this.....Its bluespark latest for OP5 inside that zip. Anyway you can replace recovery.img to device you want and u can use this for all your future devices...

https://mega.nz/#!oJAzATgC!-yyEbYftlIe4pYa9_mKSJxcqUpH7It_EsfNkAOlT43A

Download device drivers.

Reboot device into fastboot mode and connect

Run that bat file....follow instructions on screen.

Once you boot into TWRP, select reboot recovery to check this don't replaced by stock...Done.
[OnePlus 5 Guides, News, & Discussion] imJason:
Agreed

Agree with this answer and conversation.
[OnePlus 5 Guides, News, & Discussion] karpov92:
It didn't work. Check if I did well: I unzipped the folder and I flashed the recovery into the folder, then I ran the bat file. I rebooted into the recovery and it seems ok, but when I reboot again I'm still with the stock recovery.
[OnePlus 5 Guides, News, & Discussion] pranavateja99:
You need to select reboot recovery in twrp recovery after first TWRP boot.
[OnePlus 5 Guides, News, & Discussion] karpov92:
same as before after flashing the recovery I'm able to reboot into it, but the first time I reboot into system and then another time to recovery I still have the stock one
[OnePlus 5 Guides, News, & Discussion] burnski:
im having the exact same problem.
[OnePlus 5 Guides, News, & Discussion] pranavateja99:
Use the recovery which I sent....it's already made for op5 with latest bluespark recovery inside...it can be your crap recovery causing this.....it's you, that couldn't do, phone is fine, available recoveries are fine, everyone able to do. So try and do properly. You better copy TWRP to phone and when you boot TWRP, select flash image and select that TWRP. So it's done again without miss.
[OnePlus 5 Guides, News, & Discussion] laupuy:
Twrp will be replaced by the stock if you boot on stock kernel on stock OOS.

You need to flash root or custom kernel like blu_spark to keep twrp.

So flash twrp, reboot twrp, flash root or custom kernel, reboot system.
[OnePlus 5 Guides, News, & Discussion] ddaharu:
Guys you need to flash Magisk immediately after flashing the rom. Flashing Magisk keeps TWRP.
[OnePlus 5 Guides, News, & Discussion] karpov92:
Thank you! This solved the problem! :)
[OnePlus 5 Guides, News, & Discussion] paratox:
... sorry wrong thread
[OnePlus 5 Guides, News, & Discussion] burcinkarabacak:
can we use same twrp and magisk for OB1 ?

thank you
[OnePlus 5 Guides, News, & Discussion] Tha_Reaper:
Im having problems...

In unlocked bootloader,

flashed blu_sparks

booted to recovery

flashed superSU

rebooted, noticed device wasnt factory resetted after the reboot from unlocking the bootloader (i wanted to go through the setup steps again as i had just skipped everything)

rebooted in recovery, did factory reset wipe, followed by SuperSU

wiped cache + dalvik

rebooted.......

and now its booting for 20 minutes already. no real end in sight. any help? ive flashed a fair couple of devices before, never encountered this
[OnePlus 5 Guides, News, & Discussion] anujyadava:
Check whether ur BL is unlocked or not??

If not just repeat the process for BL unlock and then flash twrp and su
[OnePlus 5 Guides, News, & Discussion] Tha_Reaper:
Device state in fastboot sais - unlocked
[OnePlus 5 Guides, News, & Discussion] morfances:
Try with magisk

Inviato dal mio ONEPLUS A5000 utilizzando Tapatalk
[OnePlus 5 Guides, News, & Discussion] anujyadava:
Flash full rom via recovery - stock or twrp to make ur phone bootable and start over fresh
[OnePlus 5 Guides, News, & Discussion] Tha_Reaper:
I was actually already in the process of trying that while you typed that message. the phone booted after wipe, installing stock OOS zip, and rebooting.

Installed SuperSU after that, and everything went to hell again

Im going to try that next... hopefully that will give me root :p

ill update if it worked out

thanks for the help so far

Update: it worked! i had to reflash blu_sparks again, but after that i was able to install magisk this time, and it worked fine.
[OnePlus 5 Guides, News, & Discussion] Sufiyandon1811:
Hi guys

My OEM is unlocked but when im trying to flash my Twrp .. command prompt says "waiting for device".

I have enabled oem unlocking

Usb debugging and advanced reboot

Can anyone help me flash twrp ?

I was on the custrom twrp until the lateds official update v .14

Now after updating i want to root again

Thanks
[OnePlus 5 Guides, News, & Discussion] morfances:
Install the drivers again
[OnePlus 5 Guides, News, & Discussion] Sufiyandon1811:
Can you elaborate please ?
[OnePlus 5 Guides, News, & Discussion] morfances:
see ADB drivers

https://xdaforums.com/showpost.php?p=72748916&postcount=3
[OnePlus 5 Guides, News, & Discussion] ChefChaudart:
USB3 ? if yes, try USB2
[OnePlus 5 Guides, News, & Discussion] savinjo22:
Guys need help...i flashed ob1 via twrp and of course it install stock recovery as well..and when i flash twrp , internal storage is size 0?
[OnePlus 5 Guides, News, & Discussion] savinjo22:
Sorry for not seeing this. Done it. Solve it. Thanks
[OnePlus 5 Guides, News, & Discussion] kold11:
Hello, I'm in panic mode so please help

I just updated TWRP from 3.1.1-1 to 3.2.1-0

My phone is OP5 with FreedomOS 1.9

I did it as in guides (I think) just by downloading img file than in TWRP went to install and selected the Image...

TWRP had flashed and then I restarted to recovery and after swiping my pattern data was decrypted but the worst thing is that some automatic script started and I saw some text ending "...without wiping media" don't remember exactly cause it was quite fast and phone restarted. Now I have clean system, fortunately with internal data preserved and nandroid backup (month old but better than nothing).

Of course I've searched xda and google but can't find the answer.

Could someone please explain what happened?

Did I made something wrong? I thought I just flash new TWRP version return to recovery and that's all.
[OnePlus 5 Guides, News, & Discussion] jhs39:
There are a couple ways to update TWRP. One is to use an app like Official TWRP which can flash whatever recovery image you have downloaded on your phone from within the app. It works fine with custom versions of TWRP. The other is to flash the image in TWRP like you did. The text you saw sounds like what comes up in TWRP when you choose the default wipe so you can install a new ROM. It shouldn't happen automatically but you're using a custom ROM and maybe some other mods so the script could have been triggered by some bad coding somewhere.
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
TWRP updated on the OP with new releases from ibe & blu_spark
[OnePlus 5 Guides, News, & Discussion] toucher29:
What about KingoRoot? Did anybody try it?
[OnePlus 5 Guides, News, & Discussion] jatin bansal:
Please Help. Hi everyone, I have tried rooting my oneplus 5 multiple times.

I want to remain encrypted.

I have Oreo Open Beta 1 Installed.

When I flash twrp and open it, the internal memory size is shown 0MB and I can not access files in internal memory.

Please Help