yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 Guides, News, & Discussion] monkeytools:
I would first a factory reset. Then if that doesn't take care of it. I would flash the update full 4.5.6 zip. Just a side I have read that people have problems with magisk. But it maybe worked out now. I don't personally use magisk.
[OnePlus 5 Guides, News, & Discussion] Kannan12:
Okay..? I'll try it.. thanks
[OnePlus 5 Guides, News, & Discussion] Hetalk:
Lol no.

Dirty flash will not wipe your data partition or internal storage . All those things stay.
[OnePlus 5 Guides, News, & Discussion] doux_ws:
Okay..noted. Thanks ?
[OnePlus 5 Guides, News, & Discussion] funkyirishman:
Ok flashed and rooted over the weekend and followed the instructions step by step and could not be easier. I updated everything before flashing

However I am on version ONEPLUS A5000_23_170719 and I don't think this is the latest version. I know I have to update it by flashing FULL zip but how can you tell what is latest update from the wording ONEPLUS A5000_23_170719?

Also when rooting I flashed Super SU. If I want to use Magisk instead of Super Su do I flash the update and then flash Magisk or do I have to remove Super SU

cheers
[OnePlus 5 Guides, News, & Discussion] User422:
Go into the settings of SuperSU. There is an option saying "change root app" or so. Tap on it.

Then go into the recovery mode and flash Magisk.
[OnePlus 5 Guides, News, & Discussion] sjamie:
Once decrypted, is there an easier way to re-encrypt the device without having to flash the stock ROM & recovery?
[OnePlus 5 Guides, News, & Discussion] -PaRRoT-:
Strange problem after unlocking

Hi all. Like always before (from my first Galaxy Nexus to this last OnePlus 5) after the first boot of my new phone I unlocked the bootloader.

Like on my old OnePlus 2 I enabled the Developer Settings, enabled the fastbook unlock option, booted on fastboot and executed the "fastboot oem unlock" command. The phone wiped all the data, rebooted and I configured my phone by restoring the Google backup.

The problem started after my first reboot. Everytime the phone starts I see this alert before the OnePlus logo:

It remains visible for 5 seconds or I can skip by pressing the power button.

Searching on Google doesn't help me, a lot of people had this problem with different phones but I haven't found a solution. I don't want to lock my bootloader or delete my datas...

Actually the configuration is stock OxygenOS 4.5.6 and unlocked bootloader. The phone had by default the encryption enabled, I haven't turned this option off.

Can someone help me?

Thank you.
[OnePlus 5 Guides, News, & Discussion] monkeytools:
This is normal when you unlock your bootloader. There is no problem other than your bootloader is unlocked.
[OnePlus 5 Guides, News, & Discussion] -PaRRoT-:
Just to understand: is it a message that appears in all the OP5 phones? Because no one wrote about this in XDA forum for this phone.
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Dirty flash the stock rom to wipe clean the system partition

Flash Magisk 13.3 and reboot system.

No only OOS will force encrypt, there is an option within the OS but it might not work so if you try that do taken backup just in case
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
That's the secure boot screen/warning

There is no way to remove that screen for now and it's been there since the OnePlus 3 was released. Just ignore that for 5 seconds or you can immediately press power button with will bypass that screen.
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Yes all OP5 / 3 / 3T
[OnePlus 5 Guides, News, & Discussion] -PaRRoT-:
Thanks for the clarification.
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
The steps should be reversed 3-2-1

You first need to flash the no verity zip in order to be able to format and decrypt data.
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Just make a clean flash

Download the latest stock rom 4.5.6 as of today

Reboot recovery

Wipe dalvik system data and cache

Flash full zip

Flash magisk

Reboot system

Make sure oem unlock is enabled in developer options else it won't allow you to unlock.

If the restore of boot.img does not work you can dirty flash the rom followed by Magisk so system partition and kernel will be clean and TWRP will also stay as you've flashed root.

Are you able to assess the sd card and create files if not flash the sd card permissions update zip and try again.
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Ok guys everyone is invited to join my Telegram Group where you get the updates first and more towards upcoming stuff and beta testing

Join here :highfive:

https://telegram.me/OnePlusHub
[OnePlus 5 Guides, News, & Discussion] funkyirishman:
Rooting and the Issues I faced

Ok here is my experience of rooting

Read the thread first before doing anything and Followed the instructions to the tee only thing that I did was save the TWRP file on my desktop and then typed in fastboot flash recovery and then dragged the file across into the cmd and then I installed Super Su via TWRP . Phone was rooted and everything working ok. However when I was re booting I kept on getting a message, cannot remember exact but something about booting up in 5 seconds if yada yada? Ok was not sure about this but phone rebooted ok and I could install Titanium, adblock etc.

Then I checked to see what update I was on and it was ONEPLUS A5000_23_170719. So I needed to update. I then downloaded the full Zip file of the OTA and then I rebooted in TWRP to make a back up. However this is where I may have gone wrong as when I booted up into TWRP I did not remove all Lockscreen Security. So when TWRP opened up I was asked for a password and I inserted my pin and then did a back up. However when phone rebooted I was trying to locate the OTA file and was not there and everything was saving to the SD card and I got not enough memory??? This I could not figure out and tried everything but could not fix it. I then rebooted and tried to restore the recovery but when I rebooted it just re-booted with TWRP and I was stuck?? I then did a factory reset and now back to normal with Bootloader still locked and phone not rooted.

What I want to do at the same time

•	Unlock bootloader

•	Root Phone

•	Make Nandroid back up

•	Install latest OTA

Before I start to root again is there anything that else that I should be doing other then remove all the lockscreen security? I am now back to factory settings and currently on ONEPLUS A5000_23_170719

Thank you for your patience as I am at wits end :(
[OnePlus 5 Guides, News, & Discussion] snowwolf725:
You are wrong.

If you reverse steps, it doesn't work.

Because the no_verity_op5.zip will write some config files into data partition.

Ref:

https://xdaforums.com/htc-10/how-to/script-disable-force-encryption-t3604856
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
You can do it from fastboot if there is any confusion

Personally I do not recommend decryption as it's not safe and does not gives you any performance gains either. We now already have custom ROMs working on encrypted devices so no need to decrypt unless you plan to use multirom.
[OnePlus 5 Guides, News, & Discussion] Kannan12:
Is magisk working well on encrypted devices? Coz, My phone takes forever to reboot (around 25 minutes each time). I flashed supersu and its back to normal now. Is there anyway to make magisk work well? Also, substratum gets messed up with magisk on encrypted devices (atleast for me). I unlocked BL and rooted after the 4.5.6 update of OOS by the way..
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
In my testing it doesn't, but might have changed now as there were several updates pushed.

However if you are decrypted I still recommend SuperSu over Magisk
[OnePlus 5 Guides, News, & Discussion] Kannan12:
Okay then, I'll live with SuperSu. Only thing I like in magisk is the magisk hide which allowed me to use one of my banking app. But its not a big deal. Thanks for answering!
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Just a matter of time till all roms work on encrypted devices, already weve got RR and Tipsy One version working fine on encrypted devices along with other OOS based roms.

So Magisk + Encrypted is the way to go as far as i am concerned :fingers-crossed:
[OnePlus 5 Guides, News, & Discussion] Roy4leq:
Would it void my op5 warranty?

Would it void my op5 warranty?
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
No not really...

Sent from Funk Tuned Cheeseburger
[OnePlus 5 Guides, News, & Discussion] justanormaldude42:
hey would you mind telling me what an OOS or an OTA mean?

what is an OTA? what is an OOS?
[OnePlus 5 Guides, News, & Discussion] ipredatorv:
OTA = Over The Air (updates for your phone that you receive automatically and can install directly with your phone without having to connect it to a PC)

OOS = OxygenOS (the stock operating system of international Oneplus phones, based on Android 7.1.1)
[OnePlus 5 Guides, News, & Discussion] mchibaa:
Hi guys.

Sorry. I tried to flash and it was successful. But i did not install root.

Then I tried to go recovery mode, i think it goes to stock recovery.

Should i flash again twrp? Then install root?
[OnePlus 5 Guides, News, & Discussion] 3DSammy:
Yes, you once you flash TWRP you must reboot back into recovery and flash root (SuperSU or Magisk) BEFORE booting into system. If you flash a new OTA also add the root flash (I always do them together in an OTA/root order). If you fail to do that and flash an OTA then boot into the system, stock recovery will be automatically installed. There are files you could delete to prevent this but combining an OTA/Root flash order is simple.
[OnePlus 5 Guides, News, & Discussion] mchibaa:
Thanks! We can only flash full zip right? We cany install partial updates?
[OnePlus 5 Guides, News, & Discussion] 3DSammy:
Correct, once you install TWRP you must always use the full OTA which you can get from this OTA thread, within hours of the full OTA being released.
[OnePlus 5 Guides, News, & Discussion] an0therus3r:
I'm a bit confused. In a previous post you suggest to use SuperSU when device is decrypted (but i read it like also recommended when encrypted)

But in this post it looks like you recommend Magisk so i'm a bit confused.

I ask this mainly because I would like to hide root for certain apps but as far as i know this is not possible yet with 7.1.1 so again confused why this was even mentioned by someone else?!
[OnePlus 5 Guides, News, & Discussion] stungun001:
Need help :)

