He Guys,
i have a little Problem.
I want to extract an APK File. It worked fine with the APK Tool. Also i got the classes.dex and decoded to an Java File for reading.
My Issue is that i have similuar .xml Files that contains the needed Stuff. But when i try to open this Files i get an completely nonsense Output.
Can you help me to get the correct Output ?
Here is the download for the APK --> http.apk4fun.com/apk/3770/ --> müsst das WWW hinzufügen
I need this XML Files --> extracted APK --> assets --> cc_data --> .xml Files
Output:
Code:
Ÿ:†ÈeQA„)TcíÔ÷ÃXÌÉ´&PíÐ3Y …NÏ÷í¼ã»¸Oô~*Û
øUZ•¢ŠÐ¥>XBµniöå¢1ð4m!_ŒÊ‚ôŸi©«ÇÔŽ£ºžQ¦?µï‡,ÝN.ã“i?bÙÿAÁ¶»7E'à?mã6]qu–Í·ˆ“kÀ1šõ lòųßÅ]€Ör‡qAwùrOõöE,*™µè‹ibÏ¥dÝGÕ÷¨fHé®EàÐŽ¤ÑèÃ{\¹pÂê[²*ö°°-çÏŒ¸8Ôúe†™¹£Îlët“§CªýE,*™µè‹ibÏ¥dÎQò\èùXqâsO½6Ë„ÂxNqê[²*ö°ÛŸOÚ¾êÕ{˜VÛM¦ 7º”ýfÈ*S8ˆõî£I*Ê#?™†[ùß淑Üa=s†ù!*ÎPi=faÝ#ÁZ8*ÝŒˆ9æmB—¦‚z-€fHücÄt%ìMÁM¹¤–üÛPϸPi†Ø{ñn˜§eq€“Vgí=…Éðýb€V«izî‹çE,*™µè‹ibÏ¥dVF`™J†Ž¸}™C*ŒAlÑÿŸ~:Yzû@KëíŠ#Bîàe҃Ђ¦ ÞÛN‰ðáköaÀf¢–‘³a§©½Ý [email protected]ˆR>ONþªétÂbò_¿+üdS8ˆõî£I*Ê#?™†[à2…\ ç.»ÏºøßTí›a늷û@KëíŠ#BNÕî@\a4æID.ÅËaþ—è@‘¸S8ˆõî£I*Ê#?™†[T<È•¶Ônö.»ÏºøßTU-"ýgàŒû@KëíŠ#BTr*v¯š€Mr_dYK§Ú/su™qS8ˆõî£I*Ê#?™†[²Lʆ?:tz
PñU“`¹ÏŸc&ï Sí8*ÝŒˆ9æmB—¦‚z-€”
¹k´B¼øbBÈr'ªPϸPi†Ø{ñn!…HŒI³ŒÖr‡qAw;u”›ð&¼E,*™µè‹ibÏ¥d(Gyt¢šS5è§ÛRøáÖiŽ¶û@KëíŠ#BãP+aI‡S¬g*fy+Ô}:!ú·Ú”eøL¶î>Ū‡›¦>*w.ÌJÓ]qÅE9ý傹—ËÆ㎡~ãÂBѨF"óÿnÎŒ°ƒwä2ça§0œ~øvHé®EàÐŽ¤Ë„ÂxNqê[²*ö°‰MtŽª,È™VêaÓÆv¶KˆàÇS8ˆõî£I*Ê#?™†[Lç‹éy7á
PñU“`¹eÆ‘î²ê8*ÝŒˆ9æmB—¦‚z-€»x_ßLjö"®ÞňËñPϸPi†Ø{ñn¹›3Ô'Ör‡qAwáiÒ"ê;Y"½î-g[]SÝë[†I+}ñ†[]‹Ç,(]ÚPÔ”õO=F"óÿnÎŒ°ƒwä2ç?…÷=*Hús7×* ß UPϸPi†Ø{ñnz,ËÕý%¹—ËÆ㎹÷:u7GíF"óÿnÎŒ°ƒwä2çÈ(gæ ³G?F½‘2DÈPϸPi†Ø{ñn#C†Nͧ¹—ËÆãŽÖu1"8*ÝŒˆ9æmB—¦‚z-€78ýèxÌ*%Œ£e7l>L¶î>Ū‡›¦>*w.ÌJÓ\LLªº¯eþ¹—ËÆãŽyŸ*ÒRQR&8*ÝŒˆ9æmB—¦‚z-€Žj‡ÐôÞ\üÏÀb4xŸL¶î>Ū‡›¦>*w.ÌJÓ7¨¾²(OÞB¹—ËÆãŽ2(oŠ}ñªF"óÿnÎŒ°ƒwä2çj…2²2ø-çû®2ýv~ÔË„ÂxNqê[²*ö°À’Ö<:߈lfå©ýE&[ùù²zbáíªñ×*fø˜ŸC¯dÓ’1بjVô%ЊÜKÿ:ܳ·
Thank you,
Daniel
Related
Hello,
How cen I get information about icon of compiled application??
I have downloaded example.apk on my PC.
Unziped it. Found binary AndroidManifest.xml. OK I decoded it and I get:
<application
android:theme="@7F0C0017"
android:label="@7F0B0000"
android:icon="@7F0200A4"
>
And I would like to know the name of the resources the is icon of this application. What means the number: @7F0200A4 . I tried as an offset in resoirces.arcs file but I missed It's not that.
Maybe it's wrong way?? Maybe there is other way to get knowledge about the icon???
BR.
Damien
Not sure if the app icon can be programatically determined without decompiling the whole apk, but it's usually app_icon.png, icon.png or ic_launcher_appname.png in /res/drawable
/Mats
Just open the .apk with a file manager and hunt around for the png, it's not in any xmls.
please i have come across a lot of these zipped android application files that when i unzip them on the laptop i cant find any apk file therein i only find some folders with the name
lib
META-INF
and then some files with these names
AndroidManifest
classes.dex
resources.arsc
please can someone explain to me how i can install such zip files
Hello sir, I have the same problem.
What is the solution, please ?
mortallkombat said:
please i have come across a lot of these zipped android application files that when i unzip them on the laptop i cant find any apk file therein i only find some folders with the name
lib
META-INF
and then some files with these names
AndroidManifest
classes.dex
resources.arsc
please can someone explain to me how i can install such zip files
Click to expand...
Click to collapse
An APK file by nature is a ZIP file. The reported files/folders make up an APK file.
Read also here:
Structure of an Android App Binary (.apk)
Structure of an Android App Binary (.apk)
www.appdome.com
To install the APK replace file's extension "ZIP" by "APK".
Hello thank you sir,
but the problem I have exactly, is, when I download a zip file from github, your mentioned method wouldn't work.
Maybe you have another solution
I am new in this forum... please help me to make my tut more effective and easy. and ya sorry for my bad bad bad English !!
Lets start the tut..
Software You Need.
1. Winrar
2. Dex2Jar
3. jd-gui (Java Code Decompilation)
4. .Net Framework 2.0 or version 3 (Recommanded if your using XP)
1.You need to extract codes and resources from the .apk file. Download and Install winrar
open your apk file with winrar. Check screenshot below
Step 2
Now we need to convert .dex (Dalvik Executable) into .jar file
copy your .dex file in same in dex2jar folder and open cmd and locate the dex2jar directory.
type this command in cmd:
>>> "dex2jar.bat classes.dex" without quotes
After successfully you converted your dex file into jar.
Step 3
Now we need to extract .class files from converted .jar file
Now select classes_dex2jar.jar file and Click Extract files " wait until the extraction process compelete"
Step 4
Now open classes_dex2jar folder. Now look all around there are lots of .dex files.
now we need to open .class files for Analysing the Decompiled Code. !!!
Now Open "jd-gui.exe"
Now Open any .class file you want u can easily read All codes...
Please comment and Say thanks.... if you think this tutorial see helpfull for you..
Great.. it works !!!!!!!
thank u :laugh:
Hello xda-developers!
I'm new to Android hacking, but I have a general background in programming...
I've been modding an application recently, unpacked the .apk file, done my changes and repacked it, signed it and everything works well...But when I run the program, and the program wants to play an mp3 file, which was located in res/raw before packing the .apk file, it gives an error: "Can't load audio file."...What is the possible cause of this problem and how to solve it? Are the IDs of the raw resource files changed everytime I unpack and repack the .apk file or what?
Thanks in advance...
Edit: Issue fixed by unpacking and repacking using Apktool instead of WinZip.
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.