yashsingh1/xdaforums huggingface dataset:
[Huawei P10 Guides, News, & Discussion] Jannomag:
it is, as I said above.

Please visit the Magisk forums here at XDA and search for Huawei. You’ll see tutorials. It’s just different as it is under EMUI8.

BTW, for me it fits perfectly into Huaweis new politics for „better user experience“ by stopping people from unlocking and rooting by making it harder to unlock their devices and install things like Magisk. There’s no need to remove the actual boot partition, this will cause extremely hard to fix problems like I had. You can deep fry your phone just by flashing things as usual.
[Huawei P10 Guides, News, & Discussion] aalmeida1972:
I tried to install it, but in the end gives me an error
[Huawei P10 Guides, News, & Discussion] Jannomag:
Again, go into Magisk forums for support. And without postin the error no one is able to help you.

I got it working by doing a factory reset and install it after that. Installing without reset seems to be a problem.
[Huawei P10 Guides, News, & Discussion] aalmeida1972:
There are so many tutorials, but no one seems to talk about this.

By the way, the error is "Failed to mount /vendor (Device or resource busy)
[Huawei P10 Guides, News, & Discussion] Jannomag:
- Download Update.zip from FF, fitting to your firmware

- extract containing recovery_ramdisk from update.app with Huawei Update Extractor

- load the recovery_ramdisk.img on your sd

- Open Magisk Manager, select install and “patch boot image “.

- select the recovery_ramdisk.img and patch it

- copy the patched img to your pc

- start your phone into fast boot

- flash patched recovery with “fastboot flash recovery_ramdisk \PATH\TO\PATCHED.IMG”

- reboot your phone with holding Vol+ like you want to boot into recovery

This should work, if not, do a factory rest with eRecovery. If you want to get into stock recovery you need to reflash the stock image.

You also need to boot like this every time, otherwise Magisk isn’t working.
[Huawei P10 Guides, News, & Discussion] netmaniack:
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.
[Huawei P10 Guides, News, & Discussion] SeanTho:
I have tried it with oreoupgrade and it still didn't work if you look at the screenshot I posted of the TWRP error log
[Huawei P10 Guides, News, & Discussion] Jannomag:
When you named the folder "oreoflash" open the terminal in twrp and post a screenshof of the output of the command "ls /sdcard/oreoupgrade/" please.

You screenshot of the TWRP log don't show if you used the correct path, it just shows that twrp couldn't find the file under /sdcard/oreoupgrade.
[Huawei P10 Guides, News, & Discussion] cesedy:
Hi.

Can I use this method if my phones version is VTR-L29C432B151 and I have ROOTed it?
[Huawei P10 Guides, News, & Discussion] Jannomag:
Yes. Just download the B360 for VTR-L29C432 and you're good. The root is gone but I've added a link to Magisk for Oreo by [MENTION=477335]Blackball[/MENTION].
[Huawei P10 Guides, News, & Discussion] cesedy:
How long do I have to wait in TWRP?

The last line is "Skipping MD5 check: no MD5 file found", and it is loading for 15mins now.

I should mention, that I have TWRP 3.1.0, if that means something.

Edit: Dang, I made a mistake and flashed update for P10+. Now am trying to switch back from P10+ to P10.
[Huawei P10 Guides, News, & Discussion] madoxx77:
Will bootlader relock after upgrade ? I read somewhere that flashing stock firmware will relock bootlader automatically

EDIT: I see it now, you already wrote it
[Huawei P10 Guides, News, & Discussion] urbanboymne:
Ypu can relock bootloader using Huawei Multi-tool but you can relock in all. You will continue to see black screen wich cautions when you boot your phone. I didnt try to afther relocking bootloader to flash again new rom, mabey in this solution phone will be like in factory state...
[Huawei P10 Guides, News, & Discussion] MajaronM:
By pure curiosity, why this method need a FAT32 sd card ?
[Huawei P10 Guides, News, & Discussion] Avil:
Hello together,

at the Moment I'm on VTR-L09C432B162. How do I find the right Firmware?

thanks
[Huawei P10 Guides, News, & Discussion] Jannomag:
FAT32 is more stable than exFAT on Android. exFAT can produce such errors like you have. NTFS isn't supported. The only other filesystem which should work is ext4, but this one is just available for Linux.

Take a look in my first post. I've linked the Firmware Database by TeamMT. There's a search bar where you enter your model "VTR-L09C432". Then click on filelist of the newest FullOTA version and download the three needed files. It's all there in my tutorial.
[Huawei P10 Guides, News, & Discussion] urbanboymne:
I will try this when stable Oreo rom will released.
[Huawei P10 Guides, News, & Discussion] Jannomag:
Since it's not a beta it should be a stable version. It's just not out for most VTR-L09/L29 devices but I read news about first phones in Europe are getting this version via OTA at this time.
[Huawei P10 Guides, News, & Discussion] quocanh21081992:
what is twrp used here??
[Huawei P10 Guides, News, & Discussion] Jannomag:
What do you mean? Which version or for what....?
[Huawei P10 Guides, News, & Discussion] quocanh21081992:
i use p10 C636 asia pacific but i can't flash update.zip. TWRP error 9 :( help me
[Huawei P10 Guides, News, & Discussion] grockstar:
Grateful for any help please....

Like a complete idiot I manually flashed a P10 *Plus* (VKY) Oreo firmware. It booted, but the display was obviously badly scaled and there was no mobile network.

I tried to reflash the correct firmware, but TWRP exited shortly (too shortly?) into the flashing process. Now I can't get even get into TWRP. Flashing a recovery again appears to work, but the system hangs on the 'bootloader unlocked' warning screen when I try to boot into recovery, and throws errors 11 (recovery image) and error 2 (load failed) when booting normally.

I can get into fastboot if anybody can suggest a way out of this...

Or have I bricked the phone?
[Huawei P10 Guides, News, & Discussion] urbanboymne:
If your phone always go on white screen "bootloader unlock" thats is good... Thah is "download mode" or "fastboot" and you can save your phone flashing TWRP. I suggest you to flash 3.1.1 from "FromFuture" 164,179 rom... This twrp is fully worked. Follow instructions from that page "FromFuture rom" and flash 179 rom. Than you will have backed your phone back. Afther this use this instructions for Oreo update.
[Huawei P10 Guides, News, & Discussion] Jannomag:
Did you download the update.zip from the FullOTA package (above 2GB in size) for the correct phone version?

Maybe the update has already reformatted the phone to oreos new schema.

Can you paste your fastboot output from flashing the recovery here, please?

Did you try to flash recovery with "fastboot flash recovery_ramdisk TWPR_OREO.IMG"? Try this please - but only with the TWRP Oreo version. Then paste the output of fastboot cmd here, please.
[Huawei P10 Guides, News, & Discussion] tiktok1:
I'm about to try this for my C636, thanks for the guide.

Just not sure if I can use the FullOTA-PV version. Yhe xml indicates its an Oreo upgrade. Not sure what the PV means, any thoughts?
[Huawei P10 Guides, News, & Discussion] grockstar:
Thanks for the pointers. So, I did flash the Oreo TWRP. However I can't paste the output as the situation has now got worse.

I can't even get into fastboot now, so appear to have a hard brick on my hands. I followed a suggestion in one of the other threads (can't locate atm) involving manually flashing partitions and re-locking then unlocking the bootloader. However, after unlocking the bootloader, the phone now hangs on the 'bootloader locked' warning screen (bizarrely) with no possibility to get into fastboot.

The moral is obviously 'when you're in a hole, stop digging'. I hope Huawei's repair centre takes pity on me :o
[Huawei P10 Guides, News, & Discussion] Jannomag:
Okay, than this is the issue. Thanks.
[Huawei P10 Guides, News, & Discussion] netmaniack:
It would be possible to update whit your script new releases?
[Huawei P10 Guides, News, & Discussion] Jannomag:
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.
[Huawei P10 Guides, News, & Discussion] lukastob:
[MENTION=6954776]Jannomag[/MENTION] 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:

echo --update_package=[B][COLOR="Red"]/sdcard[/COLOR][/B]/pieupgrade/update.zip >> /cache/recovery/command
[Huawei P10 Guides, News, & Discussion] Jannomag:
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!
[Huawei P10 Guides, News, & Discussion] aalmeida1972:
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
[Huawei P10 Guides, News, & Discussion] Jannomag:
You need to disable CRC check in the application settings.

Your linked screenshot is a local path and not accessible for us, btw.
[Huawei P10 Guides, News, & Discussion] aalmeida1972:
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!
[Huawei P10 Guides, News, & Discussion] stefan.irmen:
Does your Tutorial #4 work for upgrading Pie 157 to the new Pie 159 which was released this night? (Found it on Firmwarefinder?)
[Huawei P10 Guides, News, & Discussion] Jannomag:
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...
[Huawei P10 Guides, News, & Discussion] lukastob:
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 [MENTION=6954776]Jannomag[/MENTION] 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.
[Huawei P10 Guides, News, & Discussion] netmaniack:
What did You change in script?
[Huawei P10 Guides, News, & Discussion] Jannomag:
He added that the script stops, when there are three files in the directory. When update_data_full_public.zip is present, the script will stop.

This is a good idea, I will add this, when I'm allowed to, [MENTION=6547699]lukastob[/MENTION].
[Huawei P10 Guides, News, & Discussion] lukastob:
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')
[Huawei P10 Guides, News, & Discussion] stefan.irmen:
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... :(
[Huawei P10 Guides, News, & Discussion] lukastob:
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.
[Huawei P10 Guides, News, & Discussion] stefan.irmen:
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?
[Huawei P10 Guides, News, & Discussion] lukastob:
If you are on pie already use my script, don't worry about 'downgrade' in name.
[Huawei P10 Guides, News, & Discussion] stefan.irmen:
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 [MENTION=6954776]Jannomag[/MENTION] 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:
[Huawei P10 Guides, News, & Discussion] lukastob:
When you download piedowngrade_pack.zip check md5 then unzip it and you get piedowngrade.zip that's the one you install in twrp, read carefully tutorial and my post, should work properly.
[Huawei P10 Guides, News, & Discussion] stefan.irmen:
Big sorry!!! It was my mistake... :D

I did like you said - and it worked! Updating from Pie Beta Rom to the first Pie Stable Rom with your script :good:

Thanks a lot for your work!!!
[Huawei P10 Guides, News, & Discussion] hex@dec:
Can I upgrade to pie from AOSP 9.0?

Since only the system image is different (from EMUI 8.0), it should be fine IMO, but I need some confirmation before I try it.
[Huawei P10 Guides, News, & Discussion] lukastob:
If only the system image is different that should work but I can't confirm because didn't flash over any custom rom. To be certain maybe ask in custom rom threads about tested method to go back to stock rom then update to pie.
[Huawei P10 Guides, News, & Discussion] Jannomag:
If you backed up the system image before you flashed the ROM, please restore it first and do a factory reset, just so be safe.

I bricked my phone trying to do this. First it was a softbrick, I think it was because the missing factory reset on stock rom.

Then I installed the wrong downgrade files, which was a dump mistake, but this is another topic.
[Huawei P10 Guides, News, & Discussion] hex@dec:
Uh, that is scary. And thanks for your help, in this case I will definitely restore the stock rom first, and only if that boots will I flash the EMUI 9.
[Huawei P10 Guides, News, & Discussion] aalmeida1972:
How can we update from p157 to p163 (pie)? I tried the #4 tutorial from Jannomag, but it doesn't work out.
[Huawei P10 Guides, News, & Discussion] Jannomag:
It should work, can you please post the TWRP log?
[Huawei P10 Guides, News, & Discussion] aalmeida1972:
How I get the twrp log?
[Huawei P10 Guides, News, & Discussion] SebastianAlejandro:
thanks for the script!
[Huawei P10 Guides, News, & Discussion] aalmeida1972:
This is the message I get
[Huawei P10 Guides, News, & Discussion] lukastob:
[MENTION=6202024]aalmeida1972[/MENTION] try to use my piedowngrade script i should work for pie upgrade also. You will find it few posts earlier.
[Huawei P10 Guides, News, & Discussion] aalmeida1972:
How can pie downgrade, will help, if I want to update? If so where where can I find the steps? Thanks
[Huawei P10 Guides, News, & Discussion] lukastob:
Read from post #403
[Huawei P10 Guides, News, & Discussion] Jannomag:
[MENTION=6547699]lukastob[/MENTION] Modified the script so the partition names are correct. The recovery partitions was called recovery_ramdisk_a on Oreo, now on Pie it's just recovery_ramdisk.

I'm ready with Tutorial #5, but I need the stock recovery_ramdis.img from latest Pie update.APP. It would be great, if someone has it and can upload it for me. At the moment the download would take too long for me (3 hrs).
[Huawei P10 Guides, News, & Discussion] netmaniack:
From B157 or B163?

EDIT: I uploaded both, but file size seems to be the same, so most likely, there is no difference between them.

B157 https://cloud.harijs.id.lv/index.php/s/YTajryMrQMjqkMT

B163 https://cloud.harijs.id.lv/index.php/s/DL5GL5kEHyM9Y7F
[Huawei P10 Guides, News, & Discussion] Mr.Legend:
I'd like to upgrade my pie version 157 to 163. To do that, i need TWRP but there is no working twrp for pie. How can I upgrade my version? Thanks
[Huawei P10 Guides, News, & Discussion] Jannomag:
I'll release Tutorial #5 tomorrow when I have the time. Oreos TWRP still works under Pie, but without decryption, maybe sideload and mtp. But for flashing my script it will be enough.
[Huawei P10 Guides, News, & Discussion] Mr.Legend:
Thanks for your reply. I managed to install TWRP but when I flash pieupdate.zip, script returns an error says unable to detect flash type. a
[Huawei P10 Guides, News, & Discussion] Jannomag:
UPDATE 180319

- Added spoilers, for better overview

- Added pieupdate, for updating pie and downgrading to oreo
[Huawei P10 Guides, News, & Discussion] netmaniack:
Updated C432 to B163 just fine, tnx.

EDIT: I noticed in script this part:

I need to do this now, or I have already missed opportunity?
[Huawei P10 Guides, News, & Discussion] Jannomag:
I added this note because the modified recovery which gets flashed by the script is for Oreo and it can cause errors when doing recovery or factory reset, or even OTA. If you don't want to do those, there's no need for flashing it after updating but it's better because it's definitely working on Pie since it's stock.
[Huawei P10 Guides, News, & Discussion] netmaniack:
I flashed that, but isn't it flashed after stock fw update? All partitions should be flashed or am I wrong?
[Huawei P10 Guides, News, & Discussion] Jannomag:
Not sure, I don't know if the update will also install a new recovery, I never checked this.

Maybe it does, maybe it doesn't. If not and you want to do a factory reset it may can cause issues
[Huawei P10 Guides, News, & Discussion] netmaniack:
Better be safe, that's for sure.
[Huawei P10 Guides, News, & Discussion] nocio:
I'm successfully downgraded from PIE to OREO(B386) via tutorial #5. Every little thing is going well, and now I will wait to official PIE via OTA.

Big thanks for your help on how to downgrade. You are the best!!!
[Huawei P10 Guides, News, & Discussion] karayemis:
I have update 384 to 386 using method 4, but now i cant get in to fastboot boot loader anymore. In ADB my device is not recognized (waiting for device) i think i have to get in to fastboot to install drivers, but i can't get in. I tried Using power en volume down button, but nothing happens it just starts in to the OS. I have already tried hard reset and erecovery not luck.

Device is being reconized use ADB device, but commands like reboot recovery or bootloader don't work

Can anybody help me out ?
[Huawei P10 Guides, News, & Discussion] Disillusionedsal:
P10 Plus VKY-L09 (No recovery, No Boot, Error! Func NO : 11)

Got the phone back from Huawei service center. They're asking for $500 to replace the motherboard and were unable to upload the factory image.

I would appreciate any advice from fellow members on this.
[Huawei P10 Guides, News, & Discussion] the-bomber:
i did restore stock recovery (extracted from update APP) but when i try to wipe and factory from eRecovery i get the Error no recovery problem!

----------------------------------------------

Edit: nevermind, i flashed the one you included and old recovery is fine and i did a factory reset and everything looks fine!

play store uncertified! but can download and use it.

can i lock bootloader and every works fine ?
[Huawei P10 Guides, News, & Discussion] nabeelrazanaqvi:
Hi everyone

I have Huawei p10 VTR-L29 running stock emui 8. I have downloaded the pie update zip file update.zip from firmware finder other section. Now I desperately need to know that how to use that update package because I am totally stock and bootloader locked. Emui8 does not have option to local update anymore and I can't update in system update or update via dns working. So please guide me as I am searching for last 6 days

Thanks in advance
[Huawei P10 Guides, News, & Discussion] Jannomag:
eRecovery should be still oreo's recovery because my script flashes this, too.

If you're rooted please do following (all commands need to be entered without qoutes!):

- Extract recovery_ramdis and erecovery_ramdis image files into a directory on SD or internal memory without a directory.

- Connect your phone with your PC and open ADB shell (CMD, PowerShell, pp...type "adb shell").

- Navigate to your internal memory by typing: "cd /data/media/0/" and ENTER.

- 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.

RECOVERY_RAMDIS.IMG and ERECOVERY_RAMDIS.IMG are the two files - I don't know if I wrote the names correctly, so please change them if they're different.

Explanation:

The dd command will flash an IMG file (if = input file) to a partition (of = output file).

If you're not rooted, please flash TWRP from the first post (stills works under Pie).

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.

Install the flashrecovery_pie.zip with TWRP. The phone will reboot after flashing the recovery.

+++ GENERAL NEWS +++

I added a tutorial for flashing recovery with root commands or twrp to the first post.

You need to unlock the bootloader if you want to update manually - there's no other way beside official OTA to update your phone. And, if my information is correct, there's no way to unlock the bootloader after Dec.18 security patches, even with DC Phoenix.

You need to wait until Huawei will update your phone via OTA if unlocking doesn't work.