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

worstenbrood

Senior Member
May 14, 2008
1,063
1,401
0
I unpacked the Update.app to modify, once you compress it again, it fails when installing it, I really need since my usb port was broken, so I can not even rooting, or installing roms. So this program is my solution, please do not let it to update, I really need. Sorry for my bad English.
Thats because the signing part is missing (you need Huawei's private rsa key for this). Since i don't own a Huawei device i cannot really test and noone seems to be interested to test anyway. I think most users use the extract features, so most updates are in that part.

btw, how do you charge your phone anyway without usb ? :)
 

RamiroVevo

New member
Nov 19, 2013
2
0
0
Thats because the signing part is missing (you need Huawei's private rsa key for this). Since i don't own a Huawei device i cannot really test and noone seems to be interested to test anyway. I think most users use the extract features, so most updates are in that part.

btw, how do you charge your phone anyway without usb ? :)
Ok so I can not replace the personalized one stockrecovery.img as is TRWP that bad this tool was my solution, no way.
The cell phone is a multi-office with it, for this I have to remove the battery and is quite annoying: (
 

surdu_petru

Recognized Contributor
Feb 3, 2010
6,508
22,052
263
Paris
Thats because the signing part is missing (you need Huawei's private rsa key for this). Since i don't own a Huawei device i cannot really test and noone seems to be interested to test anyway. I think most users use the extract features, so most updates are in that part.

btw, how do you charge your phone anyway without usb ? :)
Hello !

Thank you very much for your work ! If you need some help , please let me know by contacting me on PM ! Thanks !

Ok so I can not replace the personalized one stockrecovery.img as is TRWP that bad this tool was my solution, no way.
The cell phone is a multi-office with it, for this I have to remove the battery and is quite annoying: (
As you know, P6 has not a removable battery !
 

ngamyarthar

Member
Nov 29, 2013
10
9
0
Yangon
Huawei Update Extractor

Using the unknown profile, you will be able to unpack the update, but creating a flashable zip will not work.

Sent from my Nexus 4 using xda app-developers app
I finished editing of your profiles that huawei update extractor can also repack to update.app which can update corresponding devices.Thank you very much.
 
  • Like
Reactions: goktahan

worstenbrood

Senior Member
May 14, 2008
1,063
1,401
0
Brother worstenbrood , can you create crc file in huawei firmware? Have you software for creating crc file? If you have, please share me.Thank for your huawei update extractor tool.
That's what the repack function does:

It recalculates the the crc of:
- the header (crc stored in the header)
- the file (crc stored after the header and before the file data)
- the complete update.app (crc stored in a separate file inside the update.app)
 

ngamyarthar

Member
Nov 29, 2013
10
9
0
Yangon
That's what the repack function does:

It recalculates the the crc of:
- the header (crc stored in the header)
- the file (crc stored after the header and before the file data)
- the complete update.app (crc stored in a separate file inside the update.app)
Thank for your answer.I have crc.c that create the crc file (crc stored after the header and before the file data) but can't the same a checksum crc file included in Hw firmware.I found checksum of small files but can't find checksum of large file. Why?
Please explain me.I am waiting for your reply.
 
Last edited:
  • Like
Reactions: omidhamed

ngamyarthar

Member
Nov 29, 2013
10
9
0
Yangon
crc file in hw firmware

Thank for your answer.I have crc.c that create the crc file (crc stored after the header and before the file data) but can't the same a checksum crc file included in Hw firmware.I found checksum of small files but can't find checksum of large file. Why?
Please explain me.I am waiting for your reply.
Now, I understand about crc file that your huawei update extractor generated.I have been tested.Actually we need huawei's private key and also you can create a crc file in huawei firmware.I respect you really.:):)
 

ngamyarthar

Member
Nov 29, 2013
10
9
0
Yangon
a crc file

Now, I understand about crc file that your huawei update extractor generated.I have been tested.Actually we need huawei's private key and also you can create a crc file in huawei firmware.I respect you really.:):)
Brother Worstenbrood, I thought that you can create only a crc file creater software not included unpack and repack.Please create a crc file software.
 
  • Like
Reactions: omidhamed

ngamyarthar

Member
Nov 29, 2013
10
9
0
Yangon
password for profile

That's what the repack function does:

It recalculates the the crc of:
- the header (crc stored in the header)
- the file (crc stored after the header and before the file data)
- the complete update.app (crc stored in a separate file inside the update.app)
Sorry for password.I haven't notice the profile with password.
Password is ngamyarthar-mpxteam.
 

omidhamed

New member
Dec 14, 2013
3
0
0
help me

Huawei Update Extractor


Example:

<Profiles>
<Profile name="Unknown" author="worstenbrood">
<Files/>
</Profile>
<Profile name="Huawei G510-0100" author="worstenbrood">
<Files>
<File sequence="00000000" partition="/dev/block/mmcblk0p17">system.img</File>
<File sequence="40000000" partition="/dev/block/mmcblk0p13">recovery.img</File>
<File sequence="80000000" partition="/dev/block/mmcblk0p03">baseband.img</File>
<File sequence="EC000000">version.txt</File>
<File sequence="E4000000">splash.raw565</File>
<File sequence="FC000000" partition="/dev/block/mmcblk0p12">boot.img</File>
<File sequence="70000000" partition="/dev/block/mmcblk0p16">cust.img</File>
<File sequence="30000000" partition="/dev/block/mmcblk0p18">userdata.img</File>
<File sequence="FE000000" signature="true">signature</File>
<File sequence="FF000000" checksum="true">crc</File>
</Files>
</Profile>
<Profile name="Huawei P6" author="worstenbrood">
<Files>
<File type="system" partition="/dev/block/mmcblk0p16">system.img</File>
<File type="cache" partition="/dev/block/mmcblk0p17">cache.img</File>
<File type="cust" partition="/dev/block/mmcblk0p18">cust.img</File>
<File type="userdata" partition="/dev/block/mmcblk0p19">userdata.img</File>
<File type="modemimage" partition="/dev/block/mmcblk0p13">modemimage.img</File>
<File type="boot" partition="/dev/block/mmcblk0p12">boot.img</File>
<File type="recovery" partition="/dev/block/mmcblk0p11">recovery.img</File>
<File type="md5rsa" signature="true">signature</File>
<File type="crc" checksum="true">crc</File>
</Files>
</Profile>
</Profiles>

.
My phone is Huawei G525
To extract the files update.app
What should I do?
plz help me :crying:
 

worstenbrood

Senior Member
May 14, 2008
1,063
1,401
0
To find a files "system", "Recovey", "boot" and "data" What can I do?:confused:
That needs some knowledge about android and filesystems. You can use the tooltip when you hoover the files in the extract file list. It will display some info like filesystem, android boot/recovery image ....
 

Fr3ddY303

Senior Member
Dec 9, 2010
78
22
0
Thanks Big Time for this all extracted Nicely :cool:


Before this I used split_updata.pl and HuaweiFinder But they could Only extract the system and boot .Your program extracted everything :)

But I have a lot more to do yet before I will have a signed zip installer and modded Rom.

Will use ICS JB EXT4 unpacker for the system.img files as I no this program works well. Then modding

But it is the signed zip side I am not sure of yet (But it will be here somewhere)


Will be using this Rom = HUAWEI_Y300_firmware(Y300-0151.Android4.1.Emotion_UI.V100R001C451B184.Australia-Telstra.05011NWH)


Thanks for a Great piece of Software
 
  • Like
Reactions: worstenbrood