[Guide] How to bypass Emui Launcher for your prefered Launcher - Huawei P40 Guides, News, & Discussion

Hi, by default, EMUI won't let you choose your own launcher.
There is an easy trick, from terminal or adb shell, to setting your own launcher as default launcher :
-1 : install your favorite launcher
-2 : use this command :
Code:
pm disable-user --user 0 com.huawei.android.launcher
-3 : reboot your phone
-4 : setting for choosing a launcher is here ! Choose your always favorite launcher !
-5 : if you keep huaweï emui launcher disabled, you won't gonna have task manager, re-enable it with this command :
Code:
pm enable com.huawei.android.launcher
Enjoy !
Ps : sometimes, an update of EMUI will reset the home launcher to the emui launcher, you can do this trick again.

tikilou said:
Hi, by default, EMUI won't let you choose your own launcher.
There is an easy trick, from terminal or adb shell, to setting your own launcher as default launcher :
-1 : install your favorite launcher
-2 : use this command :
Code:
pm disable-user --user 0 com.huawei.android.launcher
-3 : reboot your phone
-4 : setting for choosing a launcher is here ! Choose your always favorite launcher !
-5 : if you keep huaweï emui launcher disabled, you won't gonna have task manager, re-enable it with this command :
Code:
pm enable com.huawei.android.launcher
Enjoy !
Ps : sometimes, an update of EMUI will reset the home launcher to the emui launcher, you can do this trick again.
Click to expand...
Click to collapse
Hi, is this method is still working, i tried but no success.

Related

[Q] Getting Exception while uninstalling app using ddmlib 23.1.3.jar

hii guys I am trying develop a java app that makes Android device into Kiosk i have started development using ddmlib23.1.3 jar i was able to succesfully uninstall the system apps using the sequence of adb commands (on a rooted device) now I am trying to uninstall user apps from the device where I am getting Exceptions
Trail 1:
device.executeShellCommand("pm uninstall "+apkName, receiver);//apkName contains package
I have kept Log for printing status i got following messages
Uninstalling : com.foxit.mobile.pdf.lite
..
Status :
..
Status :
..
Running Command : pm uninstall com.foxit.mobile.pdf.lite
..
Status : Failure
Trail 2:
i got status as Failure so i have included 'su' permission for command
device.executeShellCommand("su -c 'pm uninstall "+apkName+"'", receiver);
package Name : /data/app/com.foxit.mobile.pdf.lite-1.apk=com.foxit.mobile.pdf.lite
..
Uninstalling : com.foxit.mobile.pdf.lite
..
Status :
..
Status :
..
Running Command : su -c 'pm uninstall com.foxit.mobile.pdf.lite'
..
Status : Segmentation fault
Trail 3:
then i tried with the default method in the API
String status = device.uninstallPackage(apkName);
then i got following messages in log
..
package Name : /data/app/com.foxit.mobile.pdf.lite-1.apk=com.foxit.mobile.pdf.lite
..
Status : Unknown failure
..
please help me how to solve this problem
thanks in advance

Get rid of MI Apps and other preinstalled apps

In the last MIUI update Xiaomi has disabled the option of disabling the notification for MI Apps which I don't want to use and don't want to see notifications from it. So, I searched the internet and found the trick.
Prerequisites:
1. PC with android SDK or Minimal ADB and Fastboot
Step 1 : Enable developer options on your phone
Step 2 : Enable USB debugging and USB debugging (Security settings) and connect it to your PC
Step 3 : Run Command Prompt as Administrator
Step 4 : Navigate to your ADB folder
Step 5 : Type
Code:
adb devices
Step 6 : then
Code:
adb shell
Step 7 : then
Code:
pm uninstall -k --user 0 com.xiaomi.mipicks
or any other package name you want to get rid of
Thats it. :good:
Enjoy
Dude, big thanks for this tutorial. It was pushing notifications 5 times a day.
I won't be updating this MIUI pos henceforth
Failure [Not installed for 0] error
After performing above steps to unistall Mi Apps ..I am getting error
failure [not installed for 0]
But I was able to uninstall Mi Browser and other google bloatwares.
Also tried disabling MIUI Optimization,
Suggest If there is a option.
I am having Redmi Note 4 with MIUI 9.5
EDIT :
I was entering wrong package name.Be carefull its com.xiaomi.mipicks....that 'a' sucks
Got rid of the error.
skysar said:
In the last MIUI update Xiaomi has disabled the option of disabling the notification for MI Apps which I don't want to use and don't want to see notifications from it. So, I searched the internet and found the trick.
Prerequisites:
1. PC with android SDK or Minimal ADB and Fastboot
Step 1 : Enable developer options on your phone
Step 2 : Enable USB debugging and USB debugging (Security settings) and connect it to your PC
Step 3 : Run Command Prompt as Administrator
Step 4 : Navigate to your ADB folder
Step 5 : Type
Code:
adb devices
Step 6 : then
Code:
adb shell
Step 7 : then
Code:
pm uninstall -k --user 0 com.xiaomi.mipicks
or any other package name you want to get rid of
Thats it. :good:
Enjoy
Click to expand...
Click to collapse
Call it a good disable because apps will be on phone. You can't get rid of them unless you root. Misleading headline.
Sag555 said:
After performing above steps to unistall Mi Apps ..I am getting error
failure [not installed for 0]
But I was able to uninstall Mi Browser and other google bloatwares.
Also tried disabling MIUI Optimization,
Suggest If there is a option.
I am having Redmi Note 4 with MIUI 9.5
EDIT :
I was entering wrong package name.Be carefull its com.xiaomi.mipicks....that 'a' sucks
Got rid of the error.
Click to expand...
Click to collapse
Thanks

Mate 20 pro demo remove

Is there any way to remove demo ?
Any one done ?
Need help
Thanks advance
eyasinahmad said:
Is there any way to remove demo ?
Any one done ?
Need help
Thanks advance
Click to expand...
Click to collapse
Demo models only usually have wifi at best, and do not accept sim cards for the most part. So while people try, it's usually fruitless unless you just want to copy videos onto it and watch them.
eyasinahmad said:
Is there any way to remove demo ?
Any one done ?
Need help
Thanks advance
Click to expand...
Click to collapse
MATE 20 DEMO Solution
Step 1:
Go to Settings > Security & Privacy > Device administrators
Disable (inaktiv) Retail mode & HwRetailAssistant
Step 2:
USB-Port setting:
*#*#2846579#*#*
DIAL
-Background Setting
-USB Port Setting
-Manufacture Mode
close
Step 3:
adb devices
adb shell
pm uninstall -k --user 0 com.huawei.retaildemo
pm uninstall -k --user 0 com.huawei.retail.assistant
pm clear com.android.providers.contacts
--RESTART--
Step 4: (screen Lock-Face-Finger lock-unlock enabling)
adb devices
adb shell
locksettings set-pin --old 0000 8888
(now 8888 is your Display PIN ! you can now change in mobile )
go to Face unlock, scann yourself or finger
>>DONE<<

Debloat/Disable System Apps

