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

twins.7

Senior Member
Nov 4, 2010
329
68
0
Share an image with me (with the header included) and i'll take a look when i have some time.
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
 

reyncla

Senior Member
Jun 24, 2012
90
89
0
Help with repack,

I only modified the file: vendor.img

And realize the repack tool and create the new file Update.app.

However, when I install it on the phone says fail and end up big with Fail and do not update.

What is the procedure to work correctly the repack?

I appreciate the guidance I can get.

Best Regards
 

worstenbrood

Senior Member
May 14, 2008
1,063
1,401
0
Help with repack,

I only modified the file: vendor.img

And realize the repack tool and create the new file Update.app.

However, when I install it on the phone says fail and end up big with Fail and do not update.

What is the procedure to work correctly the repack?

I appreciate the guidance I can get.

Best Regards
We're still missing the sign part ... What does the update log says ...

Sent from my Nexus 4 using xda app-developers app
 

reyncla

Senior Member
Jun 24, 2012
90
89
0
We're still missing the sign part ... What does the update log says ...

Sent from my Nexus 4 using xda app-developers app

In the mobile I get the following:


Update Package: / sdcard / dload / Update.app

pkg update sd checking ...

Huawei SD card update fail ......
cust copying files ...
cust copy files successed!


=============================
FAIL
=============================


And does not update.
 

worstenbrood

Senior Member
May 14, 2008
1,063
1,401
0
There should be a log file somewhere on your sd with some more details ... Don't have a device to test :/

Sent from my Nexus 4 using xda app-developers app
 

reyncla

Senior Member
Jun 24, 2012
90
89
0
There should be a log file somewhere on your sd with some more details ... Don't have a device to test :/

Sent from my Nexus 4 using xda app-developers app

In SD the only file .log is "xmlinfo.log" and this says:

<FILE: xml_parse.c LINE:1644> <ERROR> parseDoc ulRet:bec9ce38
<FILE: xml_parse.c LINE:1645> <ERROR> parseDoc ulCloseFlag:bec9ce38
<FILE: xml_dom.c LINE:2311> <ERROR> aaaaaaaaaaaaaaaaaaa
<FILE: xml_dom.c LINE:2315> <ERROR> bbbbbbbbbbbbbbbbbbb
<FILE: xml_dom.c LINE:2317> <ERROR> cccccccccccccccccccc
<FILE: xml_dom.c LINE:2332> <ERROR> hhhhhhhhhhhhhhhhhhhhhhhh
<FILE: xml_dom.c LINE:2334> <ERROR> iiiiiiiiiiiiiiiiiiiiiiiii
<FILE: xml_dom.c LINE:2336> <ERROR> jjjjjjjjjjjjjjjjjjjjj
<FILE: xml_dom.c LINE:2339> <ERROR> kkkkkkkkkkkkkkkkkkkk
<FILE: xml_dom.c LINE:2341> <ERROR> lllllllllllllllllll
<FILE: xml_dom.c LINE:2343> <ERROR> mmmmmmmmmmmmmmmmmmm
<FILE: xml_dom.c LINE:2347> <ERROR> nnnnnnnnnnnnnnnnnnnnnnn
<FILE: xml_dom.c LINE:2349> <ERROR> ooooooooooooooooooooooo
<FILE: xml_dom.c LINE:2354> <ERROR> ppppppppppppppppppppp
<FILE: xml_dom.c LINE:2356> <ERROR> qqqqqqqqqqqqqqqqqqqqq
<FILE: xml_dom.c LINE:2358> <ERROR> rrrrrrrrrrrrrrrrrrrrr
<FILE: xml_dom.c LINE:2365> <ERROR> tttttttttttttttttttttttt
<FILE: xml_dom.c LINE:2367> <ERROR> uuuuuuuuuuuuuuuuuuuuuuuu
<FILE: xml_dom.c LINE:2376> <ERROR> wwwwwwwwwwwwwwwwwwwwwww
<FILE: xml_dom.c LINE:2311> <ERROR> aaaaaaaaaaaaaaaaaaa
<FILE: xml_dom.c LINE:2315> <ERROR> bbbbbbbbbbbbbbbbbbb
<FILE: xml_dom.c LINE:2317> <ERROR> cccccccccccccccccccc
<FILE: xml_dom.c LINE:2332> <ERROR> hhhhhhhhhhhhhhhhhhhhhhhh
<FILE: xml_dom.c LINE:2334> <ERROR> iiiiiiiiiiiiiiiiiiiiiiiii
<FILE: xml_dom.c LINE:2336> <ERROR> jjjjjjjjjjjjjjjjjjjjj
<FILE: xml_dom.c LINE:2339> <ERROR> kkkkkkkkkkkkkkkkkkkk
<FILE: xml_dom.c LINE:2341> <ERROR> lllllllllllllllllll
<FILE: xml_dom.c LINE:2343> <ERROR> mmmmmmmmmmmmmmmmmmm
<FILE: xml_dom.c LINE:2347> <ERROR> nnnnnnnnnnnnnnnnnnnnnnn
<FILE: xml_dom.c LINE:2349> <ERROR> ooooooooooooooooooooooo
<FILE: xml_dom.c LINE:2354> <ERROR> ppppppppppppppppppppp
<FILE: xml_dom.c LINE:2356> <ERROR> qqqqqqqqqqqqqqqqqqqqq
<FILE: xml_dom.c LINE:2358> <ERROR> rrrrrrrrrrrrrrrrrrrrr
<FILE: xml_dom.c LINE:2365> <ERROR> tttttttttttttttttttttttt
<FILE: xml_dom.c LINE:2367> <ERROR> uuuuuuuuuuuuuuuuuuuuuuuu
<FILE: xml_dom.c LINE:2376> <ERROR> wwwwwwwwwwwwwwwwwwwwwww
 

worstenbrood

Senior Member
May 14, 2008
1,063
1,401
0
I don't have time to research the signing part the next comming weeks since i'm busy with my job (deadlines and stuff), probably we'll never fix it, since we need the private rsa key to sign the file.
 

worstenbrood

Senior Member
May 14, 2008
1,063
1,401
0
I do not use multiple screens and
deleting files / folders did not work :(
For some reason it seems to stretch the window further then your screen is. Try to delete those folders and change the Size parameter in the huaweiupdateextractor.exe.config. This should set the default size of the window.
 

RamiroVevo

New member
Nov 19, 2013
2
0
0
Problem

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.