[SOLVED] FindDevice may cause a boot loop? - Xiaomi Mi 8 Questions & Answers

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.

Related

Turn Off Phone manager

Any ideas how to turn off the stock phone manager app.
Fed up with the annoying messages it gives me about power and background apps. Latest thing is it's warning me about fragmentation and it wants to clean up fragmented files!! I did't even know you could get fragmented files on phones?? Anyway not interested.
I've tried a force stop; turning all notifications settings off, removed write access etc but it won' stop.
if ur on root...just remove phone mangaer apk with titalum app
Not rooted, any other ideas?
nigsy116 said:
Not rooted, any other ideas?
Click to expand...
Click to collapse
You can uninstall, or even better, disable and enable Phone Manager with ADB. APK to look for is com.huawei.systemmanager.
Get into ADB Shell and use this commands:
To Disable:
pm disable-user --user 0 com.huawei.systemmanager
To Enable again:
pm enable --user 0 com.huawei.systemmanager
You don't need root.
bear in mind that this disables battery settings

[GUIDE] Apps safe to remove

Hello guys.
As you may know, there is a way to uninstall system apps whithout root, as described here. Is a 'generic' guide, so I'll not enter on details on it. I used this guide, and sucessfully debloated my Note 8.
Here is my list:
Code:
android.autoinstalls.config.Xiaomi.ginkgo
com.android.browser
com.android.calendar
com.android.soundrecorder
com.facebook.appmanager
com.facebook.services
com.facebook.system
com.google.android.apps.docs
com.google.android.apps.maps
com.google.android.apps.photos
com.google.android.apps.tachyon
com.google.android.apps.wellbeing
com.google.android.gm
com.google.android.googlequicksearchbox
com.google.android.marvin.talkback
com.google.android.music
com.google.android.tts
com.google.android.videos
com.google.ar.lens
com.mi.android.globalminusscreen
com.micredit.in
com.milink.service
com.mipay.wallet.id
com.mipay.wallet.in
com.miui.backup
com.miui.cleanmaster
com.miui.cloudbackup
com.miui.compass
com.miui.notes
com.miui.player
com.miui.screenrecorder
com.miui.userguide
com.miui.videoplayer
com.miui.weather2
com.miui.yellowpage
com.netflix.partner.activation
com.tencent.soter.soterserver
com.xiaomi.midrop
com.xiaomi.payment
com.xiaomi.scanner
Some advices: DO NOT uninstall cloud services if you want to use "Find My Phone". Also, DO NOT uninstall an app if you are unsure about it.
If you want a really clean device, I recommend to turn off your phone, take out the SIM card, turn on again and restore to factory defaults. Then, do the initial setup WITHOUT connecting to any network. By this way, you'll avoid any unwanted app to get updated automatically, PLUS avoinding initial installation of some apps like Facebook and Netflix (by uninstalling android.autoinstalls.config.Xiaomi.ginkgo). I'm using my phone for a week, without problems.
TIP 01: if you want to get the entire list, open an adb prompt on your computer, as described on list bellow, and use the following command:
Code:
adb shell pm list packages > list.txt
. Then, open the file list.txt on notepad.
TIP 02: MIUI isn't good to work with a Google App profile. But, if you need to use it, you need to uninstall the apps for this profile also. Setup you profile, and just after disconnect from any network. Then, go to adb command prompt and type
Code:
adb shell pm list users
. Press ENTER and you will get a list of 'users' on your phone, like:
Code:
Users:
UserInfo{0:Proprietário:13} running
UserInfo{12:security space:13} running
The first number is what you need. Just change the '0' (zero) on the commands for uninstall for the number you get (in case above, 12). A NOTE: for me is 12 because I'm using built-in Second Space feature to handle my work profile (and I recommend you to do the same), so the number for you maybe will be different.
See ya!
very nice list. i'm a bitt scared about removing com.mi.android.globalminusscreen. do you know what it is?
augugusto said:
very nice list. i'm a bitt scared about removing com.mi.android.globalminusscreen. do you know what it is?
Click to expand...
Click to collapse
App Vault, it's just used in stock launcher.
what about com.miui.securitycenter?
augugusto said:
what about com.miui.securitycenter?
Click to expand...
Click to collapse
It's an essential part of Miui system to work, you will get bootloop if you remove it completely (device won't boot).
Anyway this method doesn't remove any app completely so you would need root to achieve it, just the data user is wiped in a way that you no longer can't interact with the app. But with Miui Security Center you will have forced close for some apps and you won't access to some functions in settings.
Thanks! I found a few more "services" that I didn't like in this list.
https://medium.com/@mail.anonymous....devices-via-android-debug-bridge-2e5bcd94dfa0
What happens if I remove the default messaging app?
AppaDambis said:
What happens if I remove the default messaging app?
Click to expand...
Click to collapse
Unless you have another messaging app you won't be able to send messages............

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.

