Git Product home page Git Product logo

de-bloater's Introduction

De-Bloater

De-Bloater

De-Bloater is an application using the power of Magisk to de-bloat unwanted applications systemless-ly.

Download

Features

  • Easily remove system apps from "/system", "/vendor", and "/product" directories.

Requirement

De-Bloater requires Root Access and a fully functional Magisk environment, including modules, for proper working. As a result, De-Bloater won't work with other rooting solutions as well as in Magisk core-only mode.

How to Use

Open the app, click the remove button on each app you want to remove. The selected apps will be removed systemless-ly after a reboot. To restore an app, either Reset Module (on the top menu) or selectively restore from the second page. Please note that a restart is necessary to get any of the changes in effect.

How it works

The app will systemless-ly replace the selected APKs by making a Magisk module. As a result, you will see a new Module (name: De-bloater).

Troubleshooting

In case, if you accidentally remove some important apps and your phone bootloops, please delete "/data/adb/modules/De-bloater" via recovery.

Translations

Please help me to translate this application via POEditor. You may also translate after downloading the original language string available here.

Donations

If you like to appreciate my work, please consider donating to me (either via Liberapay, PayPal, Ko-fi, or by purchasing the SmartPack Donation Package from playstore) as it is helpful to continue my projects more active, although it is not at all necessary.

Credits

  • Grarak, Code contributions (I took some code from Kernel Adiutor)
  • John Wu, libsu & Magisk
  • MONSTER_PC, Russian & Ukrainian Translations
  • Emre, Turkish Translations
  • Firerust96, Spanish Translations
  • lay4play, Italian Translations
  • Axel Schaab, German Translations
  • alex, Ktosspl & Valdnet, Polish Translations
  • Reno & Ebolateam, French Translations
  • Hoa Gia Đại Thiếu & ひきたり, Vietnamese Translations
  • Hongle & qiaoxin, Chinese - Hong Kong (Simplified & Traditional) Translations
  • MMETMA, Arabic Translations
  • Many other people contributed via POEditor
  • Guima Teixeira, French (Belgian) Translations
  • Yadi & 蔡承佑, Chinese (Traditional) Translations
  • Geovanni, Portuguese (Brazilian) Translations
  • Lw201811, Japanese Translations
  • Chong & Lw201811, Chinese (Simplified) Translations
  • Many other people contributed via POEditor

If you think I missed your name, please let me know.

License

Copyright (C) 2023-2024 sunilpaulmathew <[email protected]>

De-Bloater is a free softwares: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at
your option) any later version.

De-Bloater is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License along
with De-Bloater. If not, see <http://www.gnu.org/licenses/>.

de-bloater's People

Contributors

aga-c avatar firerust02 avatar izzysoft avatar mmetma avatar sunilpaulmathew avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

de-bloater's Issues

Freezes on reboot on Magisk Delta

I have used De-Bloater all the time when using original Magisk by John in the past. Once I switched to Magisk Delta my homescreen froze and became unresponsive after reboot. I am removing exactly the same apps as before so quite confused about this.

Chrome not uninstalling.

I'm trying to uninstall Chrome app. I'm tapping on the remove button and it's saying will be removed after reboot, but after reboot the Chrome doesn't get uninstalled and it's still there in the active section of the app with the text "Will be removed after reboot" and the restore button. Tried restarting multiple times and even tried restoring and removing the app multiple times, but can't do anything.

Xaomi UAD script disabled

The Universal Android Debloater script says it's "disabled" and lists no applications. The script on PC works fine.

Redmi Note 7
Not running MIUI

Thanks

Some apps refuse to be removed

Tried de-bloating various apps. Some worked, but some remain installed, and I can still activate or deactivate through settings.
Couldn't find any information about a similar situation.

how to "delete '/data/adb/modules/De-bloater' via recovery."?

In recovery mode, can't use adb:

$ adb devices
List of devices attached
00000       unauthorized
$ adb shell "rm /data/adb/modules/De-bloater"
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.

App has stopped working

When I search an app on on the active tab I searched the word file then immeadiately press inactive tab brings up de-bloater keeps stopping.

Apps installed in /apex not debloated

I've noticed a few apps I'm trying to remove aren't being uninstalled. (Just says reboot to remove even after a reboot)

Specifically I've tried to remove:

  • com.google.android.ondevicepersonalization.services
  • com.google.android.sdksandbox
  • com.google.android.adservices.api

