yashsingh1/xdaforums huggingface dataset:
[Magisk] zgfg:
If your phone is not rooted, then you're not going to install root Vanced YT but non-root, and then you don't need to 'debloat' the pre-installed newer version of YT (non-root Vanced installs as a new app, with different package name)

Otherwise, adb shell pm commands can help you for 'debloating' = disabling certain apps, but not if you need to install root Vanced YT and you first need to debloat the preinstalled newer YT

Edit: Oops, I thiught you were asking through the XDA Vanced YT thread
[Magisk] xdduser:
Yes But my only goal is to uninstall some default other Xiaomi apps without rooting phone. So is that possible?
[Magisk] zgfg:
Yes, possible but not in the scope for this thread. Google to learn about the commands like:

adb shell pm disable-user com.miui.analytics

adb shell pm enable com.miui.analytics
[Magisk] zgfg:
Systemless Debloater updated to v1.45:

Release Systemless Debloater v1.5.4 · zgfg/SystemlessDebloater

Fix for SystemlessDebloater.cfg for Magisk v26.3

github.com

1) If you use new Magisk Canary 23017+ or Alpha 23016+, you will see the Update icon/link in the new Magisk app, Modules section

2) If you use Fox Magisk module manager (Fox Mmm), you will see the icon/link to this thread in XDA

See the screenshots

---

Select and debloat preinstalled system apps. Supported up to SAR, Dynamic partitions and A12. Module must be installed through Magisk app, not TWRP - see instructions in the OP posts in this thread
[Magisk] RMX3370:
Please If possible update the script to add debloat from custom locations for example

In Realme Devices with dynamic Parttitons

It has system apps in various partitions

Examples

Spoiler content hidden.

Proposed solution

Allow adding custom directories

Or direct path to .apk to be removed

For example entering

my_heytap/priv-app/Velvet/Velvet.apk in /storage/emulated/0/Download/SystemlessDebloaterList.sh

Should remove it using magisk replace on next boot
[Magisk] onimorza:
Works great on my OnePlus Nord with A11 OOS 11.1.7.7 ! Thanks a bunch!
[Magisk] zgfg:
Could you please 'install' the module again with the attached input file

Verbose logging enabled:

VerboseLog="true"

And please share the log
[Magisk] RMX3370:
Module is able to remove / replace files from these directories

/system/system_ext/app/
/system/system_ext/priv-app/
/system/app
/system/priv-app
/product/app
/vendor/app​

But fails to do so in

/my_carrier/app
/my_carrier/priv-app
/my_heytap/app
/my_heytap/priv-app
/my_product/app
/my_product/priv-app
/my_region/app
/my_region/priv-app
/my_stock/app
/my_stock/priv-app​
[Magisk] zgfg:
Module has Readme file and it precisely describes (also the OP posts above) from which partitions it currently deblotes

Hence yes, it does not debloat from some /my* partitions - I could consider to extend the module in future

What is your phone, ROM, Android version coming with those /my* partitions?

Also, module is case sensitive (intentionally) when it looks for the apps.

Check your LOG file, and search for the apps it didn't debloat.

You will see that you have Stk (but not STK) on your /system_ext, hence simply rename STK in the sh input script to Stk and 'install' thenmodule again, it will also debloat Stk

There are maybe more system apps (in the supported partitions) you could find their exeact nanes in the log, correct in the input sh and run again

PS:

Do you really want to debloat GmsCore?

Seems to be Google Play Services:

GmsCore.apk=com.google.android.gms

It would affect GApps and SafetyNet

