Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tools/huawei_files/split_updata.py #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

StephenPCG
Copy link

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.

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.
@dsixda
Copy link
Owner

dsixda commented Sep 17, 2013

Hi, does your script break the old functionality of the original APP files?
On Sep 16, 2013 3:18 PM, "Stephen Zhang" [email protected] wrote:

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.

You can merge this Pull Request by running

git pull https://github.com/StephenPCG/Android-Kitchen a199

Or view, comment on, or merge it at:

#22
Commit Summary

  • add tools/huawei_files/split_updata.py

File Changes

Patch Links:

@StephenPCG
Copy link
Author

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.

@dsixda
Copy link
Owner

dsixda commented Sep 18, 2013

Okay, just make sure it is modified to be compatible with existing old behaviour, and I will merge it. Thanks.

@worstenbrood
Copy link

I could add some command line parameters to my extractor to extract the update.app if you want...

@darkertruth6698
Copy link

YES PLEASE

On Tue, Nov 5, 2013 at 8:34 AM, worstenbrood [email protected]:

I could add some command line parameters to my extractor to extract the
update.app if you want...


Reply to this email directly or view it on GitHubhttps://github.com//pull/22#issuecomment-27788468
.

@darkertruth6698
Copy link

i need the update to bring back my device from the dead

On Tue, Nov 5, 2013 at 8:50 AM, Jd Brown [email protected] wrote:

YES PLEASE

On Tue, Nov 5, 2013 at 8:34 AM, worstenbrood [email protected]:

I could add some command line parameters to my extractor to extract the
update.app if you want...


Reply to this email directly or view it on GitHubhttps://github.com//pull/22#issuecomment-27788468
.

@dsixda
Copy link
Owner

dsixda commented Nov 5, 2013

Sure, whatever works for you dude. As long as it does not break existing
functionality. It is probably best to create your own guide/thread on xda
on how to use the kitchen for your device, and then I can link to it from
Post 1 of the main kitchen thread. Thanks

On Tuesday, November 5, 2013, worstenbrood wrote:

I could add some command line parameters to my extractor to extract the
update.app if you want...


Reply to this email directly or view it on GitHubhttps://github.com//pull/22#issuecomment-27788468
.

@worstenbrood
Copy link

http://forum.xda-developers.com/showthread.php?p=45317807

Added command line parameters. It is a windows only tool tho...

@dsixda
Copy link
Owner

dsixda commented Nov 8, 2013

Okay I can add this link to the main kitchen thread later. Which devices
does this Windows thing support?

On Thursday, November 7, 2013, worstenbrood wrote:

http://forum.xda-developers.com/showthread.php?p=45317807

Added command line parameters. It is a windows only tool tho...


Reply to this email directly or view it on GitHubhttps://github.com//pull/22#issuecomment-27950735
.

@worstenbrood
Copy link

All new huawei devices, older ones need some configuration in the profiles.xml.

@dsixda
Copy link
Owner

dsixda commented Nov 19, 2013

Ok updated main thread. Thank you.

On Sat, Nov 9, 2013 at 4:54 AM, worstenbrood [email protected]:

All new huawei devices, older ones need some configuration in the
profiles.xml.


Reply to this email directly or view it on GitHubhttps://github.com//pull/22#issuecomment-28123815
.

Copy link

@Patreos98 Patreos98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate of #22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants