How To Guide Flashing firmware with Newflasher on Xperia 1 III without losing data - Sony Xperia 1 III

EDIT: The latest update to Newflasher (v52) built in the functionality to keep user data intact as a prompt while flashing.
Version 52 is out!
- version 52 (01.10.2021)
Implemented userprompt for keeping userdata, thanks @OhayouBaka for figuring out! Removed bootloader log retrieval
In short explanation all files marked with NOERASE inside update.xml is in relation to factory reset, so skiping files marked with NOERASE preserves userdata while flashing. Thanks OhayouBaka for figuring that out! Now newflasher have yes no promp for keeping userdata or making clean installation with factory reset. Bootloader log is removed since I found nothing usefull there.
Click to expand...
Click to collapse
As some people here who have owned previous Xperia devices may already know, to keep data while flashing firmware in Newflasher, you have to delete the userdata.sin file in the firmware folder.
However on the Xperia 1 III, this has changed.
If you only delete userdata.sin, your data partition will be corrupt and you will be forced to factory reset and lose all your data.
To prevent this from happening, not only do you have to delete userdata.sin, but also appslog.sin, diag.sin and metadata.sin from the firmware folder as well.
Found this by checking the update.xml file in the firmware folder, all required sin files to delete are listed as "<NOERASE>".
Unfortunately I had to learn this the hard way, but hopefully this post will save Xperia 1 III owners in the future from accidentally being forced to factory reset their devices when using Newflasher.
If you need the full instructions on flashing firmware that this guide compliments, check this thread: https://forum.xda-developers.com/t/flashing-a-xperia-1-iii-without-unlocking.4326235/

OhayouBaka said:
As some people here who have owned previous Xperia devices may already know, to keep data while flashing firmware in Newflasher, you have to delete the userdata.sin file in the firmware folder.
However on the Xperia 1 III, this has changed.
If you only delete userdata.sin, your data partition will be corrupt and you will be forced to factory reset and lose all your data.
To prevent this from happening, not only do you have to delete userdata.sin, but also appslog.sin, diag.sin and metadata.sin from the firmware folder as well.
Found this by checking the update.xml file in the firmware folder, all required sin files to delete are listed as "<NOERASE>".
Unfortunately I had to learn this the hard way, but hopefully this post will save Xperia 1 III owners in the future from accidentally being forced to factory reset their devices when using Newflasher.
If you need the full instructions on flashing firmware that this guide compliments, check this thread: https://forum.xda-developers.com/t/flashing-a-xperia-1-iii-without-unlocking.4326235/
Click to expand...
Click to collapse
First of all, thank you very much for this research.
If i understood right, i can update device this way and it will be essentially the same as updating the device via OTA, right ?

DennisDD78 said:
First of all, thank you very much for this research.
If i understood right, i can update device this way and it will be essentially the same as updating the device via OTA, right ?
Click to expand...
Click to collapse
I believe so, all your data, apps, etc will still stay as it was before the update.

OhayouBaka said:
I believe so, all your data, apps, etc will still stay as it was before the update.
Click to expand...
Click to collapse
And all system settings should remain ?
By the way, just wanted to clearify something, you mentioned about update.xml file in the firmware folder, should i edit it somehow before flashing, or just delete those four files from f/w folder ?

DennisDD78 said:
And all system settings should remain ?
By the way, just wanted to clearify something, you mentioned about update.xml file in the firmware folder, should i edit it somehow before flashing, or just delete those four files from f/w folder ?
Click to expand...
Click to collapse
Yeah system settings will remain too. Just leave update.xml alone, dont delete it. Only delete the four files that I mentioned from the f/w folder.

OhayouBaka said:
Yeah system settings will remain too. Just leave update.xml alone, dont delete it. Only delete the four files that I mentioned from the f/w folder.
Click to expand...
Click to collapse
Thank you, dear friend!

Much appreciated to your help. Just flash mine back to latest factory firmware to receive OTA and everything looks fine for now. System settings and installed app data are saved with no problem.

so I had to jump through a few threads to figure out the details on how to update a magisk rooted x1m3 to the latest firmware without wiping(dirty flash). Figured I'd write out the steps here for others benefits
1 - download the firmware with Xperifirm
2 - download newflasher and extract to the firmware folder
3 - delete the following files from the firmware folder for no wipe dirty flash - userdata.sin, appslog.sin, diag.sin and metadata.sin. Skip this step if you're using Newflasher v52 and above
4 - download UnSin and extract to the firmware folder
5 - in the firmware folder, drag and drop boot_X-FLASH-ALL-*.sin into unsin.exe, and it will generate a boot_X-FLASH-ALL*.img in the same folder
6 - copy the boot_X-FLASH-ALL*.img onto your phone's sdcard somewhere.
7 - using magisk manager, install magisk and use the "select and patch a file" method. Select the boot_X-FLASH-All*.img file. This will generate a magisk_patched*.img onto your phone's sdcard
8 - download and extract platform-tools. Copy the magisk_patched*.img file from your phone's sdcard into the platform-tools folder on the computer. Rename the file to simply "magisk_patched.img"
9 - back up the phone(since still no real TWRP and titanium backup has been broken for a long time, I've been using Swift Backup)
10 - shut down the phone, plug in a usb-c cable to the computer, then while holding the volume DOWN button, plug in the usb-c cable to the phone. The LED indicator should be GREEN indicating FLASHMODE
11 - open up cmd prompt, and navigate to the firmware folder from step 1. Type in the following command
Code:
newflasher set_active:a
then hit enter. You should see result like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
12 - in windows explorer, navigate to the firmware folder, and double click on newflasher.exe(phone should still be in FLASHMODE). Respond to the prompts - n gordongate, p power off, n trim
13 - wait for the flashing of the new firmware to finish
14 - disconnect the phone from the usb cable, and power it back up. Check and make sure you have all your data/apps/etc. At this point it should boot into the rom just fine, but won't have root access and magisk will show that its not installed
15 - power off the phone again. This time, press the volume UP button while plugging in the USB-C cable. LED indicator should be BLUE for FASTBOOT
16 - open up a new cmd prompt, navigate to the platform-tools folder. Type
Code:
fastboot devices
and hit enter to confirm your phone is connected. Should respond with an alphanumeric number and the term fastboot
17 - type the following commands into cmd prompt
Code:
fastboot flash boot_a magisk_patched.img
fastboot flash boot_b magisk_patched.img
fastboot reboot
18 - DONE. Your phone should be on the new firmware with root and all your data/apps/etc
props to @Miustone, @OhayouBaka, @Forbesii for the original instructions. I just sort of put it all in one place
fingers crossed a great dev will come along and give us TWRP soon!

Does r / o and r / w work in Root Explorer?

Edited the original post to include the info that Newflasher has been updated with this functionality built in.

Hi, is there any way I can unlock the /system partition?
Does this allow us to mount the system partition as R/W?

largo2 said:
Hi, is there any way I can unlock the /system partition?
Does this allow us to mount the system partition as R/W?
Click to expand...
Click to collapse
With root only, i guess.

DennisDD78 said:
With root only, i guess.
Click to expand...
Click to collapse
Hello, of course my Xperia 1 iii is root.
Sorry, I'm using Google Translate

Sure wish there was a delete post button. It's a forum and I can't delete my own posts. Way to go, internet.

HowDoIVoIP said:
tony, I appreciate the guide but having never rooted or flashed a sony device, can I follow your guide to a T or do I sort of have to follow the main guide by Miustone as well as yours?
For example, he mentions installing "Fastboot" and "Flashmode" drivers by rebooting Windows 10 and installing them with Driver Signature Enforcement disabled. You didn't mention this, so I'm just trying to determine if I need to sort of follow both guides.
Click to expand...
Click to collapse
tonysunshine said:
so I had to jump through a few threads to figure out the details on how to update a magisk rooted x1m3 to the latest firmware without wiping(dirty flash). Figured I'd write out the steps here for others benefits
1 - download the firmware with Xperifirm
2 - download newflasher and extract to the firmware folder
3 - delete the following files from the firmware folder for no wipe dirty flash - userdata.sin, appslog.sin, diag.sin and metadata.sin. Skip this step if you're using Newflasher v52 and above
4 - download UnSin and extract to the firmware folder
5 - in the firmware folder, drag and drop boot_X-FLASH-ALL-*.sin into unsin.exe, and it will generate a boot_X-FLASH-ALL*.img in the same folder
6 - copy the boot_X-FLASH-ALL*.img onto your phone's sdcard somewhere.
7 - using magisk manager, install magisk and use the "select and patch a file" method. Select the boot_X-FLASH-All*.img file. This will generate a magisk_patched*.img onto your phone's sdcard
8 - download and extract platform-tools. Copy the magisk_patched*.img file from your phone's sdcard into the platform-tools folder on the computer. Rename the file to simply "magisk_patched.img"
9 - back up the phone
10 - shut down the phone, plug in a usb-c cable to the computer, then while holding the volume DOWN button, plug in the usb-c cable to the phone. The LED indicator should be GREEN indicating FLASHMODE
11 - open up cmd prompt, and navigate to the firmware folder from step 1. Type in the following command
Code:
newflasher set_active:a
then hit enter. You should see result like this
View attachment 5423107
12 - in windows explorer, navigate to the firmware folder, and double click on newflasher.exe(phone should still be in FLASHMODE). Respond to the prompts - n gordongate, p power off, n trim
13 - wait for the flashing of the new firmware to finish
14 - disconnect the phone from the usb cable, and power it back up. Check and make sure you have all your data/apps/etc. At this point it should boot into the rom just fine, but won't have root access and magisk will show that its not installed
15 - power off the phone again. This time, press the volume UP button while plugging in the USB-C cable. LED indicator should be BLUE for FASTBOOT
16 - open up a new cmd prompt, navigate to the platform-tools folder. Type
Code:
fastboot devices
and hit enter to confirm your phone is connected. Should respond with an alphanumeric number and the term fastboot
17 - type the following commands into cmd prompt
Code:
fastboot flash boot_a magisk_patched.img
fastboot flash boot_b magisk_patched.img
fastboot reboot
18 - DONE. Your phone should be on the new firmware with root and all your data/apps/etc
props to @Miustone, @OhayouBaka, @Forbesii for the original instructions. I just sort of put it all in one place
fingers crossed a great dev will come along and give us TWRP soon!
Click to expand...
Click to collapse
tony, I appreciate the guide but having never rooted or flashed a sony device, can I follow your guide to a T or do I sort of have to follow the main guide [email protected] Miustone as well as yours?
For example, he mentions installing "Fastboot" and "Flashmode" drivers by rebooting Windows 10 and installing them with Driver Signature Enforcement disabled. You didn't mention this, so I'm just trying to determine if I need to sort of follow both guides.

HowDoIVoIP said:
tony, I appreciate the guide but having never rooted or flashed a sony device, can I follow your guide to a T or do I sort of have to follow the main guide [email protected] Miustone as well as yours?
For example, he mentions installing "Fastboot" and "Flashmode" drivers by rebooting Windows 10 and installing them with Driver Signature Enforcement disabled. You didn't mention this, so I'm just trying to determine if I need to sort of follow both guides.
Click to expand...
Click to collapse
Yeah you will want to follow @Miustone 's guide first. I wrote mine assuming the phone has already been bootloader unlocked and rooted and the PC is setup already

tonysunshine said:
Yeah you will want to follow @Miustone 's guide first. I wrote mine assuming the phone has already been bootloader unlocked and rooted and the PC is setup already
Click to expand...
Click to collapse
Well thanks anyway, dude. I just followed most of his tutorial through step 4 all the way to fastboot flash boot_b magisk_patched.img
and then I just followed you with fastboot reboot without doing fastboot -w to wipe it. Well, it was wiped anyway. I guess I don't know what I expected. Lost everything and it's still not ****ing rooted - at least according to Youtube Vanced.
Ugh. This blows. We need better instructions. What was the point of flashing exactly when all it did was ERASE everything and not even grant you root?
Now I don't know what to do. I didn't even get to your "newflasher" here because I was following main guide and I stopped at the end of step 4 like like others said. I only wanted root. I didn't want to flash a new ROM.
Edit: Re-installed Magisk and now I can grant superuser. I still think these instructions need to be clearer for those of us who haven't rooted anything in thousands of years.

Unfortunately when you unlock your bootloader it will wipe the phone no matter what.

Will the tutorial in the first post also work on the Xperia Ace 3?

tonysunshine said:
so I had to jump through a few threads to figure out the details on how to update a magisk rooted x1m3 to the latest firmware without wiping(dirty flash). Figured I'd write out the steps here for others benefits
1 - download the firmware with Xperifirm
2 - download newflasher and extract to the firmware folder
3 - delete the following files from the firmware folder for no wipe dirty flash - userdata.sin, appslog.sin, diag.sin and metadata.sin. Skip this step if you're using Newflasher v52 and above
4 - download UnSin and extract to the firmware folder
5 - in the firmware folder, drag and drop boot_X-FLASH-ALL-*.sin into unsin.exe, and it will generate a boot_X-FLASH-ALL*.img in the same folder
6 - copy the boot_X-FLASH-ALL*.img onto your phone's sdcard somewhere.
7 - using magisk manager, install magisk and use the "select and patch a file" method. Select the boot_X-FLASH-All*.img file. This will generate a magisk_patched*.img onto your phone's sdcard
8 - download and extract platform-tools. Copy the magisk_patched*.img file from your phone's sdcard into the platform-tools folder on the computer. Rename the file to simply "magisk_patched.img"
9 - back up the phone(since still no real TWRP and titanium backup has been broken for a long time, I've been using Swift Backup)
10 - shut down the phone, plug in a usb-c cable to the computer, then while holding the volume DOWN button, plug in the usb-c cable to the phone. The LED indicator should be GREEN indicating FLASHMODE
11 - open up cmd prompt, and navigate to the firmware folder from step 1. Type in the following command
Code:
newflasher set_active:a
then hit enter. You should see result like this
View attachment 5423107
12 - in windows explorer, navigate to the firmware folder, and double click on newflasher.exe(phone should still be in FLASHMODE). Respond to the prompts - n gordongate, p power off, n trim
13 - wait for the flashing of the new firmware to finish
14 - disconnect the phone from the usb cable, and power it back up. Check and make sure you have all your data/apps/etc. At this point it should boot into the rom just fine, but won't have root access and magisk will show that its not installed
15 - power off the phone again. This time, press the volume UP button while plugging in the USB-C cable. LED indicator should be BLUE for FASTBOOT
16 - open up a new cmd prompt, navigate to the platform-tools folder. Type
Code:
fastboot devices
and hit enter to confirm your phone is connected. Should respond with an alphanumeric number and the term fastboot
17 - type the following commands into cmd prompt
Code:
fastboot flash boot_a magisk_patched.img
fastboot flash boot_b magisk_patched.img
fastboot reboot
18 - DONE. Your phone should be on the new firmware with root and all your data/apps/etc
props to @Miustone, @OhayouBaka, @Forbesii for the original instructions. I just sort of put it all in one place
fingers crossed a great dev will come along and give us TWRP soon!
Click to expand...
Click to collapse
What about deleting all the .ta files? I think this is a precautionary step so that the bootloader is not messed with in the case that you install an older firmware. My understanding is that if the bootloader is downgraded with those .ta files from older firmware, this will cause a brick.

Related

Near brick please help!

I know this should be in Q and A but its kind of urgent and I know this forum gets more views. So I flashed houstonn's new rom and all I got was a blank screen after the LG logo. Tried all kinds of wipes and re flashing but nothing. Also, my backup files are gone (I might have deleted them by accident with new SD card). I have no idea how to LGNPST and can't find a guide anywhere. Any help?
abraxo said:
I know this should be in Q and A but its kind of urgent and I know this forum gets more views. So I flashed houstonn's new rom and all I got was a blank screen after the LG logo. Tried all kinds of wipes and re flashing but nothing. Also, my backup files are gone (I might have deleted them by accident with new SD card). I have no idea how to LGNPST and can't find a guide anywhere. Any help?
Click to expand...
Click to collapse
start here http://forum.xda-developers.com/showpost.php?p=34474128&postcount=1
whycali said:
start here http://forum.xda-developers.com/showpost.php?p=34474128&postcount=1
Click to expand...
Click to collapse
none of the files mentioned are found
abraxo said:
none of the files mentioned are found
Click to expand...
Click to collapse
this is the part I used
the top section not the laborious part. I googled the zip files he references. also of note on my win 8 laptop only my usb 3 port would properly download and install the drivers for the phone.
once you actually have success installing the tot file you need you can follow his rooting instructions.
How to LGNPST to restore a factory image.
Obtain the following files: AutoLGNPST-tSilenzio.zip, and LGE970AT-00-V10o-ATT-US-SEP-29-2012-0.zip. Unzip AutoLGNPST-tSilenzio.zip and follow the instructions in "READ ME FIRST.txt" (mad props to tSilenzio for automating this process).
Here's the laborious/error prone/manual method for LGNPST-ing back to stock.
You need to obtain the following files: LGNPST-PhantomPhreak53.zip, LGNPST_ACG_2.2.3_Lab.zip, and LGE970AT-00-V10o-ATT-US-SEP-29-2012-0.zip. Follow the following steps (please note: I am less experienced with this process and find it much more tedious. Also, IMHO, I don't think the people you're returning the phone to will care if you leave some minor traces of your unlocking shenanigans. I think the process above this is more than sufficient and simpler). Credits go to Jhoopes517 for this process, he showed me how to do it in his thread.
(Install LG USB drivers)
Extract LGNPST_ACG_2.2.3_Lab.zip, run the installer. Open file explorer to C:\Program Files\LG Electronics\LGNPST and replace the current LGNPST_ACG.exe with the one in the extracted folder (if you are on a 64-bit version of windows, go to C:\Program Files (x86)\LG Electronics\LGNPST)
Extract LGNPST-PhantomPhreak53.zip and run LGNPST_GenericModels_Ver_5_0_12_0.exe and then run LGNPST_Components_Ver_5_0_20_0.exe
In file exlorer, navigate to C:\LG Electronics\LGNPST and copy over the "Models" folder from the extracted Phantom zip folder
Run cmd as administrator and execute the following
Code:
regsvr32 "C:\LG Electronics\LGNPST\Models\LGNPST_LS970.dll"
Extract LGE970AT-00-V10o-ATT-US-SEP-29-2012-0.zip and change the extension of the .tot file to .bin
Connect phone to computer, power off, and then power on, holding down the power button and both volume buttons
Run the newly replaced LGNPST_ACG.exe from step 2. Select the DLL from step 5 and the .bin from step 6.
Press Start
If LGNPST errors out at 85%, turn your phone off and hold the power button until the phone powers on, then release. DO NOT disconnect the cable before LGNPST is done doing its thing. Your phone may reboot. This is OK.

WI502Q, how i unbricked my watch! (TWRP Backup included)

Alright, so I screwed up my watch a few days ago and it ended up not getting past the splash screen and going straight to recovery. Thanks to @z0mghii, I was able to get a TWRP backup of the system, boot, and data. I replaced this backup with my own so none of his data (if possible) could be taken advantage of. However, after flashing it, I was still unable to boot up. Here are the steps I took in order to get everything back to working order. Keep in mind this is for WREN, the small version. Some steps may be unnecessary.
1. Boot to TWRP
2. Go to advanced wipe
3. Wipe everything
4. Go to the link below and download the TWRP Backup
5. Create a backup of a small partition (like boot) on your watch to create the folder.
6. Plug watch into PC while in TWRP
7. Go to the watch's internal storage
8. Go to the TWRP folder
9. Go to the subfolder
10. Paste the downloaded backup folder into this folder, this should be with the one you created earlier
11. Restore this backup on your watch, be sure to check all the boxes
12. Reboot to the bootloader
13. Install ADB if you haven't already, I recommend the 15 second one
14. While the watch is in the bootloader and it is plugged in, type the following commands
fastboot erase cache
fastboot erase misc
fastboot reboot
https://drive.google.com/drive/folders/0B_HUnwYIrFskUW10UDZ0dXdHQzg (You might have to download each item and put them in a folder instead, unless I'm oblivious to something, sorry )
After this, your watch should boot up, then power back down, then boot back up again. This will be followed up by the boot animation and go to the welcome screen.
If any of you guys could provide me with the latest stock rom version TWRP backup or a stock recovery.img, it would be greatly appreciated. (Unless June patch is the latest). The recovery would be great no matter what. Getting the stock recovery can be done by typing the following commands into the command prompt on a PC. Hopefully they work. It should be copied onto the /sdcard.
Via adb shell (make sure ADB debugging is on in developer options, then type adb shell in CMD on PC) type: cat/proc/mtd and press enter
You will see which is recovery partition and then type: dd if=/dev/mtd/mtd1 of=/sdcard/recovery.img (note that mtd1 you must replace with number which is recovery partition)
I hope I helped somebody with this. Again, huge thanks to @z0mghii for making this possible. I'm sorry for bad formatting.
I'm really new to this. I'm also by no means a developer/hardcore android person. These commands were all taken from google. I take 0 responsibility for your device being ruined. This is just what worked for me.
Reserved
HOLY CRAP IT WORKED!! You just don't know how much this means to me, words can't express!
cland216 said:
HOLY CRAP IT WORKED!! You just don't know how much this means to me, words can't express!
Click to expand...
Click to collapse
Hell yeah. Glad I could help somebody! I've been wanting to give back to the wonderful XDA community for a while as a long time lurker. Also, I'm hoping to get a newer version of the stock rom and a stock recovery.img so you can go back to 100% factory stock for an OTA. I'm pretty proud of myself (being noobish) figuring this out.
Thanks a lot!! My watch was kept in a drawer because it was useless and it has now returned to life, I just have a problem restoring the recovery, the command to locate the recovery folder do not work me, have any idea how located the recovery folder?
klaudio_tv said:
Thanks a lot!! My watch was kept in a drawer because it was useless and it has now returned to life, I just have a problem restoring the recovery, the command to locate the recovery folder do not work me, have any idea how located the recovery folder?
Click to expand...
Click to collapse
Are you referring to "extracting" the recovery img? You only need to do it if you're running the stock recovery.
If so, I think I have screwed the command. Make sure you're in adb shell (in recovery on the watch) and then type "cat /proc/mtd" (with the space in front of cat) without the quotes in order to locate the recovery partition.
You will see which is recovery partition and then type: dd if=/dev/mtd/mtd1 of=/sdcard/recovery.img (note that mtd1 you must replace with number which is recovery partition)
Hopefully this works
Hi, my watch now works well, but I was not able to install updates, when I try to install updates from the watch, watch reboots and go to TWRP recovery. Anyone knows how install the updates?
klaudio_tv said:
Hi, my watch now works well, but I was not able to install updates, when I try to install updates from the watch, watch reboots and go to TWRP recovery. Anyone knows how install the updates?
Click to expand...
Click to collapse
Since the OP helped me, here's my chance to give back..
By no means do I know what hell I'm doing, but I know enough to be dangerous. If you're ready to live dangerously, follow these steps (which worked for me):
1. Go into TWRP on the watch and connect it usb to your computer. Using TWRP file manager, copy the update.zip from CACHE to sdcard\Download.
2. On the computer, browse to Zenwatch internal memory Downloads folder and copy the update.zip file to your computer.
3. Unzip the file on your computer using 7zip.
4. Navigate to \META-INF\com\google\android\ and look for updater-script.
5. Edit updater-script in Notepad++.
6. Delete the lines starting with getprop. This turned out to be lines 2 thru 5.
7. Delete the lines starting with apply_patch_check. This turned out to be lines 10 thru 176
8. Save changes to updater-script then in Windows Explorer highlight all of the files and folders that you unzipped, right-click them and click on 7zip --> Add to update.zip
9. Copy the new update.zip to the Zenwatch internal memory, Downloads folder, overwriting the original update.zip
10. Flash the update.zip file with TWRP.
11. Reboot TWRP to Bootloader.
12. On your computer, goto adb folder where you have fastboot files, and using command prompt type:
fastboot erase cache
fastboot erase misc
fastboot reboot
These steps worked as I was stuck on the June 1, 2016 Android security patch on my Wren Zenwatch. These steps helped me get to the September 1, 2016 security patch.
I managed to update my watch to the September 1 security patch using Cland216's method. But I am unable to update further using the method above. Does anyone have any info on how to update further? Or has any zip files to flash?
If we could get someone to upload the watches stock recovery that would solve all issues.....Why has noone done this for this model yet?
Sent from my OnePlus X using XDA Labs
I'm unable to create a backup file
5. Create a backup of a small partition (like boot) on your watch to create the folder.
6. Plug watch into PC while in TWRP
TWRP :
Could not mount /data
When I try to mount /data , I unable to /data
HOLY ****
Dude.. Let me just say...
YOU ARE THE ****ING ABSOLUTE BEST.
I am now going to make a backup, and save it to my computer, google drive, dropbox, icloud, and every other ****in place I can to make sure this never happens again. Thank you!!!!
Nicholas6706 said:
Alright, so I screwed up my watch a few days ago and it ended up not getting past the splash screen and going straight to recovery. Thanks to @z0mghii, I was able to get a TWRP backup of the system, boot, and data. I replaced this backup with my own so none of his data (if possible) could be taken advantage of. However, after flashing it, I was still unable to boot up. Here are the steps I took in order to get everything back to working order. Keep in mind this is for WREN, the small version. Some steps may be unnecessary.
1. Boot to TWRP
2. Go to advanced wipe
3. Wipe everything
4. Go to the link below and download the TWRP Backup
5. Create a backup of a small partition (like boot) on your watch to create the folder.
6. Plug watch into PC while in TWRP
7. Go to the watch's internal storage
8. Go to the TWRP folder
9. Go to the subfolder
10. Paste the downloaded backup folder into this folder, this should be with the one you created earlier
11. Restore this backup on your watch, be sure to check all the boxes
12. Reboot to the bootloader
13. Install ADB if you haven't already, I recommend the 15 second one
14. While the watch is in the bootloader and it is plugged in, type the following commands
fastboot erase cache
fastboot erase misc
fastboot reboot
https://drive.google.com/drive/folders/0B_HUnwYIrFskUW10UDZ0dXdHQzg (You might have to download each item and put them in a folder instead, unless I'm oblivious to something, sorry )
After this, your watch should boot up, then power back down, then boot back up again. This will be followed up by the boot animation and go to the welcome screen.
If any of you guys could provide me with the latest stock rom version TWRP backup or a stock recovery.img, it would be greatly appreciated. (Unless June patch is the latest). The recovery would be great no matter what. Getting the stock recovery can be done by typing the following commands into the command prompt on a PC. Hopefully they work. It should be copied onto the /sdcard.
Via adb shell (make sure ADB debugging is on in developer options, then type adb shell in CMD on PC) type: cat/proc/mtd and press enter
You will see which is recovery partition and then type: dd if=/dev/mtd/mtd1 of=/sdcard/recovery.img (note that mtd1 you must replace with number which is recovery partition)
I hope I helped somebody with this. Again, huge thanks to @z0mghii for making this possible. I'm sorry for bad formatting.
I'm really new to this. I'm also by no means a developer/hardcore android person. These commands were all taken from google. I take 0 responsibility for your device being ruined. This is just what worked for me.
Click to expand...
Click to collapse
I spoke just a bit too soon, now it is hanging on that animation with the 4 dots. Any suggestions?
NEVERMIND, I AM UP AND RUNNING!! WOOHOOOO

Downgrade from Cyanogenmod

Hi,
I made a mistake installing Cyanogenmod on my phone, forgot to make a backup in TWRP.
This Cyanogenmod version requires me to delete my former EMUI fingerprints for the fingerprint function to work. I forgot to do that also...
So now I'm trying to reinstall my custom ROM. I found the UK PLK-L01 firmware on Huawei support page, downloaded that and put it on my (not external sd)sdcard/dload/UPDATE.APP.
Then I try the Volume UP+Volume Down+Power for it to install the rom, but only thing that happens is that the phone boots into TWRP, and in there, there is no option to install a .APP file.
Please help
frederikahrenst said:
Hi,
I made a mistake installing Cyanogenmod on my phone, forgot to make a backup in TWRP.
This Cyanogenmod version requires me to delete my former EMUI fingerprints for the fingerprint function to work. I forgot to do that also...
So now I'm trying to reinstall my custom ROM. I found the UK PLK-L01 firmware on Huawei support page, downloaded that and put it on my (not external sd)sdcard/dload/UPDATE.APP.
Then I try the Volume UP+Volume Down+Power for it to install the rom, but only thing that happens is that the phone boots into TWRP, and in there, there is no option to install a .APP file.
Please help
Click to expand...
Click to collapse
couldnt you just locate files and delete in root explorer or similar app?
You can open the update.app in Huawei update extractor and use adb to manually flash the system, custom, cache, boot and recovery partitions back to stock then once you boot into the stock emui os you can reflash twrp. I'm busy atm but I'll write you a proper guide soon. Or you could Google it but be careful becuase there are a lot of guide that don't work anymore
Edit: This won't require you to wipe your user data so you can keep your setting contacts apps etc.
---------- Post added at 09:07 PM ---------- Previous post was at 08:28 PM ----------
Here is my guide it's a bit long but should be easy. I recommend reading it all first before following it just so you know what each step is doing.
Ok step one. Go to This link and download the emui version for you phone.
step two. You need to download Huawei update extractor from This link and install it on your pc.
Step three. unzip the update you extracted to a new folder on your desktop (It can be called anything bu I recommend calling it "EMUI") and put the update.app file in this folder.
Step four. open Huawei update extractor and select profile "Unknown (worstenbrood)" if it is not selected already.
Step five. Under the section where it says update file click on the ".." button navigate to the folder you made on your desktop and double click the update.app file.
Step six. Right click on the file named "BOOT.img" and click extract selected then once the green loading bar has gotten to 100% click close on the extracting window since it does not automatically do it its self.
Step seven. Repeat step six for the files named "CACHE.img", "CUST.img", "RECOVERY.img", "SYSTEM.img" and "USERDATA.img" (Only extract USERDATA.img if you want to wipe all of you apps, setting, contacts and messages)
Step eight. Open the folder you create on your desktop and copy all of the files you extracted (Only the .img files since Huawei update extractor also create some other files which you don't need) and paste them into the folder which you have adb installed into (It should be "C:\Program Files (x86)\Android\android-sdk\platform-tools" if you used the sdk version but if you have a diffrent version of adb paste them into the folder which you have that installed to)
Step nine. Boot your phone into bootloader mode on you phone. There are a few ways to do this but use whatever way you used when you flashed twrp.
step ten. In widowns explorer (Your pc's file manager) Shift click in the folder you have adb installed into and click "Open cmd window here"
Step eleven. type the following commands into cmd "fastboot flash boot BOOT.img", "fastboot flash cust CUST.img", "fastboot flash recovery RECOVERY.img", "fastboot flash system SYSTEM.img" and if you decided to reset all of you data (Like apps, contacts, messages, setting, etc) "fastboot flash userdata USERDATA.img" Some of these may take a long time (Especially SYSTEM.img but it shouldn't take more than 10 minute if it doesn't finish within 20 minute press ctrl + c in the cmd windows and start again).
Step twelve. Type "fastboot reboot" into cmd and you will boot into stock emui. Now you can reflash TWRP if you want and re install root.
Feel free to message me if you need help.

Watch update keeps failing. Anything like a factory image or something?

I tried to root my watch a while back and kind of gave up. Since then, I have installed both the stock recovery and system image found in this thread:
https://forum.xda-developers.com/zenwatch-2/general/m6e69n-twrp-backup-stock-boot-firmware-t3484961
Now, I keep getting the update to M6E69X and it goes through the normal process of updating, but then a picture of an Android with an exclamation point comes up. I'm almost positive that its similar to the issues of newer versions of Android on phones requiring complete stock systems to update. The only problem is, I have tried reflashing the backup in the link above about four times now and it still won't work.
Any help will be appreciated at all and I'm sorry if this has been answered before and I'm just blind.
About 4 down from your post, https://forum.xda-developers.com/zenwatch-2/help/m6e69x-stock-rom-t3564626
At the bottom of that thread is a zipped up TWRP backup. Get TWRP temporarily running on the watch and restore it from there.
Here are the brief steps I did.
1. Get ADB Minimal and Fastboot - plug your watch into the computer using the cord. Enable ADB debugging on the watch.
2. Get twrp-v3.0.0-0.jk-v3.recovery.img for the watch
3. Fastboot oem unlock (erases your /data partition)
4. fastboot boot twrp-v3.0.0-0.jk-v3.recovery.img
5. Make an initial backup of the watch. You'll need the file structure created.
5. TWRP should let you copy the files to/from the watch
6. Create a new folder and copy the files from the zip to a folder under the serial number folder below TWRP - I have folder called 2017-03-14--11-51-50_M6E69X
7. Restore that copied TWRP backup
Hope that helps.

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

Hi,
in this tutorial I will guide you how to upgrade from Nougat to Oreo and updating Oreo to newer version, when they are released.
NEW! Update Oreo to Pie - in testing now, please report!
ANNOUNCEMENT - 06 March 2019: Since I fried my phone with wrong update files, I don't own a P10 anymore. I'm still active on XDA but can't give as much support as usual for the P10. If you find any issues or have any suggestions, please post it here and qoute me. Everyone is free to use and edit my script and release it in a new threat. If someone needs help with that, let me know.
Special thank are going to @mankindtw who wrote the script and @Blackball who released something similar for the P10Plus.
I just edited the script for working with the P10 to make it easier for you.
DISCLAIMER: I don't give any warranty. I tested this on 5 devices without any problems.
This Tutorial ist just for the Huawei P10 (VTR).
This tutorial has two versions:
Tutorial 1: Upgrading your P10 from Nougat to Oreo
Tutorial 2: Updating to a newer Oreo version.
Prerequisites: You need a sd card with minimum 4gb free space, formatted in FAT32.
Also you need an unlocked bootloader and TWRP installed.
Read first, then do it.
Backup, backup, backup - please, don't blame me when you notice data loss.
For everyone who don't know how to unlock bootloader and install TWRP, here's a short tutorial:
Unlocking bootloader (will void warranty!):
The site is down at the moment. There's no official statement from Huawei if they shut it down completely or if there's just an error on this site. Fact is, at this moment you can only get an unlock code by sending Huawei support an E-Mail or using DC Phoenix (costs around US$5)!
If you found another solution, tell it here for everyone, please!
- Go to settings app and write down you IMEI, Build-Number and Model-Number. VERY IMPORTANT!
- Open phone app and dial *#*#1357946#*#* - write down the Product-ID and Serial Number. VERY VERY IMPORANT!
- Go back to settings, open developer options and activate OEM-Unlock and USB-Debugging.
- Go to this site, login or create account, follow the steps and fill out the forms to get your unlock code.
- VERY VERY VERY IMPORTANT: Write it down on paper, pc, laptop, tablet - everything you have. If you lost it and brick your phone with locked bootloader, you'll not be able to unbrick it without payed services like FunkyHuawei!
- ALSO VERY IMPORTANT: Do a backup of everything you need! Unlocking the bootloader will cause a factory reset, all data will be removed!
- Now turn off your phone.
- Connect it to USB and turn it on while holding the volume-down button.
- You should see the fastboot screen with green FRP Lock and Bootloader Lock.
- AGAIN: BACKUP! Do you have your unlock code save?
- Type following command into your cmd or terminal: "fastboot oem unlock CODE"
- Confirm the unlock with volume-up and power button.
- Done, phone will do a factory reset and the bootloader is unlocked.
Install TWRP:
- Open the developer settings and enable the the "OEM Unlock" and "USB Debugging" if you haven't done it already.
- Download the right TWRP version: TWRP 3.1.1-0 for Nougat by @OldDroid - TWRP 3.1.1 for Oreo by @Blackball.
- Boot into fastboot mode by turning off the phone, connect it via usb to you pc and power it on while holding down Volume-Down until you see the white fastboot screen.
- Flash the TWRP version - there are two different commands for Nougat and Oreo:
Nougat:
Code:
fastboot flash recovery TWRP.IMG
Oreo:
Code:
fastboot flash recovery_ramdisk TWRP.IMG
- Test it by turning off the phone with holding the power buttong until it's off and boot the phone with DISCONNECTED usb while holding Volume-Up.
Now the real thing:
Tutorial 1 - Upgrade Nougat to Oreo
Do not use this to unbrick your P10 or REinstall Oreo! This works only, if you're on Nougat! Otherwise you can full brick your P10!
Mention: I didn't loose any data after upgrading from Nougat to Oreo with this method. None of the guys who tested it noticed any data loss. BUT, no warranty for this!
BACKUP BEFORE YOU UPGADE!
- First you need to find your correct firmware for your model on the Huawei Firmware Database. This is not a rebrand tutorial!
Link: http://pro-teammt.ru/firmware-database or use the links for L09/L29 I provided below.
- When you found your version (example VTR-L29C432B360) find the row which containts "FullOTA-MF" and click on "filelist". Only tested with B360 FullOTA-MF, one guy bricked his phone using B365 Full-OTA-MF-PV, I think it's because B365 is an update from B360, but I really don't know if B1xx to B365 alway bricks your phone! Just use B360 and then use oreoupdate.zip for updating to a newer version - this method is tested on multiple devices without any problems.
- You need three files: update.zip, update_data_full_public.zip, and update_full_MODEL_hw_[].zip (example update_full_VTR-L29_hw_eu.zip).
- When you downloaded all three files rename it after this:
update.zip stays.
update_data_full_public.zip stays.
update_full_MODEL_hw_[].zip to update_full_hw.zip.
- Download this rar archive (alternative link without ads if you don't want to support me ) - Version 060518, MD5 0637269f1dc9b9a509de97ff14559f4a.
- Extract the archive on your sd card - you should have a folder named "oreoupgrade" on it. This folder contains three files: oreoupgrade.zip, VTR_RECOVERY_NoCheck.img and VTR_RECOVERY2_NoCheck.img.
- Put the three update zips you downloaded before inside the "oreoupgrade" folder on sd card.
- Your SD card has to look like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- Insert the sd into your phone and boot into TWRP.
- AGAIN: DO A BACKUP!
- Tap on Install, navigate to your sd card and into the oreoupgrade directory.
- Tap on oreoupgrade.zip and install it.
- The phone will restart by itself - don't press any button!
- eRecovery will start and install the update - if you didn't do anything wrong, it should take around 2 minutes and the phone will do a reboot.
- If the phone won't reboot after update wait at least 5 minutes until you do it by yourself (I had this issue with only one P10).
That's it - you should have Oreo installed.
The script installs the original recovery, so TWRP is removed. The bootloader stays unlocked.
Tutorial 2 - Updating Oreo version
Do not use this if you're on Nougat! This Tutorial is only to upgrade the Oreo / EMUI 8 version! Don't use it to unbrick, if you don't know what you do!
BACKUP BEFORE YOU UPDATE!
I tested it on 24.03.2018 with my VTR-L29C432. I updated from B360 to B365 without any problems. No data loss, no bugs notices. Update process took around 4 minutes.
- First you need to find your correct firmware for your model on the Huawei Firmware Database. This is not a rebrand tutorial!
Link: http://pro-teammt.ru/firmware-database or use the links for L09/L29 I provided below.
- When you found your version (example VTR-L29C432B360) find the row which containts "FullOTA-MF" and click on "filelist". BFullOTA-MF-PV seems to mean "Public Version". I tested it on three devices without any problems but one guy notified me that B365 FullOTA-MF-PV bricked his phone after using this to upgrade from Nougat. For me it works fine.
- You need three files: update.zip, update_data_full_public.zip, and update_full_MODEL_hw_[].zip (example update_full_VTR-L29_hw_eu.zip).
- When you downloaded all three files rename it after this:
update.zip stays.
update_data_full_public.zip stays.
update_full_MODEL_hw_[].zip to update_full_hw.zip.
- Download this rar archive (alternative Link without ads if you don't want to support me ) - version 040518, MD5 c4c7b33d104b696a6132f8be1f36ba0b
- Extract the archive on your sd card - you should have a folder named "oreoupdate" on it. This folder contains three files: oreoupdate.zip, VTR_RECOVERY_OREO_NoCheck.img.
- Put the three update zips you downloaded before inside the "oreoupdate" folder on sd card.
- Your SD card has to look like this:
- Insert the sd into your phone and boot into TWRP.
- AGAIN: DO A BACKUP!
- Tap on Install, navigate to your sd card and into the oreoupdate directory.
- Tap on oreoupdate.zip and install it.
- The phone will restart by itself - don't press any button!
- eRecovery will start and install the update - if you didn't do anything wrong, it should take around 2 minutes and the phone will do a reboot.
- If the phone won't reboot after update wait at least 5 minutes until you do it by yourself (I had this issue with only one P10).
That's it - you should have updated Oreo to a newer version.
The script installs the original recovery, so TWRP is removed. The bootloader stays unlocked.
If there are any issues with this notify me so we can work together to find a solution!
Please post the TWRP log and a screenshot of your oreoupgrade / oreoupdate directory on your sd card with file sizes. With this information it's easier to help.
Tutorial 3 - Updating Oreo version with official EMUI updater
Do not use this if you're on Nougat! This Tutorial is only to upgrade the Oreo / EMUI 8 version! Don't use it to unbrick, if you don't know what you do!
This Method is only if there's an official update released for your device by Huawei. You'll get a system update notification. If there's no such notification use Tutorial #2!
MENTION: I tested it on my device from B365 to B369 without any problems. If there are any issues, please notify me. Brick risk is barely 0 because it's using offical update files downloaded by EMUI.
BACKUP BEFORE YOU UPDATE!
- Check if there's an official update available in system settings. You should also get a notification. DO NOT INSTALL, YET!
- Download this rar archive (alternative Link without ads if you don't want to support me ) - version 130618, MD5 52cb33d74055f01a2fb4425d5b918b18.
- You can choose two different places where you extract it:
- 1. Without root: SD card: Just extract the archive on SD card, so you'll have a directory on it called "officialupdate". Inside this directory are two files: "officialupdate.zip" and "VTR_RECOVERY_OREO-NoCheck.img".
- 2. With root: /cust directory. Extract the archive with a file manager of your choise and put the "officialupdate" directory into /cust.
- Now boot into TWRP and install the officialupdate.zip on SD or in /cust - /cust needs to be mounted. Go to "Mount" and just check "cust". Then go to "Install" and navigate to the .zip file.
- TWRP will install the modified recovery - it's the same one as in Tutorial #2.
- Reboot into system
- Install the update and the update process will start.
Note: The reboot after the update can take a few minutes (my phone took around 5 minutes!). Don't abort the reboot process!
You also need to install the root again after this update!
Note #2: I need testers for it. Please write here in this threat if it worked for your or not with phone information (model, version, etc.).
Tutorial 4 - Upgrading Oreo to Pie - IN TESTING NOW!
Do not use this if you're on Nougat! This Tutorial is only to upgrade EMUI 8 to 9! Don't use it to unbrick, if you don't know what you do!
BACKUP BEFORE YOU UPDATE!
I tested it on 24.03.2018 with my VTR-L29C432. I updated from 8.0.0.381 to 9.0.1.157 without any problems. No data loss, no bugs notices. Update process took around 5 minutes + 5 minutes for booting.
- First you need to find your correct firmware for your model on the Huawei Firmware Database. This is not a rebrand tutorial!
Link: http://pro-teammt.ru/firmware-database or use the links for L09/L29 I provided below.
- When you found your version find the row which containts "FullOTA-MF" and click on "filelist".
- You need three files: update.zip and update_full_MODEL_hw_[].zip (example update_full_VTR-L29_hw_eu.zip).
- When you downloaded both files rename them after this:
update.zip stays.
update_full_MODEL_hw_[].zip to update_full_hw.zip.
- Download this rar archive - version 190219 MD5 37b51e19f70af6a896cadd522342e213
- Extract the archive on your sd card - you should have a folder named "pieupgrade" on it. This folder contains two files: pieupgrade.zip, VTR_RECOVERY_OREO_NoCheck.img.
- Put the three update zips you've downloaded before inside the "pieupgrade" folder on sd card.
- Insert the sd into your phone and boot into TWRP.
- AGAIN: DO A BACKUP!
- Tap on Install, navigate to your sd card and into the pieupgrade directory.
- Tap on pieupgrade.zip and install it.
- The phone will restart by itself - don't press any button!
- eRecovery will start and install the update - if you didn't do anything wrong, it should take around 2 minutes and the phone will do a reboot.
- If the phone won't reboot after update wait at least 5 minutes until you do it by yourself (I had this issue with only one P10).
That's it - you should have updated to EMUI 9 / Pie.
The script installs the original recovery, so TWRP is removed. The bootloader stays unlocked.
Please note, that there's no TWRP for Pie at the moment. You may not be able to install Magisk! If you find a working TWRP, let me know!
Please note that this is too new to know everything. If you have any issues, let me know. I can't guarantee that this script works for you.
Only use your model region, only use it with B376++, only install the Pie-Beta if you know about the risk to brick your phone.
Be also aware that installing not official released version can cause a not certified play protect status! I noticed this on my P10 after updating to 9.0.1.157. I didn't notice any issues with that, yet, but I can be.
Tutorial 5 - Updating Pie and downgrading to Oreo - IN TESTING NOW!
Do not use this with Nougat or Oreo! This script is for Pie, only!
BACKUP BEFORE UPDATING / DOWNGRADING!
This script will work for updating Pie version and also for downgrading back to Oreo, with the right files.
Read the tutorial first before you do anything! BRICK RISK IS HIGH!
Special thanks to @lukasob, who helped me with this script.
- First you need to find your correct firmware for your model on the Huawei Firmware Database.
- ATTENTION FOR DOWNGRADING: There are downgrade updates available, mostly to version 384. Those downgrades are containing only 2 files instead of 3:
- "update.zip"
- "update_full_MODEL_hw_[].zip"
If there's also a "update_data_full_public.zip", it's the wrong downgrade! DON'T USE THIS!
THIS WILL CAUSE FULL HARD BRICK!
- When you downloaded both files rename them after this:
update.zip stays.
update_full_MODEL_hw_[].zip to update_full_hw.zip.
- Download this rar achive - version 180319 MD5 e53284141f1d93ac2e6ab9d1f528db08
- Extract the archive on your sd card - you should have a folder named "pieupdate" on it. This folder contains four files: pieupdate.zip, VTR_RECOVERY_OREO_NoCheck.img, pie_stock_recovery.img.
- Put the TWO update zips you've downloaded before inside the "pieupdate" folder on sd card.
- Inser the sd into your phone and boot into TWRP (flash the Oreo TWRP which you can find here on XDA. It'll work with this).
- AGAIN: DO A BACKUP!
- Tap on Install, navigate to your sd card and into the pieupdate directory.
- Tap on pieupdate.zip and install it.
- The phone will restart by itself - don't press any button!
- eRecovery will start and install the update - if you didn't to anything wrong, it should take around 2 minutes and the phone will do a reboot.
That's it. You either did an update or a downgrade, depending on which files you've used.
It's really important to flash the correct downgrade files, otherwise you'll brick your phone totally! I did this and even with DC Phoenix I couldn't recover my phone yet.
Flash stock recovery with Pie - TWRP or Root needed
- Download Pie update.zip and extract the UPDATE.APP.
- With Huawei Update Extractor (Google it, please) extract RECOVERY_RAMDIS.img and ERECOVERY_RAMDIS.img (you need to disable the file verification in the settings of HUE)
ROOT METHOD (all commands without qoutes):
- Put the two files in the root directory of your phone's internal memory without any directory
- Use a terminal emulator or adb shell on your pc.
- Enter following command to find out which device you're on: "/dev/block/platform/"
- You should see either "ff3b0000.ufs" or "hi_mci.0" after confirm the command with enter - remember it, I call it TYPE in the following commands.
- Access root privileges with "su" --> ENTER
- Now enter two commands and confirm with enter after each:
"dd if=./RECOVERY_RAMDIS.img of=/dev/block/platform/TYPE/by-name/recovery_ramdisk" --> ENTER
"dd if=./ERECOVERY_RAMDIS.img of=/dev/block/platform/TYPE/by-name/erecovery_ramdisk" --> ENTER
- Done, if there are no error outputs.
TWRP METHOD:
Download this file and put it on external sd in a directory called "flashrecovery". (used zippyshare, because mega is slow at the moment)
Extract RECOVERY_RAMDIS.img and ERECOVERY_RAMDIS.img from UPDATE.APP and put it into flashrecovery on sd (file names are important and also case sensitive!).
Install the flashrecovery_pie.zip with TWRP. The phone will reboot after flashing the recovery.
Magisk installation - NOUGAT AND OREO ONLY! NOT WORKING ON PIE
It's a bit more complicated to install Magisk with EMUI 9 than it was before.
Instructions can be found here.
I didn't try it, yet. Please report if this works.
EDIT_MAGISK:
I tried to patch recovery image with Magisk but with this the phone doesn't boot with enabled root.
Let me know, if you find any solution.
Thanks for testing @tangoalfa
Addition: Root with Magisk by @Blackball
Special thanks to @mleczan who provided the code for eMMC devices!
KNOWN ISSUES
- @SwiftingDuster got is bootloader loggeg with VTR-L29C636B362 coming from B162. It can be produced by the firmware files, I really don't know.
- eMMC version of P10 can be bricked! Thanks @mleczan for notice. If possible I will release an eMMC version, but without testers I can't do it.
--- U P D A T E - C H A N G E L O G ---
UPDATE 130618 - Only officialupdate
- Fixed an issue with the script, should work know (theoretically - can't test it at the moment!)
UPDATE 020618 - Only officialupdate
- Added a third guide for using official update method by EMUI.
Testers needed!
UPDATE 060518 - Only oreoupgrade
- Added support for eMMC devices
Thanks to @mleczan who provided me information about eMMC devices!
Testers for both versions are still welcome and wanted - I need information if it's working or not (I can't provide any warranty for safety!)
UPDATE 040518 - Only oreoupdate
- Added support for eMMC devices.
Special thanks to @mleczan who provided the code for eMMC devices!
Testers with eMMC devices are needed! Please read post #219!
UPDATE 080418
- Fixed oreoupdate - should work now!
UPDATE 050418
- Added comments to TWRP output
- Added security and fail safety
(check if all files are present and in the right directory, if not, it stops)
IF YOU FIND ANY ERRORS OR TYPOS PLEASE REPORT !!
UPDATE 130318
- Fixed a typo on oreoupdate, sorry for this guys!
UPDATE 120318
- Fixed the script for oreoupdate.
- Added version number 120318 for better overview of updates.
- Added MD5.
- Added firmware links for VTR-L09 and VTR-L29 version B360 provided from hwmt firmware database.
- Added screenshots of sd card directory.
- Edited the tutorial for unlocking bootloader and installing TWRP.
UPDATE 180319
- Added spoilers, for better overview
- Added pieupdate, for updating pie and downgrading to oreo
Greetings,
Jannomag
Can i lock the bootloader again after this Method?
Jannomag said:
Hi,
in this tutorial I will guide you how to upgrade from Nougat to Oreo and updating Oreo to newer version, when they are released.
Special thank are going to @mankindtw who wrote the script and @Blackball who released something similar for the P10Plus.
I just edited the script for working with the P10 to make it easier for you.
DISCLAIMER: I don't give any warranty. I tested this on 5 devices without any problems.
This Tutorial ist just for the Huawei P10 (VTR).
This tutorial has two versions:
Tutorial 1: Upgrading your P10 from Nougat to Oreo
Tutorial 2: Updating to a newer Oreo version.
Prerequisites: You need a sd card with minimum 4gb free space, formatted in FAT32.
Also you need an unlocked bootloader and TWRP installed.
Read first, then do it.
Backup, backup, backup - please, don't blame me when you notice data loss.
For everyone who don't know how to unlock bootloader and install TWRP, here's a short tutorial:
- Save all your data, make a backup. Unlocking the bootloader will cause a factory reset!
- Open the developer settings and enable the the "OEM Unlock" and "USB Debugging".
- Boot into fastboot mode by turning off the phone, connect it via usb to you pc and power it on while holding down Volume-Down until you see the white fastboot screen.
- Download the right TWRP version: TWRP 3.1.1-0 for Nougat by @OldDroid - TWRP 3.1.1 for Oreo by @Blackball.
- Flash the TWRP version - there are two different commands for Nougat and Oreo:
Nougat:
Oreo:
- Test it by turning off the phone with holding the power buttong until it's off and boot the phone with DISCONNECTED usb while holding Volume-Up.
Now the real thing:
Tutorial 1 - Upgrade Nougat to Oreo
Mention: I didn't loose any data after upgrading from Nougat to Oreo with this method. None of the guys who tested it noticed any data loss. BUT, no warranty for this!
BACKUP BEFORE YOU UPGADE!
- First you need to find your correct firmware for your model on the Huawei Firmware Database. This is not a rebrand tutorial!
Link: http://pro-teammt.ru/firmware-database
- When you found your version (example VTR-L29C432B360) find the row which containts "FullOTA-MF" and click on file list.
- You need three files: update.zip, update_data_full_public.zip, and update_full_MODEL_hw_[].zip (example update_full_VTR-L29_hw_eu.zip).
- When you downloaded all three files rename it after this:
update.zip stays.
update_data_full_public.zip stays.
update_full_MODEL_hw_[].zip to update_full_hw.zip.
- Download this rar archive.
- Extract the archive on your sd card - you should have a folder named "upgrade" on it. This folder contains three files: oreoupgrade.zip, VTR_RECOVERY_NoCheck.img and VTR_RECOVERY2_NoCheck.img.
- Put the three update zips you downloaded before inside the "upgrade" folder on sd card.
- Insert the sd into your phone and boot into TWRP.
- AGAIN: DO A BACKUP!
- Tap on Install, navigate to your sd card and into the upgrade folder.
- Tap on oreoupgrade.zip and install it.
- The phone will restart by itself - don't press any button!
- eRecovery will start and install the update - if you didn't do anything wrong, it should take around 2 minutes and the phone will do a reboot.
- If the phone won't reboot after update wait at least 5 minutes until you do it by yourself (I had this issue with only one P10).
That's it - you should have Oreo installed.
The script installs the original recovery, so TWRP is removed. The bootloader stays unlocked.
Tutorial 2 - Updating Oreo version
MENTION: This method isn't tested because of the lack of newer version. But it's the same thing as upgrading and should work. I can't give warranty for this. If there will be any problems with it, just contact me and we can work on a solution.
BACKUP BEFORE YOU UPDATEE!
- First you need to find your correct firmware for your model on the Huawei Firmware Database. This is not a rebrand tutorial!
Link: http://pro-teammt.ru/firmware-database
- When you found your version (example VTR-L29C432B360) find the row which containts "FullOTA-MF" and click on file list.
- You need three files: update.zip, update_data_full_public.zip, and update_full_MODEL_hw_[].zip (example update_full_VTR-L29_hw_eu.zip).
- When you downloaded all three files rename it after this:
update.zip stays.
update_data_full_public.zip stays.
update_full_MODEL_hw_[].zip to update_full_hw.zip.
- Download this rar archive.
- Extract the archive on your sd card - you should have a folder named "update" on it. This folder contains three files: oreoupdate.zip, VTR_RECOVERY_OREO_NoCheck.img.
- Put the three update zips you downloaded before inside the "updatee" folder on sd card.
- Insert the sd into your phone and boot into TWRP.
- AGAIN: DO A BACKUP!
- Tap on Install, navigate to your sd card and into the upgrade folder.
- Tap on oreoupdate.zip and install it.
- The phone will restart by itself - don't press any button!
- eRecovery will start and install the update - if you didn't do anything wrong, it should take around 2 minutes and the phone will do a reboot.
- If the phone won't reboot after update wait at least 5 minutes until you do it by yourself (I had this issue with only one P10).
That's it - you should have updated Oreo to a newer version.
The script installs the original recovery, so TWRP is removed. The bootloader stays unlocked.
If there are any issues with this notify me so we can work together to find a solution!
Thanks for testing @tangoalfa
Greetings,
Jannomag
Click to expand...
Click to collapse
Do we have to take FF IMEI check into account before applying this method?
MajaronM said:
Do we have to take FF IMEI check into account before applying this method?
Click to expand...
Click to collapse
FF IMEI check? Do you mean the unlock code generator by Huawei, where you need to enter product no. and IMEI? If yes, you have to do it, because you need to u lock the bootloader.
Jannomag said:
FF IMEI check? Do you mean the unlock code generator by Huawei, where you need to enter product no. and IMEI? If yes, you have to do it, because you need to u lock the bootloader.
Click to expand...
Click to collapse
In Firmware Finder app, you have to check if the update is compatible with your phone. The app check this with the Imei code of the phone. My phone is not yet approved with the actual b360. I was wondering if it was safe to install it.
I can confirm that it Works smoothly as silk!
I went from Romfromfuture B179 worked like a charm.
Thanks.
MajaronM said:
In Firmware Finder app, you have to check if the update is compatible with your phone. The app check this with the Imei code of the phone. My phone is not yet approved with the actual b360. I was wondering if it was safe to install it.
Click to expand...
Click to collapse
Don't use the app. Read the guide, use the Database via Webbrowser on your PC.
Jannomag said:
Don't use the app. Read the guide, use the Database via Webbrowser on your PC.
Click to expand...
Click to collapse
Thanks, I'll give it a try!
Thanks for the tutorial, i find the hwota method more straight forward and the steps are actually pretty much the same to achieve that goal.
LwannaCM said:
Thanks for the tutorial, i find the hwota method more straight forward and the steps are actually pretty much the same to achieve that goal.
Click to expand...
Click to collapse
The script does the same as HWOTA but I know some guys who had problems with HWOTA. Also HWOTA doesn't support the Oreo recovery command, so you have to modify the script by yourself, which isn't easy for everyone. For me this is easier than HWOTA, for others it's not, but you still can choose your favorite method.
I have a problem, I go to install the oreoupdate.zip with all the correct files in the folder but when the device reboots it goes back tot TWRP recovery with this error.
skolebolle said:
I went from Romfromfuture B179 worked like a charm.
Thanks.
Click to expand...
Click to collapse
Please, can you tell me what you do? Did you lost you data? I'm now on 179 FromFuture. Do you have Magisk and what rom you flash?
Sent from my Huawei P10 using XDA Labs
Hi!
I did not lost data at all. Just root. Followed the guide with a room that FF says is approved to my device. Did not restart after update thought. But restarted myself after some minute's.
Supergood rom with speed and good battery management.
Jannomag said:
The script does the same as HWOTA but I know some guys who had problems with HWOTA. Also HWOTA doesn't support the Oreo recovery command, so you have to modify the script by yourself, which isn't easy for everyone. For me this is easier than HWOTA, for others it's not, but you still can choose your favorite method.
Click to expand...
Click to collapse
There you are totally right. I never thought about it yet, because i wans´t curious (or stupid) enough to use the beta. So i wasn´t in the position to update oreo.
Just curious, did you use the hwota8 from mankindtw for this (https://forum.xda-developers.com/mate-9/how-to/guide-mate-9-flash-oreo-update-package-t3699522)?
I can also confirm it´s working, so thanks again!
If it´s ok for you, i will post your guide in my thread?
SeanTho said:
I have a problem, I go to install the oreoupdate.zip with all the correct files in the folder but when the device reboots it goes back tot TWRP recovery with this error.
Click to expand...
Click to collapse
If you read the error text, then you should be able to find a solution by yourself.
The update.zip is missing. Did you download the three update files and placed them into the oreoupgrade folder on SD card?
Jannomag said:
If you read the error text, then you should be able to find a solution by yourself.
The update.zip is missing. Did you download the three update files and placed them into the oreoupgrade folder on SD card?
Click to expand...
Click to collapse
Yes I followed the guide and made sure all the files were in the right place
SeanTho said:
Yes I followed the guide and made sure all the files were in the right place
Click to expand...
Click to collapse
Can you share a screenshot of you SD card content including content of oreoupgrade folder on it, please? I need to be sure. Is your sd card formattet to FAT32?
Jannomag said:
Can you share a screenshot of you SD card content including content of oreoupgrade folder on it, please? I need to be sure. Is your sd card formattet to FAT32?
Click to expand...
Click to collapse
Of course, here you go
And there we have it.
The folder name is wrong, it hast to be "oreoupgrade" and it should've this name when you extract it. The script looks for the path /sdcard/oreoupgrade/...

Categories

Resources