I just wanted to make a quick rundown of things I do to phones, even if they have a large battery.
- Go into app info, then battery, then enabled "Background Restriction" for apps that don't need to have fast notifications. I do this for apps like XDA, Feedly, Amazon etc. Given enough time Adaptive battery will do this for you, but I go in manually for any new apps or ones that I still might use frequently. (UnRooted)
- Download Naptime and enable aggressive doze. Also play around with the experimental features. I disabled location when Doze mode is enabled. (UnRooted)
- Download Servicely from the same dev. I disabled apps when my screen turns off and whitelist phone, messaging apps and other high importance apps. (Root)
- Use Tasker to automate Battery Saver Mode when your screen turns off and disable it when the screen comes back on. Naptime can also do this in the experimental settings, but I use Tasker to trigger it based on conditions like battery percentage, etc. (UnRooted)
- Install the Universal GMS Doze in Magisk. Combining this with Naptime really helps for standby. (Root)
- Install AdAway from F-Droid. This is a small thing, but less data use for pulling ads means better battery. It's a stretch, but the other benefits are no more ads! (Root)
This is what I've got done so far. Once custom kernels are released I'm going to use the Franco kernel app to make per app customizations to underclock the CPU and GPU for apps like Messages and other lite apps to really squeeze more battery.
With these optimizations I can easily make a full day. I haven't gotten a solid SOT number yet as I change in my car through Android Auto most days, but I really want to test a day completely off a charger to see what it's like.
Again, these are things I do on even large phones like the OnePlus 7 Pro and it's almost doubled my battery life on phones. Plus, these are set and forgot things and should only require a little bit of setup.
I hope this helps yall eek out some more battery out of our awesome devices! I can start to use the phone without worrying about battery anxiety.
Or you can just enable battery saving, and don't optimize apps you really need.
That's true, and I have it enable when the screens off. I'm not sure is restricting background use AND battery saver are doubling up and helping save more battery, but I want the option to have a light theme, so restricting battery for apps gives me that option
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
***Works on ONE UI 4, 4.1 and 5 for all versions of s20, s21 and s22 (except for S22U)***
Due to some bad optimizations by Samsung , we are facing a lot of battery issues and a couple of random lags. With this script, I have got something between 7h and 9h of SOT.
In a few tests in Brasil, the users are getting a much better battery life. This script have some things like:
=> Removing items that can sometimes be undesirable according to the user, so you can select wich services will be disabled, such as bixby, AR camera features, microsoft apps, google apps (not the main like gmail and photos, but the secondary ones like bookmar provider, docs), ANT (there are people who don't even know what it is so this is usually useless here in Brazil).
=> Disable the Camera Light Sensor which is a bug on One UI 4.0 and 4.1, galaxy S have a light sensor to calculate the automatic brightness, however, since One UI 4.0 it ends up using the front camera for this, annihilating the screen time of the device. When camera light sensor are disbled, the device will properly use the dedicated light sensor and the automatic brightness be more responsive and battery friendly.
=> Enable the option to disable Ram Plus, where the 0GB option will appear in the options above 2GB, which you can disable if you want (Recomended only on ONE UI 4, because One UI5 comes with disable RAM Plus option available) .
Throughout the script, it will ask which item you want to be removed, so if you use DEX, just answer "n" when it asks if you want to remove it.
Resetting the device to factory defaults will completely reverse everything the script does, so it is not permanent and does not void your device's warranty. If you want, there are a Revert back script too.
The procedure is simple:
In your cellphone:
1 - Enable Developer options and USB Debug:
Go to Settings > About Phone > Software Information click on "build number" several times until it appears that developer mode is enabled.
2 - Now go to Settings > Developer Options and click enable right at the top of the page and look for the USB Debugging option and enable it too.
3 - Connect your phone to the computer and if a window appears asking for permission, grant it (you will be granting permission for your computer to access your phone in developer mode. If it doesn't appear now, no problem, this window may appear later when we run the script, but it usually appears right here.
On your PC:
4 - Download the script:
ONE UI 4.1+: Debloat and optimize Galaxy S20 S21 AND S22 except S22U v2
ONE UI 5: Debloat and optimize Galaxy S20 S21 AND S22 for ONE UI 5
5 - Extract it and run the "debloat and optimize" file (perhaps at that time the aforementioned window will appear on the cell phone asking for permission).
The script will guide you asking for all possible options which are 10:
Remove Microsoft apps?(You can reinstall the app later from the playstore)[Y/N]?
Remove Netflix?(You can reinstall the app later from playstore)[Y/N]?
Remove Facebook?(You can reinstall the app later from playstore)[Y/N]?
Remove Google Apps?(You can reinstall the app later from playstore)[Y/N]?
Remove DEX?(You will no longer have the DEX function)[Y/N]?
Remove ANT?(If you don't know what it is, you can remove it without fear)[Y/N]?
Remove Bixby?(You will still have the bixby routines, but no longer the voice assistant)[Y/N]?
Remove Augmented Reality Functions from Camera?(You will no longer have AR Sticker in Camera)[Y/N]?
Apply adaptive brightness correction? (by disabling the camera light sensor, improving auto brightness response and increasing battery life)[Y/N]?
Enable Ram Plus extra options? (enable options to increase or disable Ram Plus in Settings, Device and Battery Support, Memory) [Y/N]?
6 - When it finishes, the phone will restart. All options can somehow be reversed by downloading the apps from the Play Store again, except for DEX, Bixby and Sticker AR mode, but which can be reversed with another script that I'm still building or resetting your device to factory defaults.
Any doubt I will be available
My personal options are: ONE UI 4 - Y for all except dex (because I use dex, if you won't use, you can safe remove)
ONE UI 5: Y for all except Dex
After the script you can safe reinstall some apps back like Facebook and Google from Playstore, but now this will comes without Samsung bloatware.
Edit1: the link are updated to a new version fixing one hand mode
Edit2: release of a version to apply on ONE UI5.
and finaly the link to rollback the script: Rebloat ONE UI 4.1+ and 5 (works on ONE UI 5 too)
Hey,
I tried running the script as admin, but kept getting several "cannot find path specified" errors. it also was unable to bring up the detected device and firmware. I have a Japanese carrier S21 with the model number SC-51B running OneUI 4.1. Is there anything I could do to get this to work?
Thanks
Snylon said:
Hey,
I tried running the script as admin, but kept getting several "cannot find path specified" errors. it also was unable to bring up the detected device and firmware. I have a Japanese carrier S21 with the model number SC-51B running OneUI 4.1. Is there anything I could do to get this to work?
View attachment 5783255
Thanks
Click to expand...
Click to collapse
Snylon said:
Hey,
I tried running the script as admin, but kept getting several "cannot find path specified" errors. it also was unable to bring up the detected device and firmware. I have a Japanese carrier S21 with the model number SC-51B running OneUI 4.1. Is there anything I could do to get this to work?
View attachment 5783255
Thanks
Click to expand...
Click to collapse
Try run as non admin. Some users are reporting this issue when try run as admin.
When I run it as non admin, it enables the adb server but gets stuck on waiting for the phone.
Edit: It works now and I'm not too sure what I did to get it work lol
You should make it a Powershell script by default. I've been using .bat files in Powershell without issue for years.
You should mention it will uninstall Samsung Internet Browser. Unfortunately, was my default browser and i lost everything...
Thank you for this. Since the Android 13 OneUI 5 update, my standby battery life has been horrible. This did help a little and it definitely slimmed down on the software and excessive services which is even better.
Referencing what @bosaad21 stated, the script removed more than what was in the description. It removed quite a bit of the Samsung ware such as Internet, Samsung Accounts, etc on my phone, but I may have done something different and am not aware. Personally, I loved the fact that it stripped out so much stuff. I like a slim OS. I only have this phone because of BOGO.
For those of you wanting to try this, if you know what you are doing, you can modify the scripts that come with the download to prevent unintallation of specific items. However, like mentioned by OP most things can be reinstalled. This is a great option if you are starting fresh after a factory reset.
Is there anyway somebody could provide a more comprehensive list of what software is removed? I would really like to use the script and debloat, and I'm more than willing to part with some Samsung applications (like Samsung Internet, Samsung Pay, Samsung Pass, Samsung Free, Galaxy Store, etc.), but I am not on a factory reset device so I have some reservations. I do use things like Samsung Biometrics (fingerprint scanner) and Samsung Accounts as well as the default system's Phone, Contacts, and Voicemail apps, so I'm not sure I could part with them too hastily. Though I have made the switch to non-Samsung Browser, Email, SMS, Password Manager, File Manager, Keyboard, Notes, Music, and Gallery so I may be overthinking. I'd greatly appreciate any advice or more detailed information!
danilomazzaro said:
View attachment 5782465
***Works on ONE UI 4, 4.1 and 5 for all versions of s20, s21 and s22 (except for S22U)***
Due to some bad optimizations by Samsung , we are facing a lot of battery issues and a couple of random lags. With this script, I have got something between 7h and 9h of SOT.
In a few tests in Brasil, the users are getting a much better battery life. This script have some things like:
=> Removing items that can sometimes be undesirable according to the user, so you can select wich services will be disabled, such as bixby, AR camera features, microsoft apps, google apps (not the main like gmail and photos, but the secondary ones like bookmar provider, docs), ANT (there are people who don't even know what it is so this is usually useless here in Brazil).
=> Disable the Camera Light Sensor which is a bug on One UI 4.0 and 4.1, galaxy S have a light sensor to calculate the automatic brightness, however, since One UI 4.0 it ends up using the front camera for this, annihilating the screen time of the device. When camera light sensor are disbled, the device will properly use the dedicated light sensor and the automatic brightness be more responsive and battery friendly.
=> Enable the option to disable Ram Plus, where the 0GB option will appear in the options above 2GB, which you can disable if you want (Recomended only on ONE UI 4, because One UI5 comes with disable RAM Plus option available) .
Throughout the script, it will ask which item you want to be removed, so if you use DEX, just answer "n" when it asks if you want to remove it.
Resetting the device to factory defaults will completely reverse everything the script does, so it is not permanent and does not void your device's warranty. If you want, there are a Revert back script too.
The procedure is simple:
In your cellphone:
1 - Enable Developer options and USB Debug:
Go to Settings > About Phone > Software Information click on "build number" several times until it appears that developer mode is enabled.
2 - Now go to Settings > Developer Options and click enable right at the top of the page and look for the USB Debugging option and enable it too.
3 - Connect your phone to the computer and if a window appears asking for permission, grant it (you will be granting permission for your computer to access your phone in developer mode. If it doesn't appear now, no problem, this window may appear later when we run the script, but it usually appears right here.
On your PC:
4 - Download the script:
ONE UI 4.1+: Debloat and optimize Galaxy S20 S21 AND S22 except S22U v2
ONE UI 5: Debloat and optimize Galaxy S20 S21 AND S22 for ONE UI 5
5 - Extract it and run the "debloat and optimize" file (perhaps at that time the aforementioned window will appear on the cell phone asking for permission).
The script will guide you asking for all possible options which are 10:
Remove Microsoft apps?(You can reinstall the app later from the playstore)[Y/N]?
Remove Netflix?(You can reinstall the app later from playstore)[Y/N]?
Remove Facebook?(You can reinstall the app later from playstore)[Y/N]?
Remove Google Apps?(You can reinstall the app later from playstore)[Y/N]?
Remove DEX?(You will no longer have the DEX function)[Y/N]?
Remove ANT?(If you don't know what it is, you can remove it without fear)[Y/N]?
Remove Bixby?(You will still have the bixby routines, but no longer the voice assistant)[Y/N]?
Remove Augmented Reality Functions from Camera?(You will no longer have AR Sticker in Camera)[Y/N]?
Apply adaptive brightness correction? (by disabling the camera light sensor, improving auto brightness response and increasing battery life)[Y/N]?
Enable Ram Plus extra options? (enable options to increase or disable Ram Plus in Settings, Device and Battery Support, Memory) [Y/N]?
6 - When it finishes, the phone will restart. All options can somehow be reversed by downloading the apps from the Play Store again, except for DEX, Bixby and Sticker AR mode, but which can be reversed with another script that I'm still building or resetting your device to factory defaults.
Any doubt I will be available
My personal options are: ONE UI 4 - Y for all except dex (because I use dex, if you won't use, you can safe remove)
ONE UI 5: Y for all except Dex
After the script you can safe reinstall some apps back like Facebook and Google from Playstore, but now this will comes without Samsung bloatware.
Edit1: the link are updated to a new version fixing one hand mode
Edit2: release of a version to apply on ONE UI5.
and finaly the link to rollback the script: Rebloat ONE UI 4.1+ and 5 (works on ONE UI 5 too)
Click to expand...
Click to collapse
danilomazzaro said:
View attachment 5782465
***Works on ONE UI 4, 4.1 and 5 for all versions of s20, s21 and s22 (except for S22U)***
Due to some bad optimizations by Samsung , we are facing a lot of battery issues and a couple of random lags. With this script, I have got something between 7h and 9h of SOT.
In a few tests in Brasil, the users are getting a much better battery life. This script have some things like:
=> Removing items that can sometimes be undesirable according to the user, so you can select wich services will be disabled, such as bixby, AR camera features, microsoft apps, google apps (not the main like gmail and photos, but the secondary ones like bookmar provider, docs), ANT (there are people who don't even know what it is so this is usually useless here in Brazil).
=> Disable the Camera Light Sensor which is a bug on One UI 4.0 and 4.1, galaxy S have a light sensor to calculate the automatic brightness, however, since One UI 4.0 it ends up using the front camera for this, annihilating the screen time of the device. When camera light sensor are disbled, the device will properly use the dedicated light sensor and the automatic brightness be more responsive and battery friendly.
=> Enable the option to disable Ram Plus, where the 0GB option will appear in the options above 2GB, which you can disable if you want (Recomended only on ONE UI 4, because One UI5 comes with disable RAM Plus option available) .
Throughout the script, it will ask which item you want to be removed, so if you use DEX, just answer "n" when it asks if you want to remove it.
Resetting the device to factory defaults will completely reverse everything the script does, so it is not permanent and does not void your device's warranty. If you want, there are a Revert back script too.
The procedure is simple:
In your cellphone:
1 - Enable Developer options and USB Debug:
Go to Settings > About Phone > Software Information click on "build number" several times until it appears that developer mode is enabled.
2 - Now go to Settings > Developer Options and click enable right at the top of the page and look for the USB Debugging option and enable it too.
3 - Connect your phone to the computer and if a window appears asking for permission, grant it (you will be granting permission for your computer to access your phone in developer mode. If it doesn't appear now, no problem, this window may appear later when we run the script, but it usually appears right here.
On your PC:
4 - Download the script:
ONE UI 4.1+: Debloat and optimize Galaxy S20 S21 AND S22 except S22U v2
ONE UI 5: Debloat and optimize Galaxy S20 S21 AND S22 for ONE UI 5
5 - Extract it and run the "debloat and optimize" file (perhaps at that time the aforementioned window will appear on the cell phone asking for permission).
The script will guide you asking for all possible options which are 10:
Remove Microsoft apps?(You can reinstall the app later from the playstore)[Y/N]?
Remove Netflix?(You can reinstall the app later from playstore)[Y/N]?
Remove Facebook?(You can reinstall the app later from playstore)[Y/N]?
Remove Google Apps?(You can reinstall the app later from playstore)[Y/N]?
Remove DEX?(You will no longer have the DEX function)[Y/N]?
Remove ANT?(If you don't know what it is, you can remove it without fear)[Y/N]?
Remove Bixby?(You will still have the bixby routines, but no longer the voice assistant)[Y/N]?
Remove Augmented Reality Functions from Camera?(You will no longer have AR Sticker in Camera)[Y/N]?
Apply adaptive brightness correction? (by disabling the camera light sensor, improving auto brightness response and increasing battery life)[Y/N]?
Enable Ram Plus extra options? (enable options to increase or disable Ram Plus in Settings, Device and Battery Support, Memory) [Y/N]?
6 - When it finishes, the phone will restart. All options can somehow be reversed by downloading the apps from the Play Store again, except for DEX, Bixby and Sticker AR mode, but which can be reversed with another script that I'm still building or resetting your device to factory defaults.
Any doubt I will be available
My personal options are: ONE UI 4 - Y for all except dex (because I use dex, if you won't use, you can safe remove)
ONE UI 5: Y for all except Dex
After the script you can safe reinstall some apps back like Facebook and Google from Playstore, but now this will comes without Samsung bloatware.
Edit1: the link are updated to a new version fixing one hand mode
Edit2: release of a version to apply on ONE UI5.
and finaly the link to rollback the script: Rebloat ONE UI 4.1+ and 5 (works on ONE UI 5 too)
Click to expand...
Click to collapse
FINALLY! A script that's intuitive and fool-proof. Thank you very much. Phone is already snappier and cleaner. <thumbs up>
Thanks for this, dev It has worked a treat on my S21 5G
Hello my samsung galaxy s21 is one ui 5.1 can you use script ?
My s21 didn't have any debloat. Only the settings that I tested and adjusted myself are used there. SOT made 100% on WiFi. I think that it is still possible to squeeze out of it at least 10h and 30min SOT
#Edit: The refresh rate is set to "60Hz standard" + auto brightness at all times. The energy saving is turned on at the level of 30% (after about 2 months of using the phone since my last big changes in actuall configuration... I'm propably raise only ther value at 40%). Since I managed to master very high power consumption this device with the screen off - the phone for 10 hours lying on the cabinet and not even touched at all (had done 94% of the time in Deep Sleep mode) - For these 10 hours my S21 drained the battery about 20%! Now The current consumption in DS mode ranges from 0.4% / h to 0.7% / h.
And something unrealible happened in this equipment.... Which has such a small battery, relative to how much energy it consumes...
Warning! - Im started to charge S21 every two days and at this have 3-4h SOT.
Does it work on one ui 5.1? Thk u
linternaute said:
Does it work on one ui 5.1? Thk u
Click to expand...
Click to collapse
Yes, it works well on one UI 5.1
wlodar1234 said:
My s21 didn't have any debloat. Only the settings that I tested and adjusted myself are used there. SOT made 100% on WiFi. I think that it is still possible to squeeze out of it at least 10h and 30min SOT
#Edit: The refresh rate is set to "60Hz standard" + auto brightness at all times. The energy saving is turned on at the level of 30% (after about 2 months of using the phone since my last big changes in actuall configuration... I'm propably raise only ther value at 40%). Since I managed to master very high power consumption this device with the screen off - the phone for 10 hours lying on the cabinet and not even touched at all (had done 94% of the time in Deep Sleep mode) - For these 10 hours my S21 drained the battery about 20%! Now The current consumption in DS mode ranges from 0.4% / h to 0.7% / h.
And something unrealible happened in this equipment.... Which has such a small battery, relative to how much energy it consumes...
Warning! - Im started to charge S21 every two days and at this have 3-4h SOT.
Click to expand...
Click to collapse
Advanced battery saving?
tinko975 said:
Advanced battery saving?
Click to expand...
Click to collapse
Adaptive power saving I turned off. For me, this feature lived its life and eventually I stopped using it completely. I only set the rule to enable energy saving from 40%, and at night - from 23:00 to 5:00 in the morning.
Does it works on s21+ exynos ?
vonPera said:
Does it works on s21+ exynos ?
Click to expand...
Click to collapse
Yes, it works. I'm using on S21 Exynos too.
But im using S21 plus (G996B), does it work as well or it could do something wrong ?
danilomazzaro said:
Yes, it works. I'm using on S21 Exynos too.
Click to expand...
Click to collapse
Hi, I tried your script but I get "Not installed or already uninstalled!" for every app... Do you have an idea why it happens?