[Realme X2 Pro Guides, News, & Discussion] hack-os:
To reinstall all the packages

adb shell

Paste the bellow command to restore everything

cmd package install-existing --user 0 com.android.backupconfirm
cmd package install-existing --user 0 com.android.bluetoothmidiservice
cmd package install-existing --user 0 com.android.bookmarkprovider
cmd package install-existing --user 0 com.android.calllogbackup
cmd package install-existing --user 0 com.android.cellbroadcastreceiver
cmd package install-existing --user 0 com.android.cellbroadcastreceiver.overlay.common
cmd package install-existing --user 0 com.android.email.partnerprovider
cmd package install-existing --user 0 com.android.managedprovisioning
cmd package install-existing --user 0 com.android.providers.partnerbookmarks
cmd package install-existing --user 0 com.android.sharedstoragebackup
cmd package install-existing --user 0 com.android.statementservice
cmd package install-existing --user 0 com.android.stk
cmd package install-existing --user 0 com.android.wallpaperbackup
cmd package install-existing --user 0 com.coloros.video
cmd package install-existing --user 0 com.coloros.pictorial
cmd package install-existing --user 0 com.coloros.oppomultiapp
cmd package install-existing --user 0 com.coloros.activation
cmd package install-existing --user 0 com.coloros.activation.overlay.common
cmd package install-existing --user 0 com.coloros.assistantscreen
cmd package install-existing --user 0 com.coloros.athena
cmd package install-existing --user 0 com.coloros.backuprestore
cmd package install-existing --user 0 com.coloros.backuprestore.remoteservice
cmd package install-existing --user 0 com.coloros.bootreg
cmd package install-existing --user 0 com.coloros.childrenspace
cmd package install-existing --user 0 com.coloros.cloud
cmd package install-existing --user 0 com.coloros.compass2
cmd package install-existing --user 0 com.coloros.encryption
cmd package install-existing --user 0 com.coloros.floatassistant
cmd package install-existing --user 0 com.coloros.gamespace
cmd package install-existing --user 0 com.coloros.healthcheck
cmd package install-existing --user 0 com.coloros.lockassistant
cmd package install-existing --user 0 com.coloros.ocrscanner
cmd package install-existing --user 0 com.coloros.ocrservice
cmd package install-existing --user 0 com.coloros.phonemanager
cmd package install-existing --user 0 com.coloros.phonenoareainquire
cmd package install-existing --user 0 com.coloros.resmonitor
cmd package install-existing --user 0 com.coloros.sceneservice
cmd package install-existing --user 0 com.coloros.securepay
cmd package install-existing --user 0 com.coloros.securitykeyboard
cmd package install-existing --user 0 com.coloros.smartdrive
cmd package install-existing --user 0 com.coloros.soundrecorder
cmd package install-existing --user 0 com.coloros.speechassist
cmd package install-existing --user 0 com.coloros.translate.engine
cmd package install-existing --user 0 com.coloros.video
cmd package install-existing --user 0 com.coloros.wallet
cmd package install-existing --user 0 com.coloros.weather.service
cmd package install-existing --user 0 com.coloros.weather2
cmd package install-existing --user 0 com.coloros.widget.smallweather
cmd package install-existing --user 0 com.coloros.wifibackuprestore
cmd package install-existing --user 0 com.dropboxchmod
cmd package install-existing --user 0 com.dsi.ant.server
cmd package install-existing --user 0 com.facebook.appmanager
cmd package install-existing --user 0 com.facebook.services
cmd package install-existing --user 0 com.facebook.system
cmd package install-existing --user 0 com.oppo.usercenter
cmd package install-existing --user 0 com.ted.number
cmd package install-existing --user 0 com.oppo.quicksearchbox
cmd package install-existing --user 0 com.heytap.habit.analysis
cmd package install-existing --user 0 com.heytap.openid
cmd package install-existing --user 0 com.heytap.browser
cmd package install-existing --user 0 com.mediatek.omacp
cmd package install-existing --user 0 com.mobiletools.systemhelper
cmd package install-existing --user 0 com.nearme.atlas
cmd package install-existing --user 0 com.nearme.instant.platform
cmd package install-existing --user 0 com.nearme.statistics.rom
cmd package install-existing --user 0 com.nearme.browser
cmd package install-existing --user 0 com.nearme.themestore
cmd package install-existing --user 0 com.oppo.ScoreAppMonitor
cmd package install-existing --user 0 com.oppo.aod
cmd package install-existing --user 0 com.oppo.atlas
cmd package install-existing --user 0 com.oppo.bttestmode
cmd package install-existing --user 0 com.oppo.criticallog
cmd package install-existing --user 0 com.oppo.decrypt
cmd package install-existing --user 0 com.oppo.engineermode
cmd package install-existing --user 0 com.oppo.engineermode.camera
cmd package install-existing --user 0 com.oppo.engineermode.network
cmd package install-existing --user 0 com.oppo.fingerprints.finterprintsensortest
cmd package install-existing --user 0 com.oppo.logkit
cmd package install-existing --user 0 com.oppo.logkitservice
cmd package install-existing --user 0 com.oppo.mimosiso
cmd package install-existing --user 0 com.oppo.music
cmd package install-existing --user 0 com.oppo.nw
cmd package install-existing --user 0 com.oppo.market
cmd package install-existing --user 0 com.oppo.operationManual
cmd package install-existing --user 0 com.oppo.oppopowermonitor
cmd package install-existing --user 0 com.oppo.ovoicemanager
cmd package install-existing --user 0 com.oppo.partnerbrowsercustomizations
cmd package install-existing --user 0 com.oppo.qualityprotect
cmd package install-existing --user 0 com.oppo.quicksearchbox
cmd package install-existing --user 0 com.oppo.rftoolkit
cmd package install-existing --user 0 com.oppo.sos
cmd package install-existing --user 0 com.oppo.startlogkit
cmd package install-existing --user 0 com.oppo.usageDump
cmd package install-existing --user 0 com.oppo.webview
cmd package install-existing --user 0 com.oppo.wifirf
cmd package install-existing --user 0 com.oppo.wifisniffer
cmd package install-existing --user 0 com.oppoex.afterservice
cmd package install-existing --user 0 com.qualcomm.qti.modemtestmode
cmd package install-existing --user 0 com.qualcomm.qti.remoteSimlockAuth
cmd package install-existing --user 0 com.qualcomm.uimremoteclient
cmd package install-existing --user 0 com.qualcomm.uimremoteserver
cmd package install-existing --user 0 com.realme.logtool
cmd package install-existing --user 0 com.realme.securitycheck
cmd package install-existing --user 0 com.tencent.soter.soterserver
cmd package install-existing --user 0 com.opera.browser
cmd package install-existing --user 0 com.coloros.onekeylockscreen
cmd package install-existing --user 0 com.coloros.gamespaceui
cmd package install-existing --user 0 org.kman.AquaMail
cmd package install-existing --user 0 com.opera.preinstall
cmd package install-existing --user 0 com.facebook.katana