yashsingh1/xdaforums huggingface dataset:
[Magisk] ReleaseTheGeese:
Greetings,

I ran `debloat` from the adb shell on my Android tablet. Then I installed the microG module in Magisk to replace GMS. Before doing either I patched my signature (forget the exact name, but a prerequisite for microG) using the NanoDroid patcher package in TWRP.

Unfortunately after a reboot my launcher is crashing.

I uninstalled the following:

debloat.import=1
GoogleFeedback^=/system/priv-app/GoogleFeedback
GoogleContacts^=/system/priv-app/GoogleContacts
GooglePartnerSetup^=/system/priv-app/GooglePartnerSetup
Phonesky^=/system/priv-app/Phonesky
PrebuiltGmsCore^=/system/priv-app/PrebuiltGmsCore
Velvet^=/system/priv-app/Velvet
GCS^=/system/priv-app/GCS
GoogleBackupTransport^=/system/priv-app/GoogleBackupTransport
GoogleLoginService^=/system/priv-app/GoogleLoginService
GoogleServicesFramework^=/system/priv-app/GoogleServicesFramework
Hangouts^=/system/priv-app/Hangouts
GoogleOneTimeInitializer^=/system/priv-app/GoogleOneTimeInitializer
PlusOne^=/system/app/PlusOne
GooglePinyinIME^=/system/app/GooglePinyinIME
CalendarGooglePrebuilt^=/system/app/CalendarGooglePrebuilt
GoogleContactsSyncAdapter^=/system/app/GoogleContactsSyncAdapter
Drive^=/system/app/Drive
PrebuiltGmail^=/system/app/PrebuiltGmail
Books^=/system/app/Books
YouTube^=/system/app/YouTube
Chrome^=/system/app/Chrome
GoogleCamera^=/system/app/GoogleCamera
Videos^=/system/app/Videos
PlayGames^=/system/app/PlayGames
GoogleTTS^=/system/app/GoogleTTS
Music2^=/system/app/Music2
Newsstand^=/system/app/Newsstand

Also, 'debloat' is missing from my shell and can no longer be run.

Would anyone have any suggestions for how I could recover, or debloat properly? My plan is to remove all Gapps and use microG/GMS to handle any play services.

Thanks in advance,

RTG
[Magisk] Moe2003:
There are many programs missing from the debloater that appear in my apps in settings
[Magisk] sixtyfootmalcolm:
What kind of crash? Any specific message?

I found that removing Google Play/Services consistently broke Samsung builds after 9.0. Disabling seems to work okay but full removal totally broke the stock ROM for me even if replaced. I had to disable some of it in the Settings app rather than using ADB/terminal or it wouldn't boot.
[Magisk] uhuhuh:
It doesn't detect Contacts in `/system/product/priv-app`
[Magisk] xtzy:
Debloater (Terminal Emulator) module stopped working on Android 11 (OnePlus 7).

Does not delete anything, all apk files of deleted, so to speak, system (Google) applications are in their places. You just have to freeze them through the SD Maid application, thank God, although it works flawlessly.
[Magisk] 73sydney:
Works fine here on Pixel 2XL on Android 11, and has done on every 11 ROM ive ever tested on my device. Been using this module for years...

You might have device issue that stops it working well on your device, but its by no means broken by Android 11....

p.s. It never deletes anything, thats not what it does
[Magisk] xtzy:
On android 10 everything was OK, there were no apk files in the System / Product / App folders in the folders of these applications. Now on the 11th android they are present, and if you unfreeze the applications through SD Maid, then the corresponding shortcuts for launching appear in the list of applications, that is, the debloater does not block anything, but I do not reinstall them.

Sorry about my English, but I can't better.
[Magisk] @RMIN:
this is awesome... I have been use your terminal, it works perfect
[Magisk] xNAPx:
May I ask, I am using this debloater without the busybox and it seems to be working, do I really need busybox?
[Magisk] NLhardcore:
I have oxygen 11 beta but the module is not working I think
[Magisk] Dhyfer:
@veez21 I need to know something. As I understood it, the apps in /system that I have uninstalled are replaced by a blank file (necessary for a reinstallation) I understand that, but ... if I am sure of the apps that I have uninstalled and I delete blank files manually and then uninstall module, uninstalled apps can reappear?

