Init files and removing apps - Captivate Android Development

A lot of work has gone into removing AT&T Bloatware, but has anyone looked at the init files to see what/where some of them are auto-starting?
Have the init files been changed in any of the custom roms? I ask only because I wonder if the OS will keep trying to start something that is not there? AT&T Navigator seems to be one of those apps that runs on its own, so i wonder if it starts in init.rc?

Related

Weird issue with Froyo ringtones (DK17 ANY rom)

I have noticed that after removing the stock apps that are normally safe to remove, mp3 ringtones start causing force closes (when trying to save settings). This is also happening to me on both quantum and viper. I did a trial and error and it seems the problem may be tied to drm . How is this possible if that file was safe to remove in 2.1? I could also be wrong about the problematic apk, the problem takes a little while to manifest itself so I can't tell 100% for sure which apk breaks it.
I think it is DRM, I had problems with it in 2.1 so I decided not to remove it but just kill the process when I reboot.
I never had a problem in 2.1. It seems removing the the service apk is okay though ). Seems the culprit is indeed DrmUA.apk. All the devs should note this.
I've encountered this same problem, only it started before DK17 (~DK05 I think). No problems removing DRM APKs on 2.1, but on 2.2 mp3 ringtones caused forcecloses. Even opening the same file with the music player (not in the settings app) forceclosed. The problem went away when I reinstalled the SisoDrmProvider apk, the DrmUA one didn't seem to be necessary, nor did it seem necessary to have any drm services running.
I wonder if froyo handles data for removed application differently than eclair... On eclair, I heard of some people being able to remove the DRM APKs as long as they didn't clear the data (I always forgot), perhaps froyo deletes the data when the DRM APKs are removed?
So DrmUA isn't neccesary for you, but SisoDrmProvider is? Weird.. I'm on stock (with my own modifications of course) and i removed siso but not drmua and have had no problems. Very very strange.

[Q] Unneeded services, apps and startup items

I was wondering if anyone would compile a list like it has been done for the Samsung Galaxy S about all the services, apks, on the phone that is and isn't needed. I mean, I was told I could safely delete Factory Test, however after doing so (and some other apks) my phone got acore.process errors every 3 or 4 seconds.
Would be nice to a frequently updated list... for APKs that can be safely removed and that can be disabled at startup / connectivity changed / etc..
I think you need to have a deodexed ROM before you can just go about deleting system files and apks.... Stock ROMs are usually odexed...
Vishnu N S said:
I think you need to have a deodexed ROM before you can just go about deleting system files and apks.... Stock ROMs are usually odexed...
Click to expand...
Click to collapse
Not necessarily ...
U can delete any application along with its odex file from a stock rooted ROM ..
IonAphis said:
I was wondering if anyone would compile a list like it has been done for the Samsung Galaxy S about all the services, apks, on the phone that is and isn't needed. I mean, I was told I could safely delete Factory Test, however after doing so (and some other apks) my phone got acore.process errors every 3 or 4 seconds.
Would be nice to a frequently updated list... for APKs that can be safely removed and that can be disabled at startup / connectivity changed / etc..
Click to expand...
Click to collapse
LAWL .. What's unnecessary to u might be necessary to others and what's unnecessary to others might be necessary to u
But still ... This might help u
http://forum.xda-developers.com/showthread.php?t=874327&highlight=memory

[Guide]List of apps safe to remove

This is a list of safe/unsafe apps to remove from stock roms.
Generally for other regions/carrier roms anything not included should be safe to remove.
Safe in this case is defined as "will not affect the stability of the rom" removing carrier apps is "safe" for the rom, but weither or not it's useful to keep is beyond the scope of this guide. An example is removing the carrier specific mms app. It can function correctly without it, but you lose any carrier specific enhancements.
General Guideline
NOT safe to remove:
com.android.*
com.dell.* (excluding com.dell.launcher, com.dell.stage.*)
com.google.android.* (that isnt available on market)
PreLoadNetworkSettings.apk [com.oem.prenetworksetting]
Safe to remove:
com.oem.engineeringmode.*
anything available on market
anything not listed here
Possibly Not safe to remove:
Package (OTA) util
PackageChecker.apk [com.oem.packagechecker]
PackageUpdate.apk [com.oem.packageupdate]
Safe to remove:
AMOLED.apk [com.oem.engineeringmode.amoled]
CableDetection.apk [com.oem.engineeringmode.cabledetection]
Calibrator.apk [com.oem.calibrator]
CellInfo.apk [com.oem.engineeringmode.cellinfo]
ConfidentialRunningTest.apk [com.oem.engineeringmode.runningtest]
DisplayVersionInfo.apk [com.oem.mode]
dtretriever.apk [com.oem.engineeringmode.dtretriever]
ECompass.apk [com.oem.engineeringmode.ecompass]
EMList and subapps
audioEM.apk [com.oem.engineeringmode.audioEM]
BluetoothEM.apk [com.oem.engineeringmode.BluetoothEM]
cameraEM.apk [com.oem.engineeringmode.cameraEM]
EMList.apk [com.oem.engineeringmode.emlist]
EMLoader.apk [com.oem.engineeringmode.EMLoader]
EMwifi.apk [com.oem.engineeringmode.wifi]
GpsEM.apk [com.oem.engineeringmode.gpsem]
FactorySuiteUtility.apk [com.oem.engineeringmode.suitutility]
FakeCB.apk [com.oem.engineeringmode.fakecb]
GPIO subapps
Gpio.apk [com.oem.engineeringmode.gpio]
GpioSleepMode.apk [com.oem.engineeringmode.gpiosleepmode]
GSensor.apk [com.oem.engineeringmode.gsensor]
Logging apps
LogMaster2.apk [com.oem.log]
LogService.apk [com.oem.logservice]
Lota.apk [com.oem.lota]
MaxPowerTest.apk [com.oem.engineeringmode.maxpowertest]
mccmnc.apk [com.oem.engineeringmode.mccmnc]
mminfo.apk [com.oem.engineeringmode.mminfo]
NetWorkSetting.apk [com.oem.engineeringmode.networksetting]
NVEngMode.apk [com.oem.engineeringmode.nv]
OOD_OOM.apk [com.oem.testkits.ood_oom]
PermissionToAccessLocApi.apk [com.qualcomm.permission.locapi]
PowerMonitor.apk [com.oem.engineeringmode.powermonitor]
security.apk [com.oem.engineeringmode.security]
SensorsInfo.apk [com.oem.engineeringmode.SensorsInfo]
SIMInfo.apk [com.oem.engineeringmode.siminfo]
TouchPanel.apk [com.oem.engineeringmode.touch]
Verification apps
FactoryTestSIMCard.apk [com.oem.engineeringmode.verificationsimcard]
Verification.apk [com.oem.engineeringmode.verification]
VerificationAudio.apk [com.oem.engineeringmode.VerificationAudio]
VerificationBluetooth.apk [com.oem.engineeringmode.verification.bluetooth]
VerificationCamEEPROM.apk [com.oem.engineeringmode.verificationcameeprom]
VerificationEcampass.apk [com.oem.engineeringmode.verification.ecampass]
VerificationGaugeIcTemp.apk [com.oem.engineeringmode.verification.gaugeictemp]
VerificationGaugeIcVoltage.apk [com.oem.engineeringmode.verification.gaugeicvoltage]
VerificationGSensorTest.apk [com.oem.engineeringmode.verificationGSensorTest]
VerificationHdmi.apk [com.oem.engineeringmode.verificationVerificationHdmi]
VerificationHeadset.apk [com.oem.engineeringmode.VerificationHeadset]
VerificationKey.apk [com.oem.engineeringmode.verificationkey]
VerificationLCD.apk [com.oem.engineeringmode.verificationlcd]
VerificationLPSensorTest.apk [com.oem.engineeringmode.verificationLPSensorTest]
VerificationLPSensorUtility.apk [com.oem.engineeringmode.verificationlpsensorutility]
VerificationSDCard.apk [com.oem.engineeringmode.verificationsdcard]
VerificationSingleTouch.apk [com.oem.engineeringmode.verification.singletouch]
VerificationUsbCharging.apk [com.oem.engineeringmode.verification.usbcharging]
VerificationVibratorAndLed.apk [com.oem.engineeringmode.crt]
VerificationWifi.apk [com.oem.engineeringmode.verificationwifi]
Bundleware (available in market):
ACCUWX.apk [com.accuweather.android.simpleweatherlite.dellstreak]
amazonmp3.apk [com.amazon.mp3]
com.adobe.air.apk [com.adobe.air]
com.facebook.katana [com.facebook.katana]
com.twitter.android.apk [com.twitter.android]
copilot.apk [com.alk.copilot.dell.trial]
evernote.apk [com.evernote]
Gallery3D.apk [com.cooliris.media]
KindleGold.apk [com.amazon.kindle]
KongregateArcade.apk [com.kongregate.android.kongarcade]
Napster-Tablet.apk [com.napster.bishop]
NeroDellSync.apk [com.nero.android.dellsync]
oovoo.apk [com.oovoo]
PageOnce.apk [com.netgate]
Quickoffice.apk [com.qo.android.oemec]
radiotime.apk [tunein.player]
RoxioNow.apk [com.roxio.rnow]
ZinioReader.apk [com.zinio.mobile.android]
ZinioSettingsProvider.apk [com.zinio.android.settings]
GApps (available in market):
Gmail.apk [com.google.android.gm]
GoogleQuickSearchBox.apk [com.google.android.googlequicksearchbox]
Maps.apk [com.google.android.apps.maps]
Street.apk [com.google.android.street]
VoiceSearch.apk [com.google.android.voicesearch]
Youtube.apk [com.google.android.youtube]
StageUI:
BooksStageWidget-release.apk [com.dell.stage.widget.books]
ContactsStageWidget-release.apk [com.dell.stage.widget.contacts]
EmailStageWidget-release.apk [com.dell.stage.widget.email]
HomeStageWidget-release.apk [com.dell.stage.widget.home]
MusicStageWidget-release.apk [com.dell.stage.widget.music]
NewsStageWidget-release.apk [com.dell.stage.widget.news]
PicturesStageWidget-release.apk [com.dell.stage.widget.pictures]
RadioStageWidget-release.apk [com.dell.stage.widget.radio]
SocialStageWidget-release.apk [com.dell.stage.widget.social]
StageLauncher-release.apk [com.dell.launcher]
VideoStageWidget-release.apk [com.dell.stage.widget.video]
WebStageWidget-release.apk [com.dell.stage.widget.web]
Non system apps:
CarDock.apk [com.google.android.carhome]
DRMPlayer.apk [com.arcsoft.drmplayer]
swype.apk [com.swype.android.inputmethod]
It's time consuming to go through and delete the unwanted stuff using Root Uninstaller, but I believe it to be time well spent if only to provide a bit more space on the internal MicroSD. Perhaps someone should write an automated script that will allow the user to delete the APKs in the "Safe To Remove" section of the post?
Removing things like Stage UI and the bundleware should be left out of such a script, since every user is different.
The bundleware is more or less safe to remove, just as much they're usually older versions of what's available on market, you'd still need to update and would end up with 2 copies on your system. The current version at /data/app and the original older version at /system/app
Root explorer has a mass select button btw if you use that, I believe it also works for deleting but I'm not 100% sure. Only thing to be careful of is uninstalling a system critical file, though you can just as easily manually uninstall one by accident.
There's actually more stuff that can safely be removed, only the rom is the only way to get it as you cant download it normally. (eg swype and drmplayer, though swype beta is available as a slightly different thing)
I wasn't questioning the safety of removing the bundleware, since I removed most of it along with all the engineering stuff and the Stage UI yesterday. All I was saying is that in a script those things shouldn't be included because of individual user preferences.
Nice work bruv!!:d
Added a couple more apps into list, turns out everything in com.oem.* is not required (if you ignore being able to use OTA updates, but as noone uses them to begin with)
Dont remove dellsettingsprovider.apk though, it's needed for dock mode with an official dock.
out of curiosity did you guys figure out what are all those com.engineeringmode.* apps? to be honest, removing something like gsensor.apk sounds scary
If you force them to run by making a custom activity shortcut, they mostly do exactly what they sound like.
Majority of them lets you test a single function (ie what they're named after). They're all essentinally debug utils. Dell might have them included because it makes fixing returned devices easier (ie warrentied devices)
Or just as likely they left them in because they're lazy, the entire build system for the s5 is a bit of a mess. They fixed it for building venue and streak 7 roms but they never bothered to go back and fix it.
Though all these apps are also included in stock venue and s7 roms
So before removing these apps do a nandroid backup. Will the nandroid save these files? Also can u do this with Gingerstreak?
Sent from the SuperStreak! ;-)
Of course nandroid saves it, unless you intentionally dont do a nandroid of system\, which defeats the point of nandroid.
SD2.3 doesnt include these nor does SD2.0
TheManii said:
Of course nandroid saves it, unless you intentionally dont do a nandroid of system\, which defeats the point of nandroid.
SD2.3 doesnt include these nor does SD2.0
Click to expand...
Click to collapse
SD 2.3 doesn't save which ones?
Sent from the SuperStreak! ;-)
I mean SD2.3 doesnt include anything that needs to be removed
TheManii said:
I mean SD2.3 doesnt include anything that needs to be removed
Click to expand...
Click to collapse
Oh ok
Sent from the SuperStreak! ;-)
so I decided to remove completely all those apps; so far so good and I'll surely like the slightly higher amount of available RAM
I have found something odd though (albeit almost irrelevant). after uninstalling (via titanium backup) all these apps I have lost one of the two wallpapers galllery (the one with a lot of pictures). Unfortunately I cannot tell which is the app responsible for this as I uninstalled them in bulk (I am not even 100% sure the two facts are related as more tweaking was going on and I discovered the issue only hours later).
well as I stated before it's not what you call a deal breaker, who uses stock wallpapers anyway but you'd better be advised than sorry!
you likely removed something in com.android.*
wallpapers are set with either:
gallery app
stageui's set
default android live wallpapers
whatever others you downloaded
mmh unlikely mate. I'm not betting my house on this but I'm quite confident I deleted only the apps that are in this very OP. the LWP and the 2-images-only galleries anyway are still there, i think it's something related to stage.
crashDebug said:
mmh unlikely mate. I'm not betting my house on this but I'm quite confident I deleted only the apps that are in this very OP. the LWP and the 2-images-only galleries anyway are still there, i think it's something related to stage.
Click to expand...
Click to collapse
It is the stage UI. I LOVE the "beach & sea" one and lost it after removing stage ui
Sent from my Dell Streak using Tapatalk
Updated list, there are a couple com.oem apps that are boarderline cases of being safe to remove, as they break functionality, but which depends on if that's a good or bad thing.
Case in point: the ota tools can be safely removed, but obviously break ota updates. If you're on a custom rom this wouldnt work anyway as custom roms dont support ota updates.
Experience uninstalling these apps, based on 2.2.2 351 00:
Deleted the package apps = could not uninstall using Settings - App. Tried restarting phone as possible solution but got stuck on boot image.
Does cabledetection have anything to do with attaching with usb to pc? Gone, cannot use Streak as USB storage device in pc.
Note that many other appd can be removed too. Check Cyanogen barebones for detailed descriptions.
Question: Why is it impossible to "restore" apps I remove? Titanium simply does not work. At least with such far out ventures as removing, by accident though, and I had made a backup of everything, so it shoulf have been possible, the Accounts and Sync Settings apk.
Analogously - copying and pasting in RootExplorer does nothing at all, as is the case with trying to reinstall removed apps.
Anyways, lots of stuff can be removed. I even removed Market, to save resources, since I never download any apps from there anway.
You would be better off doing a nandroid backup before you muck around with the files. That way if something DOES happen you can go back to the original configuration. As to Titanium Backup, various versions of the app have had problems with restoring apps, corrupting not only the app, but the app's data as well. For backup purposes, Titanium Backup is not recommended. Nandroid instead.

Removing all Google related apps/services?

Whats up everyone? Have a few questions here. I am trying to make myself a "Secure" ROM. Meaning I want a ROM that has no Google related services,apps, browsers, etc. From that point I will sideload all apps I want and also run Orbot with transparent proxying for all apps that I install. Also running Orweb browser. I have now my old Galaxy Nexus which I have been using. Basically I just installed a custom ROM without any GAPPS package and run the same apps I listed earlier. Just want a bigger screen and more power though. Anyone have any idea what all would need to be removed from the base ROM that Beanstown put out to completely NOT have any Google related things ?

Removing apps that are in priv-app

After rooting this phone, trying to remove the bloatware that comes on the phone was not such a easy task at first, Its still giving me issues, I am using solid explorer and was able to delete stuff in the priv-app section on the phone things that every other file manager and what not would not let me do even system app remover wouldn't remove things in that section, but I was finally able to delete the bloatware from metro crap lookout, metroui, metro whatever, all of the lg home launchers, all gone now, The problem now is that I want to remove the google packages like google music, google video, google almost anything cause I do not use them at all, but when I delete it, it comes back on it no matter what I do, Also the lg stuff I cannot remove I figured it was part of the AOSP like the phone which I tried replacing with a different app but gives me an error when using it so I had to restore my old one back and deal with the lg stuff for now cause I'm no expert on removing and replacing certain elements in the AOSP. I'd rather figure out how to cook up a rom but I'm not sure I can do that on this phone quite yet, I have a kdz but not sure what I can do with it in kitchen, I believe I need a system.img file for that but I'm not entirely sure but I do want to figure it out, anyone point out any pointers out to me on anything, such as cooking up a rom or porting a rom, and if I can remove the google packages I listed above

Categories

Resources