Remove Apps From Rom - Android Software Development

I'm new to customising ROMs and need some help. when i open the update.zip folder and go to /system/app i can see all the apps that are going to be installed. everytime there is an update for one of these apps i first have to uninstall using adb. Can i just remove the app from the folder and then download from the market place once the flash has finished?

tried it done a full wipe and then flash, fatal error packages not found. To answer my own question, no it isn't this simple so don't try it

haven't tried it myself,so i can't tell if it will help but i'd check this out
http://forum.xda-developers.com/showthread.php?t=717437

You need to recreate your UPDATE.ZIP. It mantains references to old files 'till you recreate again...Perdita2000.
Sent from my HTC Hero using XDA App

Related

Where does the market save the .apk files?

Where does the market save the .apk files I download?In which folder?
Sent from my HTC HD2 using XDA App
On HTC desire, I find market apk's in /sdcard/download/. Usually after a failed install, so I am guessing those files get deleted after install. Should be the same on HD2.
They used to be there in /sdcard/downloads, none of the latests builds I've used leave the APKs there tho, I used to be able to search this folder and install any apps stuck at 100% download or failed, but they dont go there anymore.
So dunno where they gioing now.
I cannot find em anywhere...I use the mdjs desire hd version 4.4 and i cannot find those files...
Sent from my HTC HD2 using XDA App
nkos719 said:
Where does the market save the .apk files I download?In which folder?
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
id love to know where they are!!!
i hate redownloading them each time i start a new build from scratch. UGH!! i have to find all those downloads again and updates.
use root explorer. open it up and you should be at the first dir, their is a folder called "data", tap it, now tap on a folder called "app". this should be all your market apps. tap and hold whatever app you want, choose copy and navagate back to first page and scrole down to your "sdcard", tap it and paste your app where-ever you want to copy it to. this is where i found my apps. hope that helps yall.
Let me see...
Sent from my HTC HD2 using XDA App
Cannot find the .apk installation file.
Sent from my HTC HD2 using XDA App
The apps mite be in a different location on your Android build, but on my build BlueTopia HD Beta 2 by cmylxgo, this is where they are, and they are the install program. Copy one to where-ever you want it then tap on it while still in root explorer, it should ask if you want to install, view or cancel. I've found that there is one thing bad about doing this, Market don't see them as being installed and won't tell you if there is an update for that program if there is one.
Hmmmm....I use the jdms 1.6.2 and the mdeejays revolution hd 1.2 but still cannot locate them anywhere...
Sent from my HTC bravo using XDA App
They are saved in /data/system/app or /data/app
Use root explorer, it should be under /data/app. If you use ES file explorer, you will see an empty /data directory.
I'Ve installed JDMS 1.6.2 and found them in the same place as i said, they have the little green Android guy next to them. Those are the whole app. Tap on one and youll see, it'll ask if you want to install view or cancle. You have to use root explorer!
Another option is to use Titanium Backup from Market. It is free. You can back up your installation to your SD card and install again later or for a different Android build.
data/app/
data/app-private/
system/app/
if you have apps 2 sd, i dont recall the name of the folder.
what file browser are you useing? some wont show protected files.
All "apk" user installed end up in /data/app. system/app is just all the Android installed apk's for that build. data/app-private is normally empty. If you are just looking to save all the apps you have downloaded and installed, then you need to backup the "app" folder in the data folder. But remember this will not be visible unless you have root access.
Good work guys...thank you so much.
Sent from my HTC HD2 using XDA App
Copy my paid aps to my wife
Now I can copy my apps that I paid for and copy them to my wifes phone and now she has them too. Great way to make apps cheaper.
montecarlo5 said:
use root explorer. open it up and you should be at the first dir, their is a folder called "data", tap it, now tap on a folder called "app". this should be all your market apps. tap and hold whatever app you want, choose copy and navagate back to first page and scrole down to your "sdcard", tap it and paste your app where-ever you want to copy it to. this is where i found my apps. hope that helps yall.
Click to expand...
Click to collapse
a good app you might want to look at then would be appmonster or appmonster pro. the free version will backup apps to SD card, restore apps from SD card, quick uninstall where as the pro version does multiple version backups, gives access to extended options like APP2SD, cache, permissions, scan SD card for install-files, batch install (i believe) & even shares app-links via Facebook, Twitter, eMail. i have created a little stock pile of about 1200 or so apk's in the past year or 2.
I know there are a ton of applications that do the same but i personally like this program & suggest it to a lot of ppl who own a android phone.
nkos719 said:
Cannot find the .apk installation file.
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
I'd advise you to download "appmonster".
This makes a backup of all ur apps as .apk files! (folder:appmonster)
Works great!

Install your own apps via xRecovery - Collection of xRecovery files

Hi Guys!
Now that finally the devs arrived with some amazing ROMs, I change these ROMs a lot every day. But I experienced some problems because I often do that at work where I don't have adb shell available. So I created an xRecovery zip-file to install Android Terminal Emulator before booting into the ROM the first time.
That gave me the idea to offer you some zip-files with useful (free) applications you perhaps want to have pre-installed on any ROM before booting it.
I also attached two blank zip-files where you can easily add your own apps, perhaps a preferred keyboard in your language or whatever you want to push onto your phone via xRecovery.
If somebody's interested we could turn this into some kind of collection for universally usable xRecovery files.
How to use the blank zip-files:
To use this method, you need to have the app available as an apk-file, of course.
If you have the app already installed on the ROM you're looking to replace, you can just use a root file manager like Root Explorer to copy and paste the apk file from \data\app\ to your SD card.
If you cannot get the apk file, you can request it here or send me a PM and I'll try to prepare the zip-file for you. Don't ask me to do this with paid apps! This whole method is meant to be used with free apps and I will not add or support warez in any form!
Okay, now let's start. As you can see, I attached two blank zip-files: blank_data-app.zip and blank_system-app.zip. Why two of them?
There are basically two locations where you'll want to install your own apk's:
\data\app\ --> contains all non-system-relevant user apps and should be your choice in most cases. If you install here, you can easily uninstall the apps later if you don't need them anymore.
\system\app\ --> contains system-relevant and pre-installed apps such as vending.apk / phonebook.apk / Email.apk / Gmail.apk / Calender.apk / etc.
Only install here if you want to replace one of these apps with a themed one or if you want to force-update market for example! It's not possible to uninstall anything you installed here the usual way! You'll have to use Titanium Backup or another third-party app.
Only overwrite existing apps in this folder if you know what you're doing!
So, just choose where you want to install your app, open (NOT extract!) the corresponding file with a zip-file manager of your choice (I'd recommend 7Zip or WinRAR) and drag the apk-file you want to install into data\app\ (for blank_data-app.zip) or system\app\ (for blank_system-app.zip. pretty obvious, huh? ). Confirm to copy the file there and close the zip file.
That's it. Now you just have to give your zip-file an appropriate name and push it onto your SD card to install it via xRecovery-->install custom zip-->choose custom zip from sdcard.
__________________________________________________
Some comments on the zip-files attached:
- Android_Terminal_Emulator.zip:
This is useful if you installed a new ROM and experience problems like flashing homescreen or no GSM/data connection. In that case, open ATE and type the following:
su (confirm SuperUser rights)
busybox killall servicemanager
Click to expand...
Click to collapse
This will restart the phone and hopefully solve your problems. (I know this mini guide seems not to fit here, but perhaps someone reads it before spamming the dev thread with questions that were answered a thousand times )
- JIT_Enabler_v2-zdz.zip:
all KUDOS go to zdzihu. Make sure you visit his thread to always get the latest version of JIT Enabler.
Note that you only need this file on 2.1 ROMs where JIT Enabler isn't pre-enabled! On 2.2+ ROMs JIT is always included.
- New Market V2.2.11.zip:
Make sure to sign into your google account and open market once (accept licence agreement) before you update to the new market. Many people experience problems if they don't do this!
- TitaniumBackup-3.6.7.1.zip:
You can also create this file yourself. If you open TB and tap on Settings-->more... there's an option to create an update.zip
- XDA_app.zip:
Useful for any kind of problems of course
__________________________________________________
So, not much of a collection at the moment, but perhaps there's interest for something like that. If you know something that will come handy to have it preinstalled, just tell me!
Cheers
qwer23
very nice idea, but i was wondering if there is a guide to how to make .zip files for xrecovery
"instead of giving me a fish to eat for a day, teach me how to fish!"
Sent from my X10 using Tapatalk
mezo9090 said:
very nice idea, but i was wondering if there is a guide to how to make .zip files for xrecovery
"instead of giving me a fish to eat for a day, teach me how to fish!"
Sent from my X10 using Tapatalk
Click to expand...
Click to collapse
i like that point of view! well i only found one for creating a whole update. zip for a rom with android kitchen I can explain some of the basics inside this zip file this evening after work. a zip just for installing apps is created quite easily. it gets more complicated if you have to set permissions and things like that.
Sent from my rooted X10i using XDA App
good idea!
thanks
Great! thanks a lot for this useful guide, I will use it.
Just one question in the same line like mezo, If I already have a rom zip file and I want to add to this rom the apps, would it be possible? and Could you explain us? or its just copy the files inside the \data\app\ folder?
Thanks again for your help.
Great idea, thanks!
Sent from my Freex10 2.2.1 Darkstyle
770G said:
Great! thanks a lot for this useful guide, I will use it.
Just one question in the same line like mezo, If I already have a rom zip file and I want to add to this rom the apps, would it be possible? and Could you explain us? or its just copy the files inside the \data\app\ folder?
Thanks again for your help.
Click to expand...
Click to collapse
As long as the apps aren't system-relevan, it's as easy as that, yes
For all of you willing to learn more: I'm quite a noob, too, but I'll try to make a tutorial on how to create recovery zip-files as soon as I can.
Won't be today though, because I'll go out to party into my birthday this evening
So long,
qwer23
mezo9090 said:
very nice idea, but i was wondering if there is a guide to how to make .zip files for xrecovery
Click to expand...
Click to collapse
You can use the Android Kitchen to create custom zip files, I use the Cygwin method as it makes file management a little easier imo.
Great idea man, a lot of thanks!
1 zip - several apps
Is it possible to create one zip to install several apk's?
Maybe I have a few "stock" apps, the ones that I always need, and want to install all in a single step.
Can this be done or I have to install one by one even using xRecovery?
Thanks!
Great tuto and thank you for sharing
jpdediego said:
Is it possible to create one zip to install several apk's?
Maybe I have a few "stock" apps, the ones that I always need, and want to install all in a single step.
Can this be done or I have to install one by one even using xRecovery?
Thanks!
Great tuto and thank you for sharing
Click to expand...
Click to collapse
you can throw as many apps as you want into the zip file. everything inside the data\app folder will be installed
Sent from my rooted X10i using XDA App
Hello all. Ihave a problem with xRecovery 0.2 (the last release) when I reboot my phone holding the back button a few moments after the SE Logo appears, it doesn't work. I've installed it with the xRecovery installer and with the FlashTool with BusyBox 1.17 installed. I'm on a X10 2.1 Generic . Thaks
Gugoo said:
Hello all. Ihave a problem with xRecovery 0.2 (the last release) when I reboot my phone holding the back button a few moments after the SE Logo appears, it doesn't work. I've installed it with the xRecovery installer and with the FlashTool with BusyBox 1.17 installed. I'm on a X10 2.1 Generic . Thaks
Click to expand...
Click to collapse
Firstly, the xRecovery depends upon its version of busybox. In the version I use it is 1. 15. 3
So re-install xRecovery(just in case).
Secondly, u don't hv to keep the back key pressed but tap it a few times repeatedly during the screen with "Sony Ericsson" logo.
Hope this helps.
Regards
kLouD™
Sent from my X10i on zdzihu's 2.2.1(beta3) using XDA App
thanks for the info!
kloud_ said:
Secondly, u don't hv to keep the back key pressed but tap it a few times repeatedly during the screen with "Sony Ericsson" logo.
Hope this helps.
Regards
kLouD™
Click to expand...
Click to collapse
Thx but that doesn't working =(
it works ! thx
bro i need your help... im using froyo custom rom on my x10.. now i need to install backup & restore apps but it said apps cannot installed. so how to install it using xrecovery... i have the apk as well.. but i think the apk is for Eclair.
Sof_600 said:
bro i need your help... im using froyo custom rom on my x10.. now i need to install backup & restore apps but it said apps cannot installed. so how to install it using xrecovery... i have the apk as well.. but i think the apk is for Eclair.
Click to expand...
Click to collapse
sorry, backup and restore only works with stock se rom and mods based on it (like kx10 or blue sparks,...). it's impossible to install on any 2.2/2. 3 or 2.1 AOSP rom.
Sent from my rooted X10i using XDA App
in deed ..you only have to press twice.. (press one..wait one sec then press again and release...and wait for the terminal to popup) voilà!
--------
hey im having a problem.
I know that you will say "this belong to another thread" but since this way i can trick the thing and install again the system apps like the Package administrator etc, i need to know what to do in mi case with this method:
mi BETA3 was working smooth!
iv been using the BETA3 a long time but some days ago, suddently i couldn't install apps anymore (thouse that are in mi SD or frome the market...not even Applanet...nothing)
The screen shows the "barber shop black and white" bar rolling and rolling and never stop.
Mi USB detection is not working, that means that mi PC is recognazing the phone (it sound like a UYSB is been conected) but never apear the folder of the SD. nto even options of debugging usb etc in the notification bar of the device.
and when i get in Settings> runing aplications, all aplication are in "calculating..." mode. so they say 00 mb. and never stop triying to get the numbers. its so odd.
the other aplication (that came installed with the BETA) works fine.
I have tryed, erasing the firmwares and isntalling them from the beginning and everything worked fine with old firms like 2.0 and 2.1 update1. too!
then i do the root (first z4root, then busybox, then xRecovery) and make xrecovery work. install the beta 3, and again i can't do anything.
i triyed installing the BETA4 but never stop rebooting so i just yield and stick with BETA3.
any idea..plzzz!!! i really don't whon't to use Eclair...it's just so ugly!!
it's not working on mi xRecovery. i put the apps insinde app folder of thwe .zip and put it in a random folder of mi SD, then do >the Recovery > install custom.zip>Choose from SD card>confirm install the selected "blank_data-app.zip".
and it say:
Finding update package.....
opening update package.....
E i asume E means Error!) can't open blablabla/blblabla folder/blank_data-app.zip (bad)
installation Abnorted.
i asume iv done something wrong...!?!?
PS: BTW can somebody sen me the original .apk of FROYO bwecasue i can't find them , to use the system-apps.zip
thanxxx!!!

