Debloat Workarounds - Samsung Galaxy A21s Questions & Answers

Has anyone has any luck debloating the A21? My wife's phone could use some breathing room.

Root is already possible, just wait for a easier method.

Enable developer options and turn on usb debugging
Open up your Settings app.
Tap on the About phone option.
Scroll down again and find the Build number entry.
Start repeatedly tapping on the Build number. Android will pop up a message informing you that in x amount of clicks you will become a developer. Keep tapping until the process is complete. It should be seven taps.
You will be asked to enter your PIN number
With that out of the way, head on back to the main Settings menu and you will now see Developer Options listed. In Developer Options there will be a option for USB Debugging that you will need to toggle on
Click to expand...
Click to collapse
Download and install adb and fastboot on your pc
https://forum.xda-developers.com/showthread.php?t=2317790
Download Samsung usb drivers
https://tsar3000.com/download/download-samsung-usb-driver-for-mobile-phones-v1-5-65-0/
Plug your phone into your pc
Right click the start menu and click command prompt or power shell
Start adb
adb start-server
Click to expand...
Click to collapse
To see if your device is connected
adb devices
Click to expand...
Click to collapse
Starts the remote shell command console in your device
adb shell
Click to expand...
Click to collapse
List all the installed packages on your device. You can also just list enabled apps, disabled apps, or uninstalled apps by adding “-e” “-d” “-u” to the end of this command
pm list packages
Click to expand...
Click to collapse
Search for a app, say we want to see what apps have Samsung in the name
pm list packages | grep ‘samsung’
Click to expand...
Click to collapse
To uninstall a app
pm uninstall -k —user 0 <com.your.package.name>
Click to expand...
Click to collapse
Here’s an example to uninstall Samsung internet
pm uninstall -k —user 0 com.sec.android.app.sbrowser
Click to expand...
Click to collapse
Disable a app
pm disable -k —user 0 <com.your.package.name>
Click to expand...
Click to collapse
Reinstall a uninstalled system app
cmd package install-existing <com.your.package.name>
Click to expand...
Click to collapse
What is ADB? How to Install ADB, Common Uses, and Advanced Tutorials
https://www.xda-developers.com/what-is-adb/
Bloatware cheat sheets I used
https://technastic.com/remove-samsung-bloatware-safe-to-remove-apps/
https://technastic.com/adb-shell-commands-list/
Alternatively you can get a app that’s no longer available on the Google Play Store that has to be side loaded but also isn’t free but it doesn’t have a good wrap with the community because the developer was making people pay for it more then once to use it. If you search around some it isn’t hard to find what I’m talking about.
Tested and working on Galaxy A21 (sm-a215u1)

Related

can non-root user install .apk by pm command?

Hi,
I have connected to a android device by SSH.I have trying now to install package by using pm command.The problem is I am not root now as I am not able to be root now.So can I use the pm command and if not then is there any way to install a package silently by command line.
Kindly give some idea .....
Thanks.
pradiptart said:
Hi,
I have connected to a android device by SSH.I have trying now to install package by using pm command.The problem is I am not root now as I am not able to be root now.So can I use the pm command and if not then is there any way to install a package silently by command line.
Kindly give some idea .....
Click to expand...
Click to collapse
No way..
Root is required to install a package silently. ADB shell can't bypass this requirement.
SachinShekhar said:
No way..
Root is required to install a package silently. ADB shell can't bypass this requirement.
Click to expand...
Click to collapse
Not true. Sideloading apps via adb does not require a rooted device.
pradiptart said:
Hi,
I have connected to a android device by SSH.I have trying now to install package by using pm command.The problem is I am not root now as I am not able to be root now.So can I use the pm command and if not then is there any way to install a package silently by command line.
Kindly give some idea .....
Thanks.
Click to expand...
Click to collapse
If you're connected now, why not just try it?
SifJar said:
If you're connected now, why not just try it?
Click to expand...
Click to collapse
Thanks all for your valuable reply,
I will let you know about this..
Thnaks
Theonew said:
Not true. Sideloading apps via adb does not require a rooted device.
Click to expand...
Click to collapse
I've just tested:
Code:
adb push app.apk /sdcard_root/app.apk
adb shell
$ pm install /sdcard_root/app.apk
Yes, it works. It has installed the app SILENTLY. I wonder why it doesn't work programmatically.
SachinShekhar said:
I wonder why it doesn't work programmatically.
Click to expand...
Click to collapse
It would be quite a security problem if apps were able to silently install other apps, especially so easily.

Android Stock Keyboard on Wear Devices(Working on Moto360)

Hi i tryed sideload android stock keyboard on moto360. After install and enabling i can use stock keyboard . Edges difficult for pushing like a,z,p,delete keys. And Dictionaries can be download from Android Keyboard Gui.
for installing step by step:
firs download apk : http://apps.evozi.com/apk-downloader/?id=com.google.android.inputmethod.latin
enable debuggind both watch and phone.
Connect via adb with :
Code:
adb forward tcp:4444 localabstract:/adb-hub
adb connect localhost:4444
install apk to watch (it can be long, don't worry):
Code:
adb -s localhost:4444 install com.google.android.inputmethod.latin.apk
After installing enable keyboard default:
Code:
adb -s localhost:4444 shell ime enable com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME
adb -s localhost:4444 shell ime set com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME
Thats it, now you can use keyboard.
Here is the screenshoot:
Thanks...
this is awesome
kovcoo said:
Thanks...
this is awesome
Click to expand...
Click to collapse
Thanks. But can you tell us for updating post, which wear device are you using?
zhackary said:
Thanks. But can you tell us for updating post, which wear device are you using?
Click to expand...
Click to collapse
Moto360
works on Sony SmartWatch 3. I installed Android Terminal Emulator as well.
Works on wear live very well. Thanks for the info.
...
[Q]
how can i delete it ? i consumes a lot of battery
o-ellinas said:
how can i delete it ? i consumes a lot of battery
Click to expand...
Click to collapse
Connect via adb with :
adb forward tcp:4444 localabstract:/adb-hub
adb connect localhost:4444
adb -s localhost:4444 unistall -k com.google.android.inputmethod.latin
Download link not working.. can somebody give another link to download the keyboard apk???
amritpal2489 said:
Download link not working.. can somebody give another link to download the keyboard apk???
Click to expand...
Click to collapse
Link is working but here is the mirror: https://drive.google.com/file/d/0Bz2XKqRXsgUldkd3VkJqTXRMTVU/view?usp=sharing
Did you sideload or just send using adb
sent from MY Supercharged g3
---------- Post added at 11:20 PM ---------- Previous post was at 11:20 PM ----------
ranf said:
works on Sony SmartWatch 3. I installed Android Terminal Emulator as well.
View attachment 3119329
View attachment 3119330
Click to expand...
Click to collapse
How did you do this?
sent from MY Supercharged g3
Code:
adb install Filename.apk
adb shell
ime ...
If you have a watch that can connect to your computer via charging cradle and USB cable such as the g watch, it is possible to sideload apps directly instead of over bluetooth. The advantage to this is that it is much faster.
Simply plug the charging cradle in to the computer, open up adb, and type adb devices.
You will be prompted from your phone to grant permissions to the computer.
Next, run the command: adb -d install filename.apk
Adb debugging must be enabled on watch via Dev options
I tried to install this app on my Smartwatch 3 but I get
Failure [INSTALL_FAILED_NO_MATCHING_ABIS]
Click to expand...
Click to collapse
Could someone help me please ??
Thanks !
mister-gwada97one said:
I tried to install this app on my Smartwatch 3 but I get
Could someone help me please ??
Thanks !
Click to expand...
Click to collapse
I think Google updated its keyboard since I get the same error.
Using zhackary's mirror did work for me, so I suggest you to try that.
wouter-visser said:
I think Google updated its keyboard since I get the same error.
Using zhackary's mirror did work for me, so I suggest you to try that.
Click to expand...
Click to collapse
Thanks a lot. This mirror worked for me too.
Hello Guys,
do you know if there's a way to add french language to the keyboard please ?
When I tap on languages Google keyboard stops.
Thanks !
zhackary said:
Thanks. But can you tell us for updating post, which wear device are you using?
Click to expand...
Click to collapse
Samsung Wear Live.
This works very well. Thanks!
Its work!!! thank you so much this better then any other input methods i'd tried before...
you're the best!!!

Found a way to remove Amazon ads on Moto G4 running Android Nougat! (xt1625)

Before being updated to Nougat on my Amazon Moto G4, I was happy to run the command:
Code:
pm disable com.amazon.phoenix
To remove those annoying lockscreen ads. Since the update hit, that no longer was a choice, as now I received an error about user permissions. Being that the ads really do annoy me, I set out to find a way to disable or altogether remove the package from the system. It only took a couple of hours digging through pm commands and XDA forums to find a way to completely remove the application that displays those ads once and for all.
So without further adue:
Either open an ADB shell or run a terminal command on the phone itself. At the shell prompt (athene:/) type the following:
Code:
pm uninstall -k --user 0 com.amazon.phoenix
And that's it. A reboot should remove any remnants but it seems to work right away in most cases.
I'll go ahead and assume that this trick works for other Amazon Ad Enabled devices unless I hear otherwise.
dosangst said:
Before being updated to Nougat on my Amazon Moto G4, I was happy to run the command:
To remove those annoying lockscreen ads. Since the update hit, that no longer was a choice, as now I received an error about user permissions. Being that the ads really do annoy me, I set out to find a way to disable or altogether remove the package from the system. It only took a couple of hours digging through pm commands and XDA forums to find a way to completely remove the application that displays those ads once and for all.
So without further adue:
Either open an ADB shell or run a terminal command on the phone itself. At the shell prompt (athene:/) type the following:
And that's it. A reboot should remove any remnants but it seems to work right away in most cases.
I'll go ahead and assume that this trick works for other Amazon Ad Enabled devices unless I hear otherwise.
Click to expand...
Click to collapse
Does it work on locked bootloaders?
Yes. AFAIK all Amazon G4 Prime's are locked bootloaders. This requires no root, nothing but a simple adb shell command!
Edit, Don't works.
How does it not work?
Thank you very much...
Works perfectly !!!!!!
I used this in my Moto G4 Prime version(XT1625)(locked bootloader, no root) after reboot i notice that is working this method.
1. Open cmd, and put my phone in debug mode. Plug my phone through usb to my computer.
2. In cmd put adb shell
3. put
Code:
pm uninstall -k --user 0 com.amazon.phoenix
4. Reboot
5. Be Happy!
Waiting to see if the apps install again
It works! I was doing it wrong, thanks for this friend! Now only root is missing! xD
Could someone give the command to uninstall the amazon widget app and the amazon photos app? Thank you
lerg96 said:
I used this in my Moto G4 Prime version(XT1625)(locked bootloader, no root) after reboot i notice that is working this method.
1. Open cmd, and put my phone in debug mode. Plug my phone through usb to my computer.
2. In cmd put adb shell
3. put
Code:
pm uninstall -k --user 0 com.amazon.phoenix
4. Reboot
5. Be Happy!
Waiting to see if the apps install again
Click to expand...
Click to collapse
Hi,Can you tell me more details step by step because I am new to android?., I am using windows laptop
Hu
canhmeo said:
I used this in my Moto G4 Prime version(XT1625)(locked bootloader, no root) after reboot i notice that is working this method.
1. Open cmd, and put my phone in debug mode. Plug my phone through usb to my computer.
2. In cmd put adb shell
3. put
Hi,Can you tell me more details step by step because I am new to android?., I am using windows laptop
Click to expand...
Click to collapse
1. Put your phone in debugging mode(settings => developer options => USB debugging if you don't see developer options go to about phone and tap 7 times or more in build number)
2. Install adb and Motorola drivers in your PC (search a little ?)
3. Connect your phone through USB to your PC
4. Open CMD (windows + r and type CMD and hit enter )
5. Type adb shell in CMD (the black window that appears after you hit enter) and hit enter
6. Type the magic command provide in this thread and hit enter
7. Reboot
8. Maybe you can make some friends after it, Google can be your friend
9. Install Google allo and talk about weather with Google Assistant
10. Joking, be happy
11. Don't forget to say thanks, not to me. To the owner of this thread
Thanks -- worked fine for me
Went into phone Settings then Apps -- forced stopped all running apps that I wanted to remove, cleared data for each, removed any updates and disabled whatever I could
Ran the adb uninstall command multiple times once for each app:
com.amazon.phoenix
com.amazon.widgets
com.amazon.clouddrive.photos
com.amazon.kindle
com.amazon.dee.app
com.amazon.drive
com.imdb.mobile
com.goodreads
com.audible.application
com.google.android.music
com.google.android.videos
Click to expand...
Click to collapse
Hi, all. Just wanted to say that this worked perfectly on my G4. My build number is NPJS25.93-14-4 (running Nougat) and the device is at the March 1, 2017 Security patch level.
I used Minimal ADB and Fastboot on a Windows 10 box. Enabled debugging on the phone, connected it, ran adb shell and entered the command as above. Big thanks to Jatan1986 as well for the additional commands which also worked great (I didn't uninstall everything but that list is terrific). Rebooted and the apps I uninstalled were gone. No more ads.
Oh, I did not do the force stop on the apps first. I performed just the steps above.
Much thanks for this method and post.
lerg96 said:
Hu
1. Put your phone in debugging mode(settings => developer options => USB debugging if you don't see developer options go to about phone and tap 7 times or more in build number)
2. Install adb and Motorola drivers in your PC (search a little )
3. Connect your phone through USB to your PC
4. Open CMD (windows + r and type CMD and hit enter )
5. Type adb shell in CMD (the black window that appears after you hit enter) and hit enter
6. Type the magic command provide in this thread and hit enter
7. Reboot
8. Maybe you can make some friends after it, Google can be your friend
9. Install Google allo and talk about weather with Google Assistant
10. Joking, be happy
11. Don't forget to say thanks, not to me. To the owner of this thread
Click to expand...
Click to collapse
First of all I would like to thank the owner of this post.
On the other hand it still not working for me,I am trying to use google to know how to do
canhmeo said:
First of all I would like to thank the owner of this post.
On the other hand it still not working for me,I am trying to use google to know how to do
Click to expand...
Click to collapse
Happy to try and help - please list step-by-step what you have done and what messages you have received.
canhmeo said:
First of all I would like to thank the owner of this post.
On the other hand it still not working for me,I am trying to use google to know how to do
Click to expand...
Click to collapse
Make sure your computer can see your phone by typing
adb devices
dosangst said:
Before being updated to Nougat on my Amazon Moto G4, I was happy to run the command:
Code:
pm disable com.amazon.phoenix
To remove those annoying lockscreen ads. Since the update hit, that no longer was a choice, as now I received an error about user permissions. Being that the ads really do annoy me, I set out to find a way to disable or altogether remove the package from the system. It only took a couple of hours digging through pm commands and XDA forums to find a way to completely remove the application that displays those ads once and for all.
So without further adue:
Either open an ADB shell or run a terminal command on the phone itself. At the shell prompt (athene:/) type the following:
Code:
pm uninstall -k --user 0 com.amazon.phoenix
And that's it. A reboot should remove any remnants but it seems to work right away in most cases.
I'll go ahead and assume that this trick works for other Amazon Ad Enabled devices unless I hear otherwise.
Click to expand...
Click to collapse
I have seen the response to this method and it seems quite good.
I would like to know if this can affect any future update of Android from Amazon. I am looking to get Android 7.1.1 or Android O in the future and do not know if this change may cause any issue.
Thanks in advance.
titomalanguito said:
I I would like to know if this can affect any future update of Android from Amazon./QUOTE]
There's no way to know for sure.
Click to expand...
Click to collapse
lerg96 said:
Hu
1. Put your phone in debugging mode(settings => developer options => USB debugging if you don't see developer options go to about phone and tap 7 times or more in build number)
2. Install adb and Motorola drivers in your PC (search a little )
3. Connect your phone through USB to your PC
4. Open CMD (windows + r and type CMD and hit enter )
5. Type adb shell in CMD (the black window that appears after you hit enter) and hit enter
6. Type the magic command provide in this thread and hit enter
7. Reboot
8. Maybe you can make some friends after it, Google can be your friend
9. Install Google allo and talk about weather with Google Assistant
10. Joking, be happy
11. Don't forget to say thanks, not to me. To the owner of this thread
Click to expand...
Click to collapse
Thanks for the guide.
---------- Post added at 10:22 AM ---------- Previous post was at 10:21 AM ----------
dosangst said:
Before being updated to Nougat on my Amazon Moto G4, I was happy to run the command:
Code:
pm disable com.amazon.phoenix
To remove those annoying lockscreen ads. Since the update hit, that no longer was a choice, as now I received an error about user permissions. Being that the ads really do annoy me, I set out to find a way to disable or altogether remove the package from the system. It only took a couple of hours digging through pm commands and XDA forums to find a way to completely remove the application that displays those ads once and for all.
So without further adue:
Either open an ADB shell or run a terminal command on the phone itself. At the shell prompt (athene:/) type the following:
Code:
pm uninstall -k --user 0 com.amazon.phoenix
And that's it. A reboot should remove any remnants but it seems to work right away in most cases.
I'll go ahead and assume that this trick works for other Amazon Ad Enabled devices unless I hear otherwise.
Click to expand...
Click to collapse
Appreciate it! is working fine on my Moto g5
titomalanguito said:
Thanks for the guide.
---------- Post added at 10:22 AM ---------- Previous post was at 10:21 AM ----------
Appreciate it! is working fine on my Moto g5
Click to expand...
Click to collapse
Pura vida!
I had a bit of trouble getting it to work on my Moto G4, just updated to Nougat. When I run the following code in an android terminal, it does not return an error, but pulls up a new line almost instantly.
Code:
pm uninstall -k --user 0 com.amazon.phoenix
The ads were still there, even after restarting
When I run the following while connected with adb, it returns "Success"
Code:
adb shell pm uninstall -k --user 0 com.amazon.phoenix
The ads were still there, but after restarting they were gone (Whoo!!)
I would really like to bypass the lockscreen entirely as I don't like to have a password, but they disabled that since that would bypass the ads. Pretty annoying

[Non-ROOT] Fit status bar with notch

Thanks to Android Runtime Resource Overlay, we can change the status bar height without ROOT.
The result is as the attached image shown.
--How to use--
Download "fit_notch_dipper.apk" from attached files, and install it.
Reboot your phone.
Enable "USB debugging" in "Develop options", and connect your phone with your computer.
Setup ADB on your computer according to this post.
Execute the "adb shell cmd overlay enable --user 0 com.ztc1997.overlay.dipper.android.fit_notch" command on your computer.
Reboot your phone and enjoy.
--Known problems--
Doesn't work with Hide notch
Doesn't work on Android Pie
ztc1997 said:
Thanks to Android Runtime Resource Overlay, we can change the status bar height without ROOT.
The result is as the attached image shown.
--How to use--
Download "fit_notch_dipper.apk" from attached files, and install it.
Reboot your phone.
Enable "USB debugging" in "Develop options", and connect your phone with your computer.
Setup ADB on your computer according to this post.
Execute the "adb shell cmd overlay enable --user 0 com.ztc1997.overlay.dipper.android.fit_notch" command on your computer.
Reboot your phone and enjoy.
Click to expand...
Click to collapse
Does this work on the Global version as well?
For me it doesn't open the file after the download.
ztc1997 said:
Thanks to Android Runtime Resource Overlay, we can change the status bar height without ROOT.
The result is as the attached image shown.
--How to use--
Download "fit_notch_dipper.apk" from attached files, and install it.
Reboot your phone.
Enable "USB debugging" in "Develop options", and connect your phone with your computer.
Setup ADB on your computer according to this post.
Execute the "adb shell cmd overlay enable --user 0 com.ztc1997.overlay.dipper.android.fit_notch" command on your computer.
Reboot your phone and enjoy.
Click to expand...
Click to collapse
Finally...tq
Anyway for root user?
it full notch same frist rom 9.5.5.0??
https://www.youtube.com/watch?v=pVL...LVIi6-u5w&index=7&t=0s&ab_channel=AlfarizkiCS
ShafiX94 said:
Anyway for root user?
Click to expand...
Click to collapse
U can also use it on rooted mi 8
catalindobre said:
Does this work on the Global version as well?
For me it doesn't open the file after the download.
Click to expand...
Click to collapse
Tested on mi 8 se with miui 10 by xiaomi.eu, but I think it works on mi 8.
Working well on Mi8 Root 8.8.30 EU room. thanks.
Works well with MIUI 10 8.8.30 China dev
nothing here
Can you show me how to root Mi8 v 8.8.30?
---------- Post added at 01:35 AM ---------- Previous post was at 01:34 AM ----------
harryntq said:
Working well on Mi8 Root 8.8.30 EU room. thanks.
Click to expand...
Click to collapse
Can you show me how to root Mi8 v 8.8.30?
What exactly is this supposed to do? Can you clarify? Show a before/after screenshot?
ztc1997 said:
Thanks to Android Runtime Resource Overlay, we can change the status bar height without ROOT.
The result is as the attached image shown.
--How to use--
Download "fit_notch_dipper.apk" from attached files, and install it.
Reboot your phone.
Enable "USB debugging" in "Develop options", and connect your phone with your computer.
Setup ADB on your computer according to this post.
Execute the "adb shell cmd overlay enable --user 0 com.ztc1997.overlay.dipper.android.fit_notch" command on your computer.
Reboot your phone and enjoy.
Click to expand...
Click to collapse
Works thank you! App must be installed for it to work. How does this fix work? is it a theme?
ztc1997 said:
Thanks to Android Runtime Resource Overlay, we can change the status bar height without ROOT.
The result is as the attached image shown.
--How to use--
Download "fit_notch_dipper.apk" from attached files, and install it.
Reboot your phone.
Enable "USB debugging" in "Develop options", and connect your phone with your computer.
Setup ADB on your computer according to this post.
Execute the "adb shell cmd overlay enable --user 0 com.ztc1997.overlay.dipper.android.fit_notch" command on your computer.
Reboot your phone and enjoy.
Click to expand...
Click to collapse
sorry man, i just tried but when i put the command on adb nothing happens. i've also allowed debug options, but nothing appears on device screen. what i should do? sorry also for my bad english
Works!
Thanks
it works! thanks..
Thanks for the app! Appreciate you taking interest in fixing this insignificant yet very annoying issue, although Fate/Grand Order (a game) doesn't respect the new size of the notch. In other words, it's possible that this may not cover all of the apps :c
Dekkerlion said:
Thanks for the app! Appreciate you taking interest in fixing this insignificant yet very annoying issue, although Fate/Grand Order (a game) doesn't respect the new size of the notch. In other words, it's possible that this may not cover all of the apps :c
Click to expand...
Click to collapse
Could you provide a screenshot?
sirsandrone said:
sorry man, i just tried but when i put the command on adb nothing happens. i've also allowed debug options, but nothing appears on device screen. what i should do? sorry also for my bad english
Click to expand...
Click to collapse
Please try to execute "adb shell cmd overlay list" and give me a screenshot of the results.
ztc1997 said:
Please try to execute "adb shell cmd overlay list" and give me a screenshot of the results.
Click to expand...
Click to collapse
I've done it. I have windows 10, my mi 8 (that I belong only from yesterday) has the global rom 9.6.7.0 stable
Thanks a lot

how to uninstall system app in miui [without root,UB,TWRP]

1. Open Settings app and go to About phone and tap on MIUI version seven times until you see the message ‘You are now a developer’.
2. Go to Additional Settings, followed by Developer options and turn on USB debugging.
3. Connect the device to PC via USB cable and then run a command ‘adb devices’ in terminal/command prompt. You should get a pop-up on your device to ‘Allow USB debugging’ the device address should appear in the terminal as soon as you allow USB debugging.
4. If the device address appears in the terminal, run another command ‘adb shell’ in the terminal, following which the device code name should appear on the screen.(in our case violet)
5. Now find go into app info of the app you want to uninstall click on the i icon on the top right now u can see apk name u need that name for next step
6.type ( pm uninstall –k ––user 0 app name ) and click enter
for example
for uninstalling the mi browser u need to enter
pm uninstall –k ––user 0 com.android.browser
and click enter
i hope its help click on thumps up u love my post
any kind of help will be welcome
post your command below regarding any issue for redmi note 7 pro only
Working. :good:
Arif N01 said:
Working. :good:
Click to expand...
Click to collapse
How to run adb command can you help me please

Categories

Resources