yashsingh1/xdaforums huggingface dataset:
[Magisk] davidzam:
I'm completely sure that the apps are not necessary. The won't affect at all performance in the rom. The thing is that I use titanium backup for that, and apps are not there. So I am wondering where the "removed"apps are. The script put them in some eapecific place? Are they located where they should be?, Or can I use the debloater to eliminate them completely? Is there a command for that using the last log y exported? And by the way, where are those logs located? Thanks a lot for your answer.

Enviado desde mi SM-G550T1 mediante Tapatalk
[Magisk] NYLimited:
They are where they always were. They simply are hidden for now. You can get them back and remove them in several ways...

You can use the Root Explorer or like app and navigate to /root /magisk /terminal-debloater /system - once there remove the /app and /priv-app folders and you're back.. -OR-

You can use the debloat module itself to bring them all back -OR-

You can remove the entire /terminal-debloater directory (see step 1 above) and you not only bring back all the hidden apps but you also uninstall the debloat module in the same step

Don't forget to reboot after whichever step you used

. Regardless which step you picked you can now use TiBu or whatever other app of your choice to remove things.. ;)
[Magisk] davidzam:
Nylimited thanks. So, yes. I notice that after using magisk, I could remove using titanium backup, another system app. And it didn't affect integrity. Also installed TWRP using an img file from the official play market app and it didn't affect integrity neither. This is a good script thought, but it would be better if the choice of removing COMPLETELY the apps where in it. I would be e great update. Elimininating "one by one can be tedious, and this app really help me. Don't you think? A 2 step process, first you do exactly what you have to do normally, them after you tested that there's no issue, the second step, take the log you obtain using the "e" command and erase completely to get access to the precious space needed to install more apps. I hope you guys can take this into consideration. So to get this straight, if I use the method number "1" that you kindly pointed out, and restart, every app would disappear and would get the space back? With no further steps to follow? Or any of your options is only to bring them back to procede manualy. Thanks!.

Enviado desde mi SM-G550T1 mediante Tapatalk
[Magisk] Didgeridoohan:
All the steps outlined are only to bring back any Magisk debloated apps, for manual processing...
[Magisk] davidzam:
Any way to use the module to remove them completely? Thanks.

Enviado desde mi SM-G550T1 mediante Tapatalk
[Magisk] Didgeridoohan:
No. That's kind of the point of Magisk and Magisk modules, to not actually touch /system...
[Magisk] davidzam:
Ok. Thanks.

Enviado desde mi SM-G550T1 mediante Tapatalk

---------- Post added at 01:15 AM ---------- Previous post was at 01:10 AM ----------

But I still think that the option to remove completely should be added to this module, for devices that don't have enough internal memory. That would be great. As I said a 2 step debloating proces. ☺

Enviado desde mi SM-G550T1 mediante Tapatalk
[Magisk] Didgeridoohan:
[MENTION=7296895]veez21[/MENTION] It's not an entirely bad idea... If a user really want to remove the actual app, rather than just Magisk debloating, they could first test it the Magisk way and if it works they could then activate an option to remove the app from the actual /system (/sbin/.core/mirror/system) as well.

There would have to be some major disclaimers though... :laugh:
[Magisk] veez21:
Debloater is compatible with magisk 15+ (that includes v16)

Afaik, sush is supersu's. Are sure you're on magisk?

Sure, i could do that.

Soon tho
[Magisk] Didgeridoohan:
Have you enabled superuser access for ADB in the Manager settings?
[Magisk] davidzam:
That's exactly what I mean. A two-step process, first testing, and when you are sure about the stability of the system, only then you can erase everything using the log you take from you option list I think is number "6"-

I just tested, reinstalling the apps using number “4”, amazing they appeared like they were there the whole time, and then proceeded to remove them using titanium backup, restarted on TWRP cleaned the dalvik and the cache, and done, a lot of free space, BUT!!, and that’s the reason I think that if you do that upgrade into this module, it would be amazing, I erased by mistake one system app and bum! Reflashing the phone now, but is ok, erased the touch wiz, so no big deal I could navigate in the phone to assets that there was no tempering of system stability, and the integrity was clear, magisk didn’t detect nothing wrong, that was great. It would be great to give this feature to the module, everything would be more precise and the possibility to make a mistake would reduce to a minimum, and more important, the user of phone like mine, that won’t receive OTA on stock, can use this for sure and still be able to bypass the integrity test from Google play to get apps like Netflix, etc. I’ll setup the phone again exactly as it was, to test your new module.

It's a great module.
[Magisk] iWARR:
As well, "Access Level" in Magisk is "Apps and ADB" by default. Magisk works, it can easily grant SU for other my apps also.

Magisk v16.0, Magisk Manager v5.7.0, Busybox v1.28.3, Debloater v13.2, Material Terminal Emulator v2.0.2 have been installed.

Freshy ADB works (successfully flashed TWRP), freshy OS installation (Format option), no encrypted partitions, unlocked.

EDIT :

1. The ROM I'm using is mi-Globe.

This is a constructor, so I can disable some of the unwanted options and have partially debloated ROM from the box.

Also, I didn't include Magisk into this ROM, it has been flashed as separated archive together with the ROM.

May be this ROM anyway have some hidden another SU "guilty" algo (when you do not choose ROOT option inside the auto-constructed ROM itself).

How can I check this manually?

2. Is the "Install through USB" option neccessary to have Magisk modules stuff woking?

I'm asking because in MIUI 9 disabling this option is restricted by default (see my description above).
[Magisk] iWARR:
I know the next method using adb:

adb shell
pm uninstall -k --user 0 <name.of.package>

where <name.of.package> — the name of the package you want to delete

Example:

adb devices
adb shell
pm uninstall -k --user 0 com.google.android.apps.tachyon
pm uninstall -k --user 0 com.google.android.music
pm uninstall -k --user 0 com.google.android.videos
pm uninstall -k --user 0 com.google.android.play.games
pm uninstall -k --user 0 com.google.android.apps.books
pm uninstall -k --user 0 com.google.android.apps.photos

I didn't try it yet, but I will (as soon as "Debloater" start work for me).

This method should work, this small guide is proposed as 100% working and recommended for everybody at the friendly 4PDA forum.
[Magisk] veez21:
You want to free up space right? If that's the case then it's no use doing all that. Since this module "removes" the app (by replacing it with a file, which is like 6-10 bytes) and android removes its data in /data, which frees up space in the usable storage. Deleting in /system is the same but some space in /system is freed, but is not usable in any normal usage.
[Magisk] davidzam:
It would be nice thought

:rolleyes:
[Magisk] iWARR:
EDIT:

Tryed, the manual adb command WORKS! (you have to know a right name of the app, it's a must. That's why Debloater should be so useful)

adb shell
pm uninstall -k --user 0 com.miui.player
Success

It would be nice to implement full "true" deletion inside the Debloater module.

And have some recommendation marks for an each app inside the list for deletion (safe / medium / dangerous). With color (if possible), or text marks, or whatever.

I can propose this kind of scheme:

1. Find and eliminate apps using "1" and "2" option in Magisk for the first time.

2. Test your config, if there is no issues

3. If some issues were found:

- or Reinstall Uninstalled Apps using option "3" (all at once)

- or Get back a certain app selectively, using a new key "-b". Then input a number of the app(s) you want to restore, one by one.

4. Go to point 2.

5. If you satisfied with your config, then you can remove all eleminated app's list from the OS completely, using a new option "-r" (remove)

Seems like adb deletion commands are healthy, so you can implement automatization to clear OS (if this is possible, of course)

P.S. Good Wiki at the main (1-st) page is a much welcomed.

- How to install (all components you need: Magisk/updated Magisk Manager/Busybox/teminal or adb/etc. and links to install)

- All keys supported

- Examples

- List of the known bloat apps to delete: Android (common) List / MIUI (special) List

P.P.S. As the "best-of-the-best" debloated ROMs ever I recommend the ROMs from "Masik" Development.

This ROM may be a good example what apps are not/included in the ROMs (especially in MIUI) and still alive or removed.

A number of useful / not deleted apps are also cleaned from the network spying modules (did you know, even in Mi Calculator!!!).

Unfortunatelly there is no ROM for the Redmi Note 5, that's why I need for the Debloater and everything doing manually.

The author's thread of "Masik" ROM is obsolete at XDA, he migrate to Telegram as the main place to talk about.

But I know a rescent links at russian forum 4PDA and his main repository of ROMs (look which models are supported).

XDA (abandoned thread)

4PDA (author do not participate any more, instead update this link only): Xiaomi Mi5

Masik repo (updating): all ROMs/Phones supported

I don't know more cool, fast and more debloated ROMs then "Masik" ones.

According to my years experience of using them on Xiaomi Mi5, they are also stable as rock.

So, this nice example of the ROM may be a good reference which things and how must be debloated.
[Magisk] iWARR:
Instead of my proposal and feedback, I still can't get permission for "su" command in adb on this phone and try Debloater...

During installation of the mi-Globe ROM + Magisk, I've got a log messages, that look strange for me. TWRP (Magisk logs part):

...
! System installed root detected, mount rw :(
...
- Encrypted data detected, keep forceencrypt
...

But:

- 1-st message ("root detected"): no ROOT have been chosen to include in the ROM, when I used a ROM-constructor

- 2-nd message ("Encrypted data detected"): I used "Format" option in TWRP + reboot to Recovery, so why "Encrypted"?

Does it look normal ?!
[Magisk] NYLimited:
I don't really see why the dev would want to do all that work. As already pointed out by [MENTION=4667597]Didgeridoohan[/MENTION] the entire point here was to keep the system in tact for various reasons (to use Google Pay or to take system OTAs or ..)

The module can easily be used to ascertain that removing something will not create a problem since it can put it back very easily. To go to the extra step of removing one or more apps for any reason can be already be done. Since the device has SU one can use a file explorer or Titanium Backup without any problems. If I recall correctly the old

System App Remover

can flag several apps and remove them all in a single pass. I used to remove all the stuff because they did things I did not want (access internet, send data, use up CPU cycles and battery, etc). But, I could not use apps like Android Pay or accept OTAs among other things so this method (for me) is far superior. But, you can already do it either way so ...

Exactly!
[Magisk] davidzam:
Absolutely.

I understand. So Magisk is for users of powerful devices, I get it. I did restore my device to stock and proceeded again, magisk installed, adoptable storage back, and debloated manually. At last I can say for sure that I'm on the right setup. System is still "clean", net protection doesn't "get me". Not yet anyways. So I notice a more responsive device, but it could be the flashing, no degradation yet. What I want to say is that this new method of rooting is cleaner, but for users like me, on devices like mine, small internal memory to "today" standards, getting a bit of performance and space is important, and also OTA updates won't come to my device, and there's no custom Rom available also... So, I'm stuck on "stock". My paid chainfire Su pro, would be on hold for the moment. :)

The only thing is that I don't have xposed, I fell a bit naked, the address blokcker was perfect, blocked even adds from apps like Facebook or CNN, weird to see them back again. Magisk doesn't have a module like that? I won't installed xposed, I have to use the wanam mod, and I'll loose safenet integrity. Thanks a lot for your help and input.
[Magisk] AngryLady:
Re-install app is not fixing the problem. Try uninstall "WebView". Most browser won't start after that. Then try re-install "WebView" and most browser still won't start. Any tips?
[Magisk] davidzam:
What is exactly your issue?

Enviado desde mi SM-G550T1 mediante Tapatalk
[Magisk] veez21:
Try going to Settings > Developer Options > Webview implementation, then select android system webview.
[Magisk] AngryLady:
Untouched WebView = all browser run normal.

Uninstall WebView via Debloater 13.2 = all browser apps won't start (crash stopping).

Reinstall WebView via Debloater 13.2 = all browser apps won't start (crash stopping).

So my issue is re-install WebView is not comeback 100% exactly.
[Magisk] daniel_m:
The point of Magisk is that it does not mess with the system partition, regardless whether a device is powerful or not.

Personally, I would not want to have a Magisk module on my phone, that could delete things on my system partition. That sounds like a catastrophe about to happen. Even remounting /system as rw will change its checksum and make OTAs impossible.

I also don't understand your problem. Many file managers can remount /system as rw. Or you could do it yourself in terminal. There are also many apps that can uninstall/delete system apps with root.

Also, there are systemless Xposed modules for Magisk down to Android 5.0 ...

... this is getting terribly off-topic now ...
[Magisk] davidzam:
I understand now. I debloated. After esay and error... Now everything is good. One note. No matter the system, I've notice that tempering with the system to get more space or root systemless or the fashioned way, in one way or another it will always comes to a point that you have to reset your device or "move around" a bit more so you can avoid reseting one to often. Until, somehow, doing exactly the same things to modify that didn't yield the espected results in the past, suddenly all works perfectly. Thanks for your support and suggestions. Everything is great now. The script is great it help me a lot to understand how magisk "works" . Using titanium backup after many attempts, and re flashing one to many times, I finally have the setup I was looking for. Netx step... To find a new updated custom Rom. But for my device it simply won't do, there are none. So I'll stay put whit this one and system as it is now. Thanks again.

Enviado desde mi SM-G550T1 mediante Tapatalk

---------- Post added at 03:28 PM ---------- Previous post was at 03:23 PM ----------

Día you fix your problem, did you tried to erase dalvik cache and cache partition using twrp?

Enviado desde mi SM-G550T1 mediante Tapatalk
[Magisk] ceur59:
This module doesn't work after I updated to oreo.

Works in terminal, etc. but when I reboot the apps that should be debloated are still there.

LG G6, Android 8.0
[Magisk] TiZiO.Cover:
But they are not system apps anymore and can be deleted.
[Magisk] micgeb:
I switched back to fulmics 4.2, because I can't deleted bloatware and twrp is not working.
[Magisk] veez21:
UPDATED TO v13.4!

* Improve exclude detection

* Updated exclude list

* Misc improvements

Download at the OP or at Magisk Manager
[Magisk] lazostat:
someone put a list for oneplus5 debloating?
[Magisk] adamokari:
It doesn't convert them from system apps on my end. I think it happened when I updated to Oreo also.
[Magisk] ToraxOutlaw:
I have disabled Prime Video through the System Apps menu, but can't find it in the debloat menu to fully remove it. Any help would be much appreciated.
[Magisk] veez21:
One way would be using the command line way.

e.g. debloat -d com.android.app

Use the app's name to use it like the example above
[Magisk] GrayJack:
The problem appears when bloatware gets updated in Playmarket.

In this case you will have bloatware not in /system only, but in /data/app also. So when it gets removed using Debloat Script, the bloatware still remains as user application. If one tries to remove "all updates" of the bloatware the system will immediately reboot without any change, so one should restore bloatware back, remove all updates, and then debloat is again.

As a feature request - removing updates from /data/app during debloating to avoid above mentioned problem.
[Magisk] Didgeridoohan:
I believe there actually is an option like that already. From the changelog:
[Magisk] GrayJack:
OK, and how to use it?
[Magisk] Didgeridoohan:
I've never used the module, so I've no idea...

From a quick look at the code on GitHub, I think it's supposed to be somewhat automatic.
[Magisk] GrayJack:
OK, I did it. It really should do it automatically, but it doesn't:

echo "Uninstalling ${R}${app_name[$i]}${N}" | tr '_' ' '
sleep 1
mktouch $MODDIR${listapp[$i]}/.replace ${app_name[$i]}
if [[ -d "/data/app/${app_label[$i]}-*" ]]; then
echo -n " - APK stored in /data, delete? < y | n > "
read del_apk; [ "$del_apk" == "y" ] && {
data_apkdir=$(echo /data/app/${app_label[$i]}-*)
if [ -d "${data_apkdir}" ]; then
rm -rf ${data_apkdir} 2>/dev/null
echo " - deleted"
fi
} || echo " - not deleted"

I've never seen any prompts "APK stored in /data, delete?" as mentioned in the code.

P.S. Opened an issue in github.
[Magisk] DoR3M3:
I'm not understanding this App, why would bloatware get updated, if it's been uninstalled?

Also, this doesn't sound like this uninstalls completely out of the system, because you have the ability to reinstall apps, which is taking up space, which I don't understand why someone doesn't want to completely uninstall in the first place, that is a point of removing bloat, getting it 100% out of the system to free up space.

But then I guess, if it's 100% gone, now it's not Systemless, correct? So now you can't have OTA... Well if it's only an OTA problem, then we manually update it, not a problem... yes/no?

Is there no way to have apps 100% gone from the system with this?
[Magisk] lazostat:
So this module doesn't remove completely bloatware?
[Magisk] veez21:
Basically, this module systemlessly replaces the app folder in system to uninstall the apps. They get replaced by ~10 byte files. And they are stored in magisk.img, which is in /data, which will take up space anyway. So technically, this module doesn't take space :P

It does. Apps get completely uninstalled from system (but not deleted).
[Magisk] lazostat:
Are you talking about apps we download from play store, or this applies to system apps too?
[Magisk] veez21:
This only applies to system apps.
[Magisk] veez21:
UPDATE TO v13.5!

Changelog:

* Sort listed apps alphabetically
* Misc improvements

Download at the OP or at Magisk Manager

Donate

Notification Channel

Downloads Channel
[Magisk] Zafrkant:
I can't debloat priv-apps. I'm using MIUI 9.5, Debloater v13.5, tried with Magisk 16 and 16.4 and BusyBox by osm0sis.
[Magisk] veez21:
What exactly is the problem? Also upload logs by typing logs in debloat menu and send the link generated.
[Magisk] Zafrkant:
For example I've tried to debloat Gmail from priv-apps and after restart app is still up and running.

Debloater didn't make any logs. I'm using Terminal Emulator.

http://termbin.com/q9h7
[Magisk] veez21:
Remove app updates.
[Magisk] Zafrkant:
It's working, great.

Thank you for help and for great contribution. :)
[Magisk] vatsal_chandan:
[MENTION=7296895]veez21[/MENTION] sir , first i debloat and now if i flash rom , app will be installed or remain disabled ?
[Magisk] veez21:
If you wipe data then your configuration will be gone. If not then it will remain uninstalled.
[Magisk] DoR3M3:
[MENTION=7296895]veez21[/MENTION]

