Battery Charged in 30 Seconds? Maybe in 2016

Phones and tablets are getting more and more power hungry with each passing generation. Their … more

ZArchive Manages Your File Archives

Today smartphones are quite powerful devices that can handle multiple processes at once. In fact, some of … more

Regain Double Tap to Wake Functionality on the Nexus 6

A few months ago, Google announced its newest flagship device, the Nexus 6, alongside … more

Clean Your Recent Apps – XDA Xposed Tuesday

In this day and age, you have quite a few apps installed and running on your Android … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Extract *.apk?

OP hah2110

12th April 2010, 04:25 PM   |  #1  
OP Senior Member
Thanks Meter: 37
 
2,442 posts
Join Date:Joined: Nov 2008
If I have a *.apk that I download, is there anyway to backup/extract it?
12th April 2010, 06:14 PM   |  #2  
Junior Member
Thanks Meter: 2
 
9 posts
Join Date:Joined: Mar 2010
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, 06:24 PM   |  #3  
OP Senior Member
Thanks Meter: 37
 
2,442 posts
Join Date:Joined: Nov 2008
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, 08:47 PM   |  #4  
silverramsrt's Avatar
Senior Member
Flag NC
Thanks Meter: 17
 
174 posts
Join Date:Joined: Dec 2009
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, 11:00 PM   |  #5  
ECLIPS3's Avatar
Senior Member
Flag Rochester, NY
Thanks Meter: 4
 
331 posts
Join Date:Joined: Jan 2010
Donate to Me
More
backup and reinstalling apps....

view the first link in my signature.
13th April 2010, 07:37 AM   |  #6  
Senior Member
Flag Austin
Thanks Meter: 78
 
655 posts
Join Date:Joined: May 2006
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, 02:22 PM   |  #7  
Member
Thanks Meter: 0
 
30 posts
Join Date:Joined: Oct 2009
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
18th June 2010, 12:37 AM   |  #8  
Senior Member
Thanks Meter: 818
 
2,147 posts
Join Date:Joined: Feb 2010
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, 01:02 PM   |  #9  
Member
Thanks Meter: 0
 
30 posts
Join Date:Joined: Oct 2009
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, 06:34 PM   |  #10  
Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Nov 2010
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 06:40 PM. Reason: Forgot to give title

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes