GithubHelp home page GithubHelp logo

Comments (20)

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #1 originally posted by JesusFreke on 2010-03-04T02:10:23.000Z:

Have you identified which jar file the class
"Landroid/content/DialogInterface$OnCancelListener;" is in?

from smali.

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #2 originally posted by JesusFreke on 2010-03-04T02:12:28.000Z:

Actually, I need to add more info to that error message to be able to resolve this
type of error in the future. For now, just tell me what rom you're trying to deodex,
and I'll take a look and see what the problem is

from smali.

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #3 originally posted by JesusFreke on 2010-03-04T02:15:24.000Z:

im trying to deodex services.odex in /system/framework from the Gumbo 1.5c ROM. I got
it from here...

http://forum.androidcentral.com/htc-hero-roms-hacks/6699-cdma-hero-rom-gumbo-rom-1-5c.html

from smali.

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #4 originally posted by JesusFreke on 2010-03-04T02:17:43.000Z:

<empty>

from smali.

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #5 originally posted by JesusFreke on 2010-03-04T02:18:05.000Z:

Here is what im doing...I adb pulled all the .jar files you mentioned into a folder
by themselves. I also downloaded baksmali-1.2 and smali-1.2 and placed them into the
same folder. I then renamed and deleted the .jar files you said to delete. I tried the
java -jar baksmali-1.2.jar -x services.odex And thats when I got that message. Did I
do it right?

from smali.

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #6 originally posted by JesusFreke on 2010-03-04T03:38:40.000Z:

I've found the issue in baksmali. You'll have to wait until I fix it - there's no
workaround. I'm hoping to get the fix in this evening. And I'll try and do a bugfix
release soonish.

from smali.

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #7 originally posted by JesusFreke on 2010-03-04T03:47:03.000Z:

Thanks for your effort I appreciate it! Looking forward to a new release...

from smali.

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #8 originally posted by JesusFreke on 2010-03-05T03:49:24.000Z:

Same exact error with a few varying class paths running v1.2 on Windows 7 x64-

Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ValidationException: class
Lcom/htc/preference/HtcPreference$OnPreferenceChangeListener; cannot be resolved.
at
org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.unresolvedValidationExceptio
n(ClassPath.java:391)
at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.getSuperclass
(ClassPath.java:395)
at
org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadAllImplementedInterfaces
(ClassPath.java:676)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.(ClassPath.java:532)
at org.jf.dexlib.Code.Analysis.ClassPath.loadDexFile(ClassPath.java:127)

    at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:69)
    at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPath

(ClassPath.java:54)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:68)
at org.jf.baksmali.main.main(main.java:263)

Thanks for all you do eagerly looking forward to your bugfix! :)

from smali.

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #9 originally posted by JesusFreke on 2010-03-05T04:09:52.000Z:

Mark,
JF found a bug in baksmali-1.2.jar. Here is a beta release of baksmali that he created...

http://www.4shared.com/file/234599302/4c4ec85b/baksmali-121-beta.html

This should work for you. It worked for me when I was deodexing the .odex files.

from smali.

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #10 originally posted by JesusFreke on 2010-03-05T04:43:12.000Z:

Thanks obannvi,

Got past that hurdle now I'm on a new error and I'm not 100% sure where to go from
there though it looks like it's missing a dependency to deodex?

Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Util.ExceptionWithContext: Could not find class Lcom/htc/preferenc
e/HtcListPreference;
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:183)
at org.jf.dexlib.Code.Analysis.ClassPath.access$700(ClassPath.java:42)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadSuperclass
(ClassPath.java:689)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.(ClassPath.java:575)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:187)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:80)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPath
(ClassPath.java:58)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:71)
at org.jf.baksmali.main.main(main.java:268)
Error while loading class Lcom/android/phone/CLIRListPreference; from file Phone
.odex

Don't want to clutter up this issue but I really don't think this s a specfic issue
to baksmali anymore.

from smali.

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #11 originally posted by JesusFreke on 2010-03-05T04:45:40.000Z:

Mark,
I would create a new bug report and post it. Also, make sure in the bug report you
put the command you're using...

Vince

from smali.

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #12 originally posted by JesusFreke on 2010-03-05T04:47:19.000Z:

Yeah, the HTC roms typically have a lot more in the BOOTCLASSPATH than the standard 5
jars. You'll need to find the BOOTCLASSPATH and tell baksmali to use that with the -c
option. You only need to add the names of the jar files, not the full path. For
example, the standard BOOTCLASSPATH would look like:

-c core.jar:ext.jar:framework.jar:android.policy.jar:services.jar

You can find the BOOTCLASSPATH in /init.rc

from smali.

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #13 originally posted by JesusFreke on 2010-03-05T05:08:09.000Z:

Thank you very much obannvi for the link and JesusFreke for the BOOTCLASSPATH tip,
It didn't have a /init.rc included for whatever reason but I found the specific
.htc..jar files that I assumed would be included. Now to figure out how to get
them put back together :)!

from smali.

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #14 originally posted by JesusFreke on 2010-03-06T06:28:57.000Z:

This is fixed in 1.2.1

from smali.

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #15 originally posted by JesusFreke on 2010-06-19T06:01:42.000Z:

I have the same issue when I try to do java -jar baksmali-1.2.3.jar -x com.htc.framework.odex. Am I doing something wrong?

from smali.

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #16 originally posted by JesusFreke on 2010-06-19T13:12:09.000Z:

mp.jesusfreak09 - what is the error that you are getting?

from smali.

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #17 originally posted by JesusFreke on 2010-06-21T18:17:08.000Z:

Well, I figured it out. Let's just mark this one down as user error. My apologies.

from smali.

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #18 originally posted by JesusFreke on 2011-04-19T22:32:12.000Z:

Not sure if this is the best place to post this for help but I could not find anywhere else to do so.

I running this command and getting the following errors.

C:\android-sdk-windows\platform-tools>java -jar baksmali.jar -c C:\framework\ -x
G:\android\baksmali\HtcClockWidget.odex -o G:\android\baksmali\output

Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Util.ExceptionWithContext: Cannot locate boot class path file C
at org.jf.dexlib.Code.Analysis.ClassPath.loadBootClassPath(ClassPath.jav
a:237)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:14
5)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPath(ClassPath.j
ava:131)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:105)
at org.jf.baksmali.main.main(main.java:278)

I am using baksmali 1.2.6
I am running Windows 7 64bit
I am using the framework files from an HTC stock rom and trying to deodex the HtcClockWidget.odex
framework files are located in C:\framework

Please let me know if you need anymore information and thank you in advance for your assistance in this matter.

Joe

from smali.

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #19 originally posted by JesusFreke on 2011-05-26T12:07:07.000Z:

On executing following command,

java -jar baksmali-1.2.6.jar -o C:\decompiledBinary -x C:\temp\classes.dex

prompts me with following error:

Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Util.ExceptionWithContext: Cannot locate boot class path file cor
.jar
at org.jf.dexlib.Code.Analysis.ClassPath.loadBootClassPath(ClassPath.ja
a:237)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:1
5)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(Cl
ssPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:98)
at org.jf.baksmali.main.main(main.java:278)

Anyone help really appreciated.

thanks.

from smali.

JesusFreke avatar JesusFreke commented on July 19, 2024

Comment #20 originally posted by JesusFreke on 2011-05-26T16:24:04.000Z:

summaira: You need to specify the directory that contains the framework files with the -d option. please see http://code.google.com/p/smali/wiki/DeodexInstructions

from smali.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.