Do not disable com.android.updater - Redmi K20 Pro / Xiaomi Mi 9T Pro Guides, News, & D

I uninstalled com.android.updater, and fow a while everything was OK. Then today the battery was depleted, and after recharging the phone went into a bootloop. I had to install com.android.updater again, and after that everything went back to normal.
How did I find out it was com.android.updater? When in a bootloop, the Android system is actually already up and running. I was able to do adb logcat. There I saw that the system was looking for com.android.updater.
Code:
04-18 17:07:20.036 7445 7606 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: Thread-4
04-18 17:07:20.036 7445 7606 E AndroidRuntime: java.lang.RuntimeException: System error: connot find system app : com.android.updater
Note that I'm using the original China Stable ROM version 10.4.4.0(PFKCNXM), all stock, locked bootloader, not rooted. Except for the customization that we can do without root: Install Google services etc, and disable/uninstall packages through ADB.
I didn't want to upgrade to MIUI 11 because I've seen reports of it being slow and draining battery, and I want the NFC functionality, so I had to stick with China ROM.

I can't find that in my Mi 9T Pro (using the latest xiaomi.eu 20.3.27)
When I search Update I find pl.zdunex25.updater, com.android.dynsystem and com.google.android.configupdater and have all 3 frozen with SDMaid.

DeepAnger said:
I can't find that in my Mi 9T Pro (using the latest xiaomi.eu 20.3.27)
When I search Update I find pl.zdunex25.updater, com.android.dynsystem and com.google.android.configupdater and have all 3 frozen with SDMaid.
Click to expand...
Click to collapse
Oh I'm using the China Stable ROM version 10.4.4.0(PFKCNXM), sorry for not mentioning it earlier. I think custom ROMs might be immune to this sort of thing. Thanks, I've updated the post with my ROM info.

I uninstalled com.android.updater, and i cant restore it(. Do you can help me? I use redmi 4 and firmware miui_HMNote4Global_V8.5.6.0.MBFMIED_6f4b63e4fd_6.0. How i can restore one app whitout reinstall all?(

Brooont said:
I uninstalled com.android.updater, and i cant restore it(. Do you can help me? I use redmi 4 and firmware miui_HMNote4Global_V8.5.6.0.MBFMIED_6f4b63e4fd_6.0. How i can restore one app whitout reinstall all?(
Click to expand...
Click to collapse
Process of restoring generally depends on how did you 'uninstall' - please precisely describe how you did

I connect phone to computer with adb, click "debloater" and write com.android.updater in "custom" field, and click uninstall.

Brooont said:
I connect phone to computer with adb, click "debloater" and write com.android.updater in "custom" field, and click uninstall.
Click to expand...
Click to collapse
Still depending on how your debloater worked, try the folowing command(s):
adb shell cmd package install-existing com.android.updater
if it fails then:
adb shell pm enable com.android.updater
First make sure that adb connection is properly established:
adb devices

C:\adb_run\bin>adb devices
List of devices attached
NF8LHYVSNJZTGY7L recovery
C:\adb_run\bin>adb shell pm enable com.android.updater
adb server is out of date. killing...
* daemon started successfully *
/sbin/sh: pm: not found
C:\adb_run\bin>adb shell cmd package install-existing com.android.updater
/sbin/sh: cmd: not found
C:\adb_run\bin>
Something wrong...

Brooont said:
C:\adb_run\bin>adb devices
List of devices attached
NF8LHYVSNJZTGY7L recovery
C:\adb_run\bin>adb shell pm enable com.android.updater
adb server is out of date. killing...
* daemon started successfully *
/sbin/sh: pm: not found
C:\adb_run\bin>adb shell cmd package install-existing com.android.updater
/sbin/sh: cmd: not found
C:\adb_run\bin>
Something wrong...
Click to expand...
Click to collapse
Something wrong/strange with your adb deamon
Btw, you used certain Debloater - you should better ask in the corresponding Debloater forum/thread how to un-do

Тhanks!

wpyh said:
I uninstalled com.android.updater, and fow a while everything was OK. Then today the battery was depleted, and after recharging the phone went into a bootloop. I had to install com.android.updater again, and after that everything went back to normal.
How did I find out it was com.android.updater? When in a bootloop, the Android system is actually already up and running. I was able to do adb logcat. There I saw that the system was looking for com.android.updater.
Code:
04-18 17:07:20.036 7445 7606 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: Thread-4
04-18 17:07:20.036 7445 7606 E AndroidRuntime: java.lang.RuntimeException: System error: connot find system app : com.android.updater
Note that I'm using the original China Stable ROM version 10.4.4.0(PFKCNXM), all stock, locked bootloader, not rooted. Except for the customization that we can do without root: Install Google services etc, and disable/uninstall packages through ADB.
I didn't want to upgrade to MIUI 11 because I've seen reports of it being slow and draining battery, and I want the NFC functionality, so I had to stick with China ROM.
Click to expand...
Click to collapse
Would it be safe to disable in ADB, rather than uninstall?
Also, is it only responsible for OS updates, or does it handle things like updating the Google Play app?

hey guys..
is there any method for unrooted device..? disable commanda is not working.;
C:\Users\Desktop\fastboot_adb(1.0.32)_071114_r21>adb shell pm disable-user --user 0 com.android.
updater
Package com.android.updater new state: default

t-mobile_mda said:
hey guys..
is there any method for unrooted device..? disable commanda is not working.;
C:\Users\Desktop\fastboot_adb(1.0.32)_071114_r21>adb shell pm disable-user --user 0 com.android.
updater
Package com.android.updater new state: default
Click to expand...
Click to collapse
I would suggest not touching android.updater. it gives bootloop if disabled or uninstalled

What should we remove then

Related

[Q] com.asus.pcsynclauncher

Hello,
thank you in advance for your help.
Facts: rooted ICS 4.0.3 IMLK74K.DE_epad-9.4.2.15-20120221
Problem: Everytime when i like to open Accounts & Syncronisation (don't know the exact translation in german it's called "Kontakte & Synchronisation") the dialog suddenly quits.
I installed log viewer to check what's going on, you can see the error message in the Screenshot.
So i think the problem is, that i deleted Pcsynclauncher.apk from ASUS, my question is, can anyone tell me how to extract that file from the Stock ROM i downloaded from here or can anyone post the file on the board?
THX
DidierSchnee said:
Hello,
thank you in advance for your help.
Facts: rooted ICS 4.0.3 IMLK74K.DE_epad-9.4.2.15-20120221
Problem: Everytime when i like to open Accounts & Syncronisation (don't know the exact translation in german it's called "Kontakte & Synchronisation") the dialog suddenly quits.
I installed log viewer to check what's going on, you can see the error message in the Screenshot.
So i think the problem is, that i deleted Pcsynclauncher.apk from ASUS, my question is, can anyone tell me how to extract that file from the Stock ROM i downloaded from here or can anyone post the file on the board?
THX
Click to expand...
Click to collapse
I'm guessing you did not unlock the bootloader yet Try extracting the zip I have attached to your "C:\" , install adb on your pc then run the following command
Code:
adb push C:\PCSyncLauncher.apk /system/app
Code:
adb push C:\PCSyncLauncher.odex /system/app
Follow this guide if you need help installing ADB (http://www.theandroidsoul.com/how-to-install-adb-on-windows-full-guide/)
Thank your for your help.
Had some problems with adb push (permission denied, adb remount gave me operation failed), so i copied the files on the prime and "installed" them with the terminal!
problem solved.
DidierSchnee said:
Thank your for your help.
Had some problems with adb push (permission denied, adb remount gave me operation failed), so i copied the files on the prime and "installed" them with the terminal!
problem solved.
Click to expand...
Click to collapse
Great job thinking out-side of the box. This is how a Dev is born, hope you will join us soon
thx, but there is only one problem called time
Sent from my Transformer Prime TF201 using Tapatalk 2
And I still have that problem, even after installing files
Code:
[email protected]:/data/system/dropbox # cat *
Process: com.android.settings
Flags: 0x8be45
Package: com.android.settings v15 (4.0.3-WW_epad-9.2.2.6-20120525)
Build: asus/WW_epad/TF101G:4.0.3/IML74K/WW_epad-9.2.2.6-20120525:user/release-keys
java.lang.IllegalArgumentException: Unknown package: com.asus.pcsynclauncher
at android.os.Parcel.readException(Parcel.java:1331)
at android.os.Parcel.readException(Parcel.java:1281)
at android.content.pm.IPackageManager$Stub$Proxy.getApplicationEnabledSetting(IPackageManager.java:2423)
at android.app.ApplicationPackageManager.getApplicationEnabledSetting(ApplicationPackageManager.java:1153)
at com.android.settings.accounts.ManageAccountsSettings.updateUi(ManageAccountsSettings.java:198)
at com.android.settings.accounts.ManageAccountsSettings.onStart(ManageAccountsSettings.java:105)
at android.app.Fragment.performStart(Fragment.java:1532)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:862)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1032)
at android.app.BackStackRecord.run(BackStackRecord.java:622)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1382)
at android.app.FragmentManagerImpl$1.run(FragmentManager.java:426)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
1|[email protected]:/data/system/dropbox # ls -la /system/app/PCSyncLauncher.*
-rw-r--r-- root root 44092 2013-05-26 18:01 PCSyncLauncher.apk
-rw-r--r-- root root 18968 2013-05-26 18:01 PCSyncLauncher.odex
adb push didn't work for me either, so copied files randomly. I tried to find the cause but failed. My guess is that somewhere in the system must be written information about this package, but it isn't and I don't know where it should be.
Ok, now I even tried something else but still have negative result:
Code:
pm install /sdcard/Download/PCSyncLauncher.apk
pkg: /sdcard/Download/PCSyncLauncher.apk
Failure [INSTALL_FAILED_DEXOPT]
need a different version
Hi, I just took the poor decision of uninstalling the com.asus.pcsynclauncher package from my TF201 , so I am getting the same exception when trying to access accounts & sync.
I just tried the APK supplied by MasterZen88, however I get error log entries "Package com.asus.pcsynclauncher has mismatched uid: 10003 on disk, 10053 in settings" and a "dexopt failed on .... [email protected]' res = 65280" when installing, which ends up failing.
I assume it is because my ICS version is different: IML74.WW_epad-9.4.2.28-20120525
What do you think? If my assumption is correct, is there anyone that can supply me with the right APK and ODEX?
Thank you for your help.

ADB uninstall package command: accidental space, mobile hangs

Hi I bought this brand new Samsung Galaxy J6 today. Immediately I notice the ****load amout of bloatware on it, so I've looked around and found tis ADB method of uninstalling services. (without root required)
Now I'm kind of new to this software, and I'm having fun uninstalling some crap. And then, one little finger slip and offcourse the command gets a completely different meaning and offcourse it immediately ****s up the whole phone.
From working fine 5 mins ago to 'hanging' on Samsung logo now. Really don't know what to do.
If there's some advanced user that could help me out, that would be awesome.
Here's the exact log in CMD: (Windows 7 Professional) Notice the accidental space between "rubin" and ".app" that's causing the instant drama!
j6lte:/ $ pm uninstall -k --user 0 com.samsung.android.rubin .app
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:761)
at android.os.BinderProxy.shellCommand(Binder.java:815)
at com.android.commands.pm.Pm.runShellCommand(Pm.java:334)
at com.android.commands.pm.Pm.runUninstall(Pm.java:726)
at com.android.commands.pm.Pm.run(Pm.java:174)
at com.android.commands.pm.Pm.main(Pm.java:107)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:287)
255|j6lte:/ $
And here's an example of how I intended the command: (without space)
j6lte:/ $ pm uninstall -k --user 0 com.samsung.android.rlc
Success
Many thanks in advance,
Tritium2

Greenify on Non root phone

Hello,
Im using MIUI 10 android 9 non rooted.
When i want activate agressive doze via adb [ adb -d shell pm grant com.oasisfeng.greenify android.permission.WRITE_SECURE_SETTINGS ], i get this error message:
D:\ANDROID\TOOLS\ADB-FASTBOOT>adb -d shell pm grant com.oasisfeng.greenify android.permission.WRITE_SECURE_SETTINGS
Security exception: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS.
java.lang.SecurityException: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS.
at android.app.ContextImpl.enforce(ContextImpl.java:1822)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1850)
at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:1391)
at com.android.server.pm.permission.PermissionManagerService.access$900(PermissionManagerService.java:89)
at com.android.server.pm.permission.PermissionManagerService$PermissionManagerInternalImpl.grantRuntimePermission(PermissionManagerService.java:2118)
at com.android.server.pm.PackageManagerService.grantRuntimePermission(PackageManagerService.java:5604)
at com.android.server.pm.PackageManagerShellCommand.runGrantRevokePermission(PackageManagerShellCommand.java:1730)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:217)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21860)
at android.os.Binder.shellCommand(Binder.java:629)
at android.os.Binder.onTransact(Binder.java:527)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2809)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4014)
at android.os.Binder.execTransact(Binder.java:728)
D:\ANDROID\TOOLS\ADB-FASTBOOT>
I read tutorial here https://greenify.uservoice.com/know...o-grant-permissions-required-by-some-features
Any help would be appreciated
exodius48 said:
Hello,
Im using MIUI 10 android 9 non rooted.
When i want activate agressive doze via adb [ adb -d shell pm grant com.oasisfeng.greenify android.permission.WRITE_SECURE_SETTINGS ], i get this error message:
D:\ANDROID\TOOLS\ADB-FASTBOOT>adb -d shell pm grant com.oasisfeng.greenify android.permission.WRITE_SECURE_SETTINGS
Security exception: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS.
java.lang.SecurityException: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS.
at android.app.ContextImpl.enforce(ContextImpl.java:1822)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1850)
at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:1391)
at com.android.server.pm.permission.PermissionManagerService.access$900(PermissionManagerService.java:89)
at com.android.server.pm.permission.PermissionManagerService$PermissionManagerInternalImpl.grantRuntimePermission(PermissionManagerService.java:2118)
at com.android.server.pm.PackageManagerService.grantRuntimePermission(PackageManagerService.java:5604)
at com.android.server.pm.PackageManagerShellCommand.runGrantRevokePermission(PackageManagerShellCommand.java:1730)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:217)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21860)
at android.os.Binder.shellCommand(Binder.java:629)
at android.os.Binder.onTransact(Binder.java:527)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2809)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4014)
at android.os.Binder.execTransact(Binder.java:728)
D:\ANDROID\TOOLS\ADB-FASTBOOT>
I read tutorial here https://greenify.uservoice.com/know...o-grant-permissions-required-by-some-features
Any help would be appreciated
Click to expand...
Click to collapse
Most likely your ROM is incompatible. If you are keen on Greenify, switch to a custom ROM and check.
tnsmani said:
Most likely your ROM is incompatible. If you are keen on Greenify, switch to a custom ROM and check.
Click to expand...
Click to collapse
Custom rom? So i need to unlock bootloader my device , install twrp etc etc.? OK thanks.
I dont want to do it, so better to uninstall greenify.
exodius48 said:
Custom rom? So i need to unlock bootloader my device , install twrp etc etc.? OK thanks.
I dont want to do it, so better to uninstall greenify.
Click to expand...
Click to collapse
Good plan. Greenify really isn't needed on your device/rom.
When you run ADB on the computer make sure the CMD (the black window) is running As Administrator.
It really is worth it to run these ADB commands on a Non-Rooted device, Greenify works great.
I have an OPPO K5 - China domestic version. When I tried to grant permission to GSAM I also had the same long error message. Then I discovered further down the Developer Options menu, there's a tab called "Disable Permission Monitoring", I switched it on and the adb command worked without the long error message. Not sure if MIUI has a similar tab though.
exodius48 said:
I read tutorial here https://greenify.uservoice.com/know...o-grant-permissions-required-by-some-features
Click to expand...
Click to collapse
Hi.
Link is broken. Any tutorial copy to post here?
Regards.

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.

[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