View Single Post
  #17 (permalink)  
Old 02-28-2012, 01:27 PM
OMJ's Avatar
OMJ
Retired Staff
Offline
Threadstarter
Location: MN
 
Join Date: Jun 2007
Posts: 4,767
Reputation: 20305
OMJ can't get a higher reputation levelOMJ can't get a higher reputation levelOMJ can't get a higher reputation levelOMJ can't get a higher reputation levelOMJ can't get a higher reputation levelOMJ can't get a higher reputation levelOMJ can't get a higher reputation levelOMJ can't get a higher reputation levelOMJ can't get a higher reputation levelOMJ can't get a higher reputation levelOMJ can't get a higher reputation level
Mentioned: 11 Post(s)
Tagged: 0 Thread(s)
Re: [Dev Tools] How to create mods

I'm gonna add this to the OP for assembling/disassembling .jar files.

smali - An assembler/disassembler for Android's dex format - Google Project Hosting


Using Smali/Baksmali, I will use framework.jar as the example:

-open deodexed framework.jar w/ 7zip, extract classes.dex

-copy classes.dex to your Baksmali folder

-decompile classes.dex (java -jar baksmali.jar classes.dex)

-make your smali changes in the Out folder

-copy out folder to Smali dir

-compile classes.dex (java -jar smali.jar -o classes.dex out/)

-copy the new classes.dex to framework.jar
__________________

Last edited by OMJ; 02-28-2012 at 01:30 PM.
Reply With Quote
This post has been thanked 1 times.