[Q] apk decompiling - General Questions and Answers

I just decompiled an apk file in an attempt to locate an audio file in the app and replace it with another one. The app was developed on UNITY for the GEAR VR.
However, for the life of me I'm not able to locate any audio file in the apk folder. I'm just wondering if anyone can help me locate/replace the audio file/s ?
Since I'm a new user I can't upload screenshots of the apk folder, but inside the assets folder, there is a long list of shared.assets.split files. My best guess would be that the audio is part of the split assets, but I have no clue how to retrieve and replace it.. Any help would be greatly appreciated.

Related

[Q] Why do I get a bootloop when I try to add a new button background to framework-re

(I'm new at this, any help, or even wild guesses, would be appreciated)
I'm using Daneshm90's (very awesome) APK Manager to mess around with my framework-res.apk file. I've sucessfully reskinned some pngs and changed some xml files and stuff like that.
Why does the following cause a bootloop?
1) Decompile Framework-res.apk
2) Make a copy of res\drawable\btn_default_small.xml and rename it btn_default_small2.xml
3) Change the background of something to android:background="@drawable/btn_default_small2"
4) Compile\flash to phone etc, watch it bootloop
I can edit existing files just fine, but whenever I try to add and use a new file everything grinds to a halt, even if its just a copy of a working 'stock' file. What am I missing? Is there a list of files somewhere I need to add my new xml file to? Should I be building from source instead of using apk manager?

Help with compiling apk for framework-res

I have been trying to modify the framework-res.apk to create a custom theme, but every time I would end up in a bootloop, so I did some digging and what I have found is that the file size of the original framework-res.apk is 9.32mb. Once I rebuild it whether I modified anything or not the rebuilt .apk is only 7.34mb. Upon further inspection it seems to leave out all of the "value" named folders from the newly built .apk, and it does this whether I use APKTool or APK Manager(even though I say keep files). Has anyone else had this problem?? Anyone have a solution??

[Q] how can I compress an apk

Hi everyone
I just want to know how can I compress an apk, I got cm7 with theme chooser and I have modified some png of a theme, replaced them and now I want to compress back all the extracted files in order to rebuild the apk.
Search for something called "Apktool".
You can create the .apk file with something like winrar, but i think there will be a problem with the signature.

[Q] Trying to edit an apk

This is my first post so please dont flame me too bad!
Just bought a GS2SR and installed a keyboard app to replace the android keyboard however i LOATHE the keypress sound (sounds like an old typewriter). I really like the galaxy s2 keyboard sounds so here's what i've done to solve the issue so far..
-downloaded stock GS2 rom and extracted the .ogg sound files for the keyboard click
-converted .ogg files to .wav(same format as files i am replacing inside the .apk) and renamed them to the EXACT name of the .wav files i am replacing inside the .apk
-download the keyboard .apk and open in winRAR (didn't change file extention)
-inside the .apk i located directory containing the .wav files and deleted them
-from the desktop i dragged the new .wav files into winRAR and dropped them in the original directory
-close winRAR
-resign .apk
-plug phone in and view on PC as mass storage mode.
-click and drag newly edited and signed .apk into the downloads folder on phone
-unplug phone
-install .apk on phone
So the installation went fine. I go into messaging and the keyboard shows up and works perfectly. only problem is i have no keyboard sounds! why aren't my new .wav files playing when i press a key? what am i missing here?
Did you rename the .wav files to be the same?
weaselnoze said:
This is my first post so please dont flame me too bad!
Just bought a GS2SR and installed a keyboard app to replace the android keyboard however i LOATHE the keypress sound (sounds like an old typewriter). I really like the galaxy s2 keyboard sounds so here's what i've done to solve the issue so far..
-downloaded stock GS2 rom and extracted the .ogg sound files for the keyboard click
-converted .ogg files to .wav(same format as files i am replacing inside the .apk) and renamed them to the EXACT name of the .wav files i am replacing inside the .apk
-download the keyboard .apk and open in winRAR (didn't change file extention)
-inside the .apk i located directory containing the .wav files and deleted them
-from the desktop i dragged the new .wav files into winRAR and dropped them in the original directory
-close winRAR
-resign .apk
-plug phone in and view on PC as mass storage mode.
-click and drag newly edited and signed .apk into the downloads folder on phone
-unplug phone
-install .apk on phone
So the installation went fine. I go into messaging and the keyboard shows up and works perfectly. only problem is i have no keyboard sounds! why aren't my new .wav files playing when i press a key? what am i missing here?
Click to expand...
Click to collapse
From my limited experience, I don't think it's that easy to modify the apk. Me thinks you need to decompile the .dex, muck around with that a bit, re-compile the apk, then rezip and resign it.
Doesn't hurt to Zipalign it also.
Look up Apk Manager to get more info.

[Q] [help] Can't decompile APK

So, I'm trying to grab some images from an APK, and I renamed it to a .zip file and accessed its contents. In the 'assets' folder there is only the splash screen and a file named "game.droid", 2.5 mb. Seems like it was made with "YoYoGames Studio" or something. Is there any way to get the images? This is an abandoned APK that was taken down the app store and the dev seems to have abandoned it.
Hey guyzz
Can anyone decompile apk for me because I'm not a developer , so I don't know how to decompile
Can anyone help me ???:what::what:

Categories

Resources