Debloating your phone by uninstalling bloatware via the adb shell


Recommended Posts

Recently came across this method on XDA. It allows you to uninstall bloatware on your phone via adb all the while not being root. As an example, you know that stupid NFL app that comes preinstalled that they won't let you remove? Sure you could disable it but the next time it updates it turns itself back on.

 

So yesterday I debloated my LG v20 via the ADB shell. Looked online for some stuff I could removed and I removed a lot with no side effects. Stuff like LG sync, LG bridge, Smart cleanup the default email and messing app to name a few.

 

After debloating, I didn't use the phone. I wanted to see what the standby drain was. So how did it turn out? Well I think the photo speaks for itself.

 

29391241478_7b8cd3b8b0_c.jpg

 

After taking the photo and sending it to someone the battery dropped to 99%. Within those 3 hours, 2 spammers did ring my phone that I answered and hung up on. Previous my phone after it would drop from 100% would drop faster. So I may have a calibration issue or a bad battery (which is cool because it's replaceable) .. all that being said it's never lasted 3.1 hours at 100%, so that's a definite improvement.

 

https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/

 

If you need to find the package name you can use the app called application inspector. 

 

The command on the adb shell is

 

pm uninstall -k --user 0 <name of package>

Obviously, USE AT YOUR OWN RISK!!!!

  On 07/07/2018 at 18:57, Circaflex said:

What's the SOT during that screenshot?

Expand  

about 20 seconds to take the phone about about 15 to send it. So under 1 min. phone must have been at the very bottom of 100%

SNAG-0011.png

 

This? then the command would be

adb pm uninstall -k --user 0 <name of package>

from Command Prompt in that directory, and yeah I guess you would need to know what apps the packages are ? 

With 3 hours of no screen usage, it shouldnt be a surprise to see your battery at 100% still. I highly doubt that removing some of the OEM apps had anything to do with "extending" it. Great guide, but I wouldnt get my hopes up that this solves a battery issue or improves it really all that much.

  On 07/07/2018 at 19:03, Steven P. said:

SNAG-0011.png

 

This? then the command would be

adb pm uninstall -k --user 0 <name of package>”

from Command Prompt in that directory, and yeah I guess you would need to know what apps the packages are ? 

Expand  

You also need to have the proper device drivers installed, in order for adb to see the device.

 

  Quote

Execute the “pm list packages | grep '<OEM/Carrier/App Name>'” command (without quotes) to find package names.

Expand  

 

  On 07/07/2018 at 19:03, Circaflex said:

With 3 hours of no screen usage, it shouldnt be a surprise to see your battery at 100% still. I highly doubt that removing some of the OEM apps had anything to do with "extending" it. Great guide, but I wouldnt get my hopes up that this solves a battery issue or improves it really all that much.

You also need to have the proper device drivers installed, in order for adb to see the device.

Expand  
3

While not the same phone, other have seen screen off battery drain improvements by debloating

 

 

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • No, this is what Powertoys Run is aiming to be but is still only about a quarter of the way there. Tho with Raycast having a thriving third-party extensions store, don't think Powertoys Run will ever be able to catch up.
    • If you look at all RAID implementations that exist, you're going to find exceptions. However, all the modern consumer varieties tend to have some things in common (by default). I'll stick to describing those. When you add a disk to a RAID array, metadata is stored at the end of the disk. It records the array the disk is part of, which other disks are in the array, etc. This is called the RAID superblock. If you create a RAID 1 array, your operating system will see them all as a single disk that is very slightly smaller than a single disk (due to the superblock). Everything you write to the RAID disk gets written identically to each of its member disks by the storage controller. Technically, disks are read/written in blocks (each block is multiple sectors in size), but this is all transparent to the user. Every file you create or change or delete is created/changed/deleted on every member disk simultaneously. This is true whether you have 2 disks in the array or more than 2.  If one disk completely fails, you can still operate just fine off the remaining disk(s) (but see the caution below). If you remove one disk and attach it to another PC, it should work fine. The partition information and everything is all at the front of the disk, just as expected. The superblock will just appear as some extra junk at the very end of the disk, outside any partition. In some scenarios, where it is recognized as a RAID member disk from another PC, there might be an extra step before it will let you use it, but it's all very doable. Caution:  Blocks are read from the disks in a staggered fashion. For example, with 2 disks, all the odd blocks are read from one disk and all the even blocks are read from the other. By working together like this, read speeds can be practically doubled. But this comes with a huge drawback. If a disk doesn't fail completely, but instead develops bad sectors, you may not realize it. The bad sectors may happen to be in blocks that are never read on that disk. In some cases, people have had bad sectors develop on one disk, then had the other disk fail, and only then realized that the remaining disk has bad sectors and corrupt data. Every backup method has its pros and cons. Never trust just RAID, or just an external HDD, or just the cloud. Use multiple methods to backup important data.
    • Evidence that it affects "most" people negatively? Based on what? The fact that their are millions of users in fact show me the opposite, that "most" are quite happy.
  • Recent Achievements

    • Conversation Starter
      Kavin25 earned a badge
      Conversation Starter
    • One Month Later
      Leonard grant earned a badge
      One Month Later
    • Week One Done
      pcdoctorsnet earned a badge
      Week One Done
    • Rising Star
      Phillip0web went up a rank
      Rising Star
    • One Month Later
      Epaminombas earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      537
    2. 2
      ATLien_0
      205
    3. 3
      +FloatingFatMan
      167
    4. 4
      Michael Scrip
      151
    5. 5
      Som
      127
  • Tell a friend

    Love Neowin? Tell a friend!