patchrom icon indicating copy to clipboard operation
patchrom copied to clipboard

firstpatch issue

Open FFY00 opened this issue 8 years ago • 5 comments

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.

FFY00 avatar Sep 29 '17 21:09 FFY00

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

leon83 avatar Oct 22 '17 08:10 leon83

Post the log.

FFY00 avatar Oct 22 '17 17:10 FFY00

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 avatar Oct 27 '17 08:10 leon83

hmm sad but anyway thx think youre busy :(

leon83 avatar Oct 30 '17 14:10 leon83

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.

FFY00 avatar Oct 30 '17 16:10 FFY00