[TOOL] Huawei Update Extractor [UPDATED: v0.9.9.5] | OPEN-SOURCE LIBRARY

odj

New member
Feb 2, 2017
2
0
0
Create a profiles.xml

Hi. I have a huawei p10 lite with 2
Card slots. It's system is broken.
I downloaded the update.APP,
i opened it with your tool HW upd. extra.
I flashed Boot.img, system.IMG and the 2 recovery*.IMG
Still doesn't work. Recovery asks for online update by wifi, but then doesnt find anything.
Even dload update.APP dont work.
So i hoped to create flashable ZIP with
your tool. But it always sais "no suitable files selected check profiles.XML.
Any idea? I want a zipped OS for flashin it
by twrp. Is there any Chance for me to make
flash my system AS ZIP by twrp. Is there a tool or
anything how i could get the profiles.XML.
Thanks in advance,
odj.


d
 

a1Pha

Senior Member
Nov 26, 2007
281
837
0
Hamburg
www.storozhev.net
P20 Pro, CLT-L09 C432 on 8.1.0.106:

Code:
HWCLT:/dev/block/platform/ff3c0000.ufs/by-name $ ls -la
total 0
drwxr-xr-x 2 root root 1300 2018-04-09 20:34 .
drwxr-xr-x 4 root root 1420 2018-04-09 20:34 ..
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 bootfail_info -> /dev/block/sdd18
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 cache -> /dev/block/sdd58
lrwxrwxrwx 1 root root   15 2018-04-09 20:34 certification -> /dev/block/sdd5
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 cust_a -> /dev/block/sdd56
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 ddr_para -> /dev/block/sdd15
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 dfx -> /dev/block/sdd20
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 dto_a -> /dev/block/sdd43
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 dts_a -> /dev/block/sdd42
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 erecovery_kernel_a -> /dev/block/sdd35
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 erecovery_ramdisk_a -> /dev/block/sdd36
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 erecovery_vbmeta_a -> /dev/block/sdd48
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 erecovery_vendor_a -> /dev/block/sdd37
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 fastboot_a -> /dev/block/sdd28
lrwxrwxrwx 1 root root   15 2018-04-09 20:34 frp -> /dev/block/sdc1
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 fw_hifi_a -> /dev/block/sdd32
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 fw_lpm3_a -> /dev/block/sdd22
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 hdcp_a -> /dev/block/sdd24
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 hhee_a -> /dev/block/sdd26
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 hisee_encos -> /dev/block/sdd13
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 hisee_fs_a -> /dev/block/sdd27
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 hisee_img_a -> /dev/block/sdd25
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 isp_boot_a -> /dev/block/sdd30
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 isp_firmware_a -> /dev/block/sdd31
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 kernel_a -> /dev/block/sdd38
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 misc -> /dev/block/sdd19
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 modem_fw_a -> /dev/block/sdd45
lrwxrwxrwx 1 root root   15 2018-04-09 20:34 modem_om -> /dev/block/sdd8
lrwxrwxrwx 1 root root   15 2018-04-09 20:34 modem_secure -> /dev/block/sdd3
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 modemnvm_backup -> /dev/block/sdd10
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 modemnvm_cust_a -> /dev/block/sdd51
lrwxrwxrwx 1 root root   15 2018-04-09 20:34 modemnvm_factory -> /dev/block/sdd9
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 modemnvm_img -> /dev/block/sdd11
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 modemnvm_system -> /dev/block/sdd12
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 modemnvm_update_a -> /dev/block/sdd50
lrwxrwxrwx 1 root root   15 2018-04-09 20:34 nvme -> /dev/block/sdd4
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 odm_a -> /dev/block/sdd57
lrwxrwxrwx 1 root root   15 2018-04-09 20:34 oeminfo -> /dev/block/sdd6
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 patch_a -> /dev/block/sdd52
lrwxrwxrwx 1 root root   15 2018-04-09 20:34 persist -> /dev/block/sdc2
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 product_a -> /dev/block/sdd55
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 ramdisk_a -> /dev/block/sdd39
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 recovery_ramdisk_a -> /dev/block/sdd40
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 recovery_vbmeta_a -> /dev/block/sdd47
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 recovery_vendor_a -> /dev/block/sdd41
lrwxrwxrwx 1 root root   15 2018-04-09 20:34 reserved1 -> /dev/block/sdc3
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 reserved2 -> /dev/block/sdd16
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 reserved3_a -> /dev/block/sdd23
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 reserved4_a -> /dev/block/sdd46
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 rrecord -> /dev/block/sdd21
lrwxrwxrwx 1 root root   15 2018-04-09 20:34 secure_storage -> /dev/block/sdd7
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 sensorhub_a -> /dev/block/sdd34
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 splash2 -> /dev/block/sdd17
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 system_a -> /dev/block/sdd59
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 teeos_a -> /dev/block/sdd33
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 trustfirmware_a -> /dev/block/sdd44
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 userdata -> /dev/block/sdd60
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 vbmeta_a -> /dev/block/sdd49
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 vector_a -> /dev/block/sdd29
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 vendor_a -> /dev/block/sdd54
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 veritykey -> /dev/block/sdd14
lrwxrwxrwx 1 root root   16 2018-04-09 20:34 version_a -> /dev/block/sdd53
lrwxrwxrwx 1 root root   15 2018-04-09 20:34 vrl -> /dev/block/sdd1
lrwxrwxrwx 1 root root   15 2018-04-09 20:34 vrl_backup -> /dev/block/sdd2
HWCLT:/dev/block/platform/ff3c0000.ufs/by-name $
Code:
<Profile name="Huawei P20 Pro" author="Zanooda"> 
    <Files> 
      <File type="crc" filetype="checksum">crc.img</File> 
      <File type="curver">curver.img</File> 
      <File type="sha256rsa" filetype="signature">sha256rsa.img</File>      
      <File type="xloader">xloader.img</File> 
      <File type="bootfail_info" partition="/dev/block/sdd18">bootfail_info.img</File>   
      <File type="cache" partition="/dev/block/sdd58">cache.img</File>   
      <File type="certification" partition="/dev/block/sdd5">certification.img</File>      
      <File type="cust-a" partition="/dev/block/sdd56">cust-a.img</File> 
      <File type="ddr-para" partition="/dev/block/sdd15">ddr-para.img</File> 
      <File type="dfx" partition="/dev/block/sdd20">dfx.img</File> 
      <File type="dto-a" partition="/dev/block/sdd43">dto-a.img</File> 
      <File type="dts-a" partition="/dev/block/sdd42">dts-a.img</File> 
      <File type="erecovery_kernel_a" partition="/dev/block/sdd35">erecovery_kernel_a.img</File> 
      <File type="erecovery_ramdisk_a" partition="/dev/block/sdd36">erecovery_ramdisk_a.img</File>       
      <File type="erecovery_vbmeta_a" partition="/dev/block/sdd48">erecovery_vbmeta_a.img</File> 
      <File type="erecovery_vendor_a" partition="/dev/block/sdd37">erecovery_vendor_a.img</File> 
      <File type="fastboot_a" partition="/dev/block/sdd28">fastboot_a.img</File> 
      <File type="frp" partition="/dev/block/sdc1">frp.img</File>      
      <File type="fw_hifi_a" partition="/dev/block/sdd32">fw_hifi_a.img</File> 
      <File type="fw_lpm3_a" partition="/dev/block/sdd22">fw_lpm3_a.img</File> 
      <File type="hdcp_a" partition="/dev/block/sdd24">hdcp_a.img</File>
      <File type="hhee_a" partition="/dev/block/sdd26">hhee_a.img</File>
      <File type="hisee_encos" partition="/dev/block/sdd13">hisee_encos.img</File>
      <File type="hisee_fs_a" partition="/dev/block/sdd27">hisee_fs_a.img</File> 
      <File type="hisee_img_a" partition="/dev/block/sdd25">hisee_img_a.img</File> 
      <File type="isp_boot_a" partition="/dev/block/sdd30">isp_boot_a.img</File> 
      <File type="isp_firmware_a" partition="/dev/block/sdd31">isp_firmware_a.img</File>       
      <File type="kernel_a" partition="/dev/block/sdd38">kernel_a.img</File> 
      <File type="misc" partition="/dev/block/sdd19">misc.img</File> 
      <File type="modem_fw_a" partition="/dev/block/sdd45">modem_fw_a.img</File> 
      <File type="modem_om" partition="/dev/block/sdd8">modem_om.img</File> 
      <File type="modem_secure" partition="/dev/block/sdd3">modem_secure.img</File>       
      <File type="modemnvm_backup" partition="/dev/block/sdd10">modemnvm_backup.img</File> 
      <File type="modemnvm_cust_a" partition="/dev/block/sdd51">modemnvm_cust_a.img</File> 
      <File type="modemnvm_factory" partition="/dev/block/sdd9">modemnvm_factory.img</File> 
      <File type="modemnvm_img" partition="/dev/block/sdd11">modemnvm_img.img</File> 
      <File type="modemnvm_system" partition="/dev/block/sdd12">modemnvm_system.img</File> 
      <File type="modemnvm_update_a" partition="/dev/block/sdd50">modemnvm_update_a.img</File> 
      <File type="nvme" partition="/dev/block/sdd4">nvme.img</File> 
      <File type="odm_a" partition="/dev/block/sdd57">odm_a.img</File> 
      <File type="oeminfo" partition="/dev/block/sdd6">oeminfo.img</File> 
      <File type="patch_a" partition="/dev/block/sdd52">patch_a.img</File> 
      <File type="persist" partition="/dev/block/sdc2">persist.img</File> 
      <File type="product_a" partition="/dev/block/sdd55">product_a.img</File> 
      <File type="ramdisk_a" partition="/dev/block/sdd39">ramdisk_a.img</File>       
      <File type="recovery_ramdisk_a" partition="/dev/block/sdd40">recovery_ramdisk_a.img</File> 
      <File type="recovery_vbmeta_a" partition="/dev/block/sdd47">recovery_vbmeta_a.img</File>  
      <File type="recovery_vendor_a" partition="/dev/block/sdd41">recovery_vendor_a.img</File>        
      <File type="reserved1" partition="/dev/block/sdc3">reserved1.img</File>      
      <File type="reserved2" partition="/dev/block/sdd16">reserved2.img</File> 
      <File type="reserved3_a" partition="/dev/block/sdd23">reserved3_a.img</File> 
      <File type="reserved4_a" partition="/dev/block/sdd46">reserved4_a.img</File> 
      <File type="rrecord" partition="/dev/block/sdd21">rrecord.img</File>       
      <File type="secure_storage" partition="/dev/block/sdd7">secure_storage.img</File>      
      <File type="sensorhub_a" partition="/dev/block/sdd34">sensorhub_a.img</File> 
      <File type="splash2" partition="/dev/block/sdd17">splash2.img</File> 
      <File type="system_a" partition="/dev/block/sdd59">system_a.img</File>      
      <File type="teeos_a" partition="/dev/block/sdd33">teeos_a.img</File> 
      <File type="trustfirmware_a" partition="/dev/block/sdd44">trustfirmware_a.img</File> 
      <File type="userdata" partition="/dev/block/sdd60">userdata.img</File> 
      <File type="vbmeta_a" partition="/dev/block/sdd49">vbmeta_a.img</File>  
      <File type="vector_a" partition="/dev/block/sdd29">vector_a.img</File>  
      <File type="vendor_a" partition="/dev/block/sdd54">vendor_a.img</File> 
      <File type="veritykey" partition="/dev/block/sdd14">veritykey.img</File> 
      <File type="version_a" partition="/dev/block/sdd53">version_a.img</File>         
      <File type="vrl" partition="/dev/block/sdd1">vrl.img</File> 
      <File type="vrl_backup" partition="/dev/block/sdd2">vrl_backup.img</File> 
    </Files> 
  </Profile>
 

