[GUIDE] Manual Oreo update - v190219 - Pie upgrade now supported (Tut #4)

netmaniack

Senior Member
Oct 30, 2011
400
141
63
Liepāja
Not yet and it’s also not needed. You can use Oreo TWRPs m but you’re not able to decrypt /data.

Read through the tutorials and Huawei related posts in Magisk forums. You need to modify your recovery_ramdisk within the Magisk app. Then flash it. EMUI 9 doesn’t have a boot partition anymore. So you need to boot like you want to boot into recovery every time you reboot your phone.
You can extract the original recovery_ramdisk from EMUI 9 update.app.
If you want to update your phone you need to reflash Stock recovery first.
It would be possible to update whit your script new releases?
 

Jannomag

Senior Member
Sep 20, 2015
694
221
63
Hamburg
It would be possible to update whit your script new releases?
Theoretically, yes.
My script just writes the update command with the files paths to the cache, so the stock recovery knows what to do.
It just sais "Hey, recovery! Here are the ingredients in a package, also including the recipe, so everything you need to bake a cake. Do your stuff, I'm out."

So, if you want to test it, do it. I can't give any warranty, but my script does nothing to the system or software. All commands and files which are needed by the recovery are inside the update files, which are provided by Huawei / Firmware Finder.
 
  • Like
Reactions: netmaniack

lukastob

Member
Mar 29, 2015
46
5
0
@Jannomag when trying to downgrade from pie should one flash stock recovery from pie or from oreo or it does not matter ?
When the phone is on in normal state, the path /sdcard in adb shell shows content of internal storage, if it gets to recovery the path /sdcard will be actually the micro sd card ? Because in the script is:
Code:
echo --update_package=[B][COLOR="Red"]/sdcard[/COLOR][/B]/pieupgrade/update.zip >> /cache/recovery/command
 

Jannomag

Senior Member
Sep 20, 2015
694
221
63
Hamburg
@Jannomag when trying to downgrade from pie should one flash stock recovery from pie or from oreo or it does not matter ?
When the phone is on in normal state, the path /sdcard in adb shell shows content of internal storage, if it gets to recovery the path /sdcard will be actually the micro sd card ? Because in the script is:
Code:
echo --update_package=[B][COLOR="Red"]/sdcard[/COLOR][/B]/pieupgrade/update.zip >> /cache/recovery/command
For now, I just can tell you that this works with Oreo. I can't test it on Pie, because my phone is a piece of junk.
The /sdcard/ path is correct for the recovery, it'll use the external sd, not the internal memory - I think Huawei did this, because of the encryption of the internal storage.
The recovery I packed within my scripts should work with Pie. Stock recovery won't work, because this will check for available WiFi and will show an error when trying to get update files from sd. "My" recovery is modified so that this check is disabled - I don't know how to disable this check in a stock recovery image, but I'll try to figure it out.

Before flashing the firmware please be sure you downloaded the right one for rollback!
Rollback fw for c432 was released just before Pie. It contains rollback feature in changelog and fw is following new design - just two zips to download, not three as it was before.
 
  • Like
Reactions: netmaniack

aalmeida1972

Senior Member
Nov 28, 2014
182
5
0
Lisboa
When i try to use Update extractor, i get this error message
RECOVERY_RAMDIS.img: Invalid header crc Expected: 4596 Got 34273

file:///C:/Users/aalme/OneDrive/Ambiente%20de%20Trabalho/Error.png
 

aalmeida1972

Senior Member
Nov 28, 2014
182
5
0
Lisboa
First of all, i am sorry, i should it know that the path wasn't visible to you.

What do you mean by " disable CRC check in the application settings"? If it was about "Update extractor", i didn't found it!
 

Jannomag

Senior Member
Sep 20, 2015
694
221
63
Hamburg
Does your Tutorial #4 work for upgrading Pie 157 to the new Pie 159 which was released this night? (Found it on Firmwarefinder?)
It should, but I can’t guarantee it. I can’t test it, because I don’t own a P10 anymore.
The baddest thing can be that the recovery doesn’t get flashed because the partitions maybe changed, so the brick risk is low, but I can’t tell you, that this will work without any risk.

Let me know if you tried it, if it didn’t work, please post the TWRP log.


——————————————
General News

As I mentioned above I don’t own a P10 anymore. I won’t shutdown this threat but I can’t give the support as usual and I’m not able to update the scripts.
If you found any issues, tell me, I can try to fix them.

Everyone is free to edit my scripts and post them either here (I still can add new content to the first post) or in a new threat.

I’m still active on XDA, but I’ll switch to a Galaxy S10 this weekend - for now I’m owning the rose golden iPhone 6S with a flower case from my wife...
 
  • Like
Reactions: M1chiel

lukastob

Member
Mar 29, 2015
46
5
0
I have successfully downgraded from pie to oreo, using oreo rollback .384 firmware from http://pro-teammt.ru/firmware-database and a bit modified script from @Jannomag tutorial 4 : piedowngrade_pack.zip
(MD5: 9f655e3dab27a7024c87eca14559f1b9)

Need to create "piedowngrade" folder on sdcard and unzip there above archive, also put the update.zip and data_full_hw.zip firmware files - similarly as in tutorial 4. "piedowngrade" folder should contain files:
- piedowngrade.zip
- VTR_RECOVERY_OREO_NoCheck.img
- update.zip
- data_full_hw.zip

This script should also work with upgrade from pie to newer pie.

When downgrade be sure to use proper oreo rollback firmware which contain only two files: update.zip and update_full_MODEL_hw_[].zip (example update_full_VTR-L29_hw_eu.zip) (It is 8.0.0.384, FullOTA_MF, 2.86GB, released 2019.02.18)
After flashing firmware, recovery aditionaly performed full wipe, everything seems to work fine, only one odd thing occured - that the data_full_hw.zip file remained on sdcard in 'piedowngrade' folder.
 
Last edited:
  • Like
Reactions: netmaniack

netmaniack

Senior Member
Oct 30, 2011
400
141
63
Liepāja
I have successfully downgraded from pie to oreo, using oreo rollback .384 firmware from http://pro-teammt.ru/firmware-database and a bit modified script from @Jannomag tutorial 4 : piedowngrade_pack.zip
(MD5: 9f655e3dab27a7024c87eca14559f1b9)

Need to create "piedowngrade" folder on sdcard and unzip there above archive, also put the update.zip and data_full_hw.zip firmware files - similarly as in tutorial 4. "piedowngrade" folder should contain files:
- piedowngrade.zip
- VTR_RECOVERY_OREO_NoCheck.img
- update.zip
- data_full_hw.zip

This script should also work with upgrade from pie to newer pie.

When downgrade be sure to use proper oreo rollback firmware which contain only two files: update.zip and update_full_MODEL_hw_[].zip (example update_full_VTR-L29_hw_eu.zip) (It is 8.0.0.384, FullOTA_MF, 2.86GB, released 2019.02.18)
After flashing firmware, recovery aditionaly performed full wipe, everything seems to work fine, only one odd thing occured - that the data_full_hw.zip file remained on sdcard in 'piedowngrade' folder.
What did You change in script?
 
Last edited:

lukastob

Member
Mar 29, 2015
46
5
0
Everyone can edit, post and copy the script, the main change was in lines that flash the recovery (from 'recovery_ramdisk_a' to 'recovery_ramdisk')
 

stefan.irmen

Senior Member
Jan 11, 2018
62
14
8
I have successfully downgraded from pie to oreo, using oreo rollback .384 firmware from http://pro-teammt.ru/firmware-database and a bit modified script from @Jannomag tutorial 4 : piedowngrade_pack.zip
(MD5: 9f655e3dab27a7024c87eca14559f1b9)

Need to create "piedowngrade" folder on sdcard and unzip there above archive, also put the update.zip and data_full_hw.zip firmware files - similarly as in tutorial 4. "piedowngrade" folder should contain files:
- piedowngrade.zip
- VTR_RECOVERY_OREO_NoCheck.img
- update.zip
- data_full_hw.zip

This script should also work with upgrade from pie to newer pie.

When downgrade be sure to use proper oreo rollback firmware which contain only two files: update.zip and update_full_MODEL_hw_[].zip (example update_full_VTR-L29_hw_eu.zip) (It is 8.0.0.384, FullOTA_MF, 2.86GB, released 2019.02.18)
After flashing firmware, recovery aditionaly performed full wipe, everything seems to work fine, only one odd thing occured - that the data_full_hw.zip file remained on sdcard in 'piedowngrade' folder.
That would be very nice, if it works for upgrading Pie to newer Pie, too... But... Do you have a working TWRP for Pie??? I think that is the main problem at the moment, so i can not test it... :(
 

lukastob

Member
Mar 29, 2015
46
5
0
I have used the same twrp as for oreo and it allowed to install piedowngrade.zip without problems. The only error occurred when tried to make whole system backup before downgrade, but didn't get into it and take a risk without the backup.
 

stefan.irmen

Senior Member
Jan 11, 2018
62
14
8
I have used the same twrp as for oreo and it allowed to install piedowngrade.zip without problems. The only error occurred when tried to make whole system backup before downgrade, but didn't get into it and take a risk without the backup.
Ok, i will try tomorrow morning...
Last question before trying: should i use your "downgrade" script for updating? Or the script from jannomag tutorial#4?
 

stefan.irmen

Senior Member
Jan 11, 2018
62
14
8
If you are on pie already use my script, don't worry about 'downgrade' in name.
Good morning everyone!
A few minutes ago i tried, but it doesnt work...
TWRP for Oreo is still working, no problem... But when i try your script it tells me "wrong zip format", so the installation will not start...
Then i tried the script from @Jannomag Tutorial #4, but it isnt starting too...

Seems to be like a little bit of work and trying for a new script updatin Pie to newer Pie..

Again - thanks a lot for your work and testing so far... :good::good::good::good::good:
 
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