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

Help with patchrom Value Error on Ubuntu 17 #145

Open
leon83 opened this issue Sep 2, 2017 · 0 comments
Open

Help with patchrom Value Error on Ubuntu 17 #145

leon83 opened this issue Sep 2, 2017 · 0 comments

Comments

@leon83
Copy link

leon83 commented Sep 2, 2017

Cause i think i get no answer in other issue - id like to try again and sorry that i open a new issue .
I know devs got less time - but i stuck on this error for weeks - googled for hours but no solution.

I get following error Compress the target_files dir into zip file /home/lwx-net/bin/patchrom/sony Build full ota package: /home/lwx-net/bin/patchrom/sony/stockrom.zip unzipping target target-files... unable to load device-specific module; assuming none building image from target_files BOOT... Traceback (most recent call last): File "/home/lwx-net/bin/patchrom/tools/releasetools/ota_from_target_files", line 1792, in <module> main(sys.argv[1:]) File "/home/lwx-net/bin/patchrom/tools/releasetools/ota_from_target_files", line 1747, in main WriteFullOTAPackage(input_zip, output_zip) File "/home/lwx-net/bin/patchrom/tools/releasetools/ota_from_target_files", line 640, in WriteFullOTAPackage system_items.GetMetadata(input_zip) File "/home/lwx-net/bin/patchrom/tools/releasetools/ota_from_target_files", line 202, in GetMetadata key, value = element.split("=") ValueError: need more than 1 value to unpack

On Xda i read is has something todo with the metadata i corrected these but when i tried again to get /ota_target_from_phone -r command - it will overwrite it - is there a command that i can make the stockrom zip again? (think the ota target command will open a variable to build the stockrom zip correct me if im false .

Thank you !

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

No branches or pull requests

1 participant