Patchrom error


Kevin0905

Members
Dec 30, 2012
1
11
I've been trying to make MIUI with the t-mobile US version as the base on my HTC one s.

When I use the command ota_target_from_phone to get the stockrom.zip from my phone in recovery I get this error in the end when trying to make the stockrom.zip:

Code:
1975 files pulled. 0 files skipped.
652 KB/s (891501480 bytes in 1333.734s)
Remount /system to be writable
remount succeeded
Run getfilesysteminfo to build filesystem_config.txt
101 KB/s (5572 bytes in 0.053s)
Run getfilesysteminfo and recoverylink.py to recover symlink
sh: 1: cd: can't cd to /home/kevin/patchrom/ville/out/target_files/SYSTEM/etc/firmware/wcd9310
sh: 1: cd: can't cd to /home/kevin/patchrom/ville/out/target_files/SYSTEM/vendor/firmware
Recovery link files success
Build apkcerts.txt
597 KB/s (258118 bytes in 0.421s)
Generate metadata used to build target files...
Compress the target_files dir into zip file
/home/kevin/patchrom/ville
Build full ota package: /home/kevin/patchrom/ville/stockrom.zip
unzipping target target-files...
using device-specific extensions in .
unable to load device-specific module; assuming none
Traceback (most recent call last):
  File "/home/kevin/patchrom/tools/releasetools/ota_from_target_files", line 890, in <module>
    main(sys.argv[1:])
  File "/home/kevin/patchrom/tools/releasetools/ota_from_target_files", line 858, in main
    WriteFullOTAPackage(input_zip, output_zip)
  File "/home/kevin/patchrom/tools/releasetools/ota_from_target_files", line 433, in WriteFullOTAPackage
    Item.GetMetadata(input_zip)
  File "/home/kevin/patchrom/tools/releasetools/ota_from_target_files", line 173, in GetMetadata
    uid, gid, mode = rows[length-3:]
ValueError: need more than 1 value to unpack

I tried googling the error but had no success.