What I want to say is that I want a complete uninstall, so that after having uninstalled some apps, manually deleted from their blank files and deleted the module (it does not make sense to keep the module when it already met its function) Total uninstallation can work on that way?
[Magisk] el_easy:
use Root Explorer or Solid Explorer to manually delete those blank folder.
[Magisk] joeo10:
I can't find the last version so anyone can give me a zip of the last version (17.3.3)? Thanks!
[Magisk] xtzy:
In the repository Magisk.
[Magisk] uriii13:
Some help here pls: I need to mount Magisk on TWRP to eliminate some scripts of Debloater Terminal (wrong apps uninstalled). How to do it? Trying flashing Mount-Magisk.zip and nope...
[Magisk] Didgeridoohan:
If you're on any Magisk release from v19 and forward there's nothing to mount. Everything Magisk related will be in /data/adb.
[Magisk] uriii13:
Sorry, so nooby here; it means if it's bootlooping, just entering in TWRP and then /data/adb, I can delete the module from there?
[Magisk] Didgeridoohan:
That's a bingo.
[Magisk] sieger007:
Update:

Q.

I accidentally uninstalled an important system app (e.g. System UI) and got in a bootloop, what do I do?

A. Simple, mount magisk from here. Then delete the app folder of the system app you've uninstalled in /sbin/.core/img/terminal_debloater/system/app or /sbin/.core/img/terminal_debloater/system/priv-app then that should undo it ;)

Naah does not work. used this and went into a bootloop after I unistalled some crappy chinaware from MIUI. The damn thing will not run till that crapware is reinstated. The magisk mount did not help - it errored "cant find magisk." . My Magisk is via patched boot.img if it matters. What helped is locate terminal debloater folder in /data/adb/modules and move issome place and I MIUI spyware s*t came back up
[Magisk] Didgeridoohan:
@Fif_ Overlayfs issues is a known Magisk bug (there's an open issue ticket for it here).

But, while there's been no fix for it in Magisk yet (and since we're waiting for any word from John on what the future of Magisk will be), there's a Magisk module that's supposed to take care of it here (available in the Magisk module downloads):

https://github.com/Magisk-Modules-Repo/overlayfix

Have you tried that?
[Magisk] Fif_:
Thanks @Didgeridoohan, that took care of it. I removed my manually copied directories, rebooted and then installed overlayfix. Everything now works perfectly fine.

And it's way simpler than the manual route I went for. 😀

So, if you're have issues with apps that cannot get debloated, consider trying overlayfix.
[Magisk] nobody498:
I have a problem with a new device and debloater:

Device: unihertz titan pocket. OS Anrdoid 11, not much modified by the manufacturer.

I tried to remove GmSCore

At reboot the system did not start, instead the inital android animation stayed on the screen.

I somehow managed to enter android safe mode. Safe mode does not allow much you can do, you cannot even start a terminal window. But I looked at the filesystem with adb and noticed that GmsCore was still there.

I rebooted again. This time the system came up normal. GmsCore still is present.

But all installed modules of Magisk (even if listed in the Magisk modules menu) where inactive/non functional.

So, I removed the debloater, rebooted, then again installed debloater. After rebooting again the System went into a bootloop like the first time after debloating with the debloater (even if I had not used the debloaters functions).

I fixed this again by safe mode and reboot.

This time I removed all Magisk modules then reinstalled them but not the debloater.

Now, I fear that something is still not ok, and of course I wont install the debloater again until I know why this happens. The There is no way I know of currently to install TWRP on the Titan Pocket. So I am limited to the factory recovery.

My questions:

How can I cleanup the system so that after reinstalling debloater the system will not again enter a boot loop?

finally: is there any other proven way to manually remove GmsCore that wont bork the system, so I am able to install MicroG on the system?

