JesusFreke / smali

smali/baksmali
6.34k stars 1.07k forks source link

Can not get the list of jar files in oat file (android Q) #706

Closed bursoft-git closed 5 years ago

bursoft-git commented 5 years ago

Hello, JF! baksmali 2.3 returns nothing from oat file (android Q), but baksmali 2.2.7 works well

c:\BatchApkTool\_system\framework\arm64>java -jar baksmali-2.2.7.jar l d boot-ext.oat
/system/framework/ext.jar
c:\BatchApkTool\_system\framework\arm64>java -jar baksmali-2.3.jar l d boot-ext.oat

boot-ext.zip

Thanks!

JesusFreke commented 5 years ago

The dex files are stored in the vdex file. You have to have a vdex file with the same base name as the oat file in the same directory*

(* or one directory up. see 1ac14a1082b8f5a016ee74d3f3d5a6f0521d0558)

bursoft-git commented 5 years ago

i mean baksmali 2.3 not return LIST of jar files from oat file