yashsingh1/xdaforums huggingface dataset:
[Magisk] DoR3M3:
As I mentioned before I can uninstall the Play Store from the App Drawer, but on other devices when I removed it in Debloater it was removed from the App Drawer. So the OnePlus 5T is the first device I've seen this behaviour. This is ok, to now manually uninstall it?

Clicking to remove it shows this popup message I mentioned before;

Play Store is a part of the following app: Google Play Store

Replace this app with the factory version?

All data will be removed.

Cancel OK

Google Play Services is still showing up in the "Apps" section on the phone and lists "Uninstall" "Force Stop", and I tried uninstall but didn't work.

I never had to manually uninstall a system app turned into a non system app as you mentioned it, after I've removed them from Debloater, but some devices you have to do this?

For the Google Play Services I renamed /data/app/com.google.android.gms-0q9u1F3qiXjcrHqtqJvKEw== to .bak and now the Play Services is not appearing. Or is it safe to delete this, and if I ever reinstalled the Play Services in debloater it will be ok? I thought the point of Debloater was to do all this, and I wouldn't have to manually uninstall the Play Store and remove or rename this com.google.android.gms directory? Makes me think this is not Systemless now? hmm

microG still not installing, because Google Services are still somewhere in the system, even though I have uninstalled them in Debloater. Can you please look at the find.txt I'm attaching to see the /paths and where any other Google Services are at?

I tried installing microg in F-Droid and I get this message;

A previously installed package of the same name has a different signature then the new package and the old package's data was not removed.

So I need to figure out what Google Services Debloater has left behind, or OnePlus has some apps of it's own tied into the Google Services, which I'm wondering...

Thanks
[Magisk] 73sydney:
Why all the posts about trying to remove Google Play to use microg? Only a certified mentalist tries to remove gapps and then wedge microg on, backwards thinking.

Clean wipe + Clean flash ROM + flash microg = problem solved

Why 2 pages on amodule not designed to help you use microg in any way....
[Magisk] DoR3M3:
Clean Wipe + Flash "Oxygen OS" + microg doesn't work.

The 2 pages you are talking about, is not about getting microg help, it's about making sure the Debloater Terminal Emulator is working the way it should on Oxygen OS, to remove systemlessly. I'm not seeing it working this way on Oxygen OS, that's the point of the post.

Debloater doesn't appear to be removing all of the Google Services, it seems to be leaving something behind, and that is the problem, because if nothing is left behind, then microg does install, simple as that. Now if Debloater is working correctly, then OnePlus has done something else to the ROM, to where there are still traces left behind.

Oh and to be clear here, Gapps as in Google Apps, I'm not taking about removing Gapps, I'm talking about the "Framework" of Google, and Debloater is suppose to remove this systemlessly as well, aka "Google Services" & "Google Framework", call them gapps as you will, but this is not like taking out Chrome, or the Calendar, Clock, etc., just some baisc simple gapps...

I've used the Debloater on several devices for almost a year now. micrgo in Android is my thing that I'm into, it's all I've been doing in Android, and I've put a lot of time and work into doing it on Stock Android.

There are a lot of Pros & Cons to Stock vs Custom ROMS, and there are a lot of damm fine Stock ROMS out there on devices, like Android One, that I've seen work better then any custom rom I threw at it.

This isn't Android 15 years ago, when manufacturers were giving us crappy bloated Android, times have changed and manufacturers put out nice ROMS, some even better then custom...

I don't claim to know everything but who does?

I'm not here trying to be rude towards you, but your comments were rude towards me, and didn't reflect someone that seems to understand what is going on.

On another subject and app, "NanoDroid-microg" even that isn't working and the reasons why, ask Setialpha and he'lll tell you. He's even the Developer of NanoDroid and he can't get this to work.

It's not as simple as you think on Oxygen OS, and why it isn't because I'm trying to do it "Systemlessly" that's the point of using the Debloater. And no I'm not mental, as I said there's very good reasons to stick to stock vs custom.

So before making rude comments, acting like someone that has no clue. You might want to try and be considerate and ask, and learn, unless you are just here to troll.
[Magisk] 73sydney:
I'm merely pointing out that even the microg people will tell you to flash a clean copy of rom, then microg...people got so tired of dealing with people trying to piecemeal remove gapps to get microg to work they created a special LOS MicroG build to avoid the drama....

Quite why you're trying to go back in time and do things the hard way, and derail someone else's work in the process seems to me to be more rude than you're accusing me of being, because youre basically telling him his work is flawed, well no it isnt, it works perfectly for what it was designed to do - it wasnt designed to completely remove gapps/Google services, was designed to remove bloatware hence the name "debloater", as in general bloated preinstalled apps, seamlessly so as to keep the rom near stock otherwise..and I wasn't being rude, I was being factual, there's a difference and it's often missed by people when you call them out on doing something the hard/wrong way. What you're trying to do is the opposite, trying not to keep the rom near stock. That's not what this module does....
[Magisk] veez21:
UPDATE TO v13.8.2!

Changelog:

* Display app folder in system instead of app label when listing apps
* Misc improvements

Download at the OP or at Magisk Manager

Donate

Join Magisk Module Updates Channel and Magisk Module Downloads Channel in Telegram
[Magisk] paolocorpo:
Thanks bro

Inviato dal mio Mi A1 utilizzando Tapatalk
[Magisk] DaystromLIVR:
Weirdness with basename

I don't know what's up with the shell on my S5, but the latest version of debloat is only picking up

a minimum of system apps and the terminal is littered with partial names and errors from basename.

I'll have a look at it if I get time.
[Magisk] DoR3M3:
[MENTION=7296895]veez21[/MENTION] so I got this figured out, but I just have one question.

So on some devices the Debloat process isn't working the same, where some apps you debloat, they might still be in the App Drawer and they need to be uninstalled from there too? It gets back to the Play Store, still wondering why on 2 different devicves, I removed it in the Debloater and in the App Drawer it was also gone, but on the OnePlus 5T it's in the App Drawer where I have to then uninstall it.

Thanks :)
[Magisk] DaystromLIVR:
My guess is that the ones that need manual uninstallation were updated. The original lies in the system area, but any updates to the app go into the non-system area, looking for all the world like normal apps. However, those apps still inherit the systemness of the parent .apk in the system area. When debloated from the system area, the updated version (a whole .apk) is then orphaned and just hangs around as a normal app.

Having said that, mine does make some effort to remove the updates but it is only about 50% successful.

The module has problems with parsing the names of apks properly. I'm thus guessing that there's a weird name-forming mismatch when the 'pm' (or is it pkg ?) command is given to remove the orphaned package.
[Magisk] DoR3M3:
Yeah seems to make sense, because for me Play Store was the only issue. On many Stock Roms, even though you don't create a Google account, there are still some Gapps that want to update in the background when you first start up your new ROM and go online for the first time. So I keep my eyes on this and try to cancel it right away. All I can assume is I wasn't fast enough, this time I'll be faster... LOL ;)
[Magisk] veez21:
That is weird :confused:
[Magisk] upperdecker:
I'm also having this problem. The debloat menu is only showing a few apps that can be removed.

I tried removing the debloat magisk module and reinstalling it to see if that helped but all that ended up doing was putting back all the apps that I already had removed with debloat and none of them are showing up in debloat to remove now.

I ran the log command which gave me a link for them

http://termbin.com/zm76
[Magisk] DoR3M3:
[MENTION=7296895]veez21[/MENTION] would you please tell me, is the Debloaer suppose to work on the same versions of Android in the same way?

Will some apps remain in the App Drawer, where you then need to remove them, or once you remove them with the Debloater they are gone and should not be appearing in the App Drawer on the same version of Android? Meaning, if someone has two different devices, both running Stock Android Oreo 8.1.0, then Debloater works the same on both phones?

salamat po :)
[Magisk] veez21:
Well, it's supposed to remove the apk in system. If the app still remains in the app drawer, chances are that the apk still exists in /data, and that you can uninstall the manually.
[Magisk] DoR3M3:
Ok, I think what I'm seeing is updates have a big effect here, not sure if anything else changes this.

salamat po :)
[Magisk] shibenduk:
After entring following cmd i m getting this error:

marino_f:/ $ su

marino_f:/ # debloat

sh: debloat: not found

127|marino_f:/ #

Plzz help me how to fix this error
[Magisk] DaystromLIVR:
debloat normally gets installed to /system/xbin

If that isn't on your path, you have to do /system/xbin/debloat

You can do ./debloat if you are in that directory.

I wouldn't bother though yet

