restore settings suggestions - Xiaomi Mi A2 / 6X Questions & Answers

hi everbody, I uninstalled settings suggestions via ADB command "pm uninstall -k --user 0" and now backups do not work, I want to restore the setting suggestions app can someone extract apk from stock android 10 rom? or is there any other way to restore it?

441Excelsior said:
hi everbody, I uninstalled settings suggestions via ADB command "pm uninstall -k --user 0" and now backups do not work, I want to restore the setting suggestions app can someone extract apk from stock android 10 rom? or is there any other way to restore it?
Click to expand...
Click to collapse
Have you tried the reverse command?
pm install -k --user 0 ...

Related

Guide: Remove Huawei bloatware - Noob friendly

Hello Guys
I found many threads talking about removing huawei apps, but it was not that organized for all
Here is a quick-easy guide for all:
1. Install adb files
https://drive.google.com/open?id=0B0MKgCbUM0itSUhpUklCTFpzWkE&authuser=0
Main thread here:
https://forum.xda-developers.com/showthread.php?t=2588979
2. Enable USB debugging from developer options:
• To enable developer options:
- Step 1: go to Settings.
- Step 2: Find and open "System" option.
- Step 3: Select "About phone".
- Step 4: Tap "Build number" almost seven times you will see a prompt “You are now a Developer “.
• Go to developer options, enable USB debugging.
3. Connect your phone to your computer and press yes if it asks you to trust the PC.
4. Launch command prompt (windows key + R) and type cmd, and enter the following commands:
- “cd c:\adb”
- “adb shell”
- “abd devices” (make sure your device appears in the list)
- “adb uninstall -k --user 0” + the app you want to remove from the list below:
For example:
This command will delete Huawei mirror app:
adb uninstall -k --user 0 com.huawei.mirror
- adb uninstall -k --user 0 com.huawei.android.launcher - removes Huawei launcher app. ( don’t remove if you don’t have a custom launcher )
- adb uninstall -k --user 0 com.huawei.android.mirrorshare - removes MirrorShare feature.
- adb uninstall -k --user 0 com.huawei.android.totemweather - removes Huawei Weather app.
- adb uninstall -k --user 0 com.huawei.compass - removes Huawei Compass app.
- adb uninstall -k --user 0 com.huawei.hidisk - removes Huawei File Manager app.
- adb uninstall -k --user 0 com.huawei.phoneservice - removes HiCare app.
- adb uninstall -k --user 0 com.huawei.mirror - removes Huawei Mirror app.
- adb uninstall -k --user 0 com.huawei.vassistant - removes HiVoice app.
- adb uninstall -k --user 0 com.nuance.swype.emui - removes Huawei Swype functions.
- adb uninstall -k --user 0 com.huawei.search – removes HiSearch app
- adb uninstall -k --user 0 com.android.mediacenter - removes Huawei Stock Music App
- adb uninstall -k --user 0 com.huawei.appmarket - removes Huawei App Gallery
- adb uninstall -k --user 0 com.android.email - removes Stock Huawei Email Composer
- adb uninstall -k --user 0 com.microsoft.translator – removes Translator
All credits for:
RedSkull23 (Huawei App list)
Snoop05 (adb files and drivers)
Thanks, going to try this out as soon as a reach my adb machine.
adb uninstall -k --user 0 com.nuance.swype.emui - removes Huawei Swype functions.
does this move back home recents gestures?
demon2112 said:
adb uninstall -k --user 0 com.nuance.swype.emui - removes Huawei Swype functions.
does this move back home recents gestures?
Click to expand...
Click to collapse
It removes the Swype keyboard.
Removing huawei launcher improves performance of multitasking but it goes back to old oreo recent apps style.
Is it possible to eliminate the startup animation that my operator has left and only leave Huawei's?
Or just use HiSuite in adb / debugging mod and uninstall all of the apps you doesn't need...
cygnus56 said:
Is it possible to eliminate the startup animation that my operator has left and only leave Huawei's?
Click to expand...
Click to collapse
Does this improve phone experience? I've heard these apps are pretty bad? Particularly the Hisense app
On my phone, removing Huawei launcher breaks the system gestures
Both the home gesture and the multitasking gesture stopped working
Creeperr said:
On my phone, removing Huawei launcher breaks the system gestures
Both the home gesture and the multitasking gesture stopped working
Click to expand...
Click to collapse
It will do as they are part of the launcher. Installing something like Fluid NG will give you an alternative.
Nice recap for noobs. Just keep in mind guys, if you break something from removing a system app the only way to get it back is to do a factory reset (unless you are completely unlocked/rooted when you have other options). Be especially careful if you want to remove the launcher, there are several threads talking about this.
If nothing else getting rid of the idiotic 'swipe down' Hi-Search is an absolute necessity, and it doesn't seem to hurt anything even for people in Asia who have the Hi-Vision stuff. It is ridiculous that the only way to bring down notifications and such is to pull from one single pixel at the top of the screen. GRRRR...
kaibosh99 said:
Nice recap for noobs. Just keep in mind guys, if you break something from removing a system app the only way to get it back is to do a factory reset (unless you are completely unlocked/rooted when you have other options). Be especially careful if you want to remove the launcher, there are several threads talking about this.
If nothing else getting rid of the idiotic 'swipe down' Hi-Search is an absolute necessity, and it doesn't seem to hurt anything even for people in Asia who have the Hi-Vision stuff. It is ridiculous that the only way to bring down notifications and such is to pull from one single pixel at the top of the screen. GRRRR...
Click to expand...
Click to collapse
If I disable HiSearch will I also lose HiVision?? I want to know how many calories my orange has. :laugh:
kaibosh99 said:
Just keep in mind guys, if you break something from removing a system app the only way to get it back is to do a factory reset
Click to expand...
Click to collapse
That's not the case, because you only uninstall it for the current user the APK is still on the system so you can use the following to reinstall:
adb shell cmd package install-existing <package name>
Grondah said:
That's not the case, because you only uninstall it for the current user the APK is still on the system so you can use the following to reinstall: adb shell cmd package install-existing <package name>
Click to expand...
Click to collapse
That sure isn't mentioned in any of the bloatware removal threads so far, are you sure you can re-install it without a wipe? I would definitely look into getting rid of the launcher if so, and gut the hyper aggressive memory saver.
It gives me error like "Failure [not installed for 0]"
kaibosh99 said:
That sure isn't mentioned in any of the bloatware removal threads so far, are you sure you can re-install it without a wipe? I would definitely look into getting rid of the launcher if so, and gut the hyper aggressive memory saver.
Click to expand...
Click to collapse
Yep, absolutely positive. I've uninstalled/reinstalled both powergenie and the launcher a couple of times.
Grondah said:
Yep, absolutely positive. I've uninstalled/reinstalled both powergenie and the launcher a couple of times.
Click to expand...
Click to collapse
Can you please send in the command for installing and reinstalling PowerGenie please? Thanks..
[email protected] said:
Can you please send in the command for installing and reinstalling PowerGenie please? Thanks..
Click to expand...
Click to collapse
in adb shell do:
pm uninstall --user 0 com.huawei.powegenie
and
cmd package install-existing com.huawei.powegenie
I do something wrong.
Code:
C:\adb>adb shell
HWLYA:/ $ adb devices
/system/bin/sh: adb: not found
127|HWLYA:/ $

Xiaomi MIUI THEME application - guide for uninstall

Hello,
I recently successfully deleted almost all bloatware garbage from my K20 Pro, but after last update of firmware, there is new THEMES app and I can not find the name of this package, so I am unable to uninstall/block it in adb shell command line.
Anyone here who can help me with this unwanted app?
Thank you very much!
Hi,
Please use
Code:
adb shell pm uninstall -k --user 0 com.android.thememanager

Disabled apps re enable by background updates

Hello colleagues, I have been presenting a problem for 2 months already with the software, I had Google Duo, Photos and YouTube disabled, because I really don't use them, but a couple of months ago, the applications were re-enabled with an update of languages, for example "Google Photos languages" and the application is enabled again, without my permission and without being able to control it.
I have tried to remove the application by ADB Shell, but I have not been successful, I have written to Google Support about the situation and they have not been able to help me.
This is very frustrating ....
My cell phone is a Huawei P30 Pro, with EMUI 10, version 10.0.0.203 (C605E19R1P3), stock, no root.
Could you please help me?
oh my this happened to me all manually disabled apps were re enabled after a restart! @SilviuO
Cienight said:
oh my this happened to me all manually disabled apps were re enabled after a restart! @SilviuO
Click to expand...
Click to collapse
Try removing them again with ADB and start command as ADMIN. Remove them 3-4 times, each time after reset. And use this command:
adb shell pm uninstall --user com.google.android.apps.tachyon
adb shell pm uninstall --user 0 com.google.android.apps.photos
adb shell pm uninstall --user com.google.android.youtube
Sent from my VOG-L29 using XDA Labs
no this is much worse. I noticed that yesterday night the phones was the whole time awake so i restarted the phone. After the restart the boot logo came appeared twice then i noticed that all, i mean ALL apps whether disabled by adb or manually through the applist were re enabled including hms core etc.
SilviuO said:
Try removing them again with ADB and start command as ADMIN. Remove them 3-4 times, each time after reset. And use this command:
adb shell pm uninstall --user com.google.android.apps.tachyon
adb shell pm uninstall --user 0 com.google.android.apps.photos
adb shell pm uninstall --user com.google.android.youtube
Sent from my VOG-L29 using XDA Labs
Click to expand...
Click to collapse
Thank you, it has worked out for me. I've tried so hard to get rid of them.
Massive props for you. :good:

uninstalled com.android.updater now Xiaomi Mi9 lite is rebooting into TWRP

Hi ,
sorry for coming here that blank, I watched some tutorials the last days, and finally could root my phone: Xiaomi Mi 9 Lite
- everything worked fine with the:
- - unlocking period
- - installing of TWRP ,
- - installing of MAGISK
I installed all my favourite apps
- and I got rid of some apps (bloatware) which I wasn't using and which were communicating in the background.
So far everything worked. Until I restarted after I got rid of:
C:\platform-tools>adb shell
pyxis:/ $ pm uninstall --user 0 com.xiaomi.xmsf
Success
pyxis:/ $ pm uninstall --user 0 com.miui.hybrid
Success
pyxis:/ $ pm uninstall --user 0 com.xiaomi.finddevice
Success
pyxis:/ $ pm uninstall --user 0 com.xiaomi.discover
Success
pyxis:/ $ pm uninstall --user 0 com.android.updater
Success
Click to expand...
Click to collapse
Is there a way in fastboot or TWRP to just undo /reinstall, those services? Or do I have to totally reinstall MIUI?
right now I can not get into the android view. I just can get into fastboot or TWRP, but I can't send any information from my PC to my Phone to install any app. I would greatly be happy for any help / tutorial, where I wouldn't have to completly reinstall the phone
V2020 said:
Hi ,
sorry for coming here that blank, I watched some tutorials the last days, and finally could root my phone: Xiaomi Mi 9 Lite
- everything worked fine with the:
- - unlocking period
- - installing of TWRP ,
- - installing of MAGISK
I installed all my favourite apps
- and I got rid of some apps (bloatware) which I wasn't using and which were communicating in the background.
So far everything worked. Until I restarted after I got rid of:
Is there a way in fastboot or TWRP to just undo /reinstall, those services? Or do I have to totally reinstall MIUI?
right now I can not get into the android view. I just can get into fastboot or TWRP, but I can't send any information from my PC to my Phone to install any app. I would greatly be happy for any help / tutorial, where I wouldn't have to completly reinstall the phone
Click to expand...
Click to collapse
Uninstall for current user:
>> adb shell pm uninstall -k --user 0 <pkg-name>
Re-install:
>> adb shell cmd package install-existing <pkg-name>
Thank you so much for your help,
*fixed by installing MIUI 12
but it seems I have totally broken the miui / android It didn't work with the install / reinstall, so I tried to install the OS back again.
But this didn't work aswell. I also tried total erazing the phone and seting it up again, didn't work aswell.
Which way can I follow to actually completely reset the phone? I find different tutorials, with reinstalling the:
miui_PYXISGlobal_V11.0.3.0.QFCMIXM_7423b46ef1_10.0
miui_PYXISEEAGlobal_V11.0.3.0.QFCEUXM_d5ccaacaf9_10.0
either via TWRP or with a PC tool from xiaomi MiFlashSetup_eng
When I try to use MiFlashSetup it tells me there is no bat-File in the unzipped image.
When I try to usw TWRP it tells me, that it was successfull, but it keeps reloading TWRP, I can't get into Android :crying:
How can I fix it?
Click to expand...
Click to collapse

Question "Logd" Draining Battery issue

I have uninstalled the msa app via adb in my Redmi Note 10 Pro. Since then logd app is darining my battery.
Any solutions pls?
Thanks in advance!
1. If you have TWRP recovery:
Code:
TWRP > Mount > System > Advanced > File Manager > /system/bin/logd > Rename > /system/bin/logd.bak
2. If you are rooted use a terminal emulator like Termux from f-droid and run this script:
Code:
su
mv /system/bin/logd /system/bin/logd.bak
reboot
miravision said:
1. If you have TWRP recovery:
Code:
TWRP > Mount > System > Advanced > File Manager > /system/bin/logd > Rename > /system/bin/logd.bak
2. If you are rooted use a terminal emulator like Termux from f-droid and run this script:
Code:
su
mv /system/bin/logd /system/bin/logd.bak
reboot
Click to expand...
Click to collapse
Appreciate the suggestion. But neither do I have custom TWRP nor my device is rooted. Any other through ADB?
Do you know the reson behind that?
It's logging the missing app reference. Use fastboot and flash stock image to restore. Next time while debloating disable the packages instead of uninstalling
adb shell pm uninstall -k --user 0 com.miui.msa.global
adb shell pm disable -k --user 0 com.miui.msa.global
abhishekarora said:
I have uninstalled the msa app via adb in my Redmi Note 10 Pro. Since then logd app is darining my battery.
Any solutions pls?
Thanks in advance!
Click to expand...
Click to collapse
Hey, please reading and increase your knowledge before deling....
Now flash stock and if it's startup
Stopl and reading otherwise you can get much more probs.
miravision said:
It's logging the missing app reference. Use fastboot and flash stock image to restore. Next time while debloating disable the packages instead of uninstalling
adb shell pm uninstall -k --user 0 com.miui.msa.global
adb shell pm disable -k --user 0 com.miui.msa.global
Click to expand...
Click to collapse
I used the XiaomiADBFastbootTools-6.0 tool to reinstall and Disable it. So, no need to flash stock image.
Thanks for help!
Laptapper said:
Hey, please reading and increase your knowledge before deling....
Now flash stock and if it's startup
Stopl and reading otherwise you can get much more probs.
Click to expand...
Click to collapse
Every body mentioned in community that msa can be uninstalled. It is just for collecting data and targeting adds. I knew that I can reinstall the app via XiaomiADBFastbootTools-6.0 tool as a backup if something go haywire.
So, I did my reading bro..
Thanks for advice though.
abhishekarora said:
Every body mentioned in community that msa can be uninstalled. It is just for collecting data and targeting adds. I knew that I can reinstall the app via XiaomiADBFastbootTools-6.0 tool as a backup if something go haywire.
So, I did my reading bro..
Thanks for advice though.
Click to expand...
Click to collapse
Did reinstall, then disable, fix your problem ?

Categories

Resources