I have 13.5 installed from Magisk...

I removed 'Google Play Store', but it still appears in my app drawer, are there any apps associated with it, that I also have to remove to uninstall it? I find it odd that the 'Google Play Store' is listed, I remove it, then the icon is still there, and if I click, it opens...

I ran log and this is the link;

http://termbin.com/c54jc

I've also attached the terminal_debloater-verbose.log

I've attached a screen shot still showing app drawer pretty cleaned up after using the Debloater, but the Play Store still appearing.

Thanks... :)

P.S Image attachment not working, waiting on Mod.
[Magisk] Didgeridoohan:
[MENTION=8949533]DoR3M3[/MENTION] Did you also uninstall updates for the Play Store?
[Magisk] DoR3M3:
[MENTION=4667597]Didgeridoohan[/MENTION], I wiped/flashed the phone over, this time not letting anything get updated, now it's all gone! ;)

Can the Debloat remove the Google Search Bar?

Also the OTA 'Google Security Updates', is it safe to do these, or will it cause any problems and reinstall anything?

Thanks
[Magisk] Pynshngainlangthangkhiew0:
Sir ur new v13.5 debloater is stuck on 98% bewhen i try to debloat system-priv..advance thnx sir and i will upload the log later
[Magisk] Pynshngainlangthangkhiew0:
There is my log
[Magisk] lionelia:
Hello,

For those who want to debloat, don't forget to clear "google play services" data via settings>apps, if not you will get errors.

Doing so will make "goole play services" to rebuild the installed apps database and your logcat will be happy :D
[Magisk] ListlessSpectre:
I've got a Boost Samsung Galaxy J7 Perx (stock RA1 w/ 7.0 Nougat) that I have already installed TWRP and Magisk on. I tried this both thru Magisk Manager and TWRP and it fails. I'm sorry but between the endless posts about errors and choppy instructions. it's probably no wonder everyone is having such a hard time. Good luck...I'll deal with it and wait for a better fix to come out. You moderators really need to remove a lot of this garbage.
[Magisk] -Duir-:
Firstly, the uploading logs feature isn't working (see attached screenshot).

Second, the module isn't working, it gets to 100% and even generates the debloat.list but freezes there. Logs are attached.
[Magisk] Mak.b:
Mine stuck at 91% older version of debloater worked fine.
[Magisk] veez21:
Reupload your logs

Logs
[Magisk] Mak.b:
Here's the link http://termbin.com/w3p5
[Magisk] veez21:
Try deleting this file in a root file explorer.

/sbin/.core/img/terminal_debloater/exclude.list
[Magisk] Mak.b:
Deleted the file rebooted the device and tried again but the progress bar is still stuck at 91%.
[Magisk] blu.italia:
It is possible to write a recovery script? It is easier to use after each update. My old script, used since Android 5, doesnt work with A/B partition.
[Magisk] riccetto80:
gg dev! i get rid of the "feedback" app from xiaomy!
[Magisk] 4uvak91:
Yes.
[Magisk] veez21:
No, it won't. Unless you wipe /data.
[Magisk] 4uvak91:
Oh that's smart :good:
[Magisk] veez21:
UPDATE TO v13.6!

Changelog:

* Fix listing apps
* Use pm uninstall to uninstall app updates (only when in ADB Shell or when selinux is permissive)
* Fix exclude list installation
* Misc improvements

Download at the OP or at Magisk Manager

Donate

Join Magisk Module Updates Channel and Magisk Module Downloads Channel in Telegram
[Magisk] ovizii:
Need some help fixing a mess I made. I must have debloated something vital. My phone still boots but restarts about 5 minutes after booting. Unfortunately, my installed tool to open a local terminal does no longer work and Installing a new one fails and takes too long before the reboot.

I read the FAQ about how to recover but am not sure how to do it:

I followed that link given and ended up here: https://xdaforums.com/apps/magisk/collection-magisk-modules-v2-t3575758 where it says:

The easiest way was to install Magisk Manager for Recovery Mode (mm) but its instructions tell me to go to recovery mode, go to a terminal and run /data/media/mm which gives me a menu but I'm not sure how to proceed from there.

Any help please?