Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Android hidden APIs and system services for static analysis.

Notifications You must be signed in to change notification settings

github583431183/AndroidHiddenApi

Repository files navigation

About

Extract jar from AOSP source code compiling files

# android.jar service helper API
out/soong/.intermediates/frameworks/base/framework/android_common/turbine-combined/framework.jar
# service implement API
# classes floder in 
out/soong/.intermediates/frameworks/base/services 
# extract all classes
python3 combine.py

Extract jar from Emulator

AndroidApiExtract is a tool used to extract full framework jar with hiden APIs from Android devices.

framework-full.jar: contain all the classes. framework-lite.jar: only contain android framework and service classes. (use for static analysis)

Extract Methods in oat2smali2dex2jar.py:

For API23-25:

First, use OdexAndOat2Smali() scan and convert every .odex and .oat files in /system/framework directory to smali files in one out directory.
Second, use Smali2Dex() convert the smali files to .dex files.
Third, use Dex2Jar() convert .dex files to jar for 

For API26+:

First, use vdexExtractor to get smali files from /system/framework directory
 
Second, use Dex2Jar() convert .dex files to jar for API26+

For API29+: https://github.com/aeab13/android-jar-with-hidden-api

About

Android hidden APIs and system services for static analysis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%

AltStyle によって変換されたページ (->オリジナル) /