Post Reply

[TOOL] GUI Smali tool very easy to use :)

OP elesbb

9th November 2012, 02:29 AM   |  #1  
elesbb's Avatar
OP Senior Member
Thanks Meter: 4,417
 
6,864 posts
Join Date:Joined: Jun 2010
Donate to Me
More
As i promised here is the GUI Smali tool for decompiling apk source code when you run into errors when building resources if using APK tool.

Just a few things i should mention:

This program MUST be run as Administrator for 7zip to be able to modify the apk. Its really a lengthy explanation, but pretty much, since im using 7zip outside of its "normal" home its permissions are degraded requiring my program to have elevated permissions to perform propperly.

Second, if you notice it lagging for a long time when exiting its because its cleaning up files. Figured if i didnt do that me and everyone else who used this will have 34868786736273785868657474758699509430393848587 files on their computer. :P

And these seriously dont take two minutes to write, so if you like/use them just thank me

Microsoft .NET Framework 4.5 GET IT

Microsoft .NET Framework 4.5 Installer


And i need to update my other thread but these tools are written in C#, meaning .NET framework is required. And since i am developing on a windows 7 machine with .NET Framework 4.5 installed, it automatically sets the minimum framework to 4.5. If its an issue for anyone. i can change it to no latter than .NET 3.5 as if i go older i will need to change the code for certain apis arent available in older versions.

Well have fun!


Install instructions:

Extract the zip, run installer, profit

Microsoft .NET Framework 4.5 installer (offline)
Attached Files
File Type: zip elesbb's GUI Smali Tool installer.zip - [Click for QR Code] (2.53 MB, 6475 views)
Last edited by elesbb; 9th November 2012 at 07:47 PM.
The Following 47 Users Say Thank You to elesbb For This Useful Post: [ View ]
9th November 2012, 06:32 PM   |  #2  
vuidoi's Avatar
Senior Member
Flag Friedrichsdorf
Thanks Meter: 72
 
191 posts
Join Date:Joined: Oct 2010
More
I can't backsmali SystemUI.apk from Android 4.1.2 and 4.1.1 ......Not work for me
But i think not your program, may be my file problem
Quote:

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): The directory name is invalid
at System.Diagnostics.Process.StartWithCreateProcess( ProcessStartInfo startInfo)
at GUI_Smali_Tool.MainForm.button2_Click(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.269 (RTMGDR.030319-2600)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Last edited by vuidoi; 9th November 2012 at 06:40 PM.
9th November 2012, 07:22 PM   |  #3  
elesbb's Avatar
OP Senior Member
Thanks Meter: 4,417
 
6,864 posts
Join Date:Joined: Jun 2010
Donate to Me
More
Quote:
Originally Posted by vuidoi

I can't backsmali SystemUI.apk from Android 4.1.2 and 4.1.1 ......Not work for me
But i think not your program, may be my file problem

Looks like .NET Framework 4.5 isnt installed. Those are C# errors.
The Following User Says Thank You to elesbb For This Useful Post: [ View ]
9th November 2012, 07:33 PM   |  #4  
elesbb's Avatar
OP Senior Member
Thanks Meter: 4,417
 
6,864 posts
Join Date:Joined: Jun 2010
Donate to Me
More
Yup just saw this in your post:
Code:
Assembly Version: 4.0.0.0
This means .NET 4.0 is installed. I will put a link in the OP for downloading 4.5 in a couple minutes.
9th November 2012, 07:57 PM   |  #5  
elesbb's Avatar
OP Senior Member
Thanks Meter: 4,417
 
6,864 posts
Join Date:Joined: Jun 2010
Donate to Me
More
OP UPDATED: Two links for .NET Framework 4.5 First link WHICH I RECOMMEND is Microsoft's direct link to their installer. Second link is an offline installer from microsoft.
The Following User Says Thank You to elesbb For This Useful Post: [ View ]
20th November 2012, 05:55 AM   |  #6  
nguyenhonganh's Avatar
Senior Member
Flag Ha Noi
Thanks Meter: 23
 
118 posts
Join Date:Joined: Jan 2010
Donate to Me
More
"GUI Smali Tool.exe is not a valid win32 application"

What does this mean
20th November 2012, 04:35 PM   |  #7  
diimaan's Avatar
Senior Member
Thanks Meter: 80
 
444 posts
Join Date:Joined: Oct 2007
blank
Last edited by diimaan; 21st November 2012 at 05:17 PM.
The Following User Says Thank You to diimaan For This Useful Post: [ View ]
20th November 2012, 05:22 PM   |  #8  
elesbb's Avatar
OP Senior Member
Thanks Meter: 4,417
 
6,864 posts
Join Date:Joined: Jun 2010
Donate to Me
More
__
Last edited by elesbb; 23rd November 2012 at 05:51 AM.
20th November 2012, 10:11 PM   |  #9  
0xv's Avatar
Junior Member
Thanks Meter: 1
 
22 posts
Join Date:Joined: Nov 2012
Hmm this looks cool :thumbup:
21st November 2012, 05:06 PM   |  #10  
elektrik2001's Avatar
Member
Thanks Meter: 3
 
80 posts
Join Date:Joined: Jan 2009
More
Doesn't work for me (Windows 7 x64). Running as Administrator. I have JRE 7, .net 4.5 installed. Here's what the JIT shows:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): The directory name is invalid
at System.Diagnostics.Process.StartWithCreateProcess( ProcessStartInfo startInfo)
at GUI_Smali_Tool.MainForm.button2_Click(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
GUI Smali Tool
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/GUI%20smali%20Tool/GUI%20Smali%20Tool.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

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 and Hacking General [Developers Only] by ThreadRank