Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[TOOL][APP][4.0+] Show Java - A Java Decompiler for Android - Get java source from ap

OP niranjan94

Announcement from niranjan94: New Version (1.8) Released ! Major Bug Fixes ! Download Now !!
7th January 2014, 05:28 PM   |  #1  
niranjan94's Avatar
OP Senior Member
Flag Coimbatore
Thanks Meter: 483
 
209 posts
Join Date:Joined: Jun 2012
Donate to Me
More
Disclaimer

DO NOT USE THIS APPLICATION TO DO STUFF THAT YOU HAVE NO RIGHT TO DO.
THE DEVELOPER (Niranjan Rajendran) IS IN NO WAY RESPONSIBLE FOR ANY MISUSE OF THIS APPLICATION.



About

This is basically a Java Decompiler that 'trys' to extract the .java source code from an APK( Android application) and jar files. There are many such decompilers that run on a PC. But, I didn't find one that runs properly on a android phone. So, i thought of making one, and , here it is :D

Features
  1. Runs directly on your android device
  2. Select jar/apk from sdcard (or) from a list of installed applications
  3. Easy to use
  4. Displays code in a clean-syntax-highlighted form
  5. The decompiled source can easily be copied from the sdcard (source is stored in ShowJava folder in the sdcard)
  6. Simple source browser with a summary of all decompilation errors
  7. Each decompiled source file has commented references to classes that could not be decompiled
  8. And more to come ...

What's new in version 1.8 (Version Code: 2)

Huge Additions and Bug-Busting !
  1. Fixed crash on new installations
  2. Fixed crash on devices running on Android Runtime (ART)
  3. Improvements to SSA analysis
  4. Fix precedence issue on instanceof.
  5. improvement to handling some obfuscated switches which caused failure
  6. Minor Bug fixes
  7. Updated CFR to 0.89
  8. Fix precedence issue on instanceof.
  9. Rewrite variable definitions
  10. Better guess for anonymous inner types.
  11. Improvements to implicit cast checking.
  12. Handle empty switches better
  13. Fix bug which could cause some switch-on-enum statements not to be resugared.
  14. And more decompiler improvements

Download (it's free)



Screenshots




Check HQ screenshots here.

Source Code

This will be an Open Sourced project. Put I have some more work to do. And once that's done, I'll release the source code for everyone to benefit from.

Bugs
  1. Does not work with system applications in most of the phones (especially one's that are not de-odexed)
  2. Miscellaneous errors here and there...

Reporting a Bug

Always please attach a logcat while reporting major bugs. You can report bugs via XDA's DevDB Bug Reporting option (or) send me an email at niranjan@leanlab.in

Reasons for Permissions
  1. Internet - Automated bug reporting
  2. External Storage - To store the decompiled source code and to have a working directory for the application

Changelog

Code:
Version 1.7/1.8
===========
>> Fixed crash on new installations
>> Fixed crash on devices running on Android Runtime (ART)

Version 1.6/1.5
===========
>> Improvements to SSA analysis
>> Fix precedence issue on instanceof.
>> improvement to handling some obfuscated switches which caused failure
>> Minor Bug fixes

Version 1.4
========
>> Updated CFR to 0.87
>> Fix precedence issue on instanceof.
>> Rewrite variable definitions
>> Better guess for anonymous inner types.
>> Improvements to implicit cast checking.
>> Handle empty switches better
>> Fix bug which could cause some switch-on-enum statements not to be resugared.
>> And more decompiler improvements

Version Code: 3 ( 10-Feb-2014)
==============================
>> Urgent Bug Correction (Please Update !) with dex optimisation

Version Code: 2 ( 09-Feb-2014)
==============================
>> Corrected force closes on certain devices
>> Increased decompile speed by 3x times by skipping common libraries (like support library, actionbarsherlock etc)
>> Added Option to Pick an apk/jar from sdcard (also associated apk/jar with Show Java for ease-of-use)
>> Added history of decompiled applications
>> A New, Clean and Minimal Progress Indicator
>> UI Updated to a modern look

Version Code: 1 ( 07-Jan-2014)
==============================
>> Initial Release

Credits
  • A Big-Huge Thanks to Lee Benfield (lee@benf.org) for his awesome CFR - Class File Reader :D :D
  • Panxiaobo (pxb1988@gmail.com) for dex2jar :)
  • jesusfreke (jesusfreke@jesusfreke.com) and bgruv (bgruv@google.com) for smali/baksmali/dexlib2


XDA:DevDB Information
Show Java - A Java Decompiler for Android , App for all devices (see above for details)

Contributors
niranjan94

Version Information
Status: Beta
Current Beta Version: 1.8
Beta Release Date: 2014-02-08

Created 2014-01-07
Last Updated 2014-11-07
Last edited by niranjan94; 14th June 2014 at 06:39 PM.
The Following 74 Users Say Thank You to niranjan94 For This Useful Post: [ View ]
7th January 2014, 07:10 PM   |  #4  
v_superuser's Avatar
Senior Member
Flag Jammu
Thanks Meter: 1,347
 
484 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Thumbs up
I like this one! Tipped for news article! Good luck!
Last edited by v_superuser; 7th January 2014 at 07:12 PM.
The Following 2 Users Say Thank You to v_superuser For This Useful Post: [ View ]
11th January 2014, 02:06 PM   |  #5  
Junior Member
Thanks Meter: 0
 
10 posts
Join Date:Joined: Nov 2013
More
Big thanks
i go download, try and view source
11th January 2014, 02:18 PM   |  #6  
andrewwright's Avatar
Senior Member
Flag east
Thanks Meter: 3,171
 
5,600 posts
Join Date:Joined: Feb 2013
Donate to Me
More
Many thanks
Last edited by andrewwright; 11th January 2014 at 07:36 PM.
11th January 2014, 02:44 PM   |  #7  
DaGr81's Avatar
Member
Flag Kathmandu
Thanks Meter: 21
 
71 posts
Join Date:Joined: Aug 2010
More
you did a brilliant work. I'm so flattered. WOW. your alpha version is so smooth. cant wait for the so called stable. good luck and regards,
The Following User Says Thank You to DaGr81 For This Useful Post: [ View ]
11th January 2014, 05:33 PM   |  #8  
Dhiraj's Avatar
Senior Member
Thanks Meter: 337
 
2,574 posts
Join Date:Joined: Dec 2010
More
Pl. Provide the option for selecting apk from sd card .
11th January 2014, 05:51 PM   |  #9  
Junior Member
Flag Milwaukee, WI
Thanks Meter: 4
 
22 posts
Join Date:Joined: Jan 2012
More
Donate???
I apparently have too much spare change laying around, where can I throw it?
11th January 2014, 06:02 PM   |  #10  
Senior Member
Flag Bangalore
Thanks Meter: 324
 
996 posts
Join Date:Joined: Feb 2011
More
Great job!

Sent from my Nexus 7 using Tapatalk

Post Reply Subscribe to Thread

Tags
android, app, decompiler, java, show java
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes