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

Does not work with odexed/oat ROMs (Lollipop + Marshmallow) #4

Open
michitux opened this issue Jan 23, 2016 · 1 comment
Open

Does not work with odexed/oat ROMs (Lollipop + Marshmallow) #4

michitux opened this issue Jan 23, 2016 · 1 comment

Comments

@michitux
Copy link
Contributor

I've just upgraded my Samsung Galaxy Nexus to official CM 12.1 nightlies. Unfortunately patching fails there, as the framework is odexed, i.e. framework.jar is empty, the code is in /system/framework/arm/boat.oat. smali seems to have support for deodexing ART oat files but only for Marshmellow. There is also another oat2dex.jar which seems to be used by other tools that claim Android 5.0 support. With java -jar oat2dex.jar -a 22 smali ../../Needle/boot.oat I have been able to produce a PackageParser.smali file that could be patched. However I don't know if it is possible to re-assemble to result and if yes, how to do that (or what to do instead). Some of the binaries that use oat2dex.jar appear to be able to do that, but - as far as I can see - most of them are close source and Windows only (and I have only Linux...).

@GitteHuber
Copy link

Same for me, I'm also using the official CM 12.1 nightlies for Samsung Galaxy Nexus. I also encountered the problem michitux describes.

Is there any chance, that needle will support this kind of setup?

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