Hallo,
ich versuche gerade, mit Hilfe von patchrom eine MIUI ROM für das HTC Desire X zu bauen. Als Basis dafür dient mir eine deodexed Version der Stock ROM von JB (4.1.1) mit Sense. Ich folge dem Guide auf Github. Leider kommt schon beim Ausführen des Skriptes ota_target_from_phone -r im Recovery-Modus am Ende ein Fehler und es wird keine stockrom.zip erstellt. Fehler ist folgender:
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
Alles anzeigen
Zur Info: Ich verwende Arch Linux in 64-bit als Betriebssystem und habe python installiert. Alle nötigen Compiler sollten ebenfalls installiert sein. Kann mir hier jemand helfen?