• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Deodexed jar

mobileplay

Well-Known Member
All the apk for these roms are deodexed, but I cant seem to get the.jar/.odex to deodex properly, if anyone could deodex the services.jar and get it to me I would really appreciate it,
 
/system/framework folder. You will need root explorer or something similar to see it.

Yah I checked there and I tried searching for it with no luck :/
 

Attachments

  • SC20120802-103433.png
    SC20120802-103433.png
    73.2 KB · Views: 305
If you can manage to get the files in the /framework folder to deodex if u do them all shinyside could use them for some rom tweaks too.
 
If you can manage to get the files in the /framework folder to deodex if u do them all shinyside could use them for some rom tweaks too.

What do u mean shinyside? this will b my first time trying to deodex a file :) super noob. trying to learn without bothering u guys.

ill play with to see if I can get it. maybe som. noob luck will happen

just wanted u to know ur not alone on this
 
What do u mean shinyside? this will b my first time trying to deodex a file :) super noob. trying to learn without bothering u guys.

ill play with to see if I can get it. maybe som. noob luck will happen

just wanted u to know ur not alone on this

He meant ShinySide as in me... ShinySide :D;)
 
Oh, hello shinyside :)

Welp, i thought this would be easy but am finding out there is quite a learning curve.
 
I msged mobileplay about this and thought I'd post here as well.

I was getting this error

UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext: regCount does not match the number of arguments of the method
at org.jf.dexlib.Util.ExceptionWithContext.withContex t(ExceptionWithContext.java:54)
at org.jf.dexlib.Code.InstructionIterator.IterateInst ructions(InstructionIterator.java:92)
at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
at org.jf.dexlib.Item.readFrom(Item.java:77)
at org.jf.dexlib.OffsettedSection.readItems(Offsetted Section.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
at org.jf.baksmali.main.main(main.java:269)
Caused by: java.lang.RuntimeException: regCount does not match the number of arguments of the method
at org.jf.dexlib.Code.Format.Instruction3rc.checkItem (Instruction3rc.java:129)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(In struction3rc.java:79)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(In struction3rc.java:44)
at org.jf.dexlib.Code.Format.Instruction3rc$Factory.m akeInstruction(Instruction3rc.java:145)
at org.jf.dexlib.Code.InstructionIterator.IterateInst ructions(InstructionIterator.java:84)
... 6 more
Error occured at code address 16
code_item @0x3025c
I think I got past that using this CMD

C:\framework>java -jar baksmali.jar -d C:\framework -x -a 9 settings.odex

Something to do with the API level???

I ended up getting this
Error while disassembling method Lcom/android/settings/wifi/AccessPointListDialog;->updateWpsEvent(I)V. Continui
ng.
org.jf.dexlib.Code.Analysis.ValidationException: class Lcom/sec/android/touchwiz/widget/TwProgressDialog; cannot
be resolved.
at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedCl assDef.unresolvedValidationException(ClassPath.jav a
:537)
at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedCl assDef.getClassDepth(ClassPath.java:545)
at org.jf.dexlib.Code.Analysis.ClassPath.getCommonSup erclass(ClassPath.java:386)
at org.jf.dexlib.Code.Analysis.RegisterType.merge(Reg isterType.java:275)
at org.jf.dexlib.Code.Analysis.AnalyzedInstruction.me rgeRegister(AnalyzedInstruction.java:185)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.propaga teRegisterToSuccessors(MethodAnalyzer.java:451)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.setPost RegisterTypeAndPropagateChanges(MethodAnalyzer.jav a
:431)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.setDest inationRegisterTypeAndPropagateChanges(MethodAnaly z
er.java:403)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze Instruction(MethodAnalyzer.java:799)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze (MethodAnalyzer.java:213)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnaly zedInstructionMethodItems(MethodDefinition.java:37 9
)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo( MethodDefinition.java:132)
at org.jf.baksmali.Adaptors.ClassDefinition.writeMeth ods(ClassDefinition.java:338)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(C lassDefinition.java:116)
at org.jf.baksmali.baksmali.disassembleDexFile(baksma li.java:205)
at org.jf.baksmali.main.main(main.java:297)
opcode: iget-object
CodeAddress: 45
Method: Lcom/android/settings/wifi/AccessPointListDialog;->updateWpsEvent(I)V

However a new folder was created called OUT with .smali files

C:\framework\out\com\android\settings>dir
Volume in drive C has no label.
Volume Serial Number is A8F6-5011

Directory of C:\framework\out\com\android\settings

08/06/2012 05:27 PM <DIR> .
08/06/2012 05:27 PM <DIR> ..
08/06/2012 05:27 PM 2,532 AccessibilitySettings$1.smali
08/06/2012 05:27 PM 2,022 AccessibilitySettings$2.smali
08/06/2012 05:27 PM 2,045 AccessibilitySettings$3.smali
08/06/2012 05:27 PM 2,295 AccessibilitySettings$4.smali
08/06/2012 05:27 PM 2,470 AccessibilitySettings$5.smali
08/06/2012 05:27 PM 1,171 AccessibilitySettings$6.smali
08/06/2012 05:27 PM 35,298 AccessibilitySettings.smali
08/06/2012 05:27 PM 2,365 ActivityPicker$EmptyDrawable.smali
08/06/2012 05:27 PM 16,938 ActivityPicker$IconResizer.smali
08/06/2012 05:27 PM 8,200 ActivityPicker$PickAdapter$Item.smali
08/06/2012 05:27 PM 6,604 ActivityPicker$PickAdapter.smali
08/06/2012 05:27 PM 15,119 ActivityPicker.smali
08/06/2012 05:27 PM 4,519 AirplaneModeEnabler$1.smali
08/06/2012 05:27 PM 2,958 AirplaneModeEnabler$2.smali
08/06/2012 05:27 PM 15,350 AirplaneModeEnabler.smali
08/06/2012 05:27 PM 87,232 ApnEditor.smali
08/06/2012 05:27 PM 12,111 ApnPreference.smali
08/06/2012 05:27 PM 4,179 ApnSettings$1.smali
08/06/2012 05:27 PM 1,558 ApnSettings$2.smali
ETC ETC...

Are these the deodexed files??? What do I do with them?
 
Well I went back and grabbed all the .dex files from the dalvik director and put them in the same dir as the .jar and .odex files and tried it that way with the same command and now get this error with no OUT directory created

C:\framework>java -jar baksmali.jar -d C:\framework -a 9 -x services.odex


Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find superclass Ljunit/framework/TestCas
e;
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:685)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:282)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:163)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(ClassPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:104)
at org.jf.baksmali.main.main(main.java:297)
Error while loading class Landroid/test/AndroidTestCase; from file .\framework.zip
Error while loading ClassPath class Landroid/test/AndroidTestCase;
 
Back
Top Bottom