Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ota_target_from_phone error at recoverylink.py and blow #80

Open
larnk opened this issue May 2, 2015 · 1 comment
Open

ota_target_from_phone error at recoverylink.py and blow #80

larnk opened this issue May 2, 2015 · 1 comment

Comments

@larnk
Copy link

larnk commented May 2, 2015

I have tried running ota_target_from_phone on my htc e8( model: stm8) and get error like blow:
Remount /system to be writable
remount succeeded
Run getfilesysteminfo to build filesystem_config.txt
103 KB/s (5572 bytes in 0.052s)
Run getfilesysteminfo and recoverylink.py to recover symlink
Traceback (most recent call last):
File "/home/android/patchrom/tools/releasetools/recoverylink.py", line 16, in
target = '/' + filepath[1]
IndexError: list index out of range
Build apkcerts.txt
943 KB/s (288166 bytes in 0.298s)
Traceback (most recent call last):
File "/home/android/patchrom/tools/apkcerts.py", line 65, in
main()
File "/home/android/patchrom/tools/apkcerts.py", line 34, in main
name = getName(pkg.attributes["codePath"].value)
File "/usr/lib/python2.7/xml/dom/minidom.py", line 522, in getitem
return self._attrs[attname_or_tuple]
KeyError: 'codePath'
Generate metadata used to build target files...
Compress the target_files dir into zip file
/home/android/patchrom/htc_e8
Build full ota package: /home/android/patchrom/htc_e8/stockrom.zip

It looks a memory issue, I will try to add more memory
thanks alot.

@larnk
Copy link
Author

larnk commented May 2, 2015

additional information:
I traced the linkinfo.txt, getfilesysteminfo runs error,only those words in linkinfo.txt:
error: only position independent executables (PIE) are supported.

system release is Android 5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant