Related
" After android installs an application from the Marketplace, does it keep the .apk file?
Is there a standard location where Android would keep such files?
The location is "/system/app" "
First i would like to explain this is taken from a thread from some other forum so is not mine...
Just want to know if there is another answer as this does not work for me ...desire v5 build
Well I dont know the answer to your question, But if you just want *.apk files you can download OnTheFly Backup and let it export all installed apk to your SD card =)
and here
/data/app
/data/app-private
XenSA said:
" After android installs an application from the Marketplace, does it keep the .apk file?
Is there a standard location where Android would keep such files?
The location is "/system/app" "
First i would like to explain this is taken from a thread from some other forum so is not mine...
Just want to know if there is another answer as this does not work for me ...desire v5 build
Click to expand...
Click to collapse
/system/app for the most part.. if there is a /system/data file, there may be some in there. Also apps downloaded from the market are stored directly in /data/app or data/app-private
KowboyBebop said:
Well I dont know the answer to your question, But if you just want *.apk files you can download OnTheFly Backup and let it export all installed apk to your SD card =)
Click to expand...
Click to collapse
this is an easy way, but if you wanna browse your system files directly search around for Android Commander
KowboyBebop said:
Well I dont know the answer to your question, But if you just want *.apk files you can download OnTheFly Backup and let it export all installed apk to your SD card =)
Click to expand...
Click to collapse
Thank you so much. But for froyo you'll have to download Flii Backup. It's free and it saves all app in a folder called Onthefly. Aewsome!!!
I'm running Hyperdroid V1.2 on my hd2 and I really miss the HTC_IME keyboard from my last rom. Thanks guys!
You need to find the apk file for it, just Google HTC_ime orGoogle mobilism you'll find it on there, then install it, go to keyboard settings activate it, go to new message press and hold in text box select input method and select HTC_ime
Sent from my HTC HD2 using Tapatalk
So how would I install the apk file? Is there a certain spot in the SD card I need to leave it? Thanks for your help!
THEhomelessONE said:
So how would I install the apk file? Is there a certain spot in the SD card I need to leave it? Thanks for your help!
Click to expand...
Click to collapse
Doesn't need to be in a special place on the card, but Its helps to keep all your apk's in a folder for easy finding. Once you've copied the file to your card, you can use any file manager from the market to locate and install the apk. Don't know how much you know but .apk files are to Android what .cab files are to Windows mobile and .ipa files are to Iphone OS. Cheers.
Sounds simple enough thanks guys appreciate it!
reocej said:
Doesn't need to be in a special place on the card, but Its helps to keep all your apk's in a folder for easy finding. Once you've copied the file to your card, you can use any file manager from the market to locate and install the apk. Don't know how much you know but .apk files are to Android what .cab files are to Windows mobile and .ipa files are to Iphone OS. Cheers.
Click to expand...
Click to collapse
What if you want to install it to /system/app? If you simply use a file manager to open the apk file won't it install to /cache?
To install to system do I simply adb push it or adb install it?
You can grab the keyboard you want out of/system/app from your old build and then put it into the androidapps folder of your new build and then reboot. Should work, please let me know though
Sent from my HTC HD2 using XDA App
I have a confusion regarding android. this is very general query.
In Computer, first we have to have exe file to install anything and then we click on it to install the app on windows computer generally. when the app is installed on computer, we have installed app files in program files and then a dump (that is exe file) which we keep to install this app on any other computer.
Now, please let me know if this is applicable in android phones also?
I know that in android, there is .apk file instead of .exe file in computer. I observed that after installation apk file disappears. Is this true?
Not sure if in understood well, did you mean if instal anything from SD card? If you are asking that the answer is yes, i install everything from SD card and the apk file stay there after installation.
What if u install any app from Market?
vijay.gupta said:
I have a confusion regarding android. this is very general query.
In Computer, first we have to have exe file to install anything and then we click on it to install the app on windows computer generally. when the app is installed on computer, we have installed app files in program files and then a dump (that is exe file) which we keep to install this app on any other computer.
Now, please let me know if this is applicable in android phones also?
I know that in android, there is .apk file instead of .exe file in computer. I observed that after installation apk file disappears. Is this true?
Click to expand...
Click to collapse
Even in Android you can see the .apk files under /system/app. Also applications installed by you can be backed up & later restored using software available on market.
"Normally" these apks dissapear when you download from.market, but all of.your apks are stored in your phone, the thing is that you have to hav permission to do that, when you download an apk (the single file) and store it in sd card to install it, the apk is copied to the phone.
Sent from my GT-I5801 using XDA App
But if u back up ur apps as .apk and install them later using softwares (with exception of Titanium backup) u will loose connection between the app and android market (that means no updates)
the best option is to backup ur apps with titanium backup along with user data and restore it using the same
how do i access /system/app? Do I need to root the phone in order to see this directory?
vijay.gupta said:
how do i access /system/app? Do I need to root the phone in order to see this directory?
Click to expand...
Click to collapse
Download Terminal emulator from market & you are ready to go to /system/app !!!!
You can also download Root Explorer and so the same
Thank all. Can you please confirm what I am writing below:
Suppose I buy a android phone (with android 2.1 so you cannot install apps from SD card) in which I installed an application named XYZ from Market. Now, there is a apk file for XYZ which gets downloaded somewhere in the phone memory and then it gets installed automatically.
Now, I just want to know, where does this apk file go after XYZ is installed? Does it stay in phone memory with the installed files of XYZ.
If it goes to phone memory and not deleted from there, then phone memory
if u install .apk from market it will be stored and installed in /data/app in phone memory. i do not think it is stored twice in the phone.
Do u mean to say that only the installed file gets stored and. apk. File got deleted automatically after getting installed?
vijay.gupta said:
Do u mean to say that only the installed file gets stored and. apk. File got deleted automatically after getting installed?
Click to expand...
Click to collapse
Remember that an .apk file its a variant of the .jar files when you install an .apk this file gets stored inside the phone along with its necesary dependencies when the app starts, the os reads this file line by line while the app is executed.
In short terms the .apk file its the application itself that need a proper interpreter to run, in that way when you install and app to the phone, it copies this file and links the dependencies, so the .apks downloaded from makret are stored directly inside the app folder, in that way you can extract them from this folder and use it in another android phone.
You are relying too much on the windows ways of things. You see an exe file installion in windows essentially unpacking everything (other things aside) where it is needed and you then often see a bunch of files and folders. This is not what happens in android, the apk file is conserved when installed and can be found in the root part of your phone. Its data/app/ if installed on your phone, mnt/asec. (or something like asec) if installed on your sd card. You can copy that file to your sd card or send it to another device and install it again. I did just that today (I sent an apk to a friend)
anyway i dont think its same if i delete .apk + odex files from /data/app as i uninstall it with titanium backup. i think TB will be delete also data stored by the app inside the database (its the place where the apps are saving data, settings, etc...)
In case you are installing from Android Market:
1. When you are at market, it doesn't ask you to download. You will only get option either to install or update the existing app.
2. If you are a normal user, after installing, you won't be able to see the apk file anywhere on your memory card. But if you are a root user or with the help of special file managers and specific apps like root explorer and terminal emulators, you can locate those spk files in the phone's hidden memory.
3. If you are a root user, or with the help above mentioned type of apps, you can locate the apk files in phone memory and copy it on your memory card and distribute it to your wish.
4. If you are worried for paid apps and losing your phone or apps because of resetting or any other reason then stop worrying. A record of your paid apps is stored in google servers. So, even if you reset your phone or lose your phone, once you log in to a your new android device with the same google account, it will automatically show your paid apps. You don't have to pay for it again. Just need to install it again. This is applicable only if you are paying for the app through android market and you are logging into your android device with the same google account you had before losing your apps.
In case of installing via your SD card:
1. apk files are just like java files (.jad or .jar). You can download it on your PC from various sources and transfer it to your SD card or any of your friends' via USB, bluetooth or any other way.
2. After transfering the apk file to your SD card, it doesn't get automatically installed. You have to click it or open it to install, just like how we double click the exe file in windows.
3. Whether installed or not installed, the apk file you transfer to your SD card will always remain there unless and untill you or someone else delete it or you format your memory card.
4. Once installed, a copy of the same apk file would also be there in your phone's hidden memory, which you can access using special apps.
If you worried about losing your apps, try searching for other apps which backups apk... you can do so at android market. Moreover, also search on the net about having root access on your android device.. it'll let you access files in your phone's memory.
I hope, this would solve down all your queries !!!
Thanks next2 devil. Very gud explanation. It cleared almost all confusions. I have some more confusions that i want to clear out.
1) just a general query that just like exe file got unpacked after double clicking on it and install its files in c: genrally, does the same happen with apk, jad and jar files?
2) just want to clear out that phone memory which is hidden for normal users contains the copy of only those apk files that are currently installed on the phone and not the ones that are uninstalled or not installed at all?
vijay.gupta said:
Thanks next2 devil. Very gud explanation. It cleared almost all confusions. I have some more confusions that i want to clear out.
1) just a general query that just like exe file got unpacked after double clicking on it and install its files in c: genrally, does the same happen with apk, jad and jar files?
2) just want to clear out that phone memory which is hidden for normal users contains the copy of only those apk files that are currently installed on the phone and not the ones that are uninstalled or not installed at all?
Click to expand...
Click to collapse
1. I am not sure about JAD and JAR files, but yes, APK files unpack itself to get installed. You can come to know the exact size/space that would be taken by the app directly from the android market. Details would be given there.
2. Yes, the phone memory would be having copy of files only which is installed. There would be no copy of any apk file which in not installed.
Thanks next2devil. Your response give rise to one more query.
if i compare unpacking logic from windows, there is no need for original exe file to remain in existence after it has been installed and user can delete exe file after installing it. Deleting exe file has no negative impact on the working of installed app. Please let me know if this is also the case with apk files? If yes, then what is the need of apk file to remain in phone memory after it has been installed?
vijay.gupta said:
Thanks next2devil. Your response give rise to one more query.
if i compare unpacking logic from windows, there is no need for original exe file to remain in existence after it has been installed and user can delete exe file after installing it. Deleting exe file has no negative impact on the working of installed app. Please let me know if this is also the case with apk files? If yes, then what is the need of apk file to remain in phone memory after it has been installed?
Click to expand...
Click to collapse
Short and simple. Deleting the apk file from /data/app removes the app.
Sent from my Lestatious v1.4.5.5 Galaxy 3 FROYO
I have followed the instructions from pcworld.com(unable to post link due to noob status) which happen to appear on several other sites.
I'm having issues copying the vending.apk file to /system/app with File Expert. I think it's a write-permissions issue but I don't know enough to get around that. File Expert says that it's mounting this directory successfully but it's just acting like the file is being copied when it's actually not. Please help...
Use the method posted here then if you are still having problems come back and ask questions.
http://forum.xda-developers.com/showthread.php?t=1351283
Thank you for your reply. The method I used is very similar to that one. I have been trying to paste the vending.apk into the /system/app folder as this tutorial instructed and it has also failed. I tried mounting with File Exper and with ES file explorer. Is there another app I should try to use to accomplish this? Doesn't seem like there's anything better in the amazon app store. Maybe I have to manually install an .apk of sorts?
payote40oz said:
I have been trying to paste the vending.apk into the /system/app folder as this tutorial instructed and it has also failed.
Click to expand...
Click to collapse
What was the failure?
had also troubles installing with explorers - would recomend you the adb method:
http://forum.xda-developers.com/showpost.php?p=19789892&postcount=35
payote40oz said:
Thank you for your reply. The method I used is very similar to that one. I have been trying to paste the vending.apk into the /system/app folder as this tutorial instructed and it has also failed. I tried mounting with File Exper and with ES file explorer. Is there another app I should try to use to accomplish this? Doesn't seem like there's anything better in the amazon app store. Maybe I have to manually install an .apk of sorts?
Click to expand...
Click to collapse
Other users have reported lack of root privelages with file explorers from the Amazon App Store. At one point Root Explorer and File Explorer were removed, and File Explorer was the only one that's returned (now with limited funciontality). I'm guessing Root Explorer no longer shows up for this reason.
Either sideload the Android Market version of a file explorer from your phone, or download the .apk I posted here. I pulled it from my phone and it should have full root privelages. It worked when I was setting up my KF. This version was pulled prior to the most recent update, so it's a little outdated.
So basically what I've followed thus far was a combination of both instructions. I'm going to assume that since SuperOneClick said everything was rooted - that it is. So in terms of installing the android market, here's a tl;dr of what i've done and where i'm at:
- adb push googleframeworkservices.apk
- adb push vending.apk to the appropriate directory and assign its permissions.
- Used File Expert to install MarketOpener.apk(places an icon in carousel so you don't have to use alternate launchers)
- rebooted KF
The market opens up fine now but whenever I go to download something it either says "authorizing purchase" or "downloading" and never progresses beyond that. Please, PLEASE let me know if i'm omitting any piece of information that may help you guys assist me. Thanks for all your good work fellas, I appreciate it.
maybe you have a bad vending.apk - there are some bad versions around.
post you mine and try again with the adb method i suggested.
posted framework just to be shure.
did you install the vending.apk ? look at point 7 of the guide i linked in carefully !
good luck !
Hi! so, when i was rooted, i actually removed this app right there accidentally, i was debloating but i didn't even noticed it... so now i need it and can't find anywhere, can anyone post it here? Thanks in advance.
Here you go. It goes into system/app as you probably know.
https://onedrive.live.com/redir?resid=42F161BAACA54FFA!330&authkey=!AIvddz9cedRaQA8&ithint=file,zip
@countryfolk07
Could you please reupload this file? I made the exact same mistake which guile50 did
I would be obliged.
Great many thanks in advance.
Sawik55 said:
@countryfolk07
Could you please reupload this file? I made the exact same mistake which guile50 did
I would be obliged.
Great many thanks in advance.
Click to expand...
Click to collapse
Here it is, from. MPHS24.49-18-8 build.
https://drive.google.com/file/d/0B1tb_AIZ5QUwRDFwLWRzS1lKanM/view?usp=drivesdk
Thank you, you awesome person. I am really a newbie to flashing and rooting, could you please explain what should i do with it? Do i flash the zip with twrp or extract it somewhere? I tried installing some generic livewalpaperpicker.apk found somewhere on the xda and obviously it didnt work. Also is there a way to download the zip from your google drive, because for some unknown reason my phone wants to add it as a dictionary? (If no solution i'll just download it via pc). I will be fullheartedly thankfull for instructions.
Sawik55 said:
Thank you, you awesome person. I am really a newbie to flashing and rooting, could you please explain what should i do with it? Do i flash the zip with twrp or extract it somewhere? I tried installing some generic livewalpaperpicker.apk found somewhere on the xda and obviously it didnt work. Also is there a way to download the zip from your google drive, because for some unknown reason my phone wants to add it as a dictionary? (If no solution i'll just download it via pc). I will be fullheartedly thankfull for instructions.
Click to expand...
Click to collapse
I'm not sure why it's giving you a hard time downloading the zip. Are you using the Google Drive app or Chrome from your phone?
Extract the zip and copy the folder to /system/app/ using a root file manager. I should ask though, is your system stock? What version/build number? This includes the stock .apk and .odex file.
quakeaz said:
I'm not sure why it's giving you a hard time downloading the zip. Are you using the Google Drive app or Chrome from your phone?
Extract the zip and copy the folder to /system/app/ using a root file manager. I should ask though, is your system stock? What version/build number? This includes the stock .apk and .odex file.
Click to expand...
Click to collapse
It's a rooted, stock 6.0.1 rom, with xposed framework and a bunch of modules including N-ify, If i am correct of what a build is then my build is "24.221.5.clark_reteu.en.EU reteu".
Edit:
I tried to do everything as instructed and it didn't help. And what is curious i found out that i actually already had this folder in my system/apps. I switched it with the new one, reboot and unfortunately still when i try to set any live walpaper it says "aplication is not installed". I guess i won't be able to try pixelwalpapers anytime soon.