My phone is Huawei G525
To extract the files update.app
What should I do?
plz help me :crying:
Hello. I try to use this utility to unpack MediaPad 10 FHD firmware.
Here is partition table of my device:
Here is my config:| /dev/block | mount | | size | partition | first_lba | last_lba | min | maj |
|-----------------------------------------------------------------------------------------------|
| loop0 | | | 6MB | | | | 0 | 7 |
| loop1 | | | 70MB | | | | 1 | 7 |
| zram0 | | | 200MB | swap | | | 0 | 252 |
| mmcblk0 | | | 15200MB | | | | 0 | 179 |
| mmcblk0p1 | | | 256KB | xloader | 0x100 | 0x2ff | 1 | 179 |
| mmcblk0p2 | | | 3MB | round | 0x300 | 0x1fff | 2 | 179 |
| mmcblk0p3 | | | 4MB | nvme | 0x2000 | 0x3fff | 3 | 179 |
| mmcblk0p4 | /misc | emmc | 4MB | misc | 0x4000 | 0x5fff | 4 | 179 |
| mmcblk0p5 | | | 8MB | splash | 0x6000 | 0x9fff | 5 | 179 |
| mmcblk0p6 | | | 32MB | oeminfo | 0xa000 | 0x19fff | 6 | 179 |
| mmcblk0p7 | | | 12MB | logo | 0x1a000 | 0x1ffff | 7 | 179 |
| mmcblk0p8 | /vrcb | emmc | 4MB | vrcb | 0x20000 | 0x21fff | 8 | 179 |
| mmcblk0p9 | | | 16MB | recovery2 | 0x22000 | 0x29fff | 9 | 179 |
| mmcblk0p10 | /recovery | emmc | 16MB | recovery | 0x2a000 | 0x31fff | 10 | 179 |
| mmcblk0p11 | /boot | emmc | 8MB | boot | 0x32000 | 0x35fff | 11 | 179 |
| mmcblk0p12 | | ext4 | 64MB | modemimage | 0x36000 | 0x55fff | 12 | 179 |
| mmcblk0p13 | | ext4 | 8MB | modemnv | 0x56000 | 0x59fff | 13 | 179 |
| mmcblk0p14 | | | 8MB | modemnv2 | 0x5a000 | 0x5dfff | 14 | 179 |
| mmcblk0p15 | /cache | ext4 | 256MB | cache | 0x5e000 | 0xddfff | 15 | 179 |
| mmcblk0p16 | /system | ext4 | 512MB | system | 0xde000 | 0x1ddfff | 16 | 179 |
| mmcblk0p17 | /cust | ext4 | 512MB | cust | 0x1de000 | 0x2ddfff | 17 | 179 |
| mmcblk0p18 | /tmpdata | ext4 | 16MB | userdata | 0x2de000 | 0x2e5fff | 18 | 179 |
| mmcblk0p19 | | | 16MB | keyfile | 0x2e6000 | 0x2edfff | 19 | 179 |
| mmcblk0p20 | | | 16MB | reserve2 | 0x2ee000 | 0x2f5fff | 20 | 179 |
| mmcblk0p21 | | | 16MB | reserve3 | 0x2f6000 | 0x2fdfff | 21 | 179 |
| mmcblk0p22 | /data | ext4 | 4GB | data | 0x2fe000 | 0x1daffff | 22 | 179 |
| mmcblk0boot0 | | | 2MB | | | | 32 | 179 |
| mmcblk0boot1 | | | 2MB | | | | 64 | 179 |
| mmcblk1 | | | | | | | 96 | 179 |
| mmcblk1p1 | /mnt/sdcard2 | | | | | | 97 | 179 |
| mtdblock0 | | | 4MB | | | | 0 | 31 |
| dm-0 | | | 6MB | | | | 0 | 253 |
| dm-1 | | | 70MB | | | | 1 | 253 |
|-----------------------------------------------------------------------------------------------|
Is i am right? Please help.<Profile name="Huawei MediaPad 10 FHD" author="XXX-Man@4pda.ru">
<Files>
<File type="md5rsa" signature="true">md5rsa.img</File>
<File type="crc" checksum="true">crc.img</File>
<File type="round" partition="/dev/block/mmcblk0p2">round.img</File>
<File type="oeminfo" partition="/dev/block/mmcblk0p6">oeminfo.img</File>
<File type="system" partition="/dev/block/mmcblk0p16">system.img</File>
<File type="cache" partition="/dev/block/mmcblk0p15">cache.img</File>
<File type="logo" partition="/dev/block/mmcblk0p7">logo.img</File>
<File type="cust" partition="/dev/block/mmcblk0p17">cust.img</File>
<File type="userdata" partition="/dev/block/mmcblk0p18">userdata.img</File>
<File type="boot" partition="/dev/block/mmcblk0p11">boot.img</File>
<File type="recovery" partition="/dev/block/mmcblk0p10">recovery.img</File>
</Files>
</Profile>
Ok. But i need to know what partitions i should describe in config as "partition="/dev/block/mmcblk0p**" and other as "file"?Looks good to me ! Don't have the device tho, but u used the correct way to find out the partitions !
Looks good to me ! Don't have the device tho, but u used the correct way to find out the partitions !
filename = /mmc1/dload/update.app
dload_sd_chk_file_data->get_module_from_file failed!
Hi, worstenbrood
First of all, thanks for your great utility!:good:
I have a problem with repacking APP for Huawei G520-0000.
What I do:
* extract original APP-file using profile Huawei G610-C00, G520-0000, G510, C8813D, C8813
* repack new APP-file from the unpacked images without changing anything
When I try to install a new UPDATE.APP in phone I get error "Update failed"
Here is the content of sd_update.log:
Code:filename = /mmc1/dload/update.app dload_sd_chk_file_data->get_module_from_file failed!
Also, I unpack the new APP-file and compared the resulting images with the original images (after unpacking the original APP-file).
All files are the same, except 01.crc. Apparently, during repacking CRC is considered wrong.
P.S. Original UPDATE.APP file size is 929 199 624 bytes, after repacking is 929 199 622 bytes
filename = /mmc1/dload/update.app
CRC fail.
MD5_RSA,is_rx_finish=0,is_operate_succ=1,current_operate=0
call first dload_machine failed,module = CRC
CMD=0xf,moduleaddr = 0xffe0e0e0, len_tmp=0x8000
filename = /mmc1/dload/update.app
call RCV_MODULE_END_EVENT failed,module = CRC
CMD=0xf,moduleaddr = 0xe8000000, len_tmp=0x42e
Thank you for your quick response! It's really important to me now!:good:
I tried to repack UPDATE.APP with the new version of your utility. Now repacked file size identical to the original, but CRC still different. I attached to the post the original CRC and repacked CRC.
Later I will upload original UPDATE.APP, that you tried to repack it by yourself.
UPD
------
WOW! Now I restarted utility and again repacked the original UPDATE.APP.
Now original and repacked files are ABSOLUTELY IDENTICAL!
Now I'll try to build APP with the modified images and install it to phone.
UPD2
--------
Now I have new error after trying to install APP with modified images (sd_update.log):
Code:filename = /mmc1/dload/update.app CRC fail. MD5_RSA,is_rx_finish=0,is_operate_succ=1,current_operate=0 call first dload_machine failed,module = CRC CMD=0xf,moduleaddr = 0xffe0e0e0, len_tmp=0x8000 filename = /mmc1/dload/update.app call RCV_MODULE_END_EVENT failed,module = CRC CMD=0xf,moduleaddr = 0xe8000000, len_tmp=0x42e
Thats prolly because the signature file is not valid. Thats the only thing we still need, the original rsa private key or a patched bootloader with a modified public key (where we have the private key for ofcourse).
Retry with the latest version (re- download and uninstall previous version)
Nothing has changed. Repacked file is identical to the one created in the previous version.
here we come:
https://drive.google.com/folderview?id=0Byx5djvrewoHbkhOMXZocVpUQlE&usp=sharing
+ Android magic word not found in offset 0, it placed in offset 2048. So first 2048 byte is additional header
+ what i found is
- byte 128 to 255 is different among each image. 128 byte
- byte 517 is different too. 1 byte
- byte 536 to 555 is different too. 20 byte
Thank's for your help
Hi,
I use laptop windows 7 32 bit.and connecting external monitor with vga port because my laptop Lcd was broke. I can't see open ( ... ) button any version of huawei update extractor. Why?
deleting user.config on the following path can't solve my problem.
C:\Users\user\AppData\Local\worstenbrood\HuaweiUpdateExtractor.exe_Url_jtzcfmjsway1gp2ip2gijvh5hdpblf0r\0.9.7.7
also changing this value can't solve my problem
</setting>
<setting name="WindowSize" serializeAs="String">
<value>1036, 780</value>
</setting>
Expert help me my problem. ( Dotnet already install . Perl already install . )
<?xml version="1.0"?>
<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" filetype="signature">signature</File>
<File sequence="FF000000" filetype="checksum">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" filetype="signature">signature</File>
<File type="crc" filetype="checksum">crc</File>
</Files>
</Profile>
</Profiles>
-----BEGIN RSA PRIVATE KEY-----
MIICXgIBAAKBgQDU9GF9tdk59edEXWX4MEJNjMqGce/CqqGZSDBwnAzHITZYBm+y
ZEVkaOGGdPY7rmmWO6w3P/+nPVHO0kxA1/J+FY+sbUF7uz0kzVDxuW6t5KDc9Qr4
NRAE1ZzX0eB0aYpLImlqI7yigih6ds+Yp83mTbF+BiaFTLLtMVdWS7wQiwIDAQAB
AoGBAMok2E4+Sl9sfwU0K1E2bhmzJaQNj2wYEKGyFtkuKCr16eIQ6gJKkFxJ+ppp
eDsaynujVUx04bbczEUo9t0un603s5HAGq6USO5flERco0TlNw7xnTornPPrNxfU
sXOtIGzb0FlRuC129JqZJ9QsfvOyt3KIWwmJqc0R/k0xB8uRAkEA9+v1ohNXB8CL
plhQOtq0ueWrf9CCCeiqhf6ijg7UEegMLGKZ2gFMvMNwuojz/pbQmHdWTU9eC0k1
3yiAwHtcLQJBANvkvjXdzCYHO6nWOH1vf8DRLwCnwEteyxJ2qnrqKLS3fxCjWN4h
4vSNqgC9uoLEb/6T/72XTdG9gS8GsuoAupcCQBZ4eIb8IcM+HGozTvJGqGLBAk5P
Y7nqMKp8bddaWLZWxeOv/CnaPE5PmIQPra3BlZ58EoJnUyrKs+tKDIFlrPECQQC9
Ie0cxc4e81+0/+WMtkdq4EGOTbsO2NTP57NQj3E9pwqqk+UPApSEBgkwJAB1E2LE
1CVGvAoaGeYwPZHLxZ63AkEAugR+cC+5/BtTeMeXEcijnU0qkgkwLCMgTB1DIoMm
X0/wRGPPmZpGmMStHd+87ZxQSOiq5nAyZ4riFXLziUNOlA==
-----END RSA PRIVATE KEY-----
Is it possible to repack update.app?
If so, could you implemet such feature?
not sure if it has been mentioned but it would be a great feature to drag the update.app into the programs window to open it