De odex Question

xtacocorex

Well-known member
Jan 12, 2011
53
2
0
So I'm happily running nROM and trying to get my wife to let me root her Optimus S (but we'll have to replace the phone first, it's having battery issues where it overheats itself). She really likes the default clock on the phone (I sorta do too) and I would want to install that clock into the custom ROM when I am able to root her phone.

What I've done so far:
- Pulled DeskClock.apk and DeskClock.odex from her phone.
- Downloaded baksmali
- Tried running baksmali on the odex file on my MacBook, but get an error:
Code:
./baksmali -x DeskClock.odex 


Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Util.ExceptionWithContext: Cannot locate boot class path file core.odex
	at org.jf.dexlib.Code.Analysis.ClassPath.loadBootClassPath(ClassPath.java:237)
	at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:145)
	at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(ClassPath.java:110)
	at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:98)
	at org.jf.baksmali.main.main(main.java:278)

So the question is, what am I doing wrong and is this completely futile? Should I just be grabbing the apk from the deodexed stock ROM that is available here?

The only reason I would want to this myself is to figure out the process, as it is probably something important to know.

Thanks for any/all help.
 
What's really dumb is that I didn't need to worry about doing what I was trying to do.

Easier to grab the deodexed DeskClock.apk from ThundeROM and push that to /system/app. Easy peasy.
 

Latest posts

Trending Posts

Members online

Forum statistics

Threads
956,923
Messages
6,970,646
Members
3,163,655
Latest member
tombwiz14