MiCode / patchrom

Use disassemble/assemble technology to porting miui to misc android devices
http://micode.net/forum-55-1.html
490 stars 370 forks source link

ValueError: need more than 1 value to unpack #134

Open Andrei-Tanase opened 6 years ago

Andrei-Tanase commented 6 years ago

done. Build full ota package: /home/andrei/patchrom/device/out/fullota.zip unzipping target target-files... loaded device-specific extensions from /home/andrei/patchrom/device using prebuilt boot.img from BOOTABLE_IMAGES... Traceback (most recent call last): File "/home/andrei/patchrom/tools/releasetools/ota_from_target_files", line 1792, in main(sys.argv[1:]) File "/home/andrei/patchrom/tools/releasetools/ota_from_target_files", line 1747, in main WriteFullOTAPackage(input_zip, output_zip) File "/home/andrei/patchrom/tools/releasetools/ota_from_target_files", line 640, in WriteFullOTAPackage system_items.GetMetadata(input_zip) File "/home/andrei/patchrom/tools/releasetools/ota_from_target_files", line 202, in GetMetadata key, value = element.split("=") ValueError: need more than 1 value to unpack /home/andrei/patchrom/build/porting.mk:314: recipe for target 'fullota' failed make: *** [fullota] Error 1 andrei@Andrei-HP-EliteBook:~/patchrom/device$

What should I do? I found on XDA it's something about /metadata/filesystem_config.txt but mine is COMPLETELY different compared to the tutorial. https://github.com/aymende7/XTutorials_Miui8 Here is source code, I'm not sure if it will work completely, but metadata is important.