waldis2

Senior Member
Sep 21, 2010
55
1
0
Hello!

This tool can not process the APP file with android 8 firmware for P10 Plus.
But worked good for previous firmwares with android 7.
Is there any chance to get it working with new firmwares?

Best regards
 

vayavalla

Senior Member
Jan 24, 2012
940
276
0
Hello!

This tool can not process the APP file with android 8 firmware for P10 Plus.
But worked good for previous firmwares with android 7.
Is there any chance to get it working with new firmwares?

Best regards
Same problem her with latest firmware for honor 9 lite
 

DallasCZ

Senior Member
Feb 10, 2012
1,937
796
143
Mikulov
Is it SAFE to ignore this warning?? Will not I receive the bricked phone after flashing images extracted in this way?
I have done it about 20 times allready (on huawei p10, honor 9, huawei mate 10pro..).
but as always i am not responsible if you brick your phone (neither the author of this tool).
 

p181153

Senior Member
Apr 26, 2018
95
5
0
hello I have a P8 Lite 2017, I've extracted some firware but I can't find any cust.img. The update are Full-OTA how to get a cust.img please? I also extracted a oreo firmware but this time cust.img, boot.img and recovery are missing. Why ?
 
Last edited:

DallasCZ

Senior Member
Feb 10, 2012
1,937
796
143
Mikulov
hello I have a P8 Lite 2017, I've extracted some firware but I can't find any cust.img. The update are Full-OTA how to get a cust.img please? I also extracted a oreo firmware but this time cust.img, boot.img and recovery are missing. Why ?
there are always three zip files. you have to unzip all three and unpack all three xxx.app files i one of them there is also cust.img
 

Party5999

Senior Member
May 26, 2018
148
9
28
How to make a flashable zip?

I need it especially for MODEM.img.

When i try to do that, it comes an error: "No suitable files selected. Check profiles.xml".
 

DallasCZ

Senior Member
Feb 10, 2012
1,937
796
143
Mikulov
How to make a flashable zip?

I need it especially for MODEM.img.

When i try to do that, it comes an error: "No suitable files selected. Check profiles.xml".
you cannot do flashable zips with this app. just flash it manually "fastboot flash xxxxx modem.img" the xxxxx is the name of the modem partition. in P10 its "modem_fw_a". I think because of the partition size. Never flashed it manually by myself on my P10.
 

iZLeeP

Senior Member
Jan 23, 2014
528
151
0
Manila
Hello!

This tool can not process the APP file with android 8 firmware for P10 Plus.
But worked good for previous firmwares with android 7.
Is there any chance to get it working with new firmwares?

Best regards
Same problem her with latest firmware for honor 9 lite
The tool needs to be updated to handle Android 8.0 firmware files. Read from this site (google translated) to learn more (IMPORTANT INFORMATION about Android 8).
 
  • Like
Reactions: FearFac

reeved

Senior Member
Jan 9, 2014
115
15
0
I'm trying to use this tool to dump the system img on my P20 Pro but everytime i try to open the system.img file windows says that it is corrupted (along with all the other image files extracted by this app). Is there any way around this?
 

Party5999

Senior Member
May 26, 2018
148
9
28
you cannot do flashable zips with this app. just flash it manually "fastboot flash xxxxx modem.img" the xxxxx is the name of the modem partition. in P10 its "modem_fw_a". I think because of the partition size. Never flashed it manually by myself on my P10.
I have already tried many times to flash the MODEM.img in modem partition but i cannot. It says "FAILED (remote: Command not allowed).
The same is if i try with radio partition...

What can i do?

(Sorry for my bad english)