I have an Android apk that I would like to modify at the byte level. However, even with no changes other than unzipping, rezipping, zip aligning and resigning it no longer works correctly (it starts but the opening splash screen never opens). If I decompile, recompile and then zip align and resign it, it works (verifying that the signing was successful) but the images slightly exceed the screen size of my Android 11 phone (Samsung A20 with 1560x720 resolution). The tools I'm using are APK ToolKit v1.6 for all the steps, and I've also used apktool_2.12.1 to perform the decompile/recompile steps, using APK ToolKit just for the zip aligning/resigning. I've also tried using 7-Zip for the unzipping/rezipping and APK Toolkit for the aligning/resigning with the same result as using APK ToolKit alone for all those steps. If it weren't for the image size problem, I would be fine with performing a full decompile/recompile, but it's overkill for what I want to do (edit a few bytes). What could be causing the app to break by just unzipping and rezipping it?