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

[BUG] recompiled framework.jar is not correct #3810

Open
farfromrefug opened this issue Feb 19, 2025 · 0 comments
Open

[BUG] recompiled framework.jar is not correct #3810

farfromrefug opened this issue Feb 19, 2025 · 0 comments

Comments

@farfromrefug
Copy link

Information

  1. Apktool Version 2.10 -
  2. Linux -
  3. APK From LOS Rom -
  4. openjdk 21.0.6 2025-01-21* -

No error stack trace.
When i recompile the framework.jar (from LOS 21.0) i see that it is missing some data. i am not even sure i see it all. Just from the screenshots some are clear.
But if i use that compiled jar in my ROM the whole system is not working correctly: cant open file picker, browser cant open pages, system is slow...

Here is the jar https://we.tl/t-8Lxh5XSTcx

This is the compiled one
Image

This is the original one
Image

Steps to Reproduce

  1. apktool --frame-path ~/.local/share/apktool d -r -f d/system/framework/framework.jar -o temp_framework
  2. apktool --frame-path ~/.local/share/apktool b temp_framework -c -api 34 -o framework-TMP.jar
  3. zipalign -p -f -v 4 framework-TMP.jar framework.jar
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

1 participant