Magisk Module Systemless Debloater

Search This thread

kaefers

Senior Member
Nov 13, 2007
63
32
Ok so you didn't need to manually edit service.sh, seems it found all from /apex

There are three you appended BAK to theie names and they were not found - you intentionally 'disabled' them for debloating?
Everything worked just fine, no need to even edit the service.sh :)

And yes, my way of preventing them from being debloated temporarily - one of them caused a bootloop when debloating, need to still check which one. Was busy with the stuff in the post below!
 
Last edited:

kaefers

Senior Member
Nov 13, 2007
63
32
I spent a lot of time trying to figure out why I got random Android WebView crashes when debloating. Everything seemed to be working just fine (I been debloating for years and got my special list) so wasn't sure what was happening.

Long story short - various apps crashing happens only when uninstalling "UwbApplication" aka "com.samsung.android.uwb". Which is odd enough.

More odd is that the crashing can temporarily be stopped by clearing the cache of Google Play Services ...

Either someone did some pretty bad coding or there are some dependencies that probably should not exist, go figure.

Be happy to share my final list once I am eventually happy with the result which will take some time ;]
 
Last edited:

kaefers

Senior Member
Nov 13, 2007
63
32
Hello again
Pretty much figured out the above, got some 160 odd apps leftover with everything seemingly still working. The last bit I found is that removing EuiccService breaks Background usage limits app selection within Battery and Device Care.. Hope it helps someone. Btw - I do use System App Remover ROOT (for now) to remove whatever apps it can remove, e.g. not Apex. Might update .sh below at some point again.
[ *** = temp disabled FYI | ymmv ]


Found another (unrelated) issue in the meantime on my Samsung Android 13 journey, here: https://forum.xda-developers.com/t/magisk-module-universal-safetynet-fix-2-4-0.4217823/post-88010513
[ Fwiw, I could either give up on restricting Google Play Services but knowing that it does request e.g. cam and mic access annoys the .sh out of me. Or I could go and use something like AndroidFaker and AppOps but it's just not the same (yet) as XPrivacyLUA. At that rate, might as well buy an iPhone soon.. :/ ]
 

Attachments

  • SystemlessDebloaterList.sh
    5.7 KB · Views: 48
Last edited:

zgfg

Senior Member
Oct 10, 2016
8,584
6,300
Xiaomi Mi 11 Lite 5G
Hello again
Pretty much figured out the above, got some 160 odd apps leftover with everything seemingly still working. The last bit I found is that removing EuiccService breaks Background usage limits app selection within Battery and Device Care.. Hope it helps someone. Btw - I do use System App Remover ROOT (for now) to remove whatever apps it can remove, e.g. not Apex. Might update .sh below at some point again.
[ *** = temp disabled FYI | ymmv ]


Found another (unrelated) issue in the meantime on my Samsung Android 13 journey, here: https://forum.xda-developers.com/t/magisk-module-universal-safetynet-fix-2-4-0.4217823/post-88010513
[ Fwiw, I could either give up on restricting Google Play Services but knowing that it does request e.g. cam and mic access annoys the .sh out of me. Or I could go and use something like AndroidFaker and AppOps but it's just not the same (yet) as XPrivacyLUA. At that rate, might as well buy an iPhone soon.. :/ ]
Sorry, I'm not a Sammy user but my eyes caught that you 'debloat' KnoxCore (and couple of other Knox* services)

Are there any side-effects or benefits?
I'm particularly interested about root detection (by some banking and similar apps) or passing SafetyNet (deprecated) / Play Integrity API (successor of SN).
Ie, Knox (on Samsung) should manage the info if Bootloader was unlocked or not
 

kaefers

Senior Member
Nov 13, 2007
63
32
Sorry, I'm not a Sammy user but my eyes caught that you 'debloat' KnoxCore (and couple of other Knox* services)

Are there any side-effects or benefits?
I'm particularly interested about root detection (by some banking and similar apps) or passing SafetyNet (deprecated) / Play Integrity API (successor of SN).
Ie, Knox (on Samsung) should manage the info if Bootloader was unlocked or not
Hey! Thus far, nothing that I have noticed.

My experience with SafetyNet etc as per the link in my post above, a bit upset about the Google Play Services <> LSPosed issue I come across. | I guess I could technically see if there is any difference when not debloated..

Benefits.. = "illusionary peace of mind" :]

The only thing I didn't bother removing was kgclient / Device Services to avoid getting the screen locked.

My overall goal is to have as much control over permissions (for the sake of it) and running my handful of apps that complain about root, at the same time.

I am but a user but happy to try out whatever to get to that stage. I did notice for example that AFwall isn't an LSPosed module anymore, doesn't show up anymore with LSPosed. I wonder if it's the end of things like XPrivacyLUA. Giving Google Play Services all it wants to know got to be the first step to making value spoofing and permission management pointless if apps can just get a bunch of info via Google Play Services even if they are restricted themselves...

Let me know if you want me to try something

EDIT: I guess the issue isn't all that new ...
https://www.reddit.com/r/androidroot/comments/lw26hd/_/gpt1msz
 
Last edited:

zgfg

Senior Member
Oct 10, 2016
8,584
6,300
Xiaomi Mi 11 Lite 5G
New version v1.5.0 is released:

With Android 13 there are now ROMs where the additional system partitions are variably named like /india, /my_bigball, etc - the module now automatically finds and includes those names into the list of partitions to be scanned for debloating

Also, debloating from /apex is now supported - but be careful, services pre-installed to that partition are usually essential for the proper booting and functioning of your device

Of course, the module is still only for debloating the System apps, for user apps on /data partition use the other methods (simply uninstall the unwanted user apps or disable them by pm disable command, etc) - see also the OP instructions
 
Last edited:

galih_ken

Member
Sep 22, 2017
24
4
Sorry if it has been asked or I haven't read hard enough. I can't debloat MibrowserGlobal, it says "app not found" in the log.
 

zgfg

Senior Member
Oct 10, 2016
8,584
6,300
Xiaomi Mi 11 Lite 5G
Sorry if it has been asked or I haven't read hard enough. I can't debloat MibrowserGlobal, it says "app not found" in the log.
At the bottom in the log you have a list of all the system apps installed on your phone

Carefully go through that list and find your app - maybe you put the wrong name (name is case-sensitive), miss-spelled, etc

Please read the post #1 about finding and putting the correct names into DebloatList

PS: On my Xiaomi.eu, MIUI 13, there is the app:
/system/priv-app/MiBrowserGlobal/MiBrowserGlobal.apk

Hence for me the correct name is MiBrowserGlobal, not MibrowserGlobal (case sensitive), and I successfully debliat that app
 
Last edited:
  • Like
Reactions: ipdev

zgfg

Senior Member
Oct 10, 2016
8,584
6,300
Xiaomi Mi 11 Lite 5G
After debloat all google app it stuck on logo, how can i reinstall packges?
If you could boot:

Remove the apps you shouldn't have to debloat from DebloatList in SystemlessDebloaterList.sh, and then 'install' this module again.
On the next reboot, only the apps from your edited DebloatList (processed at the time of re-installing the module) will be debloated, the others will be un-debloated

Or disable or uninstall the module and reboot.
All system apps will be un-debloated

---

However, since you cannot boot now, use TWRP and its File Explorer, go to /data/adb/modules/SystemlessDebloater/
and put there an (empty) file named exactly: disable

That will disable the module and next time you reboot, all system apps will be un-debloated

Then edit the DebloatList and re-install the module again

---

There are two other options to disable a module (any module)

Go to the official Magisk GitHub and read the Wiki:

Find there a chapter about disabling/uninstalling modules:

a) by use of booting to Android Safe mode (later when you reboot to system, all Magisk modules will be disabled)

b) or by use of
adb wait-for-device shell magisk --remove-modules
(not sure if that's the correct command - read that Magisk Wiki)

Once the module is disabled, system will boot with all your system apps un-debloated

--

If you uninstall Magisk, all modules will be uninstalled, hence also this one, and your apps will be un-debloated, too

Also, if you just flash your original boot.img (without the Magisk patch), system will boot without Magisk, hence also without the module(s) and therefore with all your system apps un-debloated

(But next time you boot with Magisk, Magisk will find and initialize all the module(s) and therefore your system apps will be debloated again per your previous wrong DebloatList)

As a last resort, Factory reset or wiping the Data partition will also delete the module (actually, all Magisk modules) and you will boot then with all the system apps un-debloated

---

Anyway, as stated in the post #1, debloat the apps on your own responsibility

With the crucial system apps debloated, the system may no more boot

If you have TWRP, you can 'fix' it easily

But if there is no proper custom recovery available for your device, you're in troubles and your best bet will be disabling the modules by one-time booting to Android Safe mode or by the mentioned adb command (but those Magisk tricks are not full-proof and may not work on all devices)

Or, in the worst case by Factory reset (wiping Data)
 
Last edited:

zgfg

Senior Member
Oct 10, 2016
8,584
6,300
Xiaomi Mi 11 Lite 5G
New version v1.5.1 released:
https://github.com/zgfg/SystemlessDebloater/releases/tag/151

---

Since v1.5.1, Systemless Debloater module supports a new SystemlessDebloater.cfg config file - thanks to @ipdev

Update will create this new config file and transfer your DebloatList

Please delete then your old SystemlessDebloaterList.sh input file and read and use the new config file instead

---

For those who install the module first time, module will create that empty SystemlessDebloater.cfg config file (on Internal memory, Download folder)

Open the config file and read the instructions there

---

Benefit:

With this new config file, you can list but comment out certain apps, eg:
Code:
## My list of stock apps for debloating:
Velvet   # Google app
Chrome
# YouTube
Mail

Hence, only Velvet (Google app), Chrome and Mail apps will be debloated

But if you uncomment YouTube (by removing hash sign # in front of the app name), and reinstall the module - then all four apps will be debloated

Observe also how the hash sign # can be used to comment/describe a particular app, like Velvet
 
Last edited:

m0han

Senior Member
Apr 30, 2012
5,458
2,559
New version v1.5.1 released...
.... For those who install the module first time, module will create that empty SystemlessDebloater.cfg config file (on Internal memory, Download folder)....
For any change to the config file to take effect, a re-installation and reboot is required, I suppose. Also, from what I see, a space is required after each # sign, right?
 

zgfg

Senior Member
Oct 10, 2016
8,584
6,300
Xiaomi Mi 11 Lite 5G
For any change to the config file to take effect, a re-installation and reboot is required, I suppose. Also, from what I see, a space is required after each # sign, right?
For a change in the cfg file re-installation of the module and reboot is required

Hash (for commenting out an app name) does not need to be followed by space (spaces are ignored) - space in the example was added for easier reading

Actually, the hash sign # comments out/ignores the rest of that line, ie, anything on the right side of that sign - like in the shell programming
 
Last edited:
  • Like
Reactions: HippoMan and ipdev

zgfg

Senior Member
Oct 10, 2016
8,584
6,300
Xiaomi Mi 11 Lite 5G
Hi all. 🙃

Hopefully this will help with the updated config script.
Still a Work-In-Progress.​
Especially the Community List. 😉
Community List - Link
Usually I debloat additionally:

XiaomiSimActivateService # does not affect (dual) SIM calls and SMSes

MiShare

MiuiScanner

ims

CneApp

PersonalAssistant

QuickSearchBox
 
Last edited:

zgfg

Senior Member
Oct 10, 2016
8,584
6,300
Xiaomi Mi 11 Lite 5G
Thanks to all who participated over the last two years, specially the users with other phones (Samsung, One Plus, Pixel...) and specially to @ipdev for his endless support in testing and in the ideas for improvements

By help of the moderator, the thread is now moved from Xiaomi / Mi 9T to the General development / XDA community apps / Magisk (with threads for the other Magisk modules of general use):

The thread itself is still available under the original URL:
https://forum.xda-developers.com/mi-9t/how-to/magisk-module-systemless-debloater-t4180083
and now its new URL:
https://forum.xda-developers.com/t/magisk-module-systemless-debloater.4180083/
 
Last edited:
  • Like
Reactions: HippoMan and ipdev

zgfg

Senior Member
Oct 10, 2016
8,584
6,300
Xiaomi Mi 11 Lite 5G
Warning:

Mounting systemless changes to /system/* is broken for Magisk Canary 25207-25210 - SystemlessDeblloater (BusyBox and ToyBox, plus several other modules like V4A, JamesDSP, AML) will not work properly

Stay with Magisk Canary 25206 or other (older) Magisk Stable/Canary versions.
No problems with Magisk Delta

Seems that the problem is related to the following issue reported for Magisk Canary (25211 with the fix not released yet):
 
Last edited:
  • Like
Reactions: ipdev and Uluru25

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Is there a list for lineage os? Specifically browser, calendar and music apps.
    Still working on it. 😉
    CommunityList - [Github Wiki] - Link
    Need to add jelly (browser), etar (calendar), eleven (music), along with a few others to the LineageOS section.

    I hope to have time this weekend to clean up and add a few things to the list. 🙃

    Cheers. :cowboy:
    2
    Warning:

    Mounting systemless changes to /system/* is broken for Magisk Canary 25207-25210 - SystemlessDeblloater (BusyBox and ToyBox, plus several other modules like V4A, JamesDSP, AML) will not work properly

    Stay with Magisk Canary 25206 or other (older) Magisk Stable/Canary versions.
    No problems with Magisk Delta

    Seems that the problem is related to the following issue reported for Magisk Canary (25211 with the fix not released yet):
    2
    Good morning, I can confirm that it works great on Oneplus 7t with A12, I have successfully removed YouTube.
    What happens if you remove the module from magisk?
    As it says in the OP - it is systemless module, no hard changes on the System. Besides, even with root, System is read-only on the new phones - and that's the reason why systemless changes (changes are only mounted by Magisk on every reboot) work, while debloaters that try to make hard changes (to really remove system apps via eg TWRP) cannot work on the phones with SAR file-system read-only

    You disable the module or uninstall, or uninstall Magisk, and reboot, everything goes back (no more mounting, hence no more debloating)

    Like Systemless hosts, etc
    2
    I solved my problem, although I don't know exactly how, but now I have a question. Is there any advantage to using this method rather than using pm uninstall?
    With pm disable-user or pm uninstall -k --user 0 you debloat for that user (0) but the system app is still installed for the alternate user 999

    Also, if you eg have the latest (YouTube) app pre-installed to System and for some reason you need to install an older version of the same app, then if you debloated that app (YT) by pm, downgrading would not work

    Anytime you want to install that older (YT) version, package manager would recognize that the same package name but an older version is still installed to the system, and would prevent downgrading

    If debloated by the module, package manager cannot see the same package name (its pre-installed System installation folder/apk file is mounted over by a dummy), hence you can freely install the older version of that app

    ---

    pm list packages -u
    will print also the packages un-installed by pm

    pm list packages -d
    will print packages disabled by pm

    showing how pm still finds the packages it did disable or 'un-install'
    1
    Is there a list for lineage os? Specifically browser, calendar and music apps.
  • 16
    Magisk Module Systemless Debloater

    Download:


    Wiki pages by @ipdev:
    with his examples of apps that can be debloated (Android, Google, Oppo, Samsung, Xiaomi, LineageOS):


    *** Yet another System(less) debloater, how and why?

    - Systemless means that all changes made are active only when Magisk is loaded and module is enabled.
    For OTA or anything, just disable the module (or boot without Magisk) and your system partitions are no more affected

    - For Android up to 9 and/or 10 (depending on devices), system partitions were read-write, hence hard-debloating by use of eg TWRP, Titanium, etc (to delete the pre-installed system apps) was possible

    This is no more possible for the phones released with Android 10 and higher.
    System (System As Root, Dynamical partitions) becomes read-only on the file-system level and stock apps could be debloated (the same holds for any changes on the system partitions) only by the systemless approach - by use of Magisk to dynamically overlay the required changes at boot time

    Hence, this module also uses the Magisk REPLACE mechanism and dynamical mounting through the module's service.sh script

    - The module debloates only (stock) apps pre-installed to the system partitions, traditionally named as /system, /system-ext, /product, /vendor and /apex; plus additionally on A12 and A13 devices, variably named system partitions like /india, /my_bigball, etc

    Hence sorry, to debloat user apps installed to /data, please use the other methods (first of all, just simply uninstall them or at least uninstall their updates)

    - Originally I started development with Xiaomi Mi 9T (MIUI 10-12.5, Android 10-12) and later continued with Xiaomi 11 Lite 5G NE (MIUI 12-13, Android 11-12). However, the module relies on the common Magisk overlay mechanism and the list of apps to be 'debloated' is configurable hence there are many users who successfully use this module on the various other devices (like Pixel, Samsung, One Plus, etc.), with the stock or custom ROMs, and with up to Android 13

    - Original, default list coming when the module is installed will be empty - user must define then himself which apps should be debloated, depending on his device, ROM and preferences

    To (re)configure the list of apps for debloating, simply edit the (textual) /Download/SystemlessDebloater.cfg config file on Internal memory.
    Module automatically installs the config file with instructions inside but with the empty list

    (Re)configure your list of system apps you want to debloat, reinstall the module (always through the Magisk Manager, not TWRP) and reboot - to take your changes in effect

    You only need to provide the proper names (not package names) for the preinstalled system apps, the module will find their exact System paths

    - However, the user bears the risks and responsibility himself (device may no more boot when certain system apps are removed/debloated) but the Troubleshooting section below provides instructions how to recover, even from the bootloop cases

    Nevertheless, whenever you want to 'debloat' some service or app you are not familiar with, please google first to find what that app is really about and is it generally safe to be debloated (on your but also on the other phones and even by other methods, it doesn't matter)

    Don't be afraid of the module and debloating, but be cautious what are you going to debloat


    *** Installation

    - Download the latest module from GitHub - scroll down, open Assets and find the latest v1.5.1 zip:
    https://github.com/zgfg/SystemlessDebloater/releases/tag/151

    - In Magisk app (manage), open Modules tab and take Install from storage, navigate to the downloaded SystemlessDebloater.zip (as is, do not unzip)

    Read what Magisk prints while installing and find the module's log in /Download/SystemlessDebloater.log file on Internal memory

    To finish the installation (it applies to all Magisk modules), reboot the phone

    - First time the module will not debloat anything - it will just create the input/config file /Download/SystemlessDebloater.cfg on Internal memory

    Open that config file, read the instructions in the file and fill your own list of app names for debloating - look at the commented examples you will find in that config file

    - Save the config file, reinstall the module and reboot.
    Inspect the log and consult the Troubleshooting section below if needed

    - To find what system apps you have on your phone and what are their exact names, scroll down through the SystemlessDebloater.log to the "System apps, not debloated" section

    Find e.g. a line:
    /system/app/Email (com.android.email)
    Then copy/add just the Email name (supposed that you want to debloat the built-in Email app) into the SystemlessDebloater.cfg config file

    Repeat for the other apps you want to debloat. Then reinstall the module (only on the reinstallation, module processes the config file) and reboot

    Fine tune your list of apps for debloating but every time reinstall the module and reboot

    - Last but not the least: Once debloated, apps can no more be found (until you reconfigure, disable or uninstall the debloater) under the Settings / Apps

    Hence, if you want to delete their cache or data, do Clear cache/data before debloating the apps

    Moreover, before trying to debloat any app, look first if you could simply Uninstall that app (ie, if it was a user and not the system app) from Settings / Apps

    If Uninstall is not available for that app, try to Uninstall updates: updates are also installed to Data while SystemlessDebloater 'debloats' only from the System - hence the app's update on Data may still remain there


    *** Troubleshooting

    - What if I eg have configured the app EMail to debloat, but the app is still present?

    Check if you have missed to perform Uninstall / Uninstall updates from Settings, Apps - perform, reboot and test again

    Check if you have miss-spelled the application name - correct in the config file SystemlessDebloater.cfg, save, reinstall the module and reboot

    App names are cases sensitive - eg, the correct name might be Email, not EMail

    - To help yourself, use eg Package Manager app (from Playstore) where you can search for all the apps/services, find their exact names and installation paths (to see are them System or User apps)

    - What if I change my mind and I want to un-debloat and use Email, but to debloat now eg, Chrome browser?

    No problem, reconfigure the list in SystemlessDebloater.cfg, save, reinstall the module and reboot

    - What if after a week or so, I realize that some functionalities on the phone were affected?

    Sorry, you had decided to debloat the 'wrong' apps/services

    Google about which app(s) are safe to debloat or not, reconfigure your list in the config file, reinstall the module and reboot

    Or disable the module and reboot, to figure out was the problem really due to debloating

    - Oops, what if I have a bootloop (phone does no more boot since the 'wrong' apps were debloated)?

    If you have TWRP with the read/write access to Data, navigate to /data/adb/modules/SystemlessDebloater and by using Advanced / File explorer from TWRP, create a dummy file named disable (without extension) in that folder

    Reboot and Magisk will boot but with the debloater disabled - hence, all the previously debloated apps will be un-debloated now (to see if debloating was really responsible for the bootloop)

    Instead of dummy file named disable, put the remove dummy file to trigger Magisk to uninstall that module on the next reboot (all that applies to any module possibly causing your bootloops)

    If the proper TWRP is not available for your device and ROM, boot to the Android Safe Mode - google for a key-combo to boot in, for my Xiaomi it takes (re)booting with Vol+ and Vol+ pressed simultaneously

    Don't do anything in Android Safe mode but reboot then to 'normal' mode - Magisk will boot now with all the modules disabled (this method does not work for Magisk v20.4 or earlier)

    You will have to re-enable MagiskHide/DenyList (don't worry, your list of apps to hide the Magisk from was not lost), re-enable the other modules, correct SystemlessDebloater.cfg, reinstall debloater and reboot

    There is also a third method (adb wait-for-device shell magisk --remove-modules), but search yourself and read about from the Wiki Documentation on the Magisk GitHub page

    *** Enough for the theory, install now and practice debloating
    4
    I spent a lot of time trying to figure out why I got random Android WebView crashes when debloating. Everything seemed to be working just fine (I been debloating for years and got my special list) so wasn't sure what was happening.

    Long story short - various apps crashing happens only when uninstalling "UwbApplication" aka "com.samsung.android.uwb". Which is odd enough.

    More odd is that the crashing can temporarily be stopped by clearing the cache of Google Play Services ...

    Either someone did some pretty bad coding or there are some dependencies that probably should not exist, go figure.

    Be happy to share my final list once I am eventually happy with the result which will take some time ;]
    4
    New version v1.5.1 released:
    https://github.com/zgfg/SystemlessDebloater/releases/tag/151

    ---

    Since v1.5.1, Systemless Debloater module supports a new SystemlessDebloater.cfg config file - thanks to @ipdev

    Update will create this new config file and transfer your DebloatList

    Please delete then your old SystemlessDebloaterList.sh input file and read and use the new config file instead

    ---

    For those who install the module first time, module will create that empty SystemlessDebloater.cfg config file (on Internal memory, Download folder)

    Open the config file and read the instructions there

    ---

    Benefit:

    With this new config file, you can list but comment out certain apps, eg:
    Code:
    ## My list of stock apps for debloating:
    Velvet   # Google app
    Chrome
    # YouTube
    Mail

    Hence, only Velvet (Google app), Chrome and Mail apps will be debloated

    But if you uncomment YouTube (by removing hash sign # in front of the app name), and reinstall the module - then all four apps will be debloated

    Observe also how the hash sign # can be used to comment/describe a particular app, like Velvet
    4
    After debloat all google app it stuck on logo, how can i reinstall packges?
    If you could boot:

    Remove the apps you shouldn't have to debloat from DebloatList in SystemlessDebloaterList.sh, and then 'install' this module again.
    On the next reboot, only the apps from your edited DebloatList (processed at the time of re-installing the module) will be debloated, the others will be un-debloated

    Or disable or uninstall the module and reboot.
    All system apps will be un-debloated

    ---

    However, since you cannot boot now, use TWRP and its File Explorer, go to /data/adb/modules/SystemlessDebloater/
    and put there an (empty) file named exactly: disable

    That will disable the module and next time you reboot, all system apps will be un-debloated

    Then edit the DebloatList and re-install the module again

    ---

    There are two other options to disable a module (any module)

    Go to the official Magisk GitHub and read the Wiki:

    Find there a chapter about disabling/uninstalling modules:

    a) by use of booting to Android Safe mode (later when you reboot to system, all Magisk modules will be disabled)

    b) or by use of
    adb wait-for-device shell magisk --remove-modules
    (not sure if that's the correct command - read that Magisk Wiki)

    Once the module is disabled, system will boot with all your system apps un-debloated

    --

    If you uninstall Magisk, all modules will be uninstalled, hence also this one, and your apps will be un-debloated, too

    Also, if you just flash your original boot.img (without the Magisk patch), system will boot without Magisk, hence also without the module(s) and therefore with all your system apps un-debloated

    (But next time you boot with Magisk, Magisk will find and initialize all the module(s) and therefore your system apps will be debloated again per your previous wrong DebloatList)

    As a last resort, Factory reset or wiping the Data partition will also delete the module (actually, all Magisk modules) and you will boot then with all the system apps un-debloated

    ---

    Anyway, as stated in the post #1, debloat the apps on your own responsibility

    With the crucial system apps debloated, the system may no more boot

    If you have TWRP, you can 'fix' it easily

    But if there is no proper custom recovery available for your device, you're in troubles and your best bet will be disabling the modules by one-time booting to Android Safe mode or by the mentioned adb command (but those Magisk tricks are not full-proof and may not work on all devices)

    Or, in the worst case by Factory reset (wiping Data)
    4
    New version v1.5.0 is released:

    With Android 13 there are now ROMs where the additional system partitions are variably named like /india, /my_bigball, etc - the module now automatically finds and includes those names into the list of partitions to be scanned for debloating

    Also, debloating from /apex is now supported - but be careful, services pre-installed to that partition are usually essential for the proper booting and functioning of your device

    Of course, the module is still only for debloating the System apps, for user apps on /data partition use the other methods (simply uninstall the unwanted user apps or disable them by pm disable command, etc) - see also the OP instructions