Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on Android 14 with OneUI6.1. #26

Open
soytony opened this issue Apr 3, 2024 · 6 comments
Open

Not working on Android 14 with OneUI6.1. #26

soytony opened this issue Apr 3, 2024 · 6 comments

Comments

@soytony
Copy link

soytony commented Apr 3, 2024

Modding 'getMinimumSigantureSchemeVersionForTargetSdk' seems not enough for Android 14. Modded system apks failed to pass signature scheme v3 verification according to log.

@buihien224
Copy link
Owner

try new commit

@soytony
Copy link
Author

soytony commented Apr 3, 2024

Still not working. The modded apks are rejectecd after wiping userdata. I guess there must be some forced signature verification on first boot.

@buihien224
Copy link
Owner

send me logcat

@soytony
Copy link
Author

soytony commented Apr 3, 2024

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.

@soytony
Copy link
Author

soytony commented Apr 3, 2024

Thus I cannot provide the log now.

@soytony
Copy link
Author

soytony commented Apr 4, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants