OneUI 2.5 to 6.1 Debloat Script
Support my work:
If you've liked my work and it has helped you, consider supporting my work through GitHub Sponsors. Users based in India can connect me over Telegram and support through UPI.
How to use Script:
Download the latest release, extract the ZIP file, and run the script from the "debloat" folder. To run the script, connect your phone to your PC using ADB. For best results, use the script during the initial device setup or after a factory reset to avoid losing personal data.
Choose between Basic, Light, or Heavy script based on your needs:
- Basic: For users who want to sign in to their Samsung account and use Samsung Health, Galaxy AI features.
- Light: Recommended for users without a Samsung account and connected features.
- Heavy: Removes almost all safely-removable apps for maximum system optimization. Be aware that many features will become unavailable.
Warning:
- Light Debloat: Disables Samsung account sign-in and related services (Galaxy AI Features won't be available). Do not use if you intend to sign in to your Samsung account. Choose the Basic script instead.
- Heavy Debloat: Removes most safely removable apps and hence many features may be inaccessible (Galaxy AI Features won't be available). You can restore these features by reinstalling the corresponding apps or using revert script.
Additional Settings and Optimizations:
Following the debloat script, you can further optimize your device by adjusting following settings:
- Disable Adaptive Battery: This feature learns your app usage patterns and restricts background activity for less frequently used apps. Disabling it may improve performance for some apps but could impact battery life.
- Disable Location Services - Wi-Fi Scanning: This feature uses Wi-Fi to improve location accuracy. Disabling it can save battery but may affect location-based services.
- Disable Background Check
Unrestricted Battery Usage for System Apps:
- Open Settings and navigate to Apps.
- Enable Show System Apps.
- Locate the following apps: One UI Home, Your keyboard app (GBoard, Samsung Keyboard, etc.), Android System, System UI, and all Gesture apps.
- Tap on each app and go to Battery.
- Set the battery usage to Unrestricted.
Restoring Removed Apps:
-
To restore an app you've removed, use the following command via ADB:
adb shell cmd package install-existing <package name>
-
Example:
adb shell cmd package install-existing com.sec.android.app.samsungapps
-
Replace with the actual package name of the desired app.
Reverting to Stock Condition:
To restore your phone to it's original state with all default apps installed, run the suitable script from the "revert" folder.
Note:
If you somehow encounter any difficulties, feel free to open an issue or contact me on Telegram. Please mention your device model and firmware version for quicker assistance.
Visible System Apps (OneUI Core 4.1 - INS Firmware on Samsung M21)
After Light Debloat Script
After Heavy Debloat Script
Credits:
Samsung for adding them and me for removing them :)