Cannot root OP5 via Magisk

sjonesd3

New member
Mar 15, 2019
3
0
0
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*
 

strongst

Forum Moderator
Staff member
Sep 18, 2007
11,636
8,591
253
prolific location
prolific-page.com
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*
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?
 

sjonesd3

New member
Mar 15, 2019
3
0
0
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?
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
 

strongst

Forum Moderator
Staff member
Sep 18, 2007
11,636
8,591
253
prolific location
prolific-page.com
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
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
 

sjonesd3

New member
Mar 15, 2019
3
0
0
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
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
 

strongst

Forum Moderator
Staff member
Sep 18, 2007
11,636
8,591
253
prolific location
prolific-page.com
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
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