yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 Guides, News, & Discussion] raul.lopez1958:
Doing a full wipe, including the internal, and then data format and flash OOS, is not enough to encrypt again?
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Format data should only be done if you want to decrypt. As you are already decrypted, just make a clean flash of OOS and boot into OS without flashing SuperSU/Magisk and OOS will force encrypt in the background :fingers-crossed:
[OnePlus 5 Guides, News, & Discussion] xCoolBreezex:
can someone who has successfully gotten ADB to recognize their device confirm which USB drivers they installed on Windows 10? I am struggling to get device recognition and see a mountain of OEM drivers available, but for flagship phones (Samsung, HTC etc.). Thanks in advance.
[OnePlus 5 Guides, News, & Discussion] shadowstep:
Try these drivers for the OnePlus 5. Once you extract the file, install the exe.
[OnePlus 5 Guides, News, & Discussion] xCoolBreezex:
Many thanks for the speedy reply Shadow. I will try them.
[OnePlus 5 Guides, News, & Discussion] ulxerker:
thats strange as I didn't need to install any drivers manually, it just worked via Plug'nPlay ... is your Win10 up to date?
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Unofficial TWRP with working OTG and Backup/Restore feature added on the download post 2, All Credits to [MENTION=3814731]katinatez[/MENTION]

Glad he got the Cheeseburger ;)
[OnePlus 5 Guides, News, & Discussion] serlex:
Hello! I'm having some trouble updating to the latets OTA version.

When I first got my OP5 I followed this tutorial and I rooted my devic with Magisk, installed TWRP and took the encrypted "path".

I have downloaded the full OTA rom and the magisk zip file to install them from TWRP, but I can't find them in the TWRP?s file manager. Inside my /sdcard I can only find folders with weird alphanumerical names.

That is caused by the encryption that I never removed right? How can I flash the rom and magisk in order to update? :-/

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

UPDATE: Issue solved

Further searching has provided me the answer: it was indeed the encryption but I just had to input the pattern when entering TWRP, which I was failing to do.

thanks for the help
[OnePlus 5 Guides, News, & Discussion] shadekh:
Is there any way to root/magisk without TWRP? Seems there are issues with TWRP and OP5, and I just want root for now without any other advanced TWRP features. Seems it should be possible with stock recovery?
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
No way, use the twrp posted a couple of posts back no issues

Sent from Funk Tuned Cheeseburger
[OnePlus 5 Guides, News, & Discussion] dinokhan:
excellent guide Kudos to FW
[OnePlus 5 Guides, News, & Discussion] patr_:
I rooted my OnePlus 5 using the guide and it worked perfectly :victory: , I just have two questions:

Why is it not recommended to decrypt and use Magisk (thats what I am currently running, no problems so far)?

And, is there a reason to use the unofficial TWRP when you don't need USB-OTG?

I'm relatively new to Android devices (and rooting), so I'm sorry if those are "noob questions". :rolleyes:

Regards
[OnePlus 5 Guides, News, & Discussion] MrPepperino:
Magisk is recommended cause you can hide your root to apps. So you have no trouble with i.e. banking apps or games like PokemonGo. If you don't care about these things you can easily use SuperSU. This is also fine.

Yeah you can use the unofficial twrp if you want. There should be no problems
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
If you are already running decrypted setup with Magisk it's fine but use the unofficial or bluspark recovery as the official one has issues on restore data.
[OnePlus 5 Guides, News, & Discussion] patr_:
Thank You :) I didn't know about the issues when restoring data, so I'll switch to the Unoficial TWRP.

Regards
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Yes that's better for now until we get an update for the official twrp :good:

I will update the post as and when the new version comes out :highfive:
[OnePlus 5 Guides, News, & Discussion] Sufiyandon1811:
Hii all

I had recenetly rooted my device to change my stock android emojis toh ios ones .. but now due to the new update i had to uodate my phone and my root has gone

So now if i have to root again do i have to unlock the bootloader allover again or continue with installing custom recovery?

Because during the first root i had already unlocked the bootloader

Thanks
[OnePlus 5 Guides, News, & Discussion] MrPepperino:
Don't need to unlock again. It is unlocked till you lock it again
[OnePlus 5 Guides, News, & Discussion] gursimar:
No, no need to unlock again!! Also since you updated it , i belive the recovery also must have been replaced by stock oos one. If that's the case you just need to flash recovery again via FASTBOOT, if you are still on twrp then just go ahead and flash magisk/su and enjoy root again.
[OnePlus 5 Guides, News, & Discussion] Sufiyandon1811:
How do i check if I'm on twrp ?
[OnePlus 5 Guides, News, & Discussion] Flint2:
Reboot to recovery, from advanced reboot menu, power button + vol down, or in the 5 second pause at boot select recovery.
[OnePlus 5 Guides, News, & Discussion] Sufiyandon1811:
That means no need to wipe my data during the process right ¿
[OnePlus 5 Guides, News, & Discussion] stepchap:
Correct, just wipe cache and dalvik.
[OnePlus 5 Guides, News, & Discussion] Sufiyandon1811:
Can you tell me what exactly i will need to do to root now ?

My bootloader is already unlocked so ill have to flash the twrp and install supersu or magisk

What is wipe cache and dalvisk
[OnePlus 5 Guides, News, & Discussion] MrPepperino:
Yeah just flash twrp via fastboot>boot to twrp>flash SuperSU and done!
[OnePlus 5 Guides, News, & Discussion] Sufiyandon1811:
Thanks .. it worked

Cheers
[OnePlus 5 Guides, News, & Discussion] Pois0nDF:
Looking fro a bit of help here. I recently purchased a oneplus 5 and I am trying to install twrp. I have already unlocked the bootloader and set my device up.(needed to get the device working) Now I have gone back and trying to install 3.1.1 recovery, but it doesn't seem to want to stick. Do I need root in order for this to stick? I would';t think so. at least on my pixel xl it doesn't need root to stick.

Here's what I have done thus far:

in bootloader I type, fastboot flash recovery twrp.img( this does seem to install correctly)

then I have tried fastboot reboot and holding the volume down and power, fastboot boot twrp.img , probably another one also. I can get it to boot to twrp, but after I reboot to recovery then reboot to system and everything boots up. I try to go into recovery and only the stock recovery is present.

Any Ideas?
[OnePlus 5 Guides, News, & Discussion] ulxerker:
you need to flash supersu/magisk right after flashing twrp before booting to keep twrp, otherwise it gets replaced by stock recovery.
[OnePlus 5 Guides, News, & Discussion] Pois0nDF:
Appreciate the tip. When I go to flash a custom Rom, Im aware that i have to decrypt, and ill have to re flash root also, correct?
[OnePlus 5 Guides, News, & Discussion] doki81:
thx [MENTION=6143932]Funk Wizard[/MENTION] for the guide on this ..i have unlock, flash custom recovery using the official twrp...

may i ask if i need to flash to the unofficial twrp by blu spark, in case i need to restore in future..what is the step i need to do? flash the custom recovery from the 1st step from custom recovery again?
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
As per the current status I recommend bluspark or K2 over Official until the official gets 3.1.1-2
[OnePlus 5 Guides, News, & Discussion] funkyirishman:
Ok the bootloader on my phone was unlocked from the previous time. So I then tried to install TWRP and loaded up and all ok. However when I reboot into recovery I am not getting the standard TWRP menu I am getting one plus logo then first option to choose language English(other two options Chinese) Then I get the options below:

Install from Internal Storage

Install from ADB

Wipe data and cache

Advanced

Exit

I previously used TWRP but never got this option so not sure if installed correctly as does not look like TWRP but seems to give me the option of installing Magisk from Internal storage.

Anyone?
[OnePlus 5 Guides, News, & Discussion] ulxerker:
It depends on the ROM, most of them are already prerooted. Have a look at the feature list or ask in the forum.
[OnePlus 5 Guides, News, & Discussion] Bewildered Wolf:
I also tried this but recovery.img was not installing. Idk why. It was showing OK in the terminal but still the phone didn't have recovery.

So, I used a tool available in the forum and it just did the work in one click.

//Press thanks if it helped :)
[OnePlus 5 Guides, News, & Discussion] brus_wayne_1986:
Please help me

Good morning to everyone!

I tried to follow the guide and i obtained this error:

sending recovery

failed remote: requested dowload size is more than max allowed

can anyone helpe me?

thank you very much
[OnePlus 5 Guides, News, & Discussion] TheAreS:
I rooted my device with supersu. Now I saw most of the modules requires magisk. Can I swith to magisk without wipe?
[OnePlus 5 Guides, News, & Discussion] ulxerker:
Sounds like you need newer adb drivers.

---------- Post added at 05:40 PM ---------- Previous post was at 05:37 PM ----------

Full unroot in SuperSU app and flash magisk after that. Wiping not required, but make a nandroid backup just in case.
[OnePlus 5 Guides, News, & Discussion] Pois0nDF:
I was able to get recovery to stick by flashing magisk. I also at one point got that error so I booted twrp.image then once in the twrp recovery I installed the image.

I was advised that recovery will only replace the stick recovery if you flash root or a custom kernel.
[OnePlus 5 Guides, News, & Discussion] brus_wayne_1986:
ok

please could you explain me how can I boot twrp.img? thanks
[OnePlus 5 Guides, News, & Discussion] maurydes:
fastboot boot recoveryname.img
[OnePlus 5 Guides, News, & Discussion] TheAreS:
How can I full unroot? I couldnt find any unroot post for oneplus 5
[OnePlus 5 Guides, News, & Discussion] ulxerker:
It's an option in SuperSU settings. Again, a nandroid backup before that is highly recommended.
[OnePlus 5 Guides, News, & Discussion] funkyirishman:
Can anyone assist with this? I am on the latest update 4.5.8 and bootloader is unlocked. Is it a case that TWRP was not installed correctly and I need to reinstall?

I want to do a clean flash of the RR ROM but need to load Magisk first but I just need clarification if I need to reload TWRP or could I have done anything wrong as followed the guide?

Thanks
[OnePlus 5 Guides, News, & Discussion] patr_:
Looks like your TWRP has been overwritten by stock recovery (probably due to an OOS update?), just flash it again using fastboot and immediately boot into it (unplug your phone and select recovery with the volume keys). Allow system modification and flash SuperSu/Magisk. Wipe Cache+Dalvik.

If you do boot into OOS before TWRP, OOS will overwrite TWRP with stock recovery! To avoid this you need to flash root before booting OOS.
[OnePlus 5 Guides, News, & Discussion] funkyirishman:
Cheers thanks for the reply
[OnePlus 5 Guides, News, & Discussion] shan425:
I workimg many hours in this problem bro

I installed 15 sec adb driver and installed oneplus driver but in my op5 the pop-up window is not coming to give permission for allowing permission
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
You need to boot into twrp immediately after flashing it to enable twrp write over stock recovery

Flash TWRP from Fastboot

After the successful flash remove the cable

Use the vol toggle a couple of times till it says reboot to recovery in red

Hit power and u'll be greeted with TWRP Menu :good:

Update your fastboot/adb drivers and try using a usb 2.0 port :fingers-crossed:

You you can unroot by flashing full rom over existing setup to unroot and then flash magisk followed by the rom flash

No Data wipe needed, just dirty flash the rom and then Magisk to achieve your desired setup :highfive:
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
As i have already replied, re-flash twrp and boot into recovery as mentioned on the post above.
[OnePlus 5 Guides, News, & Discussion] DaSoul:
So i'm currently rooted and on 7.1.1, how do i apply the latest Oxygen update? Is magisk safetynet still passing on latest OxgenOS?
[OnePlus 5 Guides, News, & Discussion] patr_:
Best to make a Nandroid Backup before, download the full OOS.zip (>1GB), and Magisk on your device, boot into TWRP, flash the OOS, clean cache+dalvik, flash Magisk, clean cache+dalvik then reboot. Done.

It is still passing safetynet.
[OnePlus 5 Guides, News, & Discussion] shan425:
i have unlocked booloader but twrp is failed

My device is showing in adb device bro but not showing fastboot devices

What I want to now?:confused:
[OnePlus 5 Guides, News, & Discussion] khalisz:
Hello and thank you for this nice topic. :good:

Just question and maybe it has been already answered, sorry.

Is necessary to Unlocking Bootloader​ for root ?

Or I can root my OP5 without Unlocking Bootloader​ ?

Thanks in advance. ;)
[OnePlus 5 Guides, News, & Discussion] laupuy:
Hi,

you must unlock BL to be able to modify the system (install a custom recovery, root ...).

Please read OP before bricking your phone

;)
[OnePlus 5 Guides, News, & Discussion] khalisz:
Yes I already read it all. ?

Thank you.
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Follow my other thread for update to the latest 4.5.8

All files and instructions available on the OP of that thread

Update the fastboot drivers and try again http://cloud.tapatalk.com/s/599366ff885e1/platform-tools-latest-windows.zip

Yes it's important to unlock the bootloader before you can root your device. Please follow the steps on the OP and feel free to ask if in doubt.

Sent from Funk Tuned Cheeseburger
[OnePlus 5 Guides, News, & Discussion] khalisz:
Just did it and It worked very well.

The OP is fully detailed as well. :good:
[OnePlus 5 Guides, News, & Discussion] khalisz:
Now at each boot I have this message while 5sec below :
[OnePlus 5 Guides, News, & Discussion] laupuy:
Yes, it's normal.

The only solution is to press power to skip this ...but not a big deal ;)
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Closed
[OnePlus 5 Guides, News, & Discussion] khalisz:
Yes :)

Just wondered why because none hacked the phone. :laugh:

It's the new feature security of Google since Nougat.
[OnePlus 5 Guides, News, & Discussion] Rhoban:
I had problems installing [MENTION=4638083]Snoop05[/MENTION]'s adb & fastboot drivers on my Windows 10 machine. It always said 0 files copied. I installed them from another source though and got my device unlocked and rooted :)

One question: The modem backup files are 2MB each. Is that correct?
[OnePlus 5 Guides, News, & Discussion] shadowstep:
That's correct, yes. :)
[OnePlus 5 Guides, News, & Discussion] Ratchase:
Nothing pops up when I wrote the command fastboot devices I have tried googling I have updated my OnePlus 5 drivers adb drivers yet nothing when I connect the device in bootloader mode
[OnePlus 5 Guides, News, & Discussion] Reptilez_DK:
Did you check the OEM unlock setting ? :)
[OnePlus 5 Guides, News, & Discussion] mrjuniork:
Also try another USB port or cable (preferably 2.0) - for ruling out possible HW issues
[OnePlus 5 Guides, News, & Discussion] xchikyx:
i can't get my phone recognized on the computer... any help? i installed drivers but it doesnt seem to be working

any help please
[OnePlus 5 Guides, News, & Discussion] ulxerker:
try also another (shorter) cable and other USB ports.
[OnePlus 5 Guides, News, & Discussion] morfances:
I've seen that there are two ways to get the root: one so the device stays encrypted and the other no.

What is the convenience of each of the two methods? I've seen some roms that necessarily ask the device to be encrypted. thx in advance
[OnePlus 5 Guides, News, & Discussion] laupuy:
Hi,

FYI:

Source: https://xdaforums.com/oneplus-5/how-to/guide-how-to-decrypt-data-partition-t3642144
[OnePlus 5 Guides, News, & Discussion] street_samurai:
Just wanted to thank [MENTION=6143932]Funk Wizard[/MENTION] for all the great work in the guide.

I received my 5 today in the mail, 2 hours later (right now), it: has a new recovery, is backed-up and is rooted!

Really the only step that tripped me up was the adb install in windows didn't play well with Comodo firewall. Once that was sorted out, everything went according to your guide.

So far I'm absolutely loving my first OnePlus and can't wait to explore it more. Thanks again!
[OnePlus 5 Guides, News, & Discussion] rickysidhu_:
Just curious if anyone who uses Mac knows a way to transfer files without using adb push? I find it a lot easier to use the drag and drop method used in Windows, but haven't found a way to do that on Mac.

I do use an app called handshaker, but that only works when in the OS, and not in TWRP
[OnePlus 5 Guides, News, & Discussion] djrion:
Android file transfer
[OnePlus 5 Guides, News, & Discussion] rickysidhu_:
I can use AFT even when my device is in TWRP?
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
TWRP supports MTP :good:
[OnePlus 5 Guides, News, & Discussion] djrion:
Yes
[OnePlus 5 Guides, News, & Discussion] Galaxysm:
How do I get "theme" oneplus twrp you have on OP?
[OnePlus 5 Guides, News, & Discussion] sharan.salem:
Hi, I'm a newbie to rooting and all the stuff, i have a few questions up here.

1. Is it possible to root your Android device without unlocking the bootloader?

2. Once unlocked and rooted, is it possible to unroot the device and lock the bootloader back to stock?

Thanks,

Peace
[OnePlus 5 Guides, News, & Discussion] rickysidhu_:
1. No

2. Yes
[OnePlus 5 Guides, News, & Discussion] sharan.salem:
Thanks mate,

1. Is there any difference between the backup taken by twrp and titanium?

2. I'm having OnePlus 5, if i root my device and flash a lineage os, where will my stock os go, will it be wiped off? Should i take nandroid backup before flashing any rom?

3. I'm really confused with this term "stock", what is it? What is its significance? What happens to it when i root my device? What happens to it when i flash a custom rom? How can i get back to stock later on?

Thanks,

Peace
[OnePlus 5 Guides, News, & Discussion] rickysidhu_:
I might be wrong but I think TWRP does a full backup, such as your ROM+its settings (basically exactly how your device is now).

TiBackup is more for backing up just your apps and other things like Bluetooth pairings and call logs. I believe there is an option to restore ROM settings as well, but doesn't restore the ROM itself.

I may be wrong, since I've never used TWRP to backup and restore, so I'd wait for someone else to confirm/edit/add to the info I've provided!
[OnePlus 5 Guides, News, & Discussion] sharan.salem:
What is Magisk manager? What is it's purpose? Is it mandatory to install it? I know it's an upgrade over supersu but what is the difference between the two?

Thanks,

Peace
[OnePlus 5 Guides, News, & Discussion] laupuy:
Hi,

Please do your homework, search, search and search. It's the first rule of XDA FORUM: https://xdaforums.com/announcement.php?a=81

1. Search before posting.

Use one of our search functions before posting or creating a new thread. Whether you have a question or just something new to share, it's very likely that someone has already asked that question or shared that news.

;)
[OnePlus 5 Guides, News, & Discussion] Fentadroid:
Yeah, crystal clear :p:p:p:p:p:p:p:p:p
[OnePlus 5 Guides, News, & Discussion] HatRiGt:
twrp released ???
[OnePlus 5 Guides, News, & Discussion] Jsilver73:
Can you mirror the zip please -
[OnePlus 5 Guides, News, & Discussion] bxmoney181:
TWRP link

https://mega.nz/#!OoIQzIoa!t4iBhs4z-oZLbp-s6vE9X_pEILl4cIvvOR3INbnC2eQ

Done.

Adding stock recovery img below in case anyone needs that also.

Stock recovery link

https://mega.nz/#!6twHXDrJ!JDc0HL5aDstFUElcFflIHH3BASgQn1XDjSyRZyTBI-8

Mini guide:

1. unlock bootloader

make sure you have adb/fastboot and OP 5 drivers working

go to developer options in settings and check oem unlock

reboot into bootloader (you can use adb command on computer "adb reboot bootloader" if usb debugging is checked in developer options)

when booted into bootloader, run fastboot command on computer "fastboot oem unlock" (without quotes)

