[OP8] [No Root] ADB Debloat Batch

Furious Froyo

Member
May 29, 2020
18
6
0
If you're anything like me, you want a clean device with none of the bloat. Unfortunately, the OP8 does come with some bloat installed, but I've made it a bit easier to clean up with a batch file to be run in PowerShell. Keep in mind, this was made to fit my preference, so you may want to edit the file before running it.

---

Uninstalled/Disabled
Code:
ANT HAL Service / com.dis.ant.server
ARCore / com.google.ar.core
Android Accessibility Suite / com.google.android.marvin.talkback
Android Auto / com.google.android.projection.gearhead
Assistant / com.google.android.apps.googleassistant
Card Package / com.oneplus.card
Chrome / com.android.chrome
Community / net.oneplus.forums
Default Print Service / com.android.bips
Device Health Services / com.google.android.apps.turbo
Device Personalization Services / com.google.android.as
Digital Wellbeing / com.google.android.apps.wellbeing
Drive / com.google.android.apps.docs
Duo / com.google.android.apps.yachyon
Facebook App Installer / com.facebook.system
Facebook App Manager / com.facebook.appmanager
Facebook Services / com.facebook.services
File Manager / com.oneplus.filemanager
Game Space / com.oneplus.gamespace
Google Pay / com.google.android.apps.walletnfcrel
Google Play Movies / com.google.android.videos
Google Text-To-Speech / com.google.android.tts
Instagram / com.instagram.android
Messenger / com.facebook.orca
Notes / com.oneplus.note
OK Google Enrollment / com.android.hotwordenrollment.okgoogle
OnePlus Account / com.oneplus.account
OnePlus Hydrogen Icon Pack / com.oneplus.iconpack.oneplush2
OnePlus Oxygen Icon Pack / com.oneplus.iconpack.onepluso2
OnePlus Switch / com.oneplus.backuprestore
OnePlus Widget / net.oneplus.widget
Qualcomm Voice Assistant / com.quicinc.voice.activation
Recorder / com.oneplus.soundrecorder
Screen Recorder / com.oneplus.screenrecord
Shot on OnePlus / cn.oneplus.photos
T-Mobile Play / com.tmobile.m1
Tags / com.google.android.tag
Weather / net.oneplus.weather
X Google Enrollment / com.android.hotwordenrollment.xgoogle
YouTube / com.google.android.youtube
YouTube Music / com.google.android.apps.youtube.music
Zen Mode / com.oneplus.brickmode
---

How-To
- Your device must have USB debugging enabled.
- You need to open a PowerShell window in your ADB Platform Tools folder. To do so, just hold shift, right click in the folder (not on a file), and select "Open PowerShell window here".
- Once PowerShell is launched, type cmd to prepare for the command.
- Next, type adb devices to verify your device is connected.
- From there, drag and drop the .bat file into the PowerShell window and press enter. It should run automatically.

---

Again, this is my personal preference. If you don't want to uninstall/disable any of the above packages, you need to edit the batch file and remove the line for doing so. In addition, some OnePlus packages have outside light/dark packages for theming, so verify whether you want those also.

I'm new to scripting, and as easy as it may seem, this took me hours to get right. I will do my best to support/help you, but I cannot be held responsible for what you may do to your device. Luckily, a hard reset will bring the device back to stock.

---

oneplus_debloat.bat
 
Last edited:
  • Like
Reactions: Scott

Oswald Boelcke

Forum Moderator / Recognized Translator
Staff member
Apr 13, 2016
10,239
14,086
243
64
Preserving Air Supremacy over XDA
en.wikipedia.org

Furious Froyo

Member
May 29, 2020
18
6
0
Hello @Furious Froyo. The current link in OP (oneplus_debloat.bat) provides a HTTP 403 error (see attached screenshot).
If you provide me with a workable download link, I can add the file to your OP if you like.

Stay safe and stay healthy!
Regards
Oswald Boelcke
It's been corrected, again. I'm not sure why Zippy was forbidden for you, other than possibly banned in your country. Regardless, it's been moved to a working Google Drive account, and linked.
 
  • Like
Reactions: Oswald Boelcke

Oswald Boelcke

