FORUMS

Android M Code Name: Macadamia Nut Cookie

While the official name for the latest iteration of Android has yet to be revealed, the code … more

XDA Recap: This Week In Android (May 17 – 23)

Another week, another recap. The Sunday tradition marches on this week with a fresh … more

Huawei To Sell Honor Smartphones Via Indian Retail Outlets

World’s fourth largest smartphone maker Huawei plans to now sell its … more

Sunday Debate: Are Smaller Bezels Better or Worth It?

Bezels have been getting smaller and smaller as the years go by, and while devices … more
Thread Deleted Subscribe to Thread Email Thread

Extract *.apk?

12th April 2010, 03:25 PM
OP Senior Member
Thanks Meter: 37
 
More
If I have a *.apk that I download, is there anyway to backup/extract it?
 
 
12th April 2010, 05:14 PM
Junior Member
Thanks Meter: 2
 
More
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/
The Following 2 Users Say Thank You to ghostfaced For This Useful Post: [ View ]
12th April 2010, 05:24 PM
OP Senior Member
Thanks Meter: 37
 
More
Quote:
Originally Posted by ghostfaced

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/

Right but how do I find the *.apk if I am downloading it off of the market?
12th April 2010, 07:47 PM
silverramsrt's Avatar
Senior Member
Flag NC
Thanks Meter: 17
 
More
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.
12th April 2010, 10:00 PM
ECLIPS3's Avatar
Senior Member
Flag Rochester, NY
Thanks Meter: 4
 
Donate to Me
More
backup and reinstalling apps....

view the first link in my signature.
13th April 2010, 06:37 AM
Senior Member
Flag Austin
Thanks Meter: 78
 
More
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.
17th June 2010, 01:22 PM
Member
Thanks Meter: 0
 
More
how to extract .apk.p files
Quote:
Originally Posted by ghostfaced

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/

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
17th June 2010, 11:37 PM
Senior Member
Thanks Meter: 846
 
More
Quote:
Originally Posted by lxrose

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

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
18th June 2010, 12:02 PM
Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by bftb0

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

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.
31st March 2011, 05:34 PM
Junior Member
Thanks Meter: 0
 
More
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.....
Last edited by mady2rule; 31st March 2011 at 05:40 PM. Reason: Forgot to give title
Subscribe to Thread
Thread Tools