So you got your new shiny realme device but you hate bloatware or want to disable system apps so you can use 3rd party apps instead?
Follow the steps below:
THIS DOES NOT REQUIRE ROOT HOWEVER MAKE SURE NOT TO DISABLE IMPORTANT SYSTEM APPS. WIPE DATA/FORMATTING RE-ENABLES ALL SYSTEM APPS. THIS DOES NOT MESS WITH OTAs.
WHAT YOU NEED:-
ADB/Fastboot Drivers
Windows: https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Linux: https://dl.google.com/android/repository/platform-tools-latest-linux.zip
DEBLOAT:-
1. Enable developer options by tapping on the build number 7 times and enable USB Debugging.
2. Plug in your phone.
3. Goto the folder where ADB is installed, hold shift and right click, and click on open command window here(windows).
4. Type
in CMD
Code:
adb devices
in Powershell
Code:
./adb devices
.
5. This should return the ID of your device and show if its authorised. Enable debugging Promt on your Phone if it shows unauthorised (allow this computer).
6. Type
in cmd
Code:
adb shell
in Powershell
Code:
./adb shell
.
7. This should display a prompt, something like RMXxxxx:/ $
8. To uninstall type
Code:
pm uninstall -k --user 0 <name of the package>
To disable type
Code:
pm disable-user --user 0 <name of the package>
eg: pm uninstall -k --user 0 com.heytap.browser / pm disable-user --user 0 com.heytap.browser
9. Done!
To reinstall uninstalled apps type
Code:
pm install-existing <name of the package>
To enable disabled apps type
Code:
pm enable <name of the package>
Some apps do not uninstall such as market and gamecenter, disabling is the only option.
Very Helpful, Thanks. I debloated my realme 7 and also disabled the Realme security analysis app so now no more ads popup after everytime installing a new app from playstore?
vimal102029 said:
Very Helpful, Thanks. I debloated my realme 7 and also disabled the Realme security analysis app so now no more ads popup after everytime installing a new app from playstore
Click to expand...
Click to collapse
Nice
i wasn't able to debloat with uninstall command. what could possibly wrong? using disable-user work fine though
immns said:
i wasn't able to debloat with uninstall command. what could possibly wrong? using disable-user work fine though
Click to expand...
Click to collapse
Use this command, I tried this.
[ pm uninstall --user 0 <packagename> ]
vimal102029 said:
Use this command, I tried this.
[ pm uninstall --user 0 <packagename> ]
Click to expand...
Click to collapse
thank uu, it worked:good:
Could someone post a list of the apps that can be safely removed?
Some handy tips down the road.
While using power shell just add ./ infront of all adb commands and everything will work.
If error showing while connecting through USB debug "Cant Allow USB debugging Because an app is obscuring when connect to your pc..." Just disable assistive ball and Floating windows privacy > display over other apps.< Uncheck everything.
$ ./adb shell pm list packages < List everything installed
$ adb shell pm list packages -d < List all the disabled package
Can be safely and shud be Disabled packages:
package:com.heytap.cloud < Cloud service better alternates avail.
package:com.android.nfc < By default disabled as device doesn't have hardware.
package:com.facebook.services < Racist Biased Snitch Company will leech on your data and create chaos in your country.
package:com.facebook.system < No idea why its installed and running in back
package:com.facebook.appmanager < Always takes side of Mighty
package:com.heytap.browser < This is main source of adverts in phone only reason i needed to go through this.
---------- Post added at 04:27 AM ---------- Previous post was at 04:13 AM ----------
vimal102029 said:
Very Helpful, Thanks. I debloated my realme 7 and also disabled the Realme security analysis app so now no more ads popup after everytime installing a new app from playstore
Click to expand...
Click to collapse
Hello, security analysis app is from Google side can be disabled inside google settings. Only way Realme shows adverts is through default Browser which can be disabled. if there's in any package which can be disabled or uninstalled for realme analysis please share name.
Thank you
I personally disabled these apps
papabear57 said:
Hello, security analysis app is from Google side can be disabled inside google settings. Only way Realme shows adverts is through default Browser which can be disabled. if there's in any package which can be disabled or uninstalled for realme analysis please share name.
Thank you
Click to expand...
Click to collapse
com.realme.securitycheck
vimal102029 said:
com.realme.securitycheck
Click to expand...
Click to collapse
Thank you
I recently debloated many packages, but found the realme gallery3d to be useful. It has face sorting feature, which I found to be very nice.
However I lost the capability to sort face after deleting a random package, and I dont know which one it is.
Does anyone know which package is associated with this service?
vimal102029 said:
I personally disabled these apps
Click to expand...
Click to collapse
About your first attachment: how to know what path (e.g. com.heytap.browser) represents what app? I want to delete the weather app. How can i know what path is this?
Thank you all for these posts btw.
Edit: omg, last seen May 30, 2021 . Can somebody else answer this question?
neutrala said:
About your first attachment: how to know what path (e.g. com.heytap.browser) represents what app? I want to delete the weather app. How can i know what path is this?
Thank you all for these posts btw.
Edit: omg, last seen May 30, 2021 . Can somebody else answer this question?
Click to expand...
Click to collapse
Not the path but the app package name is that matters, you can download an app like this https://play.google.com/store/apps/details?id=com.csdroid.pkg&hl=es&gl=US
Be careful which app you choose, disabling a system dependent app may cause your device not working properly or even booting at all. You might need to perform a factory reset or flash again the firmware to solve it.
neutrala said:
I want to delete the weather app.
Click to expand...
Click to collapse
Don't. Disabling weather app on RUI 2.0 causes issues. You'll have to format data to recover.

Question bloatware disable script / setup script

I've made this bloatware disable script for my new realme GT (Global) you might find it useful.
It disables stuff you can't usually disable / remove on the phone itself.
The uninstallable stuff I removed manually before creating this script. Some more "extreme" options are commented out.
first setup ADB:
On your phone:
Settings -> About Phone -> Version -> press "Build Number" 7 times to enable Developer Options --> Go back to the root of settings --> Additional Settings --> Developer options and enable USB Debugging --> reconnect your phone --> select Data Transfer / Android Auto
On your PC:
Windows device driver: https://developer.android.com/studio/run/oem-usb.html
adb/fastboot: https://developer.android.com/studio/releases/platform-tools#downloads
on windows cd to the extracted platform-tools directory and change each command to .\adb ... or copy its contents to C:\tools and add that to your PATH
realme-gt-setup.sh
GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
Please note that you can't disable com.coloros.weather.service if you enables dark mode, otherwise, you'll encounter repeated flickering and not able to unlock the phone!
nickyip123 said:
....you can't disable com.coloros.weather.service....
Click to expand...
Click to collapse
Noted.
Firstly did you manage to unlock your phone ?
Would uninstalling instead of disabling the Weather App solve the issue ?
pm uninstall -k --user 0 com.coloros.weather.service
pm uninstall -k --user 0 com.coloros.weather2
Chi Am said:
Noted.
Firstly did you manage to unlock your phone ?
Would uninstalling instead of disabling the Weather App solve the issue ?
pm uninstall -k --user 0 com.coloros.weather.service
pm uninstall -k --user 0 com.coloros.weather2
Click to expand...
Click to collapse
I've tried that too.
pm uninstall -k --user 0 com.coloros.weather2
makes no problem at all, it is the "weather.service" matters.
I let the adb shell open and data line connected, then
pm uninstall -k --user 0 com.coloros.weather.service
Nothing happens at this point, but after I clicked Dark Mode the screen flickers.
I turned off screen and on again, still the same, flickers and no response.
So I immediately put the App back by
cmd package install-existing com.coloros.weather.service
The screen returns to normal again, and I can unlock.
nickyip123 said:
I've tried that too.
pm uninstall -k --user 0 com.coloros.weather2
makes no problem at all, it is the "weather.service" matters.
I let the adb shell open and data line connected, then
pm uninstall -k --user 0 com.coloros.weather.service
Nothing happens at this point, but after I clicked Dark Mode the screen flickers.
I turned off screen and on again, still the same, flickers and no response.
So I immediately put the App back by
cmd package install-existing com.coloros.weather.service
The screen returns to normal again, and I can unlock.
Click to expand...
Click to collapse
First and foremost, thank you for the prompt reply.
Having installed another Weather App, I uninstalled "weather.service" and "weather2" then changed the device from Light to Dark Mode (Device still connected to PC) and unfortunately, I'm glad to report, there were no flickering issues.
I'm assumming the weather.service is causing UI issues which another weather app in place had adressed.
My intension is to replace the Coloros Weather App with my own option therefore uninstalling just the "weather2" will be fine.
I threw caution to the wind and re-installed the coloros.weather.service just in case if the current weather app is accidentally uninstalled.
Thank you for your help.
I use this
[TOOL] ADB AppControl 1.8.0 🚀 Ultimate App Manager & Debloat Tool + Tweaks
ADB AppControl 🚀 Root is not required. Works with any Android device. Can do almost everything you dreamed about with applications. ADB AppControl - the desktop program, that will allow you to easily manage applications on your android device...
forum.xda-developers.com
Easy to use
Hello, I am looking for a list of application (bloatware) to deactivate for Realme gt neo
In need of help.
Sorry people, I have convinved myself that it's better to have the devil you know...so no help needed....but I can't seem find an option to delete this post so if an admin is available then thank you.
Sos for the inconvenience.

Categories

Resources