TIA
[Magisk] sieger007:
-- your system cant be easily set to RW looks like . So have to manually remount rw /system and then manually remove GMS

-- manually remove GMS by identifying gms folders ( find /system -type f -iname "*gm*" ) and then run rm -rf

take a nandroid backup before you do anything

better op is to disable gms and use MicroG & if it works for full funct then throw it out for good

- to avoid bootloop - go to /data/adb/modules/ find debloater folder and rename - all this in TWRP
[Magisk] nobody498:
Thank you sieger007,

I will try the manual removal of gms - However, since I have no TWRP the best backup I can do is titatnium backup. I could try something like dd and send this to the external SDcard, but I never tried if a restore from a backup with DD is possible.
[Magisk] Lord Sithek:
If I may suggest - don't use obsolete Titanium. Try something like Swift Backup or Migrate
[Magisk] sieger007:
dd wont work...I dont think. dd will also blow up any existing data on that card. At least there isn't anyone who succeeded with dd. TItanium backups ok but it is outdated and does'nt restore properly. Still that can be manually restored since Tit's backups are zip files . Why not disable GMS and use MicroG. That way if there's a problem with any app ( Micro is anything but perfect ) you can toggle back to gms
[Magisk] MySelf_v1:
Added to my top 10 magisk modules. Great job.
[Magisk] nobody498:
Thank you sieger,

My primary fear is, if i manually remove the GMS apps, that the result will be a system where I have to restart from scratch, loosing my precious and time consuming customizations. I dont care for data. All data is either mirrored to my home PC using syncthing or email which is stored on my exchange server. I dont need to backup this data.

it it correct, If I backup everything under /data I should have most things saved besides of magisk modules and settings?
[Magisk] nobody498:
Now, I finally pushed myself to get rid of the gms of this phone. I did not make a backup, I accepted to start from scratch if the phone would be bricked.

But it ended all well. But was not straightfroward. If this helps anyone, here what I had to do:

Phone was Android 11 (unithertz titan pocket), rooted:

opened a root shell and entered: "pm uninstall -k --user 0 com.google.android.gms"

made a restart.

opened Magisk and search microG, installed the microG installer Revived. Reboot

After restart selfcheck of the microG System: System has no signature spoofing support.

Installed "FakeGApps by thermatk" but restart did not work. found out this is not for Android 11. Removed

Installed "FakeGApps fork by whew-inc". This time success.

Tried to check all permission checkboxes required for microG. All worked but two: SMS and Always Location. These two stayed unchecked - no popup to give permissions.

Tried pm grant com.google.android.gms android.permission.ACCESS_BACKGROUND_LOCATION. Did not help.

Google found: if this happens you have to install the GmsCore.apk a second time. This time as the normal user. Did this. Now I were able to check the remaining checkboxes.

The playstore. I found it had removed itself. Also I discovered, the replacement does not support in App enhancements of installed applications.

Found a playstore v20.x which claims it will work. Installed, but still could not activate a program where I had an additional in App license.

I gave up and thought maybe the playstore needs more time. Indeed. Next morning the lincense worked.

Installed Location Service backends.

Done. I dont have to wait any more for minutes to get a GPS-Fix.

Even my VoIP phone-client seems to work with the cloud messaging replacement from microG.

Great work. Congratulations to the developers.

Thank you for encouraging me to remove gms manually.
[Magisk] Bofahad:
AMAZING
[Magisk] sieger007:
/data will include even magisk modules since these are /data/adb

but also be aware of /system keeping some useful data you did not realise since many of the apps may be pre installed in system and there is SMS and call history
[Magisk] drup88:
Is anyone able yo install this lately? Magisk doesn't allow module installs natively, anymore so using the Android file link to download the .zip files, nothing happens after pointing magisk to it and rebooting 🤷
[Magisk] joefuf:
Just encountered this on my Pixel 3a XL this evening after a reset. Updated to Canary for the first time, so I'm not sure if that's it. I would really love to get this working on my phone. All of that bloatware is half the reason I root.

Update: I was able to install it by getting v17.3.2 from the Telegram channel. Didn't seem to be in the repo from the OP.

Magisk Modules Updates

Checks updates of Magisk Modules directly from the repo as soon as its published. Support the channel: https://paypal.me/veez21

telegram.me

@drup88
[Magisk] ElBerretin:
Hey!!

Do you (or anyone) know if I can just flash this .zip file through TWRP and install it that way? I don't have Magisk nor plan on getting it, I just need this program to work so I can uninstall a TWRP-flashed old version of YouTube Vanced.....

And I've tried flashing another version, but then the Android Console tells me "/system/bin/sh: debloat: not found", so I'm guessing the installation wasn't successful...

Anyone else encountered the same problem?
[Magisk] 0O00O0O00O:
How to create a custom import list? What's the format supposed to be?

I'm trying to remove all bloat on my Note 10 from here:

[Complete] List of Samsung Bloatware Safe to Remove - MiniTool

What’s bloatware? What are the lists of Samsung bloatware safe to remove? How to create your own Samsung bloatware list? Read answers here!

www.minitool.com

I made a list like

1 - samsung.android.bixby.wakeup

2 - samsung.android.app.spage

but it doesn't work.
[Magisk] belrei:
Thank you for this, works perfectly. Even GCM works fine.

Only problem in my case is Bluetooth media audio. No sound at all. Phone calls work fine.
[Magisk] nobody498:
For me BT audio works fine (at least when using my headset). I have not tried other BT connections.
[Magisk] xdadev_user11:
The built in apps, chrome, google drive, google play tv and movies, youtube, yt music, don't show up on debloater. I'm using the Teclast T40 Pro with UNISOC T618 running on Android 11. I used the termux app to find the location of the built in apps. Perhaps this might be useful for those using the Teclast T40 Pro.

/product/app/GoogleLocationHistory/GoogleLocationHistory.apk
/product/app/Photos/Photos.apk
/product/app/Drive/Drive.apk
/product/app/Messages/Messages.apk
/product/app/Duo/Duo.apk
/product/app/RevoPartnerConfig/RevoPartnerConfig.apk
/product/app/Chrome/Chrome.apk
/product/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
/product/app/PhotoTable/PhotoTable.apk
/product/app/YTMusic/YTMusic.apk
/product/app/com.google.android.modulemetadata/com.google.android.modulemetadata.apk
/product/app/Videos/Videos.apk
/product/app/LatinImeGoogle/LatinImeGoogle.apk
/product/app/GoogleTTS/GoogleTTS.apk
/product/app/WebViewGoogle/WebViewGoogle.apk
/product/app/CalendarGoogle/CalendarGoogle.apk
/product/app/Gmail2/Gmail2.apk
/product/app/GoogleContacts/GoogleContacts.apk
/product/app/Maps/Maps.apk
/product/app/com.google.mainline.telemetry/com.google.mainline.telemetry.apk
/product/app/YouTube/YouTube.apk
/product/app/TrichromeLibrary/TrichromeLibrary.apk
[Magisk] __Michael__:
Please share a link to download the last version, seems like the AFH has only old versions
[Magisk] RF Junkey:
Will this work on Android 12 ?
[Magisk] rchris494:
seems to work on my 12.1 google pixel 5a. i did a fresh flash of the lastest stock rom. flashed magisk. installed the lastest 17.3.2 of this module. adb shell, su & debloat -nc . i removed the BS apps that i absolutely never use. rebooted phone and they are gone from my app list.
[Magisk] rchris494:
Telegram: Contact @magiskmod_dl

t.me

click download in the middle then it will take you to download the 76 version (Debloater (Terminal Emulator) updated to v17.3.2 (76)) the only version i could find that was the newest
[Magisk] ashish1989:
I used debloater module to uninstall my system apps and it worked perfectly. But the problem, when I am uninstalling the debloater module now the uninstalled apps are coming back automatically. Any way to fix this. I am using OOS A11 stock.
[Magisk] 73sydney:
thats as expected, anytime you remove a magisk module it *should* reverse what its done, thats a good thing

i.e. if you want what the module provides, leave it installed....
[Magisk] krabat:
Hallo my boys!

debloater is my musthave app in my every phone, its realy powerfull smart idea and at first I must thanks to creators fornso perfect work!

Till today, I used it without any problems, but now I've got redmi 8 lite and shot down about 30x bloatwares and bootloop. Respectively it's not bootloop such but after reboot phone goes to recovery....😜

There are my ****list:

---- cut ---

debloat.import=1

Gmail2^=/system/app/Gmail2

Joyose^=/system/app/Joyose

Maps^=/system/app/Maps

XiaomiAccount^=/system/app/XiaomiAccount

PhotoTable^=/system/app/PhotoTable

Photos^=/system/app/Photos

Music2^=/system/app/Music2

PaymentService^=/system/app/PaymentService

facebook-appmanager^=/system/app/facebook-appmanager

EasterEgg^=/system/app/EasterEgg

MiCloudSync^=/system/app/MiCloudSync

GoogleExtShared^=/system/app/GoogleExtShared

GlobalTrendNews^=/system/app/GlobalTrendNews

Duo^=/system/app/Duo

Videos^=/system/app/Videos

Drive^=/system/app/Drive

XiaomiSimActivateService^=/system/app/XiaomiSimActivateService

CloudService^=/system/app/CloudService

XMCloudEngine^=/system/app/XMCloudEngine

WallpaperBackup^=/system/app/WallpaperBackup

talkback^=/system/app/talkback

MiLinkService^=/system/app/MiLinkService

MiuiVideoPlayer^=/system/app/MiuiVideoPlayer

LiveWallpapersPicker^=/system/app/LiveWallpapersPicker

YouTube^=/system/app/YouTube

XiaomiServiceFramework^=/system/app/XiaomiServiceFramework

YouDaoEngine^=/system/app/YouDaoEngine

TimeWeather^=/system/app/TimeWeather

facebook-services^=/system/priv-app/facebook-services

Weather^=/system/priv-app/Weather

Music^=/system/priv-app/Music

MiDrop^=/system/priv-app/MiDrop

MiRecycle^=/system/priv-app/MiRecycle

facebook-installer^=/system/priv-app/facebook-installer

WallpaperCropper^=/system/priv-app/WallpaperCropper

CloudBackup^=/system/priv-app/CloudBackup

--- cut ---

Can some master here app, what causes it, please? If yes, can he tell me witch is it?

thanks so much and force be with You!

ps. excuse my bad english, pls.
[Magisk] 73sydney:
Ive never had debloater send me to recovery in all the years ive used it...so it may not be the cause, but you might try the following...

Im just guessing you shouldnt debloat these (these seem likely core):

XiaomiSimActivateService

XiaomiServiceFramework

and possibly:

GoogleExtShared

XiaomiAccount

if you have recovery working, go to /data/adb/modules/terminal_debloater either via file manager in recovery (TWRP) or via adb shell then su on PC

then either:

A) disable terminal debloater completely by creating a blank file named disable (i.e. at terminal: touch disable) and reboot

or

b) remove debloating per app...

go further to system (to /data/adb/modules/terminal_debloater/system)

under one of the following paths find the named app folder as above and either delete the named app folder or remove the .replace file within the named app folder

app/

priv-app/

/product/app/

/product/priv-app/

reboot
[Magisk] bmportillo5:
Hi. Thanks for your work. The only issue I have right now is that after I succesfully debloated most of my phone it started updating from the play store and now some of the bloat apps have come back, but when I try to run the command through the terminal it says "Debloat not found". How do I get to use the command again?
[Magisk] Fif_:
You have to keep the module installed and active for debloating to work.

