3

I'm trying to get to an Android device framework source to perform static analysis on it. I'm specifically looking at a Samsung Galaxy S6 device with Android 5.1.1. I downloaded the firmware image, mounted the system partition, and I'm able to see the framework directory with a bunch of jars and sub-directories with arm/arm64 odex files. I managed to convert services.odex to DEX format using oat2jar, and then look at the source using jadx. However, it appears the decompilation or the conversion from odex to dex wasn't complete, as there are references to several missing packages. I have the package names, but how do I get to the relevant jar/odex/dex files?

Thanks.

  • All code is on the phone. Most likely in the same location as the framework – Vitaly Osipov Jun 11 '16 at 5:43
0

Found it in the boot.oat file.

  • You should consider providing more details such as how you found the file, for example. – NirIzr Sep 5 '16 at 11:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.