[Q] MikFroyo ROM / APK question - EVO 4G Q&A, Help & Troubleshooting

Rooted my phone last week and now looking to flash MikFroYo v4.5. But (and this might be crazy to do for my first ROM flash) I want to change some of the apps up that he’s left in or removed.
Is it safe to modify the .ZIP and move APKs to different folders so they will be installed or not installed as I want them? Take the APKs from the system\app or data\app and move them to the removed folder. And vise-versa take APKs from the removed apps folder and move them to either the system\app or data\app folder.
If this can be done I figure it will be pretty safe to move APKs from the removed folder to the system\app or data\app folder, but I do have questions about the ones I’m looking to remove and if they are safe to not install:
Any of the following not safe to remove?
Data\app\
com.facebook.katana.apk​System\app\
com.htc.FMRadioWidget.apk
com.htc.FriendStreamWidget.apk
com.htc.TwitterWidget.apk
Flikr.apk
FriendStream.apk
HtcFacebook.apk
HtcFMRadio.apk
HtcTwitter.apk
Mail.apk
Street.apk (Is this google street view?)
Talk.apk​
Also as a follow-up question, if this is done, I assume I would also remove any deleted(not installed) APKs from any themes I might install. I’m looking at installing Slayers CYAN Dragon Theme after Mik’s ROM.
Thanks…

i would personally install first, then uninstall the apps. if you do want to take the hard way though, make sure you open up with a zip OPENER NOT EXTRACTOR. then resign it. also, uninstalling deletes any remaining files the apps might have left behind, something that just deleteing doesnt do.
dk

dkdude36 said:
i would personally install first, then uninstall the apps. if you do want to take the hard way though, make sure you open up with a zip OPENER NOT EXTRACTOR. then resign it. also, uninstalling deletes any remaining files the apps might have left behind, something that just deleteing doesnt do.
dk
Click to expand...
Click to collapse
+1.
I agree that it would be easier and safer to remove these apps after install. Use a program like Titanium Backup, it should be able to remove all of the apps you listed.

My Windows thinking coming in to play, where its better not to install things you don't want because things never uninstall cleanly.
HTC Evo
Rooted, but still stock...for now
----------------------------------------
The program is designed to work, if it's not, we have a problem.

Android is much cleaner than windows surprisingly. You can install and uninstall without much or sometimes any residual data.

I agree, just uninstall whatever you dont want, install what you want. Android does a nice job of separating the OS, data, apps.

coiledwire said:
+1.
I agree that it would be easier and safer to remove these apps after install. Use a program like Titanium Backup, it should be able to remove all of the apps you listed.
Click to expand...
Click to collapse
Titanium all the way bro

Thanks for the info. I'll go the Ti Backup route for customization of the installed apps.
HTC Evo
Rooted, but still stock...for now
----------------------------------------
The program is designed to work, if it's not, we have a problem.

Related

[Q] 7-zip to edit Mod's

I noticed that it is pretty easy to remove files from Mod's like Amazon and Stocks along with a few others with 7-zip. I have tried to remove them once installed but it is a pain so does it affect anything by removing the .apk and the .odex for the install process. Its so much easier to do it first and get just the programs you want without the hassle of removing them from a command line. I would not go nuts and remove any HTC files since I am sure other things are dependent on them as I am sure other are as well but just for the ones I will never use. Just curious
Suntar said:
I noticed that it is pretty easy to remove files from Mod's like Amazon and Stocks along with a few others with 7-zip. I have tried to remove them once installed but it is a pain so does it affect anything by removing the .apk and the .odex for the install process. Its so much easier to do it first and get just the programs you want without the hassle of removing them from a command line. I would not go nuts and remove any HTC files since I am sure other things are dependent on them as I am sure other are as well but just for the ones I will never use. Just curious
Click to expand...
Click to collapse
-Unzip the mod file
-make changes...
-create new zip by highlighting folders, make it into a .zip
-sign it(see link)
http://forum.xda-developers.com/showthread.php?t=473580
-you need java sdk and andro sdk for the sign to work
Ace42 said:
-Unzip the mod file
-make changes...
-create new zip by highlighting folders, make it into a .zip
-sign it(see link)
http://forum.xda-developers.com/showthread.php?t=473580
-you need java sdk and andro sdk for the sign to work
Click to expand...
Click to collapse
Very cool and that was fast. I didn't really think it was that easy but now that I see it, it make sense. Thanks Ace

Deleting System Apps

Rooted using Unrevoked. Have Root Explorer installed and Titanium. I know the system apps are in the folder: System/Apps When using Root Explorer I don't have the options. To uninstall the apps bit I can delete them. However, after deleting them the programs are still there. Same thing happens when I try to do it with Titanium. Is there something I'm overlooking?
System Apps do not get installed/uninstalled. Deleting them is all you need to to. However, since it appears you are still running the stock ROM you need to make sure you delete the corresponding odex file too.
I only had the stock ROM for about a day before I rooted and installed a different ROM (which was deodexed). BUT, I recall reading that both files need to be deleted.
I suggest that instead of deleting the files place them in a backup folder just in case you might need them later on. As mentioned before you must move the APK and its associated ODEX file if it has one. Sprint applications tend to be updated so uninstall the updates then move the Sprint applications using the aforementioned method.
Sent from my HTC EVO 4G. EVOke (v.) - Summon into action or bring into existence, often as if by magic.
so i have to move the sprint apk files and odex files (if applicable) before I can delete them? I already tried deleting them w/o backing them up or changing their location but they keep coming back!
SantinoInc said:
so i have to move the sprint apk files and odex files (if applicable) before I can delete them? I already tried deleting them w/o backing them up or changing their location but they keep coming back!
Click to expand...
Click to collapse
Are you mounting the apps folder with "rw" privileges before deleting?
Yes, I am. I have no clue what I'm doing wrong. I swear to god these ****ing apps come right back after I reboot the phone. I delete them with Titanium and/or Root Explorer and after a little while they pop up again. I have no idea what is going on. I rooted with Unrevoked 3.21...maybe something didn't go right?
I also can't get BusyBox to install which is a major pain in da ass because so many apps need it

[Q] Q: Removal of HTC Hub