Hey Guys

i am really new at rooting devices . In past i have rooted note 2 and note 3 but one plus 5 is totally different.

I need help with rooting my oneplus 5 , i got the OEM unlocked via following this guide but i am stuck at this part.

Then boot it into fastboot/bootloader mode by holding volume up + power or selecting the reboot to bootloader via advanced reboot options.

Open a new command prompt in the same location and run the following commands:

I cant seem to access internal memory of oneplus 5 via pc , when onplus 5 is inb fastboot mode .

and really newbie question if i do get access to folders how do i start cmd from it .

Thank you
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
i recommend first update the latest 4.5.6 and then root, else you would have to download another 1.4 gig file for the update

So the process would go like this

OTA up to the latest 4.5.6

Unlock Bootleader

Install TWRP

Flash Root (Magisk or SuperSu)

Done :good:

OTA Stands for Over the Air Update that your receive from your OEM

OOS Stands for the Operating System Oxygen OS made by Oneplus :good:
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
As suggested by [MENTION=4056970]3DSammy[/MENTION] please follow my update thread for the detailed instructions and yes you have to flash the full zip if you make any modifications to your system partition/root your device.

For now if you wish to hide root Magisk is the only option available and you have to be encrypted to be able to use it.

Just to clarify:

Encrypted + Magisk :good:

Decrypted + Magisk (not recommended)

Encrypted + SuperSU :good:

Decrypted + SuperSu :good:

PS: Cant hide root if you sue SuperSU

You dont have to access the internal when you are in fastboot. Just make sure the device is detected in fastboot by checking with fastboot devices and if you get your device serial key you are good to go.

I have also attached screenshots here if that helps.

Let me know if you have any doubts :good:
[OnePlus 5 Guides, News, & Discussion] stungun001:
Thank for the help guys ! .

So i did get the twerp install i think. because when i got into recovery i saw the twerp . but now i am having diffeculty trying to install magisk zip . i cant find the Folders where i placed it .

i tried putting it outside in internal memory but i cant seem to locate it .

Thanks ! :)
[OnePlus 5 Guides, News, & Discussion] str8str:
Lol that's funny.

---------- Post added at 06:16 PM ---------- Previous post was at 06:02 PM ----------

Nope format data then flash no opt verify

---------- Post added at 06:18 PM ---------- Previous post was at 06:16 PM ----------

If you get the LED light only after flashing kernel is because you didn't flash the no verify zip after
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Just place it in downloads and the location would be

/sdcard/Download
[OnePlus 5 Guides, News, & Discussion] neisael:
Hey guys,

i am little lost, i rootet my oneplus 5, i am on 4.5.3

I get updates now in my settings (automatically full files with 1.5GB) it says:

Root detected the system will download the package now. Your deice wil leave root-mode, after upgrade.)

It downloads, its getting into trwp, tries to install, fails.

My Question:

I want to go back to normal and get my updates (at least the 4.6 as soon as it comes)

So: How do i go back to unroot?

The first time i rootet the phone there was no problem with the update, it just left root mode.

Thanks!

Andi
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Well you need to go this my update thread here

I have explained the update process for both rooted and non rooted devices. Feel free to ask if you still have doubts :fingers-crossed:
[OnePlus 5 Guides, News, & Discussion] 008bond:
I know it may seem like a silly question, but does unlocking bootloader and rooting reduce camera quality / disable some camera blob? (not flashing a custom rom)
[OnePlus 5 Guides, News, & Discussion] wartomato:
No.
[OnePlus 5 Guides, News, & Discussion] tbqstp:
Platform tools folder

Hello all

Tried looking around, but can't seem to find an answer. I can't find the Platform tools/android folder and consequently I can't flash TWRP. I answered yes to all questions when I installed adb. Any ideas please?

Thanks in advance
[OnePlus 5 Guides, News, & Discussion] antimatter.web:
How did you go back to stock? I downloaded stock recovery and stock oos 4.5.6 and was planning to flash stock rom through twrp but twrp now asks for a password upon booting into recovery and I can't find the zip to install in the install section. I wanted to flash stock rom through twrp, let it boot to confirm working, flash stock recovery through fastboot and then lock bootloader through fastboot to return to stock. Now I'm unsure on how to progress :confused:

