Search This thread
prathameshsd
Senior Member
- Feb 7, 2013
- 318
- 1,233
- Jun 15, 2020
- #1
Remove system apps using ADB
Updated: 2023-11-20
Tested:
- Model: RMX2001
- Realme UI Version: V2.0
- Android Security Update: 2022-03-05
- Android Version: 11
- Build Number: RMX2001_11_C.18
- Baseband Version: M_V3_P10
- Kernel Version: 4.14.186+
- ColorOS Version: V11
- Hardware Version: RMX_2001_11
Notes:
- Do not install OTA update on a debloated phone. you will face boot loops.
- Restore all disabled/uninstalled bloatware app(s), 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.
- Enable "Use USB to: File Transfer" from notification menu after connecting your phone to PC and unlock your phone before using ADB.
- Type in the terminal and log into your phone before disabling/uninstalling any app.
Code:
adb shell
- Disabling an app is recommended over uninstalling. If the disabled app(s) gets restored automatically, use uninstall method.
Links:
- Latest ADB: https://developer.android.com/tools/releases/platform-tools
- Install ADB: https://xda-developers.com/install-adb-windows-macos-linux
- Setup ADB: https://xda-developers.com/adb-fastboot-any-directory-windows-linux
Disabling:
Code:
# disable an appcmd package disable-user --user 0 <package.name># list disabled appscmd package list packages -d | sed 's/^package://'# restore disabled appcmd package enable --user 0 <package.name># restore all disabled appsfor i in $(cmd package list packages -d | sed 's/^package://'); do cmd package enable --user 0 "${i}"; done
Uninstalling:
Code:
# uninstall an appcmd package uninstall --user 0 <package.name># list uninstalled apps(cmd package list packages -u && cmd package list packages) | sort | uniq -u | sed 's/package://'# restore uninstalled appcmd package install-existing --user 0 <package.name># restore all uninstalled appsfor i in $((cmd package list packages -u && cmd package list packages) | sort | uniq -u | sed 's/package://'); do cmd package install-existing --user 0 "${i}"; done
Package Names:
Code:
# aospcom.android.fmradiocom.android.stkcom.android.wallpaper.livepicker# googlecom.android.chromecom.android.hotwordenrollment.okgooglecom.google.android.accessibility.soundamplifiercom.google.android.apps.mapscom.google.android.apps.nbu.paisa.usercom.google.android.apps.photoscom.google.android.feedbackcom.google.android.feedbackcom.google.android.googlequicksearchboxcom.google.android.keepcom.google.android.marvin.talkbackcom.google.android.projection.gearheadcom.google.android.tagcom.google.android.ttscom.google.android.youtubecom.google.ar.core# coloroscom.coloros.activationcom.coloros.apprecovercom.coloros.assistantscreencom.coloros.athenacom.coloros.backuprestorecom.coloros.blacklistappcom.coloros.childrenspacecom.coloros.compass2com.coloros.deepthinkercom.coloros.encryptioncom.coloros.floatassistantcom.coloros.focusmodecom.coloros.gamespacecom.coloros.healthcheckcom.coloros.healthservicecom.coloros.logkitcom.coloros.ocrscannercom.coloros.ocrservicecom.coloros.oppomultiappcom.coloros.personalassistant.overlay.commoncom.coloros.phonemanagercom.coloros.phonenoareainquirecom.coloros.securepaycom.coloros.securitykeyboardcom.coloros.smartdrivecom.coloros.smartsidebarcom.coloros.soundrecordercom.coloros.systemclonecom.coloros.translate.enginecom.coloros.videocom.coloros.weather2com.coloros.wifibackuprestore# oppocom.oppo.operationManualcom.oppo.quicksearchboxcom.oppoex.afterservice# facebookcom.facebook.appmanagercom.facebook.servicescom.facebook.system# heytapcom.heytap.appplatformcom.heytap.browsercom.heytap.castcom.heytap.cloudcom.heytap.colorfulenginecom.heytap.datamigrationcom.heytap.habit.analysiscom.heytap.marketcom.heytap.mcscom.heytap.musiccom.heytap.openidcom.heytap.pictorialcom.heytap.themestorecom.heytap.usercenter# nearmecom.nearme.atlascom.nearme.statistics.rom# realmecom.realme.movieshotcom.realme.securitycheckcom.realme.wellbeing# misc appscom.finshell.fincom.glance.internetcom.redteamobile.roamingcom.tencent.soter.soterserver
Last edited:
Reactions:
Alabfa, Golikus, vinsentprapor and 17 others
prathameshsd
Senior Member
- Feb 7, 2013
- 318
- 1,233
- Jun 15, 2020
- #2
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
#13 : 20 November 2023
- Added official ADB platform tools link
- Added more package names
- Replaced pm with cmd package
- Replaced Linux specific commands with universal commands
Last edited:
Reactions:
Alabfa
prathameshsd
Senior Member
- Feb 7, 2013
- 318
- 1,233
- Jun 15, 2020
- #3
Reserved #2
R
Raj Aryan Gupta
Member
- Sep 27, 2016
- 8
- 0
C
craftplayeri2
Member
- Feb 18, 2016
- 32
- 4
- Jun 25, 2020
- #5
thx
U
udfaq8888
New member
- Nov 1, 2013
- 3
- 0
- Jul 4, 2020
- #6
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.
prathameshsd
Senior Member
- Feb 7, 2013
- 318
- 1,233
- Jul 6, 2020
- #7
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.
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.
S
Shirswa
New member
- Aug 28, 2018
- 2
- 0
- Jul 22, 2020
- #8
Can I remove all this packages? Is it safe?
R
Raj Aryan Gupta
Member
- Sep 27, 2016
- 8
- 0
- Jul 24, 2020
- #9
Shirswa said:
Yes, you can remove but be aware before removing any essential package required for proper device functioning.
prathameshsd
Senior Member
- Feb 7, 2013
- 318
- 1,233
- Jul 25, 2020
- #10
Shirswa said:
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.
V
ven1x
Senior Member
- Dec 3, 2014
- 57
- 6
- Aug 26, 2020
- #11
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
D
davejimson
Senior Member
- Dec 13, 2016
- 642
- 92
- Sep 9, 2020
- #12
hi im using realme 6 pro is this applicable? using automatic? all listed there?
prathameshsd
Senior Member
- Feb 7, 2013
- 318
- 1,233
- Sep 12, 2020
- #13
davejimson said:
hi im using realme 6 pro is this applicable? using automatic? all listed there?
yes you can use it on Realme 6 Pro too. I would recommend manual method instead.
D
davejimson
Senior Member
- Dec 13, 2016
- 642
- 92
- Sep 12, 2020
- #14
prathameshsd said:
yes you can use it on Realme 6 Pro too. I would recommend manual method instead.
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
prathameshsd
Senior Member
- Feb 7, 2013
- 318
- 1,233
- Sep 12, 2020
- #15
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
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.
Z
zahid ramirez
New member
- Sep 30, 2017
- 1
- 0
- Realme 8 Pro
- Sep 15, 2020
- #16
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:
W
wenna.speedy
Senior Member
- May 14, 2007
- 561
- 140
- Sep 17, 2020
- #17
Dont remove com.coloros.safecenter ! It breaks "display over other apps" permission!
prathameshsd
Senior Member
- Feb 7, 2013
- 318
- 1,233
- Sep 17, 2020
- #18
wenna.speedy said:
Dont remove com.coloros.safecenter ! It breaks "display over other apps" permission!
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:
thanks for the heads up, I have updated the post.
E
erw23
New member
- Oct 7, 2020
- 1
- 0
- Oct 7, 2020
- #19
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.
prathameshsd
Senior Member
- Feb 7, 2013
- 318
- 1,233
- Oct 10, 2020
- #20
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.
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.
You must log in or register to reply here.