patchrom
patchrom copied to clipboard
KeyError: "There is no item named 'SYSTEM/build.prop' in the archive"
I've worked out all of the smali errors and now I am stuck at the end with this error:
Sign target files
rewriting SYSTEM/build.prop:
Traceback (most recent call last):
File "/home/josh/patchrom/tools/releasetools/sign_target_files_apks", line 354, in
Thank you for your help in advance.
If there is a build.prop file in other/ directory and you can find this command "cp other/build.prop $(ZIP_DIR)/system/build.prop" in your makefile, you should modify the build.prop file in other directory. Seek "ro.build.description" in build.prop, if there are not 5 items, please modify them to 5 items, there is a simple in honor project's, it is "ro.build.description=U8860-user 4.0.3 ITL41D C00B919 ota-rel-keys,release-keys". if there isn't a build.prop file in other/ directory, you should to modify the build.prop file in your stockrom.zip in the same way.
i have modified to 5 items to the "ro.build.description" in build.prop and i am still receiving the same errors.
did you modify in a wrong file? please open the build.prop in the out/target_files/SYSTEM/. if or not there are 5 items?
Sent modified build.prop to your email, forgive me if i misunderstood you.
The build.prop has sent to your emali, try it again.
your build.prop worked correctly, I see what you meant now. Thank you!
The last error i run into is:
Build full ota package: /home/josh/patchrom/rezound/out/fullota.zip
unzipping target target-files...
using device-specific extensions in .
unable to load device-specific module; assuming none
Traceback (most recent call last):
File "/home/josh/patchrom/tools/releasetools/ota_from_target_files", line 846, in
Please send me your recovery.fstab in your metadata dir.
the problem is it just says
cat: can't open
I'm trying to extract the recovery.fstab from the recovery.img
how do I retrieve the recovery.fstab?
First you should find a recovery that support adb. Then: adb reboot recovery adb pull /etc/recovery.fstab
I got the the fullota to build, now when I flash through recovery im stuck at htc splashscreen.
Welcome to patchrom :)
Took me over 60 builds to get my DHD working. Run a logcat. Figure out the error. DIFF regular android smali VS your smali in the affected files. Then work from there.
Haha yeah I was planning on pull the log when I got home, just finished my first Java class this last semester so I'm still pretty new to all of this.
adb logcat gets stuck at - waiting for device - Is this because Im only getting to the splashscreen and not the actual boot animation?
Unpack boot.img and add "persist.service.adb.enable=1" to the default.prop, pack this modified boot.img again ,flash the boot.img to your phone,may be worked for you.
KeyError: "There is no item named 'SYSTEM/build.prop' in the archive" How to modify them to 5 items?
hello sir i am also facing the same issue so please guide me hoiw to fix this i didnt get what to modify in build.prop