Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,912 Members 40,898 Now Online
XDA Developers Android and Mobile Development Forum

[TOOL][ROMDEV] working baksmali for honeycomb

Tip us?
 
Roach2010
Old
(Last edited by Roach2010; 17th June 2011 at 02:15 AM.)
#1  
Roach2010's Avatar
Recognized Developer - OP
Thanks Meter 2261
Posts: 833
Join Date: Sep 2008
Location: Glasgow

 
DONATE TO ME
Default [TOOL][ROMDEV] working baksmali for honeycomb

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, 831 views)
The Following 11 Users Say Thank You to Roach2010 For This Useful Post: [ Click to Expand ]
 
Boushh
Old
#2  
Boushh's Avatar
Retired Recognized Developer
Thanks Meter 143
Posts: 390
Join Date: Mar 2008
Location: Portland, OR
Thanks! This was most useful for my project today!

I'm really amazed more people haven't noticed/commented on this TBH.
[] Current Phone: Galaxy Nexus []
[] Current ROM: AOKP []
[}------------------------------------------------------------{]
[] Current Tab: Nexus 7 []
[] Current ROM: AOKP []
[}------------------------------------------------------------{]
[] Hack to learn []
[] NOT []
[] Learn to hack []
[}------------------------------------------------------------{]
The Following User Says Thank You to Boushh For This Useful Post: [ Click to Expand ]
 
jim_panse
Old
(Last edited by jim_panse; 25th June 2011 at 12:09 PM.)
#3  
jim_panse's Avatar
Senior Member
Thanks Meter 300
Posts: 1,222
Join Date: Jul 2010
Location: Chemnitz, Saxony

 
DONATE TO ME
NetworkLocation.odex still give errors.

Thats the error:

Code:
Select 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;
If you like my work, buy me a beer.
 
taha_e
Old
#4  
taha_e's Avatar
Senior Member
Thanks Meter 273
Posts: 477
Join Date: Oct 2010
Location: Bangkok
I'm also getting errors on galaxy tab 10.1, framework was done without any problem but many of system app can not deodex
 
barry0117
Old
#5  
Junior Member
Thanks Meter 0
Posts: 12
Join Date: Sep 2010
Location: zhengzhou
Thanks,the proeblem I meet is solved.
 
fallingup
Old
#6  
Senior Member
Thanks Meter 53
Posts: 418
Join Date: Mar 2006
Location: New Mexico
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 am angel12 from modaco, ppcgeeks, alldroid, droidmod.org and most other forums, i just didnt get angel12 here for some reason, someone already had it.

Twitter.com/ang3l12

Current phones: Galaxy Nexus, Galaxy S3, Galaxy Note 2, iPhone 5
 
gee one
Old
#7  
gee one's Avatar
Senior Member
Thanks Meter 561
Posts: 1,551
Join Date: Jul 2010
Location: linux command line
Quote:
Originally Posted by fallingup View Post
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
HTC Dream
HTC Vision
ASUS Transformer

If you found this post helpful, please consider a donation to charity:
World Vision
International Red Cross
Wikipedia
International Justice Mission
or pick your own
 
fallingup
Old
#8  
Senior Member
Thanks Meter 53
Posts: 418
Join Date: Mar 2006
Location: New Mexico
Quote:
Originally Posted by gee one View Post
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...
I am angel12 from modaco, ppcgeeks, alldroid, droidmod.org and most other forums, i just didnt get angel12 here for some reason, someone already had it.

Twitter.com/ang3l12

Current phones: Galaxy Nexus, Galaxy S3, Galaxy Note 2, iPhone 5
 
gee one
Old
#9  
gee one's Avatar
Senior Member
Thanks Meter 561
Posts: 1,551
Join Date: Jul 2010
Location: linux command line
Quote:
Originally Posted by fallingup View Post
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
HTC Dream
HTC Vision
ASUS Transformer

If you found this post helpful, please consider a donation to charity:
World Vision
International Red Cross
Wikipedia
International Justice Mission
or pick your own
The Following User Says Thank You to gee one For This Useful Post: [ Click to Expand ]
 
fallingup
Old
#10  
Senior Member
Thanks Meter 53
Posts: 418
Join Date: Mar 2006
Location: New Mexico
Quote:
Originally Posted by gee one View Post
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
I am angel12 from modaco, ppcgeeks, alldroid, droidmod.org and most other forums, i just didnt get angel12 here for some reason, someone already had it.

Twitter.com/ang3l12

Current phones: Galaxy Nexus, Galaxy S3, Galaxy Note 2, iPhone 5

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Slide Dial Replacement Dialer Lets You Make Calls from Anywhere

If you frequently make phone calls, your dialer (aka phone app)is one of the … more

Navigate with Your Samsung Gear 2 Using DMA Navi Watch

Whether you’re travelling to a new destination or exploring some previously … more

Xperia Z1 Stereo Speaker Mod, Cell Phone Unlocking Legal Again! – XDA Developer TV

Cell Phone Unlocking is legal again!! That and much … more