How to update to Oreo from Magisk rooted stock rom OOS 4.5.1?

Aneejian

Member
Aug 26, 2017
18
1
0
www.aneejian.com
Can anyone help me with the steps to update to Android Oreo (OOS 5) from OOS 4.5.1 retaining root?

Below are the current setup of my phone
  • Rooted - Yes (Magisk version 14.0)
  • Recovery - TWRP version 3.1.1-2
  • Current Rom - Stock OOS 4.5.1

I haven't had any problems in updating earlier but now when I try to flash the full oreo rom from TWRP, I am getting error 7.
Below are the steps I followed.
  1. Downloaded the full OTA zip.
  2. Rebooted to recovery.
  3. Unistalled Magisk.
  4. Tried to flash the Oreo OTA zip. At this point TWRP showed error 7.
  5. Reinstalled Magisk and rebooted to system.

Phone is working fine.
 

thes3usa

Retired Forum Moderator
May 30, 2015
569
711
133
20
Colombo
All Oreo ROM threads clearly state under the "Instructions" heading, that you need either AkhilNarangs Modified TWRP or Blu_Sparks TWRP V50. Using stock TWRP would result in an error.

If the error may still persist, try flashing a different firmware.
 

Aneejian

Member
Aug 26, 2017
18
1
0
www.aneejian.com
Just to get some more clarity.
I have the original OTA full zip. Should I download the zip file from your thread?
Can I install the custom version of TWRP using the official TWRP app? I am bit confused on how to install it.
Is it important that I should use Magisk 14.3 or will v 14 have the same effect?
 

mabor01

Member
May 31, 2016
14
43
23
Hey there,
I can tell you how I have done it yesterday (successfully).
1. Update TWRP - I prefer blu sparks version 8.52 (Link: https://forum.xda-developers.com/devdb/project/dl/?id=27225); you can do it by using your installed TWRP Version (Install .img)
2. Dirty flash OOS 4.5.1 again (to remove root / magisk) - once finished DO NOT reboot into system, reboot into Recovery/TWRP to verify the new version and afterwards to system
3. flash OOS 5.0 (Oreo) - dirty flash is okay
4. flash magisk Version 14.3

These are the steps I have followed yesterday and all is running perfect and without any problems.

BR
 

relaxxer

Member
Dec 10, 2010
25
3
0
I did the same and I was suddenly encrypted and no chance to get my data back. Still forcing clean my phone because I cannot format the device. I get always an error message in TWRP like: unable to format to remove encryption
I go crazy...
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone