[NO ROOT] [ADB] (Soft/Minimal) Debloat Samsung Galaxy J Max (SM-T285YD) - General Topics

To debloat this device you need to open adb shell and copy and paste the text file below. (or you can also make this into a shell script and run)
If you want to remove more apps, type this in the adb shell: adb shell pm uninstall --user 0 com.android.google.chrome (example)
To find the package name,
(1) Install f-droid and install 'package manager' app (for quicker identification as you can see the app icon)
OR
(2) On adb shell, type: adb shell pm list packages (This will list all installed packages)
NOTE: This will remove Galaxy store and all Google apps (apart from Google Play)

Related

{Guide} Fix yellowish display aka night-light [rootless and magisk] \(◎o◎)/

~Fix nightlight in MIUI~
For what is it?
Sometimes it happens that the Google setup activates the "classic" Nightlight mode from AOSP.
This one doesn't work like MIUI handles this feature.
This means that deactivation via the settings is not possible and your display will get every day to same time yellowish.
Will I have to do this after every new installation?
No, when you use the backup function from Google it will sync this settings and bug is fixed until you restore a old google backup or one from a other phone.
Post 2:
Rootless guide via PC (Mac/Windows/Linux/Other Phone with adb binary)
Post 3:
Root guide via termux (or any other terminal emulator)
•rootless•
For PC: *
Open either powershell or cmd or terminal, this depends on your installed system and run one after the other the following commands:
adb shell settings put secure night_display_activated 0
adb shell settings put secure night_display_auto_mode 0
\_That's all!_/
This star is talking to you
↓
*
You have to install adb binarys for your system before you can run this command.
Installation guide: https://wiki.lineageos.org/adb_fastboot_guide.html#installing-adb-and-fastboot
•rooted•
For termux**:
Open termux and run one after the other the following commands:
su
env -i USER=shell "$(PATH=/system/xbin:/system/bin:/su/bin:/sbin:/magisk/.core/bin which su)" shell --context u:r:shell:s0 --shell /system/bin/sh --command settings put secure night_display_activated 0
env -i USER=shell "$(PATH=/system/xbin:/system/bin:/su/bin:/sbin:/magisk/.core/bin which su)" shell --context u:r:shell:s0 --shell /system/bin/sh --command settings put secure night_display_auto_mode 0
\_That's all!_/
This stars are talking to you
↓
**
You need a magisk rooted device and termux
Download: https://play.google.com/store/apps/details?id=com.termux

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.
Hi, I made a small shell script to remove bloat in my device. Anyone who are interested can check it.
Place it in root of Internal Storage, then
Code:
adb shell
sh /sdcard/bloat.sh.txt
Ref
⋆ [2022-09-28] Remove system apps on Realme UI 2.0 using ADB ⋆
Remove system apps on Realme UI 2.0 using ADB Updated : 2022-09-28 Tested On: Model: RMX2001 Hardware Version: RMX_2001_11 RealmeUI Version: V2.0 ColorOS Version: V11 Android Version: 11 Android Security Update: 2022-03-05 Build Number...
forum.xda-developers.com
Debloat Colour os For smooth Performance
Color OS preloaded with certain apps. Such apps can't simply uninstall. Its hard coded, , for e.g. App Market. Use these command to disable those apps.. No root required... Os updates will still work.. No problems there... Users need to apply...
forum.xda-developers.com
[GUIDE][EU/IN ROM] REALME UI Debloat List
I got this phone a few days ago, am positively surprised with it. As soon as I got it I installed the REALME UI update from the official website and spent the next hour trying to find out what apps should be removed for maximum privacy and...
forum.xda-developers.com
[GUIDE] Debloat your Realme X2 to get more free RAM
Install ADB Drivers properly .This is really important Video Tutorial : Debloat any Realme/Oppo phone Then open command windows in adb directory and type adb devices,then authorize it from your phone . After you have done it ,type adb shell...
forum.xda-developers.com
Debloat COS / RUI
For those who want to debloat the stock system without root, here my list with apps uninstalled for me. How-To: activate ADB in developer settings download ADB tools from Google...
forum.xda-developers.com
[GUIDE] [SCRIPT] Debloater for Bootloader locked & Unlocked devices
For Bootloader Locked: Download debloat_bootloaderLocked.zip extract & execute debloat-main.bat file For Bootloader Unlocked: Assuming you already have custom recovery, just download & flash debloat_flashable.zip Unhide to show up the list of...
forum.xda-developers.com
Nice thank you for sharing this wonderful trick thanks
Hi guys. Thanks for the nice debloat tutorial and script! These are always welcome.
debdeep98 said:
Some apps do not uninstall such as market and gamecenter, disabling is the only option.
Click to expand...
Click to collapse
Are you sure about that? Have you tried it yet with my brand new
universal make system read write flashable script

Debloating m21

if anybody intrested in debloating use this list its from a51 group. you will loose many funxtionality like camera wifi calling etc so try at your own risk as I am experimenting so i did it.
rooted user type su in termux
and then paste all of list in turmux once or choose what you want debloat hit enter & wait
Apps will uninstalled if you reset they will back
you can use fx file manager to view and edit .xml file.
76 system app left
1.5gb ram used
Download
to reinstall all packages use this
reinstall
Thanks to telegram user @ MeNoob2
Telegram group for m21
in above method root permission is used so its heavily debloated but if you want safe debloat you can use same list in adb debloating method you can pate this list after command adb shell
many features not removed like play store camera etc but wifi calling removed so you can also give try banking apps also working
Debloated Stock Rom for M21
So we finally have a debloated stock ROM now. There's nothing more to say about it other than that it works and it's as light as it gets. Now I didn't make this, @Raghu varma did. I'm only posting because he didn't make a thread here...
forum.xda-developers.com
Sagarking said:
in above method root permission is used so its heavily debloated but if you want safe debloat you can use same list in adb debloating method you can pate this list after command adb shell
many features not removed like play store camera etc but wifi calling removed so you can also give try banking apps also working
Click to expand...
Click to collapse
Pasting the package list into adb shell worked like a charm, except for root/admin apps, but it got most of them, thank you
Sagarking said:
in above method root permission is used so its heavily debloated but if you want safe debloat you can use same list in adb debloating method you can pate this list after command adb shell
Click to expand...
Click to collapse
Yeah, if you don't want to unlock you bootloader or if you just want to stay safe, this is the way to go.
Got termux root privileges, removed what i taught essential from your list, now im stuck on samsung logo after restart.. got the oneui 3.0 update..
Anyhelp ?
Atrosincity said:
Got termux root privileges, removed what i taught essential from your list, now im stuck on samsung logo after restart.. got the oneui 3.0 update..
Anyhelp ?
Click to expand...
Click to collapse
Above list was useful in one ui 2.5 only now flash stock rom via odin
termux debloat use above one ui 3.0
Open file via text editor app and copy paste after su in ternux
Credits @yillie sir who made the script
Adb debloat
Credits @yillie sir who made the script
Open file via text editor app and copy paste in command promt
If you are not rooted or have bootloader locked then copy and run this after the script:
adb shell install-existing com.sec.android.app.samsungapps
adb shell install-existing com.sec.android.systemupdate
adb shell install-existing com.sec.android.soagent
adb shell install-existing com.wssyncmldm
adb shell install-existing com.sec.enterprise.knox.attestation
adb shell install-existing com.samsung.android.knox.pushmanager
adb shell install-existing com.samsung.ucs.agent.ese
adb shell install-existing com.sec.enterprise.knox.cloudmdm.smdms
adb shell install-existing com.knox.vpn.proxyhandler
adb shell install-existing com.samsung.android.knox.containercore
adb shell install-existing com.samsung.android.mdm
adb shell install-existing com.knox.vpn.proxyhandler
adb shell install-existing com.samsung.android.knox.analytics.uploader
adb shell install-existing com.samsung.knox.keychain
Sagarking said:
termux debloat use above one ui 3.0
Open file via text editor app and copy paste after su in ternux
Click to expand...
Click to collapse
Thank you, more for the comments
You can use my script from here https://github.com/invinciblevenom/debloat_samsung_android I have updated the list of apps.

Removing inbuilt app so that it will not comeback even after factory reset.

I understand that I can remove packages via ADB, but the apk still reside inside ./system, thus still occupying space. Also these apps will comeback when I do a factory reset. How do I remove such packages safely.
A Factory Reset doesn't touch Android's /system partition, it simply restores /data partition ( AKA user-space ) to state when device has been brought to the market, means wiping it clean of any personal data & apps installed by user included.
If the packages you have in mind are installed in /system partition then they only can get removed when Android is rooted.
You can check whether a package is an user-app or not by running
Code:
adb devices
adb shell "pm list-packages -3"
To check whether a package is a system-app or not you run
Code:
adb devices
adb shell "pm list-packages -s"
If you want to uninstall the user-apps for Android's default user ( user-id 0 ) in one go then you may do it by means of a Windows batch file:
Code:
adb devices
for /F "tokens=2 delims=:" %%a in ('adb shell "pm list-packages -3"') do (
set "pkg_name=%%a"
if not "?%pkg_name%"=="?" (
adb shell "pm disable-user --user 0 %pkg_name%"
timeout /t 2 /nobreak >nul
rem uninstall user-app by app package name
adb shell "pm uninstall --user 0 %pkg_name% "
)
)
exit
what requires ADB is systemwide accessible.
HI,
I don't have any user apps. My phone has a lot of bloat, like builtin games, several google apps like play-music;news;books;street view, etc and some other apps. I'd like to remove them so I can use that extra space.
Also on linux.
What Android version you have?
What output you get if you run
Code:
adb shell "ls -al /dev/block/by-name"
Android version 5.0
adb shell "ls -al /dev/block/by-name"
reurned
/dev/block/by-name: No such file or directory
ThE___NiHiLiST said:
HI,
I don't have any user apps. My phone has a lot of bloat, like builtin games, several google apps like play-music;news;books;street view, etc and some other apps. I'd like to remove them so I can use that extra space.
Also on linux.
Click to expand...
Click to collapse
To remove system apps and/or system-privileged apps your phone's Android must be rooted.
Android 5 ? That's pretty old version. Why don't you upgrade to Android 9 or 10 ?
You have to mount system and debloat it. Good luck

DeGoogling

Hi
I used to use Cyanogenmod on my phones years ago and want to DeGoogle my Samsung A12. CF-ROOT is what I always used and Odin but It's not supported and seems to be depreciating. What Is the way forward now as I don't think Lineage does anything like a rom for this phone. I've gone for this phone because It's easy to get the back off and disconnect the battery easily.
Can you help?
Kind Regards
Graeme
You may manually - or programmatically by a script that makes use of ADB-commands - remove / uninstall all of Google's services and apps ( read: GMS ) what are put inside the running Android system. You can't do that unless you have the permissions level of the system itself - means ROOT, and you can't remove / uninstall files that are in use.
Example of a Degooglefy script
Code:
adb devices
adb root & adb shell "stop"
for /F "tokens=2 delims=:" %%a in ('adb shell "pm list packages | grep 'google'"') do (
set "pkg=%%a"
if NOT [%pkg%]==[] (
adb uninstall %pkg%
)
)
adb shell "start"
adb reboot
jwoegerbauer said:
You may manually - or programmatically by a script that makes use of ADB-commands - remove / uninstall all of Google's services and apps ( read: GMS ) what are put inside the running Android system. You can't do that unless you have the permissions level of the system itself - means ROOT, and you can't remove / uninstall files that are in use.
Example of a Degooglefy script
Code:
adb devices
adb root & adb shell "stop"
for /F "tokens=2 delims=:" %%a in ('adb shell "pm list packages | grep 'google'"') do (
set "pkg=%%a"
if NOT [%pkg%]==[] (
adb uninstall %pkg%
)
)
adb shell "start"
adb reboot
Click to expand...
Click to collapse
Thanks
Problem is I don't know how to achieve root to this device since I always previously used CF-ROOT sadly depreciated. I've unlocked the bootloader and have odin but no further forward.
Graeme3514
If anyone can help me root and get another software on this phone I'll donate/ pay , whatever. I'm sick of having Google running in the background and CF-ROOT is now depreciated, sadly.
jwoegerbauer said:
You may manually - or programmatically by a script that makes use of ADB-commands - remove / uninstall all of Google's services and apps ( read: GMS ) what are put inside the running Android system. You can't do that unless you have the permissions level of the system itself - means ROOT, and you can't remove / uninstall files that are in use.
Example of a Degooglefy script
Code:
adb devices
adb root & adb shell "stop"
for /F "tokens=2 delims=:" %%a in ('adb shell "pm list packages | grep 'google'"') do (
set "pkg=%%a"
if NOT [%pkg%]==[] (
adb uninstall %pkg%
)
)
adb shell "start"
adb reboot
Click to expand...
Click to collapse
If anyone can help me root and get another software on this phone I'll donate/ pay , whatever. I'm sick of having Google running in the background and CF-ROOT is now depreciated, sadly.
Graeme

Categories

Resources