Hello,
I am trying to port MIUI v5 to the HTC Desire X, but am getting an error when running the ota_target_from_phone -r in recovery mode:
Do you have an idea how to fix this one?
I am trying to port MIUI v5 to the HTC Desire X, but am getting an error when running the ota_target_from_phone -r in recovery mode:
Code:
Run getfilesysteminfo to build filesystem_config.txt
131 KB/s (5572 bytes in 0.041s)
Run getfilesysteminfo and recoverylink.py to recover symlink
File "/home/daniel/patchrom/tools/releasetools/recoverylink.py", line 27
print r"%s isn't exist" % linkfile_path
^
SyntaxError: invalid syntax
Build apkcerts.txt
1704 KB/s (189866 bytes in 0.108s)
File "/home/daniel/patchrom/tools/apkcerts.py", line 16
print "Usage: python ./apkcerts.py path-to-packages.xml path-to-apkcerts.txt"
^
SyntaxError: invalid syntax
Generate metadata used to build target files...
Compress the target_files dir into zip file
/home/daniel/patchrom/desirex
Build full ota package: /home/daniel/patchrom/desirex/stockrom.zip
File "/home/daniel/patchrom/tools/releasetools/ota_from_target_files", line 103
return (info.external_attr >> 16) == 0120777
^
SyntaxError: invalid token
Do you have an idea how to fix this one?