Generally, you debloat on your own risk (it's Systemless debloating, hence just disabling the module and rebooting reverts to un-debloated state). Of course, currently you cannot debloat GmsCore since it's on your /my_heytap partition
[Magisk] RMX3370:
Realme GT NEO 2 , Launched with Android 11 RUI 2.0 has super/dynamic partition

I want to remove all google apps no , till custom ROM is available for my device so I can use microG

I hope in future module can remove all system apps even if they are not in standard directories because most OEMs now don't follow rules and they will fill bloatware in the most unreachable directory
[Magisk] zgfg:
Not sure if

/my_heytap

/my_product

/my_region

/my_stock

are properly supported by Magisk for REPLACE mechanism

I'll send you an experimental version - please check your PM, test and respond there

PS:

Unfortunately REPLACE mechanism in Magisk did not work for the given /my_* partitions, but the new SystemlessDebloater v1.4.6 was released, supporting configurable list of SAR partitions/file-systems to debloat
[Magisk] zgfg:
Systemless Debloater is now available from the relatively new Alt(ernative) Repo:

GitHub - Magisk-Modules-Alt-Repo/SystemlessDebloater: Select and systemlessly debloat preinstalled system apps. Supporting up to System As Root (SAR), Dynamic partitions and Android 13. Module must be installed through Magisk app, not TWRP

Select and systemlessly debloat preinstalled system apps. Supporting up to System As Root (SAR), Dynamic partitions and Android 13. Module must be installed through Magisk app, not TWRP - Magisk-Mo...

github.com

- for easy finding and installations through Fox Magisk Module Manager app

Also, in future, whenevernmodule would be updated, you would be able to update it directly through Magisk v24 app - as on the screenshots
[Magisk] zgfg:
Debloated my brand new Xiaomi 11 Lite 5G NE, MIUI 12.5, A11, SAR, Dynamic Partitions, A/B device

Debloated 40+ system apps, no problem.

SystemlessDebloaterInput.sh is attached - remove Facebook, GMail and so from my list if you use those apps

Btw, I debloat the stock YouTube because I need an older version of YT app for Vanced YT root
[Magisk] Techguy777:
I'm not going to lie the terminal module was so much easier to use. I haven't looked through the whole thread yet but the dynamic partitions or super img are now set up with vendor apps system product apps system product private apps and I believe even a couple others like system_ext apps which I am sure people won't want to uninstall they seem important. But the problem is I don't understand how your module will find apps that aren't in system and system private apps. I'm having troubles like people I see . I'm just trying to test it with calculator app or Google maps in system products apps section and it won't find them.
[Magisk] zgfg:
Names of the apps must be provided exactly

Nevertheless, you can run once, inspect the log file, correct the input list and try again

---

Pls put the attached

SystemlessDebloaterList.sh

to your /Download folder,

install the module again

and provide back the resulting

SystemlessDebloater.log

---

Btw, be aware of two facts:

1) On the new devices with read-only filesystem on the /system, not even TWRP could write/delete over the /system - you can only make changes in the Systemless manner

2) On the new SAR A/B devices there is no separate Recovery partition but custom recovery must be flashed to Boot - however, Magisk also flashes to boot (patch and flash), hence you could not have permanent TWRP with Magisk in parallel
[Magisk] Techguy777:
This is my file I made inside downloads folder do you understand what I did wrong or nothttps://drive.google.com/file/d/1COpuJbSJDKyiejF9VTHXS27uB9NYleRQ/view?

usp=drivesdk

SystemlessDebloaterList.sh

drive.google.com
[Magisk] Techguy777:
Give me the file with those 2 apps to flash and I will see what I did wrong. Setup a file that should work and I Will download it and then flash the module again and see if it works. Because the one you already gave doesn't work either. So I don't understand what the hell it is. I'm supposed to. I'm doing everything. Give me the file all set up so I can flash it and then I can see and compare it to the one I have
[Magisk] Techguy777:
SystemlessDebloater.log

drive.google.com
[Magisk] m0han:
there is a twrp available for poco x3 with a feature that runs a script that turns rom to r/w. also, seems there is a separate zip file (systemrw_1.32_flashable.zip) for that on 4pda. just an fyi.
[Magisk] zgfg:
Please, before wasting time, read the OP posts at the beginning of the thread

OP instructions clearly say that SystemlessDebloaterLust.sh must be in Download folder, not your subfolder or something

And your log also says that input file was not found (line 10):

>>Input file not found, creating a template file!

I GAVE YOU THE INPUT FILE you had to use, but you had to USE IT PROPERLY (proper path) - then it would debloat and/or we would see from the log file if/why not

If not following instructions, it can't work

PS: You need the input sh file in /Download folder (not subfolders or any other place) ONLY when you're 'installing' the module (first time or later when you're changing the stock apps to debloat)

After that, you can inspect the log file (it's very simple, don't hesitate to open and read), and if you need, adapt your sh file and 'install' again

Once you are finished (and rebooted), you can delete both the sh file and log - better back-up to some place, for future if/when you would like to change your debloating

After the successful installation, module does no more need the sh file and log (if they bother you seeing them in Download folder)
[Magisk] applyscience:
does any Oneplus user know if this can remove odm? id love to be able to remove that and my usual program for debloating doesnt remove it

De-Bloater | F-Droid - Free and Open Source Android App Repository

Use the power of Magisk to de-bloat system applications systemless-ly

f-droid.org
[Magisk] zgfg:
Which error, where?

Provide your SystemlessDebloater.log
[Magisk] Techguy777:
Are you all there? When I flash your module it puts the files in the download folder and that's where they stay I don't move them.
[Magisk] Techguy777:
Does that honestly seem like it's easier than the terminal module that would find all the paths and do it the work?

You need to fill out paths to every file you want to uninstall or I can just go into the system and uninstall the good old fashion way on custom roms and reboot. It's needed on stock rom but not custom.
[Magisk] Techguy777:
Yes we use that file on Poco F3 also there is dfe that disables forced encryption so that twrp or orange fox recovery can read internal storage on a12 roms. I don't know if it works on stock or EU roms or any stock base I haven't tried but I like it because I feel like I get a little bit of power back they have taken from us. Even root is not as powerful as it used to be if your system is read only. So you have root access which is system access only it's systemless system access lol. Systemless root is almost a contradiction. It's like a married bachelor or a circular square
[Magisk] ipdev:
I noticed the mistake when I was going to try your list file on my Pixel 6.

Note: Calculator is CalculatorGooglePrebuilt on Google factory Pixel a12.​

# Define a list of stock apps for debloating:
DebloatList=""
Calculator
Maps

The module gave you that error becuase the DebloatList variable is empty.

The names have to be inside the double quotes ".

Example(s).

# Define a list of stock apps for debloating:
DebloatList="
Calculator
CalculatorGooglePrebuilt
Maps
"

or

# Define a list of stock apps for debloating:
DebloatList="Calculator
CalculatorGooglePrebuilt
Maps"

Cheers. :cowboy:

PS.

It works on my Pixel 6. ;)
[Magisk] super1:
Hello.

May someone can post a list for Samsung S9+ phone please?
[Magisk] huskydg:
Actually the original folder was overlayed by bind mount

/data/adb/modules/debloat/system/app/YouTube --> /system/app/YouTube
[Magisk] zgfg:
Which debloater are you referring to?

My Systemless Debloater installs to:

/data/adb/modules/SystemlessDebloater

not to:

/data/adb/modules/debloater

For that your second path you must be talking about some other debloater
[Magisk] huskydg:
Just a example, honey
[Magisk] zgfg:
You can install SystemlessDebloater as per the OP post #1, and if you want to debloat the stock system YouTube app, use the input file:

SystemlessDebloaterList.sh

with the list:

DebloatList="YouTube"

(more details in the post #1)

and SystemlessDebloater will find the exact system path for the pre-installed YouTube app...
[Magisk] Techguy777:
Do you notice on your screenshots your debloat sh you start debloat on line 70?

Why would your debloat list start on line 70? Why don't you make a screenshot of what it looks like at the top like when you open the sh file? Because I'm right back again where I was a month ago.

I never seen what the guy above wrote and now that I did you changed it again.
[Magisk] Techguy777:
View attachment 5564913

This should be filled out on your example screenshots I would have thought. But your 70 lines down with debloat= I'm not crazy that isn't like what I have here is it?
[Magisk] Liaisonish:
have to had root permission to run?
[Magisk] zgfg:
It's Magisk module
[Magisk] mityakaramazov1866:
Do you know what would be easier than having to guess how you chose to syntactically express the apps names (for example, how you combined two-word apps to work in a single quote string)? Using something universal like the package name. There's a reason modules do that and it isn't to bother you with looking them up. Either way people end up having to do that, but with the package name at least you know exactly where to look.
[Magisk] zgfg:
Please double-check is it really the two word name for your app you want to enter for debloating

Install Debloater and reboot.

Open SystemlessDebloater.log in Internal memory, Download (you can install/run it prior to defining your DebloatList - it's described in the OP posts, it's purpose is exactly to give you the log that you can see all your system apps there)

Scroll down through the log to find sections:

System apps, not debloated:

System packages

Search there for the system apps you want to debloat - all must be listed there and find their names there (see attached screenshots)

Those are the names you must use (that name can be different from how the app is named on Playstore or the name you see with it's icon, or when you open the app, etc)

Eg, if it is listed there as:

/system/app/GuardProvider (com.miui.guardprovider)

then the NAME you need for Systemless Debloater is exactly: GuardProvider

not Guard Provider or anything else

Similarly for:

/system/app/HTMLViewer (com.android.htmlviewer)

the name must be HTMLViewer, exactly as that
[Magisk] Uluru25:
... when you write "exactly" I guess this includes also case sensitive spellling (since Android is Linux based)?
[Magisk] zgfg:
Yes - copy/paste the name from the log file (the safest way)

Personally, I simply use the MiXPlorer and its built-in text editor

I search in the editor, in the log file for 'keywords' to find the app I want to debloat, then I copy its exact name and paste to the SystemlessDebloaterList.sh file into the DebloatList

I NEVER write myself how I 'guess' or 'think' it 'should' be the name for an app I want to debloat

Be aware that under the system apps there might be several apps with the similar names. Guessing the name might be dangerous (if Debloater finds under your 'name' a wrong app)
[Magisk] Khuongkun:
i can't uninstall app in path /product/overlay/NavigationBarModeGesturalWideBack/NavigationBarModeGesturalOverlayWideBack.apk

Is there a way to remove them in the overlay
[Magisk] Bradford1040:
Why would you even want to uninstall that to begin with?

Also you can use an app like "tasker" to change which overlay you want to use
[Magisk] Khuongkun:
t i use miui rom and 6 useless navigation related software on miui. in miui 13 android 11 version i removed them with no problem
[Magisk] GreekPilot:
After 5 months of success, this came up today... Strange. I reinstalled the module, clear cache og Google Play, but the "problem" remains...
[Magisk] zgfg:
You have debloated system installations of YT and Music.

But do you eg run their root Vanced versions - if so, they have old versions and Google might be announcing that old versions won't be supported anymore

If not, check in your Settings, Apps, do you have YT and Music installed. At least on my Xiaomi (but I really don't know for other phones and specially custom ROMs), I can press to uninstall all updates.

Those updates would be installed to /data/app (user applications) and hence not debloated by the module. After uninstalling these updates, you will no more have user installations of those apps (but only debloated system versions)

You can also clean the Cache for Google Play app (again, on my phone, Settings, Apps, YT....)

Things like that happen to me when experimenting with Magisk or updating my ROM and then boot for some time without Magisk and hence without the module.

Since changes are systemless, during that time the apps are not debloated and Playstore sizes the opportunity to update them

Btw, I debloat YT and use Vanced root version. But I additionally use HideMyApps module for LSPosed to hide/detach my (old, Vanced root version, that is installed as user app and hence not debloated - btw, otherwise Vanced would not work) YT - to prevent Playstore showing that YT needs to be updated
[Magisk] GreekPilot:
Thank you for your reply. I restarted phone {OnePlus 9 Pro}, cleared goggle play cache one more time, I reinstalled your module and updates disappeared. It seemed that during a restart, some magisk modules didn't get loaded properly.

By the way, i have unistalled all updates for YouTube and Music and I am using rooted vanced versions for both.

Best regards.
[Magisk] zgfg:
Yeah, but in that case Google Play must be seeing YT and Music, those versions Vanced that you did install

Because, they are installed as user apps and they have the same package names as the corresponding official YT (Music)

To avoid Google play seeing the root Vanced YT (and Music), you must use some kind of detaching YT (Music) from Playstore

Vanced root versions are old (they stopped updating almost a year ago), hence (without detaching) Playstore will see that old YT version and ask to be updated
[Magisk] GreekPilot:
I am using HMA for this purpose. I have configured it folowing your instructions in another forum. Thank you for your interest. Maybe there was a gap during the transition from HMA version 2 to 3 that caused the problem...
[Magisk] zgfg:
Recently, my Playstore was showing that YT cannot be up updated

In parallel, Playstore did not show info if my device is certified or not (that line, Certified or not was completely missing at the end of its Settings, About)

Everything else worked perfectly, I was passing SafetyNet, etc but that weird state lasted for the whole day

On the midnight I cleaned cache for Playstore, and in the morning it was all ok (Device certified and no more YT update stuck - YT was properly, no more visible)

Problem must have been caused by my experimenting with Magisk a day before, when for some time Magisk did not work properly (and hence, the modules, too) but at that time I didn't check Playstore, hence observed the issues later
[Magisk] Arnav74:
Hi, sorry if this is a dumb question but how can I debloat system packages? Specifically I'm trying to debloat Omoji (OnePlus' new A13 Memoji clone). In the log file it is listed under System packages as:

/system/my_bigball/app/Omoji/Omoji.apk=com.oplus.omoji

I was able to debloat other things when they have a name I can add to the debloat list, e.g.

/system/app/EasterEgg (com.android.egg)

but it seems like none of the system packages have names like that.

I was able to debloat Omoji using De-Bloater by sunilpaulmathew but I want to only use the module to debloat and keep everything in one place.

Thanks
[Magisk] zgfg:
For this debloater you don't list package names but apk names - everything is described in the first post.

Like

DebloatList="
EasterEgg
Omoji
"

Please read the first post
[Magisk] Arnav74:
I think I tried that. Here's what I did just now and here are my results:

1. Unbloated Omoji using the previously mentioned Debloater app and restarted device

2. Checked to see if Omoji was still installed under Settings>App>App Management -- it was.

3. Set up my config file as following:

DebloatList="
ChildrenSpace
Calculator2
Clock
OPWorkLifeBalance
Portrait
talkback
FamilyLinkParentalControls
Wellbeing
Omoji
"

4. Got the following error in log file:

Debloating:
found: /system/product/app/Calculator2/.replace
found: /system/product/app/ChildrenSpace/.replace
found: /system/product/app/Clock/.replace
found: /system/product/priv-app/FamilyLinkParentalControls/.replace
Omoji --- app not found!
found: /system/product/app/OPWorkLifeBalance/.replace
found: /system/product/app/Portrait/.replace
found: /system/product/app/talkback/.replace
found: /system/product/priv-app/Wellbeing/.replace

Full log file here: https://pastebin.com/MSWKJruP
[Magisk] zgfg:
Don't play with two debloaters. Uninstall one, reboot and use the other. Your choice

And if Google Play or anything else already updated that Omoji app, first uninstall its updates (OP posts here).

Because the debloater debloates only the system apps. Once it was updated, system is using the update that is installed to /data/app (that is now user app, no more system app).

Settings/Apps, find that Omoji and take Uninstall updates

How to use this debloater is described in the OP posts
[Magisk] Arnav74:
Yeah, I only want to use your debloater, I was only using the other one to make sure I was able to debloat Omoji in the first place. I also don't see the app in the Play Store and I don't think anything is updating it. In Android 13 I don't think there is a way to uninstall updates through settings anymore, and it has to be done through clicking uninstall in the Play Store.

I read the OP posts and I'm pretty sure I followed it perfectly - you even told me that I could just list Omoji in the DebloatList but that did not work for me.

edit: I guess it's a user app not a system app so I will just get rid of it as user app
[Magisk] ipdev:
I have not been keeping up with my OnePlus(s) too much.

What it the /system/my_bigball/ directory?

What else is in it?

Is it another OnePlus specific directory/partition like india ?​

I fully agree. 😃

This module is the best systemless debloater. 👍

Cheers. :cowboy:
[Magisk] zgfg:
Please uninstall or disable (if it is Magisk module) the other debloater and reboot.

Then attempt to re-install this debloater with your DebloatList and provide SystemlessDeboater.log

On the other side - I'm not yet on A13 but cannot believe that user could not uninstall user apps. There must be (maybe named differently in your ROM): native Settings and there something like Apps, Manage apps, where you should see all the installed apps.

Since your Omoji was preinstalled as system app, you should maybe enable something like Show all (or system or ROM) apps

Find your Omoji, you should have options like Force Stop, Uninstall, Clear Data - see screenshots from my phone (Xiaomi A12) and for another app

Uninstall should uninstall its updates (installed as user app to /data/app)

After that you should have only its original, system version that can be debloates by this debloater

If an app was (installed or) updated by Google Play, you can find it in Playstore, Manage apps, Manage.

Again, you will have Uninstall option that will only uninstall its updates (user app) if it was preinstalled by system
[Magisk] m0han:
I once used that debloater. When I wanted to uninstall it, I first restored all 'removed' apps (for good measure), then went to Phone settings » Apps, chose that debloater app, cleared cache and storage and uninstalled it. After reboot, I found that the module which was auto-installed by that app was gone from magisk module list.

I've read somewhere that if you really know what you are doing, you can go into your TWRP recovery and simply delete the folders of all unwanted apps outright. There used be an Aroma File Manager for TWRP recovery that allows you to choose multiple folders and delete in one go - but I do not know whether it is still developed. Or, if the last Aroma File Manager still works on the latest TWRP recoveries. If anyone is aware of that, please comment.