Skip to content

Help with patchrom Value Error on Ubuntu 17 #145

@leon83

Description

@leon83

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions