Question Factory reseted and cant remove/disable youtube through adb - Redmi Note 10S

im using ladb to remove the bloatware which I have done so in past, recently I had to factory reset my phone. And when I try to use
pm uninstall –k ––user 0 com.google.android.youtube
And
pm disable-user --user 0 com.google.android.youtube
I get the following errors when trying to uninstall it:
Failure [INSTALL_FAILED_INVALID_APK: Missing existing base package]
And when I try to disable it i get this error
Exception occurred while executing 'disable':
java.lang.IllegalArgumentException: Unknown package: --user
at com.android.server.pm.PackageManagerService.setEnabledSetting(PackageManagerService.java:21559)
at com.android.server.pm.PackageManagerService.setApplicationEnabledSetting(PackageManagerService.java:21423)
at com.android.server.pm.PackageManagerShellCommand.runSetEnabledSetting(PackageManagerShellCommand.java:2164)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:233)
at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98)
at android.os.ShellCommand.exec(ShellCommand.java:44)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:22250)
at android.os.Binder.shellCommand(Binder.java:932)
at android.os.Binder.onTransact(Binder.java:816)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4687)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4450)
at android.os.Binder.execTransactInternal(Binder.java:1162)
at android.os.Binder.execTransact(Binder.java:1126)
I know the base apk files are stored in system directory so they can be restored during factory reset, but my phone had to be reset, so I'm wondering did the factory reset killed the base apk files or something?

I see there's the base YouTube apk file in /product/app

It worked
Package com.google.android.youtube new state: disabled-user

Related

Debloat System Apps Without Root

This Guide Assumes You Know How To Use ADB, And Already Have Access To It. You Can Possibly Mess Up Your Phone Disabling The Wrong Thing, And I'm Not Liable For Any Damage, Including Missing Your Anniversary Dinner Due To Alarm App Being Disabled =P.
Plus Side? A Factory Reset Will Fix It.
Step One :
Download Android Platform Tools (ADB/Fastboot)
https://ln.sync.com/dl/984ab7480/azzmqpk8-8km5ysir-6fz7v9rz-mvfu2tqf
Step Two :
Enable USB Debugging
--Settings, About Phone, Tap Build Number 5 Times,
Go To "Developer Options", And Enable USB Debugging.
Step Three :
Download Application Inspector
https://play.google.com/store/apps/details?id=com.ubqsoft.sec01&hl=en
Step Four :
Extract The ZIP File From Step One. Open
The Directory, Hold Down Shift, Right Click, And Click
"Open Command Prompt Here".
Step Five:
Unlock Your Phone And Plug In Into Your PC, Then Type
"adb devices" (without quotes) Into The Command Prompt.
On Your Phone, Check "Always Allow" On Your Phone, And
Then Okay.
Step Six : type "adb shell" (without quotes)
---------------------------------
Here's Where The Debloating Begins.
---------------------------------
Once you type adb shell, you'll start using commands to
disable apps "permanantly". Instead of disabling them, and
them coming back when you do play store updates. This
has worked with anything i've thrown at it so far. Using
application inspector (linked above), to get the package
name, you'll then type in the command below to "remove"
that package from the current user. when done, reboot.
"pm uninstall -k --user 0 PACKAGE_NAME"
------------------------------------------
original thread with this method from the G5 Plus
forums. linked below. i didn't come up with this method,
but it works well on our phones. pics coming when i get
home, to help others out. i'll probably rewrite this to make
it cleaner as well
https://forum.xda-developers.com/g5-plus/how-to/amazon-ads-removal-moto-g5-t3598515
no luck. I need to disable voicemail, carrierhub, callerID but it gaves me en error "Failure"
I am rooted Stock Android 8.0 Sprint
and this actually worked for me
Make sure you have Root, I can not guarantee it works without it.
1st) VERY important) Make sure to activate the phone and let Sprint install all the garbage bloatware all the way, it can take a good half an hour
Make sure your wifi calling and all your sprint stuff works and your phone is fully activated otherwise you will end up with SPRINT ID download error 400 and the only way to get rid of that is with FACTORY RESET.
2) use a batch uninstaller app and remove all the garbage users app in one shot , close to 18 of them
Restart and follow the above
USB Debug enabled
ADB Shell
and copy paste the following lines from my list below
reboot and done,
Sprint ID did not reinstall the bloatware again.
be careful it is case sensetive!
=======================
nash:/ $ pm uninstall -k --user 0 com.facebook.katana
Success
nash:/ $ pm uninstall -k --user 0 com.lookout
Success
nash:/ $ pm uninstall -k --user 0 com.facebook.orca
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.clouddrive.photos
Success
nash:/ $ pm uninstall -k --user 0 com.instagram.android
Success
nash:/ $ pm uninstall -k --user 0 com.audible.application
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.mp3
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.kindle
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.mShop.android.shopping
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.avod.thirdpartyclient
Success
nash:/ $ pm uninstall -k --user 0 com.google.android.calendar
Success
pm uninstall -k --user 0 com.google.android.youtube
pm uninstall -k --user 0 com.google.android.marvin.talkback
pm uninstall -k --user 0 com.google.android.videos
pm uninstall -k --user 0 com.google.android.inputmethod.pinyin
pm uninstall -k --user 0 com.google.android.inputmethod.japanese
pm uninstall -k --user 0 com.google.android.inputmethod.korean
pm uninstall -k --user 0 com.google.android.apps.tachyon
pm uninstall -k --user 0 com.google.android.apps.walletnfcrel
pm uninstall -k --user 0 com.google.vr.vrcore
doctorman said:
I am rooted Stock Android 8.0 Sprint
and this actually worked for me
Make sure you have Root, I can not guarantee it works without it.
1st) VERY important) Make sure to activate the phone and let Sprint install all the garbage bloatware all the way, it can take a good half an hour
Make sure your wifi calling and all your sprint stuff works and your phone is fully activated otherwise you will end up with SPRINT ID download error 400 and the only way to get rid of that is with FACTORY RESET.
2) use a batch uninstaller app and remove all the garbage users app in one shot , close to 18 of them
Restart and follow the above
USB Debug enabled
ADB Shell
and copy paste the following lines from my list below
reboot and done,
Sprint ID did not reinstall the bloatware again.
be careful it is case sensetive!
=======================
nash:/ $ pm uninstall -k --user 0 com.facebook.katana
Success
nash:/ $ pm uninstall -k --user 0 com.lookout
Success
nash:/ $ pm uninstall -k --user 0 com.facebook.orca
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.clouddrive.photos
Success
nash:/ $ pm uninstall -k --user 0 com.instagram.android
Success
nash:/ $ pm uninstall -k --user 0 com.audible.application
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.mp3
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.kindle
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.mShop.android.shopping
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.avod.thirdpartyclient
Success
nash:/ $ pm uninstall -k --user 0 com.google.android.calendar
Success
Click to expand...
Click to collapse
This worked great. Planning on removing bloat as the days go on.
Can anyone please confirm if this works on unrooted stock firmware?. I am unable to make whatsapp calls because Sprinthub keeps terminating it.
Please if anyone has better idea of debloating Sprint crap, then let me know.
thanks
I have a XT1789-06 (Indian) and i use this method to debloat my Moto Phones (Moto Z , Moto Z2 Force , Moto Z Play) all running on stock and locked BL. This works quite well to uninstall apps (such as Moto Voice , Motorola SLPC System , Checkin , Device Management etc.. )
It doesn't have any carrier specific app , but it should succeed .

Camera takes green pictures / Didn't root the XZ1C

Hello everyone!
After following different topics for a few years on xda this is my first own question. Yaay.
I got the XZ1 yesterday and instead of rooting it I just decided to delete the bloatware and use the lean launcher. I specifically deinstalled these apps:
Code:
adb devices
adb shell
pm uninstall -k --user 0 com.sonymobile.advancedwidget.entrance
pm uninstall -k --user 0 com.facebook.katana
pm uninstall -k --user 0 com.facebook.system
pm uninstall -k --user 0 com.facebook.appmanager
pm uninstall -k --user 0 com.facebook.services
pm uninstall -k --user 0 com.google.android.videos
pm uninstall -k --user 0 com.sony.tvsideview.videoph
pm uninstall -k --user 0 com.sony.tvsideview.phone
pm uninstall -k --user 0 com.sonymobile.entrance
pm uninstall -k --user 0 com.spotify.mobile.android.ui
pm uninstall -k --user 0 com.s.antivirus
pm uninstall -k --user 0 com.google.android.apps.photos
pm uninstall -k --user 0 com.google.android.marvin.talkback
pm uninstall -k --user 0 com.sonymobile.music.wikipediaplugin
pm uninstall -k --user 0 com.sonyericsson.textinput.chinese
pm uninstall -k --user 0 com.sonymobile.music.youtubeplugin
pm uninstall -k --user 0 com.sonymobile.music.youtubekaraokeplugin
pm uninstall -k --user 0 com.kobobooks.android
pm uninstall -k --user 0 com.sonymobile.dualshockmanager
pm uninstall -k --user 0 com.google.android.apps.tachyon
pm uninstall -k --user 0 com.sonyericsson.xhs
pm uninstall -k --user 0 com.sonymobile.xperialounge.services
pm uninstall -k --user 0 com.sonymobile.xperiatransfermobile
pm uninstall -k --user 0 com.google.android.music
pm uninstall -k --user 0 com.google.android.gm
pm uninstall -k --user 0 com.google.android.gm.exchange
pm uninstall -k --user 0 com.spotify.music
pm uninstall -k --user 0 com.sonymobile.sketch
pm uninstall -k --user 0 com.amazon.kindle
pm uninstall -k --user 0 com.amazon.mShop.android.shopping
pm uninstall -k --user 0 com.google.android.youtube
pm uninstall -k --user 0 com.sonymobile.moviecreator.rmm
pm uninstall -k --user 0 com.sonymobile.email
pm uninstall -k --user 0 com.sonymobile.xperiaweather
pm uninstall -k --user 0 com.sonyericsson.music
pm uninstall -k --user 0 com.google.android.apps.docs
pm uninstall -k --user 0 com.google.android.gm.exchange
pm uninstall -k --user 0 com.spotify.music
exit
adb reboot
And now "I have the salad" (as we germans say). I can't take pictures anymore with OpenCamera and neither with the stockcamera. Sometimes it works with the stock camera, but the result is just the green picture.
I'm pretty sure that I ****ed up with the above list. Does anybode know what I did wrong and how to "flash" isntall the needed licenses/drivers/whatevers for the camera?
Cheers!
pm uninstall -k --user 0 com.sonyericsson.xhs
Don't know what this does but it's the only one not self explanatory. Maybe it's that one?
Thanks for the Quickreply!
com.sonyericsson.xhs seems to be part of the xperia lounge. I don't think that will help the camera
Since the PlayStore doesn't have the stock-camera-apk, does anybode know where to download it, or would that be a bad idea?
Green pictures mean your phone's bootloader has been unlocked.
You can check this as follows: https://talk.sonymobile.com/t5/Android-development/HOW-TO-CHECK-BOOTLOADER-IS-UNLOCKED/td-p/287305
Code:
--user 0
means that it'll use root to do the uninstall, which would fail if you aren't rooted.
Someone please correct me if I'm wrong, the adb documentation isn't clear about the --user option in pm.
4rz0 said:
Green pictures mean your phone's bootloader has been unlocked.
You can check this as follows:
Code:
--user 0
means that it'll use root to do the uninstall, which would fail if you aren't rooted.
Someone please correct me if I'm wrong, the adb documentation isn't clear about the --user option in pm.
Click to expand...
Click to collapse
Dial *#*#7378423#*#* . Then go to -> "Service Info" -> "Configuration". If there is:
Bootloader unlock allowed - Yes << this means that your Bootloader is Locked
Bootloader Unlocked - Yes << this means that your bootloader is unlocked
Click to expand...
Click to collapse
I actually got Bootloader unlock allowed: No. So, I don't know if it's now unlocked or locked.
Could I accidentally have unlocked it by adb commands? The Phone is basically brand new (it is refurbished and was sold as "basically new") and also makes that impression. Can hardly imagine that it is rooted.
And another thing: I can't install the camera (got the .apk from apk mirror) again. You guys think it's a smart idea to fully delete the camera via adb or rather not? And if it's a good idea, which are the packages I should deinstall/erase?
4rz0 said:
Code:
--user 0
means that it'll use root to do the uninstall, which would fail if you aren't rooted.
Someone please correct me if I'm wrong, the adb documentation isn't clear about the --user option in pm.
Click to expand...
Click to collapse
No, the
Code:
pm uninstall -- user 0
is the way to uninstall system apps without root access. see this link for details: https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
So is there anyway to reverse these commands and to install everything alltogether? Even if I don't know what was the wrong thing to deinstall.
Do you guys think that I lost the DRM-Keys? And is there no way to get them back?
Mhh, sorry for the repost. I don't seem to find any solution.
If I just factoryreset the phone, will it work again? Otherwise I guess I have to fully root it and find a work around solution for the camera.
You didnt lost drm keys. Just reset or flash New firmware. Drm keys are stored in emmc.
I'm getting desperate..
I did the full factory reset and the problemr remains. Pictures stay green (other cameras like snapcam or opencamera wont work neither).
What are your suggestions, what should I do?
luklok said:
I'm getting desperate..
I did the full factory reset and the problemr remains. Pictures stay green (other cameras like snapcam or opencamera wont work neither).
What are your suggestions, what should I do?
Click to expand...
Click to collapse
Since it's a refurbished one, and you didn't explicitly say so (from what I can tell): Did the camera ever work?
I also have the feeling that your bootloader was unlocked already. And if the camera did work at first, maybe some a****** installed the drm fix on it so you didn't even notice.
As a last test I would suggest to grab Xperifirm, download the latest FW for your region and flash it with newflasher. If the bootloader is locked, it _has_ to work after this.
PS: Delete the simlock.ta before flashing.
Good luck.
I would return the phone.
Refurbished? Maybe the previous owners have unlocked the phone and wiped the DRM-Keys ...
DHGE said:
I would return the phone.
Refurbished? Maybe the previous owners have unlocked the phone and wiped the DRM-Keys ...
Click to expand...
Click to collapse
This is likely. Check your keys:
In the dialer, type *#*#7378423#*#* to enter the service menu. Tap Service tests > Security
The first three lines should all say [Key OK][Active], and at the bottom FIDO_KEYS : Provisioned
EDIT: Ah, I copied the instructions from a previous Sony model (Z5C), didn't realize they changed the info dump page.
In any case, if you don't see words like ACTIVE, READY, PROVISIONED on this page, then your DRM keys are likely gone.
If so, you should return and demand a replacement or refund, since Sony may deny warranty service due to missing DRM keys.
mhaha said:
This is likely. Check your keys:
In the dialer, type *#*#7378423#*#* to enter the service menu. Tap Service tests > Security
The first three lines should all say [Key OK][Active], and at the bottom FIDO_KEYS : Provisioned
EDIT: Ah, I copied the instructions from a previous Sony model (Z5C), didn't realize they changed the info dump page.
In any case, if you don't see words like ACTIVE, READY, PROVISIONED on this page, then your DRM keys are likely gone.
If so, you should return and demand a replacement or refund, since Sony may deny warranty service due to missing DRM keys.
Click to expand...
Click to collapse
Under Key Provision daemon it says:
SOMC FIDO Key: NOT PROVISIONED
SOMC Attest Key: NOT PROVISIONED
Android Attest Key: PROVISIONED
So, according to you the DRM keys are gone. And there's no way that I've caused that by incident by deinstalling the bloat apps described in the first posts via adb?
This sucks...
luklok said:
Under Key Provision daemon it says:
SOMC FIDO Key: NOT PROVISIONED
SOMC Attest Key: NOT PROVISIONED
Android Attest Key: PROVISIONED
So, according to you the DRM keys are gone. And there's no way that I've caused that by incident by deinstalling the bloat apps described in the first posts via adb?
Click to expand...
Click to collapse
Someone unlocked the bootloader on your phone. They screwed you.
This sucks...
Click to expand...
Click to collapse
mightily
luklok said:
So, according to you the DRM keys are gone. And there's no way that I've caused that by incident by deinstalling the bloat apps described in the first posts via adb?
Click to expand...
Click to collapse
It's not possible using just adb commands, the keys are stored in a highly restricted partition that you can't access without full root privilege.
They're forcibly wiped when the bootloader gets unlocked, which is probably what happened before it got refurbished, and it's permanently unrecoverable. Relocking the bootloader does not bring them back.
If you unintentionally figured out how to access them using adb commands, you might be eligible for a handsome reward from XDA donators or Google for finding a critical security flaw.
Never buy refurbished PHONES (it's ok for other stuff though)...
Hello again!
I got a full refund and it was probably exactly like you guys said. Thanks very much for your help.
Got another XZ1C, I actually like that phone a lot. Still some things that are bothering me (e.g. no skipping a tracks with the volume rockers or no way to edit the icons in the quick..), but gonna figure sth out for that to

Delete Bloatware with this script

Hello guys, as you know, we can't unlock the bootloader, so we are stuck with stock firmware.
I have a 3gb/ ram and 32gb/rom tablet, some of you may have lower specs 2/32 , or even 1/16 in many models.
With this script you can gain a bit of extra performance, because you'll have less apps using the ungenerous ram that comes with the device.
Instructions:
1) Install the device's drivers and enable usb debugging on your tablet.
2) Download the file and extract it.
3) Connect your tablet to the pc and open a cmd window and type adb shell.
4) You'll see a message on your tablet, just tap to allow the connection.
5) Now, run the bat file and wait, sometimes you need run it again.
If you open the .txt file, you'll see all the apps that are going to be disable and uninstalled, if you want to keep an app, just add a "#" at the start of the command and it well be skipped.
Download link:
https://drive.google.com/file/d/117sGCj5Ep6K6ZNGTD28s0FD5c46ckegD/view?usp=drivesdk
Have a good day and stay safe.
Cheers guys.
sfoot13 said:
Hello guys, as you know, we can't unlock the bootloader, so we are stuck with stock firmware.
I have a 3gb/ ram and 32gb/rom tablet, some of you may have lower specs 2/32 , or even 1/16 in many models.
With this script you can gain a bit of extra performance, because you'll have less apps using the ungenerous ram that comes with the device.
Instructions:
1) Install the device's drivers and enable usb debugging on your tablet.
2) Download the file and extract it.
3) Connect your tablet to the pc and open a cmd window and type adb shell.
4) You'll see a message on your tablet, just tap to allow the connection.
5) Now, run the bat file and wait, sometimes you need run it again.
If you open the .txt file, you'll see all the apps that are going to be disable and uninstalled, if you want to keep an app, just add a "#" at the start of the command and it well be skipped.
Download link:
https://drive.google.com/file/d/117sGCj5Ep6K6ZNGTD28s0FD5c46ckegD/view?usp=drivesdk
Have a good day and stay safe.
Cheers guys.
Click to expand...
Click to collapse
Hello and thank you for this.
Could you provide a brief explanation on the txt file next to each item (or here) as to what would happen when you disable or uninstall each item?
Most of them are self explanatory but I have trouble with a few ie:
pm disable-user --user 0 com.huawei.android.hwouc ??
pm uninstall --user 0 com.google.android.feedback ??
pm uninstall --user 0 com.android.providers.contacts ??
pm disable-user --user 0 com.android.contacts (I will need a new contacts app, wont I)
pm disable-user --user 0 com.huawei.camera (I will need a new camera app)
pm uninstall --user 0 com.android.bookmarkprovider ??
pm uninstall --user 0 com.android.providers.partnerbookmarks ??
pm disable-user --user 0 com.android.providers.calendar ??
pm disable-user --user 0 com.google.android.gm ??
pm uninstall --user 0 com.google.android.onetimeinitializer ??
pm disable-user --user 0 com.huawei.phoneservice (will I be able to call?)
pm disable-user --user 0 com.huawei.nearby ??
pm disable-user --user 0 com.android.emergency ??
pm disable-user --user 0 com.google.android.partnersetup ??
pm disable-user --user 0 com.android.cellbroadcastreceiver ??
pm uninstall --user 0 com.google.android.syncadapters.contacts ??
pm uninstall --user 0 com.google.android.syncadapters.calendar ??
pm uninstall --user 0 com.swiftkey.swiftkeyconfigurator
pm uninstall --user 0 com.touchtype.swiftkey (will I need a new keyboard? do i need to install it before I uninstall this one?)
pm disable-user --user 0 com.google.android.backuptransport ??
pm disable-user --user 0 com.google.android.backupconfirm ??
pm uninstall --user 0 com.google.android.tts ??
#pm disable-user --user 0 com.android.location.fused ?? why are you not disabling this one?
pm disable-user --user 0 com.google.android.printservice.recommendation ??
pm disable-user --user 0 com.android.keyguard ??
pm disable-user --user 0 com.huawei.android.FloatTasks ??
pm disable-user --user 0 com.huawei.hwid ??
pm disable-user --user 0 com.android.printspooler ??
pm disable-user --user 0 com.huawei.omacp ??
#pm disable-user --user 0 com.android.vending
#pm disable-user --user 0 com.google.android.gsf
#pm disable-user --user 0 com.google.android.gms
#pm disable-user --user 0 com.google.android.overlay.gmsconfig
#pm disable-user --user 0 com.google.android.marvin.talkbackNEVERDELETEIT,BECAUSEPHONEWILLENDINBOOTLOOP
And why are you not diabling the last five items?
Thanks in advance
Hi, in this thread, there is a comprehensive list of packages, with the description, and whether or not is safe to remove:
https://forum.xda-developers.com/mate-20-x/how-to/guide-remove-apps-adb-t3870727
Here below I’m sharing my experience about what I safely removed from my T5:
package:com.google.android.feedback
package:com.huawei.hifolder
package:com.huawei.hicloud
package:com.android.providers.partnerbookmarks
package:com.android.bookmarkprovider
package:com.google.android.music
package:com.google.android.videos
package:com.huawei.android.totemweatherwidget
package:com.huawei.android.totemweather
package:com.huawei.android.totemweatherapp
package:com.google.android.youtube
package:com.touchtype.swiftkey
package:com.huawei.kidsmode.kidspaint
package:com.example.android.notepad
package:com.swiftkey.swiftkeyconfigurator
package:com.facebook.system
package:com.android.email
package:com.android.mediacenter
package:com.huawei.himovie.overseas
package:com.google.android.gms
package:com.google.android.apps.photos
package:com.android.providers.calendar
package:com.android.calendar
package:com.android.contacts
package:com.android.providers.downloads
package:com.android.providers.downloads.ui
package:com.google.android.apps.tachyon
package:com.android.wallpaper.livepicker
package:com.android.providers.contacts
package:com.facebook.services
package:com.facebook.appmanager
package:com.huawei.hiview
package:com.huawei.iaware
package:com.huawei.android.chr
package:com.google.android.onetimeinitializer
package:com.huawei.nearby
package:com.huawei.android.FloatTasks
package:com.huawei.appmarket
package:com.huawei.phoneservice
package:com.huawei.screenrecorder
package:com.android.partnerbrowsercustomizations.tmobile
package:com.huawei.hiviewtunnel
package:com.hisi.mapcon
package:com.google.android.apps.work.oobconfig
package:com.huawei.hwid
packageackage:com.android.backupconfirm
package:com.huawei.android.instantshare
package:com.android.statementservice
package:com.google.android.setupwizard
package:com.android.sharedstoragebackup
package:com.huawei.HwMultiScreenShot
package:com.huawei.hwstartupguide
package:com.huawei.android.mirrorshare
package:com.huawei.android.wfdft
package:com.android.emergency
package:com.huawei.hwdetectrepair
package:com.huawei.bd
Probably I could remove more things safely, but I’m using them (launcher, file manager, camera,…)
Have a nice day
Thanks for this, will use it later today
Hey Im planning to use a debloat script as well! I've seen in the txt it removes the camera (useful to me) and swiftkey keyboard (isn't that dangerous if not having other keyboards?).
Hi again. I've used the script but now the Update app is disabled and can't enable it again! X_X any idea about how to fix that?
sfoot13 said:
Hello guys, as you know, we can't unlock the bootloader, so we are stuck with stock firmware.
I have a 3gb/ ram and 32gb/rom tablet, some of you may have lower specs 2/32 , or even 1/16 in many models.
With this script you can gain a bit of extra performance, because you'll have less apps using the ungenerous ram that comes with the device.
Instructions:
1) Install the device's drivers and enable usb debugging on your tablet.
2) Download the file and extract it.
3) Connect your tablet to the pc and open a cmd window and type adb shell.
4) You'll see a message on your tablet, just tap to allow the connection.
5) Now, run the bat file and wait, sometimes you need run it again.
If you open the .txt file, you'll see all the apps that are going to be disable and uninstalled, if you want to keep an app, just add a "#" at the start of the command and it well be skipped.
Download link:
https://drive.google.com/file/d/117sGCj5Ep6K6ZNGTD28s0FD5c46ckegD/view?usp=drivesdk
Have a good day and stay safe.
Cheers guys.
Click to expand...
Click to collapse
Hi!
I'm having a proble with the Windows shell command. If you run "abd shell" in cmd, it just says
'abd' is not recognized as an internal or external command,
operable program or batch file.
What am I doing wrong?
Thanks!
UC666 said:
try "adb" instead of "abd"
Click to expand...
Click to collapse
Holy dyslexia, Batman! Thanks!
Still hangs though:
adb shell
error: device not found
Developer mode is on, the tab is connected via USB: Tab gives the 8-digit code that HiSuite asks -> insert code -> "connected to desktop ******** via USB. Then -> cmd
adb shell
error: device not found
When cmd is run in the platform tools folder:
adb shell
adb server version (32) doesn't match this client (41); killing...
* daemon started successfully
adb.exe: no devices/emulators found
UC666 said:
- The correct drivers installed? I used "HUAWEI USB COM 1.0 driver.zip".
- Allowed data transfer after connecting the USB cable?
Click to expand...
Click to collapse
I just had the tab connected via HiSuite. Can't seem to install the driver you mentioned. No installer and Windows won't let me install via Device Manager, not that I know which file I should choose anyway...
A few weeks ago I debloated my MediaPad T5 using the script, adapted it to my needs before, and I am very happy with it
It made the tablet faster, fresher and more battery friendly.
Thanks a lot!
cappuccini said:
A few weeks ago I debloated my MediaPad T5 using the script, adapted it to my needs before, and I am very happy with it
It made the tablet faster, fresher and more battery friendly.
Thanks a lot!
Click to expand...
Click to collapse
How did you adapt the list?
jazzh said:
How did you adapt the list?
Click to expand...
Click to collapse
First, I used an ADB command to list all the packages, copied the list, compared it to the packages in the script, and copy/pasted it.
Be careful, if you remove too much, the tablet will not boot and you will have to reinstall the operating system via eRecovery.
Helpful ABD commands can be found under the link:
Adb useful commands list
Adb useful commands list. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
jazzh said:
How did you adapt the list?
Click to expand...
Click to collapse
Did you manage to successfully debloat your device?

P40 Pro debloating guide

Hey everyone,
I've spent the last couples days going through all the installed packages, cross-referencing different debloating guides and testing my changes. I'm running the latest EMUI 10.1.0.158 (C636).
RECOMMENDATIONS: if you can, follow this debloating guide right after a factory reset; this simply guarantees a fresh clean start. Otherwise, start by backing up your apps and important files to an external device. The built-in backup app is ideal for preserving your apps and their settings, but make sure to move these backups OFF THE PHONE. Then, you can either remove all the apps (in my guide) all at once, or remove a few at a time and reboot the phone in between. Rebooting in between reduces the chance of "shocking" the OS with too many changes all at once which could result in boot looping. Just keep in mind that I did not find that to be necessary when debloating right after a factory reset, but your mileage may vary.
Here is what I personally debloated without any adverse effect, after 2 weeks of daily use:
adb shell pm uninstall --user 0 com.huawei.hicloud ****** Huawei cloud features
adb shell pm uninstall --user 0 com.huawei.browser ****** Stock browser, replaced with Mozilla
adb shell pm uninstall --user 0 com.huawei.browserhomepage ****** Stock browser component
adb shell pm uninstall --user 0 com.android.bookmarkprovider ****** Stock bookmark content
adb shell pm uninstall --user 0 com.android.providers.partnerbookmarks ****** Stock bookmark content
adb shell pm uninstall --user 0 com.huawei.wallet ****** Huawei Wallet app
adb shell pm uninstall --user 0 com.huawei.music ****** Stock music application, replaced with PowerAmp (use the APK from their website, it does not rely on Google Services)
adb shell pm uninstall --user 0 com.huawei.phoneservice ****** Huawei customer support, also known as HiCare
adb shell pm uninstall --user 0 com.huawei.hifolder ****** AppAdvisor
adb shell pm uninstall --user 0 com.huawei.parentcontrol ****** Digital balance, parental control features
adb shell pm uninstall --user 0 com.huawei.hicard ****** Huawei Cards, no info but recommended in some guides, no negative consequences
adb shell pm uninstall --user 0 com.huawei.hitouch ****** Allows you to shop for an object that you took a picture of
adb shell pm uninstall --user 0 com.huawei.hiassistantoversea ****** HiVoice. Huawei's voice assistant to replace "Hey Google"
adb shell pm uninstall --user 0 com.huawei.fastapp ****** Quick App Center, another type of app distribution
adb shell pm uninstall --user 0 com.huawei.imedia.sws ****** Histen. Special sound effects found in the sound settings. I only care about my EQ settings in PowerAmp
adb shell pm uninstall --user 0 com.huawei.intelligent ****** Huawei Assistant. Shopping recommendations
adb shell pm uninstall --user 0 com.huawei.magazine ****** Magazine unlock. Downloads wallpapers for your lock screen. I don't need my phone needlessly connecting to remote servers
adb shell pm uninstall --user 0 com.huawei.hwblockchain ****** I don't do anything blockchain related
adb shell pm uninstall --user 0 com.huawei.hwstartupguide ****** A one-time setup app that is no longer needed
adb shell pm uninstall --user 0 com.android.onetimeinitializer ****** A one-time setup app that is no longer needed
adb shell pm uninstall --user 0 com.huawei.android.instantonline ****** No information but recommended in some guides, no negative consequences
adb shell pm uninstall --user 0 com.huawei.hwpanpayservice ****** This is payment related, I don't use my phone as a payment method nor do I use Huawei Wallet
adb shell pm uninstall --user 0 com.bjbyhd.screenreader_huawei ****** An accessibility feature for visually impaired people
adb shell pm uninstall --user 0 com.huawei.search ****** HiSearch. This does not affect the search bar in the Settings
adb shell pm uninstall --user 0 com.huawei.hwdetectrepair ****** Smart Diagnosis app. It diagnoses hardware problems which I could do myself
adb shell pm uninstall --user 0 com.huawei.hiview ****** This supposedly displays details/attributes of pictures. After removing this, I can still access the picture attributes in the stock Gallery so I'm not sure what this is actually about
adb shell pm uninstall --user 0 com.huawei.hiviewtunnel ****** Related to HiView.
adb shell pm uninstall --user 0 com.huawei.hidisk ****** Stock file explorer, replaced with File Manager +
adb shell pm uninstall --user 0 com.huawei.android.chr ****** HwChrService, this collects data about your usage of the cellular network. No thanks
adb shell pm uninstall --user 0 com.huawei.bd ****** Huawei User Experience app
adb shell pm uninstall --user 0 com.huawei.android.karaoke ****** Self explanatory
adb shell pm uninstall --user 0 com.huawei.desktop.explorer ****** EMUI Desktop Mode for connecting to an external display
adb shell pm uninstall --user 0 com.huawei.android.FloatTasks ****** Navigation Dock, I don't care for that UI feature
adb shell pm uninstall --user 0 com.huawei.languagedownloader ****** According to some guides, this is unsafe but I don't need another downloader for something that I'll never use
adb shell pm uninstall --user 0 com.huawei.lbs ****** Location Service. Sounds scary but I am still able to use all my GPS and location services. My location based weather widgets, Waze and Google Maps connect just as fast and accurately as before
adb shell pm uninstall --user 0 com.huawei.featurelayer.sharedfeature.map ****** Huawei Map Service. I removed it and have no issues using Waze and Google Maps
adb shell pm uninstall --user 0 com.hisi.mapcon ****** This is apparently not recommended when using WiFi calling, which I don't
adb shell pm uninstall --user 0 com.huawei.himovie.overseas ****** Stock video application, replaced with VLC. This integrates perfectly with the stock Camera and Gallery apps
adb shell pm uninstall --user 0 com.android.stk ****** SIM Toolkit. Not supported by US SIM cards
adb shell pm uninstall --user 0 com.android.mms ****** Stock SMS application, replaced with Pulse. I can still send/receive SMS & MMS. Textra looks like a good alternative too
adb shell pm uninstall --user 0 com.huawei.HwMultiScreenShot ****** Scrollshot. Basic screenshots still work, I don't use the knock feature
adb shell pm uninstall --user 0 com.huawei.smartshot ****** Smart screenshot. Basic screenshots still work, I don't use the knock feature
adb shell pm uninstall --user 0 com.huawei.bluetooth ****** Allows importing phone contacts via Bluetooth, something I've never done in my life
adb shell pm uninstall --user 0 com.swiftkey.swiftkeyconfigurator ****** Older version of SwiftKey, replaced with the latest SwiftKey APK
adb shell pm uninstall --user 0 com.touchtype.swiftkey ****** Older version of SwiftKey, replaced with the latest SwiftKey APK. Do not do this before downloading the APK for your new keyboard otherwise you won't have a keyboard to use to search for a replacement
adb shell pm uninstall --user 0 com.huawei.pcassistant ****** Used when connecting your phone to your PC using HiSuite
adb shell pm uninstall --user 0 com.android.egg ****** A hidden animation that no one needs to see
adb shell pm uninstall --user 0 com.android.backupconfirm ****** Google Backup, unusable without Google Services. This does not affect Huawei's backup app, I was able to back up all my apps and settings
adb shell pm uninstall --user 0 com.android.calllogbackup ****** Google Call Log Backup/Restore. This does not affect Huawei's backup app, I was able to back up my calls successfully
adb shell pm uninstall --user 0 com.huawei.scanner ****** AI Lens. Shop for objects that you take a picture of. I can't stand these "features" that revolve around shopping. This de-clutters the camera interface by removing the AI Lens button on the top left corner and does not break the AR Measure app.
adb shell pm uninstall --user 0 com.huawei.contacts ****** Dialer & contacts app. I first installed my dialer replacement, True Phone (version 2.0.0-hw rev 99 from the AppGallery) and then ran this command. Although this should not actually delete your contacts, make sure to back them up. I've had absolutely 0 issue making or receiving calls after deleting the stock dialer.
adb shell pm uninstall --user 0 com.huawei.hwsearch ****** Petal Search widget. I personally use APKPure and sometimes the AppGallery.
adb shell pm uninstall --user 0 package:com.huawei.android.hwupgradeguide ****** New package that came with .158. There is no description online but judging from the name, I don't need it
NOTICE THAT I DO NOT INCLUDE THE -k PARAMETER IN MY COMMANDS, unlike most guides found online. I do not get any error running the commands as such, and it actually clears the data created by those apps. In other words, we're not only debloating your user interface but also your storage!
To restore any app removed via ADB:
adb shell cmd package install-existing <package_name>
I always try to uninstall apps through Android before resorting to ADB. I did not really keep track of apps that I uninstalled through the menu, so it's just easier to tell you which stock apps I kept installed. By stock app, I ONLY MEAN actual apps that you can open from the home screen:
-AppGallery. This requires com.huawei.hwid to work. I needed it to get Snapchat, I might ADB-uninstall it now that Snapchat is installed
-Phone Clone. This could always be useful for porting apps over
-Optimizer
-Themes
-Live wallpaper (com.huawei.livewallpaper.paradise, also known as Brocade)
-Calendar widget/app
-Camera. Obviously. Who in their right mind would get this phone lacking a major component of Android (Play Services), if not for the camera
-Gallery. For pictures and editing
-Contacts. This is also the phone dialer. I have now uninstalled this app and replaced it with True Dialer 2.0 by Hamster Beat (available on AppGallery)
-Compass. Works great
-Smart Remote. If I ever decide to make use of my IR blaster
-AR Measure. I usually don't care for stuff like this but this actually works great and looks awesome
Here are apps/system processes that actually have an uninstall button but that I DID NOT UNINSTALL:
-Backup (com.huawei.KoBackup). I use this app to create backups periodically. Without root, this native app is able to backup a lot more than any other 3rd party backup app
-com.huawei.game.kitserver (I don't play games but if I ever decide to, I'd like to avoid breaking features)
-Contacts Sync (com.huawei.contacts.sync). I have now uninstalled this app as I no longer use the stock dialer (com.huawei.contacts)
-Storage manager (com.android.storemanager)
My goal is to remove low quality, "spyware" or unnecessary apps without removing or breaking useful features. "Useful" is always a little subjective, so decide for yourself based on my descriptions and comments!
I added AI Lens to my debloat list.
I just updated to 10.1.0.122 and did not find new packages installed or restored as part of the ROM update.
thank you very much my friend ! just did this on Mate XS !!!
finally !
avetny said:
thank you very much my friend ! just did this on Mate XS !!!
finally !
Click to expand...
Click to collapse
You're more than welcome. I've been doing some network analysis using the AdGuard Firewall and I might update this guide with my findings. I found out the phone is phoning back home (to China) quite a bit, especially Huawei Cloud and HiCloud servers despite not using any of these apps or Huawei cloud services.
how do i do this?
i cant use adb i have developer options and usb debugging on but adb devices dont show the phone
It's probably a driver problem. Take a look at this guide: https://androidmtk.com/download-minimal-adb-and-fastboot-tool
H-Emmanuel said:
It's probably a driver problem. Take a look at this guide: https://androidmtk.com/download-minimal-adb-and-fastboot-tool
Click to expand...
Click to collapse
thank you got i to work had to revoke usb debugging
H-Emmanuel said:
Hey everyone,
I've spent the last couples days going through all the installed packages, cross-referencing different debloating guides and testing my changes. I'm running the latest EMUI 10.1.0.114 and here's what I debloated so far:
adb shell pm uninstall --user 0 com.huawei.hicloud ****** Huawei cloud features
adb shell pm uninstall --user 0 com.huawei.browser ****** Stock browser, replaced with Mozilla
adb shell pm uninstall --user 0 com.huawei.browserhomepage ****** Stock browser component
adb shell pm uninstall --user 0 com.android.bookmarkprovider ****** Stock bookmark content
adb shell pm uninstall --user 0 com.android.providers.partnerbookmarks ****** Stock bookmark content
adb shell pm uninstall --user 0 com.huawei.wallet ****** Huawei Wallet app
adb shell pm uninstall --user 0 com.huawei.music ****** Stock music application, replaced with PowerAmp (use the APK from their website, it does not rely on Google Services)
adb shell pm uninstall --user 0 com.huawei.phoneservice ****** Huawei customer support, also known as HiCare
adb shell pm uninstall --user 0 com.huawei.hifolder ****** AppAdvisor
adb shell pm uninstall --user 0 com.huawei.parentcontrol ****** Digital balance, parental control features
adb shell pm uninstall --user 0 com.huawei.hicard ****** Huawei Cards, no info but recommended in some guides, no negative consequences
adb shell pm uninstall --user 0 com.huawei.hitouch ****** Allows you to shop for an object that you took a picture of
adb shell pm uninstall --user 0 com.huawei.hiassistantoversea ****** HiVoice. Huawei's voice assistant to replace "Hey Google"
adb shell pm uninstall --user 0 com.huawei.fastapp ****** Quick App Center, another type of app distribution
adb shell pm uninstall --user 0 com.huawei.imedia.sws ****** Histen. Special sound effects found in the sound settings. I only care about my EQ settings in PowerAmp
adb shell pm uninstall --user 0 com.huawei.intelligent ****** Huawei Assistant. Shopping recommendations
adb shell pm uninstall --user 0 com.huawei.magazine ****** Magazine unlock. Downloads wallpapers for your lock screen. I don't need my phone needlessly connecting to remote servers
adb shell pm uninstall --user 0 com.huawei.hwblockchain ****** I don't do anything blockchain related
adb shell pm uninstall --user 0 com.huawei.hwstartupguide ****** A one-time setup app that is no longer needed
adb shell pm uninstall --user 0 com.android.onetimeinitializer ****** A one-time setup app that is no longer needed
adb shell pm uninstall --user 0 com.huawei.android.instantonline ****** No information but recommended in some guides, no negative consequences
adb shell pm uninstall --user 0 com.huawei.hwpanpayservice ****** This is payment related, I don't use my phone as a payment method nor do I use Huawei Wallet
adb shell pm uninstall --user 0 com.bjbyhd.screenreader_huawei ****** An accessibility feature for visually impaired people
adb shell pm uninstall --user 0 com.huawei.search ****** HiSearch. This does not affect the search bar in the Settings
adb shell pm uninstall --user 0 com.huawei.hwdetectrepair ****** Smart Diagnosis app. It diagnoses hardware problems which I could do myself
adb shell pm uninstall --user 0 com.huawei.hiview ****** This supposedly displays details/attributes of pictures. After removing this, I can still access the picture attributes in the stock Gallery so I'm not sure what this is actually about
adb shell pm uninstall --user 0 com.huawei.hiviewtunnel ****** Related to HiView.
adb shell pm uninstall --user 0 com.huawei.hidisk ****** Stock file explorer, replaced with File Manager +
adb shell pm uninstall --user 0 com.huawei.android.chr ****** HwChrService, this collects data about your usage of the cellular network. No thanks
adb shell pm uninstall --user 0 com.huawei.bd ****** Huawei User Experience app
adb shell pm uninstall --user 0 com.huawei.android.karaoke ****** Self explanatory
adb shell pm uninstall --user 0 com.huawei.desktop.explorer ****** I don't need Huawei doing anything on my PC
adb shell pm uninstall --user 0 com.huawei.android.FloatTasks ****** Navigation Dock, I don't care for that UI feature
adb shell pm uninstall --user 0 com.huawei.languagedownloader ****** According to some guides, this is unsafe but I don't need another downloader for something that I'll never use
adb shell pm uninstall --user 0 com.huawei.lbs ****** Location Service. Sounds scary but I am still able to use all my GPS and location services. My location based weather widgets and Waze connect just as fast and accurately as before
adb shell pm uninstall --user 0 com.huawei.featurelayer.sharedfeature.map ****** Huawei Map Service. I removed it and have no issues using Waze
adb shell pm uninstall --user 0 com.hisi.mapcon ****** This is apparently not recommended when using WiFi calling, which I don't
adb shell pm uninstall --user 0 com.huawei.himovie.overseas ****** Stock video application, replaced with VLC. This integrates perfectly with the stock Camera and Gallery apps
adb shell pm uninstall --user 0 com.android.stk ****** SIM Toolkit. Not supported by US SIM cards
adb shell pm uninstall --user 0 com.android.mms ****** Stock SMS application, replaced with Pulse. I can still send/receive SMS & MMS. Textra looks like a good alternative too
adb shell pm uninstall --user 0 com.huawei.HwMultiScreenShot ****** Scrollshot. Basic screenshots still work, I don't use the knock feature
adb shell pm uninstall --user 0 com.huawei.smartshot ****** Smart screenshot. Basic screenshots still work, I don't use the knock feature
adb shell pm uninstall --user 0 com.huawei.bluetooth ****** Allows importing phone contacts via Bluetooth, something I've never done in my life
adb shell pm uninstall --user 0 com.swiftkey.swiftkeyconfigurator ****** Older version of SwiftKey, replaced with the latest SwiftKey APK
adb shell pm uninstall --user 0 com.touchtype.swiftkey ****** Older version of SwiftKey, replaced with the latest SwiftKey APK
adb shell pm uninstall --user 0 com.huawei.pcassistant ****** Used when connecting your phone to your PC using HiSuite
adb shell pm uninstall --user 0 com.android.egg ****** A hidden animation that no one needs to see
adb shell pm uninstall --user 0 com.android.backupconfirm ****** Google Backup, unusable without Google Services. This does not affect Huawei's backup app, I was able to back up all my apps and settings
adb shell pm uninstall --user 0 com.android.calllogbackup ****** Google Call Log Backup/Restore. This does not affect Huawei's backup app, I was able to back up my calls successfully
adb shell pm uninstall --user 0 com.huawei.scanner ****** AI Lens. Shop for objects that you take a picture of. I can't stand these "features" that revolve around shopping. This de-clutters the camera interface by removing the AI Lens button on the top left corner and does not break the AR Measure app.
NOTICE THAT I DO NOT INCLUDE THE -k PARAMETER IN MY COMMANDS, unlike most guides found online. I do not get any error running the commands as such, and it actually clears the data created by those apps. In other words, we're not only debloating your user interface but also your storage!
To restore any app removed via ADB:
adb shell cmd package install-existing <package_name>
I always try to uninstall apps through Android before resorting to ADB. I did not really keep track of apps that I uninstalled through the menu, so it's just easier to tell you which stock apps I kept installed. By stock app, I ONLY MEAN actual apps that you can open from the home screen:
-AppGallery. This requires com.huawei.hwid to work. I needed it to get Snapchat, I might ADB-uninstall it now that Snapchat is installed
-Phone Clone. This could always be useful for porting apps over
-Optimizer
-Themes
-Live wallpaper (com.huawei.livewallpaper.paradise, also known as Brocade)
-Calendar widget/app
-Camera. Obviously. Who in their right mind would get this phone lacking a major component of Android (Play Services), if not for the camera
-Gallery. For pictures and editing
-Contacts. This is also the phone dialer
-Compass. Works great
-Smart Remote. If I ever decide to make use of my IR blaster
-AR Measure. I usually don't care for stuff like this but this actually works great and looks awesome
Here are apps/system processes that actually have an uninstall button but that I DID NOT UNINSTALL:
-com.huawei.game.kitserver (I don't play games but if I ever decide to, I'd like to avoid breaking features)
-Contacts Sync (com.huawei.contacts.sync). I use the stock dialer and I'm not sure whether this can be safely removed
-Storage manager (com.android.storemanager)
My goal is to remove low quality, "spyware" or unnecessary apps without removing or breaking useful features. "Useful" is always a little subjective, so decide for yourself based on my descriptions and comments!
Click to expand...
Click to collapse
Thanks for this have you noticed any improvement with battery life after debloating all of these apps?
Any issues after debloating?
Also, can you please tell me the exact command you have to type to debloat? Starting from ADB shell, what is the next command please? And what software /hardware do I need to debloat?
Thanos88 said:
Thanks for this have you noticed any improvement with battery life after debloating all of these apps?
Any issues after debloating?
Also, can you please tell me the exact command you have to type to debloat? Starting from ADB shell, what is the next command please? And what software /hardware do I need to debloat?
Click to expand...
Click to collapse
setting click build 7 times enable developer mode
go in developer mode enable usb debugging
download adb
open folder shift + right click
open commend window
adb devices to see if your device is found
then copy paste each commend
Thanos88 said:
Thanks for this have you noticed any improvement with battery life after debloating all of these apps?
Any issues after debloating?
Also, can you please tell me the exact command you have to type to debloat? Starting from ADB shell, what is the next command please? And what software /hardware do I need to debloat?
Click to expand...
Click to collapse
No issues, no crashes and no weird behavior. If you read my comments, I explain what each command does and whether or not it's removing an important feature.
You simply have to copy/paste the commands in bold, these are the full commands.
I pretty much debloated the phone as soon as I got it so I can't really speak about battery life improvement.
A few days ago I even removed the stock Huawei dialer in favor of True Phone (2.0.0.0-hw rev 99 found on the AppGallery). I just updated my first post to reflect that.
H-Emmanuel said:
No issues, no crashes and no weird behavior. If you read my comments, I explain what each command does and whether or not it's removing an important feature.
You simply have to copy/paste the commands in bold, these are the full commands.
I pretty much debloated the phone as soon as I got it so I can't really speak about battery life improvement.
A few days ago I even removed the stock Huawei dialer in favor of True Phone (2.0.0.0-hw rev 99 found on the AppGallery).
Click to expand...
Click to collapse
Thanks!! I stupidly uninstalled something I shouldn't have, restarted the phone and phone wouldn't boot past the huawei logo ?? had to perform factory reset. Be very careful with what you uninstall
Thanos88 said:
Thanks!! I stupidly uninstalled something I shouldn't have, restarted the phone and phone wouldn't boot past the huawei logo had to perform factory reset. Be very careful with what you uninstall
Click to expand...
Click to collapse
Do you remember what you uninstalled specifically? There's a chance you could have restored the missing apps using ADB in Fastboot Mode instead of doing a factory reset.
The list of apps in my post is what I personally removed right after a factory reset (to make sure I was starting from scratch).
H-Emmanuel said:
Do you remember what you uninstalled specifically? There's a chance you could have restored the missing apps using ADB in Fastboot Mode instead of doing a factory reset.
The list of apps in my post is what I personally removed right after a factory reset (to make sure I was starting from scratch).
Click to expand...
Click to collapse
I have no idea what I removed but even after removing it and restating the phone, there was no way to reinstall the app because the phone wouldn't load last the huawei logo meaning I couldn't get it into adb mode at all.
Alright. If I understand correctly, you also removed things that were not on my list, correct?
H-Emmanuel said:
Alright. If I understand correctly, you also removed things that were not on my list, correct?
Click to expand...
Click to collapse
That's correct yes. You won't really know if the things you've removed were safe to remove until you've restarted the phone pretty much
Yep that's true! I wrote this guide after doing many reboots, I'll update my post to add some guidelines.
H-Emmanuel said:
Yep that's true! I wrote this guide after doing many reboots, I'll update my post to add some guidelines.
Click to expand...
Click to collapse
excellent, as long as you rebooted your device after the debloats you've mentioned in your post that's good ?? I still have some more debloats left to do from your list. I was seriously hoping for better battery life, I hope debloating will improve it
Works like a charm, thanks
faceliler said:
Works like a charm, thanks
Click to expand...
Click to collapse
Glad to hear you've had success with this guide
Awesome thank you very much , i thought we need root permissions to do that

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 ?

Categories

Resources