add tools/huawei_files/split_updata.py#22
Conversation
The original split_updata.pl seems to be too old, which will not recognize image names for recent UPDATE.APP . Usage: split_updata.py -l UPDATE.APP # list images in UPDATE.APP split_updata.py -u UPDATE.APP # unpack images to output/ Hope python won't bring too many dependencies for Kitchen.
|
Hi, does your script break the old functionality of the original APP files?
|
|
It's a shame that I didn't test this script with old APP files. I rewrite this script based on the original perl script and another php implementation: https://github.com/genokolar/unpacker_huawei . The perl one tell image names based on head[20:24], which is commented UNKNOWN in the php one. I run the perl script against the latest A199 official rom, and no image name is recognized. There is another windows application Huawei Update Extractor: http://forum.xda-developers.com/showthread.php?t=2433454, which can output with correct image names. |
|
Okay, just make sure it is modified to be compatible with existing old behaviour, and I will merge it. Thanks. |
|
I could add some command line parameters to my extractor to extract the update.app if you want... |
|
YES PLEASE On Tue, Nov 5, 2013 at 8:34 AM, worstenbrood notifications@github.comwrote:
|
|
i need the update to bring back my device from the dead On Tue, Nov 5, 2013 at 8:50 AM, Jd Brown darkertruth6698@gmail.com wrote:
|
|
Sure, whatever works for you dude. As long as it does not break existing On Tuesday, November 5, 2013, worstenbrood wrote:
|
|
http://forum.xda-developers.com/showthread.php?p=45317807 Added command line parameters. It is a windows only tool tho... |
|
Okay I can add this link to the main kitchen thread later. Which devices On Thursday, November 7, 2013, worstenbrood wrote:
|
|
All new huawei devices, older ones need some configuration in the profiles.xml. |
|
Ok updated main thread. Thank you. On Sat, Nov 9, 2013 at 4:54 AM, worstenbrood notifications@github.comwrote:
|
The original split_updata.pl seems to be too old, which will not
recognize image names for recent UPDATE.APP .
Usage:
Hope python won't bring too many dependencies for Kitchen.