Jump to content


Photo

Disassembler For 4.0.3 And 4.0.4 Ics


  • Please log in to reply
8 replies to this topic

#1 cynnar

cynnar

    Member

  • Members
  • PipPip
  • 92 posts

Posted 30 June 2012 - 03:16 PM

I have spent a lot of time looking for dependencies for odex files when trying to deodex a rom.
I quickly learned how to spot what jar was needed in the error message. I then ran into a problem where
that did not work so well. Then I discovered that you can disassemble the framework jars and find which
one has that class by entering in baksmali.jar core.odex instead of baksmali.jar -x core.odex
It took a lot of time to disassemble each and every jar until finding the right one. So I made a batch
script to do all the work for me. This combined with a folder search of the output files made finding those
dependencies much easier.

For those of you who wish to use this tool also here it is

For use with Windows

Please Login or Register to see this Hidden Content



How to use this tool
  • Unzip to desktop (or any folder you wish)
  • Place your apps and odex files into the app folder
  • Place your jars and odex files into the framework folder
  • Start tool by clicking on main.bat
  • Select option 1 to disassemble your apps
  • Select option 2 to disassemble your framwork
  • Option 3 to quit
  • Two new folders have been created to store your disassembled files (disassembled_APK and disassembled_FrameWork)
  • Use your favorite folder search to find that dependency you are looking for
Hope this helps out
  • mattlgroff likes this
I tend to question things I disbelieve are true. Some people cannot handle that. Sorry if you are one of those people.

#2 EmericanX

EmericanX

    Developer

  • Developer
  • 1,027 posts
  • Twitter:@EmericanX
  • LocationPrince George, VA

Posted 30 June 2012 - 03:19 PM

Nice work man. When you get into that sorta thing using a grep program will go a long way as well!

Sent from my DROID RAZR using Tapatalk 2

#3 cynnar

cynnar

    Member

  • Members
  • PipPip
  • 92 posts

Posted 30 June 2012 - 03:22 PM

Thanks EmericanX

I know it made it much easier to search for dependencies than having to do one at a time.
I tend to question things I disbelieve are true. Some people cannot handle that. Sorry if you are one of those people.

#4 EmericanX

EmericanX

    Developer

  • Developer
  • 1,027 posts
  • Twitter:@EmericanX
  • LocationPrince George, VA

Posted 30 June 2012 - 03:36 PM

Is it for linux or windows? Others may wanna know as well?

Sent from my DROID RAZR using Tapatalk 2

#5 cynnar

cynnar

    Member

  • Members
  • PipPip
  • 92 posts

Posted 30 June 2012 - 03:45 PM

OK got ya now. I was just using the built in windows 7 search.
I tend to question things I disbelieve are true. Some people cannot handle that. Sorry if you are one of those people.

#6 Guest_BDH_*

Guest_BDH_*
  • Guests

Posted 30 June 2012 - 04:05 PM

OK got ya now. I was just using the built in windows 7 search.


He means, does this tool work with Linux or does it work on Windows?

#7 EmericanX

EmericanX

    Developer

  • Developer
  • 1,027 posts
  • Twitter:@EmericanX
  • LocationPrince George, VA

Posted 30 June 2012 - 04:43 PM

Yeah... that. Considering its batch script im assuming its windows. Then context clues about using the win7 built in search... lol. But it helps others to know what they're about to download. ;-)

Sent from my DROID RAZR using Tapatalk 2

#8 cynnar

cynnar

    Member

  • Members
  • PipPip
  • 92 posts

Posted 30 June 2012 - 04:45 PM

DOH!!! *Slap on head* Yes it is for windows. Sorry bout that guys.

Fixed OP to state that. Thanks for pointing that out.
Do not know where my mind was at (ok yeah I do was on deodexing 211) and thought that he was saying grep was a program for windows or linux.
Then after rereading the post thought to myself how the heck did I get that from the post.
I tend to question things I disbelieve are true. Some people cannot handle that. Sorry if you are one of those people.

#9 EmericanX

EmericanX

    Developer

  • Developer
  • 1,027 posts
  • Twitter:@EmericanX
  • LocationPrince George, VA

Posted 30 June 2012 - 04:55 PM

No biggie! Still very good work! Anything that helps the development process is win win imo

Sent from my DROID RAZR using Tapatalk 2




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users