Question bloatware disable script / setup script - Realme GT

I've made this bloatware disable script for my new realme GT (Global) you might find it useful.
It disables stuff you can't usually disable / remove on the phone itself.
The uninstallable stuff I removed manually before creating this script. Some more "extreme" options are commented out.
first setup ADB:
On your phone:
Settings -> About Phone -> Version -> press "Build Number" 7 times to enable Developer Options --> Go back to the root of settings --> Additional Settings --> Developer options and enable USB Debugging --> reconnect your phone --> select Data Transfer / Android Auto
On your PC:
Windows device driver: https://developer.android.com/studio/run/oem-usb.html
adb/fastboot: https://developer.android.com/studio/releases/platform-tools#downloads
on windows cd to the extracted platform-tools directory and change each command to .\adb ... or copy its contents to C:\tools and add that to your PATH
realme-gt-setup.sh
GitHub Gist: instantly share code, notes, and snippets.
gist.github.com

Please note that you can't disable com.coloros.weather.service if you enables dark mode, otherwise, you'll encounter repeated flickering and not able to unlock the phone!

nickyip123 said:
....you can't disable com.coloros.weather.service....
Click to expand...
Click to collapse
Noted.
Firstly did you manage to unlock your phone ?
Would uninstalling instead of disabling the Weather App solve the issue ?
pm uninstall -k --user 0 com.coloros.weather.service
pm uninstall -k --user 0 com.coloros.weather2

Chi Am said:
Noted.
Firstly did you manage to unlock your phone ?
Would uninstalling instead of disabling the Weather App solve the issue ?
pm uninstall -k --user 0 com.coloros.weather.service
pm uninstall -k --user 0 com.coloros.weather2
Click to expand...
Click to collapse
I've tried that too.
pm uninstall -k --user 0 com.coloros.weather2
makes no problem at all, it is the "weather.service" matters.
I let the adb shell open and data line connected, then
pm uninstall -k --user 0 com.coloros.weather.service
Nothing happens at this point, but after I clicked Dark Mode the screen flickers.
I turned off screen and on again, still the same, flickers and no response.
So I immediately put the App back by
cmd package install-existing com.coloros.weather.service
The screen returns to normal again, and I can unlock.

nickyip123 said:
I've tried that too.
pm uninstall -k --user 0 com.coloros.weather2
makes no problem at all, it is the "weather.service" matters.
I let the adb shell open and data line connected, then
pm uninstall -k --user 0 com.coloros.weather.service
Nothing happens at this point, but after I clicked Dark Mode the screen flickers.
I turned off screen and on again, still the same, flickers and no response.
So I immediately put the App back by
cmd package install-existing com.coloros.weather.service
The screen returns to normal again, and I can unlock.
Click to expand...
Click to collapse
First and foremost, thank you for the prompt reply.
Having installed another Weather App, I uninstalled "weather.service" and "weather2" then changed the device from Light to Dark Mode (Device still connected to PC) and unfortunately, I'm glad to report, there were no flickering issues.
I'm assumming the weather.service is causing UI issues which another weather app in place had adressed.
My intension is to replace the Coloros Weather App with my own option therefore uninstalling just the "weather2" will be fine.
I threw caution to the wind and re-installed the coloros.weather.service just in case if the current weather app is accidentally uninstalled.
Thank you for your help.

I use this
[TOOL] ADB AppControl 1.8.0 🚀 Ultimate App Manager & Debloat Tool + Tweaks
ADB AppControl 🚀 Root is not required. Works with any Android device. Can do almost everything you dreamed about with applications. ADB AppControl - the desktop program, that will allow you to easily manage applications on your android device...
forum.xda-developers.com
Easy to use

Hello, I am looking for a list of application (bloatware) to deactivate for Realme gt neo

In need of help.
Sorry people, I have convinved myself that it's better to have the devil you know...so no help needed....but I can't seem find an option to delete this post so if an admin is available then thank you.
Sos for the inconvenience.

Related

Mate 20 pro demo remove

Is there any way to remove demo ?
Any one done ?
Need help
Thanks advance
eyasinahmad said:
Is there any way to remove demo ?
Any one done ?
Need help
Thanks advance
Click to expand...
Click to collapse
Demo models only usually have wifi at best, and do not accept sim cards for the most part. So while people try, it's usually fruitless unless you just want to copy videos onto it and watch them.
eyasinahmad said:
Is there any way to remove demo ?
Any one done ?
Need help
Thanks advance
Click to expand...
Click to collapse
MATE 20 DEMO Solution
Step 1:
Go to Settings > Security & Privacy > Device administrators
Disable (inaktiv) Retail mode & HwRetailAssistant
Step 2:
USB-Port setting:
*#*#2846579#*#*
DIAL
-Background Setting
-USB Port Setting
-Manufacture Mode
close
Step 3:
adb devices
adb shell
pm uninstall -k --user 0 com.huawei.retaildemo
pm uninstall -k --user 0 com.huawei.retail.assistant
pm clear com.android.providers.contacts
--RESTART--
Step 4: (screen Lock-Face-Finger lock-unlock enabling)
adb devices
adb shell
locksettings set-pin --old 0000 8888
(now 8888 is your Display PIN ! you can now change in mobile )
go to Face unlock, scann yourself or finger
>>DONE<<

How to remove com.oppo.wifisniffer ?

I was looking into system apps list. I saw this "com.oppo.wifisniffer" app installed as a system app. It's actually WiFiSniffer app which is installed by default into ColorOS on both Realme & Oppo devices. It's bit scary to keep such apps in your device if privacy is concerned. Anybody have any idea on this ??? I'm attaching screenshot
adb shell pm uninstall -k --user 0 com.oppo.wifisniffer

Debloat/Disable System Apps

So you got your new shiny realme device but you hate bloatware or want to disable system apps so you can use 3rd party apps instead?
Follow the steps below:
THIS DOES NOT REQUIRE ROOT HOWEVER MAKE SURE NOT TO DISABLE IMPORTANT SYSTEM APPS. WIPE DATA/FORMATTING RE-ENABLES ALL SYSTEM APPS. THIS DOES NOT MESS WITH OTAs.
WHAT YOU NEED:-
ADB/Fastboot Drivers
Windows: https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Linux: https://dl.google.com/android/repository/platform-tools-latest-linux.zip
DEBLOAT:-
1. Enable developer options by tapping on the build number 7 times and enable USB Debugging.
2. Plug in your phone.
3. Goto the folder where ADB is installed, hold shift and right click, and click on open command window here(windows).
4. Type
in CMD
Code:
adb devices
in Powershell
Code:
./adb devices
.
5. This should return the ID of your device and show if its authorised. Enable debugging Promt on your Phone if it shows unauthorised (allow this computer).
6. Type
in cmd
Code:
adb shell
in Powershell
Code:
./adb shell
.
7. This should display a prompt, something like RMXxxxx:/ $
8. To uninstall type
Code:
pm uninstall -k --user 0 <name of the package>
To disable type
Code:
pm disable-user --user 0 <name of the package>
eg: pm uninstall -k --user 0 com.heytap.browser / pm disable-user --user 0 com.heytap.browser
9. Done!
To reinstall uninstalled apps type
Code:
pm install-existing <name of the package>
To enable disabled apps type
Code:
pm enable <name of the package>
Some apps do not uninstall such as market and gamecenter, disabling is the only option.
Very Helpful, Thanks. I debloated my realme 7 and also disabled the Realme security analysis app so now no more ads popup after everytime installing a new app from playstore?
vimal102029 said:
Very Helpful, Thanks. I debloated my realme 7 and also disabled the Realme security analysis app so now no more ads popup after everytime installing a new app from playstore
Click to expand...
Click to collapse
Nice
i wasn't able to debloat with uninstall command. what could possibly wrong? using disable-user work fine though
immns said:
i wasn't able to debloat with uninstall command. what could possibly wrong? using disable-user work fine though
Click to expand...
Click to collapse
Use this command, I tried this.
[ pm uninstall --user 0 <packagename> ]
vimal102029 said:
Use this command, I tried this.
[ pm uninstall --user 0 <packagename> ]
Click to expand...
Click to collapse
thank uu, it worked:good:
Could someone post a list of the apps that can be safely removed?
Some handy tips down the road.
While using power shell just add ./ infront of all adb commands and everything will work.
If error showing while connecting through USB debug "Cant Allow USB debugging Because an app is obscuring when connect to your pc..." Just disable assistive ball and Floating windows privacy > display over other apps.< Uncheck everything.
$ ./adb shell pm list packages < List everything installed
$ adb shell pm list packages -d < List all the disabled package
Can be safely and shud be Disabled packages:
package:com.heytap.cloud < Cloud service better alternates avail.
package:com.android.nfc < By default disabled as device doesn't have hardware.
package:com.facebook.services < Racist Biased Snitch Company will leech on your data and create chaos in your country.
package:com.facebook.system < No idea why its installed and running in back
package:com.facebook.appmanager < Always takes side of Mighty
package:com.heytap.browser < This is main source of adverts in phone only reason i needed to go through this.
---------- Post added at 04:27 AM ---------- Previous post was at 04:13 AM ----------
vimal102029 said:
Very Helpful, Thanks. I debloated my realme 7 and also disabled the Realme security analysis app so now no more ads popup after everytime installing a new app from playstore
Click to expand...
Click to collapse
Hello, security analysis app is from Google side can be disabled inside google settings. Only way Realme shows adverts is through default Browser which can be disabled. if there's in any package which can be disabled or uninstalled for realme analysis please share name.
Thank you
I personally disabled these apps
papabear57 said:
Hello, security analysis app is from Google side can be disabled inside google settings. Only way Realme shows adverts is through default Browser which can be disabled. if there's in any package which can be disabled or uninstalled for realme analysis please share name.
Thank you
Click to expand...
Click to collapse
com.realme.securitycheck
vimal102029 said:
com.realme.securitycheck
Click to expand...
Click to collapse
Thank you
I recently debloated many packages, but found the realme gallery3d to be useful. It has face sorting feature, which I found to be very nice.
However I lost the capability to sort face after deleting a random package, and I dont know which one it is.
Does anyone know which package is associated with this service?
vimal102029 said:
I personally disabled these apps
Click to expand...
Click to collapse
About your first attachment: how to know what path (e.g. com.heytap.browser) represents what app? I want to delete the weather app. How can i know what path is this?
Thank you all for these posts btw.
Edit: omg, last seen May 30, 2021 . Can somebody else answer this question?
neutrala said:
About your first attachment: how to know what path (e.g. com.heytap.browser) represents what app? I want to delete the weather app. How can i know what path is this?
Thank you all for these posts btw.
Edit: omg, last seen May 30, 2021 . Can somebody else answer this question?
Click to expand...
Click to collapse
Not the path but the app package name is that matters, you can download an app like this https://play.google.com/store/apps/details?id=com.csdroid.pkg&hl=es&gl=US
Be careful which app you choose, disabling a system dependent app may cause your device not working properly or even booting at all. You might need to perform a factory reset or flash again the firmware to solve it.
neutrala said:
I want to delete the weather app.
Click to expand...
Click to collapse
Don't. Disabling weather app on RUI 2.0 causes issues. You'll have to format data to recover.

Stock Debloat Query

How does one debloat stock? I've been looking for a good ROM to use, but haven't found a single one satisfactory, so I'm still on whatever the phone came with. I can't help being highly uneasy with it though, with all the stuff it has that I don't use nor want.
I'm sorry if it's a real stupid question, I don't really have a whole lot of knowledge about this area.
unluckyfolk said:
How does one debloat stock? I've been looking for a good ROM to use, but haven't found a single one satisfactory, so I'm still on whatever the phone came with. I can't help being highly uneasy with it though, with all the stuff it has that I don't use nor want.
I'm sorry if it's a real stupid question, I don't really have a whole lot of knowledge about this area.
Click to expand...
Click to collapse
XiaomiADBFastbootTools contains the feature of debloating. It can remove a **** ton of adware and bloatware.
Just make sure you don't remove something necessary -- if the name isn't obvious, a simple google search can tell you what the service/package does; then you can remove it.
You'll be surprised by the hidden bloatware your stock ROM has and how refreshing it feels once all that **** is removed (Looking at you, Facebook services!!! Even if Facebook is not installed, you still have facebook services on your device!)
Vel-San said:
XiaomiADBFastbootTools contains the feature of debloating. It can remove a **** ton of adware and bloatware.
Just make sure you don't remove something necessary -- if the name isn't obvious, a simple google search can tell you what the service/package does; then you can remove it.
You'll be surprised by the hidden bloatware your stock ROM has and how refreshing it feels once all that **** is removed (Looking at you, Facebook services!!! Even if Facebook is not installed, you still have facebook services on your device!)
Click to expand...
Click to collapse
OMG that's awesome! Man I'm so glad I decided to post and ask, I would have never found that utility by myself otherwise!
Do you happen to have down a list of the stuff you usually remove to debloat?
unluckyfolk said:
OMG that's awesome! Man I'm so glad I decided to post and ask, I would have never found that utility by myself otherwise!
Do you happen to have down a list of the stuff you usually remove to debloat?
Click to expand...
Click to collapse
I can help you with this, I have been collecting bloatware package names from across a vast variety of custom roms, as well as MIUI stock roms.
But remember, if you're on Android 11, don't uninstall Cell Broadcast Reciever, Android ONS, Cacert App, Ims Service, otherwise you'll get stuck in a bootloop
I have removed the packages that might result in a bootloop for you, so you're good to go, debloat whatever you want, and you can ask me about any package name that you're not familiar with.
Note: to add the list below, in Xiaomi ADB Fastboot Tools, click app manager then add apps and paste the package names you wanna uninstall/disable then hit ok. After doing so, the list of the apps/services will appear then you can choose what to disable/uninstall.
Note: if you want more ram and better performance with functionality, uninstall Gapps, excluding G-play services & play store if you use them, like those of the google safety hub app, device personlization services, google carrier services, and last but not least (disable) Android notification ranker service.
If you want more battery, uninstall Qualcomm Useshimservice com.qualcomm.useShimservice listed below.
Good Luck.
This is the full list:
com.android.vending (Play Store)
com.google.android.gms (G-play services)
com.android.htmlviewer
com.google.android.gsf
com.google.android.partnersetup
com.google.android.dialer
com.google.android.apps.messaging
com.google.android.contacts
com.android.camera
com.android.stk
com.dsi.ant.server
com.google.android.ims
com.fingerprints.extension.service
com.xiaomi.location.fused
com.miui.face
com.miui.notification
com.android.settings.intelligence
com.qti.xdivert
com.google.android.apps.turbo
com.google.android.projection.gearhead
com.google.android.ext.services
com.android.mms.service
com.android.mms
com.qualcomm.location
com.qualcomm.qti.uceShimService
com.google.ims
com.android.dreams.basic
com.android.hotwordenrollment.okgoogle
com.android.printspooler
com.google.android.onetimeinitializer
com.google.android.apps.walletnfcrel
com.google.android.tts
com.android.hotwordenrollment.okgoogle
com.android.hotwordenrollment.xgoogle
com.qualcomm.atfwd
com.android.thememanager
com.miui.gallery
com.qti.qualcomm.datastatusnotification
com.goodix.fingerprint
com.android.bips
com.android.bookmarkprovider
com.android.browser
com.android.calendar
com.android.chrome
com.android.deskclock
com.android.dreams.basic
com.android.dreams.phototable
com.android.printspooler
com.android.stk
com.android.thememanager
com.android.thememanager.module
com.android.wallpaper.livepicker
com.android.wallpaperbackup
com.android.providers.blockednumber
com.android.providers.userdictionary
com.qualcomm.qti.services.secureui
com.qualcomm.qti.cne
com.qti.pasrservice
com.mi.android.globalpersonalassistant
com.qti.diagservices
com.qualcomm.qti.services.systemhelper
com.qualcomm.qti.smq
com.quicinc.voice.activation
com.android.providers.downloads
com.qualcomm.qti.poweroffalarm
com.caf.fmradio
com.miui.fmservice
com.google.android.apps.nexuslauncher
com.google.android.apps.tips
com.google.android.settings.intelligence
com.google.ar.core
com.google.android.apps.gcs
com.google.android.apps.safetyhub
com.google.android.apps.wallpaper
com.google.android.as
com.miui.core
com.android.inputmethod.latin
org.lineageos.audiofx
org.lineageos.jelly
com.android.calculator2
org.lineageos.etar
org.lineageos.eleven
org.lineageos.recorder
com.android.gallery3d
org.lineageos.snap
com.qualcomm.qti.ims
com.qualcomm.embms
com.android.backuptokenagent
com.android.wallpaperbackup
com.qualcomm.qti.qdma
com.qualcomm.qti.seemp.service
com.qualcomm.qti.smq
com.android.messaging
com.miui.home
com.google.android.apps.recorder
com.sonymobile.xperiaweather
com.google.android.apps.cameralite
com.google.android.apps.turbo
com.pixelplusui.Paper
com.hardcodecoder.pulsemusic
com.alensw.PicFolder
com.android.camera2
com.crdoid.music
org.ifaa.aidl.manager
com.revengeos.calculator
ws.xsoh.etar
com.moez.QKSMS
code.name.monkey.retromusic
com.simpleweather
mark.via.gp
com.simplemobiletools.gallerypro
org.evolutionx.papers
mx.xperience.Yunikon
com.google.android.apps.nbu.files
com.android.providers.calendar
com.android.calllogbackup
com.qualcomm.timeservice
com.android.exchange
com.android.onetimeinitializer
com.android.printservice.recommendation
com.google.android.apps.pixelmigrate
Moe_KH said:
I can help you with this, I have been collecting bloatware package names from across a vast variety of custom roms, as well as MIUI stock roms.
But remember, if you're on Android 11, don't uninstall Cell Broadcast Reciever, Android ONS, Cacert App, Ims Service, otherwise you'll get stuck in a bootloop
I have removed the packages that might result in a bootloop for you, so you're good to go, debloat whatever you want, and you can ask me about any package name that you're not familiar with.
Note: to add the list below, in Xiaomi ADB Fastboot Tools, click app manager then add apps and paste the package names you wanna uninstall/disable then hit ok. After doing so, the list of the apps/services will appear then you can choose what to disable/uninstall.
This is the full list:
com.android.vending (Play Store)
com.google.android.gms (G-play services)
com.android.htmlviewer
com.google.android.gsf
com.google.android.partnersetup
com.google.android.dialer
com.google.android.apps.messaging
com.google.android.contacts
com.android.camera
com.android.stk
com.dsi.ant.server
com.google.android.ims
com.fingerprints.extension.service
com.xiaomi.location.fused
com.miui.face
com.miui.notification
com.android.settings.intelligence
com.qti.xdivert
com.google.android.apps.turbo
com.google.android.projection.gearhead
com.google.android.ext.services
com.android.mms.service
com.android.mms
com.qualcomm.location
com.qualcomm.qti.uceShimService
com.google.ims
com.android.dreams.basic
com.android.hotwordenrollment.okgoogle
com.android.printspooler
com.google.android.onetimeinitializer
com.google.android.apps.walletnfcrel
com.google.android.tts
com.android.hotwordenrollment.okgoogle
com.android.hotwordenrollment.xgoogle
com.qualcomm.atfwd
com.android.thememanager
com.miui.gallery
com.qti.qualcomm.datastatusnotification
com.goodix.fingerprint
com.android.bips
com.android.bookmarkprovider
com.android.browser
com.android.calendar
com.android.chrome
com.android.deskclock
com.android.dreams.basic
com.android.dreams.phototable
com.android.printspooler
com.android.stk
com.android.thememanager
com.android.thememanager.module
com.android.wallpaper.livepicker
com.android.wallpaperbackup
com.android.providers.blockednumber
com.android.providers.userdictionary
com.qualcomm.qti.services.secureui
com.qualcomm.qti.cne
com.qti.pasrservice
com.mi.android.globalpersonalassistant
com.qti.diagservices
com.qualcomm.qti.services.systemhelper
com.qualcomm.qti.smq
com.quicinc.voice.activation
com.android.providers.downloads
com.qualcomm.qti.poweroffalarm
com.caf.fmradio
com.miui.fmservice
com.google.android.apps.nexuslauncher
com.google.android.apps.tips
com.google.android.settings.intelligence
com.google.ar.core
com.google.android.apps.gcs
com.google.android.apps.safetyhub
com.google.android.apps.wallpaper
com.google.android.as
com.miui.core
com.android.inputmethod.latin
org.lineageos.audiofx
org.lineageos.jelly
com.android.calculator2
org.lineageos.etar
org.lineageos.eleven
org.lineageos.recorder
com.android.gallery3d
org.lineageos.snap
com.qualcomm.qti.ims
com.qualcomm.embms
com.android.backuptokenagent
com.android.wallpaperbackup
com.qualcomm.qti.qdma
com.qualcomm.qti.seemp.service
com.qualcomm.qti.smq
com.android.messaging
com.miui.home
com.google.android.apps.recorder
com.sonymobile.xperiaweather
com.google.android.apps.cameralite
com.google.android.apps.turbo
com.pixelplusui.Paper
com.hardcodecoder.pulsemusic
com.alensw.PicFolder
com.android.camera2
com.crdoid.music
org.ifaa.aidl.manager
com.revengeos.calculator
ws.xsoh.etar
com.moez.QKSMS
code.name.monkey.retromusic
com.simpleweather
mark.via.gp
com.simplemobiletools.gallerypro
org.evolutionx.papers
mx.xperience.Yunikon
com.google.android.apps.nbu.files
com.android.providers.calendar
com.android.calllogbackup
com.qualcomm.timeservice
com.android.exchange
com.android.onetimeinitializer
com.android.printservice.recommendation
com.google.android.apps.pixelmigrate
Click to expand...
Click to collapse
Oh wow that's quite a list. A question though: if I do as you said and Add apps, does it just make them show them all in the ADB window in the center, or will it show only the ones that are installed on my phone?
unluckyfolk said:
Oh wow that's quite a list. A question though: if I do as you said and Add apps, does it just make them show them all in the ADB window in the center, or will it show only the ones that are installed on my phone?
Click to expand...
Click to collapse
The ones that are installed.
I just edited the comment to make it simpler, you can take a look. Good luck.
unluckyfolk said:
Oh wow that's quite a list. A question though: if I do as you said and Add apps, does it just make them show them all in the ADB window in the center, or will it show only the ones that are installed on my phone?
Click to expand...
Click to collapse
Those are the packages that I was talking about above @unluckyfolk:
For ram and performance:
com.google.android.apps.gcs
com.google.android.apps.safetyhub
com.android.stk (The SIM toolkit if you dont use it)
com.google.android.apps.turbo
com.qualcomm.qti.cne
com.google.android.ims
For battery:
com.qualcomm.qti.uceShimService
You can also downgrade your resolution from the options to the right, as well as your dpi.
Moe_KH said:
The ones that are installed.
I just edited the comment to make it simpler, you can take a look. Good luck.
Click to expand...
Click to collapse
Already went south. The phone now say "Just a sec..." every time I unlock it. Even rebooted but nothing. There's something in that list that probably needs to stay.
unluckyfolk said:
Already went south. The phone now say "Just a sec..." every time I unlock it. Even rebooted but nothing. There's something in that list that probably needs to stay.
Click to expand...
Click to collapse
It seems like you have uninstalled your launcher by accident, I didnt expect you to do so lol (remove everything I mentioned without having alternatives first). I have personally removed everything above from my phone after months of testing and I faced no problems. What Custom rom are you on?
Moe_KH said:
It seems like you have uninstalled your launcher by accident, I didnt expect you to do so lol (remove everything I mentioned without having alternatives first). I have personally removed everything above from my phone after months of testing and I faced no problems. What Custom rom are you on?
Click to expand...
Click to collapse
No custom rom, I have the stock rom that comes with the phone. What's the launcher app called?
unluckyfolk said:
No custom rom, I have the stock rom that comes with the phone. What's the launcher app called?
Click to expand...
Click to collapse
com.miui.home
unluckyfolk said:
No custom rom, I have the stock rom that comes with the phone. What's the launcher app called?
Click to expand...
Click to collapse
if you cant access anything on the phone but still have the USB debugging on, use adb install (package name) command in Windows command prompt or powershell to reinstall the launcher or from Xiaomi adb fastboot tools
Moe_KH said:
com.miui.home
Click to expand...
Click to collapse
Yep, that did it. But the "Use USB for" prompt keeps crashing and popping up every 10 seconds if I chose file transfer, so still something else. I have a feeling com.miui.notification has something to do with it
@unluckyfolk com.miui.notification is the notification ranker and settings for MIUI, I don't think that it has anything to do with it, can you attach a screenshot of the crashing prompt.
Moe_KH said:
@unluckyfolk com.miui.notification is the notification ranker and settings for MIUI, I don't think that it has anything to do with it, can you attach a screenshot of the crashing prompt.
Click to expand...
Click to collapse
This one:
unluckyfolk said:
This one:
Click to expand...
Click to collapse
You can try reinstalling com.miui.notification and see if it helps, if it does not, then try clearing the cache of the MTP Host service from the app manager
Moe_KH said:
You can try reinstalling com.miui.notification and see if it helps, if it does not, then try clearing the cache of the MTP Host service from the app manager
Click to expand...
Click to collapse
Tried clearing the cache of that service but no luck. Also reinstalling com.miui.notification did nothing. Gonna try reinstalling the next thing I find that looks related.
Have to point out though, that if I leave it on "No data transfer", it doesn't crash.
Edit: Just wanted to note that if I pick the third option, it also doesn't crash. I'm flabbergasted lol
unluckyfolk said:
Tried clearing the cache of that service but no luck. Also reinstalling com.miui.notification did nothing. Gonna try reinstalling the next thing I find that looks related.
Have to point out though, that if I leave it on "No data transfer", it doesn't crash.
Click to expand...
Click to collapse
That's really weird, never faced such a problem, but you can try to Go to Settings, Select Apps-ALL, Select Media Storage and Clear Data, Go back to ALL and select Google Services Framework, Clear Data.
If that doesn't help, you can simply use adb push files /sdcard/ & adb pull files /sdcard/ commands in cmd to transfer files from your laptop/PC to your phone or vice versa.
Moe_KH said:
That's really weird, never faced such a problem, but you can try to Go to Settings, Select Apps-ALL, Select Media Storage and Clear Data, Go back to ALL and select Google Services Framework, Clear Data.
If that doesn't help, you can simply use adb push files /sdcard/ & adb pull files /sdcard/ commands in cmd to transfer files from your laptop/PC to your phone or vice versa.
Click to expand...
Click to collapse
That also didn't do it. But to be honest, I don't care enough to spend more time on this. If I select the third option, the XiaomiADBFast java app still works, and I can use other methods to transfer data, so that's alright. For now nothing else broke, so I'm still slowly removing stuff.
unluckyfolk said:
That also didn't do it. But to be honest, I don't care enough to spend more time on this. If I select the third option, the XiaomiADBFast java app still works, and I can use other methods to transfer data, so that's alright. For now nothing else broke, so I'm still slowly removing stuff.
Click to expand...
Click to collapse
Good luck. Let me know if you need any help.

