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

Search This thread

vuidoi

Senior Member
Oct 23, 2010
195
71
Friedrichsdorf
I can't backsmali SystemUI.apk from Android 4.1.2 and 4.1.1 ......Not work for me :D
But i think not your program, may be my file problem :D
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(MouseEventArgs 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:

elesbb

Senior Member
Jun 20, 2010
7,883
5,324
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

Senior Member
Jun 20, 2010
7,883
5,324
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.
 
  • Like
Reactions: nguyenhonganh

elektrik2001

Senior Member
Jan 23, 2009
118
8
Moto G 5G
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(MouseEventArgs 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.
 

elesbb

Senior Member
Jun 20, 2010
7,883
5,324
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(MouseEventArgs 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.

Definitely an issue with .NET Framework.,I would recommend downloading it again and installing it as well as running Windows update.

Sent from my SGH-T999 using Tapatalk 2
 

DaGunn

Senior Member
Oct 7, 2010
129
35
Warriors Mark
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)

Please change to .Net 3.5, Thank you kindly.
 

elektrik2001

Senior Member
Jan 23, 2009
118
8
Moto G 5G
Didn't know that was possible.. lol. Try removing all of them the start with the 4.5

Sent from my SGH-T999 using Tapatalk 2

You didn't know having too many things installed in Windows can cause problems? Really? hehe.

Unfortunately, I'm going to have to pass on your tool though, if the solution is to delete all versions of .net and only install 4.5. I have way too many *other* apps on my workstation that depend on the other versions of .net.

Thanks though :good:
 

elesbb

Senior Member
Jun 20, 2010
7,883
5,324
You didn't know having too many things installed in Windows can cause problems? Really? hehe.

Unfortunately, I'm going to have to pass on your tool though, if the solution is to delete all versions of .net and only install 4.5. I have way too many *other* apps on my workstation that depend on the other versions of .net.

Thanks though :good:

But that's the thing, my machine only has. Net 4.5, things that are built on. Net 1.1 will still work with. Net 4.5. That's why I was puzzled that it had multiple versions on, how did you install them? I'm guessing they were bad installs.

Sent from my SGH-T999 using Tapatalk 2
 

Hicsy

Member
Nov 3, 2011
23
2
But that's the thing, my machine only has. Net 4.5, things that are built on. Net 1.1 will still work with. Net 4.5. That's why I was puzzled that it had multiple versions on, how did you install them? I'm guessing they were bad installs.

nah, actually I have had several games where i have specifically needed to install older versions of .net to work... that said, i vaguely remember that .net 1.1 and maybe the next one were for OLD windows... I know i cant modify my .net 1.1 on my windows 7 machine

usually ppl using hacked versions of XP end up with issues with .net
 

Hicsy

Member
Nov 3, 2011
23
2
I can't backsmali SystemUI.apk from Android 4.1.2 and 4.1.1 ......Not work for me :D
But i think not your program, may be my file problem :D

no i think this is a fault with the program not checking the directory!

if there is a space in the command that it feeds to backsmali, there will be a directory not found error

ie C:\Users\Hics\GUI Smali Tool\finished wil say that it can't find C:\Users\Hics\GUI

try APK to Java and see if you get the same error: http://xdaforums.com/showthread.php?t=1910873
it's not based on the windows 8 .net framework so if you still get an error then its not .net
 

Top Liked Posts

  • There are no posts matching your filters.
  • 53
    **Discontinued**

    Use my gui apk tool instead and deselect (decompile resources) Look in my Signature for the link
    1
    I can't backsmali SystemUI.apk from Android 4.1.2 and 4.1.1 ......Not work for me :D
    But i think not your program, may be my file problem :D

    Looks like .NET Framework 4.5 isnt installed. Those are C# errors.
    1
    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.