Question Unable to delete some system apps - Realme X7

I am unable to uninstall theme store and music app from my realme x7 using adb tool.Can anybody help me regarding the updated cmd commands

Run adb shell
Then run
Pm uninstall -k - - user 0 package name

Related

uninstall system apps for invited user witout root

Hi,
I know how to uninstall system apps without root. I managed to on my note 8 and my tab s4 on the main account. I used the command line "pm uninstall -k --user 0 <name of package>".
But on my tab s4 when connecting on the invited user or on a created new user, this command line doesn't work. It says that the app isn t installed while i can see it and lauch it on the tab.
Is someone know what to change in this command line to unintall app system without root for invited users or new created users?
Thanks in advance
Thank to all. My problem is solved. I ve found the solution.
For those who are interested :
On the admin account i used this command line :
"pm uninstall -k --user 0 <name of package>"
I ve created 2 invited user accounts. I tried to chang the user 0 by user 1, user 2, user 3 etc... and it worked for the second account with this command :
"pm uninstall -k --user 10 <name of package>".
It worked too for the third account with this command :
"pm uninstall -k --user 11 <name of package>".
Note that the number change if you flash stock with odin.
Now im going to find how to restore a samsung cloud save or a backup.ab save on the invited users accounts.
Hope this will help.
See you

⋆ [2022-09-28] Remove system apps on Realme UI 2.0 using ADB ⋆

Remove system apps on Realme UI 2.0 using ADB
Updated : 2022-09-28​
Tested On:
Model: RMX2001
Hardware Version: RMX_2001_11​
RealmeUI Version: V2.0
ColorOS Version: V11​
Android Version: 11
Android Security Update: 2022-03-05
Build Number: RMX2001_11_C.18​
Baseband Version: M_V3_P10,M_V3_P10​
Kernel Version: 4.14.186+​
Notes:
DO NOT INSTALL OTA UPDATE ON A DEBLOATED PHONE. YOU WILL FACE BOOT LOOPS.
RE-INSTALL / RE-ENABLE BLOATWARE APPS, RESTART PHONE AND THEN INSTALL OTA UPDATE.
This method should not delete your phone data, however always take full backup of your phone for safety.
This method uninstalls/disables the apps for user 0. It does not physically remove the apps from your system partition.
Requirements:
Your phone
A computer with Windows/Linux/MacOS
Enable "Use USB to : File Transfer" from notification menu after connecting your phone to PC, else ADB will not work.
Install ADB + Fastboot Drivers : https://www.xda-developers.com/install-adb-windows-macos-linux
Setup ADB + Fastboot Interface : https://www.xda-developers.com/adb-fastboot-any-directory-windows-linux
Un-install a system app
Code:
adb shell pm uninstall -k --user 0 <package.name>
List all system apps which you have un-installed
Code:
adb shell "(pm list packages -u && pm list packages) | sed 's/^package://' | sort | uniq -u"
Re-install a system app
Code:
adb shell cmd package install-existing <package.name>
Re-install all uninstalled apps at once on a Linux machine
Code:
for i in $(adb shell "(pm list packages -u && pm list packages) | sed 's/^package://' | sort | uniq -u"); do adb shell "cmd package install-existing ${i}"; done
Disable a system app
Code:
adb shell pm disable-user --user 0 <package.name>
List all system apps which you have disabled
Code:
adb shell "pm list packages -d | sed 's/^package://' | sort | uniq -u"
Re-enable a system app
Code:
adb shell pm enable --user 0 <package.name>
Re-enable all disabled system apps at once on a Linux Machine
Code:
for i in $(adb shell "pm list packages -d | sed 's/^package://' | sort | uniq -u"); do adb shell "pm enable --user 0 ${i}"; done
Code:
# AOSP & Google Apps
adb shell pm uninstall -k --user 0 com.android.chrome
adb shell pm uninstall -k --user 0 com.android.hotwordenrollment.okgoogle
adb shell pm uninstall -k --user 0 com.android.stk
adb shell pm uninstall -k --user 0 com.google.android.apps.nbu.paisa.user
adb shell pm uninstall -k --user 0 com.google.android.feedback
adb shell pm uninstall -k --user 0 com.google.android.googlequicksearchbox
adb shell pm uninstall -k --user 0 com.google.android.youtube
# ColorOS & Oppo Apps
adb shell pm uninstall -k --user 0 com.coloros.assistantscreen
adb shell pm uninstall -k --user 0 com.coloros.backuprestore
adb shell pm uninstall -k --user 0 com.coloros.childrenspace
adb shell pm uninstall -k --user 0 com.coloros.compass2
adb shell pm uninstall -k --user 0 com.coloros.healthcheck
adb shell pm uninstall -k --user 0 com.coloros.healthservice
adb shell pm uninstall -k --user 0 com.coloros.personalassistant.overlay.common
adb shell pm uninstall -k --user 0 com.coloros.phonemanager
adb shell pm uninstall -k --user 0 com.coloros.securepay
adb shell pm uninstall -k --user 0 com.coloros.securitykeyboard
adb shell pm uninstall -k --user 0 com.coloros.video
adb shell pm uninstall -k --user 0 com.coloros.weather2
adb shell pm uninstall -k --user 0 com.oppo.quicksearchbox
adb shell pm uninstall -k --user 0 com.oppo.music
# Facebook Apps
adb shell pm uninstall -k --user 0 com.facebook.appmanager
adb shell pm uninstall -k --user 0 com.facebook.services
adb shell pm uninstall -k --user 0 com.facebook.system
# Heytap Apps
# You can remove all if you dont use Realme/Heytap online account
adb shell pm uninstall -k --user 0 com.heytap.market
adb shell pm uninstall -k --user 0 com.heytap.themestore
adb shell pm uninstall -k --user 0 com.heytap.browser
adb shell pm uninstall -k --user 0 com.heytap.cloud
adb shell pm uninstall -k --user 0 com.heytap.habit.analysis
adb shell pm uninstall -k --user 0 com.heytap.mcs
adb shell pm uninstall -k --user 0 com.heytap.openid
adb shell pm uninstall -k --user 0 com.heytap.pictorial
adb shell pm uninstall -k --user 0 com.heytap.usercenter
# Nearme & Realme Apps
# Secure Payment Protection Feature
adb shell pm uninstall -k --user 0 com.nearme.atlas
adb shell pm uninstall -k --user 0 com.realme.securitycheck
# Red Tea Mobile Apps
# Get new SIM, recharge data plans when abroad.
adb shell pm uninstall -k --user 0 com.redteamobile.roaming
# Tencent Apps
adb shell pm uninstall -k --user 0 com.tencent.soter.soterserver
# Misc Apps
adb shell pm uninstall -k --user 0 com.glance.internet
adb shell pm uninstall -k --user 0 com.finshell.fin
Credits:
Doug Lynch of XDA Portal : https://www.xda-developers.com/author/doug-lynch/
Original Article : https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access
Changelog
#1 : 15 June 2020
Initial Release
#2 : 20 June 2020
Added more AOSP, Google, MediaTek apps
#3 : 11 September 2020
Removed critical apps from the list
Remade the list for B45 update.
#4 : 15 September 2020
Added system app - com.heytap.mcs
#5 : 17 September 2020
Removed critical system app - com.coloros.safecenter
Removed critical system app - com.coloros.encryption
Removed system-locked app - com.coloros.lockassistant
#6 : 26 September 2020
Added new info
Added more devices apart from Realme 6
#7 : 10 October 2020
Added "pm disable-user --user 0" method
#8 : 12 May 2021
Remade the list, removed apps that were causing issues.
Added commands for batch re-installing and re-enabling apps of apps
#9 : 13 May 2021
Added more apps
#10 : 1 October 2021
Removed critical system app - com.coloros.weather2
Removed critical system app - com.coloros.weather.service
Guide is only applicable to Realme 6 (Realme UI 2.0, Android 11)
#11: 28 September 2022
Added OTA bootloop warning
Fixed adb commands
Added testing device information for transparency
#12 : 26 February 2023
Replaced com.coloros.weather.service with com.coloros.weather2
Added Finshell Pay and Glance apps
Reserved #2
Savior ????
thx
Remove hot apps and hot games
After the newest update of Jul, I have got two new icons/folder that tries to list entries from app market. Any way to remove those?
I might have remove those before using the mentioned approach but dont remember which packages were they.
udfaq8888 said:
After the newest update of Jul, I have got two new icons/folder that tries to list entries from app market. Any way to remove those? I might have remove those before using the mentioned approach but dont remember which packages were they.
Click to expand...
Click to collapse
Those are launcher activities from App Market App. Open App Market > Settings > Hot Games/Apps > Disable. It should now be hidden inside your stock launcher. They might re-appear again. Best way is to use a custom launcher and hide Hot App/Games permanently.
Can I remove all this packages? Is it safe?
Shirswa said:
Can I remove all this packages? Is it safe?
Click to expand...
Click to collapse
Yes, you can remove but be aware before removing any essential package required for proper device functioning.
Shirswa said:
Can I remove all this packages? Is it safe?
Click to expand...
Click to collapse
Technically its safe to remove all packages, I tested it personally and my phone was able to boot. If you dont need a particular app or functionality, you can safely remove that package.
the app security check drove me crazy, thanks for adding it!
too bad still now way to remove App Market. Can disable everything from the settings within the app and disable permissions
hi im using realme 6 pro is this applicable? using automatic? all listed there?
davejimson said:
hi im using realme 6 pro is this applicable? using automatic? all listed there?
Click to expand...
Click to collapse
yes you can use it on Realme 6 Pro too. I would recommend manual method instead.
prathameshsd said:
yes you can use it on Realme 6 Pro too. I would recommend manual method instead.
Click to expand...
Click to collapse
Thanks, anyway i can't understand the steps how to to automatic, i tried copying the code and save it as .bat , i clicked it run like blink only, nothing happens
davejimson said:
Thanks, anyway i can't understand the steps how to to automatic, i tried copying the code and save it as .bat , i clicked it run like blink only, nothing happens
Click to expand...
Click to collapse
make sure you have
installed adb drivers properly
added adb directory to system PATH variable
device gets detected in adb
set USB mode to file transfer
pasted the .bat file inside adb directory
if running bat file fails, go for manual method.
Removing com.coloros.encryption breaks the stock launcher.
Also trying to remove com.coloros.lockassistant returns "Failure [DELETE_FAILED_INTERNAL_ERROR]".
Everything else works fine :good:
Dont remove com.coloros.safecenter ! It breaks "display over other apps" permission!
wenna.speedy said:
Dont remove com.coloros.safecenter ! It breaks "display over other apps" permission!
Click to expand...
Click to collapse
zahid ramirez said:
Removing com.coloros.encryption breaks the stock launcher.
Also trying to remove com.coloros.lockassistant returns "Failure [DELETE_FAILED_INTERNAL_ERROR]".
Everything else works fine :good:
Click to expand...
Click to collapse
thanks for the heads up, I have updated the post.
Hello guys.
I uninstalled a lot of bloat from my realme 6i, but I accidentally deleted the phone and contacts app! And I don't know how they are called. Can anybody help me here? Just the stock android phone app would do. Thank you.
erw23 said:
Hello guys.
I uninstalled a lot of bloat from my realme 6i, but I accidentally deleted the phone and contacts app! And I don't know how they are called. Can anybody help me here? Just the stock android phone app would do. Thank you.
Click to expand...
Click to collapse
Phone app : adb shell cmd package install-existing com.android.phone
Contacts app : adb shell cmd package install-existing com.android.contacts
Messages app : adb shell cmd package install-existing com.androidm.mms
Also
adb shell "(pm list packages -u && pm list packages) | sort | uniq -u | cut -c 9-"
for all packages you have uninstalled.

How to reinstall system app correctly after removing through ADB.

I uninstalled heytap cloud through ADB by command pm uninstall -k --user 0 com.heytap.cloud
Then I reinstalled it with command
ADB shell CMD install-existing package --user 0 com.heytap.cloud and it was installed correctly
But I am unable to sign in nothing happens when I click on sign in or cloud backup button in settings pls help
Shubham9876 said:
I uninstalled heytap cloud through ADB by command pm uninstall -k --user 0 com.heytap.cloud
Then I reinstalled it with command
ADB shell CMD install-existing package --user 0 com.heytap.cloud and it was installed correctly
But I am unable to sign in nothing happens when I click on sign in or cloud backup button in settings pls help
Click to expand...
Click to collapse
Copy your data to pc or pendrive and Factory reset it.
I have kept that as a last alternative any better option ?

Kung-Foo-Kamel's no nonsense "How To Root Your Black Shark 3"

I spent countless hours and downloaded over 100Gb of files and found nearly all how-to's and files borked in someway, so I managed to patch together a working repeatable process to root the Black Shark 3, I also managed to do this with the CN version of JoyUI but I hated it, and switch straight back to the global.
This is for the Black Shark 3 Global only
Note:
1: I will start by saying, your best to place the "Unlockfiles" directory and contents straight into your "C drive" this will make it easy when you open a command prompt, you can then just type: cd c:\unlockfiles and your good to go.
2: I'm not responsible if you FUBAR your phone, that's your problem, not mine
3: before you start this, please ffs log the out of the Mi account on the phone and shut that crap down, don't go any further until you have done this, to be honest, I don't know why anyone would eve log into this garbage in the first place, seems worse than all the google crap.
4: This "How To" is for Windows 10 only, all drivers appeared to be installed automatically by default.
5: Link to download required files: Click Here To Download
6: Password for the zip file is: Password
Unlocking the Bootloader:
1: Enable developer mode in the settings of your BS3
2: Enable USB Debugging in developer settings on your BS3
3: Connect phone to to PC via USB cable
4: Open a command prompt in the Unlockfiles directory
5: Check ADB connection to the phone by entering: adb devices
6: If okay, then type: adb reboot edl
7: Phone will reboot into emergency download mode, screen will be off, but phone will still be connected.
8: Open the MiFlash tool provided in the Unlockfiles folder, ignore any silly messages it gives you about not finder a flash script, then hit select in the MiFLash app and selct the Bootunlocker folder.
9: Press the refresh button, your BS3 should show up under devices as COM10 or something similar, then hit flash, with any luck it should say "successful"
10: Now, hold down the volume down button, then press and hold down the power button, as soon as the phone turns on, release the power button, but keep pressing the volume down until it starts in the bootloader.
11: If you did that correctly, you should be able to type fastboot devices in your command prompt and it should show as connected.
12: In the command prompt run the fbunlock.bat found in the Unlockfiles directory, this will now unlock the bootloader and reboot the phone
13: If successful it will show that the bootloader is unlocked on the phone, leave the phone in this mode if you want to continue with twrp and rooting the phone.
Installing TWRP and Rooting the phone
1: Only follow this guide if you now want to root your phone, be aware that you will need to install the provided rom image.
2: Make sure you command prompt is open in the Unlockfiles directory
3: Test your phone is connected properly by typing: fastboot devices
4: Install TWRP by typing: fastboot flash recovery twrp.img
5: Reboot the phone into recovery mode by typing: fastboot reboot recovery
6: You should now be entering into twrp, it may be in Chinese at first, one of the buttons will switch it to English
7: Now select advanced in twrp, then sideload, twrp should go into sideload mode and wait for the file to be pushed through adb on the pc
8: In your command prompt, type: adb sideload global_stock_rom.zip
9: Go grab a coffee and wait
10: when the rom is installed, hit reboot in twrp
11: If successful your phone will now have botted straight into the OS
12: In you command prompt, type: adb reboot fastboot
13: Once the phone has rebooted, using the volume buttons, select "reboot to bootloader"
14: Check your connection by typing the following in the command prompt: fastboot devices
15: Flash the rooted bootloader file by typing: fastboot flash boot rooted_boot.img
16: Once completed type: fastboot reboot
17: You may be presented with a prompt to wipe the phone and restore to factory, just do it if required.
18: Once you phone has booted to the OS, transfer the Magisk.apk to you downloads folder on the phone, this can be done through windows in "My Computer" as your phone should be connected as a storage device, just make sure you set the phone to transfer files mode when the prompt comes up.
19: Install the Magisk.apk, if everything was successful, Magisk will say installed.
20: Go read or watch a tutorial on how to use Magisk.
21: Have fun with your newly unlocked and rooted Black Shark 3
Additional fun, debloat your phone
1: Head over to here: https://selivan.github.io/2020/02/25/removing-bloatware-from-xiaomi-miui-android.html
2: Fire up the command prompt and navigate to you Unlockfiles directory
3: Check your connection to the phone: adb devices
4: Enter the android shell by typing: adb shell
5: List all packages installed on the phone by typing: pm list packages
6: If you wish to search for packages you can type: pm list packages Xiaomi or pm list packages google
7: To uninstall a package just type: pm uninstall --user 0 app.package.name (Obviously just replace app.package.name with the package name of your choice)
8: I removed all the safe to remove packages from the website listed above, and the phone works super great, even Shark Space 3 switched from Chinese text to English.
I will end this by saying, what a great piece of hardware this phone is, but like most of these Android devices, its plagued with total crap software and half arsed security, just enough to cause people issues if they want to actually have some fun with the device, in my opinion, if you want a phone with good security and well thought out software, then just by an Apple iPhone, I use an iPhone for daily work and all things important, I use Android devices for gaming and tinkering, just like I use a Mac for all things important and a PC for gaming and tinkering.
Regards
Kung-Foo-Kamel
Hi a quick question why do I have to flash a rooted boot image? Isn't it simple after flashing twrp just to flash magisk directly like everyone does ? Or it will brick the device I mean I don't want to install another rom version I just need to install root in my current official global rom that's it
Hope you can clarify all of my queries
Regards
[10:56:33 COM10]:MiFlash 2020.3.14.0
[10:56:33 COM10]:vboytest index:10
[10:56:33 COM10]:flash in thread name:COM10,id:9
[10:56:33 COM10]:flash in thread name:COM10,id:9
[10:56:33 COM10]:vboytest do open :
[10:56:33 COM10]: serial port COM10 opend successfully
[10:56:33 COM10]:[COM10]:start flash.
[10:56:34 COM10]:cannot receive hello packet,MiFlash is trying to reset status!
[10:56:35 COM10]:try to reset status.
[10:56:37 COM10]:write time out try agian 1
[10:56:39 COM10]:write time out try agian 2
[10:56:42 COM10]:write time out try agian 3
Tried all of the avaible online theroes about it holding power button to restart power cycle, entering edl mode without prompt changing usb port actiavating windows test mode Nothing works. Is there another solution?
Wissler9 said:
[10:56:33 COM10]:MiFlash 2020.3.14.0
[10:56:33 COM10]:vboytest index:10
[10:56:33 COM10]:flash in thread name:COM10,id:9
[10:56:33 COM10]:flash in thread name:COM10,id:9
[10:56:33 COM10]:vboytest do open :
[10:56:33 COM10]: serial port COM10 opend successfully
[10:56:33 COM10]:[COM10]:start flash.
[10:56:34 COM10]:cannot receive hello packet,MiFlash is trying to reset status!
[10:56:35 COM10]:try to reset status.
[10:56:37 COM10]:write time out try agian 1
[10:56:39 COM10]:write time out try agian 2
[10:56:42 COM10]:write time out try agian 3
Tried all of the avaible online theroes about it holding power button to restart power cycle, entering edl mode without prompt changing usb port actiavating windows test mode Nothing works. Is there another solution?
Click to expand...
Click to collapse
I could not get any of the newer versions of myflash to work, the one in my download which is 2018 does work, I was getting similar errors as you.
And th only way to enter edl for me was adb reboot edl
I tried all sorts and could not do it manually, probably going to need the special Qualcomm EDL USB Trigger cable.
Josh23 said:
Hi a quick question why do I have to flash a rooted boot image? Isn't it simple after flashing twrp just to flash magisk directly like everyone does ? Or it will brick the device I mean I don't want to install another rom version I just need to install root in my current official global rom that's it
Hope you can clarify all of my queries
Regards
Click to expand...
Click to collapse
I couldn't get it to work and I did almost brick my device, so I went with the full flash method, long winded, but it works, try it directly, worst case is you will have to do what I have done.
Any link for CN?
I have been flashing the ROM but Game Dock and Hyper Charging is CN, How to change English,
CTS PROFILE flase on magisk how to fix that
Kung-Foo-Kamel said:
I spent countless hours and downloaded over 100Gb of files and found nearly all how-to's and files borked in someway, so I managed to patch together a working repeatable process to root the Black Shark 3, I also managed to do this with the CN version of JoyUI but I hated it, and switch straight back to the global.
This is for the Black Shark 3 Global only
Note:
1: I will start by saying, your best to place the "Unlockfiles" directory and contents straight into your "C drive" this will make it easy when you open a command prompt, you can then just type: cd c:\unlockfiles and your good to go.
2: I'm not responsible if you FUBAR your phone, that's your problem, not mine
3: before you start this, please ffs log the out of the Mi account on the phone and shut that crap down, don't go any further until you have done this, to be honest, I don't know why anyone would eve log into this garbage in the first place, seems worse than all the google crap.
4: This "How To" is for Windows 10 only, all drivers appeared to be installed automatically by default.
5: Link to download required files: Click Here To Download
6: Password for the zip file is: Password
Unlocking the Bootloader:
1: Enable developer mode in the settings of your BS3
2: Enable USB Debugging in developer settings on your BS3
3: Connect phone to to PC via USB cable
4: Open a command prompt in the Unlockfiles directory
5: Check ADB connection to the phone by entering: adb devices
6: If okay, then type: adb reboot edl
7: Phone will reboot into emergency download mode, screen will be off, but phone will still be connected.
8: Open the MiFlash tool provided in the Unlockfiles folder, ignore any silly messages it gives you about not finder a flash script, then hit select in the MiFLash app and selct the Bootunlocker folder.
9: Press the refresh button, your BS3 should show up under devices as COM10 or something similar, then hit flash, with any luck it should say "successful"
10: Now, hold down the volume down button, then press and hold down the power button, as soon as the phone turns on, release the power button, but keep pressing the volume down until it starts in the bootloader.
11: If you did that correctly, you should be able to type fastboot devices in your command prompt and it should show as connected.
12: In the command prompt run the fbunlock.bat found in the Unlockfiles directory, this will now unlock the bootloader and reboot the phone
13: If successful it will show that the bootloader is unlocked on the phone, leave the phone in this mode if you want to continue with twrp and rooting the phone.
Installing TWRP and Rooting the phone
1: Only follow this guide if you now want to root your phone, be aware that you will need to install the provided rom image.
2: Make sure you command prompt is open in the Unlockfiles directory
3: Test your phone is connected properly by typing: fastboot devices
4: Install TWRP by typing: fastboot flash recovery twrp.img
5: Reboot the phone into recovery mode by typing: fastboot reboot recovery
6: You should now be entering into twrp, it may be in Chinese at first, one of the buttons will switch it to English
7: Now select advanced in twrp, then sideload, twrp should go into sideload mode and wait for the file to be pushed through adb on the pc
8: In your command prompt, type: adb sideload global_stock_rom.zip
9: Go grab a coffee and wait
10: when the rom is installed, hit reboot in twrp
11: If successful your phone will now have botted straight into the OS
12: In you command prompt, type: adb reboot fastboot
13: Once the phone has rebooted, using the volume buttons, select "reboot to bootloader"
14: Check your connection by typing the following in the command prompt: fastboot devices
15: Flash the rooted bootloader file by typing: fastboot flash boot rooted_boot.img
16: Once completed type: fastboot reboot
17: You may be presented with a prompt to wipe the phone and restore to factory, just do it if required.
18: Once you phone has booted to the OS, transfer the Magisk.apk to you downloads folder on the phone, this can be done through windows in "My Computer" as your phone should be connected as a storage device, just make sure you set the phone to transfer files mode when the prompt comes up.
19: Install the Magisk.apk, if everything was successful, Magisk will say installed.
20: Go read or watch a tutorial on how to use Magisk.
21: Have fun with your newly unlocked and rooted Black Shark 3
Additional fun, debloat your phone
1: Head over to here: https://selivan.github.io/2020/02/25/removing-bloatware-from-xiaomi-miui-android.html
2: Fire up the command prompt and navigate to you Unlockfiles directory
3: Check your connection to the phone: adb devices
4: Enter the android shell by typing: adb shell
5: List all packages installed on the phone by typing: pm list packages
6: If you wish to search for packages you can type: pm list packages Xiaomi or pm list packages google
7: To uninstall a package just type: pm uninstall --user 0 app.package.name (Obviously just replace app.package.name with the package name of your choice)
8: I removed all the safe to remove packages from the website listed above, and the phone works super great, even Shark Space 3 switched from Chinese text to English.
I will end this by saying, what a great piece of hardware this phone is, but like most of these Android devices, its plagued with total crap software and half arsed security, just enough to cause people issues if they want to actually have some fun with the device, in my opinion, if you want a phone with good security and well thought out software, then just by an Apple iPhone, I use an iPhone for daily work and all things important, I use Android devices for gaming and tinkering, just like I use a Mac for all things important and a PC for gaming and tinkering.
Regards
Kung-Foo-Kamel
Click to expand...
Click to collapse
adb shell pm uninstall -k --user 0 com.xiaomi.mipicks
adb shell pm uninstall -k --user 0 com.miui.msa.global
adb shell pm uninstall -k --user 0 com.miui.cloudservice
adb shell pm uninstall -k --user 0 com.miui.cloudbackup
adb shell pm uninstall -k --user 0 com.xiaomi.glgm
adb shell pm uninstall -k --user 0 com.xiaomi.payment
adb shell pm uninstall -k --user 0 cn.wps.xiaomi.abroad.lite
adb shell pm uninstall -k --user 0 com.xiaomi.midrop
adb shell pm uninstall -k --user 0 com.miui.yellowpage
adb shell pm uninstall -k --user 0 com.miui.android.fashiongallery
adb shell pm uninstall -k --user 0 com.miui.miservice
adb shell pm uninstall -k --user 0 com.miui.bugreport
adb shell pm uninstall -k --user 0 com.google.android.youtube
adb shell pm uninstall -k --user 0 com.google.ar.lens
adb shell pm uninstall -k --user 0 com.google.android.googlequicksearchbox
adb shell pm uninstall -k --user 0 com.google.android.apps.wellbeing
adb shell pm uninstall -k --user 0 com.facebook.services
adb shell pm uninstall -k --user 0 com.facebook.system
adb shell pm uninstall -k --user 0 com.facebook.appmanager
adb shell pm uninstall -k --user 0 com.android.wallpaper.livepicker
adb shell pm uninstall -k --user 0 com.android.stk
adb shell pm uninstall -k --user 0 com.google.android.apps.googleassistant
adb shell pm uninstall -k --user 0 com.miui.hybrid
adb shell pm uninstall -k --user 0 com.android.chrome
adb shell pm uninstall -k --user 0 com.google.android.gm
adb shell pm uninstall -k --user 0 com.google.android.apps.subscriptions.red
adb shell pm uninstall -k --user 0 com.google.android.apps.walletnfcrel
adb shell pm uninstall -k --user 0 com.google.android.gms.location.history
adb shell pm uninstall -k --user 0 com.google.android.apps.maps
adb shell pm uninstall -k --user 0 com.miui.videoplayer
adb shell pm uninstall -k --user 0 com.miui.mishare.connectivity
adb shell pm uninstall -k --user 0 com.miui.analytics
adb shell pm uninstall -k --user 0 com.google.android.apps.setupwizard.searchselector <
adb shell pm uninstall -k --user 0 com.netflix.partner.activation
adb shell pm uninstall -k --user 0 com.ebay.carrier
adb shell pm uninstall -k --user 0 com.android.vending
adb shell pm uninstall -k --user 0 com.miui.micloudsync
adb shell pm uninstall -k --user 0 com.miui.newmidrive
adb shell pm uninstall -k --user 0 com.miui.player
adb shell pm uninstall -k --user 0 com.mi.globalbrowser
adb shell pm uninstall -k --user 0 com.miui.cleanmaster
adb shell pm uninstall -k --user 0 com.miui.notes
adb shell pm uninstall -k --user 0 com.google.android.calendar
adb shell pm uninstall -k --user 0 com.google.android.apps.messaging
adb shell pm uninstall -k --user 0 com.micredit.in
adb shell pm uninstall -k --user 0 com.mipay.wallet.in
adb shell pm uninstall -k --user 0 com.xiaomi.scanner
Hi, after I use the XiaoMi Flash tool, I can't get into fastboot mode with your steps. I tried going to it by holding Volume Up + Plugging in USB to go into fastboot mode but the fbunlock.bat gives me a 'Unrecognized command flashing unlock_critical' . Can you help me? Thank you!
EDIT: Nevermind, realized I had to launch the .bat file when I was at bootloader, not at the "fastboot" option on the Bootloader.
Worked fine for me. Very easy instructions, I have 8/128GB Global Version (not CN flashed to Global), and oh god, my game space (the one in game) is all in Chinese (this can probably be fixed by reinstalling an English APK of it). And lastly I have CTS Profile Failed on my Magisk, any fix for that?
Small question: Do your notifications also show up on your lock screen?
Kung-Foo-Kamel said:
5: Reboot the phone into recovery mode by typing: fastboot reboot recovery
Click to expand...
Click to collapse
After doing this step my BS3 just stuck at Black Shark logo. Any solution ?
Btw thanks for the guide.
Edit: It's work again after i press hold down the volume down button dan power button

Question HOW TO FIX "Failure [not installed for 0]" , WHILE UNINSTALLING SYSTEM APPS

Using ADB shell i was able to uninstall bloatware apps from my OPPO F9 pro ,and all those apps that i uninstalled using -
Code:
adb shell
pm uninstall -k --user 0 <package_name>
were also those apps being identified by app inspector ,means i was able to see the their package name in app inspector and they were system apps as well but ,there are some other system apps like oppo appstore,compass, oppo theme store,oppo game center,etc those are neither shown in app inspector(idk why) where package information of other system+user apps is available and nor i can delete them ,BUT they are installed in my phone.
I receive the following error while uninstalling these system apps(taking example when i try 2 uninstall game center)-
Code:
adb shell
pm uninstall -k --user 0 com.coloros.gamespace
Failure [not installed for 0]
Now , "Failure [not installed for 0]" is the error when i try to uninstall any app that already is uninstalled (OR) doesn't exist on the android, BUT again ,these apps those im facing error to uninstall are actually there in my phone.
You might also wish 2 know that for these same apps ,how do i got the package name like the one in the example;com.coloros.gamespace since its package was not even shown in app inspector(or any other app) ,then i would like 2 tell u that i just searched in google typing "list of oppo bloatware" ,searched for the package name of these apps from websites those app inspector was unable to identify.
If anyone can help me in this issue i would really be thankful
... probably NOT in the S21ULTRA thread....
armankang said:
If anyone can help me in this issue i would really be thankful
Click to expand...
Click to collapse
Not an OPPO thread but you need to look for your phone specific packages with:
adb shell pm list packages​
Using the above ADB Shell command, you can print the list of the app package names for all apps installed on your Android device. You can use this command with different parameters to get a more specific list of app packages.
For instance, if you want to list the system apps only, use
adb shell pm list packages -s
In order to list all third-party apps installed on your Android phone or tablet, you issue the following command.
adb shell pm list packages -3
Do you want ADB Shell to show the list of all enabled or disabled apps on your device, try the command with parameters like ‘-d‘ (for disabled apps), ‘-e‘ (for enabled apps), and ‘-u‘ (for uninstalled apps).
adb shell pm list packages -d
adb shell pm list packages -epm list packages
adb shell pm list packages -u
To list app packages with specific keywords filter.
adb shell pm list packages <keywords>
To find the list of apps along with their associated packages, execute the following command
adb shell pm list packages -f
You can easily get a list of group packages by a certain manufacturer, or come common term. For instance, if you want to list all apps by Google, you can use the following command.
adb shell pm list packages | grep 'google'
You can replace “google” with “samsung”, “huawei”, “xiaomi”, “miui”, “evenwell”, “android”, “facebook”, etc. to get desired list of packages.
Ipse_Tase said:
... probably NOT in the S21ULTRA thread....
Click to expand...
Click to collapse
sorry bro i will change it i was just confused as it was my 3rd time only using xda threads to ask questions
mzsquared said:
Not an OPPO thread but you need to look for your phone specific packages with:
adb shell pm list packages​
Using the above ADB Shell command, you can print the list of the app package names for all apps installed on your Android device. You can use this command with different parameters to get a more specific list of app packages.
For instance, if you want to list the system apps only, use
adb shell pm list packages -s
In order to list all third-party apps installed on your Android phone or tablet, you issue the following command.
adb shell pm list packages -3
Do you want ADB Shell to show the list of all enabled or disabled apps on your device, try the command with parameters like ‘-d‘ (for disabled apps), ‘-e‘ (for enabled apps), and ‘-u‘ (for uninstalled apps).
adb shell pm list packages -d
adb shell pm list packages -epm list packages
adb shell pm list packages -u
To list app packages with specific keywords filter.
adb shell pm list packages <keywords>
To find the list of apps along with their associated packages, execute the following command
adb shell pm list packages -f
You can easily get a list of group packages by a certain manufacturer, or come common term. For instance, if you want to list all apps by Google, you can use the following command.
adb shell pm list packages | grep 'google'
You can replace “google” with “samsung”, “huawei”, “xiaomi”, “miui”, “evenwell”, “android”, “facebook”, etc. to get desired list of packages.
Click to expand...
Click to collapse
Thanks for replying bro.
So i got to know that i was getting that "Failure [not installed for 0]" error because the app packages given(for the same apps) those i searched for in google were not the same as for mine device's system apps ,so i got that error.
So when i just opened the list of packages using "pm list packages -___" i got the package names for those apps ,BUT still even now when i try to uninstall
those system apps using adb command with their correct package name i get a new error-
Code:
adb shell
pm uninstall --user 0 <package_name>
Failure [DELETE_FAILED_INTERNAL_ERROR]
In fact i can't even disable them like usually i can disable other system apps/user apps.
*When i use command pm disable for those apps showing no error-
Code:
adb shell
pm disable-user --user 0 <pkg_name>
Package <pkg_name> new state: disabled-user
*When i get error(maybe not error but app stays in default state with no change) for other system apps-
Code:
adb shell
pm disable-user --user 0 <pkg_name>
Package <pkg_name> new state: default
In short, neither i am able to uninstall them nor i can disable them, if it is because the system isn't giving me permission to do so then is there any other adb command that needed to be executed before these to get access first and then uninstall/disable.
BTW im fully relying on ADB shell to grant permissions or perform any operation ,i don't have root in my phone ,so plz tell if there is any method for non-rooted devices,thx
PLZ help.
without root you wont be able to delete system level apps.
uicnren said:
without root you wont be able to delete system level apps.
Click to expand...
Click to collapse
ok bro thanks
armankang said:
Thanks for replying bro.
So i got to know that i was getting that "Failure [not installed for 0]" error because the app packages given(for the same apps) those i searched for in google were not the same as for mine device's system apps ,so i got that error.
So when i just opened the list of packages using "pm list packages -___" i got the package names for those apps ,BUT still even now when i try to uninstall
those system apps using adb command with their correct package name i get a new error-
Code:
adb shell
pm uninstall --user 0 <package_name>
Failure [DELETE_FAILED_INTERNAL_ERROR]
In fact i can't even disable them like usually i can disable other system apps/user apps.
*When i use command pm disable for those apps showing no error-
Code:
adb shell
pm disable-user --user 0 <pkg_name>
Package <pkg_name> new state: disabled-user
*When i get error(maybe not error but app stays in default state with no change) for other system apps-
Code:
adb shell
pm disable-user --user 0 <pkg_name>
Package <pkg_name> new state: default
In short, neither i am able to uninstall them nor i can disable them, if it is because the system isn't giving me permission to do so then is there any other adb command that needed to be executed before these to get access first and then uninstall/disable.
BTW im fully relying on ADB shell to grant permissions or perform any operation ,i don't have root in my phone ,so plz tell if there is any method for non-rooted devices,thx
PLZ help.
Click to expand...
Click to collapse
Are Google Apps, system apps?
****Hawk said:
Are Google Apps, system apps?
Click to expand...
Click to collapse
Afaik every app that you can't uninstall without adb is a system app

Categories

Resources