Re-installing an ADB removed System App - EVO 4G Q&A, Help & Troubleshooting

I already Searched, MY ANSWER is not there.
I'm running Caulkin's 1.4, I removed sense (via his .zip).
After everything was up and running I opened ADB and removed a couple applications I didn't want, such as friendstream and rss.
One of the items removed was Mail.apk because I have always used K9 mail instead. I remove the same list of apps every time I install a Rom, never had a problem.
that is until today. For personal reasons I need to use the stock mail app instead of K9, however I cannot figure out, or find a way here to make it install.
If I copy the system apk... Mail.apk to my sd card and try to install, it gives me final message "Could not be installed".
Can anyone help me with some guidance of how I can do this? Or is it possible?

Disregard, Got it!

Related

Which apps can be safely removed without breaking?

Hey there,
I got a HTC Desire with Froyo and the lastest update. Rooted and S-OFF as well.
I was just wondering which apps that came with the Desire standard that I can actually safely remove without breaking the OS/Phone.
Mainly I am concerned about these apps as I don't use them or has a replacement for them:
* Footprints
* Friendstream
* Gmail (I use K9 instead)
* Mail (Again K9 used instead)
* News
* News and Weather
* Peep
* Stocks
* Teeter
Those are the apps I would like to get rid of, and prefebly their widgets too if it possible. But which of them are safe to simply delete without causing random errors and/or breaking of the OS.
Can't remove FriendStream as it's leave the phone in a constant sync loop - it's linked to FB contacts being linked to your phone book
EddyOS said:
Can't remove FriendStream as it's leave the phone in a constant sync loop - it's linked to FB contacts being linked to your phone book
Click to expand...
Click to collapse
You can if you want but it won't sync. I just unticked it to stop syncing. You can remove a fair few amount of system apps. I got rid of maybe half of them. But what you listed if fine and won't mess around with anything. Just make sure to back them up and then install them if anything goes wrong.
And I will still be able to use market?
MeX_DK said:
And I will still be able to use market?
Click to expand...
Click to collapse
Market (Vending.apk) isnt linked to any of the others. You'd know that if you used Cynaogen with Gapps. It's plain Google.
But I don't and im not really into beginning using custom roms just yet as they don't seem stable enough for me just yet .
Now I just need to find a moment of peace to go digging for the correct way to remove apps and then having the time to do a full backup and get started
u can remove teeter n stocks n footprints .. i had long ago didnt face any problems but better to do a nandroid backup n delete watever ud like to your hearts content..n if fails just restore the rom !
Is there a GUI program available to delete those unwanted apk files, or does it have to be done through ADB?
If you're rooted look at Android Commander - still needs adb but it's a GUI. I use it and its easy!
EddyOS said:
If you're rooted look at Android Commander - still needs adb but it's a GUI. I use it and its easy!
Click to expand...
Click to collapse
I have rooted, but Android Commander claims it can not get root. So that one is a no go. And Droid Explorer crashes when I try to uninstall, and just reloads the page when I try to delete something
MeX_DK said:
Is there a GUI program available to delete those unwanted apk files, or does it have to be done through ADB?
Click to expand...
Click to collapse
You can use Titanium Backup to delete any system apps you want as long as TB has super user permissions.
I personally delete the following:
stock (dcs apk and dcs service also)
teeter
peep
twitter
If you are using a sense based rom, do not delete any widgets else rosie utility (sense) will keep crashing when you try to use any widgets.
Here is a list compiled by baadnwz (of insertcoin fame)
Safe to remove apks from /system before flashing or after in order to free some space
If you delete those you will loose the HTC Book Reader
EReaderLibrary.apk
EReaderViewer.apk
EReaderWidget.apk
HTC Stock will be gone
com.htc.StockWidget.apk
DCSStock.apk
Stock.apk
HTC Mail will be gone if you don't use exchange or you use k9 mail you can delete
htcmailwidgets.apk
Mail.apk
HTC Radio
com.htc.FMRadioWidget.apk
HtcFMRadio.apk
HTC News reader
HtcGreader.apk
HtcGreaderWidget.apk
HTC Likes
HtcRecommends.apk
HtcRecommendsWidget.apk
HTC Messages - if you use Handcent you can remove default htc message apks - you dont need 2 apks for the same thing
Mms.apk
htcmsgwidgets.apk
Included live wallpapers, if you dont use them or need them you can delete those too
LiveWallpapers.apk
LiveWallpapersPicker.apk
MagicSmokeWallpapers.apk
Mode10Wallpapers.apk
VisualizationWallpapers.apk
Flickr- well if you dont use it for uploading ur pics its safe to delete
Flickr.apk
HTC Sense - if you prefer launcherpro or adw or whatever and dont need htc sense you can delete
Rosie.apk
You can delete any apk from /system that has the word widget into his name if you don't need it, i for one remove all widgets i dont use (90% of widgets present :B). But if you delete them from zip before flashing or via adb after flashing you might encounter "ghosts" widgets in widget list #ff3ccc3 for example will be a widget - and if you select it rosie.apk will crash. Don't say I didn't warn you. Best is to have s-off and uninstall them via titanium backup
Click to expand...
Click to collapse
celestialspring said:
You can use Titanium Backup to delete any system apps you want as long as TB has super user permissions.
Click to expand...
Click to collapse
What about these?
Gmail.apk
Gmail.odex
Cause I don't use the build in Gmail app either. Unless removing this one breaks all the Google Syncs ?
After going through a long list of stuff to remove I still got weather and News & Weather I would like to get rid of. But what are their proper names?
Doing the installorama I sadly realised that at some point during the process apparently facebook breaks so that it will no longer sync the profile images to people >_<. I very much like that feature, so is there any files I have to avoid for that not to break?
barebone experimenting
First of all, baadnewz, thanks for oa beautiful and well working rom. And I totally respect your (or anyone else's) choice to ignore this post. I'm not expecting anyone to wast their energy on dummies like me. I will keep on searching and trying on my own anyway.
Used leeDroid for a long time but this rom is fantastic.
I am a noob, but not a stupid one. This is the first time I post, after having done my own experiments, testing, searching, reading, learning (I hope) and of course, failing a lot. I'm addicted to deleting apps I don't use.
I work in the area of personal development and I research a lot, so I use my desire as a pure work tool with Docs2go, ezPDF, iReader, PowerAmp, SpringPad, ThinkingSpace, Dolphin HD and TextEdit as my main apps plus helpful apps like AdFree, AutoKiller, BookmarksToSD, BrightnessControl, DesktopVisualizeR, DropBox, LaunchKey, QuickSysInfo, RootExplorer, SetCPU, SuperUser, TitaniumBU, WirelessTether and obviously XDA. Occasionally I download a game but if I'm not using it enough I uninstall it after a back up with Titanium for possible later use.
Other than that I love sense, so I leave the Calendar (+widget), FriendStream (+widget), HTC-Mail (+widget), News (+widget), settingsWidget, WorldClock (-widget), PhotoAlbum (-widget), Messages (-widget), People (-widget).
I also have a few apps like barcodeScan and stuff, but no big space user, except Adobe Flash (do I really need flash if I don't watch film online?).
I think this was all... Yes, everything else is deleted from the zip file, including everything in the resource catalog (wallpaper and stuff) - I only use the wood skin and a wood wallpaper. I deleted some fonts and replaced those with dead files with the same names (stupid maybe). Deleted clock widgets and slideshow. Deleted all media files except for one of each. I also deleted all boot animation zips. I tried to delete libraries that looked like they were connected to apps I deleted, but not anymore. I'm not sure if this was the season, but different functions stopped responding, so I try to not touch lib files and files I don't know. Anyway, all this worked until I tried to do the same with a clean wipe 1.9.5 ? Big problems all the time!? I also tried flashing 1.9.5 on top of 1.9.4. but this worked much as bad. So I'm back on my 1.9.4 restore point...
I love to free up as much memory as possible, at the moment: Internal Storage 117mb, System Storage 77,5mb and Memory 206mb. I believe this is pretty good,or!?
To take some advantage of your latest rom baadnewz, I flashed 2.6.32.29-insertcoin-kernel and lower_voltage_UV_flashable on top of my "barebone" 1.9.4 - donno if this improves anything really, but now everything is working like heavens....
I have tried some kitchens and done some adb, but the kitchen bit feels wrong as long as I don't really understand what I'm doing and what's happening behind the scene..
So, in other words, I have a very stripped down iNsertCoin rom, and I will keep on trying and searching/learning more....
My big question is:
Is different file/apps/scripts/lib and more, dependent on each other, so deleting some will lead to loops and/or errors/fc? Can I edit code/script to support everything I delete?
Is there a place where dummies like me can learn the basics about Android programming, so to be able to understand my question before this one? And YES, I have been looking for this for a long time with no success...
Keep up your brilliant work baadnewz, and thank you so much for all your effort!
Sent from my Desire using XDA App

Constant sync, reinstall friendstream????

So I am rooted and running the latest skyraider. I removed friendstream and the widget from my phone a while ago. I also still have the facebook still synced to my phone. I have been researching this a lot and still haven't figured out what I need to do. What I can tell is i have this constant sync icon in my notification status bar practically all the time. When I go into accounts & sync nothing in there is actually syncing. I can click on "cancel sync" and the sync icon will go away for a few minutes then it is right back there again a little while later. When I go into accounts, running services there is "Facebooksyncstreamservice" at the bottom which when I click it to stop it brings me directly to the accounts and sync settings menu. I click cancel sync and again it stops for only a short period of time.
After reading a lot on the internet and forums it seems like if you are using FB on your phone you should also keep friendstream installed as well otherwise you could get this constant sync icon which I seem to be receiving as a result of removing friendstream.
So i found the friendstream apk on line and downloaded it to the computer to install on my phone. Hooked up the phone via the usb cable installed the apk to my sd card then tried to install it via OI file manager. Says it begins to install then just aborts the install and says "File not installed" or something to that nature.
I have also read that you can only install this by using adb push which I have no idea how to do. I have searched but have come up empty with a step by step guide at using adb push method.
I have also found another write up where someone describes using root explorer to move the apk to the system>app folder then install through there which results in the same "File not installed" message once completed.
Basically I have no other recourse but to turn to the infinite knowledge base of XDA to possibly ask for help on either 1. finding a way to deactivate this constant sync icon or 2. reinstall the friendstream apk which I believe will stop this constant sync icon (fingers crossed).
Any help would be appreciated and thank you in advance for anyone that can offer some help or incite. If anyone is going to respond to this thread with negative comments and remarks, please refrain as I am only looking for assistance and not useless time wasting comments. Thanks
Any ideas here??
I am also very interested in the outcome of this question, I have done the same deed as you but on a stock thunderbolt rom. If you find out any ways to fix this please do inform me.
Take the friendstream apk and use root explorer to move it to the /system/app folder. Then long press on it and give it the same pernissions as the other apks rw-r--r-- and then long press the file again and change the owner and group to root. Do not try to install it just reboot the phone and it will install it self. You should also restore the widget the same way.
cmlusco said:
Take the friendstream apk and use root explorer to move it to the /system/app folder. Then long press on it and give it the same pernissions as the other apks rw-r--r-- and then long press the file again and change the owner and group to root. Do not try to install it just reboot the phone and it will install it self. You should also restore the widget the same way.
Click to expand...
Click to collapse
Thanks for this, I just used one of my CWM's and ran TiBu to restore everything bc I had a little time on my hands, but this would have been much easier and less time consuming!
________________
Keep Calm Chive On

[Q] Can't find or re-install HtcFacebook app

Hi,
I am running Virtuous Sense 2.0.0, but since installing that MOD, I can't find the HtcFacebook App any more in my system.
Somehow HTC Facebook it must be still in the system, because the APK is in the system/app folder and I can add an account for HTC Facebook in the settings/accounts section. And that account then also syncs my Facebook-Contacts into the Contacts/People App.
But I can't find the Icon anywhere and I can't use/start the application, nor re-install it by any means.
To make things even weirder, the downloads app just told me, that it downloaded an update of 410kb dated 22.07.11
When I try to install that, it says, that this is a System Application, and when I confirm it lists the permission requests and when I hit "install" the progress bar comes up for a second followed by "application not installed".
When I try to do it manually, it fails too:
I opened the Terminal, typed in su to get root permissions. I went to /system/app and tried to install the HtcFacebook.apk from there typing
pm install -r HtcFacebook.apk
It fails with:
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
when I go to /sdcard/downloads and try the same with the downloaded HtcFacebook.apk I get the same Error-Message.
I also tried ASTRO and FileExplorer in both directories with the same result.
Also using ADB commands failed.
Googling the error messages didn't get me any further than what I mentioned above. Now I am quite helpless...
Any help appreciated.
Tronar
Nobody? Everybody who is running Virtuous Sense 2.0.0 is having no problems with the HtcFacebook App?
HTCFacebook is just the integrated facebook thing. If you want the facebook app back, you'll have to go to the market and find Facebook.
Here is a link to the market page, which you can install it from
-Nipqer
I know there is another Facebook App in the market available. But it does not have the same features as the HTC version. Before I installed Virtuous Sense 2.0.0 my original Stock ROM had an HTC Facebook App and after I downloaded and installed the regular Facebook App I had TWO Facebook Apps available.
Now, after flashing the Virtuous Sense ROM, I am stuck with only the one from the Market. But for several reasons, I want to have the HTC variant back. And there must be a way, since even the Downloads-App is telling me, that an update for it is available:
-------------------------
HtcFacebook.apk
synergy-base.googlecode.com
Ready 410 KB 22.07.11
-------------------------
Unfortunately trying to install the update just produces an error.
Am I really the only one missing the HTC Facebook App and the respective Icon to access it?
Tronar
Instead of installing it do this
cd to where ever your adb is located (mine is c:/androidsdk/platform-tools)
place the HTCfacebook.apk you want in that folder and type this:
Code:
adb remount
adb push HTCfacebook.apk /system/app/
adb reboot
Should replace the current HTCfacebook.apk and you will possible get your facebook app back.
Cimer said:
Instead of installing it do this
cd to where ever your adb is located (mine is c:/androidsdk/platform-tools)
place the HTCfacebook.apk you want in that folder and type this:
Code:
adb remount
adb push HTCfacebook.apk /system/app/
adb reboot
Should replace the current HTCfacebook.apk and you will possible get your facebook app back.
Click to expand...
Click to collapse
Thank you for the tip. I tried that. I copied the new HtcFacebook.apk from the /sdcard/downloads/ location to /system/app/ using Root-Explorer
I also set the correct rights (rw-r--r-- like all the other .apk-Files in the same folder) and the correct ownership (root and root)
Then I rebooted, but nothing changed.
My feeling is, that I need to Install the .apk-File, not just drop it someplace.
Tronar
could try 'adb install HTCFacebook.apk'
-Nipqer
Nipqer said:
could try 'adb install HTCFacebook.apk'
-Nipqer
Click to expand...
Click to collapse
As mentioned in my first post, I tried all kinds of ADB commands.
Code:
adb install HtcFacebook.apk
was one of them. All install attemps fail with the error message mentioned above.
I tried it again right now, here is the result:
Code:
adb install HtcFacebook.apk
1299 KB/s (499112 bytes in 0.375s)
pkg: /data/local/tmp/HtcFacebook.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
My guess is, that somehow the certificate system is a little buggy with Virtuous Sense 2.0.0. Maybe the signing of the packages is therefore not recognized.
I get the same Error Message when trying to re-install the HtcFacebook.apk that was already in /system/app. I mean that package should be signed correctly, since it came with the ROM, shouldn't it?
Tronar said:
I am running Virtuous Sense 2.0.0, but since installing that MOD, I can't find the HtcFacebook App any more in my system.
Somehow HTC Facebook it must be still in the system, because the APK is in the system/app folder and I can add an account for HTC Facebook in the settings/accounts section. And that account then also syncs my Facebook-Contacts into the Contacts/People App.
But I can't find the Icon anywhere and I can't use/start the application, nor re-install it by any means.
To make things even weirder, the downloads app just told me, that it downloaded an update of 410kb dated 22.07.11
[...]
Click to expand...
Click to collapse
According to HTC:
What’s the difference between Facebook app and Facebook for HTC Sense?
Facebook for HTC Sense is not a standalone app. It is integrated in People, Friend Stream, Gallery, and Calendar to give you up-to-date information about your Facebook contacts (their status updates, shared links, and photos) in these apps.
The Facebook app is a standalone app. Use this app to do most of the things that you would do when you’re using your computer’s web browser to access your Facebook account, such as adding a friend and sending Facebook messages.
The two do not share the same login credentials. Signing in to Facebook for HTC Sense does not sign you in to the Facebook app and vice versa. If you want to use the same Facebook account for both, you’ll have to sign in to both using the same login credentials.
Note: If you have more than one Facebook account, you may sign in to the Facebook app using your second account, since the Facebook app does not share the same login credentials as Facebook for HTC Sense.
Click to expand...
Click to collapse
I hope that clears everything up for you. I used to think they were two different applications that did the same thing, but they are actually two separate things. The HTC part only integrates Facebook into the rest of the phone environment.
Wow, that is weird. Thanx for digging up that information. It must be new, because I swear with the old Stock ROM I had TWO Facebook-Applications on my HTC Desire Z. Maybe they changed it for the Gingerbread 2.3 Upgrade?
I noticed one effect after copying the new HtcFacebook.apk into the /system/app folder: I had lost all my Facebook-Contacts in the Contacts app and had to re-add the Htc Facebook Account and refill the Login & Password Fields in Settings->Accounts & Synchronization to bring them back.
Nonetheless, all of this does not explain, why the automatic Update of the HtcFacebook.apk from the Downloads-app just fails to install. Is this a bug in the Downloads-App, because System-Apps are never supposed to be installed automatically? Or does this just apply for the HtcFacebook.apk? I can't test it out with other apps, because the HtcFacebook.apk is the only one, that every appeared in the Downloads-App so far.
Same problem with Facebook fro HTC Sense
I am experiencing the same problem after installing a new ROM to my HTC Desire.
This ROM works well and brings Android 2.3.3 and HTC Sense 2.1 yet I cannot find neither the "Facebook" app nor the "Facebook for HTC Sense" widget.
Each time I download the Facebook app from the market and launch it I get an error message telling me that "processocom.facebook.katana" got interrupted and when I try to launch the "HtcFacebook.apk" I get the message "Application not installed".
I cannot sort it out...
To install the HTC Facebook could you not just flash the rom over the top again?
Sent from my HTC Vision using Tapatalk
albertaz said:
I am experiencing the same problem after installing a new ROM to my HTC Desire.
This ROM works well and brings Android 2.3.3 and HTC Sense 2.1 yet I cannot find neither the "Facebook" app nor the "Facebook for HTC Sense" widget.
Each time I download the Facebook app from the market and launch it I get an error message telling me that "processocom.facebook.katana" got interrupted and when I try to launch the "HtcFacebook.apk" I get the message "Application not installed".
I cannot sort it out...
Click to expand...
Click to collapse
What did you do when you flashed onto this new ROM? Which ROM is it, and have you used it previously? Did you flash a ROM cleaner of some sort?
I installed this ROM: AceSMod007 taken from http://forum.xda-developers.com/showthread.php?t=1113070
It is the first time I use this one (previously I tried MIUI, LeeDroid, InsertCoin)
I followed all instructions... I mean I wiped data, cache etc etc. then I installed the ROM and performed a Titanium Backup restore.
Yet when I was checking out the Facebook application I noticed those problems that I highlighted and I started looking for a possible cause and solution to that.
albertaz said:
...
I followed all instructions... I mean I wiped data, cache etc etc. then I installed the ROM and performed a Titanium Backup restore.
Yet when I was checking out the Facebook application I noticed those problems that I highlighted and I started looking for a possible cause and solution to that.
Click to expand...
Click to collapse
When you did the Titanium restore, did you restore system apps or system data?
I restored both them.
Now I tried delating the account under Settings->Account Sync and installing and de-installing the App from the market.
Then I recreated the account into Settings and the synchronization seems to work.
On FriendStream widget now I see FB updates too.
I tried to put on the FB widget (the Facebook for HTC Sense interface seems to be missing yet).
This looks like being hung on "Updating states..." although it takes me to the app when I click on it.
have you tried extracting the .apk file from the rom itself and installing?
if the rom is a zip file (it most probably is), the apks are usually found in one of the folders (maybe /data). extract the zip and look for the directory where all the apks are stored, and perhaps you can re-install just the programs you want.
hope this works.
I previously tried installing HtcFacebook.apk but as a result I got a message "Application not installed"
Now the standard Android FB widget seems to work too...
No traces of Facebook for HTC Sense though
Weird...
albertaz said:
I previously tried installing HtcFacebook.apk but as a result I got a message "Application not installed"
Now the standard Android FB widget seems to work too...
No traces of Facebook for HTC Sense though
Weird...
Click to expand...
Click to collapse
How do you launch the HtcFacebook.apk? Do you still have an icon for it? Because I don't!
And as dkmurphys found out, according to HTC, they seem to have intentionally given up their HtcFacebook App with the latest Stock-ROM update to Gingerbread 2.3.3
So HtcFacebook.apk is only still showing in the list of Apks to provide the background services for the HTC Widgets, like the FriendStream Widget for example.
Tronar

Community Challenge: help me install AOSP Email / Exchange apks in GT-I9300

I got myself into a situation I can't undo.
I wanted to try out the AOSP Email app because I'm tired of the stock app that comes with my Telcel-branded SIII.
I followed instructions;
Fully rooted 4.0.4
Delete Email.apk
Delete Exchange.apk
Copied AOSP files to systen/app
Change permissions to rw - r - r to email.apk
Reboot.
So far; the exchange accounts I had exploded. The phone freezes every few seconds and I get a pop up that tells me that either Exchange or Email has stopped working.
Tried to roll back. I can't. I had backed up both apks, but putting them back still freeze the phone every few seconds.
Decided the easiest solution would be to wipe to factory settings.
Even with factory settings the email + exchange don't work. Adding a corporate account force closes the email app.
At least the phone isn't freezing every 2 seconds.
So now I have a phone that has no email functions. I can add k9 mail or other apps, but I really want the AOSP Email app working.
After full factory wipe, I tried again.
I've deleted both files.
I've installed Exchange.apk
I've installed Email.apk
In both cases the dialog window says they were correctly installed, but an email icon will not appear in my app drawer.
With ES File Manager, I can see that even if OS thinks the apps were properly installed, neither apk appear in the system/app directory.
Sorry for the wall of text, but I wanted to give as much detail as possible.
What can I do? Do I need to flash stock ROM and give up? Has someone been in a similar situation?
Thanks!
Sent from my GT-I9300 using Tapatalk 2

Certain apps won't install

I notice that lately I can't install some apps...AT ALL.
I can copy them to the sysem/apps folder. It's strange that Rom Toolkit can't restore them, but even redownloading them gives an error. I've had this with a few ROMs, including Stock 4.1.1, the multiwindow release.
I'm just seeing if anyone else has this issue, and if anyone has solved it without having to copy to the system/apps folder.
So far the list is:
Amazon Appstore
Yahoo Mail

Categories

Resources