hi,
i was wondering how to remove the HTC Hub on my phone
i have the HiApk sensefun GSv1.1 installed on my phone
its rooted and have the alpharev boot recovery installed,
and if it will have any long-term effect on my phone, since sense.com/htc hub isnt available for my desire nor do i think HTC would ever care to make it available
Regards
Jimmy S.
you can uninstall it via titanium backup.
for other methods i'm not sure. if you have root explorer installed you can see all .apk's in "system/sd/app_s" folder. but i don't know if you can uninstall it by just deleting it's .apk file, or is there more to it....
i'll try with titanium, there is no ext partition for my ROM, and i have checked the app folder on the phone, and it isnt there... uninstalled alot of other HTC crap that way...
Edit:
titanium backup worked, thx alot.
oh, right...maybe you should be s-off to see system folders...glad it worked...
but now i'm curious. can apps be uninstalled just by deleting .apk's from system/sd/app_s folder? i figured, better to ask if somebody knows this, before i try and sc**w up my rom and have to flash it all over again...
thx in advance...
p.s. sorry for hijacking your thread...
yes it can be done, i found an application that can sign the package
so all i had to do was open zip archive, delete which apps i didnt want (i deleted mostly the theme's they take up around 8-9MB)and then just use an application called auto-sign to resign the zip archive
copy it to my phone, and just installing in recovery....
very easy...

Apps That Are Safe to Remove/Rename/Freeze in CM7 [Updated 2/16/12]

I haven't seen anything posted about this so I figured I'd post the list of apps that I have renamed or removed in CM7. Some are apps that the tablet won't ever use and some are apps that I personally won't be using. I'm sure there are more but these are the ones I've done so far. Please note: When you rename phone.apk you will get a message saying that phone has stopped working and it will not stop popping up, just hold down your power button to reboot and it won't come up again.
ADW Launcher.apk (if you're using a different launcher)
Androidian.apk
AdroidTerm.apk
Bluetooth.apk
Browser.apk (if you're using a different browser)
Camera.apk
CarHomeGoogle.apk
Cyanbread.apk
CMStats.apk
CMUpdate.apk
CMWallpapers.apk ((if you're using a different wallpaper)
Contacts.apk
DeskClock.apk
Development.apk
DownloadPrividerUi.apk
DSPManager.apk
Email.apk
FileManager.apk
FOTAKill.apk
GenieWidget.apk (news and weather widget)
GoogleQuickSearchBox.apk
HTMLViewer.apk
LatinIME.apk (if you're using a different keyboard)
LiveWallpapers.apk (if you're using a different live wallpaper)
MagicSmoke.apk
Mms.apk
Music.apk (if you're using a different music app)
OneTimeInitializer.apk
Pacman.apk
Phone.apk (RENAME THIS LAST)
Protips.apk
RomManager.apk
SetupWizard.apk
SoundRecorder.apk
SpareParts.apk
Talk.apk
TelephonyProvider.apk
Visualization.apk
VoiceDialer.apk
DO NOT RENAME: ContactsProvider, GoogleCalendarSyncAdapter or GoogleContactsSyncAdapter you will end up with framework and/or GApps errors.
I have often wondered why alot of these were left in the ROM.
I always delete lots of those apk even before I flash the update.zip
you can add:
Protips.apk
packman.apk (maybe)
RomManager.apk
I've been wondering about this as well and have been both mucking around with the ROM zips as well as simply deleting things with Root Explorer as it's just plain silly for Phone to exist on the Kindle Fire.
jwilliamf said:
I always delete lots of those apk even before I flash the update.zip
you can add:
Protips.apk
packman.apk (maybe)
RomManager.apk
Click to expand...
Click to collapse
Just to pick your brain a bit: Are you simply editing the zip contents (seems safest) or are you actually extracting everything and then re-compressing it once you've removed the fluff?
You *can* keep SoundRecorder if you want to - and it makes sense ot include it in the ROM. True, the Kindle Fire doesn't have a built-in mic, but I have one of these mics and it works great. It just doesn't use the speakers if this mic is plugged in, since it's detected as a headset + mic.
http://www.amazon.com/Switcheasy-ThumbTacks-Microphone-touch-Black/dp/B0021IAJEG
Just curious, regarding Contacts.apk and Phone.apk...are the two interdependant or will Contacts work without Phone.
Seems to me that using Contacts synced to your G-Mail account would provide the e-mail addresses of your contacts (just ignore the phone numbers) for any e-mailing you might want to do from your Fire...
Aahz Pervect said:
Just to pick your brain a bit: Are you simply editing the zip contents (seems safest) or are you actually extracting everything and then re-compressing it once you've removed the fluff?
Click to expand...
Click to collapse
I just delete or rename them in the system/app folder using root explorer.
hdmunger said:
Just curious, regarding Contacts.apk and Phone.apk...are the two interdependant or will Contacts work without Phone.
Seems to me that using Contacts synced to your G-Mail account would provide the e-mail addresses of your contacts (just ignore the phone numbers) for any e-mailing you might want to do from your Fire...
Click to expand...
Click to collapse
Your contacts should show up in your gmail automatically, at least they do for me.
As I recall from previous posts, renaming such apks like phone and telephony will cause FC's in the settings menu and possibly other areas.
Sent from my Kindle Fire using Tapatalk
DesDr0id said:
As I recall from previous posts, renaming such apks like phone and telephony will cause FC's in the settings menu and possibly other areas.
Click to expand...
Click to collapse
This was addressed already:
airmaxx23 said:
Please note: When you rename phone.apk you will get a message saying that phone has stopped working and it will not stop popping up, just hold down your power button to reboot and it won't come up again.]
Click to expand...
Click to collapse
Edit: Just reread your post and realized my response isn't addressing the issue... I would erase this post if I could.
DesDr0id said:
As I recall from previous posts, renaming such apks like phone and telephony will cause FC's in the settings menu and possibly other areas.
Sent from my Kindle Fire using Tapatalk
Click to expand...
Click to collapse
The only temporary issue is when renaming phone it, causes it to force close, once you reboot it doesn't happen again. I've had them all renamed for a day or so and I've been through a lot of the settings and have not had an issue.
Why rename when you simply evict? make up some extra space for yourself...
do it with adb... root explorer titanium, your fingers, out of /system/app/* and then their corpse cousins over in /data/data/* This is where I learned... http://wiki.cyanogenmod.com/wiki/Barebones.
Telephony, bluetooth, latinime, latinimetutorial mms phone street torch music dsp sound recorder talkback. com.amazon.mp3 was a hated app of mine since time immemmorial!
My routine when flashing CM nightlys on other phones is rather than take the time to clean up the rom for myself, i would just flash the full rom along with the gapps and then the titanium zip as a system file so its there when I get into android... then use the titty with a pre-determined list and just rip a lot of stuff almost 30-80MB and that gave me a LOT of breathing room on the G1/Dream.
When Titanium got down to the last app =Wifi Calling App the phone would go nuts.. and I always had to hit the reboot at the specific time to get it to reboot (if I missed that time, then I had to do batt-pull) get into recovery do wipe cache and dalvik, then reboot recovery then fix permissions and boot back.. and all was well.
the point is when you take out the music and telephony, especially DSP Manager, anything that uses audio is tied to other parts of the framework -- but its always fixable with a reboot and fix permissions.
androidcues said:
Why rename when you simply evict? make up some extra space for yourself...
do it with adb... root explorer titanium, your fingers, out of /system/app/* and then their corpse cousins over in /data/data/* This is where I learned... http://wiki.cyanogenmod.com/wiki/Barebones.
Telephony, bluetooth, latinime, latinimetutorial mms phone street torch music dsp sound recorder talkback. com.amazon.mp3 was a hated app of mine since time immemmorial!
My routine when flashing CM nightlys on other phones is rather than take the time to clean up the rom for myself, i would just flash the full rom along with the gapps and then the titanium zip as a system file so its there when I get into android... then use the titty with a pre-determined list and just rip a lot of stuff almost 30-80MB and that gave me a LOT of breathing room on the G1/Dream.
When Titanium got down to the last app =Wifi Calling App the phone would go nuts.. and I always had to hit the reboot at the specific time to get it to reboot (if I missed that time, then I had to do batt-pull) get into recovery do wipe cache and dalvik, then reboot recovery then fix permissions and boot back.. and all was well.
the point is when you take out the music and telephony, especially DSP Manager, anything that uses audio is tied to other parts of the framework -- but its always fixable with a reboot and fix permissions.
Click to expand...
Click to collapse
I always rename them and leave them for a few days before deleting them just to be sure things still play nicely.
Browser (I use silk)
Gallery (I use QuickPic)
ADW (I use go Launcher)
Aahz Pervect said:
I've been wondering about this as well and have been both mucking around with the ROM zips as well as simply deleting things with Root Explorer as it's just plain silly for Phone to exist on the Kindle Fire.
Just to pick your brain a bit: Are you simply editing the zip contents (seems safest) or are you actually extracting everything and then re-compressing it once you've removed the fluff?
Click to expand...
Click to collapse
Yes! Before flashing, open zip file and delete any apks that you don't need. Easiest way in my opinion.
Some more stuff you can safely remove (few already mentioned)
ADWLauncher.apk
Androidian.apk
AndroidTerm.apk
CMStats.apk
CMUpdateNotify.apk
CMWallpapers.apk
Development.apk
FileManager.apk
Livewallpapers.apk (Live wallpapers still work, just none are included)
MagicSmokewallpapers.apk
Protips.apk
SpareParts.apk
VisualizationWallpapers.apk
I created this little list of commands every time I install a new build of Cm7. Feel free to use it. ~30 apk's or so removed. Some stuff you might want to keep if you use it, be sure to remove from the command below, such as browser or gallery. I use other applications so I remove them
Code:
adb remount
adb shell
cd /system/app/
rm VoiceDialer.apk Androidian.apk AndroidTerm.apk Bluetooth.apk Browser.apk Camera.apk CarHomeGoogle.apk CMStats.apk CMUpdateNotify.apk CMWallpapers.apk Contacts.apk DeskClock.apk Development.apk DSPManager.apk Email.apk FileManager.apk Gallery3D.apk GenieWidget.apk LiveWallpapers.apk MagicSmokeWallpapers.apk Mms.apk Music.apk Pacman.apk Phone.apk Protips.apk RomManager.apk SoundRecorder.apk Talk.apk TelephonyProvider.apk VisualizationWallpapers.apk
Not trying to be an ass or anything but just removing the apk does not uninstall the app. The data will still be there and the device will sill think its installed (even tho you won't see the app in the app drawer) it shouldn't cause any issues but if your removing a bunch of stuff, might as well uninstall them correctly and reclaim the space they take up.
Titanium backup would probably be the easiest way to do it but what I prefer to do is put it all into a script. That way I can run it on whatever rom I install.
An example of how to uninstall the browser via command line...
rm/system/app/Browser.apk
pm uninstall com.android.browser
It should then say "seccess"
With system apps you need to remove the apk first then run the pm uninstall name.of.package command. Hope someone found this helpful
Edit: also, I wouldn't remove, uninstall or rename talk.apk because the market uses it in some way (can't remember for what exactly but it needs it)
foxdog66 said:
Not trying to be an ass or anything but just removing the apk does not uninstall the app. The data will still be there and the device will sill think its installed (even tho you won't see the app in the app drawer) it shouldn't cause any issues but if your removing a bunch of stuff, might as well uninstall them correctly and reclaim the space they take up.
Titanium backup would probably be the easiest way to do it but what I prefer to do is put it all into a script. That way I can run it on whatever rom I install.
An example of how to uninstall the browser via command line...
rm/system/app/Browser.apk
pm uninstall com.android.browser
It should then say "seccess"
With system apps you need to remove the apk first then run the pm uninstall name.of.package command. Hope someone found this helpful
Click to expand...
Click to collapse
Are you sure ;p
None of the apk's I removed show up in "/data/app" or "/system/app". So IMO, they are gone. Even checking the "/cache/" and it's contents. No trace of them there either. (I do wipe "cache/dalvik-cache" after deleting apk's).
foxdog66 said:
Not trying to be an ass or anything but just removing the apk does not uninstall the app. The data will still be there and the device will sill think its installed (even tho you won't see the app in the app drawer) it shouldn't cause any issues but if your removing a bunch of stuff, might as well uninstall them correctly and reclaim the space they take up.
Titanium backup would probably be the easiest way to do it but what I prefer to do is put it all into a script. That way I can run it on whatever rom I install.
An example of how to uninstall the browser via command line...
rm/system/app/Browser.apk
pm uninstall com.android.browser
It should then say "seccess"
With system apps you need to remove the apk first then run the pm uninstall name.of.package command. Hope someone found this helpful
Edit: also, I wouldn't remove, uninstall or rename talk.apk because the market uses it in some way (can't remember for what exactly but it needs it)
Click to expand...
Click to collapse
How do you find out what the name of each apk's matching package?
Takenover83 said:
Are you sure ;p
None of the apk's I removed show up in "/data/app" or "/system/app". So IMO, they are gone. Even checking the "/cache/" and it's contents. No trace of them there either. (I do wipe "cache/dalvik-cache" after deleting apk's).
Click to expand...
Click to collapse
Well the apk is gone but the /data/data/package data is still there. Try "adb shell pm list packages" and see if any of your removed apk's package names are listed.

Deleted stock programs from the root

Using root explorer i can explore my root. I read somewhere in this forum that i can delete some of the unwanted stock programs; i also read that many of the stock programs waste a lot of ram!
So i want to delete some of the programs i never use. Is it possible? Do i have to just delete the apk file, or do i have to delete the .odex one too? And will it not hurt my phone?
Also, i noticed i can extract some of the programs from there. Is it possible for me to say, extract "video.apk" and "video.odex" from this rom, and simply paste it in the root folder of another rom and expect it to work?
Thankyou
List of programs i want to delete (Notice: these are programs i NEVER use. Also, those marked with an asterisk (.apk*) also have a .odex file too.):
BuddieNow.apk*
Days.apk*
Email.apk*
EmailWidget.apk*
GameHub.apk
GenieWidget.apk*
Gmail.apk*
All “google*syncadapter”.apk*
Maps.apk*
marketupdater.apk*
memo.apk*
minidiary.apk*
operamini-5.1.24639.apk
plusone.apk*
postit.apk*
samsungwidget_news.apk*
snsaccountfb.apk*
snsaccountli.apk*
snsaccountTw.apk*
other “sns” .apk*
SocialHub.apk*
street.apk*
talk.apk*
talkback.apk
youtube.apk*
Just delete the apk and the apps will disappeared but make sure the apk you want to delete is really not important or your phone will not work properly. Or you can try to freeze the apps you want to delete and see it for 1 - 2 days to see if it's working properly with other apps. If its not working properly just unfreeze it again.
Sent from my GT-I8150 using xda premium

Categories

Resources