[Huawei P20 Pro Guides, News, & Discussion] Kusznier:
Hi,

I just wanted to share this. I was struggling for a long time how to get this working.

My general idea was to completly get rid of google on my P20Pro without loosing Huawei apps like Camera, and others (i know that i can install camera on other rom's).

Of course best idea is to install LineageOS, but it lacks some functionalities and still has some problems.

Important: I wanted to have ability to use google maps, WebView (important (more later)), Microsoft InTune (work apps).

I had no other idea with WebView, than to leave original google app. I heard that there is AOSP one, but i was not able to find it and get it running.

List of removed apps is only suited for MY needs. Please go through it before applying.

Prerequisites:

Unlocked Bootloader,

Magisk downloaded to sd,

MicroG downloaded,

De-Google script.

Backup created!

I've done it on clean install of Huawei official Rom, just after unlocking bootloader.

Steps:

Run clean rom for first time and get through welcome screens. (don't log in anywhere)

Enable developer mode.

Go to Bootloader and install TWRP.

Boot System, start ADP Shell and remove all bloatware, google, fb etc. List below.

Go to Recovery and execute remove_gapps_1.1.Kusz script. (attached) (it was based on This

Install Magisk and boot system, Magisk

Go to Recovery again and install MicroG-Patcher and MicroG, MicroG

Reboot, and configure MicroG.

Optional: If You need to have CompanyPortal or InTune to work - use this link and install Magisk Module. Works for me.

Be happy without google :)

Do TWRP backup and experiment

I'm not removing Huawei backup, and HiSuite - i'm using it to backup apps. Might be removed later.

adb shell commands.

#google
pm uninstall -k --user 0 com.google.android.apps.work.oobconfig
pm uninstall -k --user 0 com.google.android.gms
pm uninstall -k --user 0 com.android.vending
pm uninstall -k --user 0 com.google.android.onetimeinitializer
pm uninstall -k --user 0 com.google.android.configupdater
pm uninstall -k --user 0 com.android.hotwordenrollment.xgoogle
pm uninstall -k --user 0 com.google.android.partnersetup
pm uninstall -k --user 0 com.google.android.setupwizard

pm uninstall -k --user 0 com.google.ar.core
pm uninstall -k --user 0 com.google.android.gm
pm uninstall -k --user 0 com.google.tango.measure
pm uninstall -k --user 0 com.android.hotwordenrollment.okgoogle
pm uninstall -k --user 0 com.google.android.apps.docs
pm uninstall -k --user 0 com.google.android.syncadapters.contacts
pm uninstall -k --user 0 com.google.android.tts
pm uninstall -k --user 0 com.google.android.apps.walletnfcrel
pm uninstall -k --user 0 com.google.android.videos
pm uninstall -k --user 0 com.google.android.feedback
pm uninstall -k --user 0 com.google.android.printservice.recommendation
pm uninstall -k --user 0 com.google.android.apps.photos
pm uninstall -k --user 0 com.google.android.syncadapters.calendar
pm uninstall -k --user 0 com.google.android.apps.youtube.kids
pm uninstall -k --user 0 com.google.android.backuptransport
pm uninstall -k --user 0 com.google.android.music
pm uninstall -k --user 0 com.google.android.apps.tachyon
pm uninstall -k --user 0 com.google.android.apps.messaging
pm uninstall -k --user 0 com.google.android.youtube
pm uninstall -k --user 0 com.google.android.googlequicksearchbox
pm uninstall -k --user 0 com.google.android.apps.docs.editors.docs
pm uninstall -k --user 0 com.google.android.marvin.talkback
pm uninstall -k --user 0 com.google.android.ims
pm uninstall -k --user 0 com.google.android.apps.docs.editors.sheets
pm uninstall -k --user 0 com.google.android.apps.docs.editors.slides
pm uninstall -k --user 0 com.android.chrome
#pm uninstall -k --user 0 com.google.android.webview #DONT UNINSTALL UNLESS YOU REALLY KNOW WHAT YOU'RE DOING

#fb
pm uninstall -k --user 0 com.facebook.system
pm uninstall -k --user 0 com.facebook.appmanager
pm uninstall -k --user 0 com.facebook.services

#preinstalled ****
pm uninstall -k --user 0 com.android.email
pm uninstall -k --user 0 com.ebay.carrier
pm uninstall -k --user 0 com.realvnc.android.remote
pm uninstall -k --user 0 com.android.partnerbrowsercustomizations.tmobile
pm uninstall -k --user 0 com.netflix.partner.activation
pm uninstall -k --user 0 com.instagram.android
pm uninstall -k --user 0 com.microsoft.translator
pm uninstall -k --user 0 com.ironsource.appcloud.oobe.huawei
pm uninstall -k --user 0 com.netflix.mediaclient
pm uninstall -k --user 0 com.amazon.aa
pm uninstall -k --user 0 com.facebook.katana
pm uninstall -k --user 0 com.booking
pm uninstall -k --user 0 com.ebay.mobile
pm uninstall -k --user 0 com.amazon.aa.attribution

#huawei
pm uninstall -k --user 0 com.huawei.tips
pm uninstall -k --user 0 com.hisi.mapcon
pm uninstall -k --user 0 com.huawei.watch.sync
pm uninstall -k --user 0 com.example.android.notepad
pm uninstall -k --user 0 com.huawei.hitouch
pm uninstall -k --user 0 com.huawei.appmarket
pm uninstall -k --user 0 com.huawei.wallet
pm uninstall -k --user 0 com.huawei.hifolder
pm uninstall -k --user 0 com.huawei.nb.service
pm uninstall -k --user 0 com.huawei.hwaps
pm uninstall -k --user 0 com.huawei.bd
pm uninstall -k --user 0 com.huawei.android.hsf
pm uninstall -k --user 0 com.huawei.hwid
pm uninstall -k --user 0 com.huawei.bd
pm uninstall -k --user 0 com.huawei.hwaps
pm uninstall -k --user 0 com.huawei.nb.service
pm uninstall -k --user 0 com.huawei.hifolder
pm uninstall -k --user 0 com.huawei.android.tips
pm uninstall -k --user 0 com.huawei.gameassistant
pm uninstall -k --user 0 com.huawei.livewallpaper.paradise #Live wallpaper.
pm uninstall -k --user 0 com.huawei.hidisk
pm uninstall -k --user 0 com.huawei.hwid #Huawei login for all services
pm uninstall -k --user 0 com.huawei.vassistant
pm uninstall -k --user 0 com.huawei.hwdetectrepair
pm uninstall -k --user 0 com.huawei.phoneservice #HiCare
pm uninstall -k --user 0 com.hicloud.android.clone
pm uninstall -k --user 0 com.android.calllogbackup

Useful links:

Android-Privacy-Data-Protection-Tools-Mega-Thread

PS. Please share your thoughts about this. Maybe there is a list of Huawei preinstalled software? I could really use that to remove even more.