Cannot root OP5 via Magisk - OnePlus 5 Questions & Answers

I cannot root my OP5. I have followed all of the directions unless I'm missing something. A week ago I previously switched to LineageOS but didn't like it so far. So I'm comfortable flashing ROMS.
1. I then downloaded the OOS official ROM, then loaded.
2. Update to most recent OOS (9.0.3) via OTA
3. Followed by factory reset to completely clear TWRP (which was downloaded via official website).
4. Downloaded TWRP
5. *Flash* No verity-opt-encrypt
6. Rebooted to TWRP
7. Downloaded Magisk zip, then flashed
8. Downloaded Magisk apk
9. Open Magisk app *shows* "Magisk is not installed*
I'm thinking maybe I've messed my phone FUBAR up or just completely doing wrong.
*sorry if this has already been answered as well or is posted in the wrong category*

sjonesd3 said:
I cannot root my OP5. I have followed all of the directions unless I'm missing something. A week ago I previously switched to LineageOS but didn't like it so far. So I'm comfortable flashing ROMS.
1. I then downloaded the OOS official ROM, then loaded.
2. Update to most recent OOS (9.0.3) via OTA
3. Followed by factory reset to completely clear TWRP (which was downloaded via official website).
4. Downloaded TWRP
5. *Flash* No verity-opt-encrypt
6. Rebooted to TWRP
7. Downloaded Magisk zip, then flashed
8. Downloaded Magisk apk
9. Open Magisk app *shows* "Magisk is not installed*
I'm thinking maybe I've messed my phone FUBAR up or just completely doing wrong.
*sorry if this has already been answered as well or is posted in the wrong category*
Click to expand...
Click to collapse
The instructions you need to follow are here https://forum.xda-developers.com/on...xygenos-4-5-2-7-1-1-ota-t3627003/post72799040
You did not mention any file versions from rom, twrp, magisk.
What does the twrp log says? Are there any errors why magisk isn't installing sucessfully?

strongst said:
The instructions you need to follow are here https://forum.xda-developers.com/on...xygenos-4-5-2-7-1-1-ota-t3627003/post72799040
You did not mention any file versions from rom, twrp, magisk.
What does the twrp log says? Are there any errors why magisk isn't installing sucessfully?
Click to expand...
Click to collapse
Sorry for not including the rom type. I was gonna try & run the official stock rom, while rooted. I know it was the TWRP from the official TWRP site "twrp-3.2.3-0-cheeseburger.img". Magisk was the most recent version a "Magisk-v18.1.zip". I don't think there were errors, but I can definitely try again.
I am going to try following those instructions. With me already being on "OxygenOS 9.0.4" via OTA update would I just need to cancel some parts? And to make sure that I flashed blu-spark correctly. I just drag then flash that while under TWRP correct?
[Clean Flash] For Users with an Unlocked Bootloader and TWRP Recovery:
Download the full ROM zip from the downloads section above
Transfer the zip to the root of your device's internal storage
Only needed if you are coming from Oreo or if you use an old TWRP recovery that's not the latest and Pie compatible: Remove the compatibility.zip from the downloaded full ROM zip with either MiXplorer or Total Commander (not with any other tool!) on your device itself
Reboot to TWRP recovery (make sure you're using siankatabg's TWRP if you're on Oreo or codework's TWRP/blu_spark TWRP if you're on Pie) and take a nandroid backup of your existing ROM
Flash Magisk Uninstaller (recommended)
From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache, cache, system, vendor and data> Swipe to wipe
From the TWRP menu, Install > Select full ROM zip (modified one with compatibility.zip removed, in case you're on Oreo or unmodified one, in case you're on Pie) > Swipe to flash
Flash the latest stable Magisk in case you want to root
From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache and cache > Swipe to wipe
Optional: If you wish to decrypt, format data via TWRP (please note that wiping the data partition, which we did in the 5th step above, is not the same as formatting it) and after that flash Disable DM-Verity and ForceEncrypt 2.0 (OP5-5T-Treble).zip from here
Reboot

sjonesd3 said:
Sorry for not including the rom type. I was gonna try & run the official stock rom, while rooted. I know it was the TWRP from the official TWRP site "twrp-3.2.3-0-cheeseburger.img". Magisk was the most recent version a "Magisk-v18.1.zip". I don't think there were errors, but I can definitely try again.
I am going to try following those instructions. With me already being on "OxygenOS 9.0.4" via OTA update would I just need to cancel some parts? And to make sure that I flashed blu-spark correctly. I just drag then flash that while under TWRP correct?
[Clean Flash] For Users with an Unlocked Bootloader and TWRP Recovery:
Download the full ROM zip from the downloads section above
Transfer the zip to the root of your device's internal storage
Only needed if you are coming from Oreo or if you use an old TWRP recovery that's not the latest and Pie compatible: Remove the compatibility.zip from the downloaded full ROM zip with either MiXplorer or Total Commander (not with any other tool!) on your device itself
Reboot to TWRP recovery (make sure you're using siankatabg's TWRP if you're on Oreo or codework's TWRP/blu_spark TWRP if you're on Pie) and take a nandroid backup of your existing ROM
Flash Magisk Uninstaller (recommended)
From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache, cache, system, vendor and data> Swipe to wipe
From the TWRP menu, Install > Select full ROM zip (modified one with compatibility.zip removed, in case you're on Oreo or unmodified one, in case you're on Pie) > Swipe to flash
Flash the latest stable Magisk in case you want to root
From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache and cache > Swipe to wipe
Optional: If you wish to decrypt, format data via TWRP (please note that wiping the data partition, which we did in the 5th step above, is not the same as formatting it) and after that flash Disable DM-Verity and ForceEncrypt 2.0 (OP5-5T-Treble).zip from here
Reboot
Click to expand...
Click to collapse
Use latest Codeworkx twrp(link in the instructions) and flash it with your current twrp
Then flash magisk 18.1 and watch the log for errors!
Then flash no verity patch(if you were decrypted before and want to stay, otherwise please inform me!)
Your quoted instructions are the ones for clean flash the whole rom. DON'T DO THIS! there are also instructions for updating

strongst said:
Use latest Codeworkx twrp(link in the instructions) and flash it with your current twrp
Then flash magisk 18.1 and watch the log for errors!
Then flash no verity patch(if you were decrypted before and want to stay, otherwise please inform me!)
Your quoted instructions are the ones for clean flash the whole rom. DON'T DO THIS! there are also instructions for updating
Click to expand...
Click to collapse
I followed this right in order. And right when it was time to reboot, it was a black screen with a blue LED light. Looked it up, said that it's bricked/stuck in boot loop

sjonesd3 said:
I followed this right in order. And right when it was time to reboot, it was a black screen with a blue LED light. Looked it up, said that it's bricked/stuck in boot loop
Click to expand...
Click to collapse
Firmware issue. Your device is most likely on a firmware other then the one that twrp supports.
So what was the last oxygenOS firmware / rom you use and which twrp(file name) did you flash?
Within the flashing instructions it's written that you need to be on 5.1.7 before flashing 9.0.x

Related

Boot loop op5 after oos 5.0.1 flash through twrp.

I followed the following steps to flash oos 5.0.1 :
1. Update TWRP to the latest Codeworkx TWRP from the link posted
2. Reboot Recovery and Take a Nandroid of your existing ROM just in case you need it
3. Wipe > Advance Wipe > Select Dalvik & Cache > Swipe to Wipe
4. Install Menu > Select OOS 5.0.1 Full Rom Zip > Swipe to Flash
5. Flash Magisk 15.2 (Recommended for Root)
6. Wipe Dalvik & Cache
7. Reboot Recovery to make sure TWRP stays
8. Reboot System once recovery boots again.
i did this on my op5 rooted and encrypted .
so i followed all the steps precisely but in the end when i tried to boot into system it bootlooped (waited for hours to see if it really takes time on first boot). also when i open file manager in twrp it just shows weird long file names .
Yes I experienced the same thing too. I presume it's a problem with decryption after the update. I had removed all lockscreen security before updating (for nandroid). Maybe it was due to that? Would like someone to elaborate too.
r.sharma said:
I followed the following steps to flash oos 5.0.1 :
1. Update TWRP to the latest Codeworkx TWRP from the link posted
2. Reboot Recovery and Take a Nandroid of your existing ROM just in case you need it
3. Wipe > Advance Wipe > Select Dalvik & Cache > Swipe to Wipe
4. Install Menu > Select OOS 5.0.1 Full Rom Zip > Swipe to Flash
5. Flash Magisk 15.2 (Recommended for Root)
6. Wipe Dalvik & Cache
7. Reboot Recovery to make sure TWRP stays
8. Reboot System once recovery boots again.
i did this on my op5 rooted and encrypted .
so i followed all the steps precisely but in the end when i tried to boot into system it bootlooped (waited for hours to see if it really takes time on first boot). also when i open file manager in twrp it just shows weird long file names .
Click to expand...
Click to collapse
As your device is encrypted so first you need to decrypt it so for that just boot into twrp select wipe and select format data and type yes as it will for format your entire data including internal storage... the most first step is to backup your internal storage in pc and apps through titanium backup and save that in pc and later decrypt it once your device is decrypted just enable MTP in twrp and copy files in storage and flash it.
---------- Post added at 04:51 AM ---------- Previous post was at 04:45 AM ----------
r.sharma said:
I followed the following steps to flash oos 5.0.1 :
1. Update TWRP to the latest Codeworkx TWRP from the link posted
2. Reboot Recovery and Take a Nandroid of your existing ROM just in case you need it
3. Wipe > Advance Wipe > Select Dalvik & Cache > Swipe to Wipe
4. Install Menu > Select OOS 5.0.1 Full Rom Zip > Swipe to Flash
5. Flash Magisk 15.2 (Recommended for Root)
6. Wipe Dalvik & Cache
7. Reboot Recovery to make sure TWRP stays
8. Reboot System once recovery boots again.
i did this on my op5 rooted and encrypted .
so i followed all the steps precisely but in the end when i tried to boot into system it bootlooped (waited for hours to see if it really takes time on first boot). also when i open file manager in twrp it just shows weird long file names .
Click to expand...
Click to collapse
Here is the simplest one for you
https://forum.xda-developers.com/oneplus-5/how-to/official-oxygen-os-5-0-problems-rooted-t3724616
Format data is must required for booting.
I was also rooted and encrypted using 4.5.15 and this is the method I followed and it worked:
Downloaded OnePlus5Oxygen_23_OTA_028_all_1801031502_04d7cc5. zip, twrp-3.2.1-0-universal-codeworkx-cheeseburger.img and Magisk-v15.3.zip.
Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP.
Rebooted to TWRP again to make sure that my TWRP was updated.
Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
This deleted my Internal Storage so I had to backup everything beforehand.
Then used advanced wipe to wipe Cache and Dalvik.
Mounted the internal storage by using the Mount option from TWRP main menu.
I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
Copied the OnePlus full update and Magisk zip file.
Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots.
Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
Booted into TWRP and flashed Magisk.
I am now on Oreo and I hate the way Ambient Display looks right now.

Problem installing omnirom android 9 on oneplus 5

i follow the instructions as per omnirom thread... flash the vendor/firmware, wipe data , reboot recovery, and flash the rom, but the omni rom does not boot at all and just shows the OMNI sign on/off. How should i proceed?
Which ROM were you on? What Firmware were you on? Were you Encrypted? Did you only Wipe /Data or did you wipe everything?
Dirk said:
Which ROM were you on? What Firmware were you on? Were you Encrypted? Did you only Wipe /Data or did you wipe everything?
Click to expand...
Click to collapse
Lineageos 15.1 (android 8.1)
I first flashed OOS stock firmware, then OOS, then LOS.
I format data and then wipe dalvik cache, cache, data, system.
datg said:
Lineageos 15.1 (android 8.1)
I first flashed OOS stock firmware, then OOS, then LOS.
I format data and then wipe dalvik cache, cache, data, system.
Click to expand...
Click to collapse
Is your Recovery up to date? I'd recommend the latest Codeworkx TWRP. Did you already have the Vendor partition on your device before attempting to flash Omnirom?
If in doubt flash full OOS 5.1.3 and OTA all the way up to and including 9.0.1. Then reinstall TWRP by fastboot, wipe and format everything and then flash Omni.
Dirk said:
Is your Recovery up to date? I'd recommend the latest Codeworkx TWRP. Did you already have the Vendor partition on your device before attempting to flash Omnirom?
If in doubt flash full OOS 5.1.3 and OTA all the way up to and including 9.0.1. Then reinstall TWRP by fastboot, wipe and format everything and then flash Omni.
Click to expand...
Click to collapse
I still tried, it does not work. My phone got bricked, so I used MSM tool to unbrick and after that I got Nougat 7.1.1. I upgrade my Android to 8.0 (OOS 5.1.3) from system update, and after that update another one came, Android 8.1.1 ( OOS 5.1.7). I then unlock bootloader, flash twrp, flash vendor/firmware, wipe data, flash Omnirom but I get stuck into the omni loading screen. The phone does not load.
datg said:
I still tried, it does not work. My phone got bricked, so I used MSM tool to unbrick and after that I got Nougat 7.1.1. I upgrade my Android to 8.0 (OOS 5.1.3) from system update, and after that update another one came, Android 8.1.1 ( OOS 5.1.7). I then unlock bootloader, flash twrp, flash vendor/firmware, wipe data, flash Omnirom but I get stuck into the omni loading screen. The phone does not load.
Click to expand...
Click to collapse
Okay, i'm not seeing anything about a Format operation there. Wipe does not equal Format. I've just finished setting up Omnirom 9 on my own OP5, so it does work. (Great ROM btw)
Backup everything from Internal Storage to your PC, including all the installation files. The following will wipe your storage!
1) Boot into TWRP
2) Wipe Menu, Advanced, Select all Partitions manually and Wipe
3) Wipe Menu, Format. (Type Yes when prompted)
4) Reboot Menu, Reboot Recovery
5) Copy Installation files from PC to Internal Storage
6) Install Menu, Queue up and install zips in the following order:
i) Vendor/Firmware
ii) ROM
iii) Gapps
7) Wipe Dalvik/Cache when prompted
8) Reboot
9) Set up and done.
Dirk said:
Okay, i'm not seeing anything about a Format operation there. Wipe does not equal Format. I've just finished setting up Omnirom 9 on my own OP5, so it does work. (Great ROM btw)
Backup everything from Internal Storage to your PC, including all the installation files. The following will wipe your storage!
1) Boot into TWRP
2) Wipe Menu, Advanced, Select all Partitions manually and Wipe
3) Wipe Menu, Format. (Type Yes when prompted)
4) Reboot Menu, Reboot Recovery
5) Copy Installation files from PC to Internal Storage
6) Install Menu, Queue up and install zips in the following order:
i) Vendor/Firmware
ii) ROM
iii) Gapps
7) Wipe Dalvik/Cache when prompted
8) Reboot
9) Set up and done.
Click to expand...
Click to collapse
I did it, but I get a bootloop. Omnirom does not boot, it just shows the OMNI logo lights.
datg said:
I did it, but I get a bootloop. Omnirom does not boot, it just shows the OMNI logo lights.
Click to expand...
Click to collapse
The only difference between the two of us that i can see is that i flashed OOS 9.0.1 and booted into it once before doing the steps above.
Don't know if it's relevant but the Vendor/Firmware that i used was 9.0.1 also:
https://drive.google.com/drive/folders/11o0FxZ_rw5lhthGz8_iyYEXBt0dwiv3x
Make sure you nuke everything before starting. Wipe and Format everything. Move installation files across and follow steps.
Dirk said:
The only difference between the two of us that i can see is that i flashed OOS 9.0.1 and booted into it once before doing the steps above.
Don't know if it's relevant but the Vendor/Firmware that i used was 9.0.1 also:
https://drive.google.com/drive/folders/11o0FxZ_rw5lhthGz8_iyYEXBt0dwiv3x
Make sure you nuke everything before starting. Wipe and Format everything. Move installation files across and follow steps.
Click to expand...
Click to collapse
I flashed OOS first and booted everything and I followed the steps and got everything right, but still I get stuck with a bootloop that does not load OmniROM.
Works fine for me;
Flashed the latest OxygenOS. Now you dont need to worry about flashing firmware later in the process.
Enabled unlocking the bootloader in developer menu.
Rebooted into bootloader and flashed the recovery image from clockworkx and booted into twrp recovery.
Wiped everything and formatted data as well.
Reboot recovery.
Flashed rom. I always use sideload but that should not matter. Dont flash anything else; first reboot into your working system.

