Related
If I have a *.apk that I download, is there anyway to backup/extract it?
The apk is really just a ZIP file. Try renaming the file to whatever.apk.zip and open using your favorite ZIP utility. You should be able to view all the contents. Resources (such as images) can be extracted. The java code is compiled into a .dex file so you can't view the raw code, but there are utilities (like this one) to decompile it: http://dedexer.sourceforge.net/
ghostfaced said:
The apk is really just a ZIP file. Try renaming the file to whatever.apk.zip and open using your favorite ZIP utility. You should be able to view all the contents. Resources (such as images) can be extracted. The java code is compiled into a .dex file so you can't view the raw code, but there are utilities (like this one) to decompile it: http://dedexer.sourceforge.net/
Click to expand...
Click to collapse
Right but how do I find the *.apk if I am downloading it off of the market?
apps are located in data/app/
There are also various apps in the market that will backup apps.
I use appmonster incedently.
7zip can extract and view contents of an apk without renaming.
backup and reinstalling apps....
view the first link in my signature.
I used MyBackup Pro to do a backup of my apps onto the sd card, then I used ASTRO file manager to navigate to /sdcard/rerware/MyBackup/AllAppsBackups where I found the file LastBackupApps.zip. I then used androzip or something similar to unzip that file and it contained the apk for every one of the apps I backed up.
how to extract .apk.p files
ghostfaced said:
The apk is really just a ZIP file. Try renaming the file to whatever.apk.zip and open using your favorite ZIP utility. You should be able to view all the contents. Resources (such as images) can be extracted. The java code is compiled into a .dex file so you can't view the raw code, but there are utilities (like this one) to decompile it: http://dedexer.sourceforge.net/
Click to expand...
Click to collapse
I have a zip file with .apk.p files in it which are exracted with package_extract_file in the updater script. Is there a way to manually extract these, since renaming to .zip doesn't help if I open them with any unzipper program?
Thanks
lxrose said:
I have a zip file with .apk.p files in it which are exracted with package_extract_file in the updater script. Is there a way to manually extract these, since renaming to .zip doesn't help if I open them with any unzipper program?
Thanks
Click to expand...
Click to collapse
I believe the files you are referring to - the files ending in ".p" - are "patch" files. They only appear in the OTA download .zip file, and they are worthless to you. They are not complete files, but just enough data to patch the corresponding 1.5 app .apk so that it turns into the 2.1 version.
If you want the complete .apk files which they correspond to, just download the Leak-V3 .zip file, extract the "system.img" file, and then unpack that file using the "unyaffs" utility (search for it, you'll find it at code.Google.com).
bftb0
bftb0 said:
I believe the files you are referring to - the files ending in ".p" - are "patch" files. They only appear in the OTA download .zip file, and they are worthless to you. They are not complete files, but just enough data to patch the corresponding 1.5 app .apk so that it turns into the 2.1 version.
If you want the complete .apk files which they correspond to, just download the Leak-V3 .zip file, extract the "system.img" file, and then unpack that file using the "unyaffs" utility (search for it, you'll find it at code.Google.com).
bftb0
Click to expand...
Click to collapse
Thanks for the info. I thought I can update the apk files manually, because from recovery it doesn't work (it is a rooted image, so signature not accepted) and there are some fixes in the new update that I wanted to give a chance.
Unable to install ddx1.14.jar in my HTC wildire
I hve downloaded dexeder.jar file in to my SD card. but i can't install it in my HTC wildfire...
it shows an error...
"ddx1.14.jar cannot be installed because critical information is missing from the application file (MIDlet-Name). Please contact the application provider for more information."
Help me Pls..... Thanks in advance.....
apk download
did you search for the apk online?
Hi,
As the new ICS 4.0.3 seems to have gotten rid of the libraries required for call recording, I am willing to extract the relevant libraries from a 2.3.6 ROM, replace and give it a shot. I already have a few of them with me, for example Official DXKL3.
I need to extract the following 3 files -
system/lib/libaudiopolicy.so
system/lib/libaudioflinger.so
system/lib/libaudio.so
How can I extract these files from a ROM?
On you pc or on you phone click extract here. And will be exctracted about 6 files. Navigate to system app and find wht app you want. Copy and replace. I guess I understood right what you mean.
Get a utility program like 7Zip, IZarc, WinRar on your PC & open up the zip/tarfile & you can see the individual files & extract same.
However...
What you're attempting to do will not work. Different framework.
Points for thinking outside the box tho.
Thanks... Though when I use 7z, it only extracts zImage,factoryfs, etc., only a handful of files. I cannot see the individual files in the file system. Also 7z cannot extract these files anymore...
Ahh I think I was talking about already "cooked" ROM, and you guys are talking about the source? Sorry I am very new to the terminologies used. If that is the case I will check if I can find these files in the source tarball.
Try another program if 7Zip doesn't work. Try IZarc. I can see every file in the roms I have with it.
MistahBungle said:
Try another program if 7Zip doesn't work. Try IZarc. I can see every file in the roms I have with it.
Click to expand...
Click to collapse
I tried but still couldn't open XXLPQ ROM with IZarc. Thanks anyway...
hirak99 said:
Hi,
As the new ICS 4.0.3 seems to have gotten rid of the libraries required for call recording, I am willing to extract the relevant libraries from a 2.3.6 ROM, replace and give it a shot. I already have a few of them with me, for example Official DXKL3.
I need to extract the following 3 files -
system/lib/libaudiopolicy.so
system/lib/libaudioflinger.so
system/lib/libaudio.so
How can I extract these files from a ROM?
Click to expand...
Click to collapse
to open *.img file inside the rom download diskinternal linux reader and mount the img file inside the app.
tried and tested when i needed to copy a file from another rom.
Solution you find here :
h__p://sconcauteam.com/forum/index.php?threads/how-to-windows-extract-deodex-sign-and-zipalign-an-official-rom.1325/
Hello all. I recently bought Final Fantasy IV and was disappointed to find there was no language setting in the game that I could find. Ideally, I would like to play with Japanese audio and English subtitles. Launching normally under USA locale plays English vocals and subtitles. I was afraid that the Play store variant would only come with English audio, but I found by changing my Nexus 7 language settings to Japanese, that it would in fact contain and play with JP audio and JP subtitles. I can't understand why , this being the case that there isn't an easy in application language switching option that I can see.
All the components are there. Does anyone know how I could somehow edit the files to play JP audio and English subs? Copy the JP audio track to the English version of the game seems the most straightforward , if I could figure a way to do it. Anyone have ideas for this process? Programs I will need to unpack the apk or game data and edit what needs to be etc...? Thanks.
To th ebest of my knowledge, it appears that I'll probably need to unpack the .obb file somehow. The .apk is small. Does anyone know of an suitable utilities to unpack and repack/sign if need be .obb an/o .apk firles?
I've seen a few posts on the forum suggesting that I simply rename the .obb to .zip, .rar etc... and it will simply be able to be extracted. Sadly, this doesn't seem to be the case. I've been attempting to use 7zip to extract the archive with a number of renamed file types and every time it claims that it doesn't seem to be a valid archive etc.... Others have suggested 7zip works for this in other cases, but I'm not sure why it is failing now. Do I need to use a specific program to see if it is a valid archive?
Edit: I also tried with WinRAR and to no effect - the same problem where it reports that there is no archive present etc...
At the moment I'm trying this with an edited/sideload ready version of FFIV 1.2.3 (which has both the .apk file of a few megabytes and the .obb of a few hundred megabytes), at least until I can pull the exact copy off my device. I'd really appreciate any insight. What do I need to open/extract the .obb and why is it not appearing with 7zip? Thanks.
I'm going to try and get another copy of the files from another source (pulled directly from my Nexus 7 or Nexus 4) onto my Windows PC etc...
RanceJustice said:
I've seen a few posts on the forum suggesting that I simply rename the .obb to .zip, .rar etc... and it will simply be able to be extracted. Sadly, this doesn't seem to be the case. I've been attempting to use 7zip to extract the archive with a number of renamed file types and every time it claims that it doesn't seem to be a valid archive etc.... Others have suggested 7zip works for this in other cases, but I'm not sure why it is failing now. Do I need to use a specific program to see if it is a valid archive?
Edit: I also tried with WinRAR and to no effect - the same problem where it reports that there is no archive present etc...
At the moment I'm trying this with an edited/sideload ready version of FFIV 1.2.3 (which has both the .apk file of a few megabytes and the .obb of a few hundred megabytes), at least until I can pull the exact copy off my device. I'd really appreciate any insight. What do I need to open/extract the .obb and why is it not appearing with 7zip? Thanks.
I'm going to try and get another copy of the files from another source (pulled directly from my Nexus 7 or Nexus 4) onto my Windows PC etc...
Click to expand...
Click to collapse
Huh... I'm not sure how to help you too. Just a simple beginner. But using .zip or .rar worked for me. Just that the file names were all long and weird. Also, every file appears as a .file extension
open obb file
Hi,
did you tried to open *.obb using "jobb" application from Android SDK?
Hello all. I was wondering if anyone could give me some information on how to extract an .obb file so that one can edit the contents. In my other thread ( http://forum.xda-developers.com/showthread.php?t=2373834 ) where I was trying to figure out a way to activate the Japanese vocal track in Final Fantasy IV with the game's locale in the US/English. I've hit an impasse as I've been able to deduce that the Google play version of the game (which seems to have a 15mb .apk, and a 400+mb .obb ) retains the Japanese audio track but only plays it in conjunction with JP text if the Android locale/language is Japanese. Thus, I figure that somewhere in that .obb there will be the JP audio track file which I can copy over the English audio track file and thereby access Japanese audio w/ English text since SquareEnix didn't give us the option for some god-awful reason.
However, the only way this can work is if I can get into that .obb file! I saw links elsewhere on the forum suggesting that all I had to do was rename the .obb to a .zip or .rar, and then use 7zip or WinRAR to open it, but attempts with both programs and numerous file types (.zip, .rar , .tar etc..) all report that the file is not an archive and thus cannot be opened. This is different from the .apk file, which easily seems to (upon rename to zip) unveil its secrets with 7zip extraction. So, does anyone know a program or method necessary to unpack/extract/read/edit an .obb file besides the simple archive rename? Is there some Android development program or function?
I'd very much appreciate any insight into how to unpack/edit an .obb file! Thanks!
Anyone? Can't seem to find any data on this, especially anything sounding remotely reliable, on other sites...
RanceJustice said:
Anyone? Can't seem to find any data on this, especially anything sounding remotely reliable, on other sites...
Click to expand...
Click to collapse
Have you tried 7 zip?? I am also looking to extract it for in game music lol
jetbruceli said:
Have you tried 7 zip?? I am also looking to extract it for in game music lol
Click to expand...
Click to collapse
I have attempted to extract it with 7zip, but to no avail. It says it cannot extract it as an archive. I'd still love to figure out how to do so, to swap around the vocals, but sadly without unpacking the .obb somehow it doesn't seem possible. I am guessing that by the name "opaque binary blob", these are intended to be difficult to unpack/decrypt etc... though perhaps some are easier than others. Are .obb s created via some sort of encrypting process? compiling? both?
RanceJustice said:
I have attempted to extract it with 7zip, but to no avail. It says it cannot extract it as an archive. I'd still love to figure out how to do so, to swap around the vocals, but sadly without unpacking the .obb somehow it doesn't seem possible. I am guessing that by the name "opaque binary blob", these are intended to be difficult to unpack/decrypt etc... though perhaps some are easier than others. Are .obb s created via some sort of encrypting process? compiling? both?
Click to expand...
Click to collapse
Yeah they are encrypted because some open with 7zip like Aspault 8 and other likes NFS Most wanted they in the APK file.
Hi, did you ever find the solution to this problem? I myself am trying to open the same obb file(to fix the stupid "Load Captain" typo at the start). I have decompiled the apk but am at a loss as to what I should do next. I originally tried dumping the obb file using Jobb, but received a "magic key does not match" error, which leads me to believe it's not a standard archive. The only place I can think of looking is in the .so file, but I'm not sure if I have the patience to sift through all of it.... Keep us posted on any developments, thanks to anyone who can help!
---------- Post added at 04:51 PM ---------- Previous post was at 04:33 PM ----------
A quick search through the apk yields only one result to the string .obb, in the 'DLActivity.class' file.
Code:
static String a()
{
String str = DLActivity.class.getPackage().getName();
return Environment.getExternalStorageDirectory().getPath() + "/Android/obb/" + str + "/main." + 131 + "." + str + ".obb";
}
Now considering the actual name of the obb file is "main.131.com.square_enix.android_googleplay.FFIV_GP.obb" we seem to be on the right track...
I will keep experimenting, let's keep this thread alive!
try with "RAR for Android"
I even managed to extract obb from gta3 (1.2 GB)
@RanceJustice it's pointless to swap English audio with Japanese if you can't even understand it. If you can understand it then you should buy the Japanese version. IMO FF4 is better w/o any voices as both the ENG and JPN are medicore.
@jetbruceli the game uses AAC streamed audio nothing special, the music is pre-recorded and you can buy it for $7. You want Final Fantasy IV DS Original Soundtrack.
RAR for Android as recommended by @cojocaruflrn works!
Rename the file from .obb to .zip and open the file with winrar thats how you can extract the files from within it how to edit the files inside the .obb are a different question
Can I rename zip file to apk file,
any progress? i'm trying to decrypt .obb files from fifa16
It is possible
I see some videos on YT, editing .OBB files from GTASA, & they just use WinRAR!, but.. How?
youtu.be / 9paQDBMv8wQ
I could do it, just change .obb to .zip ON ANDROID, (Using some root explorer or WinRar) that's all, sorry for my english gg
Deathracelord said:
Hi, did you ever find the solution to this problem? I myself am trying to open the same obb file(to fix the stupid "Load Captain" typo at the start). I have decompiled the apk but am at a loss as to what I should do next. I originally tried dumping the obb file using Jobb, but received a "magic key does not match" error, which leads me to believe it's not a standard archive. The only place I can think of looking is in the .so file, but I'm not sure if I have the patience to sift through all of it.... Keep us posted on any developments, thanks to anyone who can help!
---------- Post added at 04:51 PM ---------- Previous post was at 04:33 PM ----------
A quick search through the apk yields only one result to the string .obb, in the 'DLActivity.class' file.
Code:
static String a()
{
String str = DLActivity.class.getPackage().getName();
return Environment.getExternalStorageDirectory().getPath() + "/Android/obb/" + str + "/main." + 131 + "." + str + ".obb";
}
Now considering the actual name of the obb file is "main.131.com.square_enix.android_googleplay.FFIV_GP.obb" we seem to be on the right track...
I will keep experimenting, let's keep this thread alive!
Click to expand...
Click to collapse
Were you able to unpack and repack the Final Fantasy OBB? I am trying to do the same.
rename it to. zip instead of obb.
Install zarchiver and es file explorer and do the cut,copy, paste,edit
Dark Knight Begins said:
rename it to. zip instead of obb.
Install zarchiver and es file explorer and do the cut,copy, paste,edit
Click to expand...
Click to collapse
That doesn't work for all OBB files, most of them use different compression methods, and I am not skilled enough to find out which compression method the one I am trying to unpack is using.
[email protected] said:
That doesn't work for all OBB files, most of them use different compression methods, and I am not skilled enough to find out which compression method the one I am trying to unpack is using.
Click to expand...
Click to collapse
I edited gta series, fifa 12(data),14 on that method.
What u wanna do?
Dark Knight Begins said:
I edited gta series, fifa 12(data),14 on that method.
What u wanna do?
Click to expand...
Click to collapse
Final Fantasy 5 OBB, I don't think SquareEnix uses the same compression method as ZIPs.
[email protected] said:
Final Fantasy 5 OBB, I don't think SquareEnix uses the same compression method as ZIPs.
Click to expand...
Click to collapse
maybe
Hello all!
I've a few questions and maybe you guys can help me: I want to translate an Android Chinese Game and right now I can only open a *.rc2 file (with notepad++) that I found with a group of players of that game. The problem is that the game still has some other rc2 files, assetbundles and xml files that I can't open. So my questions are:
- How can I extract the assetbundles? I found the Assets Bundle Extractor (UABE) application but every time I try to extract a file, my PC restarts (my rig: i5 haswell, 8gb ram, GPU R9 200x series). Is there any other option to extract those files?
- Is there something that I can do to convert or decompile rc2 files so I can open and edit it?
- I can't open some of the XML files with Notepad++, do I need to convert it to text first? If yes, is there any app that I can use to do that?
(I get the .apk and followed one Youtube tutorial called "Get source Code(Java and XML) from android APK"but all I got were *.smali files).
I know that those questions are very newbie, but I'll appreciate any help.
Thank you.