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

Ghoelian

Member
Dec 2, 2018
8
0
0
Klazienaveen
julianvos.nl
It says I've got the wrong path, that the correct path is /sdcard/oreoupdate/oreoupdate.zip. But that is the path I put the files in. It even says right above it: "Installing zip file '/sdcard/oreoupdate/oreoupdate.zip'. Did I do something wrong?
 

Jannomag

Senior Member
Sep 20, 2015
694
221
63
Hamburg
It says I've got the wrong path, that the correct path is /sdcard/oreoupdate/oreoupdate.zip. But that is the path I put the files in. It even says right above it: "Installing zip file '/sdcard/oreoupdate/oreoupdate.zip'. Did I do something wrong?
Please post a screenshot of your SD card and Oreo update directory.
Also attach the TWRP log, please. For this go to Advanced and do "Copy Log to SD".
 

Ghoelian

Member
Dec 2, 2018
8
0
0
Klazienaveen
julianvos.nl
Please post a screenshot of your SD card and Oreo update directory.
Also attach the TWRP log, please. For this go to Advanced and do "Copy Log to SD".
Here's a pastebin with my recovery.log:
pastebin. com/D17BHXd1
Storage contents(my internal storage is mounted to /sdcard/ and /data/media/0/, but I always browse to /sdcard/):
imgur. com/a/AnKZTKF
oreoupdate folder (which is located in /sdcard/oreoupdate):
imgur. com/a/KYSyO3H

Apparently I can't post links yet, so I added a space.
 

Diodato

Member
May 11, 2011
44
4
0
Tried updating from B379 to B381 using method #3.

Code:
Installing zip file '/cust/officialupdate/officialupdate.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
I:Update binary zip
Verifying package compatibility...
Package doesn't contain compatibility.zip entry
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
 
-----------------------------------------------
| Welcome to Jannomag's manual update script! |
-----------------------------------------------
This script will NOT update your EMUI 8.0 (Oreo)
It will only flash modified stock recovery
So you can install official updates without
needing to unroot and relock bootloader
 
Let's start!
 
Checking, if every file is present...
and looking for some cookies
officialupdate.zip in cust ... OK
Recovery in cust .............. OK
 
/tmp/updater: line 141: syntax error: unexpected end of file (expecting "fi")
Updater process ended with ERROR: 2
I:Install took 4 second(s).
Error installing zip file '/cust/officialupdate/officialupdate.zip'
Updating partition details...
Phone is VTR-L09 8.0.0.379(C432), TWRP is 3.2.1-0.
Log: recovery.log


EDIT #1:
It seems that your script is missing the following lines (starting at line #95):
Code:
				ui_print "Unable to detect device flash type!"
				sleep 2.0
				exit
		fi
	
fi
Is that correct?
 
Last edited:

Jannomag

Senior Member
Sep 20, 2015
694
221
63
Hamburg
Here's a pastebin with my recovery.log:
pastebin. com/D17BHXd1
Storage contents(my internal storage is mounted to /sdcard/ and /data/media/0/, but I always browse to /sdcard/):
imgur. com/a/AnKZTKF
oreoupdate folder (which is located in /sdcard/oreoupdate):
imgur. com/a/KYSyO3H

Apparently I can't post links yet, so I added a space.
You put the oreoupdate directory in your internal storage. This doesn't work. You need an external SD card formatted to FAT32.

Tried updating from B379 to B381 using method #3.
That's strange, because I used the script a week ago without any problems. Did you download the latest version and used the TWRP I posted in the threat?
 

Diodato

Member
May 11, 2011
44
4
0
That's strange, because I used the script a week ago without any problems. Did you download the latest version and used the TWRP I posted in the threat?
The link from your first post - "officialupdate-130618.rar"
Can you try yourself downloading this archive?

I use TWRP 3.2.1-0.
Anyway the syntax error (unmatched closings fis for ifs) would be independent of the TWRP version.
 

Jannomag

Senior Member
Sep 20, 2015
694
221
63
Hamburg
The link from your first post - "officialupdate-130618.rar"
Can you try yourself downloading this archive?

I use TWRP 3.2.1-0.
Anyway the syntax error (unmatched closings fis for ifs) would be independent of the TWRP version.
You're right, I mixed up Tut#2 and Tut#3 (I used Tut#2 because B381 wasn't available for my device).
I updated #3 and also it links, I missed two 'fi' syntax for closing two 'if' arguments while looking for files either in /cust or /sdcard.
 