Cant root OP5 with android 9.0.3?

Hey,
So i wanted to update my android to pie and after updating i did the whole magisk method like i use to
But the thing is that after a restart both my wifi and LTE didnt work.. I kinda like the new android so i was wondering if theres a fix for that.
DrCow said:
Hey,
So i wanted to update my android to pie and after updating i did the whole magisk method like i use to
But the thing is that after a restart both my wifi and LTE didnt work.. I kinda like the new android so i was wondering if theres a fix for that.
Click to expand...
Click to collapse
Hi. Have you used this instructions?
https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003
Let us know about your phone's recovery, which magisk version you used, If you're using TWRP as your recovery let us know your TWRP recovery's version. Also did you dirty flashed your OTA or clean?
Ebeninyo said:
Hi. Have you used this instructions?
https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003
Let us know about your phone's recovery, which magisk version you used, If you're using TWRP as your recovery let us know your TWRP recovery's version. Also did you dirty flashed your OTA or clean?
Click to expand...
Click to collapse
Im not sure what instructions are you talking about but this isnt the first time i root my device.
Im using TWRP 3.2.1 since the last version giving me a little problems when trying to root. Im using the last magisk version.
About dirty or clean.. I first tried just flashing nornal from the OTA and then after it worked (no wifi or LTE) i tried to do factory reset and root again
Sent from my ONEPLUS A5000 using Tapatalk
DrCow said:
Im not sure what instructions are you talking about but this isnt the first time i root my device.
Im using TWRP 3.2.1 since the last version giving me a little problems when trying to root. Im using the last magisk version.
About dirty or clean.. I first tried just flashing nornal from the OTA and then after it worked (no wifi or LTE) i tried to do factory reset and root again
Sent from my ONEPLUS A5000 using Tapatalk
Click to expand...
Click to collapse
Try flashing this first https://sourceforge.net/projects/cheeseburgerdumplings/files/16.0/cheeseburger/recovery/
Download ota again and clean flash it from the recovery.
It might be because your TWRP isn't compatible to Pie. Most people here including me tried codework's TWRP and it solved any of our issues.
Edit: after flashing magisk reboot your phone once more. (i didn't knew it before. I booted into my os and checked magisk app to see if root was successfull but it didn't show me. I wiped everything down and flashed magisk again. Same thing happened. Rebooted my phone and saw root was on )
Ebeninyo said:
Try flashing this first https://sourceforge.net/projects/cheeseburgerdumplings/files/16.0/cheeseburger/recovery/
Download ota again and clean flash it from the recovery.
It might be because your TWRP isn't compatible to Pie. Most people here including me tried codework's TWRP and it solved any of our issues.
Click to expand...
Click to collapse
Will try it on the weekend.. I had some problems restoring my previous backup so i rather be home when i do it
Sent from my ONEPLUS A5000 using Tapatalk
Edit:
Wait the wifi and the LTE problem can be caused by the recovery?
DrCow said:
Hey,
So i wanted to update my android to pie and after updating i did the whole magisk method like i use to
But the thing is that after a restart both my wifi and LTE didnt work.. I kinda like the new android so i was wondering if theres a fix for that.
Click to expand...
Click to collapse
I would suggest do a complete clean install (wiping everything but USB OTG) and making sure you got the latest TWRP from blu_spark or codeworkx. Also flash it following these instructions:
[Clean Flash] For Users with an Unlocked Bootloader and TWRP Recovery:
- Download the full ROM zip from the downloads section above
- Transfer the zip to the root of your device's internal storage
- Only needed if you are coming from Oreo or if you use an old TWRP recovery that's not the latest and Pie compatible: Remove the compatibility.zip from the downloaded full ROM zip with either MiXplorer or Total Commander (not with any other tool!) on your device itself
- Reboot to TWRP recovery (make sure you're using siankatabg's TWRP if you're on Oreo or codework's TWRP/blu_spark TWRP if you're on Pie) and take a nandroid backup of your existing ROM
- Flash Magisk Uninstaller (recommended)
- From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache, cache, system, vendor and data> Swipe to wipe
- From the TWRP menu, Install > Select full ROM zip (modified one with compatibility.zip removed, in case you're on Oreo or unmodified one, in case you're on Pie) > Swipe to flash
- Flash the latest stable Magisk in case you want to root
- From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache and cache > Swipe to wipe
- Optional: If you wish to decrypt, format data via TWRP (please note that wiping the data partition, which we did in the 5th step above, is not the same as formatting it) and after that flash Disable DM-Verity and ForceEncrypt 2.0 (OP5-5T-Treble).zip from here
- Reboot
Full instructions and downloads from -> https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003
i ended up giving up..
im trying to do a clean flash
but the moment i flash the recovery and trying to go into the recovery
boom
black screen
i tried it multiple times both with codework 3.2.3 and blu_spark
Edit: Flash universal codework 3.2.1 does get me into recovery
im gonna restore my backup...for now
Z-Blade said:
I would suggest do a complete clean install (wiping everything but USB OTG) and making sure you got the latest TWRP from blu_spark or codeworkx. Also flash it following these instructions:
[Clean Flash] For Users with an Unlocked Bootloader and TWRP Recovery:
- Download the full ROM zip from the downloads section above
- Transfer the zip to the root of your device's internal storage
- Only needed if you are coming from Oreo or if you use an old TWRP recovery that's not the latest and Pie compatible: Remove the compatibility.zip from the downloaded full ROM zip with either MiXplorer or Total Commander (not with any other tool!) on your device itself
- Reboot to TWRP recovery (make sure you're using siankatabg's TWRP if you're on Oreo or codework's TWRP/blu_spark TWRP if you're on Pie) and take a nandroid backup of your existing ROM
- Flash Magisk Uninstaller (recommended)
- From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache, cache, system, vendor and data> Swipe to wipe
- From the TWRP menu, Install > Select full ROM zip (modified one with compatibility.zip removed, in case you're on Oreo or unmodified one, in case you're on Pie) > Swipe to flash
- Flash the latest stable Magisk in case you want to root
- From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache and cache > Swipe to wipe
- Optional: If you wish to decrypt, format data via TWRP (please note that wiping the data partition, which we did in the 5th step above, is not the same as formatting it) and after that flash Disable DM-Verity and ForceEncrypt 2.0 (OP5-5T-Treble).zip from here
- Reboot
Full instructions and downloads from -> https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003
Click to expand...
Click to collapse
For the "Clean" Install given that OnePlus5 doesn't have external microSD storage, will ALL data (photos, documents etc) on the phone be erased in Step 6 above?
lorrdvader said:
For the "Clean" Install given that OnePlus5 doesn't have external microSD storage, will ALL data (photos, documents etc) on the phone be erased in Step 6 above?
Click to expand...
Click to collapse
No, it wont because all of that is stored in the Internal Storage. So as long as you don't check that, you will still have your data. However, I personally wipe everything including the internal storage when moving to a new rom. I prefer to start with a complete clean slate but it is optional.

unable to root oneplus 5 midnight black

hello every one , i know this was spoken about before but i followed every TUT in xda or out of this site and nothing has worked for me .
steps i did to be brief
1. unlock oem
2. flash twrp
3.magisk
4.no varity op5
all have gone in process without any errors , at last when i start the phone and check for root i get " not rooted"
i have did about 3 tut's using 3 different sources , most of them the same , but unlucky with any of them
https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877
https://forums.oneplus.com/threads/...wrp-root-nandroid-efs-backup-and-more.548216/
https://www.theandroidsoul.com/oneplus-5-root/
----
oneplus 5 midnight black a5000 / android 9 / security patch DEC ,1 , 2018
will some one help please ?
i found the solution my self , ref: https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003
-----------
[Clean Flash] For Users with an Unlocked Bootloader and TWRP Recovery:
Download the full ROM zip from the downloads section above
Transfer the zip to the root of your device's internal storage
Only needed if you are coming from Oreo or if you use an old TWRP recovery that's not the latest and Pie compatible: Remove the compatibility.zip from the downloaded full ROM zip with either MiXplorer or Total Commander (not with any other tool!) on your device itself
Reboot to TWRP recovery (make sure you're using siankatabg's TWRP if you're on Oreo or codework's TWRP/blu_spark TWRP if you're on Pie) and take a nandroid backup of your existing ROM
Flash Magisk Uninstaller (recommended)
From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache, cache, system, vendor and data> Swipe to wipe
From the TWRP menu, Install > Select full ROM zip (modified one with compatibility.zip removed, in case you're on Oreo or unmodified one, in case you're on Pie) > Swipe to flash
Flash the latest stable Magisk in case you want to root
From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache and cache > Swipe to wipe
Optional: If you wish to decrypt, format data via TWRP (please note that wiping the data partition, which we did in the 5th step above, is not the same as formatting it) and after that flash Disable DM-Verity and ForceEncrypt 2.0 (OP5-5T-Treble).zip from here
Reboot

Actual custom rom flashing instructions ??

This is my first Oneplus device and I just realized that in this device, in order to flash Custom Roms, you need to have a OOS installed beforehand plus not wiping /System partition.
So I was wondering which one is the best and quickest way to do a clean and fresh install from scratch, with the less amount of stuff from previous roms since wiping /System will end up on a bootloop.
Would it be something like this:
Starting from fresh and clean OOS latest version:
-Wipe /Data /Cache /Internal
-Flash Rom + kernel (optional) + TWRP
-Reboot recovery
-Flash Gapps + Magisk.
-Reboot System.
Is this the cleanest way to do it ?
I've seen @Koogly 's video but I dont know if theres a better way to do it.
Thank you all.
dirtyl0lharry said:
This is my first Oneplus device and I just realized that in this device, in order to flash Custom Roms, you need to have a OOS installed beforehand plus not wiping /System partition.
So I was wondering which one is the best and quickest way to do a clean and fresh install from scratch, with the less amount of stuff from previous roms since wiping /System will end up on a bootloop.
Would it be something like this:
Starting from fresh and clean OOS latest version:
-Wipe /Data /Cache /Internal
-Flash Rom + kernel (optional) + TWRP
-Reboot recovery
-Flash Gapps + Magisk.
-Reboot System.
Is this the cleanest way to do it ?
I've seen @Koogly 's video but I dont know if theres a better way to do it.
Thank you all.
Click to expand...
Click to collapse
First time from oos zip
Flash latest stock rom oos
Flash twrp zip
Wipe data and cache
Reboot to recovery
Flash latest stock rom oos zip
Flash twrp zip
Wipe data and cache
Flash custom rom zip
Flash twrp zip
Flash gapps zip
Flash magisk zip if you want root
Reboot to system
If you are already on custom
Flash lastest stock oos zip
Wipe data and cache
Flash custom rom zip
Flash twrp zip
Flash gapps zip
Flash magisk zip if you want root
Reboot to system
If going from custom to oos
Back up all your internal storage pictures videos music etc
Wipe data internal storage and cache
Flash latest stock oos zip
Flash twrp zip if you still want to customize
Reboot to recovery
Flash latest stock oos zip
Flash twrp zip if you still want to customize
Flash magisk zip if you want root
Reboot to system
If you want a custom kernel on any of these methods I would recommend booting the rim first and going through setup process the rebooting back to to twrp after and flashing the kernel
Also you will want a USB c otg port bc after the first flash your data will be encoded. You can select the otg storage via twrp to make the process easier.
If you don't have an otg cable you will need to sideload each zip via cmd prompt with fastboot tools and sideload in twrp
After all flashes are complete and you boot the rom the encrypted data will no longer be encrypted on custom rom flashing if going back to stock oos rom you lose all internal data
Most ROMs threads have instructions in main thread and those should be followed first. Some ROMs may require some bits and pieces from original oxygen rom prior to custom install
Asoip for example
Is flashing oos necessary if we unlock bootloader?
I see instructions for lineage os dont mention flashing of oos bit they have the first step as unlocking the bootloader
mustafabakrolwala said:
Is flashing oos necessary if we unlock bootloader?
I see instructions for lineage os dont mention flashing of oos bit they have the first step as unlocking the bootloader
Click to expand...
Click to collapse
You flash oos first so you have the correct vender and up to date files etc before flashing. Some ROMs require you to flash old oos versions bc their rom was based on that oos vender

Categories

Resources