Android L is for Lockdown

Root is, without a doubt, the (un)holy grail of the Android world. Those wonderful permissions that allow you as … more

XDA Xposed Tuesday: XHangouts Will Improve Your Hangouts

Ever since Google started supporting text messaging in Hangouts many people have … more

Shattered Screen? Turn Your Broken Device into a Complete Media Center!

A cracked screen usually means you’ll have to spend a hefty … more

Gmail 5.0: Material Design and Multiple Account Support

Google started to materialize many of its applications right after announcing the … more
Post Reply

[TOOL][ROMDEV] working baksmali for honeycomb

OP Roach2010

16th June 2011, 02:56 AM   |  #1  
Roach2010's Avatar
OP Recognized Developer
Flag Glasgow
Thanks Meter: 2,261
 
833 posts
Join Date:Joined: Sep 2008
Donate to Me
More
I recently made a discovery regarding the RETURN_VOID_BARRIER issues encountered while trying to deodex honeycomb's framework. Here is a working version of baksmali based on JesusFreke's 1.2.7 patch with the difference that it now produces compliant smali code that can be recompiled by smali.jar 1.2.6. This means that there is no need to edit the smali code to be able to recompile it.

I tried recompiling with smali 1.2.7 and got a nice box of bootloops so stick with 1.2.6 until a proper fix is implemented in the official smali tools.
Attached Files
File Type: zip baksmali-1.2.7-dev_roach.zip - [Click for QR Code] (664.1 KB, 833 views)
Last edited by Roach2010; 17th June 2011 at 02:15 AM.
The Following 11 Users Say Thank You to Roach2010 For This Useful Post: [ View ]
22nd June 2011, 02:58 AM   |  #2  
Boushh's Avatar
Retired Recognized Developer
Flag Portland, OR
Thanks Meter: 143
 
390 posts
Join Date:Joined: Mar 2008
More
Thanks! This was most useful for my project today!

I'm really amazed more people haven't noticed/commented on this TBH.
The Following User Says Thank You to Boushh For This Useful Post: [ View ]
25th June 2011, 12:04 PM   |  #3  
jim_panse's Avatar
Senior Member
Flag Chemnitz, Saxony
Thanks Meter: 300
 
1,222 posts
Join Date:Joined: Jul 2010
Donate to Me
More
NetworkLocation.odex still give errors.

Thats the error:

Code:
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find superclass Lcom/android/location/provider/GeocodeProvider;
        at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadSuperclass(ClassPath.java:784)
        at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:668)
        at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:280)
        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:282)
Error while loading class Lcom/google/android/location/GeocodeProvider; from file NetworkLocation.odex
Error while loading ClassPath class Lcom/google/android/location/GeocodeProvider;
Last edited by jim_panse; 25th June 2011 at 12:09 PM.
23rd August 2011, 10:42 AM   |  #4  
taha_e's Avatar
Senior Member
Bangkok
Thanks Meter: 275
 
482 posts
Join Date:Joined: Oct 2010
More
I'm also getting errors on galaxy tab 10.1, framework was done without any problem but many of system app can not deodex
14th September 2011, 01:28 AM   |  #5  
Junior Member
Flag zhengzhou
Thanks Meter: 0
 
12 posts
Join Date:Joined: Sep 2010
More
Thanks,the proeblem I meet is solved.
10th November 2011, 05:22 PM   |  #6  
Senior Member
Flag New Mexico
Thanks Meter: 53
 
418 posts
Join Date:Joined: Mar 2006
trying to download this file, it downloads as a zip, shouldnt it be a jar? I have tried renaming it to jar and it says its corrupt. help?
10th November 2011, 05:49 PM   |  #7  
gee one's Avatar
Senior Member
Flag linux command line
Thanks Meter: 567
 
1,567 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by fallingup

trying to download this file, it downloads as a zip, shouldnt it be a jar? I have tried renaming it to jar and it says its corrupt. help?

I think you have to unzip it first. Have a peek inside.

sent from my cyanogen(mod) vision
10th November 2011, 06:18 PM   |  #8  
Senior Member
Flag New Mexico
Thanks Meter: 53
 
418 posts
Join Date:Joined: Mar 2006
Quote:
Originally Posted by gee one

I think you have to unzip it first. Have a peek inside.

sent from my cyanogen(mod) vision

its the contents of a .jar file...
10th November 2011, 11:44 PM   |  #9  
gee one's Avatar
Senior Member
Flag linux command line
Thanks Meter: 567
 
1,567 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by fallingup

its the contents of a .jar file...

It's a zip of a jar file. The jar file is a zip like format, so maybe whatever you are using to unzip is a bit aggressive? Try something milder


sent from my cyanogen(mod) vision
The Following User Says Thank You to gee one For This Useful Post: [ View ]
11th November 2011, 05:01 AM   |  #10  
Senior Member
Flag New Mexico
Thanks Meter: 53
 
418 posts
Join Date:Joined: Mar 2006
Quote:
Originally Posted by gee one

It's a zip of a jar file. The jar file is a zip like format, so maybe whatever you are using to unzip is a bit aggressive? Try something milder


sent from my cyanogen(mod) vision

Thanks for gettin me outta my n00b moment silly osx unzipped it and made it seem like just one zip file, its been too long since ive done any dev work on my mac

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Software Development by ThreadRank