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.
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.