Edit: So I ended up formatting data through twrp, copied the zip onto the device, made a full wipe, installed the zip and it booted fine. rebooted to recovery and seems as though twrp recovery was replaced with stock recovery. locked bootloader through adb -success
[OnePlus 5 Guides, News, & Discussion] veedub63:
So I followed every step and have freedom running but I cant get Google play store to download any apps. I tried the twrp terminal method and no results.
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
No not at all :good:

Rooting will just give you access to your system partition that's it ;)
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
It would only be there if you've installed platform tools for Windows

It doesn't necessarily be that folder though. If you have system wide fastboot and adb installed and recognized you can do that from any folder on your desktop, just make sure you have the command prompt and recovery file on the same folder
[OnePlus 5 Guides, News, & Discussion] ulxerker:
Deleted
[OnePlus 5 Guides, News, & Discussion] poincare:
Hello. When doing a nandroid backup, what is the difference between selecting "system" and "system image"? On my oneplus 5, "System is 1505MB and System image is 3072MB.

i mean, sides the size of these partitions what happens if I don't select one or the other when backing up and restoring?
[OnePlus 5 Guides, News, & Discussion] pratik_193:
i think the vibration pattern issue is also solved with this update.. same pattern for all apps even if you set is within the app itself..
[OnePlus 5 Guides, News, & Discussion] Command_HDX:
[MENTION=6143932]Funk Wizard[/MENTION] or someone who know's the answer

If I "decrypted" my device with the "old" no-verity-opt-encrypt-5.1.zip, can I flash the "new" no_verity_op5.zip without problems?

Or I have to do some extra steps (e.g. dirty flash ROM, Kernel, SU or something)?

Thanks in advance
[OnePlus 5 Guides, News, & Discussion] Roy4leq:
Can't open recovery after flashing twrp in recovery mode

hey, im trying to open recovery right after flashing twrp and I have this anoucement

https:// lh3.googleuserconten t.com/1OP1MpgRuvrzaw1QLqmdGtww8xDc-hL0zBbtjZqoJ1YmlmvswWamvz-Ld5ucNg=w300
[OnePlus 5 Guides, News, & Discussion] NinjaOne:
I have tried flashing all available versions of TWRP, but all of them refuses to mount system or write to system partition.

I have tried formatting data in twrp, wiping all partitions, and formating via fastboot. None of them will result in a succesful flash.

Any pointers on what to try next?
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
If you are already decrypted, no need to flash any zip again but if you want to decrypt the new zip should work fine, just follow the process from OP :good:
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Wipe Dalvik and Cache and Dirty Flash the stock rom once followed by Magisk.

This should fix it !!
[OnePlus 5 Guides, News, & Discussion] MMWolverine:
Hi there,

I'm having quite an issue here. Stock OOS, decrypted with no_verity_op5.zip. I used one of those aroma bloat removers which got stuck at "done", so I manually rebooted twrp recovery. Now everytime I flash stock OOS (for example latest 4.5.7), phone boots to twrp and wipes data. This loops until I flash stock recovery and go through the whole decryption process again.
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
If you want to stay on OOS stay encrypted as oos will force encrypt everytime you boot

Decrypt only for custom ROMs for now

Sent from Funk Tuned Cheeseburger
[OnePlus 5 Guides, News, & Discussion] an0therus3r:
nevermind, it's fixed.
[OnePlus 5 Guides, News, & Discussion] lineager:
After flasking 4.5.7 full rom, the system run normally, but when I reboot to Recovery, it show me the oneplus recovery instead TWRP.

It is strange that I can use "Fastboot boot twrp.img" to open the TWRP recovery, but it is not the default one @_@
[OnePlus 5 Guides, News, & Discussion] laupuy:
Hi,

You need to flash root (magisk or supersu) right after the rom and then reboot system.

If not, twrp will be replaced by stock recovery and you'll lose root.
[OnePlus 5 Guides, News, & Discussion] lineager:
Thanks, I fix it by reflashing the TWRP as below:

1. boot to bootloader and run "fastboot flash recovery twrp.img"

2. unplug and press volume +/- to choose recovery mode

3. booted to TWRP and reflash the magisk

4. reboot system, checked magisk normal

5. reboot to recovery, TWRP return!!

The key is step 2!
[OnePlus 5 Guides, News, & Discussion] ezaechiel:
Hello,

thanks for this guides, I followed all the steps and all were good at the first attempt.

Just one information for users having Bitdefender on their desktop. If adb/fastboot for windows doesn't want to install, you have to disable "Safe files" option in the configuration. Then all would be ok.
[OnePlus 5 Guides, News, & Discussion] gonsa:
I've lost the TWRP recovery without knowing how?

I installed a bunch of magisk modules and after a reboot the phone didn't boot.

I've flashed the latest 4.5.8 ROM, flashed Magisk again and the phone didn't boot.

Flashed 4.5.8 ROM now without any root and it booted. When going back to TWRP recovery I found out that I have the stock recovery again.

I'm going to loose all the data on the phone if I install TWRP again right?

EDIT: Ok, I guess I do not loose the data if I flash TWRP.
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
No loss of data, you can install via fastboot. Only reason you lost twrp is beause you booted in to OS without flashing Magisk or SuperSU thus the Flash of full rom overwrites TWRP by Stock Recovery.
[OnePlus 5 Guides, News, & Discussion] marcrb:
ayuda

hola cuando escribo el comando

Dd if = / dev / block / sdf1 de = / sdcard / modemst1.bin bs = 512

Para pasar los archivos modemst1 y modemst2 a la memoria interna me aparece:

sush: Dd: not found

Que hago mal? ayuda!!!
[OnePlus 5 Guides, News, & Discussion] extremeinside:
Does anyone know how to extract recovery.img from full zip rom because I do not find it inside the archive.
[OnePlus 5 Guides, News, & Discussion] shadowstep:
You mean the stock OnePlus recovery that the device is shipped with? If yes, there is no need to extract it from anywhere. You can download it straight from OnePlus's download site. Here is a direct link for it. :)
[OnePlus 5 Guides, News, & Discussion] extremeinside:
Thank you for your quick answer. I know I can download from the offcial site but I want to extract from the latest firmware. OnePlus5Oxygen_23_OTA_013_all_1708032241_9a87b4
[OnePlus 5 Guides, News, & Discussion] ulxerker:
English please?
[OnePlus 5 Guides, News, & Discussion] snowwolf725:
The command should be:

dd if =/dev/block/sdf1 of =/sdcard/modemst1.bin bs = 512

For modemst2:

dd if =/dev/block/sdf2 of =/sdcard/modemst2.bin bs = 512
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Get it here :good:
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Its no different from the one in the link for 4.5.7
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Refer to this post, here you go [emoji106]

Sent from Funk Tuned Cheeseburger
[OnePlus 5 Guides, News, & Discussion] Davixxa:
How would I go by re-encrypting the phone after flashing the no_verity_op5.zip file? It seems like I can't re-encrypt the partition afterwards, it just results in a reboot and nothing more.
[OnePlus 5 Guides, News, & Discussion] marcrb:
Muchas gracias!..voy a probar!..

---------- Post added at 07:24 PM ---------- Previous post was at 07:14 PM ----------

muchas gracias! eran los espacios en blanco, va todo seguido!!!:...muchas gracias!!!!!

---------- Post added at 07:29 PM ---------- Previous post was at 07:24 PM ----------

gracias!!!...donde pone si en mi post se escribio mal, tenia if....pero ya he visto el problema, era que yo dejaba espacio en cada palabra y guion, pero va todo junto...

gracias!!!!!

---------- Post added at 07:42 PM ---------- Previous post was at 07:29 PM ----------

cuando dices: eliminar toda seguridad en el bloqueo, y si tengo huella dactilar? o eso no cuenta?
[OnePlus 5 Guides, News, & Discussion] raul.lopez1958:
Please respect the rules of the forum, the language is English.

https://xdaforums.com/announcement.php?f=6483
[OnePlus 5 Guides, News, & Discussion] marcrb:
sorry!!!
[OnePlus 5 Guides, News, & Discussion] raul.lopez1958:
Don't worry, :good:
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Apologies i just skipped you message. If you are decrypted and and to encrypt just make a clean flash of OOS and boot into os without flashing supersu/magisk. OOS will force encrypt all the data partition in the background and the loop will continue from 20 min to 40 min depending upon the amount of data.

PS: Please keep the charger connected and battery over 60% while doing so and do not interrupt the process even if it takes an hour as it happens in the background, if interrupted you would get a message saying unable to encrypt and all the data will be lost so be careful :fingers-crossed: