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

firstpatch issue #154

Open
FFY00 opened this issue Sep 29, 2017 · 5 comments
Open

firstpatch issue #154

FFY00 opened this issue Sep 29, 2017 · 5 comments

Comments

@FFY00
Copy link

FFY00 commented Sep 29, 2017

When running firstpatch.

patch: **** Can't reopen file PATH/patchrom/baffinlite/android.policy.jar.out/./smali/com/android/internal/policy/impl/PhoneWindowManager.smali : No such file or directory

This is happening to all files. No files are written to reject.

@leon83
Copy link

leon83 commented Oct 22, 2017

How do you fix the error with the ota_from_target_files ? im stuck at these sadly ...
thank you

@FFY00
Copy link
Author

FFY00 commented Oct 22, 2017

Post the log.

@leon83
Copy link

leon83 commented Oct 27, 2017

Hi and thanks a lot for reply for short:
Recovery link files success
rm: can't remove '/system/xbin/getfilesysteminfo': No such file or directory
Build apkcerts.txt
6054 KB/s (1612268 bytes in 0.260s)
Generate metadata used to build target files...
Decode oat files
Compress the target_files dir into zip file
/home/lwx/bin/patchrom/device
Build full ota package: /home/lwx/bin/patchrom/device/stockrom.zip
unzipping target target-files...
loaded device-specific extensions from /home/lwx/bin/patchrom/device
using prebuilt boot.img from BOOTABLE_IMAGES...
Traceback (most recent call last):
File "/home/lwx/bin/patchrom/tools/releasetools/ota_from_target_files", line 1792, in
main(sys.argv[1:])
File "/home/lwx/bin/patchrom/tools/releasetools/ota_from_target_files", line 1747, in main
WriteFullOTAPackage(input_zip, output_zip)
File "/home/lwx/bin/patchrom/tools/releasetools/ota_from_target_files", line 640, in WriteFullOTAPackage
system_items.GetMetadata(input_zip)
File "/home/lwx/bin/patchrom/tools/releasetools/ota_from_target_files", line 202, in GetMetadata
key, value = element.split("=")
ValueError: need more than 1 value to unpack

i uploaded the full console output here
part1: http://pasted.co/61aebe5c
part2: http://pasted.co/55a375b9

if you need further details let me know :) greets

@leon83
Copy link

leon83 commented Oct 30, 2017

hmm sad but anyway thx think youre busy :(

@FFY00
Copy link
Author

FFY00 commented Oct 30, 2017

Yeah, sorry for that. It seems that the script is outdated for you device's file structure. You can try to fix it if you have time.

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

2 participants