[Xiaomi Redmi Note 8] accidentally deleted one 'bloatware' package too many, phone is soft bricked

So this morning I got frustrated with some of the preinstalled software on my Xiaomi and I decided to connect it per adb via usb to my PC, after which I launched the shell and manually uninstalled following packages:
com.google.android.apps.wellbeing
com.google.android.googlequicksearchbox
com.facebook.services
com.facebook.system
com.facebook.appmanager
com.miui.analytics
com.xiaomi.mipicks
com.qualcomm.qti.uceShimService
com.qualcomm.qti.callfeaturessetting
com.qualcomm.qti.remoteSimlockAuth
com.xiaomi.finddevice
with the command
Code:
pm uninstall -k --user 0 <package name>
After this, my phone restarted into Redmi-Recovery 3.0, with no direct way to get out.
Trying to reinstall doesn't work because in this moment, even if adb is able to connect, I cant do anything about the packages in the shell anymore.
From what I've now read, it seems like Xiaomis "Find Device" service is essential, so I'm guessing i need to "revert" it, but how?
I started following this tutorial on youtube on "how to unbrick your xiaomi phone" (which assumes that I need to reflash my ROM via fastboot), but by now I've gotten stuck at every single sub-step of doing this with MiFlash that I'm about to give up.
So that MiFlash is able to flash, the bootloader needs to be unlocked. I tried to do that with Mi Unlock (both 4.5 and 6.5) but that app is even less comprehensible and functional. sometimes pages load blank, sometimes dialogues are suddenly in chinese, but worst of all is that even though I have a verified Xiaomi account (via email), when I try to sign in with it in Mi Unlock, it asks me to provide a phone number, and when I do, it says that "+417*******3" is not a valid phone format, what the hell?
I've been stuck on this the whole day, I think I'm missing an obvious workaround to reinstall that package, or some kind of different solution? What am I doing wrongly?
Thanks for any help.
The command
Code:
pm uninstall -k --user 0 <package name>
doesn't remove an app, but only deletes its APK.
You reinstall the now missing APK via command
Code:
adb shell "cmd package install-existing <package name>"
Thanks for your quick reply. I've already tried this, as I've said:
even if adb is able to connect, I cant do anything about the packages in the shell anymore
Click to expand...
Click to collapse
The exact output is:
Code:
pm install-existing com.xiaomi.finddevice
cmd: Can't find service: package
Can't read properly? May be you've to buy new glasses ...
Although my friend from just over the border could've phrased it more nicely, this was essentially my issue. I somehow omitted "cmd" from the install-existing command the last time.... 5 hours wasted for nothing
Merci und Gruess

Categories

Resources