I try to access a hidden API vom Android 5.1 (API Level 22) as described in this article https://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-2-hacking-around/
My problem is that the framework.jar file from the emulator and my nexus 7 is only 309 bytes large and don't contain a classes.dex file.
From where I can get this framework.jar or maybe a already modified android.jar for API Level 21 or 22?
Update 1: I tried it one more time directly with adb instead of DDMS, same result
platform-tools$ ./adb pull /system/framework/framework.jar
214 KB/s (309 bytes in 0.001s)
Update 2: I was able to get a framework.jar file from the 4.4.2 Emulator that contains a classes.dex file. I will leave the question open, because I need a current version.