Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Proxin
Old
(Last edited by Proxin; 8th August 2012 at 12:15 AM.)
#1  
Proxin's Avatar
Senior Member - OP
Thanks Meter 5
Posts: 457
Join Date: Feb 2009
Location: Pallet Town
Prompt Speed improvements

Hey! tl;dr? Click here to go directly to the fast improvements post and disable some unwanted services.

Still want more fun disabling services? Read the second post.


Hi all,
I improved the speed of my G2 recently and felt that the community might appreciate this as well. It's probably not the "best guide" for everybody, but this is what I've done and it's worked nicely for me so far.

I recently got irritated at my phone being occasionally sluggish. So, when it was sluggish one time, I went to Manage applications->Running Applications, and saw that Facebook decided it wanted to start itself up in the background.

Now, I'm as big a fan as the next guy for having multi-tasking, but randomly starting an app in the background without my consent is not what I consider to be useful or resource-friendly. I decided to "freeze" the app using SD Maid (you can do this with Titanium Backup as well). Facebook is now in a frozen state so it will not launch itself at all. Ha!

What do I do about having no Facebook now? Well, there happens to be a great app on the Market called Fast for Facebook. This is quite an improvement over the sluggish and buggy Facebook app. I installed that and am having a blast with it so far.

I wanted to check for other apps that were dawdling in the background. So I looked again in Running Applications and found that Maps decided it wants to be running too. I went to the settings for the Maps application, and turned off Location reporting. Why would I want an app sucking my resources dry to alert the world where I am? I'm not that much of a socialite or stalker prey. I also turned off Automatic check-ins.

Previously, I'd gone through a few other apps and turned off automatic sync. Things like DropSync (to sync Dropbox), Tumblr, Google+, and Twitter are not necessary for me to have reviving themselves in the background. I should be the authoritarian ruler of all of the apps over my phone- no freedom here to run around as you please.

I set up a couple apps to run at odd hours of the night. I only need to have photos and documents synced probably once a day, so I set up Tasker to do it automatically while the phone is charging and connected to Wifi at around 4am. I've set up Titanium Backup to do backups something like every Tuesday night, Friday night, and Sunday night, each at like 4am as well; and upload those backups to Box. I want to use my phone fast when I use it during the day, and at night time it can take its time with these lesser-priority tasks while I'm asleep.

Email/Gmail and Messages still have notifications and syncing, as well as the occasional Pulse RSS feed notification. All else seems to be shutting up though, which is good. What I would really like to do is have Market update its apps automatically at like 4am, so it won't spend resources checking for updates in the background. I can't find how to do that though.

One app that really gets under my skin is Amazon Appstore. This guy runs in the background too- I've turned off its notifications but I'm pretty sure it'll still sit there sapping my resources. This one's a toughie because I want to uninstall or freeze it, but I want to still be able to get good free apps from it once a day. There have been some really good apps and some really bad ones, but the good ones are worth it to me.

I might add in more things to disable. It's been faster so far, so I'll see how it goes over a couple days. One last thing I did was install SetCPU. I use that now instead of CyanogenMod 7's built-in CPU stuff. I don't know if it's a placebo or not, but I seemed to notice a boost in performance from it (not instantly, but in general I see less lag).

Hope this helps someone, best of luck with all of your phones.

-Proxin
The Following User Says Thank You to Proxin For This Useful Post: [ Click to Expand ]
 
demkantor
Old
#2  
demkantor's Avatar
Senior Member
Thanks Meter 978
Posts: 3,124
Join Date: Nov 2011
Location: mpls
use watchdog to spy on what apps are actually running and using cpu in the background, lots of apps can be open in the background and not using anything cpuwise
 
Proxin
Old
#3  
Proxin's Avatar
Senior Member - OP
Thanks Meter 5
Posts: 457
Join Date: Feb 2009
Location: Pallet Town
Quote:
Originally Posted by demkantor View Post
use watchdog to spy on what apps are actually running and using cpu in the background, lots of apps can be open in the background and not using anything cpuwise
Watchdog is a great idea too, I forgot to mention that.
If anyone else has recommendations they are all welcome!
 
evilcuber
Old
#4  
evilcuber's Avatar
Senior Member
Thanks Meter 667
Posts: 1,117
Join Date: Aug 2010
Location: Toronto

 
DONATE TO ME
Quote:
Originally Posted by Proxin View Post
Watchdog is a great idea too, I forgot to mention that.
If anyone else has recommendations they are all welcome!
For speed improvements, i usually use titanum backup to remove alot of useless apps i dont use (which frees up alot of ram). then i supercharge my phone and set it to agressive. And i also change up the build prop.
____________________________________
Quote:
TABLET: ASUS EEE Pad Transformer Prime-(ICS)(Rooted and Unlocked)
ROM: Virtuous Prime S .15 v2
PHONE: HTC Sensation 4G (Bell) (Unlocked)-Rooted
ROM: ViperS 1.40 (Full Sense 4.1)
Kernel: Bricked Kernel
------><------
PHONE: HTC Elf (Rogers)
ROM: Naong Mobile Sense UI
Overclock: 201mhz---->247mhz
Other Stuff: iPad 2 (Jailbroken)
Sold: HTC Desire Z
My ROM: QuadraSense 1.2

Donate And Help Me Save Up For A Desire Z
Quote:
The Following User Says Thank You to evilcuber For This Useful Post: [ Click to Expand ]
 
Proxin
Old
(Last edited by Proxin; 8th August 2012 at 12:19 AM.) Reason: Error in the script; Mqtt should've been mqtt. Fixed it.
#5  
Proxin's Avatar
Senior Member - OP
Thanks Meter 5
Posts: 457
Join Date: Feb 2009
Location: Pallet Town
I need to post my additions.
I realized that by disabling Facebook, I lost my contacts that I had from there. That's no good. So I re-enabled it.
Now, Facebook has a few select services it likes to let run in the background. One specific one is MediaUploadService. This runs even when you are Not uploading anything, which is ridiculous because it hogs your resources.
However, if you disable this service completely, you won't be able to upload any photos to Facebook from your phone.

SO, I set up a script to disable all of Facebook's services like this at once, and I use the app called Llama to execute this script every time Facebook exits. I set it up to call my enable script once Facebook is started, then 5 minutes after Facebook closes it disables all of the Facebook services.

Here is what I used...
Enable Facebook services:
Code:
su -c 'pm enable com.facebook.katana/com.facebook.katana.service.MediaUploadService; pm enable com.facebook.katana/com.facebook.katana.service.FacebookService; pm enable com.facebook.katana/com.facebook.katana.service.BackgroundDetectionService; pm enable com.facebook.katana/com.facebook.orca.push.mqtt.MqttPushService; '
Disable Facebook services:
Code:
su -c 'pm disable com.facebook.katana/com.facebook.katana.service.MediaUploadService; pm disable com.facebook.katana/com.facebook.katana.service.FacebookService; pm disable com.facebook.katana/com.facebook.katana.service.BackgroundDetectionService; pm disable com.facebook.katana/com.facebook.orca.push.mqtt.MqttPushService; '
With this new ability to disable services, I took a look at Amazon AppStore's annoying service, and disabled it using this script with Llama like I did with Facebook:
Amazon Service Disable script
Code:
su -c 'pm disable com.amazon.venezia/com.amazon.venezia.service.UpdateService'
Quote:
Originally Posted by Proxin- note: old code, omitted
Next, I noticed SwypeConnect was keeping itself active, so I disabled it too (Swype never gets updates anyway, so I didn't see anything bad with doing this):
Code:
pm disable com.swype.android.inputmethod/com.swype.android.connect.ConnectClient
There's an app on the Market called StartupManager, I used that to kill off extra startup services that were not necessary. Things like Youtube, MyTracks and Maps were starting up. My view is, why do these things start when I don't start them myself? I stopped the services and have seen some pretty good responsiveness so far.
The Following User Says Thank You to Proxin For This Useful Post: [ Click to Expand ]
 
redspeed
Old
#6  
Senior Member
Thanks Meter 21
Posts: 230
Join Date: Jan 2011
Go to the market and search for an app called gemini manager. It needs root but you can disable autostart for all apps with it.

Also get LBE privacy guard- it will block apps from using gps/data which can also increase battery life
The Following User Says Thank You to redspeed For This Useful Post: [ Click to Expand ]
 
Proxin
Old
#7  
Proxin's Avatar
Senior Member - OP
Thanks Meter 5
Posts: 457
Join Date: Feb 2009
Location: Pallet Town
Quote:
Originally Posted by redspeed View Post
Go to the market and search for an app called gemini manager. It needs root but you can disable autostart for all apps with it.

Also get LBE privacy guard- it will block apps from using gps/data which can also increase battery life
Great, I'll look into those too- thanks
 
file2mail
Old
(Last edited by file2mail; 19th June 2012 at 12:41 PM.)
#8  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Dec 2010
@proxin:
Amazing post! how do you find the path for each of those components inside a package?

I use the same method with Tasker (instead of llama). Perform a task (run shell command) on the exit of a App profile

Also, the .Mqtt. should be all lowercase (figured out after that service would not disable), like this:
com.facebook.katana/com.facebook.orca.push.mqtt.MqttPushService
 
Proxin
Old
(Last edited by Proxin; 19th June 2012 at 05:11 PM.)
#9  
Proxin's Avatar
Senior Member - OP
Thanks Meter 5
Posts: 457
Join Date: Feb 2009
Location: Pallet Town
Quote:
Originally Posted by file2mail View Post
@proxin:
Amazing post! how do you find the path for each of those components inside a package?

I use the same method with Tasker (instead of llama). Perform a task (run shell command) on the exit of a App profile

Also, the .Mqtt. should be all lowercase (figured out after that service would not disable), like this:
com.facebook.katana/com.facebook.orca.push.mqtt.MqttPushService
Thank you, hope it has helped! I found them by looking up their Running service name on Google, and seeing people's logcat errors on there elaborated them for me. So I'd try a search for "com.facebook.katana*MqttPushService" and Google would direct me to the proper one.

You're spot-on with the Mqtt needing to be lowercase, I found the same issue on mine and got pissed off when I saw that the Mqtt service was still running forgot to change the post to reflect it though. Thanks for the notice
Seems like the best method for using your phone properly is to do like we're doing, otherwise applications with poor choice in how they handle resources, will clutter up the phone.

Btw, I tried Gemini App Manager and it works well for disabling autostart in apps. LBE Privacy Guard is intense in how much it locks down your phone, but that's locked down it's even a bit too much for me haha. It's a great app and will work for many people though.
 
Killer1desireZ
Old
#10  
Member
Thanks Meter 25
Posts: 98
Join Date: Jun 2012
Location: Herentals

 
DONATE TO ME
I've noticed maps running in the background many times. I didnt know you're able to switch this off, thanks for the info!

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...