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...