JesusFreke / smali

smali/baksmali
6.33k stars 1.07k forks source link

Having troubles with baksmali #104

Closed JesusFreke closed 9 years ago

JesusFreke commented 9 years ago

Original issue 60 created by JesusFreke on 2011-03-26T17:00:03.000Z:

What seems to be the problem? Evertime I try to deodex services.odex i get boot class path errors.

What is the exact smali/baksmali command that you ran? java -jar baksmali.jar -x services.odex -o services.odex.out

What version of smali/baksmali are you using? What rom are you working from? Smali\Baksmali 1.2.6(windows 7) NFX 2.0 for Evo Shift

What is the airspeed velocity of an unladen swallow? It depends on whether you are talking about an African or European swallow.

The airspeed velocity of an unladen swallow is roughly 11 meters per second, or 24 miles per hour*, beating its wings 7-9 times per second (rather than 43). But please note that a 5 ounce bird cannot carry a one pound coconut.

*Based upon published species-wide averages of wing length and body mass, initial Strouhal estimates based on those averages and cross-species comparisons, the Lund wind tunnel study of birds flying at a range of speeds, and revised Strouhal numbers based on that study gives an estimate that the average cruising airspeed velocity of an unladen European Swallow is roughly 11 meters per second, or 24 miles per hour.

Please provide any additional information below: error messages, symptoms, etc.

C:\Android\android-sdk-windows\platform-tools>java -jar baksmali.jar -x services .odex -o services.odex.out

Error occured while loading boot class path files. Aborting. org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find int erface Lcom/orange/authentication/simcard/AkaAuthenticationResult; at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadAllImplementedInte rfaces(ClassPath.java:819) at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java: 675) at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:280 ) at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:16 3) at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(Cla ssPath.java:110) at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:98) at org.jf.baksmali.main.main(main.java:278) Error while loading class Lcom/android/internal/telephony/gsm/HtcSimCardAuthenti cationManager$AkaAuthenticationResultWrapper; from file .\framework.zip Error while loading ClassPath class Lcom/android/internal/telephony/gsm/HtcSimCa rdAuthenticationManager$AkaAuthenticationResultWrapper;

JesusFreke commented 9 years ago

Comment #1 originally posted by JesusFreke on 2011-03-26T17:26:29.000Z:

Your phone likely uses a non-standard boot classpath. If that is the case, you'll need to specify the full bootclasspath via the -c option. The BOOTCLASSPATH environment variable on the phone has a list of the jar files in the bootclasspath - these are the files that you'll need to list for -c (in the same order).