Adb commands to uninstall bloatware - Samsung Galaxy S10+ Questions & Answers

hi can anyone post adb commands to uninstall bloat or apps like facebook,one drive etc

abhijeetn said:
hi can anyone post adb commands to uninstall bloat or apps like facebook,one drive etc
Click to expand...
Click to collapse
adb devices ---> Identify if device is connected.
adb shell ---> To enter commands.
pm uninstall -k --user 0 "X" ---> X is app location (i use App Aplication Info to get it)
cmd package install-existing "X" ---> If you f*cked up and have to reinstall what you deleted.

Related

[Troubleshoot] Fix the Launcher Hijack blocking

Hi guys, I'm troubleshooting for blocking the LauncherHijack.apk. Here I found this app Arcus Android Client (com.amazon.nimh) to block the LauncherHijack to push back to useless Fire Launcher will I modify this app to break this Fire Launcher and Arcus Android Client app to access any 3rd-party launcher.
The Launcher Hijack isn't compatible says from LauncherHijack blocker but is compatible for Android SDK level.
The Launcher Hijack blocker might be a Broken.
There is a message from LauncherHijack blocker:
launcherhijack has been blocked.
launcherhijack is not compatible with this device
Click to expand...
Click to collapse
Let's Get Started
Method 1 - Fix LauncherHijack without PC:
Requirements for Method 1:
-> A Fire tablet
-> SystemPanel2 installed on Google Play to uninstall the Arcus Android Client app
-> ES File Explorer installed on Google Play to backup the Launcher Hijack to create LauncherHijack.apk
Download ES File Explorer: https://play.google.com/store/apps/details?id=com.estrongs.android.pop
1. Install SystemPanel2 on Google Play Store
2. On SystemPanel2 homepage. Select Apps in navigation drawer -> System -> find Arcus Android Client by scrolling down -> tap the 3 vertical dots and select Uninstall.
3. If the uninstall confirmation appears. Tap OK button to confirm to uninstall it.
Uninstall Confirmation message:
Arcus Android Client
Replace this app with the factory version? All data will be removed.
Click to expand...
Click to collapse
4. After the Arcus Android Client has been uninstalled the updates. Now backup the LauncherHijack.apk, open the ES File Explorer, Select Apps on ES homepage, scroll down and select the Launcher Hijack by holding down and tap Backup
5. After the LauncherHijack.apk is backed up. Go to /storage/emulated/0/backups/app/Launcher Hijack_4.0.2.apk and re-install it. (the LauncherHijack will be enabled after re-installed).
6. Reboot
Method 2 - Fix LauncherHijack with PC:
Requirements for Method 2:
-> A Fire tablet
-> Windows PC with ADB driver from Android SDK Platform tools
-> A transferrable micro USB cable
-> A LauncherHijack.apk
1. Make sure the USB Debugging or Enable ADB is enabled in developer options and have an ADB installed from Android SDK Manager on your PC.
2. Connect your Fire tablet to your PC, Open Command Prompt or Microsoft PowerShell and approve the USB device.
3. Verify the attached devices
Code:
adb devices
4. Re-install the Arcus Android Client app with modified version, attached APK file under the post
Code:
adb install -r -d path\to\com.amazon.nimh.apk
or uninstall it
Code:
adb uninstall com.amazon.nimh
with ADB shell
Code:
adb shell
pm uninstall -k --user 0 com.amazon.nimh
with su
Code:
adb shell
su
pm uninstall com.amazon.nimh
disable or hide it
Code:
//uses pm disable
adb shell
pm disable --user 0 com.amazon.nimh
//uses pm hide
adb shell
pm hide --user 0 com.amazon.nimh
with su
Code:
//uses pm disable
adb shell
su
pm disable com.amazon.nimh
//uses pm hide
adb shell
su
pm hide com.amazon.nimh
5. Enable the Launcher Hijack
Code:
adb shell
pm enable --user 0 com.baronkiko.launcherhijack
with su
Code:
adb shell
su
pm enable com.baronkiko.launcherhijack
or re-install it to enable
Code:
adb install -r path/to/LauncherHijack.apk
The commands aren't work, get the mtk-su by @diplomatic
Run the mtk-su commands that same as su
6. Reboot
Code:
adb reboot
or you have an entered to ADB shell exit the ADB shell
Code:
exit
adb reboot
Your LauncherHijack has been unblocked and fixed! Give a thanks.
You have a 3rd-party launcher :highfive:
Get LauncherHijack.apk by @BaronKiko from GitHub
The renamed version of Launcher Hijack (LauncherHijackCloned) works perfectly for me. Quick and easy installation, thank the original developer:
https://forum.xda-developers.com/showpost.php?p=79750554&postcount=469
koop1955 said:
The renamed version of Launcher Hijack (LauncherHijackCloned) works perfectly for me. Quick and easy installation, thank the original developer:
https://forum.xda-developers.com/showpost.php?p=79750554&postcount=469
Click to expand...
Click to collapse
I don't need that
AmznUser444 Dev said:
I don't need that
Click to expand...
Click to collapse
What?
A simple and easy solution?
Don't get me wrong... more power to you for doing it the hard way.
this didnt appear
Arcus Android Client
Replace this app with the factory version? All data will be removed, when i deleted Arcus it was still there

[Q] Help, uninstalled system package using package manager, now phone is dead

I wanted to get ris of the OTA update program cause I don't want to update my phone. I connected it to USB and ran
pm uninstall -k --user 0 com.motorola.cc.ota
And it succeeded. However upon reboot, it no loner detects my SIM card. So I tried to put it back using:
adb shell cmd package install-existing com.motorola.cc.ota
And I get an error, /system/bin/sh: package: not found. What is the correct adb command to get the package reinstalled? It looks like install-existing is not a recognized command
Had to do a factory reset to save device. The instructions to reinstall apps does not work for Android 6 and below.

Oneplus 8 Pro : Uninstall pre-installed app in Android 11

I just bought a OP 8 Pro, unlocked the bootloader and rooted him.​Obviously, I would like to uninstall pre-installed apps but impossible.​System is locked into read-only mode.​I tried all solution I can find but nothing.​And I've found this one.​​You have to install adb before and USB Debugging enabled.​Plug the phone into PC and change it from charge only to file transfer.​In the folder where adb is installed, you have to do SHIFT+RIGHT CLICK to open PowerShell.​Then, in the terminal, enter :​​adb devices​​This print the serial number of the device (first time you have to click ok on the phone).​after, enter :​​adb shell​​You are into your phone.​execute the next command :​​pm uninstall -k --user 0 "name of package" (without quote. You can see the name of package in Titanium or SD Maid for exemple.)​​Done ​It seems to be ok for me.​
thanks! Here's also a popular way to debloat:
[Magisk Debloat] [OOS A10] Eagle debloater V1.5
You can use adb shell. You need to platform tool. Install on computer.
You need to add path to system.
You can use below command.
pm uninstall -k --user 0 package name.
Thanks for Eagles Debloater but I Just want to uninstall one app. Not a lot.
Johncaffee said:
I just bought a OP 8 Pro, unlocked the bootloader and rooted him.​
Obviously, I would like to uninstall pre-installed apps but impossible.​
System is locked into read-only mode.​
I tried all solution I can find but nothing.​
And I've found this one.​​
You have to install adb before and USB Debugging enabled.​
Plug the phone into PC and change it from charge only to file transfer.​
In the folder where adb is installed, you have to do SHIFT+RIGHT CLICK to open PowerShell.​
Then, in the terminal, enter :​​
adb devices​​
This print the serial number of the device (first time you have to click ok on the phone).​
after, enter :​​
adb shell​​
You are into your phone.​
execute the next command :​​
pm uninstall -k --user 0 "name of package" (without quote. You can see the name of package in Titanium or SD Maid for exemple.)​​
Done ​
It seems to be ok for me.​
Click to expand...
Click to collapse
My solution is not ok. It seems to be ok but the apk of the app is always in Root Explorer
Problem with Android 11. It is blocked in read-only mode.

remove apps with adb

how do i remove apps with adb there is a few id like to remove
leo5111 said:
how do i remove apps with adb there is a few id like to remove
Click to expand...
Click to collapse
adb shell pm list packages to see what's installed.
adb shell pm list packages | grep <search term> to search for something specific.
adb shell pm uninstall -k --user 0 <name of package> to remove an app.
Here's a list of google and OnePlus apps.
leo5111 said:
how do i remove apps with adb there is a few id like to remove
Click to expand...
Click to collapse
If you prefer a GUI, you may like ADB App Control by Cyber.Cat. It's free for basic version and cheap to unlock the extras. It works on everything Android that I've tried it on.
the program did it, thanks

No-Root : How to deboat using adb or other tools?

I need to remove some uninstallable apps like YouTube, MI Music, MI Share, MI Pay, etc.
Which tool or method should I use to uninstall these? I heard there is some ADB tool by connecting phone to PC using USB. But I dont know the details.
Google is your friend. Since adb commands are common to all Android phones, you can find the guides elswehere, including various threads and posts here on XDA
Search, read, learn about the pairs of commands:
adb shell pm disable-user
com.google.android.youtube
adb shell pm enable com.google.android.youtube
or:
adb shell pm uninstall -k --user 0 com.google.android.youtube
adb shell cmd package install-existing com.google.android.youtube
Here, com.google.android.youtube
is the package name for YT, hence given example is to disable/enable YT
debloat
yaro666 said:
debloat
Click to expand...
Click to collapse
Hi Thanks but there is no EXE in the link, so how to launch the application?
DOWNLOAD
And read FAQ, like literally there is an instruction

Categories

Resources