follow on screen instructions

2. flash twrp recovery img

download twrp

boot into bootloader again

run fastboot command "fastboot flash recovery \path\to\twrp_recovery.img" (please replace "\path\to\twrp_recovery.img" with the actual path to the downloaded twrp file/img on your computer)

3. reboot into recovery and enjoy
[OnePlus 5 Guides, News, & Discussion] TwinAdk:
SU attached here for convenience - UNTESTED!
[OnePlus 5 Guides, News, & Discussion] xdvs23:
I don't know if there is any 100% working open sourced TWRP for the OnePlus 5, but in case there isn't and that is what you are looking for, please PM me for testing and helping me: https://xdaforums.com/oneplus-5/development/twrp-oneplus-5-wip-t3626134

Of course if anyone comes first there is no reason for me to continue it.
[OnePlus 5 Guides, News, & Discussion] lou2s:
Have anyone tried magisk 13 beta on oneplus 5? Cheers
[OnePlus 5 Guides, News, & Discussion] Schrotty35:
Only the Supersu from above working?
[OnePlus 5 Guides, News, & Discussion] TwinAdk:
There is a recovery thread, see there :good:
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
TWRP is out Credits [MENTION=6584600]xdvs23[/MENTION]

https://drive.google.com/file/d/0B0RUo8rOkvfNUkIyUF9TTXE0Tmc/view

Source:

https://github.com/xdevs23/android_device_oneplus_oneplus5-twrp

Kernel:

https://github.com/halogenOS/android_kernel_oneplus_msm8998

Sent from Funk Tuned 3T
[OnePlus 5 Guides, News, & Discussion] iamelton:
the links are not working..
[OnePlus 5 Guides, News, & Discussion] néonaloj:
Hi [MENTION=6143932]Funk Wizard[/MENTION] !

I need some information please : I tried to decrypt my OP5, did "fastboot format userdata" (without quotes, and I'm unlocked o.c.), it erased all the phone, BUT I'm still encrypted...

Do you have some idea on the subject, on how to decrypt THIS phone, as the previous command doesn't work??

Thanks a lot!
[OnePlus 5 Guides, News, & Discussion] A.Priori:
just got mine from Fedex :) Tempted to try this asap.
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Links fixed on original post
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Did you flashed the no verity zip?
[OnePlus 5 Guides, News, & Discussion] TechnoIce:
Hey Funk, when you flashed TWRP on your phone, did you stay stuck at the splash screen for a few minutes before the recovery loaded? I've flashed it twice now through fastboot, each time it tells me it was successful, but when I try to launch into the recovery, I'm stuck at the TWRP splash screen.
[OnePlus 5 Guides, News, & Discussion] SirSupernice:
same here.. only loads to splashscreen
[OnePlus 5 Guides, News, & Discussion] cultofluna:
If you stuck on splashscreen ..try to boot the twrp manually ...

Not by using fastboot command...
[OnePlus 5 Guides, News, & Discussion] néonaloj:
Thanks for your Reply!!

Il did not flash thé no verity zip, as I never did with OP3! Should that only be the solution ?? Do you have a link please?

Thanks again !
[OnePlus 5 Guides, News, & Discussion] geko53:
Same here - tried to boot to twrp manually but still am stuck to twrp-splashscreen...

Hope there will be a workaround.

Btw.: flashing the recovery again did't help... :crying:

Ciao

Gerald
[OnePlus 5 Guides, News, & Discussion] FromtheSuburbs:
First off, thanks for this thread and all of your work.

Question: I've gotten as far as installing TWRP; when I reboot to TWRP and navigate to "Install" there are no available files in either my "SuperSU" or "Magisk" folders.

Attached is a screenshot of the files in my SuperSU and Magisk folders as they appear in Windows Explorer.

Thanks very much in advance for any assistance.

https://imgur.com/a/qYM6b
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Flashable zip is attached, just flash in recovery and reboot recovery to apply :highfive:

Theme credits [MENTION=6044723]Morphine1[/MENTION] :good: