[Q] Where are file extensions such as ".mp4" and ".mp3" located in an .apk? - Android Q&A, Help & Troubleshooting

[Q] Where are file extensions such as ".mp4" and ".mp3" located in an .apk?
I know it might be hard to understand the way I try to explain this conundrum but I've been up all night trying to figure this stuff out myself to no avail. I'm trying to rip the assets from a particular game/application (SONIC CD), and after decompiling it's contents via apktool, I'm greeted with pretty much nothing but .smali files. However, opening some of these reveal paths that are non-existent and files that cannot be found in any of the folders extracted. Pretty much all of them are scripts aside from the icons (.pngs) and a couple .xmls. Opening up "VideoActivity.smali" in the soniccd folder shows that they exist within the data I've ripped but I cannot find them.
Can anyone lend me a hand here? :fingers-crossed:

Related

[Q] Beginner question on simple apk decoding/editing with smali

How do you change where config files and libraries are stored for a particular apk? I want to move some config files to /system but I don't know how to get the app to recognize them once I move them. I already decoded the thing and have access to all the smali files, but don't know what to do with them. If anyone could just point me in the right direction so I could learn more about this, about what file tells the install where to look, that would be fantastic. Like, why does a library work if it is in /system/lib/ OR if it is in /data/data/apkname/lib/?

[Q] Modifying APK question

I have attempted numerous times to change the Online, Offline, Away, and Busy presence files in the Google Talk app. This images are located in the assets folder. Although I replace them, recompile and resign, my modified images do not show. I still see the original images. If I view the contents of the APK, they are there in the assets folder. Am I missing something?

[Q] Editing apps with apktool

Hello everyone, I have been reading this forum for some time and decided to register. It's a great resource site with amazing info.
I have been playing with apktool to learn how apps are made. Decompiled following the guide from this forum.
However I can't find what I'm looking for in the apps. For example, it's easy to edit the drawable folders of the apps and change the images.
I took some apps that gather feeds from news sites and I tried to find where are the feeds URLs coded or embedded inside the apps files, and could not find any info at all. No URLs at all. I opened the XMLs, and other files inside res, lib or smali folders, opened a lot of the files with Notepad++ and I can't find any information about it, or any place where the app connects to the website.
Is it possible to access that info when we decompile with apktool?
I also watched a lot of videos in YouTube, on how to edit apps with apktool, and all of them explain how to change the images, but nothing else.
Is it only possible to edit the theme/design of an app, when we decompile with apktool? Or can we go further and change something else?
Any help appreciated.
Ok, after further research, and some trial and error, it seems apktool only does a very superficial decompile of the apk. It won't give you the actual source code of the app. So you can only do some very basic changes to the app, like images and such. However it is a very good first step to decompile the app.
I realized we need to use other tools to create and decompile the .jar files. I will keep experimenting.
Apktool can also be used in reverse engineering apps. But not intended for piracy use
Sent From My Samsung Galaxy Y s5360

My Puzzle in Rom-modification

I wanna modify a Rom for personal using. It seemed no mistakes until I added some apk I often use to my ROM.
The point is that I found many .so files with the same name but different sizes in some different apks unzipped. So I have no idea that how to add these .so files with the same name into sys/lib/ folder. Obviously, it's impossible that there are two or more files with duplicate names in a folder. I don't think these files with the same name are used to achieve same necessary functions in different apks because their sizes are too different.
It was so sad that no exact solutions can be gotten in search engines.
So, what should I do next? My work has stopped for long time due to this strange puzzle. I need some solution. Thx a lot~

Help/Info regarding large tmp file in root directory

Hi All,
Am getting a bit desperate, as I've never before found a problem that has *absolutely* no result in even the most generic google/forum search.
Was running SDMaid on my Galaxy S5 (SM-900F; 4.4.2) and one of the .tmp files it came up with was named 'store_file.tmp' sitting in the 'root/data' directory. It was a whopping 1.81gb!
Have been trying to figure out if this is something I can safely delete or not, but even the most generic search of the filename on Google or the various android forums doesn't give me a single appropriate hit! The file hasn't been modified for a couple of weeks, but there's really no suggestion as to what program generated it. Have tried copying it to my PC and opening with verious text/hex editors, but none of them want to have anything to do with a file that size.
Has anyone come across this before? Any idea where it originates?

Categories

Resources