Question How to Remove Bloatware from 9RT (Unrooted, MT2111)? - OnePlus 9RT

I poked around the 9RT forums and couldn't see a reliable way to remove bloatware without root. Can anyone point me in the right direction?
I don't want to root anymore, as I need banking apps to work reliably.
Just need a reliable MSM tool or ADB/Fastboot method to remove things like Google Photos, Oneplus Theme Store, etc.
My phone is 9RT originally MT-2110 but was flashed by the vendor as a MT-2111 now (Oxygen OS).

pm uninstall command may be used to remove (well, hide) most of preinstalled system applications . May be used without root. You will need to find package name and specify it in command
Like that
pm uninstall -k --user 0 <package name>
i.e., it is ready to use command for adb shell
Code:
adb shell pm uninstall -k --user 0 com.unionpay.tsmservice

Related

Trying to skip first boot update on brand new Fire TV stick

So I've just got hold of a brand new 2nd gen TV stick for the purpose of rooting or debloating at least.
I know that the most recent firmware won't permit either.
So far I can't even get to the registration screen onwards to access any of the options such as enabling ADB.
I've tried unplugging the telephone line and killing the wifi at various times, it keeps giving me an error and going back to the choose a wifi network screen.
Can anyone offer any suggestions, is there a post I have missed somewhere about how to do this?
Thanks
I have found the following information:
allow: softwareupdates.amazon.com and updates.amazon.com
block: amzdigital-a.akamaihd.net and amzdigitaldownloads.edgesuite.net
I will test this later and report back if this works for others.
Maybe I'm talking to myself here but what I posted above works perfectly though isn't even necessary as an easier option exists!
New information I have no seen posted up anywhere..
**If you connect to the stick via the Amazon remote app on a phone/tablet as soon as you have connected to your wifi network, you can use it to skip forward past the update screen into the settings screen and enable ADB right away. Then hit it with the ADB uninstall commands quick to remove OTA.**
This means you can also skip over having to register it with an Amazon account
No router blocking or opendns faffing around required.
matt09 said:
Maybe I'm talking to myself here but what I posted above works perfectly though isn't even necessary as an easier option exists!
New information I have no seen posted up anywhere..
**If you connect to the stick via the Amazon remote app on a phone/tablet as soon as you have connected to your wifi network, you can use it to skip forward past the update screen into the settings screen and enable ADB right away. Then hit it with the ADB uninstall commands quick to remove OTA.**
This means you can also skip over having to register it with an Amazon account
No router blocking or opendns faffing around required.
Click to expand...
Click to collapse
Thank you will use your info.
What firmware are you on?
Whatever the stock OS is that ships with the stick at the moment. Will check later.
I tried doing this but in the setting under device the developer options are not there.
Thank you I was able to get past the update screen. Were you able to register after sending adb disable codes for ota? I am a newbie to this and never have used adb. I sideloaded 3rd party launcher with boottoappstarter and hijack launcher so now it skips the update and registration screen automatically but I cannot figure out how to stop that chiming noise that starts after splash screen prompting me to hit the play button to continue! The chime is driving me insane lol. Any ideas?
Exactly a year ago I thought that the update failure at the first launch of fire stick tv was impassable. No way to register an amazon account.
This thread allowed me to pull out my fire stick that was left in a drawer.
Thanks to matt09 for finding the tip of the Fire Tv app giving access to the settings and therefore access to the adb debugging.
Luckily my OS is 5.2.6.0
I followed in his footsteps and then I got a little lost.
Once the blockage of the last update is over, I discover the interface. It is limited since Home does not work. I have access to the settings and therefore to the program manager, but no native apps accept to be launched.
Doesn't Home work because I don't have an Amazon account? How to make native applications work?
Nevertheless, I continued the steps. That's what I did:
- BLOCK SOFTWARE UPDATES w/ ADB (lol is useless for me, but you never know...) :
For an unknown reason the command adb uninstall -k --user 0 com.**** must be replaced by adb shell pm uninstall -k --user 0 com.****
Code:
adb shell pm uninstall -k --user 0 com.amazon.device.software.ota
adb shell pm uninstall -k --user 0 com.amazon.device.software.ota.override
- SIDELOAD APPS w/ ADB :
LauncherHijackV402, smartyoutubetv_latest, org.mozilla.firefox_65.0-2015607433, MiXplorer, Nova Launcher-Prime-v6.0-beta13_build_59914, HALauncher-2.0.2.1, Package Names Viewer.ver.2.1.2091.build.18, AppStarter-v4.0, CAJA TV Downloader.ver.1.2.build. 3
- UNINSTALL BLOATWARES:
NOTE: FROM THIS STEP >> Fire Tv App DOES NOT FUNCTION: A BLOATWARE WILL NOT HAVE TO BE DESINSTALLE, BUT WHICH?]
In order to later identify the bloatware needed to run Fire tv app, I prepared this batch :
Code:
@title uninstall bloatware
@echo off
adb start-server
cls
color 0e
echo.
cls
echo --------------------------------------------------------------------------------------------------------------
echo uninstall bloatwares
echo --------------------------------------------------------------------------------------------------------------
pause >nul
echo [*-*] Waiting for Device.
adb wait-for-device
adb shell pm uninstall -k --user 0 com.amazon.ags.app
adb shell pm uninstall -k --user 0 com.amazon.android.marketplace
adb shell pm uninstall -k --user 0 com.amazon.bueller.music
adb shell pm uninstall -k --user 0 com.amazon.bueller.notification
adb shell pm uninstall -k --user 0 com.amazon.client.metrics
adb shell pm uninstall -k --user 0 com.amazon.client.metrics.api
adb shell pm uninstall -k --user 0 com.amazon.communication.discovery
adb shell pm uninstall -k --user 0 com.amazon.connectivitydiag
adb shell pm uninstall -k --user 0 com.amazon.device.crashmanager
adb shell pm uninstall -k --user 0 com.amazon.device.logmanager
adb shell pm uninstall -k --user 0 com.amazon.device.messaging
adb shell pm uninstall -k --user 0 com.amazon.device.sync
adb shell pm uninstall -k --user 0 com.amazon.dp.logger
adb shell pm uninstall -k --user 0 com.amazon.identity.auth.device.authorization
adb shell pm uninstall -k --user 0 com.amazon.imp
adb shell pm uninstall -k --user 0 com.amazon.kindle.cms
adb shell pm uninstall -k --user 0 com.amazon.kindle.devicecontrols
adb shell pm uninstall -k --user 0 com.amazon.kso.blackbird
adb shell pm uninstall -k --user 0 com.amazon.ods.kindleconnect
adb shell pm uninstall -k --user 0 com.amazon.platform.fdrw
adb shell pm uninstall -k --user 0 com.amazon.providers
adb shell pm uninstall -k --user 0 com.amazon.providers.contentsupport
adb shell pm uninstall -k --user 0 com.amazon.recess
adb shell pm uninstall -k --user 0 com.amazon.securitysyncclient
adb shell pm uninstall -k --user 0 com.amazon.sharingservice.android.client.proxy
adb shell pm uninstall -k --user 0 com.amazon.sync.provider.ipc
adb shell pm uninstall -k --user 0 com.amazon.sync.service
adb shell pm uninstall -k --user 0 com.amazon.tcomm
adb shell pm uninstall -k --user 0 com.amazon.tcomm.client
adb shell pm uninstall -k --user 0 com.amazon.tmm.tutorial
adb shell pm uninstall -k --user 0 com.amazon.tv.csapp
adb shell pm uninstall -k --user 0 com.amazon.tv.fw.metrics
adb shell pm uninstall -k --user 0 com.amazon.tv.legal.notices
adb shell pm uninstall -k --user 0 com.amazon.tv.oobe
adb shell pm uninstall -k --user 0 com.amazon.tv.support
adb shell pm uninstall -k --user 0 com.amazon.videoads.app
adb shell pm uninstall -k --user 0 com.amazon.visualonawv
adb shell pm uninstall -k --user 0 com.amazon.vizzini
adb shell pm uninstall -k --user 0 com.amazon.whisperlink.core.android
adb shell pm uninstall -k --user 0 com.amazon.whisperplay.contracts
adb shell pm uninstall -k --user 0 com.amazon.whisperplay.service.install
adb shell pm uninstall -k --user 0 com.android.managedprovisioning
echo Done! Press any key to continue.
pause >nul
exit
-ADJUST DISPLAY SIZE: There is no option on my old tv to change the aspect ration or unzoom etc... the gray arrows are cut off on the firestick and I couldn't adjust it. I found a solution with :
Code:
adb shell
wm overscan 48,28,48,48,28
reboot
- CUSTOM LAUNCHER w/ WIDGETS: bypass the system and the Amazon native launcher with the LauncherHijack trick:
Code:
adb install <path to LauncherHijack.apk>
adb shell settings put secure enabled_accessibility_services com.baronkiko.launcherhijack
- DEFINE NOVA AS LAUNCHER THANKS TO THE WIDGET :
Navigate to /system/bin
Copy "appwidget" >> Paste it in the root of your internal storage /sdcard/
Change the file extension to.sh
Code:
adb shell
sh /sdcard/appwidget.sh
exit
adb shell appwidget grantbind appwidget --package com.teslacoilsw.launcher --user 0
In spite of [ERROR] unsupported operation : null I went to the next step to give the widget function to my Nova Launcher
Click to expand...
Click to collapse
RESULT: Nova Laucher opens at boot time but it is almost useless for me because of lack of control tools (mouse or Fire Tv app). So I ask again the question: Doesn't all this work 100% because I don't have an Amazon account, or did I miss a step?
I hope matt09 will come back to specify the missing steps
This is old and dont use Nova Launcher on a TV. Use an android tv launcher.
Hi,
Glad the information was useful to people.
You seem to have uninstalled things that are needed for core functionality, but I'm not sure what..
You would be best reset the stick then start over but this time be more careful about what you remove after taking OTA down.
Oh yes, thanks @TimmyP, it's much better with Leanback launcher.
There's still something wrong : how to return to the native menu to restart fire stick, for example, or return to the development options menu, screensaver settings...?
Maybe a combination of keys allows it? Or a specific application? (Confirator does not allow it)
EDIT : Press and hold the Home button on your remote is the solution
@matt09 As @TimmyP noticed, it was Nova launcher that caused me problems. So yes I started again from scratch. I didn't go beyond the bloatware list proposed by Bropinski. Have you kept a record of yours?
Debloating is great but, as you mentionned it somewhere, phone can no longer see the stick and connect to it via the Fire TV app
By the way, the guilty is not :
Code:
adb uninstall -k --user 0 com. amazon. whisperlink. core. android
Hey guys, just got my 1080p stick.
I am interested to follow the steps of @matt09 and then sideload streaming apps like the Cinema APK and KODI.
Should I follow some specific steps after bypassing the update process?
Are there any mandatory commands for ADB?
And BTW, how do you send all these commands to the device? By connecting it on a PC with Windows, like with mobiles?
And what PC drivers do I need?
imho disabling updates is pointless, removing bloatware is pointless too since you never see it anyway, block update servers with router if you want
1. hijackLauncher v4
2. install HAL Launcher or (my recommendation) "Top TV Launcher 2."
3. install whatever apps you want (Kodi, emulators, Youtube modded)
4. install Stay Alive so it doesnt sleep (appears not to work but does)
No pc drivers, just enable debugging on the stick and connect wireless adb from pc. Install with "adb install whatever.apk"
I havent seen the Amazon Launcher since LauncherHijack v4. Looks beautiful too with Launcher with user selectable background.
PS: I can get back to Amazon settings within Top TV Launcher by selecting the icon on the bottom.
Oh and dont forget to select launcher by running hijack after step 2!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The down arrow in this launcher brings up popup for Amazon setting (middle icon)
TimmyP said:
imho disabling updates is pointless, removing bloatware is pointless too since you never see it anyway, block update servers with router if you want
1. hijackLauncher v4
2. install HAL Launcher or (my recommendation) "Top TV Launcher 2."
3. install whatever apps you want (Kodi, emulators, Youtube modded)
4. install Stay Alive so it doesnt sleep (appears not to work but does)
No pc drivers, just enable debugging on the stick and connect wireless adb from pc. Install with "adb install whatever.apk"
I havent seen the Amazon Launcher since LauncherHijack v4. Looks beautiful too with Launcher with user selectable background.
PS: I can get back to Amazon settings within Top TV Launcher by selecting the icon on the bottom.
Oh and dont forget to select launcher by running hijack after step 2!
The down arrow in this launcher brings up popup for Amazon setting (middle icon)
Click to expand...
Click to collapse
Points 1 and 2 are both for launchers?
And how do I install them?
Through the standard store?
Point 4. Why is needed?
How to enable debugging? Through the standard settings menu?
And why is needed to connect wireless adb?
Sent from my ONEPLUS A6003 using Tapatalk
Yes, when 1 and 2 are installed, just run the hijack app and pick Top TV (or whatever).
Debugging turned on in Fire TV settings.
4 is optional really, I just mention it because whenever your Fire stick sleeps, it resumes to the Amazon launcher and you have to press home or select the launcher in apps to get back. This keeps it on, stopping it from happening.
Wireless adb is far easier than Es file explorer. You could just use that with the LAN functionality to a local SMB share.
Downloaded the hi jacker, but it requires some Accessibility option to be turned on, but couldn't find anything related to that under Settings>accessibility
Any ideas?
Sent from my ONEPLUS A6003 using Tapatalk
Did you enabled the accessibility service using this command?:
Code:
adb shell settings put secure enabled_accessibility_services com.baronkiko.launcherhijack/com.baronkiko.launcherhijack.AccServ
liott said:
Did you enabled the accessibility service using this command?:
Code:
adb shell settings put secure enabled_accessibility_services com.baronkiko.launcherhijack/com.baronkiko.launcherhijack.AccServ
Click to expand...
Click to collapse
These are 4 separate commands and I have to press enter between every line?
Or I write all of them together and hit enter once?
Sent from my ONEPLUS A6003 using Tapatalk
Just copy the command line above and press 'enter'
After that if it doesn't work right away, go into the standard fire TV settings and toggle on some accessibility options. Then press home and see if launcher pops up

Always getting INSTALL_FAILED_INVALID_APK when trying to uninstall package via adb

Hi everyone,
I would like to debloat my phone by uninstalling apps for my profile instead of disabling them but i'm always getting "Failure [INSTALL_FAILED_INVALID_APK: Missing existing base package for null]"
Code:
PS C:\Program Files (x86)\Mini ADB and Fastboot> ./adb.exe shell pm uninstall -k --user 0 com.microsoft.office.officehubrow
Failure [INSTALL_FAILED_INVALID_APK: Missing existing base package for null]
I tried other apps with the same result. Of course,I have installed the samsung android drivers for windows, activated USB Debugging mode on my phone and if i send other kinds of commands like "./adb.exe shell pm list package", it work.
Thank you for your help!
Because those aren't apps but app stubs. Disable them instead.

How can i remove App Market and Theme Store from Realme X ?

I already removed some bloatware from realme x but at that time i was unable to find package name of App Market and Theme Store in my phone. Also tried this,
pm uninstall -k --user 0 com.oppo.market
pm uninstall -k --user 0 com.heytap.market
pm uninstall -k --user 0 com.heytap.themestore
but those aren't works. Can anyone please help me regarding this issue?
You can not remove some default Mi Apps.
Unlock the bootloader, and flash a zip to remove the .apk files.
You can relock the bootloader later.
nickyip123 said:
Unlock the bootloader, and flash a zip to remove the .apk files.
You can relock the bootloader later.
Click to expand...
Click to collapse
re-locking is really dangerous, i nearly lost my phone becoz of that
nickyip123 said:
Unlock the bootloader, and flash a zip to remove the .apk files.
You can relock the bootloader later.
Click to expand...
Click to collapse
Unlocking and re-locking BL always wipe the device which means whatever apks you have deleted will revert back to the original state.
---------- Post added at 18:11 ---------- Previous post was at 17:57 ----------
isitavi said:
I already removed some bloatware from realme x but at that time i was unable to find package name of App Market and Theme Store in my phone. Also tried this,
pm uninstall -k --user 0 com.oppo.market
pm uninstall -k --user 0 com.heytap.market
pm uninstall -k --user 0 com.heytap.themestore
but those aren't works. Can anyone please help me regarding this issue?
Click to expand...
Click to collapse
The weird thing on Realme UI is, sometimes it shows Failure [DELETE_FAILED_INTERNAL_ERROR] when trying to remove an apk through ADB. But if you try after a couple of hours or after a day or two, it gets removed. I noticed this mainly on Calculator, Compass and Weather app. Some people get this error message when removing App Market, Security app or Theme store as well. Realme is determined to stop us anyhow from removing the bloatwares from our devices.
Ensure that you have adb introduced on your gadget. ...
Presently, open Settings application and go to About telephone and tap on Version multiple times until you see the message 'You are currently in Developer Mode'.
Go to Additional Settings, trailed by Developer alternatives and snap on the switch to turn it on.
Empower USB investigating.
More things...
The instructions in this site worked: https://www.fonearena.com/blog/292648/how-to-uninstall-apps-realme-without-root.html
Basically, you don't uninstall but disable some of the apps. Just make sure you paste it into your text editor and replace the hyphens with minus from your keyboard. Because in my command prompt '45' was being pasted instead of the hyphens from the site.

Question Remove screenrecoder using adb fail with error -10000

I have MIUI 14 running Andriod 13.
I have been remove those miui bloatware one by one. So far it is fine.
But I am not able to remove the below. Any advise?
pm uninstall -k --user 0 com.miui.screenrecorder
Failure [-1000]
pm list package --user 0 | grep miui
package:com.miui.powerkeeper
package:com.miui.miwallpaper.overlay.customize
package:android.miui.overlay
package:android.miui.home.launcher.res
package:com.miui.face
package:com.miui.phone.carriers.overlay.vodafone
package:com.miui.global.packageinstaller
package:com.miui.micloudsync
package:com.miui.rom
package:com.miui.core.internal.services
package:com.miui.audiomonitor
package:com.miui.aod
package:com.android.server.telecom.overlay.miui
package:com.miui.screenrecorder
package:com.miui.guardprovider
package:com.miui.cloudbackup
package:com.miui.systemui.overlay.devices.android
package:com.lbe.security.miui
package:com.miui.securityadd
package:com.miui.gallery
package:com.miui.calculator
package:com.miui.notification
package:miui.systemui.plugin
package:com.miui.bugreport
package:com.miui.mediaeditor
package:com.miui.system
package:com.miui.securitycenter
package:com.miui.audioeffect
package:com.miui.qr
package:com.miui.home
package:com.miui.wmsvc
package:com.android.systemui.overlay.miui
package:com.android.inputsettings.overlay.miui
package:com.miui.systemui.devices.overlay
package:com.miui.misound
package:com.miui.wallpaper.overlay.customize
package:com.google.android.cellbroadcastservice.overlay.miui
package:com.miui.daemon
package:com.miui.securitycore
package:com.miuix.editor
package:com.android.carrierconfig.overlay.miui
package:com.miui.android.fashiongallery
package:com.miui.settings.rro.device.hide.statusbar.overlay
package:com.android.settings.overlay.miui
package:com.miui.phrase
package:com.miui.extraphoto
package:com.miui.wallpaper.overlay
package:com.miui.core
package:com.miui.settings.rro.device.type.overlay
package:com.miui.compass
package:com.miui.face.overlay.miui
package:com.miui.freeform
package:com.miui.phone.carriers.overlay.h3g
package:com.miui.notes
package:com.miui.miwallpaper
package:com.miui.systemui.carriers.overlay
package:com.miui.backup
package:com.miui.settings.rro.device.config.overlay
package:com.miui.screenshot
package:com.google.android.cellbroadcastreceiver.overlay.miui
package:com.miui.system.overlay
package:com.miui.miinput
package:com.miui.cloudservice
package:com.miui.miwallpaper.overlay
package:com.android.phone.overlay.miui
Some apps are prevented from uninstalling. I believe you can disable them instead.
Bash:
pm disable-user --user 0 <package>
If this still doesn't work you can try manually disabling/uninstalling it in settings.
PS: You don't need adb & computer to open shell, you can download termux/terminal emulator instead
hadrbass89 said:
Some apps are prevented from uninstalling. I believe you can disable them instead.
Bash:
pm disable-user --user 0 <package>
If this still doesn't work you can try manually disabling/uninstalling it in settings.
PS: You don't need adb & computer to open shell, you can download termux/terminal emulator instead
Click to expand...
Click to collapse
Thank you. I notice inside the setting option there is screen recorder there and long list of items. It seems to be by various apps that integrated together.
As such it cannot be removed.
Try to install ADB App Control, so you could delete every system app you want

[GUIDE][Bloatware] Uninstall carrier/OEM bloatware from Motorola Stock ROM [Android 12+]

Hi everyone,
Follow the procedure to remove / uninstall bloatware from Motorola Stock Rom.
This guide applies to Motorola Android 12 and Android 13 but I've pretty sure this can be adapted to others roms and brands.
Originally adapted from: https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
Step1:
Ensure that you have ADB installed on your computer.
Enable USB Debugging.
Inside ADB folder (Open command/PowerShell)
Type adb devices (ensure that your phone is connected)
From your phone authorize a connection with the computer.
Step2:
After the connection has benn established type:
adb shell
pm list packages
Copy the list and paste into a notepad or other app that you like
find all the packages with: "package:com.motorola."
Step3:
Removing the apps that you don't want.
pmuninstall -k --user 0 NameOfPackage
pm uninstall -k --user 0 com.motorola.motocare <Hit enter>
Click to expand...
Click to collapse
Expected: result Success
You can find the package name in the Google Play Store: https://play.google.com/store/apps
Search for the app you want to uninstall, for example: Moto AI Services and copy the packname in the link: https://play.google.com/store/apps/details?id=com.motorola.aiservices
id=com.motorola.aiservices
Click to expand...
Click to collapse
Here is a list of the packages that I uninstall without problems:
com.motorola.motocare
com.motorola.ccc.notification
com.motorola.dimo
com.motorola.moto
com.motorola.spaces
com.motorola.aiservices
com.inmobi.weather
com.motorola.securityhub
com.motorola.brapps
com.motorola.gamemode
Click to expand...
Click to collapse
Note: After remove those packages you can run the command pm list packages to check the updated list of the packages.
Are there many other apps that you can uninstall by this command, just check the app and dependencies to not crash the integrity of the Android OS.

Categories

Resources