yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] stumpy352:
Unzip the package in the root directory of your C:\ drive. Right click on shellext-add.cmd & click 'run as administrator'. Restart windows.

NOTE: You must have java jdk installed & in your path. (I recommend jdk6)

ALSO: This tool does not sign the apk, so you have to sign it manually. I use kellinwoods zipsigner2 to sign with test keys & cmd to sign with my private keys for play store. This may explain why your apps are smaller.

....memoirs of a flash addict.
[Android Software/Hacking General [Developers Only]] Josehg:
Right click over the apk. Open with..., Choose predetermined program.., Browse, navigate till ...tools folder and select "decompile".

That's a literal translation from my Spanish options on W7, could be small differences.

Hope it helps.

Enviado desde mi GT-I9100 usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] stumpy352:
This is correct, however, if you run the cmd script, the option to 'decompile apk' & 'recompile apk from source' should both appear in your right click menu.

....memoirs of a flash addict.
[Android Software/Hacking General [Developers Only]] caprock:
Thanks stumpy352,

Used the Apk_OneClick.v3.rar w/o any edits, and installed to c:\ as directed.

Now I do get the Recompile APK from source menu with Right Click.

Also, used the ZipSigner 2 program on the Android APK file to create a signed version. The resulting APK file does load and execute as expected.:cowboy:

It appears that the Decompile & Recompile processes are intact.
[Android Software/Hacking General [Developers Only]] WarlockW:
WOW .. Cool .. Nice job!

Very Nice .. Job On this :)

would it be possible to add : Sign APK

To The right click List ?

Or I can add it if I could find the correct command :cool:

To add it to: shellext-add.cmd

Again .. Nice Job :)
[Android Software/Hacking General [Developers Only]] kathoks:
I will try this!:good:
[Android Software/Hacking General [Developers Only]] zeon321:
When I right click an apk I am not getting any option to decompile apk.
[Android Software/Hacking General [Developers Only]] Josehg:
Try this I wrote down on a previous post, it's not what we expect but it works:

Right click over the apk. Open with..., Choose predetermined program.., Browse, navigate till ...tools folder and select "decompile".

That's a literal translation from my Spanish options on W7, could be small differences.

Hope it helps.

Enviado desde mi GT-I9100 usando Forum Runner
[Android Software/Hacking General [Developers Only]] UtCollector@gmail.com:
Seems like a nice tool. I´ll test it later:D
[Android Software/Hacking General [Developers Only]] SXUsr:
Needs updating to latest version of Apktool.
[Android Software/Hacking General [Developers Only]] dhiraj.ranka:
Can I decompile .apk and change the manifest and re-compile back to .apk?

-

Thanks & Regards,

DJ
[Android Software/Hacking General [Developers Only]] carl1961:
there is links to tools so you can update

yes,
[Android Software/Hacking General [Developers Only]] psychopac:
installed successfully and rebooted but still not getting the right click options
[Android Software/Hacking General [Developers Only]] stumpy352:
Make sure you use the second download. And extract the folder to the root of your C:/ directory & run the .exe as administrator. Only reason it wouldn't work is if you have previously selected a program as default to open files. If so, you can right click, 'open with', select decompile. You can set decompile as default also, so all you have to do is double click the apk & it will decompile automatically.

....memoirs of a flash addict.
[Android Software/Hacking General [Developers Only]] Logicsupraboy1:
I: Loading resource table...

Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:

spec=0x7f0201c1 drawable/status_bar_background, config=-v13

at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)

at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)

at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)

at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165

)

at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)

at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10

5)

at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)

at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes

ources.java:315)

at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav

a:50)

at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav

a:43)

at brut.androlib.Androlib.getResTable(Androlib.java:44)

at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)

at brut.apktool.Main.cmdDecode(Main.java:120)

at brut.apktool.Main.main(Main.java:57)

An error has occured while decompiling...

existing..

Press any key to continue . . .

Any help??
[Android Software/Hacking General [Developers Only]] NCCanesFan:
By "second download", I believe stumpy352 is referring to the Apk_OneClick.rar. The Apk_OneClick.zip is missing the recompile.cmd and associated registry adds in the shellext-add.cmd.

I used the Apk_OneClick.rar file and now have "Recompile APK from source" shortcut from the Right Click menu.

Thanks amroush_1800 for the great tool.
[Android Software/Hacking General [Developers Only]] amroush_1800:
Please use the latest version of the tool Apk_OneClick.v4.zip.

It fixes most of the errors encountered during setup.
[Android Software/Hacking General [Developers Only]] stumpy352:
Does it have updated framework for jelly bean apks?

....memoirs of a flash addict.
[Android Software/Hacking General [Developers Only]] amroush_1800:
apktool 1.5.1 adds Android 4.2 support. yes it supports Jelly Bean

Standard framework is embedded into apktool, so you don't need to do anything for most apk files. But some manufacturers, for example HTC, add their own framework files and use them in system apps. To use apktool against such apps, you must pull framework from a device and install/register it to apktool.

If you want to disassemble a jelly bean system apk, please see https://code.google.com/p/android-apktool/wiki/FrameworkFiles for more info.
[Android Software/Hacking General [Developers Only]] amroush_1800:
PACKAGE UPDATE v4.1 - 27 JANUARY 2013

* Fixed: package fails to install properly when APK extension is currently assigned to another app.

* Fixed: minor fixes when selecting 'Recompile APK from Disassembly'
[Android Software/Hacking General [Developers Only]] amroush_1800:
PACKAGE UPDATE v4.2 - 2 FEBRUARY 2013

* Updated: android-apktool 1.5.2

* Fixed: the install and uninstall scripts have become more UAC friendly.
[Android Software/Hacking General [Developers Only]] aamir123:
I keep getting recompile issues no matter what program/method I use. Here is the log when I use this method:

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN

otExist: 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.PathNotExist: apktool.yml

at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:

103)

at brut.androlib.Androlib.readMetaFile(Androlib.java:160)

... 4 more

An error has occured.

Existing...

Press any key to continue . . .

anybody know what to do? Btw I'm using the galaxy s3 and I'm trying to change a value in an xml in the browser. Even if I don't change anything I have a problem recompiling.
[Android Software/Hacking General [Developers Only]] Biftor:
Hi

Its Very good work

But I need help how can I after decompile package to java compile to .dex ???

How can I compile java file to smali???

Thanks
[Android Software/Hacking General [Developers Only]] sparkplugDev:
Having a similar quandary. Should I be using a seperate tool to decompile the .smali files to be editable java, I was under the impression this was essentially an all-in-one editing tool. Props to the OP, it's a great tool, I just don't know how to get from the decompiled apk to edit the java code. At first I got excited when I clicked browse java code and then I went to make changes and it was like "no, sir" and I was sad. Thanks again for the great software, it makes windows feel useful again lol
[Android Software/Hacking General [Developers Only]] Jack Jake:
How to recompile?

Exactly how am i supposed to recompile the apk after i decompile and edit it?

i try right clicking the folder that got decompiled but there is no option saying "Recompile"

EDIT:

i dont think the decompiling went correct either. at the end of the command line it says "

An error has occured.

Existing...

Press any key to continue . . ."

but i see the folder and sure enough there is a *_decompiled folder with the xml files and everything in there.

Can someone PLEASE help me.
[Android Software/Hacking General [Developers Only]] mikeymike75:
You should also see a .py folder in there. If you are not seeing that, it did not decompile correctly and therefore, will not recompile. Make sure you are using the latest version, all else uninstall and reinstall.
[Android Software/Hacking General [Developers Only]] stumpy352:
Which keys does this sign with when recompiling? I'm still using v3 for my play store apps. And signing manually. If it doesn't support using private keys, I won't be updating.
[Android Software/Hacking General [Developers Only]] rocky_09:
Hi, up to yesterday. it was working fine. But today.. I am getting this error. Even i just decompile and tried to recompile and getting this error.
[Android Software/Hacking General [Developers Only]] Jack Jake:
same thing happens to me
[Android Software/Hacking General [Developers Only]] ORioN.BAK:
BIG THANKS TO YOU.

i hope this software will be update frequently.

---------- Post added at 02:01 PM ---------- Previous post was at 01:57 PM ----------

Why you didn't post it on google code ?

It will be more easy for bugtracking.

Or donwload lasted app.

http://code.google.com/intl/en/
[Android Software/Hacking General [Developers Only]] hansbert:
I had the problem, that .apk file was associated with winrar and because of that it didn't show me the context menu.

Only do this if you know what you are doing!! I'm not responsible for broken systems!!

Solution for Win8 (might be the same on win7 etc):

Again: Be careful!!!
[Android Software/Hacking General [Developers Only]] Kameo:
There's no need to quote the whole post...
[Android Software/Hacking General [Developers Only]] desertflame:
Doesn't seem to work for me :/ It says i need JRE and its already installed.
[Android Software/Hacking General [Developers Only]] nimo1996:
decompile

can someone please decompile this apk i tried it many time but it is giving errors :(
[Android Software/Hacking General [Developers Only]] desertflame:
Thank you! Very helpful for apk mods :D Makes the process so much shorter.
[Android Software/Hacking General [Developers Only]] Namoi:
Hi thanks for the tool it is very usefull.

One glitch i noticed though.

In the cm file used to dissasemble you use that line

So if one want to use a branded Framework-res to decompile, it doesn't work (hence a lot of report of errors in this thread IMO)

Just removing that line will do, but i could be nice to have another cmd file to revert back to the default framework, or even better to switch from framework. One could imagine a kind of repository folder with named framework (ie htc-framework.apk, tw-framework.apk, default-framework.apk...) and right cliking an apk would bring another option to switch framework. A cmd window would appear with the list of framework to choose.

Regards
[Android Software/Hacking General [Developers Only]] esarve:
Getting this error while discompiling SystemUI.apk :(
[Android Software/Hacking General [Developers Only]] hara74:
thanks for this tool

but I didn´t get the options on right click at a apk file,

only on a folder: Recompile APK from Disassembly

I downloaded this tool, unziped it and double-clicked 'shellext-add.cmd'

a window poped up and said all fine und push any key or so

what do I wrong :(
[Android Software/Hacking General [Developers Only]] hara74:
I get it to work,

had to delete that line manually: reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.apk" /f >nul 2>&1

now it shows the options on right click :laugh:
[Android Software/Hacking General [Developers Only]] mimmog:
Why if I want browse java code of same apk I look only file named a, b, c etc ?
[Android Software/Hacking General [Developers Only]] apautrot:
Because the class are obfuscated. Google Java class obfuscation, or Google proguard.
[Android Software/Hacking General [Developers Only]] mimmog:
you can not do anything?
[Android Software/Hacking General [Developers Only]] Kameo:
Nothing but to try to understand what is done.

That's a common issue with decompiling, you won't get the exact source code.
[Android Software/Hacking General [Developers Only]] apautrot:
There is only one way : renaming by hand. This means understanding the code and renaming things accordingly.
[Android Software/Hacking General [Developers Only]] jonnywright:
Fixed, Java paths were wrong, sorry.

I am also having this problem. Tried reinstalling JRE anyway and it still has this error :(

Win7 x64; Environment Variables are:

JAVA_HOME: C:\Program Files\Java\jdk1.7.0_25

JAVA_PATH: C:\Program Files (x86)\Java\jre7
[Android Software/Hacking General [Developers Only]] scandiun:
Thank you so much you saved my life.
[Android Software/Hacking General [Developers Only]] alfredolo:
I cannot get src folder.

When disassembly apk i can get only this fordels :

- assets

- res

- smali

No src folder, why ? What can i do ?

thank you
[Android Software/Hacking General [Developers Only]] Kameo:
That's normal, you won't get src folder until you right click your apk and use: "Browse java code of APK".

Then save all the sources to a zip, unzip it anywhere and here you are (unzip it to the same folder when you disasembled/unpacked your ressources).
[Android Software/Hacking General [Developers Only]] dachurchpcguy:
Thanks, I'm using this to adjust features to the Logitech Harmony Link App.
[Android Software/Hacking General [Developers Only]] malaysia_sWat:
What about "find is not recognized as internal or external command or batch file"??

I got it when i run the shelladd.cmd as administrator..

I hve java installed n it path....i also hve other tool to recompile apk tht work fine but i want to try this out n save my time without clickinh mny time when use other tool

please help

can i create .reg file and add the registry manually??

Edit: Problem solved by add path : C:\windows\system32;(space)C:\tools and jre path
[Android Software/Hacking General [Developers Only]] n.vk1305:
thankyou so much..!! this is helping me..!!:laugh::laugh:
[Android Software/Hacking General [Developers Only]] Skywalker676:
Install JDK also jdk-7u45-windows-x64

Then It will Work
[Android Software/Hacking General [Developers Only]] narritu:
Thanks BRO.

I was also having the same problem. I followed you and the problem is solved. Thanks once again.
[Android Software/Hacking General [Developers Only]] inspir3:
Thank you :) works as a charm!

Java v.7.55

Side question: Now that I decompiled the apk, I need to find what ports it tries to connect when I use it. Is there any way I can batch search for "port" string inside all the files I got?
[Android Software/Hacking General [Developers Only]] Thomashamka:
Smali

Hello, I used this program to open up one of my apk's. Problem is, that there isnt smali in the package, why?

Thanks.
[Android Software/Hacking General [Developers Only]] Josehg:
Odexed apk??
[Android Software/Hacking General [Developers Only]] carl1961:
you need more resource

try loading the swiftkey.apk as a resource

apktool if swiftkey.apk (change swiftkey.apk your apk)
[Android Software/Hacking General [Developers Only]] scandiun:
Apk OneClick v4.3 UNOFFICIAL

New version out: Apk OneClick v4.3 UNOFFICIAL

PACKAGE UPDATE v4.3-UNOFFICIAL - 14 DECEMBER 2014

dex2jar-0.0.9.15

jd-gui-0.3.6.windows

Download Apk_OneClick.v4.3_UNOFFICIAL.zip from attachment.
[Android Software/Hacking General [Developers Only]] scandiun:
When I disassemble and decompile a certain apk I get a lot of these java lines:

break MISSING_BLOCK_LABEL_

Why does this happen and how to solve it?

EDITED: the issue appears when using JAD decompiler. Using JD-GUI (which is much better) works now.
[Android Software/Hacking General [Developers Only]] passlogin:
pls help!!!!

the new apktool v2.0.0 rc4 is here and its not compatiable with this pls help
[Android Software/Hacking General [Developers Only]] Kameo:
Here's my modified version working with the latest apktool v2.0.4rc4:

Credits to their respective owners.

Edit:

58 downloads, 2 Thanks, nice ratio :facepalm:
[Android Software/Hacking General [Developers Only]] SmartAnd:
Decomplie L Launcher.apk not OK !

Please help me decomplie L Launcher.apk

I'm used apktool or apk_Onelick :(

Log

Who can help me decomplie file. Thank's so much !
[Android Software/Hacking General [Developers Only]] carl1961:
To decompile we need framework-res.apk and any other *res.apk (some phones have their own resource file also so check your framework folder)
[Android Software/Hacking General [Developers Only]] SmartAnd:
Hi carl1961 !

I used the code

Then I continuted

You can guide me fix this. Or you do for me ! Thank's very much !
[Android Software/Hacking General [Developers Only]] carl1961:
Sent you pm
[Android Software/Hacking General [Developers Only]] iceman004:
why this is not compatible with new apktool 2.0.0 lollipop support?
[Android Software/Hacking General [Developers Only]] Rix70:
deleted....
[Android Software/Hacking General [Developers Only]] lieuliau:
Many thanks for this solution. Any chance we can make Winrar as default and have this context menu too?
[Android Software/Hacking General [Developers Only]] RobE6720:
Nice. I'll give it a try.
[Android Software/Hacking General [Developers Only]] kisstom:
And how can i convert a moified .java file (in source.zip) to .smali and make an .apk file again? editing the code in .smail is too complicated to me :)
[Android Software/Hacking General [Developers Only]] p32929:
Thank you so much
[Android Software/Hacking General [Developers Only]] doreaamon:
hello you

tool support android 10-11-12 ? thanks
[Android Software/Hacking General [Developers Only]] soronorjs:
I am having the same issue. An answer would be appreciated.
[Windows Phone 7 General] KingpinEX:
My question is, will i be able to buy/download apps for a WP7 phone (lets say from the US[samsung focus]) in countries that don't have windows phone 7 yet?(lets say Israel)
[Windows Phone 7 General] z33dev33l:
Hard reset my phone and booted it up in airplane mode, market works just fine that way with wifi so I don't see why not.
[Windows Phone 7 General] The Gate Keeper:
if you can buy a windows phone there at present, then yes you shouldn't have a problem. if it isn't available there at the moment, you may have to do some dodgy things and make it think you're from US.
[Windows Phone 7 General] tiwas:
Works fine in Norway, but I'm not sure if I can get all programs available in the US or just a subset...Hard to tell, really ;)
[Windows Phone 7 General] Calene:
Unless the marketplace is available in that country no.

For instance, they sell WP7 phones in Sweden but they haven't launched the marketplace here yet. Which is idiotic.

You can get around it though by making a new windows live id that has the country set to a country with the marketplace available.

Check out http://xdaforums.com/showthread.php?t=830701 for more information.
[Windows Phone 7 General] KingpinEX:
wow thats cool i just change my PC location to USA and i got my Zune Marketplace i never had before thats cool, i see the windows phone marketplace now...

is there a way i can make my pc think i have a windows phone phone conected so i can try to download free apps?

and for payed apps i have an AMEX card so i think im set.
[Windows Phone 7 General] jhughesy:
You can download free apps if your Windows Live is set to a country with marketplace support. However, to buy apps you need to set your credit card details in Zune with an address in that country. I have a Netherlands Mastercard but put in my parents address in UK and its working great.
[Windows Phone 7 General] doministry:
Hmm so I assume it will not NORMALLY work in Poland without setting another account which is set as UK?

I mean I use Hotmail for 12 years and probably it's set as polish, so...

Without this workarounds no chance?

On offical MS polish page they invite to buy 3 WP7 devices in polish stores....

So looks like official....

Any clue?
[Windows Phone 7 General] tbk21:
Which mastercard are you using. I have got one from ABN AMRO but it is not working. Only thing different is that I'm trying it with the US marketplace. I read somewhere it only worked a few days after launch day. I tried it btw on the zune desktop. Keep getting a error message saying that my creditcard details are wrong.
[Windows Phone 7 General] KingpinEX:
There is a service called global shop for AMEX card owners that gives u an address in the USA in Miami, so I can register to any us retail and give them the global shop Miami address that’s just cool

And as for changing the Live, takes only a sec to do and I have my account for like 5 years.

but i still wana be sure, so if any of you know of any virtual WP7, or if any one tried in a country that don't sell phones yet.
[Windows Phone 7 General] throndr:
Setting up your WP7 device with a US live-id works fine, but you won't be able to buy apps without a US credit card also. Downloading free apps works fine, though, but when WP7 is launched with all services and the marketplace in your own country you will have to reset your device and set it up again with a local live-id to use these. Any apps downloaded from the US marketplace will then be lost.
[Windows Phone 7 General] doministry:
So all that makes buying a WP7 device NOW nonsense.

Whether you don't have access to all the features or you're screwed later....

Discouraging.
[Windows Phone 7 General] The Gate Keeper:
at present, perhaps, but i think over time as they support more and more languages they'll open it up more.
[Windows Phone 7 General] doministry:
Thanks. But that changes a bit my thoughts of getting it NOW.....
[Windows Phone 7 General] jhughesy:
ING Mastercard (Netherlands), In Zune add credit card UK address with Netherlands card number, Windows Live UK account.

I did this two days ago and already bought some apps. I also read somewhere this is the official method endorsed by Microsoft Netherlands so maybe give them a call if its not working?
[Streak 5 General] Muscleshop:
Two questions about it on the Streak.

1. When a vidoe pops up, hitting the menu button gives you an option of viewing the video in HD. Anyway to make this default (so all are viewed in HD automatically)?

2. The videos are not full screen, but I see no option to make it this way? Is there a way to automatically view them "full screen"? I mean, we have a 5" screen, need to capitalize...lol
[EVO 4G General] bighov:
Now we have im working just a heads up
[EVO 4G General] J4mm1nJ03:
Are push notifications working for you?
[EVO 4G General] Jeremiah239:
Mine are!!!!
[EVO 4G General] ms79723:
The push notifications work for me. They work for both messages (comments and sht) and facebook chat. The facebook chat so far is better than any of those other apps ive used to use facebook chat. They finally got something right, because this facebook chat also rapes the chat on the iPhone.

I wonder if the ppl that say it doesnt work have "enable always-on mobile data" unchecked. If thats unchecked, it will not work at all on 3g. Well...it'll work when you're using the 3g, but wont work as soon as you turn your screen off.