olat_dragneel

Member
Sep 29, 2016
43
3
0
Hello. I want to confirm that method #2 worked for my VTR-L09C432. I've updated from version b375 to b381. The best thing about it is you get a clean, unrooted OS, so when the next update hits you can simply install OTA. (I had trouble removing root and not being able to use official OTA).
Thank you for the guide!
 

Jannomag

Senior Member
Sep 20, 2015
694
221
63
Hamburg
Hello. I want to confirm that method #2 worked for my VTR-L09C432. I've updated from version b375 to b381. The best thing about it is you get a clean, unrooted OS, so when the next update hits you can simply install OTA. (I had trouble removing root and not being able to use official OTA).
Thank you for the guide!
Glad to hear it! And yes, after the update the phone is u rooted, because the installer will overwrite /system and /cust, where the root is stored usually.
Which version did you use to update? Full-OTA or just OTA?
 

Superblond

Member
Oct 24, 2008
26
4
0
CONFIRMED: Worked for my Huawei P10 (VTR-L09) from Nougat to Oreo

Hi guys,

just to inform & encourage you this info.
Worked like a charm on) my Huawei P10 (VTR-L09 with
oreoupgrade-060518 .rar (provided in this post by Jannomag) and
2018.12.05 VTR-L29C432B382 (8.0.0.382) 2,8GB from here
(provided in this post by Jannomag)

Excellent work & thanks so much!
SB
 

bacardischmal

Member
Jun 25, 2010
45
4
28
Hello,
is there an easier way to avoid data loss when updating?
I use Project Treble with LineageOS and I removed the forced encryption on my P10.

Here the steps i did to update:

1. Did a full backup with twrp
2. Updating same as in "Tutorial 2 - Updating Oreo version" until the reboot
3. The phone will restart by itself and now I enter fastboot
4. flash treble LineageOS gsi with fastboot
5. flash twrp with fastboot
6. reboot to twrp
7. mount /vendor and copy a modified fstab.hi3660 to /vendor/etc/ to avoid new encyption
8. wipe cache & dalvik & reboot

I did an update from VTR-L09C432B381 to VTR-L09C432B382 without data loss, but is there an easier way?
 
Last edited:

lukastob

Member
Mar 29, 2015
46
5
0
I have downloaded aproved firmware from ff app and did not managed to update oreo, instalation failed around 75%. Then I have tried soft direct from pro-teammt site and it update without trouble. I'm curious what makes that difference between firmware from ff app and website.
 

Jannomag

Senior Member
Sep 20, 2015
694
221
63
Hamburg
19.02.2019 - Added script for updating to Pie
Please follow instructions of Tutorial 4 for updating Oreo to Pie.
Report here if it worked or if you had any problems.

I tested it on my P10 region C432. I updated from 8.0.0.381 without any data loss.
 
  • Like
Reactions: lukastob

stefan.irmen

Senior Member
Jan 11, 2018
62
14
8
19.02.2019 - Added script for updating to Pie
Please follow instructions of Tutorial 4 for updating Oreo to Pie.
Report here if it worked or if you had any problems.

I tested it on my P10 region C432. I updated from 8.0.0.381 without any data loss.
Hi!
Thx a lot for your guide, i update my rebranded VTR-L29 from B384 to Pie (9.0.1.157) sucessfully with your tutorial #4!
My question is: If there will be a newer version, how can i upgrade? Can i use pieupgrade.zip too?
 

Jannomag

Senior Member
Sep 20, 2015
694
221
63
Hamburg
Hi!
Thx a lot for your guide, i update my rebranded VTR-L29 from B384 to Pie (9.0.1.157) sucessfully with your tutorial #4!
My question is: If there will be a newer version, how can i upgrade? Can i use pieupgrade.zip too?
It should work, I’ll release a sperrte version, when I can test it. For now be careful, I tried to downgrade and fried my main board with this.
 
  • Like
Reactions: stefan.irmen

stefan.irmen

Senior Member
Jan 11, 2018
62
14
8
It should work, I’ll release a sperrte version, when I can test it. For now be careful, I tried to downgrade and fried my main board with this.
Ok! I dont want to downgrade, for now everything works fine... I just wondered, because there were only 2 update files instead of 3 like on oreo... For now i will stay on pie with open bootloader :)
 
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