Need Help with my note 8 Bootloop caused by disabled Packages - Samsung Galaxy Note 8 Questions and Answers

Hello Guys...
I Own An Exynos version of Sm-N950F with Latest Oreo Stock firmware version.my USB debugging is enable but OEM unlock button in development menu is not Active.
recently I have installed Package Disabler Pro (Samsung version) and Disabled some bloatware packages to save my battery. Now when I rebooted my phone it will be reset as soon as it shows Lock Screen.
I have retained the List of Disabled Packages with "Adb shell pm list -d" command"
Here is the list of Disabled packages:
Code:
package:com.mobeam.barcodeService
package:com.monotype.android.font.rosemary
package:com.samsung.android.app.ledcoverdream
package:com.sec.android.widgetapp.samsungapps
package:com.google.android.youtube
package:com.samsung.android.themestore
package:com.sec.android.app.chromecustomizations
package:com.samsung.android.app.aodservice
package:com.samsung.android.app.cocktailbarservice
package:com.samsung.svoice.sync
package:com.google.android.googlequicksearchbox
package:com.samsung.android.service.airviewdictionary
package:com.google.android.onetimeinitializer
package:com.google.android.ext.shared
package:com.android.wallpapercropper
package:com.samsung.android.app.withtv
package:com.samsung.android.smartmirroring
package:org.simalliance.openmobileapi.service
package:com.samsung.android.easysetup
package:com.android.externalstorage
package:com.sec.android.easyonehand
package:com.sec.factory
package:com.android.companiondevicemanager
package:com.samsung.android.rubin.app
package:com.diotek.sec.lookup.dictionary
package:com.sec.android.cover.ledcover
package:com.sec.android.easyMover.Agent
package:com.samsung.faceservice
package:com.sec.android.app.voicenote
package:com.monotype.android.font.foundation
package:com.sec.android.widgetapp.easymodecontactswidget
package:com.sec.android.app.factorykeystring
package:com.sec.android.app.samsungapps
package:com.samsung.android.app.camera.sticker.facear.preload
package:com.sec.android.app.billing
package:com.sec.epdgtestapp
package:com.samsung.android.game.gamehome
package:com.sec.android.app.desktoplauncher
package:com.samsung.android.widgetapp.yahooedge.finance
package:com.sec.android.daemonapp
package:com.samsung.daydream.customization
package:com.google.ar.core
package:com.sec.ims
package:com.android.vending
package:com.dsi.ant.service.socket
package:com.sec.android.AutoPreconfig
package:com.microsoft.skydrive
package:com.samsung.android.securitylogagent
package:com.samsung.android.knox.containeragent
package:com.samsung.android.app.assistantmenu
package:com.samsung.SMT
package:com.sec.android.ofviewer
package:com.samsung.android.drivelink.stub
package:android
package:com.samsung.android.sm.devicesecurity
package:com.dsi.ant.sample.acquirechannels
package:com.sec.android.app.ocrservice
package:com.samsung.android.smartface
package:com.android.egg
package:com.samsung.android.widgetapp.yahooedge.sport
package:com.samsung.android.smartfitting
package:com.sec.android.app.SecSetupWizard
package:com.samsung.android.bixby.agent
package:com.sec.bcservice
package:com.sec.android.uibcvirtualsoftkey
package:com.google.android.setupwizard
package:com.samsung.android.sdk.professionalaudio.utility.jammonitor
package:com.sec.android.app.automotive.carmoderemote
package:com.sec.imsservice
package:com.android.sharedstoragebackup
package:com.google.android.music
package:com.android.printspooler
package:com.android.hotwordenrollment.okgoogle
package:com.samsung.android.hmt.vrsvc
package:com.samsung.android.bixby.es.globalaction
package:com.samsung.android.app.talkback
package:com.android.bips
package:com.android.stk2
package:com.samsung.android.game.gametools
package:com.samsung.android.app.simplesharing
package:com.samsung.android.service.peoplestripe
package:com.sec.smartcard.manager
package:com.samsung.android.da.daagent
package:com.samsung.android.app.reminder
package:com.samsung.android.timezone.autoupdate_O
package:com.samsung.android.app.smartcapture
package:com.sec.android.desktopmode.uiservice
package:com.sec.enterprise.mdm.vpn
package:com.dsi.ant.plugins.antplus
package:com.samsung.advp.imssettings
package:com.samsung.android.app.advsounddetector
package:com.google.android.webview
package:com.samsung.android.app.mirrorlink
package:com.samsung.android.app.readingglass
package:com.google.android.tts
package:com.google.android.partnersetup
package:com.samsung.android.spdfnote
package:com.trustonic.tuiservice
package:com.sec.spp.push
package:com.dsi.ant.server
package:com.samsung.android.allshare.service.fileshare
package:com.sec.android.mimage.photoretouching
package:com.sec.android.app.launches
package:com.sec.android.automotive.drivelink
package:com.sec.android.app.apex
package:flipboard.boxer.app
package:com.google.android.feedback
package:com.android.managedprovisioning
package:com.samsung.visionprovider
package:com.monotype.android.font.chococooky
package:com.android.dreams.phototable
package:com.samsung.android.app.camera.sticker.facear3d.preload
package:com.samsung.android.bixbyvision.framework
package:com.sec.android.service.health
package:com.samsung.safetyinformation
package:com.samsung.app.highlightplayer
package:com.samsung.enhanceservice
package:com.android.providers.partnerbookmarks
package:com.sem.factoryapp
package:com.samsung.android.keyguardwallpaperupdator
package:com.android.wallpaper.livepicker
package:com.samsung.android.beaconmanager
package:com.sec.enterprise.mdm.services.simpin
package:com.android.apps.tag
package:com.sec.android.app.quicktool
package:com.samsung.android.mdm
package:com.sec.android.app.shealth
package:com.samsung.android.bixby.wakeup
package:com.google.android.backuptransport
package:com.samsung.android.bixby.plmsync
package:com.samsung.android.scloud
package:com.samsung.android.spayfw
package:com.samsung.android.svoice
package:com.android.bookmarkprovider
package:com.linkedin.android
package:com.samsung.android.visioncloudagent
package:com.samsung.android.app.spage
package:com.sec.android.emergencylauncher
package:com.samsung.android.bbc.bbcagent
package:com.samsung.android.visionintelligence
package:com.sec.android.splitsound
package:com.wssnps
package:com.samsung.android.app.watchmanagerstub
package:com.policydm
package:com.samsung.android.mateagent
package:com.samsung.android.networkdiagnostic
package:com.enhance.gameservice
package:com.samsung.android.bixby.voiceinput
package:com.samsung.dcmservice
package:com.google.vr.vrcore
package:com.sec.enterprise.knox.cloudmdm.smdms
package:com.samsung.android.app.camera.sticker.stamp.preload
package:com.android.emergency
package:com.android.location.fused
package:com.samsung.android.app.appsedge
package:com.sec.epdg
package:com.monotype.android.font.cooljazz
package:com.samsung.systemui.bixby
package:com.samsung.android.app.clockface
package:com.samsung.aasaservice
package:com.samsung.android.service.pentastic
package:com.samsung.android.allshare.service.mediashare
package:com.google.android.play.games
package:com.samsung.android.fingerprint.service
package:com.samsung.android.app.clipboardedge
package:com.sec.android.app.magnifier
package:com.sec.android.widgetapp.webmanual
package:com.samsung.upsmtheme
package:com.samsung.android.coreapps
package:com.samsung.android.bio.face.service
package:com.samsung.android.bixby.agent.dummy
I have used pm commands for enabling these packages one by one like "adb shell pm default-state --user 11 com.sec.android.daemonapp" (my user is 11)
or "adb shell pm enable --user 11 com.samsung.android.bio.face.service" or some other but every time I will get
Code:
C:\Users\Ali Allameh\AppData\Local\Android\Sdk\platform-tools>adb shell pm default-state --user 11 com.samsung.android.themestore
Package com.samsung.android.themestore new state: disabled
I don't know why the New State won't Change.
I'm willing to do ANYTHING just to avoid any data erase and backup my files and photos and videos on my device. even if i have to trip my knox for rooting or installing custom kernel/Recovery.
Please Help me I just need to access my files and stuff on my phone (i have also files on Secure folder too).
p.s: I have read about flashing Home_csc using Odin and I have the latest firmware files too but not sure what is my current csc to avoid Data Erase.

I am not expert or anything. But if you find no answer and No one is able to help you and the only option you have is to lose all data to make the phone work(by reflashing the stock rom), then i would say just download a latest firmware for your model for a country where you bought the phone. and flash it with "HOME CSC" file. And with that i wish you good luck.
i know this post might make you annoy like i shouldn't have posted. and i searched and found nothing if flashing different CSC , format the phone or not as HOME CSC does not format the phone.
if you have time, can you look at this post? someone pointed it to someone who wanted to change csc without wiping data and without rooting device.
https://forum.xda-developers.com/galaxy-s7/how-to/official-stock-firmware-update-odin-t3369431

Alivevil said:
Hello Guys...
I Own An Exynos version of Sm-N950F with Latest Oreo Stock firmware version.my USB debugging is enable but OEM unlock button in development menu is not Active.
recently I have installed Package Disabler Pro (Samsung version) and Disabled some bloatware packages to save my battery. Now when I rebooted my phone it will be reset as soon as it shows Lock Screen.
I have retained the List of Disabled Packages with "Adb shell pm list -d" command"
Here is the list of Disabled packages:
I have used pm commands for enabling these packages one by one like "adb shell pm default-state --user 11 com.sec.android.daemonapp" (my user is 11)
or "adb shell pm enable --user 11 com.samsung.android.bio.face.service" or some other but every time I will get I don't know why the New State won't Change.
I'm willing to do ANYTHING just to avoid any data erase and backup my files and photos and videos on my device. even if i have to trip my knox for rooting or installing custom kernel/Recovery.
Please Help me I just need to access my files and stuff on my phone (i have also files on Secure folder too).
p.s: I have read about flashing Home_csc using Odin and I have the latest firmware files too but not sure what is my current csc to avoid Data Erase.
Click to expand...
Click to collapse
You should have backed everything up first, you have disabled things required for your phone to work properly. you should have used something like greenify. For instance, how much battery do you think disabling the cool jazz font was going to save you? Not saying that is the cause of your problem, it just shows you are disabling things without knowing what they do because you think you don't need/want them. A majority of what you have disabled don't even run unless they are specifically called for by the user or a system process, and when they are done android puts them to sleep.

Related

Settings package crashes after uninstalling bloatware

Hello wonderful people. I am in quite the pickle and I hope that you can offer some help.
I have been uninstalling bloatware on my brand new phone that arrived today, using the command 'adb uninstall --user 0 <package name>'. Here is a list of the packages I uninstalled:
Code:
com.amazon.mShop.android.shopping
com.s.antivirus
com.facebook.services
com.android.chrome
com.spotify.music
com.facebook.katana
com.sonymobile.xperialounge.services
com.android.providers.userdictionary
com.facebook.appmanager
com.kobobooks.android
com.amazon.kindle
com.facebook.system
com.sonymobile.music.youtubeplugin
com.sonymobile.email.res.overlay_305
com.sonymobile.moviecreator
com.sonymobile.music.youtubekaraokeplugin
com.sonymobile.entrance
com.sonymobile.email
com.sonymobile.sketch
com.sonyericsson.music
com.sonymobile.xperiaweather
com.sonymobile.moviecreator.rmm
com.sonymobile.advancedlogging
com.sonymobile.music.wikipediaplugin
com.sonymobile.music.googlelyricsplugin
com.sonymobile.support
com.sonyericsson.trackid.res.overlay_305
com.sonyericsson.textinput.chinese
com.sonyericsson.album
com.sonyericsson.music
com.sony.tvsideview.videoph
com.sonymobile.assist
com.sonyericsson.xhs
com.google.android.apps.docs
com.google.android.videos
Now the settings app crashes when it is opened. The phone is encrypted by default. I cannot do a factory reset in the settings app, and fastboot won't touch the encrypted partitions. There is no recovery partition.
I reinstalled the last few packages using APKs from the web. I used the command 'adb install -r <package name>'. ADB said this was successful, but the apps cannot be launched and their icons do not show up on the phone. Settings still crashes.
Please help me out. Any help would be appreciated.
Many thanks
Have you tried performing a factory reset by logging into your google account on the web and using Android Device Manager's erase data function?
pbarrette said:
Have you tried performing a factory reset by logging into your google account on the web and using Android Device Manager's erase data function?
Click to expand...
Click to collapse
Good suggestion. Unfortunately, Find My Device is turned off. I cannot turn it on because that would require the settings app. Any other ideas?
Pickled Vinegar said:
Good suggestion. Unfortunately, Find My Device is turned off. I cannot turn it on because that would require the settings app. Any other ideas?
Click to expand...
Click to collapse
1] Are you sure it's off? Mine was on by default, I think. At least, it's on and I don't remember enabling it.
2] Do a clean re-flash using either Xperia Companion or XperiFirm+newflasher (with all .ta files).
A clean reflash with wipe should do it.
With XC, you should even be able to do a backup before you flash.
pbarrette said:
1] Are you sure it's off? Mine was on by default, I think. At least, it's on and I don't remember enabling it.
2] Do a clean re-flash using either Xperia Companion or XperiFirm+newflasher (with all .ta files).
A clean reflash with wipe should do it.
With XC, you should even be able to do a backup before you flash.
Click to expand...
Click to collapse
Thank you. Step 2 solved the problem! I used the 'Software repair' option in Xperia Companion. It wiped the user data and did a factory reset.
I feel like com.sonymobile.support is the source of your issues.
The support thing is the last item of the settings app.
It being gone must have made settings unhappy.
Plus, why would you want to get rid of the support app? Isn't it in charge of OTA updates?
I just came across this thread after Googling a similar issue. On my Note 8 I removed the Facebook packages and now have bootloops and am struggling to get back into the phone.

[SOLVED] FindDevice may cause a boot loop?

Hello.
I uninstalled Find Device (pm uninstall -k --user 0 com.xiaomi.finddevice) to avoid its periodic enabling reminders.
However now sometimes "find device has been destroyed" appears as a toast. Also the Security Status in the Settings now crashes.
After finding this message (despite it is other phone model) I'm frightened about a future reboot of my phone. Can my phone really enter in a boot loop the next time I reboot? I have the miui optimization disabled, though.
I have tried to install it back, downloading the 9.0 apk, but it says INSTALL_FAILED_ALREADY_EXISTS. Using the "-r" switch also doesn't works ("com.xiaomi.finddevice is a persistent app. Persistent apps are not updateable"). I assume that this is due to haven't erased the app data (uninstalled with -k) but "pm clean" doesn't seems to clean it. I also have tried the -p option for partial installation, but returns a null exception.
Ah, my device is not rooted. MIUI Global 10.2 stable.
I managed to restore the application with the following adb command:
Code:
pm install-existing com.xiaomi.finddevice
It also works with applications uninstalled without "-k 0".
By the way, I used to use "pm disable", but now it seems it is called "pm disable-user".
So, next time I'll preferably use it instead of uninstalling, if works as expected.
Note that it doesn't allows to disable finddevice:
Code:
$ pm disable-user com.xiaomi.finddevice
Package com.xiaomi.finddevice new state: default
The package still continues in default state, unlike when it actually works:
Code:
$ pm disable-user com.miui.player
Package com.miui.player new state: disabled-user
Credits for these great discoverings to this blog post (eskerahn.dk/wordpress/?p=2462) [add the https prefix, I can't yet post urls!]
is there a any way to uninstall this application without trouble (without bootloop)?
i have the same question is there a any way to uninstall this application without trouble (without bootloop)?
If it doesn't boot, it's awesome tho.
Without modifying the vendor ROM image there is no way to get rid of it.

Removing Bloatware does not work on MIUI 12

Hello Friends,
When I was on MIUI 11, I had removed Mi apps like Mi pay, Mi video, Poco launcher, Mi browser and Mi music by adb. Now I have updated to latest MIUI 12 but I am not able to remove Mi calendar, Mi browser via adb. I get an error message, "failure [-1000]". Why is it happening and how I can remove the bloatware?
Hi Friends,
I am using MIUI 12.0.2.0 China stable ROM on my K20 Pro & I removed all the bloatwares apps included in this rom. For removings apps I use XiaomiADBFastbootTools.jar .I suggest you download this tool & install JDK (java development kit) for the removal process. I am very haappy with this tool. I also use it on XIAOMI.EU rom.
I hope your problem will be solved with this great tool.
On global rom the tool cannot remove these apps, no idea why not.
boomboomer said:
On global rom the tool cannot remove these apps, no idea why not.
Click to expand...
Click to collapse
You try this tool on global ROM?
i try that tool on global miui 12 and it cant remove that apps.
But on latest beta orange fox recovery exist option to remove system apps. didnt try as i change miui 12 global to Xiaomi.eu weekly and tool can remove that apps.
so global stable cant remove and xiaomi.eu weekly can remove
I tried with both Szaki's tool and OrangeFox Recovery tool, none of them work.
I confirm that following apps can't be removed on Global (12.0.1) MIUI 12
Code:
com.mi.android.globalminusscreen
com.mi.globalbrowser
com.xiaomi.calendar
com.miui.player
com.miui.videoplayer
com.miui.weather2
Following error occurs when I try to uninstall any of these apps:
Code:
pm uninstall --user 0 com.mi.android.globalminusscreen
Failure [-1000]
I removed it
renr29 said:
I removed it
Click to expand...
Click to collapse
This affirmation without an explanation is sh*t
bartito said:
This affirmation without an explanation is sh*t
Click to expand...
Click to collapse
we can remove it on custom miui roms
slavke1976 said:
we can remove it on custom miui roms
Click to expand...
Click to collapse
MIUI custom ROMs are not in question.
You allways can remove these sh*t apps on a custom ROM or, if can't be removed by "pm uninstall" command, you can remove by recovery.
The question is to remove these apps from unrooted and unlocked MIUI 12 global
bartito said:
MIUI custom ROMs are not in question.
You allways can remove these sh*t apps on a custom ROM or, if can't be removed by "pm uninstall" command, you can remove by recovery.
The question is to remove these apps from unrooted and unlocked MIUI 12 global
Click to expand...
Click to collapse
I understand, but the answer is that we cant from miui 12 global. My phone is unlocked and i had magisk. and miui global stable, removing that apps is not possible with that debloater tool or commands. Didnt try other metods. but with debloater tools as sakis, it doesnt work.
bartito said:
I confirm that following apps can't be removed on Global (12.0.1) MIUI 12
Following error occurs when I try to uninstall any of these apps:
Click to expand...
Click to collapse
The smallest ADB package for PC that is enough for ADB is Minimal ADB and Fastboot (find a thread on XDA)
According to your error, it was the following ADB command that failed:
adb shell pm uninstall -k --user 0 <pkg-name>
Try instead the other ADB command:
adb shell pm disable-user <pkg-name>
Where <pkg-name> stands for:
com.mi.android.globalminusscreen com.mi.globalbrowser
...
or package name for any other system app you want to disable - use AppInspector from Playstore to read package names corresponding to the apps
I'm not using any windows command but the adb shell command to access the device then exec pm uninstall command.
I also confirm that I've tried also pm disable and pm disable-user and both fails to remove/disable the related apps
zgfg said:
Instead of using a jar (not knowing what's inside), you can use ADB commands - simply install Minimal ADB and Fastboot package to PC
According to your error, jar executes the following ADB command:
adb shell pm uninstall -k --user 0 <pkg-name>
Try instead the other ADB command:
adb shell pm disable-user <pkg-name>
Where <pkg-name> stands for:
or package name for any other system app you want to disable - use AppInspector from Playstore to read package names corresponding to the apps
Click to expand...
Click to collapse
bartito said:
I'm not using any windows command but the adb shell command to access the device then exec pm uninstall command.
I also confirm that I've tried also pm disable and pm disable-user and both fails to remove/disable the related apps
Click to expand...
Click to collapse
By AppInspector, find the system or data folder and apk name where the corresponding app is installed
By using TWRP (root not required) or e.g. MiXPlorer (root required), go to that folder and rename <app-name>.apk to <app-name>.bak and reboot
If you disabled a critical app causing e.g. a boot failure, use TWRP and rename bak file back to the original apk extension
To use twrp root isn't required but bootloader unlocked.
My bootloader is locked
zgfg said:
By AppInspector, find the system or data folder and apk name where the corresponding app is installed
By using TWRP (root not required) or e.g. MiXPlorer (root required), go to that folder and rename <app-name>.apk to <app-name>.bak and reboot
If you disabled a critical app causing e.g. a boot failure, use TWRP and rename bak file back to the original apk
Click to expand...
Click to collapse
zgfg said:
The smallest ADB package for PC that is enough for ADB is Minimal ADB and Fastboot (find a thread on XDA)
According to your error, it was the following ADB command that failed:
adb shell pm uninstall -k --user 0 <pkg-name>
Try instead the other ADB command:
adb shell pm disable-user <pkg-name>
Where <pkg-name> stands for:
com.mi.android.globalminusscreen com.mi.globalbrowser
...
or package name for any other system app you want to disable - use AppInspector from Playstore to read package names corresponding to the apps
Click to expand...
Click to collapse
Thanks a ton!! The MIUI browser (com.mi.globalbrowser) had been bothering me for quite some time, and because of you I was able to get rid of it! Thanks!
I can also confirm that using the disable function works on both the browser and calender apps, you can't uninstall but it will accept disable - problem solved
boomboomer said:
I can also confirm that using the disable function works on both the browser and calender apps, you can't uninstall but it will accept disable - problem solved
Click to expand...
Click to collapse
Btw, there is not much difference in disabling and 'uninstalling' - i.e., don't think that
adb shell pm uninstall -k --user 0 <pkg-name>
would really remove the package from your system
It only uninstalls for the current user 0 - but the app is still available on the system for user 999
And the opposite command:
adb shell cmd package install-existing <pkg-name>
would reinstall it (for user 0), hence package was not really deleted from the system (to save some MBs or so)
---
The only differences between disabling and uninstalling (both make it for user 0) are
- Disabled apps are still visible in Settings, Apps and some of them can be re-enabled by click from there.
Playstore will show you an update of disabled app and if you want to prevent its automatic update (and re-enabling) you have to disable its auto-update in Playstore.
Similarly for System apps updater from Xiaomi (disable auto-updating and when it offers to update an app you have disabled, click to ignore the update)
- 'Uninstalled' ones are not visible in Settings, Apps. If you want to 're-install' them you have to remember what you have 'uninstalled'' and their package names.
Playstore and System apps updater will not bother you about their updates
Thanks, but this is just with the ADBFastbootTools.jar and the uninstall option failed for the new Mi Browser and Calender, but the disable option worked. Both are annoying bloatware that can't be fully removed without root, so this is the next best option.

Debloating MIUI without Root Access (Manual Method)

{
"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"
}
Tired of all the pre-installed applications that come with your new phone. Most of them tend to be useless and some tend to be on annoying side with push notifications and battery drains.
One way to get rid of all these intruders is to root your device and delete them using some application or manual purge. Not everyone is comfortable with rooting and it's risks. Also, rooting is not an option on many phones coz of limited support from the developer community. Does that mean one has to learn to live with the bloat?
Thankfully, No. You can get rid of them with the use of ADB (Android Debugging Bridge). The method is safer than manual purge and would not break any system variables, allowing to keep accepting OTAs w/o any issues.
Let's Debloat your Phone.
Note: This method works on every OEM rom as well as custom rom without root access.
Requirements:
Android Platform Tools
Prerequisites:
Disable "App Vault", "Swipe up for google", "Wallpaper Carousel", "Find Device", "Mi Sync"(Don't confuse Mi Sync and Google Sync though)
Follow the steps carefully :
Initial Setup
1. Go to About Phone in Settings.
2. Tap on MIUI version/Build version until it shows You're now a developer. It might ask for password in some cases.
3. Go to Settings>Additional Settings>Developer Options or Settings>System>Developer Options.
4. Enable USB Debugging, Install via USB, USB Debugging(Security Settings). Accept all the prompts thrown.
Note: Most ROMs will only have USB Debugging toggle.
Note: On MIUI, the above step requires an MI Account.
Main Process
Connect your device to the PC now. Recommend using a good quality USB cable for this.
1. Extract the platform tools zip. Navigate to the folder.
2. Shift+Right click and select open command window here.
3. Type adb devices
4. Grant authorization on your phone.
5. Type adb devices again and ensure that it shows your device as connected and authorized.
Note: If your device doesn't show up, you might need to install latest USB drivers for your phone. It usually happens automatically if you have an updated OS. If that's not the case, use this and install the USB drivers.
6. Type adb shell.
7. Type
Code:
pm list packages | grep 'mi'
Here mi is a keyword. You can replace it with whatever you want. This command would return all packages which have the phrase mi in their name.
Type
Code:
pm list packages
for complete list of installed packages.
8. Type
Code:
pm uninstall -k --user 0 <package-name>
Replace the <package-name> with the package you want to remove. The names can be obtained from the list command in the previous step.
Tip: Package name can be found in app list. Just tap on the small 'i' icon on the top right corner of each app page on MIUI. On custom roms, it's usually given at the bottom.
Tip : If you can't see all apps. Tap on the three dots in the top corner on "Manage Apps" page and tap "Show All Apps". SImilarly on custom roms, it can be achieved by selecting "Show System Apps".
I'm not going to cover all the OEMs or Custom Roms. The process is similar across all OEMs and Custom Roms. Packages that are safe to remove on MIUI are given below:
(Skip to the next step if you're not on MIUI)
- Cleaner
Code:
com.miui.cleanmaster
- Tracking Application
Code:
com.miui.daemon
- Ad Serving Application
Code:
com.miui.msa.global
- Xiaomi System Webview
Code:
com.mi.webkit.core
- Tracking Application
Code:
com.xiaomi.joyose
- Facebook Bloat
Code:
com.facebook.services
- Facebook Bloat
Code:
com.facebook.appmanager
- Facebook Bloat
Code:
com.facebook.system
- Tracking Application
Code:
com.miui.analytics
- Wallpaper Carousel
Code:
com.miui.android.fashiongallery
- ShareMe/Mi Drop
Code:
com.xiaomi.midrop
- Broswer with Ads
Code:
com.android.browser
- Calendar with Ads
Code:
com.android.calendar
- Tracking Application
Code:
com.miui.bugreport
- Tracking Application
Code:
com.xiaomi.glgm
- Tracking Application
Code:
com.miui.yellowpage
- Weather Application
Code:
com.miui.weather2
- Tracking Application
Code:
com.miui.miservice
- Music player with Ads
Code:
com.miui.player
- Mi Pay
Code:
com.mipay.wallet.id
- Mi Pay
Code:
com.mipay.wallet.in
- Mi Pay
Code:
com.xiaomi.payment
- Quick Apps
Code:
com.miui.hybrid
- Quick Apps Addon
Code:
com.miui.hybrid.accessory
- Video Player with Ads
Code:
com.miui.videoplayer
- GetApps
Code:
com.xiaomi.mipicks
- Translation Service
Code:
com.miui.translation.kingsoft
- Translation Service
Code:
com.miui.translation.youdao
- Translation Service
Code:
com.miui.translation.xmcloud
- Translation Service
Code:
com.miui.translationservice
- Mi Doc Viewer (XPS based)
Code:
cn.wps.xiaomi.abroad.lite
- Recycle Service
Code:
com.xiaomi.mirecycle
- Ad based App Installer
Code:
com.miui.global.packageinstaller
- Auto Installs from Play Store
Code:
android.autoinstalls.config.Xiaomi.ginkgo
- App Vault
Code:
com.mi.android.globalminusscreen
- Mi Credit
Code:
com.micredit.in
- Mi Health
Code:
com.mi.health
- Downloads Application with Ads
Code:
com.android.providers.downloads.ui
(make sure you have an alternate file explorer installed before you uninstall the next one)
- Ad based File Explorer
Code:
com.mi.android.globalFileexplorer
Google BloatWare
A few Google Applications that always come pre-installed :
- Youtube
Code:
com.google.android.youtube
- Hangouts
Code:
com.google.android.talk
- Play Movies & TV
Code:
com.google.android.videos
- Google Duo
Code:
com.google.android.apps.tachyon
- Google Chrome
Code:
com.android.chrome
- Google Search Application
Code:
com.google.android.googlequicksearchbox
- Digital Wellbeing
Code:
com.google.android.apps.wellbeing
- Android Feedback
Code:
com.google.android.feedback
- Talkback
Code:
com.google.android.marvin.talkback
Note: Removal of Google Search App will Remove Assistant and Google search.
Conclusion
This is not a complete list. You can remove anything that you find annoying using these commands. Just replace the package name with the package you wish to remove.
However, removing some apps could cause issues. Stay away from MI Account, Security and Google Services related apps. If you accidentally remove something and end up experiencing crashes, please follow the following steps.
Type
Code:
adb shell
.
Type
Code:
cmd package install-existing <name-of-package>
Replace <name-of-package> with the name of the package to be restored.
Note : The method doesn't delete the application. It only changes the permissions of each package and hides it in the system. A Factory Reset, OTA update or a Reinstall would restore the application. Also, if you create a new user, he would have access to the removed applications.
MOD EDIT: Telegram link removed, please read the STICKY!
Reserved
using this much easier and faster https://github.com/Szaki/XiaomiADBFastbootTools
if i remember correctly when i was on miui (ginkgo)
i removed "Find Device" and the phone stay in bootloop
anyway ...
the command : pm uninstall -k --user 0 <package-name>
can remove app for user 0
but what if i want to remove the app for all users ???
nneko904 said:
using this much easier and faster https://github.com/Szaki/XiaomiADBFastbootTools
Click to expand...
Click to collapse
It's personal choice. The tool does the same thing. This is for people who want to do it manually without a tool.
Also that tool is specific to the xiaomi devices to an extent. You can use this on any android smartphone. This doesn't have java dependencies as well.
loopypalm said:
if i remember correctly when i was on miui (ginkgo)
i removed "Find Device" and the phone stay in bootloop
anyway ...
the command : pm uninstall -k --user 0 <package-name>
can remove app for user 0
but what if i want to remove the app for all users ???
Click to expand...
Click to collapse
You can't remove an app completely from the system without root access. If you have a second user, you have to remove it for other users as well.
And I haven't mentioned find find device anywhere.
Great, debloated here. Missed play music only.
uncannyjish said:
And I haven't mentioned find find device anywhere.
Click to expand...
Click to collapse
you mentioned it in prerequisites , i tought u r goin to remov it ...
uncannyjish said:
You can't remove an app completely from the system without root access. If you have a second user, you have to remove it for other users as well..
Click to expand...
Click to collapse
i have root access,and no 2nd user
when i use the comand the app is removed just for user 0 but it stays in the system
thats why i asked for a comand to remove it completely
loopypalm said:
you mentioned it in prerequisites , i tought u r goin to remov it ...
i have root access,and no 2nd user
when i use the comand the app is removed just for user 0 but it stays in the system
thats why i asked for a comand to remove it completely
Click to expand...
Click to collapse
Well if you're have root, and can mount system as rw. You could use some root explorer and remove the apk's and there folder. But doing this prevents the ability for OTA update because now the system is changed.
The space saved by doing this is so tiny, you will never notice it.
---------- Post added at 05:22 PM ---------- Previous post was at 04:53 PM ----------
uncannyjish said:
Note : The method doesn't delete the application. It only changes the permissions of each package and hides it in the system. A Factory Reset, OTA update or a Reinstall would restore the application. Also, if you create a new user, he would have access to the removed applications.
Click to expand...
Click to collapse
Very nice thread.
FYI, I have been doing this on stock ROMs for long time. It's nice to see a listed description.
FYI, with this adb method , your debloated apps will remain gone after an OTA update. At least for me they do.
mrmazak said:
Well if you're have root, and can mount system as rw. You could use some root explorer and remove the apk's and there folder. But doing this prevents the ability for OTA update because now the system is changed.
The space saved by doing this is so tiny, you will never notice it
Click to expand...
Click to collapse
i use custom rom and i don't want OTA
i asked for the command because it remove the app + data
i can delete the app manualy by browsing system/app or priv app but i have to look for eatch app data folder
loopypalm said:
i use custom rom and i don't want OTA
i asked for the command because it remove the app + data
i can delete the app manualy by browsing system/app or priv app but i have to look for eatch app data folder
Click to expand...
Click to collapse
Well if you are concerned about the app data being left. Just run the command as in the . OP bit leave the "-k" off. This part of the command is (keep) , it keeps the user data on device. If you run the command without the -k, then it does not keep data.
loopypalm said:
i use custom rom and i don't want OTA
i asked for the command because it remove the app + data
i can delete the app manualy by browsing system/app or priv app but i have to look for eatch app data folder
Click to expand...
Click to collapse
Try running adb root and use the uninstall command on the package without the flags. Since you're rooted, it might just remove app + data.
godoy.rafa said:
Great, debloated here. Missed play music only.
Click to expand...
Click to collapse
Find the package name and remove it. I already explained all command
loopypalm said:
you mentioned it in prerequisites , i tought u r goin to remov it ...
i have root access,and no 2nd user
when i use the comand the app is removed just for user 0 but it stays in the system
thats why i asked for a comand to remove it completely
Click to expand...
Click to collapse
I asked everyone to disable those stuff, so to prevent any app from returning.
mrmazak said:
Well if you are concerned about the app data being left. Just run the command as in the . OP bit leave the "-k" off. This part of the command is (keep) , it keeps the user data on device. If you run the command without the -k, then it does not keep data.
Click to expand...
Click to collapse
i know, i asked for a command that remove the app completly not only for "user 0" and it seems no one knows it
Can i remove gallery? Is it safe? I mean com.miui.gallery .
OliveReeve said:
Can i remove gallery? Is it safe? I mean com.miui.gallery .
Click to expand...
Click to collapse
yes
OliveReeve said:
Can i remove gallery? Is it safe? I mean com.miui.gallery .
Click to expand...
Click to collapse
better not, there's several problems user reported when they remove it
there's many thread over which app you could remove and shouldn't, i recommend you should go search them
nneko904 said:
better not, there's several problems user reported when they remove it
there's many thread over which app you could remove and shouldn't, i recommend you should go search them
Click to expand...
Click to collapse
What problems are related to miui gallery removal? Please tell me I don't want to search over whole xda. It is probably bootloop too but I am not sure (hint from some github page).
---------- Post added at 11:27 AM ---------- Previous post was at 11:24 AM ----------
If I get it it to bootloop by debloating, Can I fix it by adb? I know that I can reinstall app back by adb. I don't have root and twrp so far. Does it respond to adb during this bootloop?
OliveReeve said:
What problems are related to miui gallery removal? Please tell me I don't want to search over whole xda. It is probably bootloop too but I am not sure (hint from some github page).
---------- Post added at 11:27 AM ---------- Previous post was at 11:24 AM ----------
If I get it it to bootloop by debloating, Can I fix it by adb? I know that I can reinstall app back by adb. I don't have root and twrp so far. Does it respond to adb during this bootloop?
Click to expand...
Click to collapse
If you get bootloop from adb app uninstall, you will not get to use adb. Factory reset from recovery will undo the changes.
As for the gallery apk. I had removed it and was no longer able to save any photos, from any camera. I was not able to delete files from device either. The gallery app is somehow forced into needed for /sdcard file permissions. You can set it to "adb hide". If you don't want to see it

Removing BLoatware

I found a nice and easy way to get rid of bloatware, WITHOUT root, and using Rakesh's bloatware list.
How To Remove Bloatware From Any Xiaomi Devices (Without Root): Easiest Way!
Have you just gotten a new phone and is it already filled up with a bunch of spooky apps preinstalled? Have you tried long pressing and dragging them up your screen to uninstall? Alas! There isn’t …
technolobe.com
Xiaomi Bloatware List | Remove Bloatware on MIUI 14/13/12
Find the list of safe-to-remove Xiaomi and MIUI bloatware. Learn how to uninstall system apps on MIUI 14, 13 & 12 via Xiaomi ADB/fastboot tools.
technastic.com
But when I try it, I get stuck after installing Java SE Development Kit–and Xiaomi ADB/Fastboot Tools, when the software will not recognize my phone. (USB debugging was done)
This is new phone. What else do I need to have, before this will work? Some accounts? A simcard??
Thank You
I guess adb drivers are missing. To installing that. And why don't you use simple adb after installing drivers.
Adb shell
Pm uninstall --user 0 <package name>
Pm uninstall -k --user 0 <package name>
Would recommend first one, second retains cache and some data.
Yes it's a less intuitive way, but I prefer this doing everything myself, at least trying to rely on less and less dependencies.
But using adb doesn't free up space, it's more like it just disables app, the only difference is that in both the cases APK is still in system, just don't show up in settings like as it will remain shown when disabled.
Applepear said:
I guess adb drivers are missing. To installing that. And why don't you use simple adb after installing drivers.
Adb shell
Pm uninstall --user 0 <package name>
Pm uninstall -k --user 0 <package name>
Would recommend first one, second retains cache and some data.
Yes it's a less intuitive way, but I prefer this doing everything myself, at least trying to rely on less and less dependencies.
But using adb doesn't free up space, it's more like it just disables app, the only difference is that in both the cases APK is still in system, just don't show up in settings like as it will remain shown when disabled.
Click to expand...
Click to collapse
Of course it uses ADB......
No I meant why use .jar program? Ok some people prefer easiness
I have posted the thread some weeks ago and for me it works without any issues.
Miui system apps which are safe to remove
Hello Found this very great thread here in other Xiaomi device forum,so please dont hit thanx here. Have tested and its working good for me even on Miui 12.Have fun.Cheers...
forum.xda-developers.com
-CALIBAN666- said:
I have posted the thread some weeks ago and for me it works without any issues.
Miui system apps which are safe to remove
Hello Found this very great thread here in other Xiaomi device forum,so please dont hit thanx here. Have tested and its working good for me even on Miui 12.Have fun.Cheers...
forum.xda-developers.com
Click to expand...
Click to collapse
Thank you for that list.
My problem is different..... I already have a list and I will of course compare it with yours. What I do not have is ACCESS.
The "usual" system, which I found here:
Does not recognize my phone. Probably, because I use no google or any other accounts. So I need to know what is needed to to access the bloatware, no matter what list I use...

Categories

Resources