5,600,725 Members 38,900 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
elesbb
Old
(Last edited by elesbb; 9th November 2012 at 07:47 PM.)
#1  
elesbb's Avatar
Senior Member - OP
Thanks Meter 3880
Posts: 6,259
Join Date: Jun 2010

 
DONATE TO ME
Default [TOOL] GUI Smali tool very easy to use :)

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, 4846 views)
The Following 40 Users Say Thank You to elesbb For This Useful Post: [ Click to Expand ]
 
vuidoi
Old
(Last edited by vuidoi; 9th November 2012 at 06:40 PM.)
#2  
vuidoi's Avatar
Senior Member
Thanks Meter 72
Posts: 185
Join Date: Oct 2010
Location: Friedrichsdorf
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.
 
elesbb
Old
#3  
elesbb's Avatar
Senior Member - OP
Thanks Meter 3880
Posts: 6,259
Join Date: Jun 2010

 
DONATE TO ME
Quote:
Originally Posted by vuidoi View Post
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: [ Click to Expand ]
 
elesbb
Old
#4  
elesbb's Avatar
Senior Member - OP
Thanks Meter 3880
Posts: 6,259
Join Date: Jun 2010

 
DONATE TO ME
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.
 
elesbb
Old
#5  
elesbb's Avatar
Senior Member - OP
Thanks Meter 3880
Posts: 6,259
Join Date: Jun 2010

 
DONATE TO ME
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: [ Click to Expand ]
 
nguyenhonganh
Old
#6  
nguyenhonganh's Avatar
Senior Member
Thanks Meter 23
Posts: 118
Join Date: Jan 2010
Location: Ha Noi

 
DONATE TO ME
"GUI Smali Tool.exe is not a valid win32 application"

What does this mean
 
diimaan
Old
(Last edited by diimaan; 21st November 2012 at 05:17 PM.)
#7  
diimaan's Avatar
Senior Member
Thanks Meter 80
Posts: 437
Join Date: Oct 2007
blank
The Following User Says Thank You to diimaan For This Useful Post: [ Click to Expand ]
 
elesbb
Old
(Last edited by elesbb; 23rd November 2012 at 05:51 AM.)
#8  
elesbb's Avatar
Senior Member - OP
Thanks Meter 3880
Posts: 6,259
Join Date: Jun 2010

 
DONATE TO ME
__
 
0xv
Old
#9  
0xv's Avatar
Junior Member
Thanks Meter 1
Posts: 22
Join Date: Nov 2012
Hmm this looks cool :thumbup:
kangxperia on my sony ericsson live with walkman (wt19i)
see on youtube:

 



 
elektrik2001
Old
#10  
elektrik2001's Avatar
Member
Thanks Meter 3
Posts: 80
Join Date: Jan 2009
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.
My (Home) Phone: Samsung Galaxy Note 3
My (Previous Home) Phones:
HTC Evo 3D
HTC Touch Pro2
HTC Touch Pro

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes