Hi,
I often dowload apps that come in a zip, and once unzipped are not in apk format.
For example, after being unzipped will usually include the following:
android manifest.xml
classes.dex
resources.arsc
a 'Meta-INF' folder
a 'res' folder
and a 'lib' folder
Was wondering how to get these packages installed. Any help is appreciated. Thanks.
Those are usually things you have to flash through recovery (install zip option), or install through MetaMorph if they're themes.
Hi,
just saw, you were faster.
have the same problem, in my case a *. sis file.
I don´t really know what to do with those files.
Regards
NetJay
Was a game I downloaded if that helps any1 understand.
dancforfreedom said:
Hi,
I often dowload apps that come in a zip, and once unzipped are not in apk format.
For example, after being unzipped will usually include the following:
android manifest.xml
classes.dex
resources.arsc
a 'Meta-INF' folder
a 'res' folder
and a 'lib' folder
Was wondering how to get these packages installed. Any help is appreciated. Thanks.
Click to expand...
Click to collapse
This folders are the typical folders found in an apk file. Actually, all you have to do in this case is to just rename the .zip file to .apk without unzipping it and it should work. I do that when my apk files that I downloaded comes out as .zip. It works for me all the time.
Sent from my HTC Original Desire using Tapatalk
Thanks a lot, worked a treat!
itachi1706 said:
This folders are the typical folders found in an apk file. Actually, all you have to do in this case is to just rename the .zip file to .apk without unzipping it and it should work. I do that when my apk files that I downloaded comes out as .zip. It works for me all the time.
Sent from my HTC Original Desire using Tapatalk
Click to expand...
Click to collapse
Hi,
thats all? Omg can´t belive it, will try.
Thanks so lot !
Regards
NetJay
dancforfreedom said:
Was a game I downloaded if that helps any1 understand.
Click to expand...
Click to collapse
Downloaded from where? Any official channels would supply an .apk surely?
dancforfreedom said:
Hi,
I often dowload apps that come in a zip, and once unzipped are not in apk format.
For example, after being unzipped will usually include the following:
android manifest.xml
classes.dex
resources.arsc
a 'Meta-INF' folder
a 'res' folder
and a 'lib' folder
Was wondering how to get these packages installed. Any help is appreciated. Thanks.
Click to expand...
Click to collapse
try to rename the files to *.apk and install.
DirkGently1 said:
Downloaded from where? Any official channels would supply an .apk surely?
Click to expand...
Click to collapse
While they commonly will give you an .apk file, sometimes especially if you download it from your android device directly, it downloads as a .zip file. In that case you will have to rename it.
Related
Is the apk file essentially the same as a .deb file or .rpm file in that once it's installed it can be removed from the phone? Or is the .apk required for the application to run?
Thanks.
Basically, what you said. It can be removed once installed.
Thank you.
ktmdms said:
Is the apk file essentially the same as a .deb file or .rpm file in that once it's installed it can be removed from the phone? Or is the .apk required for the application to run?
Thanks.
Click to expand...
Click to collapse
Depends what you mean. If you mean the apk on the device itself (/data/app or /system/app), then don't touch it, as Android runs from the apk.
If you mean the sd card, then sure, delete it
Ah, nuts! /data/app has 4 apk files in it. /system/app has 75. What I was hoping to do was clear out the .apk's in /system/app (or move them to the sdcard and maybe link /system/app to a directory on the sdcard) to make room in the phone. Not safe to do that, huh?
Thanks.
I wouldn't think so. I'd leave them just incase.
Hey, i have downloaded an aplication for android to my pc, it's winrar archive. I have some files and folders like META-INF, classes, resources etc. I know that those files are files from apk but i dont know how to convert rar to apk. I cant just change file name after dot, from rar to apk. Please help me.
Well I know it might be a dumb suggestion but did you open the
.rar to see if the .apk is inside?
Sent from my PC36100 using XDA App
yust rename is to .apk lol , winrar wil see a .apk file as a .zip or .rar file
My APK files are seen are seen as winrar files in the pc, but as APK files in my cell
caguirr4 said:
Well I know it might be a dumb suggestion but did you open the
.rar to see if the .apk is inside?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Sure i opened it. Like I wrote there was files and folders like META-INF. I cant rename this file.
gkenny1991 said:
yust rename is to .apk lol , winrar wil see a .apk file as a .zip or .rar file
Click to expand...
Click to collapse
I cant rename this file. When I change it's name its like xxxx.apk.zip not xxxx.apk
Diamond_dawg said:
My APK files are seen are seen as winrar files in the pc, but as APK files in my cell
Click to expand...
Click to collapse
My PC see apk an rar files, so it's not it.
Well you should be able to just change the file name to xxxxx.apk. You should download 7zip and associate .apk with that instead of winrar. But you might have to change the file name in properties instead of maybe just right clicking and rename.
Sent from my PC36100 using XDA App
I fixed problem on my own, but thanks for helping guys.
Make sure that on your computer, you have 'See Hidden File Extensions' in your folders option. You can then rename it and you can change the type.
Sent from my Zio using XDA App
Scarface666 said:
I fixed problem on my own, but thanks for helping guys.
Click to expand...
Click to collapse
How did you fix it.
Sent from my PC36100 using XDA App
APKs are just ZIP files. Extract the files from the RAR, archive them as ZIP and then just rename to ".apk". I know this because this is how I theme.
caguirr4 said:
How did you fix it.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I just downloaded this archive one more time and when "save as" window appeared i changed the line under name from "winrar archive" to "all files" and I added one more ".apk" to the name.
Exclareçendo
What did the friend is trying to report, and looking for solutions is as follows: I have the .apk Extracted ... Shaped Pasta ... and want to convert it in APK ... I open the folder and select the files and send pro Winrar, compact for RAR, and RAR to rename the .apk. However when trying to install, the packet error ... Not simply rename .rar to .apk
View attachment 3116983
View attachment 3116985
Hello, I have searched everywhere and cant find the answer to my question. I wanted to replace a file using CWM .zip how in the heck do I do that? Most of all I just wanted to learn how to do it as well...
Thanks,
Chad
Well to begin with you can take an existing zip with the file path you need, delete everything in the folders not touching the META-inf folder at all, those are the install instructions, and put the file you want to flash in the correct folder. I think thats how everyone starts out.
studacris said:
Well to begin with you can take an existing zip with the file path you need, delete everything in the folders not touching the META-inf folder at all, those are the install instructions, and put the file you want to flash in the correct folder. I think thats how everyone starts out.
Click to expand...
Click to collapse
but your update-script has to match what you are flashing via cwm. if you take a rom zip and just pop in a few files in place of the whole rom structures, your flash will fail because your update-script is looking for specific structures.
Oxicottin said:
Hello, I have searched everywhere and cant find the answer to my question. I wanted to replace a file using CWM .zip how in the heck do I do that? Most of all I just wanted to learn how to do it as well...
Thanks,
Chad
Click to expand...
Click to collapse
One way would be to use: Update Zip creator/modifier (Requires Windows)
yeah it would be bad mojo if you used a wipe rom zips META INFO to make an update zip.....
Thanks a million everyone......
Sorry for being late to the party again.. Here goes my attempt at an explanation though:
Essentially, a CWM flashable zip is just a zip file with the file system replicated in it. So for example, if you wanted to add swype, and you know Swype.apk would regularly go in /system/app, then you would create a blank folder called 'system', and another folder inside system called 'app', and put your Swype.apk inside that. (/system/app/Swype.apk)
After that, all that's left is to build an update script. So, from your root directory (where your system folder is), you would make another directory called META-INF, with a folder inside called 'com', another one inside that called 'google', and finally one called 'android' inside that (/META-INF/com/google/android), you put a text file in there called 'update-script' that tells recovery what you want to do (in this case, copy swype over to the corresponding directory on the file system).
http://forum.xda-developers.com/showthread.php?t=641223
^There's a guide for how to make those. You can also pick apart any rom you find in the dev section and check out the update script for reference.
After that, it's just a matter of zipping up all the contents in your root directory, then signing the zip with testsign.jar
modest_mandroid said:
Sorry for being late to the party again.. Here goes my attempt at an explanation though:
Essentially, a CWM flashable zip is just a zip file with the file system replicated in it. So for example, if you wanted to add swype, and you know Swype.apk would regularly go in /system/app, then you would create a blank folder called 'system', and another folder inside system called 'app', and put your Swype.apk inside that. (/system/app/Swype.apk)
After that, all that's left is to build an update script. So, from your root directory (where your system folder is), you would make another directory called META-INF, with a folder inside called 'com', another one inside that called 'google', and finally one called 'android' inside that (/META-INF/com/google/android), you put a text file in there called 'update-script' that tells recovery what you want to do (in this case, copy swype over to the corresponding directory on the file system).
http://forum.xda-developers.com/showthread.php?t=641223
^There's a guide for how to make those. You can also pick apart any rom you find in the dev section and check out the update script for reference.
After that, it's just a matter of zipping up all the contents in your root directory, then signing the zip with testsign.jar
Click to expand...
Click to collapse
Is there a way from the CWM interface to do the same with a backup you create? I noticed backups are not in the same format, they are usually .img, .tar, and an md5 file?
hi guys
i have a question here
i know it may be a noob question
sometimes when i download a game from any site the apk comes in the form of folders and files not single file (.apk file )
i want to know how to deal with that strange apk???
is there anyway to convert or compress the folders and file into one .apk file ???
43 views no answer ?!!!!!
try zipping it up and renaming the .zip to .apk
mktns said:
hi guys
i have a question here
i know it may be a noob question
sometimes when i download a game from any site the apk comes in the form of folders and files not single file (.apk file )
i want to know how to deal with that strange apk???
is there anyway to convert or compress the folders and file into one .apk file ???
Click to expand...
Click to collapse
You mean except the apk file you have a folder and inside some files?
If that's the case than those files are game data that is usually modified to work with that apk..
So you install apk(game) and then copy the folder either to Android/data, to root of your internal sd card or in some other folder.The folder depends on the game developer and most of them put the game data folder to Android/data.
If you get the .apk+.obb files than you install apk and copy the obb files to your Android/obb folder..
You'll figure it out..
Sent from my LG-P920 using xda app-developers app
no not the sd data
i mean i download apk file in the form of .zip file and when i extract it i found many files and folders not .apk file
thnx anyway for your answer but the soultion was simple
i had to rename the .zip to .apk and then install it as usual
mktns said:
no not the sd data
i mean i download apk file in the form of .zip file and when i extract it i found many files and folders not .apk file
thnx anyway for your answer but the soultion was simple
i had to rename the .zip to .apk and then install it as usual
Click to expand...
Click to collapse
apk files are actually zips, you can open and change them with winrar, winzip or 7zip...
that's why renaming worked.
here's what I did.
I don't have a computer. I changed apk to zip and unzipped it. Then I used Axel xml/editor viewer to change things. Then saved it and compressed file to zip then changed to apk. I tried using Zip Signer from app store. I still get the same parsing error when I click app to install.
What do I do to fix it ? apk editor pro works and installs the modded app but won't load the modded app to change things again so I don't want to use that.
Anyone have an answer ?
Try this process, instead. It works famously for me.
First, copy the .apk to a safe place just in case!
1. Extract your .apk to a folder.
2. Edit what you want.
3. Open up your original .apk in an archive manager (7zip, WinRAR).
4. Navigate to the directory where your edited files will go while in the archive manager.
5. Drag-and-drop your edited files into the archiver window which has the .apk open. Click "OK" if it asks if you're sure.
6. Close that window, ADB push it to /[wherever], and install.
Done! :good:
thenookieforlife3 said:
Try this process, instead. It works famously for me.
First, copy the .apk to a safe place just in case!
1. Extract your .apk to a folder.
2. Edit what you want.
3. Open up your original .apk in an archive manager (7zip, WinRAR).
4. Navigate to the directory where your edited files will go while in the archive manager.
5. Drag-and-drop your edited files into the archiver window which has the .apk open. Click "OK" if it asks if you're sure.
6. Close that window, ADB push it to /[wherever], and install.
Done! :good:
Click to expand...
Click to collapse
I said I don't have a computer. I can't do that.
I read the problem is the apk is lot aligned. Can I run commands in a Terminal Emulator on my phone ?
1. Compress back to zip. 2 sign zip. 3 change to apk. 4 zipalign apk.
How do I zipalign ? I tried spme things I read for commands but don't know if I'm doing it right.
ryan012 said:
I said I don't have a computer. I can't do that.
I read the problem is the apk is lot aligned. Can I run commands in a Terminal Emulator on my phone ?
1. Compress back to zip. 2 sign zip. 3 change to apk. 4 zipalign apk.
How do I zipalign ? I tried spme things I read for commands but don't know if I'm doing it right.
Click to expand...
Click to collapse
Oops. Missed that part.
I have no experience with the commands you are referring to, therefore I cannot help you.
Sorry.
thenookieforlife3 said:
Oops. Missed that part.
I have no experience with the commands you are referring to, therefore I cannot help you.
Sorry.
Click to expand...
Click to collapse
It's like this, http://stackoverflow.com/questions/...apk-with-7zip-cause-error-during-installation
I don't know how to do the commands or which ones. I tried the ones shown but didn't do anything. I don't know if I did it right.
Stealthy App
Hi there i want to modify an app( Want add stealth Option in menu) please tell my how i can modify app with some easy editor softwares not complicated. Share some links.
Thanks in advance. hoping you will help me!
Scarface47 said:
Hi there i want to modify an app( Want add stealth Option in menu) please tell my how i can modify app with some easy editor softwares not complicated. Share some links.
Thanks in advance. hoping you will help me!
Click to expand...
Click to collapse
For reading all the xml files I use Axel (XML Editor / Viewer)
https://play.google.com/store/apps/...aystore&pcampaignid=APPU_pzkdVL_aBcmONsKggsgE
You have to click open as on xml and choose axel then click Save As... save it somewhere with the same name as the file name as it is.
then copy the saved file into the folder of where you got it from and overwrite it. Make sure name is same. Now open the saved xml again in Axel ans now you can modify it, then click Save before exiting it.
For changing other things like button images I haven't done that.
I changed what app says inside and what some buttons says. The Strings.XML file is where buttons are or some other things
there's one called APK Editor Pro but it only lets you change app one time. It won't load modified one.
Here, https://play.google.com/store/apps/...aystore&pcampaignid=APPU_pzkdVL_aBcmONsKggsgE
is anyone able to tell me how to fix it ? How to get the apk aligned not using a computer ?