Open soytony opened 7 months ago
try new commit
Still not working. The modded apks are rejectecd after wiping userdata. I guess there must be some forced signature verification on first boot.
send me logcat
The system app I modded is SystemUI, and after I wiped user data it is rejected by the system, as the status bar is gone. Now I managed to finish the setupwizard and get into settings, but was unable to enable ADB. Maybe the ADB switch has to be triggered thru SystemUI or something.
Thus I cannot provide the log now.
False alarm! 😂 I turned out to be the issue of the tool I mod the app. The tool allows me to mod the files inside the apk in place, but it seems to give out an invalid zip file for the A14 system. I manually repacked the apk in non-compressed mode and zipaligned it, it worked all fine! Mocking the ret value of 'getMinimumSignatureSchemeVersionForTargetSdk' is enough to make the modded system apk work!
Modding 'getMinimumSigantureSchemeVersionForTargetSdk' seems not enough for Android 14. Modded system apks failed to pass signature scheme v3 verification according to log.