Question Fix for the phone rebooting after a few seconds on?

Hello everyone,
my phone (Redmi Note 11) reboots almost instantly on the pin code input screen. I have the logs if anyone wants to check and tell me what the problem might be. (It's probably not the location bug btw, I have made a post on how to fix it myself )
logs: https://drive.google.com/file/d/1II1QuNV4m6qSdvuCYgpaH5Yh7hsiCCZl/view?usp=sharing
Thanks, Adonys
Fixed:
Disable Google play services with adb:
adb shell pm disable-user --user 0 com.google.android.gms
then in the settings delete all of the cached data and revert it to first version

Question Uninstall_Failed_User_Restricted

sala maleukum brothers. sorry for taking yours time- i buy x90 pro plus. oxygen. try to bloatware...some okay, but pem---vivomusic---browser--assitant not. on flyme it works. but oxygen no. it say user restricted. is any way to do it? thank you/
update:
adb uninstall --user 0
pm disable-user --user 0
adb shell service call package
not work also.
Some apps are installed with system user permissions. You can disable them if you run code as system user.
Here is how to do that: https://forum.xda-developers.com/t/...vivo-system-app-ver-2-5.4533545/post-87930803
Waalaikumsalam
I don't recommend removing packages, but some packages can be removed as follows:
Bash:
adb shell service call package 131 s16 com.android.bbkmusic i32 0 i32 0
To restore
Bash:
adb shell service call package 131 s16 com.android.bbkmusic i32 1 i32 0
Some packages can be restored from Settings, Apps & permissions, Recover uninstalled system apps
Hope this helps
thank you all for yours helping brothers. i can not try 1 way. it is too many braind need to have, 2 method is not work- browser.vivo do not unistalled by
adb shell service call package 13
and pm unitall user.
will look for simple command to do it. and by the wy, what about stock launcher? maybe anyone knows...when start to install, let say evie launcher os nova, it okay. but when reboot phone- again default launcher.
then i need to run evie as app.
then again set it to default.
and after reboot again....and autostart not work too by the way. not this launcher, not firewall. look like i need to root device. but i do not want to.
maybe any another way/method to remove them totally and install only 1 launcher?
To use an alternative launcher, you must log in to a Chinese vivo account (create from V-Appstore) and enable 'Allow the system launcher to be replaced' from the settings, then everything should work fine.
Changing the launcher works without a Vivo account if you disable the stock launcher.
Without stock launcher however you cannot lock an application which may matter for notifications. Also not every launcher has an recent apps drawer.
extremecarver said:
Without stock launcher however you cannot lock an application which may matter for notifications. Also not every launcher has an recent apps drawer.
Click to expand...
Click to collapse
In samsung, you can remove the stock launcher without losing anything. And there is a separate app management list where you can tell the system what apps you don't want to kill when you click clear all, and what apps the system won't kill in deep doze mode, so basically you don't need to lock apps manually. A big difference between those 2 brands. Vivo still needs to improve more I guess.
Yeah Samsung will also never kill google FCM.... Only BBK phones do... Not even Meizu or Xiaomi or Huawei do that in their China OS if you manage to install google Services...
Tiverask said:
Waalaikumsalam
I don't recommend removing packages, but some packages can be removed as follows:
Bash:
adb shell service call package 131 s16 com.android.bbkmusic i32 0 i32 0
To restore
Bash:
adb shell service call package 131 s16 com.android.bbkmusic i32 1 i32 0
Some packages can be restored from Settings, Apps & permissions, Recover uninstalled system apps
Hope this helps
Click to expand...
Click to collapse
Bootloop X90 Pro Plus after heavy debloat
Hi everyone I sent my X90 Pro plus to bootloop after deleting the packages indicated in this guide and now I can no longer solve it. It remains on the black screen with the wording VIVO and does not go on From recovery I have tried clearing the...
forum.xda-developers.com
I have bootloop after delete some packages from the list.... Please help on my thread
Run the proper debloat script next time instead of taking a scalpel to your phone.
luontokoodaus said:
Run the proper debloat script next time instead of taking a scalpel to your phone.
Click to expand...
Click to collapse
I dont know why, but after the hard reset , i use for the Second time the same of command list in this thread plus the debloat script of other thread... And work Perfect ... No bootloop this time..
try all ways (exept- runcode as system user, it is not quite simple for my understanding)- and...some sucess- can replace generally system launcher. but look like remove something needles, so step-counter app shutdown. try many others- but still, you make steps but not counting. maybe anyone has idea how restore is- look like it is healthy servise or vivoassistant (jovi)/. this one not work too-
131 s16 com.vivo.healthwidget i32 1 i32 0

Categories

Resources