Forum Moderator / Recognized Translator
Staff member
Apr 13, 2016
10,239
14,086
243
64
Preserving Air Supremacy over XDA
en.wikipedia.org
It's been corrected, again. I'm not sure why Zippy was forbidden for you, other than possibly banned in your country. Regardless, it's been moved to a working Google Drive account, and linked.
Thanks very much. G-drive is working. And I'm living in Germany where websites are not banned (except child-porno, IS torturing and kill videos etc.). That can't be the reason. Zippy is also accepted as file host on XDA.
Actually, I'm personally more interested why the attachment that you obviously uploaded in the beginning provided a HTTP 404 to a user. This would be a bug on XDA, and I'd like to evaluate why. We want to avoid such errors due to bed user experiences.
Would you be willing to support us and to upload the file again to XDA? Let's see if we get again a HTTP 404.

I really appreciate your cooperation.
Regards
Oswald Boelcke
 

Furious Froyo

Member
May 29, 2020
18
6
0
Thanks very much. G-drive is working. And I'm living in Germany where websites are not banned (except child-porno, IS torturing and kill videos etc.). That can't be the reason. Zippy is also accepted as file host on XDA.
Actually, I'm personally more interested why the attachment that you obviously uploaded in the beginning provided a HTTP 404 to a user. This would be a bug on XDA, and I'd like to evaluate why. We want to avoid such errors due to bed user experiences.
Would you be willing to support us and to upload the file again to XDA? Let's see if we get again a HTTP 404.

I really appreciate your cooperation.
Regards
Oswald Boelcke
Unfortunately, there's still a 404 error.
 
  • Like
Reactions: Oswald Boelcke

Cyber.Cat

Senior Member
May 24, 2020
137
183
63
appcontrol.neocities.org
Hi guys,
I recommend my new applications manager and debloat tool for android - ADB AppControl.
With it you will forget about the command line. Disable and remove bloatware with an easy-to-use graphical interface. Save disabled apps to a preset and share with others users. Download and install applications. As well as many other cool features, including a convenient console.
scr1.jpg
Try it, it is very easy to work with the program.
I created a preset for ADB AppControl from the list of apps in this topic and you can apply it easily.
You can choose which applications to disable when you load it into the program. If you disable something wrong, you can easily enable it again.
 

Attachments

buyukbang

Member
Sep 17, 2008
12
0
21
Very good app. Thanks

Hi guys,
I recommend my new applications manager and debloat tool for android - ADB AppControl.
With it you will forget about the command line. Disable and remove bloatware with an easy-to-use graphical interface. Save disabled apps to a preset and share with others users. Download and install applications. As well as many other cool features, including a convenient console.
View attachment 5094897
Try it, it is very easy to work with the program.
I created a preset for ADB AppControl from the list of apps in this topic and you can apply it easily.
You can choose which applications to disable when you load it into the program. If you disable something wrong, you can easily enable it again.
 

Bewildered Wolf

Recognized Contributor
Sep 25, 2012
3,230
2,242
253
NEW DELHI
www.youtube.com
Hi guys,
I recommend my new applications manager and debloat tool for android - ADB AppControl.
With it you will forget about the command line. Disable and remove bloatware with an easy-to-use graphical interface. Save disabled apps to a preset and share with others users. Download and install applications. As well as many other cool features, including a convenient console.
View attachment 5094897
Try it, it is very easy to work with the program.
I created a preset for ADB AppControl from the list of apps in this topic and you can apply it easily.
You can choose which applications to disable when you load it into the program. If you disable something wrong, you can easily enable it again.
Tried on 8t. Didnt work. Console Logs:

[Error]:Cannot upload settings to device

shell pm uninstall -k --user 0 com.google.android.apps.youtube.music

shell pm uninstall -k com.google.android.apps.youtube.music

[Error]:failed to uninstall:com.google.android.apps.youtube.music:?

shell pm uninstall -k --user 0 com.google.android.youtube

shell pm uninstall -k com.google.android.youtube

[Error]:failed to uninstall:com.google.android.youtube:?
 
Dec 13, 2020
6
0
1
So what Sprint apps are safe to remove? Mine isn't eligable for bootloader unlocking currently and I don't know if you need any apps like Mobile Installer to qualify for that somehow.