yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Le Ch@land:
Thanks

Hi,

I made this with your tool, thank you, and please, update :)

I just needed tu run the bat file as administrator tu fully working.
[Android Software Development] Ricky Divjakovski:
looks good! confirmed working on the SGS3 i9300 SmartDroid rom by me and SkywalkerZ!

i will update it in 5 minutes, and i will add request for admin when opening it!
[Android Software Development] Ricky Divjakovski:
Updated to 2.0
[Android Software Development] Le Ch@land:
bug

Thank you for the update.

There is a problem of distorted display.

Just add this line that comes from the previous version:

mode con: cols = 124 lines = 35

at the beginning of file tool.bat

Not tested the new faetures yet.

Thanks again.
[Android Software Development] Ricky Divjakovski:
Really? In V2 I didnt set the mode because I had problems when facing errors while doing task, I couldnt see far back!
[Android Software Development] husen4u:
Please Make A Tool To Decompile Huawei Apks. I Cannot Decompile Huawei System Apks With Anytool In This Forum

Files Are Here If You Want To Check : Download

Thanks A Lot
[Android Software Development] Ricky Divjakovski:
did you install the framework?
[Android Software Development] husen4u:
Yes i Did. Thanks For Reply
[Android Software Development] Ricky Divjakovski:
You will have to take it up with [MENTION=3924617]iBotPeaches[/MENTION] as thats the developer of apktool...
[Android Software Development] cezeff:
yeah i would recommend whatever updates that you could push out...that would be great...its already an awesome tool
[Android Software Development] Ricky Divjakovski:
really it was just a little project i went through with for myself, to do the basics.. :p glad everyone likes it!
[Android Software Development] -CALIBAN666-:
thanx for update,worx great. :good:
[Android Software Development] deathviper:
a new tooll in market...

but i think it have smaili error when i editing, it generates weird error i cant read it... annoyed but great tool..
[Android Software Development] Ryccardo:
I'll probably have to wait for a Linux version, but good job :good:
[Android Software Development] TheArc:
Wow, this is featured on the XDA Portal. Nice job. I will start using this, seems less uglier than most. I like it !!

Sent from my Nexus F...Fi...Fii...Ahem...*clears throat*... Five.
[Android Software Development] aliw32619:
Help Error

i get this when i try to decompile an apk
[Android Software Development] Ricky Divjakovski:
are you sure your using the tool?
[Android Software Development] aliw32619:
yeah , what's wrong ?
[Android Software Development] Ricky Divjakovski:
did you edit anything in the script? and what OS are you using?
[Android Software Development] aliw32619:
no didn't edit anything , copied the systemui.apk and framwork-res.apk and installed them and getting error when decompiling any apk , running Windows 8 , and using PAC man ROM 4.4.2 ON MY S3
[Android Software Development] Ricky Divjakovski:
try downloading the toool again, baksmali is respoding as my code is wrong..
[Android Software Development] aliw32619:
Ok will try it and tell you
[Android Software Development] aliw32619:
got the same error again
[Android Software Development] Ricky Divjakovski:
i find that odd :/ i just downloaded and everything is okay :/

can you open a command prompt in the root directory of the tool and type

dir /s /b /a>err.txt

and upload the new err.txt file for me
[Android Software Development] aliw32619:
here you go
[Android Software Development] Ricky Divjakovski:
try renaming the app something without spaces
[Android Software Development] aliw32619:
ok renamed the app without spaces then got another new error :
[Android Software Development] Ricky Divjakovski:
that could be because your tryying to decompile a playstore app(some are coded different), try with a system app
[Android Software Development] aliw32619:
I'm trying to decompile instagram , i installed a different framework and it worked
[Android Software Development] Ricky Divjakovski:
:/ really wierd..
[Android Software Development] dzeig:
that's the point, after recompiling those files are gone.

i wanted to include those files, but i don't know how.

please, can you tell how to include it?
[Android Software Development] Ricky Divjakovski:
Well I suggest drag and drop from old to new, ill be adding an option to update the old archive with new files in the next release, and multiple project support!
[Android Software Development] dzeig:
um, where to drop it? to project folder or to new apk directly?
[Android Software Development] Ricky Divjakovski:
Try that!
[Android Software Development] CODE_WORKX:
uhh..i am facing a strange problem..

i extracted the folder and double-clicked on tool.bat it asked for administrator privelges and i clicked yes..

after that it opens for a second (even less) and closes automatically..

i had tried version 4.0 it had no problems..

i am on windows 7 ultimate 32-bit..:confused:
[Android Software Development] Ricky Divjakovski:
ill look into it, not sure why your facing this but its worth looking into!
[Android Software Development] CODE_WORKX:
edit :- got it solved....working fine now...always the best tool for me...

i have been using since 3 months and it is the best...

thanks ricky..:D
[Android Software Development] djraje:
fix !

cant decompile games or apps like adobe es file explorer subway surf

fix please
[Android Software Development] Ricky Divjakovski:
1 as you can read from previous post, the tool works fine

2 what your trying to decompile/compile could be compiled with a special program

3 make sure your PC meets the requirements, in this case its java
[Android Software Development] djraje:
bro other things like systemui frameork and other system apps recompiling compiling signing fine

but apps games not ?
[Android Software Development] Ricky Divjakovski:
generally if its compiled with eclipse you can decompile, other programs you cant!
[Android Software Development] ShinySide:
Load stock nexus framework and systemui. It should work.If you use OEM frameworks it errors. Least thats how it was apktool and typing it manually in the cmd
[Android Software Development] erikalin:
OP - Thanks for an awesome tool. I am truly impressed and wanted to add a note of congratulations on here. Can't imagine why your account is "currently disabled" but, for whatever reason, hope you're back soon. Thanks for the great work. I decided to try this out just last week when one of the more common programs (won't name) was annoying me. This is smooth, my new go-to for effortless decompiling and recompiling. :good:

Edit: For future thread-readers, I clicked through to find out about the account disabled business - it's an April Fool's Day XDA thing, voluntary and all in good fun. Whew! ;)
[Android Software Development] Ricky Divjakovski:
:) im back!
[Android Software Development] -CALIBAN666-:
i have same issue with systemui from slimkat and sadly no sollution too,sorry
[Android Software Development] Ricky Divjakovski:
I did too a while back, not sure of the cause, but userdelroot is releasing this tool in the form oglf java so it will be multi platform!
[Android Software Development] userdelroot:
New GUI Version coming soon

As [MENTION=5105831]ricky310711[/MENTION] has mentioned in this thread and another thread we are working on a cross-platform gui.

There has been a lot accomplished so I figured I would show this teaser for everyone.

Currently it is 80% complete. Adding the code for compiling / de-compiling etc.

The screen shot is running on Lubuntu 64bit

I will add a windows screen shot later on..

EDIT: forgot to mention, That is an actual decompile of the SystemUI.apk for the nexus 7
[Android Software Development] Dhanesh95:
HELP!!

I read the thread and i was blown!!! People were using it to mod their apk files.. I downloaded it and tried to do my thing.. But it just doesnt work.. I have posted the screenshots.. Plzz sme1 help me with this.. Am i doing anything wrong??
[Android Software Development] userdelroot:
the new GUI will fix that issue.
[Android Software Development] userdelroot:
Cross Platform Alpha Release is here!!!!!! Updated Link

Here is the cross platform Java version of QuickMod

On a side note, I tried to get everything working on Linux and Windows, but I am developing in Linux so, there could be some issues on windows. I have tested in both environments and it will compile / decompile etc on my development box.

[QUOTE} How to use:

Make sure you have java installed and in your path

Download the cross platform version

On Linux

place zip in your home directory

unzip quickmod.zip

cd quickmod

java -jar QuickMod.jar

On Windows

place zip somewhere like C:\ or D:\

unzip quickmod.zip

In windows explorer goto the quickmod directory

Double click QuickMod.jar and it should launch

if the above doesn't work you can run it from the command line java -jar QuickMod.jar

[/QUOTE]

Please let me know exactly what you did so I can recreate the problem.

Comments, Suggestions and constructive criticism welcome.

[MENTION=5105831]ricky310711[/MENTION] can you please add and or modify the above and place on the main thread? I did not want to edit it and screw it up cause it looks good.. lol
[Android Software Development] desalesouche:
desalesouche@NoGiveUp:~/quickmod$ java -jar QuickMod.jar