ADB PUSH.. APKs dont run

I cannot figure out how this works nor can i find anything online to help my situation... -___-
I have Cyanogen 7 on my Evo Shift. I pulled out the APKs from the stock ROM that i want to install on my current cyanogen setup for example the camera apk because the one on the new ROM sucks a lot.
I am able to successfully push the apks into the system/app folder.
I can see the apks in the system/app folder using astro
I cannot figure out how to get the apks to run or how to install them, the apps dont appear in the app drawer. what do i need to do to be able to run these Stock apks?
Instead of using ADB Push to place them on the phone, try using ADB Install. That way you won't have to copy the APK and try to run it from your phone. It's done in one step.
Oh yeah. When I tried doing that, I got an error. I can't remember what it was called at the moment. I'm not at my PC
I think the problem is with the apks that you want to install.
AFAIK htc apps like camera need the htc framework to run. So they cannot installed, so you cannot find them, or cannot run because need the htc framework

Application not installed error (root explorer)

I am trying to install APK's that I deleted. I moved the copied APK's from the SD card to the system/App file and tried to install through root explorer but I keep getting error (application not installed)? I have reset permissions and tried again but same error, any help?
For future reference?
If u want to change for example the camera app /apk you have to place the new apk where the old one was instead of installing ...if thats your problem ^^
Sent from my HTC HD2 using XDA Premium App
System APK's or APK's in use (loaded at startup) cannot be installed, you would have to copy and paste, or push the file to the location which would overwrite the old one if the file name is the same.

[Q] google calendar HELP

Hi,
I have deleted calendar application (accidentally) from my phone. Titanium backup also not showing the backed up calendar so i can't restore it.
I tried installing the calendar.apk (extracted from the rom package) it forced stop with error.
I want my calendar back. Is there any way. I am using cm 7.1 rom 2.3.4.
Please Help
Thanks
can you explain how u delete that?because it is very necessary to solve ur problem.
I believe that if you flash a relevant gApps .zip file you should be able to get it?
Sent from my HTC Wildfire using Tapatalk
Did you try pushing the Calender.apk and CalenderProvider.apk to /system/app/ using adb or root explorer. Then changing the file permissions to rw-r-r. Maybe it works. (If it force closes again, clear the application data from /settings/applications/manage applications/all/ and restart. )
Sent from my Blade using XDA App

Categories

Resources