I'm trying to add an APK to /system/priv-app in a Droid Maxx by modifying the firmware.
Using simg2img and make_ext4fs on ubuntu, I can unpack and repack the system.img file, place it back into the firmware, and flash it successfully.
But when I do the same thing, and add the APK to /system/privapp, I get the following errors:
Invalid entry hash for system: index=0
and
Preflash Validation failed
There were more steps than this, I just didn't want to get too detailed, in case there was an easy answer to this question.
The original firmware file is: CFC-obakem_verizon-user-4.4.4-SU6-7-release-keys.xml.zip
Thanks
Using simg2img and make_ext4fs on ubuntu, I can unpack and repack the system.img file, place it back into the firmware, and flash it successfully.
But when I do the same thing, and add the APK to /system/privapp, I get the following errors:
Invalid entry hash for system: index=0
and
Preflash Validation failed
There were more steps than this, I just didn't want to get too detailed, in case there was an easy answer to this question.
The original firmware file is: CFC-obakem_verizon-user-4.4.4-SU6-7-release-keys.xml.zip
Thanks