To completely remove system apps that have been updated, go to settings > apps > [app to debloat] > uninstall updates (in the 3 dots menu on the top right), then debloat and reboot.
[Magisk] FredMontteiro:
Hi bros, why in my Magisk do I see Debloater (Terminal Emulator) v17.3.3 if the latest version is v17.3.2?
[Magisk] DaKingof:
After installing and running on my ONA19TB003 tablet, I tried to run the 'debloat' command and I get '/system/bin/sh: deboat: not found'.

I'm not sure what I am doing wrong, this happens with all of your apps on this device for some reason.

Is there a way to get android to recognize the command?
[Magisk] Haknor:
It doesn't work on Android 12. It doesn't matter if you either install it through Magisk itself or the recover, none of them do work.

It doesn't even appear on Magisk after installation that seems to be worked, but it didn't 😅
[Magisk] Fif_:
Are you running this as root?

You may be missing /system/xbin in your PATH.

One of these should work:

/system/xbin/debloat
/system/bin/debloat
/data/adb/modules/terminal_debloater/system/xbin/debloat
/data/adb/modules/terminal_debloater/system/bin/debloat

If the first two paths do not work, there is a high chance of something being very wrong with your Magisk install.

Or it could missing a misplaced /system/bin/sh, if the above still fails, please provide the output of all four commands, plus the output of:

id
ls /system/bin/sh
[Magisk] DaKingof:
/system/xbin/debloat

/system/bin/debloat

/data/adb/modules/terminal_debloater/system/xbin/debloat

/data/adb/modules/terminal_debloater/system/bin/debloat

I checked in these directories and none of these modules are there. in /data/adb/modules/ I have all the other modules I installed except for

ls /system/bin/sh just gives me back ls /system/bin/sh

id gives me 'uid=0(root) gid=0(root) groups=0(root) context=u:r:magisk:s0'

Edit: I got the programs to install and now they show up in the '/bin' directories but it seems they are not removing system apps.
[Magisk] Fif_:
Did debloat allow you to pick apps to debloat?

Did you reboot?

Send the output of

find /data/adb/modules/terminal_debloater
[Magisk] fobtob387:
Any chance someone could re-upload 17.3.3 please?

Edit: Found it - https://mega.nz/file/2MZxBJaB#DU8P5DQlFugxTAsEsXfzPwtjjOkDzefPfdC9sXOVCbc
[Magisk] droidmate:
"Market Feedback agent" please add
[Magisk] Gvladik:
I used debloater for almost two years with no problem, today I tried to remove some system app that was not that major and it ended up sending my POCO X3 PRO into the infinite boot screen that never actually boots..

I can access fast boot, wipe data and safe mode but safe mode is also not giving me any results.

Is it possible to restore it without wiping or reinstalling a fresh rom?

The phone is on android 12
[Magisk] henningsieh:
In magisk App there is no repository anymore. Where do I find this repository, you are talking about?

Thx
[Magisk] 73sydney:
Correct, the online repo was removed from Magisk by design/on purpose

Use this instead:

GitHub - Fox2Code/FoxMagiskModuleManager: A module manager for Magisk because the official app dropped support for it

A module manager for Magisk because the official app dropped support for it - Fox2Code/FoxMagiskModuleManager

github.com
[Magisk] SpecialAgentMSI:
Please help I'm looking to download debloater version 17.3.2 🙏 but can't find file ... This is a emergency I've been using this module for my whole life
[Magisk] 73sydney:
Here you go, from my own personal archive

Ill send the bill via PM :)

Just out of curiosity, why are you not using the later one? and you must be like 2 years old :)

Note: 17.3.3 also added

Files are 17.3.2 (leftmost) 17.3.3 (rightmost)
[Magisk] fobtob387:
5 posts above yours... https://xdaforums.com/t/module-term...at-systemlessly.3584163/page-58#post-87205657
[Magisk] 73sydney:
different version :)
[Magisk] fobtob387:
Latest version though.
[Magisk] 73sydney:
when someone asks for a specific version i assume thats what they actually want....especially when they say theyve used it forever....
[Magisk] SpecialAgentMSI:
Thank you so much
[Magisk] SpecialAgentMSI:
Possible to get busybox. Lol .. why can't we Download them anymore?