I'm trying to edit an .apk of an existing game and basically create a private server for just me and a couple friends. BUT, the code is written in Chinese. When I open the file in Visual Studio editor with multi-language support it gives me this error, "The file will not be displayed in the editor because it is either binary, very large, or uses an unsupported text encoding." Any ideas on how to bypass this? Even tried opening in notepad using unicode.
You can't open a apk in visual studio as is, you must first unpack the apk.
I would use APK Studio instead.
9volts said:
You can't open a apk in visual studio as is, you must first unpack the apk.
I would use APK Studio instead.
Click to expand...
Click to collapse
Yes, Visual Studio is fit to source code, other than a binary file such as an .apk.
Related
I have a test app in CS5 and tried to package it using the Android SDK.
I guess there was some problem in setting up the Android SDK and it states that the archquery.jar is missing. How can I assure that the setup is fine? I dont even see any uninstall option so that I can reinstall. Even with a prerelease, can I publish the app...I remember having read somewhere that I cannot distribute it.
While using the Windows packager - I do not find the AIR 2.0 and AIR 2.5 folders, to point to the adt.jar, however, I am able to locate adt.jar in the lib folders of the AIK 2.0 and AIK 2.5 in Flash CS5. Will those references be valid enough? The packager version that I am using is 0.4.2 and it also requires pointing to the JAVA.exe, however, I do not see packaging options for 'dmg', instead, I see 'Package exe' along with the 'Package apk'. I am able to create an xml, and a p12 self signed certificate along with the swf for the 'AIR for Android' app in CS5, but while building an apk, using the certificate and the xml, I am stuck with an error (Usage Error - Incorrect Arguments) and cannot proceed further.
I have a test app in CS5 and tried to package it using the Android SDK.
I guess there was some problem in setting up the Android SDK and it states that the archquery.jar is missing. How can I assure that the setup is fine? I dont even see any uninstall option so that I can reinstall. Even with a prerelease, can I publish the app...I remember having read somewhere that I cannot distribute it.
While using the Windows packager - I do not find the AIR 2.0 and AIR 2.5 folders, to point to the adt.jar, however, I am able to locate adt.jar in the lib folders of the AIK 2.0 and AIK 2.5 in Flash CS5. Will those references be valid enough? The packager version that I am using is 0.4.2 and it also requires pointing to the JAVA.exe, however, I do not see packaging options for 'dmg', instead, I see 'Package exe' along with the 'Package apk'. I am able to create an xml, and a p12 self signed certificate along with the swf for the 'AIR for Android' app in CS5, but while building an apk, using the certificate and the xml, I am stuck with an error (Usage Error - Incorrect Arguments) and cannot proceed further.
I want to share my Tool I made yesterday in a couple of hours. I was just sad about all the steps which have to be done until you have a proper codebase of an android app (apk) so I automated some processes.
You might think "this guy have only 1 post I can't trust him !!!" I would probably think the same but I'm here on xda actually pretty long but just read as anonymous user without an account and now I just wanted to give something back so I created an account.
My Tool includes following thirdparty software:
jad (decompile .class files)
dex2Jar (converts apk files into .class files)
apktool Decompile (is used for extracting resources and Smali code)
apktool build (is used to build the smali code into an apk again)
testsign.jar (is used to sign the build apk file)
Features:
Decompile assets
Decompile resources
Decompile smali files
Decompile java files
Build apk from smali source
Sign build apk
Nice gui with drag and drop
The application is written in java so it should probably work on all operating system (not sure because jad isnt written in java so I have to use os specific files)
Screenshot:
i.imgur.com/U85AU.png
Virustotal
virustotal.com/file/69601c98a25edf2fcb22b94fb58863848a4cd4a7ee0a39b4ad40de54c086f102/analysis/1358111315/
Download: ul.to/5hy2wf9x
Awesome tool! Tested it and works perfectly! Thank you!
I use Bluestacks 0.9.11.4119 . I Install android applications and games, from root folder (i.e. device/android/data/data) i copy all the folders to windows directory (i.e. publicfolder/pictures), now many of the apps or games have two type of similar files and i need to see what's inside of the files,
1st.- .so files and database files
2nd.- some of the files have no extension so if i open it on notepad then it comes in Alphanumeric symbolic format,i think its encrypted so i am not able to see even i have tried many language decrypter but failed
3rd.- how to dissemble the apk file and how to modify it.
4th.- how to read XML file of android apps, when i open it on notepad or Microsoft XML it shows error.
I want to learn something so please help me with these issues, and thank you for previous help
To edit any apk is necessary Apktool. Look this guide and try edit:
http://www.xda-developers.com/decompile-edit-and-recompile-in-one-tool-with-apk-studio/
gamer22881 said:
I use Bluestacks 0.9.11.4119 . I Install android applications and games, from root folder (i.e. device/android/data/data) i copy all the folders to windows directory (i.e. publicfolder/pictures), now many of the apps or games have two type of similar files and i need to see what's inside of the files,
1st.- .so files and database files
2nd.- some of the files have no extension so if i open it on notepad then it comes in Alphanumeric symbolic format,i think its encrypted so i am not able to see even i have tried many language decrypter but failed
3rd.- how to dissemble the apk file and how to modify it.
4th.- how to read XML file of android apps, when i open it on notepad or Microsoft XML it shows error.
I want to learn something so please help me with these issues, and thank you for previous help
Click to expand...
Click to collapse
In addition to apktool (thanks, @kaiodduarte), you're also going to need a good text editor (I use Notepad++), an archive manager (like 7zip or WinRAR), and the ZipSigner app for your device.
ИΘΘK¡€ said:
In addition to apktool (thanks, @kaiodduarte), you're also going to need a good text editor (I use Notepad++), an archive manager (like 7zip or WinRAR), and the ZipSigner app for your device.
Click to expand...
Click to collapse
thank you for the advice but i have 1 worries
if the text file or a file is encrypted the how is notepad++ is going to help me..??
gamer22881 said:
thank you for the advice but i have 1 worries
if the text file or a file is encrypted the how is notepad++ is going to help me..??
Click to expand...
Click to collapse
It will help you with actually being able to make edits to text files without screwing up all of the line endings and encoding.
Hello guys,
I am modding an apk to bypass an update check.
I have this outdated APK that functions fine since the URL and query and site address remains same but whenever it checks for and update it crashes. The thing is the developer made it topnotch but since then left and his site was recently taken down so check update query crashes it totally. What I need to do is update just the one function where it brings up the GUI after start. Otherwise it keeps saying download update or crashes randomly at time of starting up.
Now I have been browsing for a day or two for all the tutorials and right now I`m hell lot of confused. I have downloaded many tools and dependencies but I dont know how to proceed. I will tell you guys what I have and what I need.
I have de-compiled the APK using "dex2jar", I had a .JAR file which I decomplied using JD-GUI-Windows now after saving source I have .ZIP file in which I made the necessary editing. Next I downlaoded APKTool.JAR and extracted resource files and XML files that can be read in text editor. Along with some .SMALI files.
Now I am not familier with SMALI language at all and editing in it seems rather complicated and on the other side I have the .JAR file that decomlied all the classes just fine.
MY QUESTION IS:
How do I recompile the files I have ? I have the main coding extraced using dex2jar so in java format and JD-Gui to in .ZIP files, and resources/XML files also decoded using APKTools. What do I do next to recompile the APK ?
In short I have plain text based java source code and plain text XML and other resource file. How do I recompile it ?