Exception in thread "main" java.lang.UnsupportedClassVersionError: quickmod/Gui : Unsupported major.minor version 51.0

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)

at java.lang.ClassLoader.defineClass(ClassLoader.java:615)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

at java.net.URLClassLoader.access$000(URLClassLoader.java:58)

at java.net.URLClassLoader$1.run(URLClassLoader.java:197)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

Could not find the main class: quickmod.Gui. Program will exit.

hi sir.

any idea what i did wrong?
[Android Software Development] Dhanesh95:
Facing the same error for Ubuntu 12.04..
[Android Software Development] userdelroot:
java -version

what version is your java?

---------- Post added at 11:42 AM ---------- Previous post was at 11:42 AM ----------

java -version

what version is your java?
[Android Software Development] desalesouche:
desalesouche@NoGiveUp:~$ java -version

java version "1.6.0_45"

Java(TM) SE Runtime Environment (build 1.6.0_45-b06)

Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

desalesouche@NoGiveUp:~$
[Android Software Development] Dhanesh95:
dhanesh@dhanesh-desktop:~$ java -version

java version "1.6.0_30"

OpenJDK Runtime Environment (IcedTea6 1.13.1) (6b30-1.13.1-1ubuntu2~0.12.04.3)

OpenJDK Server VM (build 23.25-b01, mixed mode)
[Android Software Development] userdelroot:
added updated link

I am recompiling with java 1.6 so it should work with java 1.6 or higher. I compiled with 1.7 my bad..

Here is the new build for java 1.6 which will work on java 1.6 and higher.
[Android Software Development] userdelroot:
is the new version working ?
[Android Software Development] desalesouche:
i didn't had time to test it but now the new version is opening... will do and feed back...
[Android Software Development] Dhanesh95:
The GUI pops up.. But I couldn't figure out how to use it.. :confused: I made a new project but couldn't load an apk to decomplie.. Can you explain how to do it? Or is this just for testing whether the GUI works or not ? :confused:

P.S : Sorry for being a total noob.. :silly:
[Android Software Development] userdelroot:
Open GUI Project->New

enter name

on the right output path select an output path.

source path select a source path.

the source path is where the .apk .dex

.jar files are located.

place the apk Dex or jar files where the source path points too. if you don't already have some in there.

if you added files hit refresh.

click the file and decompile etc.
[Android Software Development] Dhanesh95:
PERFECT!!!

Everything working perfectly fine.... :good:

I got confused because both the options said Output path..

Thanks a lot for your help [MENTION=2819483]userdelroot[/MENTION].. Now even I can do my thing!! :laugh: :p :silly:
[Android Software Development] Dhanesh95:
If you could just fix it.. Both options say Output Path.. One of them should be Source path..
[Android Software Development] userdelroot:
ahhh sorry about that.

the 2nd one is the source path.

I will correct that and put up a new version this weekend
[Android Software Development] userdelroot:
New Crossplatform release
[Android Software Development] kermage:
great release.. :good:
[Android Software Development] gassan hirra:
would I be able to compile or decompile a Sony kernel with it ?
[Android Software Development] userdelroot:
No, it is for .apk .dex .jar Android java packages.
[Android Software Development] mms047:
Can you plz add a mirror download link in the op..... ??? I cant download from devDB.... [MENTION=5105831]ricky310711[/MENTION]
[Android Software Development] viv_jen:
+1
[Android Software Development] Naveed Abbas:
I'm using this tool on windows 8.1 64 bit for my GS3_I9300 NB6 Stock Deodex Rom

1- installed jre-8.0.0.132-windows-x64

2- copied "framework-res.apk" "twframework-res.apk" "SystemUI.apk" in framework folder and installed

placed SystemUl.apk in "add_apk_here" folder and decompiled Successfully

Replaced quick settings png's in "working/SystemUI.apk/res/drawable-xhdpi" and recompile it but failed

*********************************************************************************************

VERBAL LOG STARTED AT 06-May-14/10:36:24.49

*********************************************************************************************

Java installation detected

Compression level 9

Java heap size 512

Working apk

Working jar

*********************************************************************************************

Starting decompiling process for apk file SystemUI.apk

Finished decompiling process for apk file SystemUI.apk

Folder created "working/SystemUI.apk"

----------------------------------------------------

Starting compiling process for apk file SystemUI.apk

Error while compiling apk file SystemUI.apk

----------------------------------------------------

Please tell me what i did wrong..?

Thanks,
[Android Software Development] Ricky Divjakovski:
Did you patch the systwnUI? Its needed for 4.2.x and up!

refer to this thread

http://xdaforums.com/galaxy-s3/themes-apps/howto-compile-systemui-apk-4-2-2-t2292799
[Android Software Development] Naveed Abbas:
Do i need to patch booth

1- placed in framework

2- which i'm Moding
[Android Software Development] Ricky Divjakovski:
nope! just patch the one your working on!
[Android Software Development] Naveed Abbas:
not working for me, I also tested another System app "SecPhone.apk" but same Results.

Decompiled Successfully but Recompiling failed.

worried.
[Android Software Development] Ricky Divjakovski:
Use the GUI quickmodtool and give it a try, if not working still send me the log!
[Android Software Development] Ricky Divjakovski:
Oh and trye with secwallpaperchooser.apk first!
[Android Software Development] Naveed Abbas:
what about your kitchen there is "APK-JAR WORKSHOP" that is same or Deferent..?
[Android Software Development] Ricky Divjakovski:
Merely different!

If you want I could check the problem via teamviewer?
[Android Software Development] Naveed Abbas:
"secwallpaperchooser.apk" Decompiled and Recompiled Successfully...:good:

*********************************************************************************************

VERBAL LOG STARTED AT 06-May-14/19:52:34.91

*********************************************************************************************

Java installation detected

Compression level 9

Java heap size 512

Working apk

Working jar

*********************************************************************************************

Starting decompiling process for apk file SecWallpaperChooser.apk

Finished decompiling process for apk file SecWallpaperChooser.apk

Folder created "working/SecWallpaperChooser.apk"

----------------------------------------------------

Starting compiling process for apk file SecWallpaperChooser.apk

Finished compiling apk file SecWallpaperChooser.apk

File created "compiled_apk/SecWallpaperChooser.apk\unsignedSecWallpaperChooser.apk"

----------------------------------------------------

Starting signing process for apk file SecWallpaperChooser.apk

Finished signing apk file SecWallpaperChooser.apk

File created in "/compiled_apk/SecWallpaperChooser.apk/signedSecWallpaperChooser.apk"

----------------------------------------------------

Sure why not
[Android Software Development] Ricky Divjakovski:
Your phone is the i9300 right? I have the same device and I know for a matter of fact SecPhone.apk and SecContacts.apk have bugs that prevent recompiling.. as for your SystemUI.apk you are probably not patching properly.

PM me your teamviewer details and ill patch on the condition you watch and learn!
[Android Software Development] tookah:
does it work with google apk,s ?

i always get this and i haven't changed anything ...

C:\Users\Lennox\Desktop\QUICKM~1.0\tools\..\working\com.pandora.android-6f1e34f765e67781aa27a552244d094c.apk\res\values\sty
les.xml:509: error: Error retrieving parent for item: No resource found that matches the given name 'Theme'.
C:\Users\Lennox\Desktop\QUICKM~1.0\tools\..\working\com.pandora.android-6f1e34f765e67781aa27a552244d094c.apk\res\values-v19
\styles.xml:6: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'.
C:\Users\Lennox\Desktop\QUICKM~1.0\tools\..\working\com.pandora.android-6f1e34f765e67781aa27a552244d094c.apk\res\values-v19
\styles.xml:5: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: cou
ld not exec command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 14, -F, C:\Users\Lennox\AppData\Local\Temp\APKTO
OL5957758578255360314.tmp, -I, C:\Users\Lennox\apktool\framework\1.apk, -S, C:\Users\Lennox\Desktop\QUICKM~1.0\tools\..\wor
king\com.pandora.android-6f1e34f765e67781aa27a552244d094c.apk\res, -M, C:\Users\Lennox\Desktop\QUICKM~1.0\tools\..\working\
com.pandora.android-6f1e34f765e67781aa27a552244d094c.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version,
9, --target-sdk-version, 14, -F, C:\Users\Lennox\AppData\Local\Temp\APKTOOL5957758578255360314.tmp, -I, C:\Users\Lennox\ap
ktool\framework\1.apk, -S, C:\Users\Lennox\Desktop\QUICKM~1.0\tools\..\working\com.pandora.android-6f1e34f765e67781aa27a552
244d094c.apk\res, -M, C:\Users\Lennox\Desktop\QUICKM~1.0\tools\..\working\com.pandora.android-6f1e34f765e67781aa27a552244d0
94c.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 14, -F,
C:\Users\Lennox\AppData\Local\Temp\APKTOOL5957758578255360314.tmp, -I, C:\Users\Lennox\apktool\framework\1.apk, -S, C:\Use
rs\Lennox\Desktop\QUICKM~1.0\tools\..\working\com.pandora.android-6f1e34f765e67781aa27a552244d094c.apk\res, -M, C:\Users\Le
nnox\Desktop\QUICKM~1.0\tools\..\working\com.pandora.android-6f1e34f765e67781aa27a552244d094c.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
[Android Software Development] Ricky Divjakovski:
hey mate, theres a few missing resources -

Theme

searchViewEditQuery

searchViewVoiceIcon
[Android Software Development] oracle01642:
Hi ricky. I decompiled SystemUI apk (using quickmod5.0 for windows) and edited a few things (using notepad++) in status_bar XML, but after saving the changes and recompiling the apk, I get these error messages;

Exception in thread "main" brut.androlibException: brut.directory.PathNotExist: apktool.yml

at brut.androlib.Androlib.readmetafile <Androlib.java:164>

at brut.androlib.Androlib.build <Androlib.java:183>

at brut.androlib.Androlib.build <Androlib.java:176>

at brut.apktool.main.cmdBuild <main.java:228>

at brut.apktool.Main.main <Main.java:79>

Caused by: brut.directory.PathNoExist: apktool.yml

at brut.directory.AbstractDirectory.getFileInput<Abst ractDirectory.java:103>

at brut.androlib.Androlib.ReadMetaFile <Androlib.java:160>

... 4 more

Any idea what is wrong?

The app seems to compile, even with the errors, but the changes I make to the status_bar xml dont take effect?
[Android Software Development] Ricky Divjakovski:
the app does not compile, when compiling the tool copies the original file, then makes an unsignedFILE.apk in the compiled apk folder..

not sure whats the problem but it seems the system cannot find apktool.yml(datasheet generated when decompiling)
[Android Software Development] kermage:
Try to install frameworks and decode again, then check if the apktool.yml file exist.

If NOT, then it is not SUCCESSFULLY decompiled and you should import all the needed frameworks.

Or is it already a modified/themed app?

If YES, you should try to decompile the stock app. It's almost impossible to work with already themed/modified app. :good:
[Android Software Development] ShinySide:
On windows, weeks ago I had no issues, but on Linux I get this or similar to anything I try to decompile

http://hastebin.com/cagetesese.hs

Framework-res, SystemUI, and twframework-res installed. This particular error is result of decompiling SecSettings.apk , TW 4.4
[Android Software Development] userdelroot:
use the cross platform java GUI.

the Linux script is broken.
[Android Software Development] ShinySide:
Wont let me install the framework :/ Tried from home folder, the extracted quickmod folder, desktop, and made sure all contents of quickmod folder is read and write and executable. Am running Orcale 7 vs openjdk 7

java.lang.Exception: Unable to create project paths
[Android Software Development] JeramyEggs:
Was wanting to try the new java version, but the link says it is invalid. Can I get it anywhere else, or will someone post a Dropbox link if OK? Thanks
[Android Software Development] userdelroot:
is the link still down? sorry guys. I will see about getting a mirror up this weekend. also I will look into the framework issue
[Android Software Development] kermage:
:good::good:
[Android Software Development] lovejoy777:
working good here. ubuntu 14.04. framework and systemui. Thankyou:)
[Android Software Development] userdelroot:
Link is working now, XDA must of had a hiccup..