I believe it's because they are installed in /apex

Debloat failed

Directories that have System Apps
List 1

1) /system/system_ext/app/
2) /system/system_ext/priv-app/
3) /system/app
4) /system/priv-app
5) /product/app
6) /vendor/app

Now comes the partitions that are only used by Realme
List 2

1) /my_carrier/app
2) /my_carrier/priv-app
3) /my_heytap/app
4) /my_heytap/priv-app
5) /my_preload/del-app
6) /my_product/app
7) /my_product/priv-app
8) /my_region/app
9) /my_region/priv-app
10) /my_region/del-app
11) /my_region/del-app-pre
12) /my_stock/app
13) /my_stock/priv-app
14) /my_stock/del-app

Apps from List 1 are easily removed after rebooting but Apps from List 2 have no effect even on selecting apps and rebooting system .Also none of the apps that are selected have any user updates installed .
Only way to remove these apps is to use adb

I have also included the module folder for you with screenshots
Link Folder.zip

KERNELSU

Is debloater compatible with Kernelsu...

Misleading UI after applying script

Everything worked fine after applying the Tomatot script, however the the confirmation alert shows CANCEL (in Italian ANNULLA) instead of OK.
Pressing the button didn't change anything and the process worked, but it got me a little confused.
I'm not familiar with android, but considering there's no ANNULLA in the Italian text resources, I suppose that's an automated button due to the fact there's just one (however I'd suppose on an alert message with just one button, that one would be confirm).
Screenshot is attached.
Screenshot_20220206-103503

Phone (cannot hear/mic muted)

I disabled these using de-bloater:
ok google enrollment
x google enrollment
google location history
photos
google pay
GOOGLE CONTACTS SYNC

Now, one of these, (not very sure which) BREAKS PHONE APP (cannot hear/mic muted).

The problem with de-bloater is that, even if i restored all the above apps and rebooted, still couldn't call.
I had to remove the apk and magisk module + restart to make it work again.

Most probably it was due to the google location history being disabled. Then carrier location notification appeared after reboot.

Feature request* load from magisk module.

This app is truly awesome. It would make it sweeter if it could load the current debloated list into the app from the magisk module. There are so many services. It is hard to pinpoint which disabled service is causing the problem. I'm sure this is harder to implement than it seems. Or at least time consuming.

Thanks for the great solution. Running perfectly on my LG V20 Oreo magisk 24.3

Backup Inactive Debloat List Not Working

On Android 11 De-bloater states "Backup files is created as /storage/emulated/0/deviceName.json"

The json file is nowhere to be found. I suggest that the app is updated to allow the user to specify the name of the file.

Would backing up app data work?

If I used an external method like OAndBackupX to back up the app data instead of the internal backup function within the app, would it still work? I am worried that it would make the app show active apps as inactive (if they were inactive in the backup) while they are still active.

Magisk 24, mod not working

Was working under 22, tested with 24.1 & 24.3, not working anymore. Also, there is no way to save the configuration and load it again in the future, is it?

Android 13 stuck on bootloop if rooted

Hello,
I have a Xiaomi Redmi Note 11 Pro 5G (veux) on MIUI v14.0.1 EEA, Android 13.
I rooted the device with a patched Magisk boot.img, installed the debloater, debloated some apps and it got stuck on the MIUI logo.
I deleted the "/data/adb/modules/De-bloater" with a temporary TWRP boot image for Android 12 (On android 13 network doesn't work with it), installed the patched boot image again, still didn't boot. I installed the original boot image and only then it boots. Now I can't have root.

What do I do?

Crashing on Inactive if searching

This app crashes when I tap Inactive after searching

To reproduce:

  1. Search for some term
  2. Click Inactive
  3. See it's crashing

I also noticed that this crashing is only when it's on All tab, not when on /system or /product

Logs

FATAL EXCEPTION: pool-24-thread-1
Process: com.sunilpaulmathew.debloater, PID: 10401
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
	at p2.a.c(Unknown Source:10)
	at o2.d$c.a(SourceFile:264)
	at androidx.activity.b.run(SourceFile:457)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
	at java.lang.Thread.run(Thread.java:1012)

Not working on Magisk v27

App fails to debloat anything on HyperOS android 14, magisk 27 but works fine on magisk 26.4
Please check it 🙏

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.