A lot of people are having problems with it
[Magisk] shibenduk:
Thank you mate...now i can access debloat folder :fingers-crossed::good::good:
[Magisk] DaystromLIVR:
Giving up on debloater

This module does not work very well on either of my two phones. It's a nice idea but the amount of nursemaiding that I have to do with this module is more hassle than having the bloated apps in the first place.

The module uses a very arcane method of enumerating the apks that are available for debloating. From what I'm seeing, I'm guessing that some of the string/array handling logic doesn't port very well to whatever shell one happens to be using.

I have been having random reboots and long boot times with my J3 for a while now. Until today, it never occurred to me that it was this module causing those. It would appear that the 'wrong' subset of apks is being selected for suppression and just manages to suppress some vital system files as well. (One of the errors I used to get was 'SystemUi stopped responding', soon followed by a reboot). I was also losing wallpaper, google settings and a few other bits and pieces.

These faults all magically corrected themselves when I remove the module and rebooted. All the suppressed apks came back, of course, but that isn't so much of a problem.

I have it in mind to do a proper gui-based version of this but I'm way tied-up for the foreseeable. I don't know what's up with the shell on my S5, but the latest version of debloat is only picking up a minimum of system apps and the terminal is littered with partial names and errors from basename.

I'll have a look at it if I get time.
[Magisk] shibenduk:
Can u sggest me a better module or app which can able to remove system apps?
[Magisk] veez21:
Your situation is pretty unusual. The apps should correspond to the number it's paired with. Though it really does depend on the shell used by your system (and Samsung does wierd stuff)

As for the basename stuff, I've had other user reports about it and I'll look into it later since I'm also preoccupied myself.

If you could send logs tho
[Magisk] DaystromLIVR:
Not really. The best you can do is to run this app and manually hack its output, adding and deleting files after searching the /system hierarchy for .apks that you want suppressing. If you've got a fixed set of apps that you want suppressing, it's easier just to create a module specific to yourself.
[Magisk] veez21:
UPDATE TO v13.8.2!

Changelog:

* New app listing stuff is added! This has fixed several issues that users were having for a while now.
* Added warning when an error was detected during app detection
* App directory is now specified when listing uninstalled apps
* Misc improvements

Download at the OP or at Magisk Manager

Donate

Join Magisk Module Updates Channel and Magisk Module Downloads Channel in Telegram

[MENTION=9248575]DaystromLIVR[/MENTION] , this version has the possible fix for the errors you've had. Maybe you could test it and see if it does things correctly this time.
[Magisk] DaystromLIVR:
Just loaded the updated version of this module. On every single app that I want to suppress, it tells me to uninstall its updates, with no indication as to whether I need to try again to suppress that app. Anyway, there are no updates to any of the system apps (the uninstall updates option is not available). Also, I am told that an error was detected in detecting system apps. Now what ?

---------- Post added at 10:38 PM ---------- Previous post was at 10:31 PM ----------

Also, how about the ability to progressively add apps to the list, without having to go through the laborious detection process every time. It takes time to peruse 200+ apps for debloating.

After committing apps for debloating (but before the reboot and suppression takes place), I want to see the updated list, so I can peruse those remaining and see if I want to add more.

Currently, the only options are 'exit' and 'return to menu' where I have to scan again.

Also, sort out the progress bar. Works correctly on TE, but marches down the screen on Termux.
[Magisk] DoR3M3:
[MENTION=7296895]veez21[/MENTION] is there a way to have the Debloater remove the Accounts under settings?

When I look on the OnePlus 5T after I've debloated out Google, in the Settings > Accounts > Add account, the name Google still appears, but the icon has now changed from the standard Google icon, which is a white circle with the G in colors, to a blue square and a white G in it. It also shows the "Exchange" "IMAP" and "POP3" all with a Gmail looking icon.

Of course since I've just debloated out all of Google you can't make an account, and I'd like to know, is it possible to remove this?

This is everything I'm debloating;

Calendar

Chrome

Drive

Duo

Gboard

Gmail

Google

Google Backup Transport

Google One Time Init

Google Partner Setup

Google Pay

Google Play Movies

Google Play Music

Google Play Services

Google Play Store

Google Services Framework

Market Feedback Agent

Maps

Photos

Thanks

P.S. After making the post I used the latest version v13.8.2 and debloated, now it's all gone, no more Google, Exchange, IMAP, or POP3. Maybe this newer version you udpated it, so when debloating Google, now nothing appears under "Add Accounts"?

The only thing is the "Add Accounts" section is there, but it doesn't do anything since all of Gmail/Google is now gone.

Maybe on a next release the "Add Account" can be removed? No point in having this since Google was ripped out... ;)
[Magisk] guest4711:
"Add account" is needed for a lot of (FOSS) services like Telegram, ICSDroid, OpenKeyChain, ForkHub etc. pp. So I think it should be there as a basic function (which does not hurt if you don't use it).
[Magisk] DaystromLIVR:
Works ok on my J3 but fails (suppresses wrong apks (including XDA!) on my S5. Just had look in /sbin/.core/img

Is ls supposed to be giving this output ? Has someone misconstructed a path concatenation somewhere ?
[Magisk] veez21:
I have an idea on what the error in my script. I'll pm you when I find time.

Things have been not good for me irl.
[Magisk] DoR3M3:
Ahh my bad...

Thanks
[Magisk] just.sao:
great, very helpfull, work like a charm, very clear tutorial too
[Magisk] mayelz:
Where all debloated files are?

I'm wondering abour this, does the module really free up the space when it uninstall the bloatware, if it store a backup, let me know how to permanently deletes all those backups bcs i planned to never reinstall those stuffs. Thanks???

p/s: I've thoroughly check the directories but have no luck finding those backups that i want to delete?
[Magisk] DanGLES3:
The module doesn't keep any backup and it also doesn't actually remove the apps,it just uses magisk to temporarely replace them with nothing so the system treats those apps as uninstalled,this module is not meant to Save any space,it just debloats without touching the system partition,you can use any of the other root apps on the playstore if you want to actually get rid of the app and the storage it takes
[Magisk] mayelz:
So the only option we have to free up space is by using the traditional rooting method, is that right?
[Magisk] guest4711:
Yes, but that frees space on system where you may not need it/cannot use it. And you would have to do it again after every update of the ROM.

To free space in data disabling the app(s) and clearing their data should be enough.
[Magisk] mayelz:
Do i have to resize the system partition if i really need some space??
[Magisk] Fif_:
You could, but you really have to know what you're doing, and the chances of bricking if you mess up are huge. And you have to be careful whenever reflashing as binary updates may blindly follow the stock partition layout.

Check your device's threads for instructions if you're courageous (crazy?) enough.

Another, less risky but still somewhat complex solution, if you can deal with writable/system partition is to:

1. Make/system read-write at boot

2. bind-mount a new subdirectory of /system to /data/media/0/someemptydir.

3. Make sure the permissions and SELinux contexts are correct.

You'd then be able to store data on your system partition.

A system update would wipe your /system-stored data as well, so you would have to backup and restore if you ever flash /system.

Someone could make a module out of this. ;)

I used to do that with a old Nexus 5X that had a huge system partition, which was mostly empty as I was using CM and a minimal gapps.

I wonder why vendors keep shipping full apps in /system that never get used as new versions are downloaded from the play store as soon as the phone is connected... They could just ship empty stubs if they take wanted to push their crap and save previous flash space for users.
[Magisk] veez21:
UPDATE TO v14.1!

Changelog:

* Improved debloating, it now asks you to proceed or not
* Display app info when uninstalling
This allows you to make sure that the app you've chosen is correct
* Installs by default in xbin
* Misc improvements

Download at the OP or at Magisk Manager

Donate

Join Magisk Module Updates Channel and Magisk Module Downloads Channel in Telegram
[Magisk] DoR3M3:
[MENTION=7296895]veez21[/MENTION] thanks for the updates and work!

By the way, when installing a new updated/version, do you we simply click on it in Magisk and install it over the old version, or we need to remove the old before installing the new?

Thanks
[Magisk] Fif_:
You can install over and your debloated apps should remain debloated.
[Magisk] veez21:
You can install it over the previous version.
[Magisk] jallenhayslett:
Sorry to clutter up the thread, but I just want to double clarify before I update the module. So we no longer have to worry about losing all of our debloated apps after a module update anymore? Because it used to un-debloat all my apps every time it updated, so I switched to just freezing them. I recently went back to debloating, and have a list of 80+ system apps debloated and would hate to have to go back and do that all over again.
[Magisk] veez21:
You don't have to do any of that. The configuration will still be there after updating.

But just to be sure, export your config using the "e" option in the menu
[Magisk] jallenhayslett:
Cheers! Smooth sailing. No issues. Thanks for the clarification.
[Magisk] DoR3M3:
Thanks! :)
[Magisk] Michele2:
Debloat command not found in termux, I think there is a problem with xbin path, any suggest? I'm on Pie
[Magisk] jallenhayslett:
Same problem here, Oreo.
[Magisk] veez21:
Check if /sbin/.core/img/terminal_debloater/xbin/debloat exists in any root explorer.
[Magisk] Michele2:
Xbin folder in sbin/.core/img/terminal_debloater doesnt exist, there is only module.prop file. This is strange
[Magisk] jallenhayslett:
It's there for me.
[Magisk] Michele2:
I've tried to reinstall debloater module from recovery and now xbin folder has been created, it works fine... I think it was a problem with magisk manager and Pie
[Magisk] DoR3M3:
[MENTION=7296895]veez21[/MENTION] is Debloater suppose to show everything that is in a device's /system/priv-app?

Because I'm trying to find OPDeviceManagerProvider in the One Plus 5T. If you know One Plus there's been issues in the past about Analytics/Data Mining with 2 apps in particular, One Plus System Service and this OPDeviceManagerProvider.

I was able to find and debloat the One Plus System Service, but I don't see anything in Debloater for the OPDeviceManagerProvider. hmm

Thanks
[Magisk] veez21:
It should show everything in priv-app.

edit: nvm, I tested debloat -d using app folders and it seems broken. I'll fix it when I have time. Try looking for it's app label and use debloat -d com.app.label
[Magisk] DoR3M3:
Well debloat -d net.oneplus.odm.provider worked and it showed it as "Insight Provider" and removed it...

So does that mean it probably was listed as "Insight Provider" or it's broke as you mentioned?

Thanks
[Magisk] veez21:
It's Insight Provider most probably. debloat -d [app folder] is broken but not when using app label.
[Magisk] DoR3M3:
Ok thanks, keep up the great, always appreciated! :)
[Magisk] Fif_:
It is "Insight Provider" on OP5. So Orwellian... War is peace, spying is insight.
[Magisk] DoR3M3:
LOL

https://www.theguardian.com/books/booksblog/2014/nov/11/reading-group-orwellian-1984

P.S. Sorry for Off Topic... :(
[Magisk] hemaoo7:
I have these error in the photo
[Magisk] davidk21770:
I am getting "An error was detected in detecting system apps." How do I proceed? Does this warning mean that I should not use your plug-in?

(Note that this question was asked earlier, but doesn't seem to have been answered)

(Edit) I'm "guessing" it's because I have an app with "[" and "]" as part of its name...
[Magisk] veez21:
You can still use the debloater, but pay attention to the info displayed after choosing the apps (App Label, App Dir). If you see that something's not right, like the directory is wrong then you should proceed with caution.
[Magisk] elvinguitar:
Apps are not uninstalled after reboot. Any help? I'm trying to debloat my Lenovo Tab 3 8 Plus
[Magisk] veez21:
If they're not automatically uninstalled, try uninstalling them like you'd uninstall a user app.
[Magisk] davidk21770:
They are not uninstalled, they're frozen - installed, but hidden and not used. See titanium backup's help on freeze.
[Magisk] JOJO-MOKO:
Just used it to remove Facebook from my s9, does anyone have a list of stuff to remove from a Samsung s9?

Thanks.
[Magisk] veez21:
They're not frozen. They're uninstalled if you're talking about this module.

EDIT: Also updated the FAQ on how this works.
[Magisk] veez21:
UPDATE TO v15!

Changelog:

* Updated mod-util
* This contains a fix for the ProgressBar on small devices (with small dpi)
* Add refresh option when listing apps (App list now persist, unless you fully exit)
* Fixed app listing option in command line
* Misc improvements

Download at the OP or at Magisk Manager

Donate

Join Magisk Module Updates Channel and Magisk Module Downloads Channel in Telegram
[Magisk] bontxa:
Hi,

I'm trying to use debloater but i have no app list, i have attached a screenshot of my output.

Thanks
[Magisk] veez21:
That's really wierd. Send logs (type logs in the main menu, send the link generated)
[Magisk] bontxa:
ok, debloater generated a link, do i have to put it here?
[Magisk] guest4711:
Yes, indeed.
[Magisk] davidk21770:
Sorry about that! Thought that I saw one of the apps marked as frozen in titanium.