Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,780,552 Members 47,979 Now Online
XDA Developers Android and Mobile Development Forum

[DIY-TUT/HOW-TO] Debloat and Save Battery

Tip us?
 
The-Droidster
Old
(Last edited by The-Droidster; 5th August 2012 at 11:48 AM.)
#1  
The-Droidster's Avatar
Senior Member - OP
Thanks Meter 803
Posts: 1,098
Join Date: May 2012
Location: XDA 24 x 7
Prompt [DIY-TUT/HOW-TO] Debloat and Save Battery

Note: This is not a ready made script that will do things for you. If you are looking for a script/tool to debloat your phone head here. This is a very basic guide, many of you might be aware how to do it already. This is for the absolute newbies like me who like learn by doing it themselves. So lets start!

First, What is Debloat? What are the benefits?

Ans: A new device (except the nexus family) always comes pre-loaded with a lot of manufacturer apps. Most of the times these apps are utterly useless to the end-user considering that there are better alternatives available on the play store. Such apps constitute the phone bloatware. Often these apps are part of the system partition on your phone ie they are system apps and cannot be uninstalled or removed like normal apps. The process of removing these apps is called as debloating!. Savvy?
Fine, Moving ahead. Whats more problematic about these apps is that many of these apps load at system start-up and keep running in the background using precious cpu and other resources apart from eating up memory. This often leads to poor performance and battery life. So once you get rid of these apps you will start experiencing better performance AND AN AWESOME BATTERY LIFE(personal experience)

Wow, I want to get rid of those stubborn apps...show me how to do it.
Sure

PRE-REQUISITES:
1. You should be rooted
2. Your phone should have the ClockWorkMod (CWM) Recovery installed.
3. You should have adb up and running
4. Turn on usb debugging.


OPTIONAL:
1. You may want to create a Nandroid Backup through CWM before doing any of the steps listed below.
2. Install abdb insecure by chainfire to run adb commands as root(insecure boot image). This will allow you to boot in to recovery through adb. Once installed the app should look like this


The PROCESS:

1. Ensure that the pre-requisites are met.

2. Connect the phone to the computer through the USB cable

3. To check whether you have properly installed adb do this
Open a command prompt window (start>run>cmd) and type this
Code:
adb devices
If adb is set up and running it should list your device in the list of attached devices some thing like this
Code:
 List of devices attached
     42801c7449ff097 device
4. Now use the following command to make a backup copy of all the system apps on your phone
Code:
 adb pull /system/apps C:\* destination of your choice *
This will ensure that you can install back any app that you remove using this process and also it serves as a reference to the list of system apps. Look at the apps and make a list of apps that you want to get rid off. This (thanx to winwiz for compiling it)might help you to decide which one's are important and which are not, which one's can safely be gotten rid of and which should not be touched. Play carefully. Here is a list of apps that I have safely removed with great benefits to boot-up time, battery and overall performance.
Quote:
Dlna.apk

Dlna.odex

BuddiesNow.apk

BuddiesNow.odex

Days.apk

Days.odex

Email.apk

Email.odex

EmailWidget.apk

EmailWidget.odex

GameHub.apk

KiesAir.apk

kieswifi.apk

kieswifi.odex

Kobo.apk

MusicHub_N1.apk

MusicHub_U1.apk

PressReader.apk

ReadersHub.apk

ReadersHub.odex

SamsungApps.apk

SamsungAppsUNA3.apk

SamsungIM.apk

SamsungWidget_News.apk

SamsungWidget_News.odex

SamsungWidget_StockClock.apk

SamsungWidget_StockClock.odex

SevenEngine.apk

SnsAccountFb.apk

SnsAccountFb.odex

SnsAccountLi.odex

SnsAccountTw.odex

SnsAccountLi.apk

SnsAccountTw.apk

SnsDisclaimer.apk

SnsDisclaimer.odex

SnsImageCache.apk

SnsImageCache.odex

SnsProvider.apk

SnsProvider.odex

SocialHub.apk

SocialHub.odex

Zinio.apk
You may want to add/remove apps to/from this list.

5. Moving on, Once you have decided the apps to remove reboot into CWM recovery. Use this command to do that through adb.
Code:
adb reboot recovery
Note: You must have an insecure boot image for this to work (See point number 2 in optional points)
else
use any of the common methods to boot into recovery. Use key presses or CWM Manager or do whatever, just get in to that ******g recovery.

6. Next, Once you are into the recovery type this command in the command prompt
Code:
adb shell
This will get you into the linux shell on your android device so that you can use all the linux shell commands like in a regular linux shell

7. You must now see a # or $ at the prompt (doesn't make a difference) indicating that now you are into the linux shell. Type the following command in the prompt.
Code:
mount /system
This will load the system partition into memory so that you can play around with its contents.

8. Now to the most important step. Removing the apps. Use the following command in the prompt
Code:
rm /system/app/****.apk
or

Code:
rm /system/app/****.odex
Replace **** with the name of the apk or odex file that you want to remove.

Repeat the command for all the files that you want to get rid off.
Note: Remember to press enter after each command

9. Once you have finished removing all the bloatware just type
Code:
 exit
in the prompt. Thats it.
Reboot! (You may use
Code:
adb reboot
for that purpose).
You will now be greeted with a faster performing, responsive, battery conserving and most importantly a bloatware free phone.

10. Thank me if this helped and don't hesitate to ask questions.

As a supplementary note I would like to recommend this app [Requires Root]. Once installed use its corpse finder feature to eliminate all the left over files belonging to the bloatware apps that we just removed. It is as easy as Search and Clean. This will free up more space in your system partition.

Troubleshooting:
Q. I removed Kies Air using the method above but it is still present in the app drawer. What to do?

Ans: This happens if you have updated Kies Air through the play store.
Go to Settings>Applications>Manage Applications
Scroll down to Kies Air --> Select it ---> Uninstall updates
Reboot!. Thats it. Kies Air is gone for good.

A Very Important Note:
I haven't tried it on a Non-Rooted phone. But I think it should work as far as you have adb working and can boot into the recovery(Stock recovery in case of Non- Rooted phones) by some means you are good to go from step number 6.. Have a list of apps to be removed before hand, speeds up the process.

Battery Saving Tips:
Coming Soon.....!

You Might Wanna See This!
 
The Following 6 Users Say Thank You to The-Droidster For This Useful Post: [ Click to Expand ]
 
The-Droidster
Old
#2  
The-Droidster's Avatar
Senior Member - OP
Thanks Meter 803
Posts: 1,098
Join Date: May 2012
Location: XDA 24 x 7
RESERVED!!

You Might Wanna See This!
 
 
mj.vikram
Old
#3  
mj.vikram's Avatar
Recognized Contributor
Thanks Meter 2,401
Posts: 2,707
Join Date: Mar 2012
Location: XDA 24 X 7
Buddy we are already having automated tool for removing bloats ...

Don't say thanks, Press it ....
 
The-Droidster
Old
#4  
The-Droidster's Avatar
Senior Member - OP
Thanks Meter 803
Posts: 1,098
Join Date: May 2012
Location: XDA 24 x 7
Quote:
Originally Posted by mj.vikram View Post
Buddy we are already having automated tool for removing bloats ...
I'm aware of that buddy. I have even mentioned it in my post. As I said this method is for people who would like to understand whats happening behind the scenes...rather than just flashing a script package.

You Might Wanna See This!
 
 
mj.vikram
Old
(Last edited by mj.vikram; 5th August 2012 at 12:12 PM.)
#5  
mj.vikram's Avatar
Recognized Contributor
Thanks Meter 2,401
Posts: 2,707
Join Date: Mar 2012
Location: XDA 24 X 7
Quote:
Originally Posted by The-Droidster View Post
I'm aware of that buddy. I have even mentioned it in my post. As I said this method is for people who would like to understand whats happening behind the scenes...rather than just flashing a script package.
Thanks for taking time and writing this ....

Nice guide and just one more alternative for user's if you feel this is difficult process for you, using Root explorer or similar app's got to /system/apps/ and delete the required file's (as mentioned by The-Droidster in the above) and restart the mobile...

Don't say thanks, Press it ....
 
gitanshu
Old
#6  
gitanshu's Avatar
Senior Member
Thanks Meter 82
Posts: 583
Join Date: Mar 2012
Location: Delhi
What if I just go to my system folder through a root explorer and delete these files in /system/app and then reboot my phone? And then use that corpse finder?

ICS = I SEE ASS :P Lol
++## GALAXY R ##++
 
mj.vikram
Old
(Last edited by mj.vikram; 5th August 2012 at 12:17 PM.)
#7  
mj.vikram's Avatar
Recognized Contributor
Thanks Meter 2,401
Posts: 2,707
Join Date: Mar 2012
Location: XDA 24 X 7
Quote:
Originally Posted by gitanshu View Post
What if I just go to my system folder through a root explorer and delete these files in /system/app and then reboot my phone? And then use that corpse finder?
its same buddy, both are same but this for the people who want to learn how to use ADB they can use this because this very well explained ....

Don't say thanks, Press it ....
The Following User Says Thank You to mj.vikram For This Useful Post: [ Click to Expand ]
 
The-Droidster
Old
#8  
The-Droidster's Avatar
Senior Member - OP
Thanks Meter 803
Posts: 1,098
Join Date: May 2012
Location: XDA 24 x 7
Quote:
Originally Posted by gitanshu View Post
What if I just go to my system folder through a root explorer and delete these files in /system/app and then reboot my phone? And then use that corpse finder?

ICS = I SEE ASS :P Lol
++## GALAXY R ##++
I don't see any problem in doing that....but you may experience force closes if you do this when the system is online because the apps that you are removing are still running in the background. So it is better if you do it by mounting the system through recovery.

You Might Wanna See This!
 
The Following User Says Thank You to The-Droidster For This Useful Post: [ Click to Expand ]
 
xlm13x
Old
#9  
xlm13x's Avatar
Senior Member
Thanks Meter 683
Posts: 1,540
Join Date: Mar 2012
Location: XDA 24 X 7
if uu have rooted phone than u can remove bloat using titanium backup or rom toolbox pro :P
I HAVE ORD

ADB Tutorial.
Unbrick Galaxy-R





>>> PORN!!! <<<

Get 500 mb free on dropbox by signing up HERE, i will also get same
 


 
pudup
Old
#10  
pudup's Avatar
Senior Member
Thanks Meter 49
Posts: 363
Join Date: Feb 2012
Location: Bombay
Quote:
Originally Posted by xlm13x View Post
if uu have rooted phone than u can remove bloat using titanium backup or rom toolbox pro :P
Yep that's what I did. Plus you can make a backup before you destroy apps incase it causes instability.

Sent from my GT-I9103 using XDA

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Pushbullet Updated with SMS Send Ability

Pushbullet is one of thoseapplications that every Android lover should have installed on his or … more

[OTA] Nvidia Shield Tablet Receives its First Update

The Nvidia Shield Tabletis the latest toy from one of the largest desktop graphics … more

Quick Control Panel Updated, Adds Notification Support

As some of you may remember, earlier this year we spoke about Quick Control Panel by … more

Narrate Makes Note Taking Efficient and Beautiful

Technology has put life on the fast track. Whether its travelling to multiple places or … more