yashsingh1/xdaforums huggingface dataset:
[General Topics] AndroidWars:
Sure. I didnt use any Hamids commands this time.

1 - I restored everything and I did reset all settings.

2 - From recovery mode wipe cache partition and repair apps

3 - I did all settings manually dark mode, turn off location google services etc. one by one

This video have best SOT settings

4 - Debloated with ADB App Control

5 - I used from %100 until dies battery calibrated.

Not yet but I think Sumenn killing background restricted apps and increasing SOT. Uncalibrated lux sensor appeared today with all day 4G. All day wifi gone. I think not important this thing. But I'm glad from this SOT.
[General Topics] sirlexicon:
Does anybody experience a problem when signing in to Samsung Health? I didn't delete / disable it, but it wouldn't let me past the sign in page (nothing happens after I press the button)
[General Topics] InfamousMykol:
Could you pls send also global, secure and system settings pls? Thank you very much
[General Topics] Hamid Chikh:
That video reads what's in OP
[General Topics] AndroidWars:
I dont have this files. I did all settings manually. Youtube video have all my settings.
[General Topics] Hamid Chikh:
New Settings Tweaks​

- There's a new permission under special access, which has now to be turned off manually. I'll look into finding a way of doing it using ADB.

- There's a setting now that is enabled automatically OOB, Trust Agents, which in the past wasn't, so i added it to OP under Settings.
[General Topics] serene_sky:
I can't find OOB part in OP like you said.

Or it was "Disable Ultra Wide-Band Roaming"?
[General Topics] Hamid Chikh:
It's trust agents
[General Topics] Hamid Chikh:
How's the new fix treating you ? It's amazing to finally feel the premium phone you paid for yeah ?
[General Topics] OlehDokuka:
Do you mean disabling every app in 'Turn screen on'?
[General Topics] RealSalva:
Hello, I see this communication is active. What do u guys recommend, an S10 Exynos for Better battery ? Which Preset for Daily Driver ?
[General Topics] detlaff:
Guys I wanted to know what's the best setting for ram plus for system stability and battery life? I am currently using s21 FE (8,128 GB) variant. I just updated to oneui 5 and now disable ram plus option is available. I used to have 1 gb for ram plus earlier on one ui 4. Is it still the best option?
[General Topics] Kris_b1104:
Disable it.
[General Topics] Hamid Chikh:
I'd have said "search the thread", we don't serve easy answers here
[General Topics] Hamid Chikh:
This phone is getting me crazy. 85-60 in one hour, 45m screen and 15 standby.

I'm really thinking of going back to pixel.
[General Topics] DannySchaukens1981:
Nooooo, what did you do?

I just did a full fact. reset with your new settings... Hope for the best!
[General Topics] Kris_b1104:
For me, when Battery Protect is on, I get about an hour less SOT compared to when I start from 100%, both going down to 20%. I've learned to live with it, I only charge to 100% when I know I'll be leaving the house.

Starting from 100% gives you a more accurate reading/depiction of battery usage. At least, from my personal findings playing with the S22 Ultra.
[General Topics] leemlller:
What is for exactly?

Also its possible to set max Refresh rate to 90?

BTW: at first calibration cycle. i start YT video at 15% and got more than 2 hrs before phone shutdowned. S22+ Snap
[General Topics] OlehDokuka:
Same here with the latest preset. Not sure but Google play service started draining battary. Although I'm not sure, it was like that for the first few hours
[General Topics] serene_sky:
after you restore and re-uninstall a large of apps, google play services always run hard in background
[General Topics] sapanag:
just do the gms drain fix as states in OP
[General Topics] InfamousMykol:
1 hour in wifi, the rest all in 4g, a little even with GPS active. It's very good, I know it could do better (Google play services consumed a lot but I recently made the fix for the GMs' drain), but it's very impressive, all in wifi it could do even more. 280 (or more) apps debloated, adb commands. This is the best thread on xda🥰
[General Topics] AndroidWars:
Nice standby and SOT

All day 4g today my results %100-%50 almost 4 hour SOT nice for me S10+ Exynos
[General Topics] kevinco1:
A good rule of thumb is not to run benchmarks or worry about SOT until a few days after you've gone through this process. Everything, including play services needs some time to settle down. After that is when you can get more accurate stats
[General Topics] InfamousMykol:
Going to calibrate battery..😉
[General Topics] leemlller:
Got 46 hrs of normal usage (incl 4:52 hr of SoT) after debloating and second battery discharge cycle.

at 15% [1] i run YT video on 50% brightness, at 8% [2] got a 47 min call after i again run YT video till shutdown [3].

Also attach my App Control Preset based on first L1 Hamid's version but less aggressive thru some Samsung Apps i used.
[General Topics] InfamousMykol:
Sot?
[General Topics] Axiomkid:
I'm going to say everything was going well before the Android 13 update. Their is definitely an issue with the new software, not only am I noticing a large amount of battery drainage others are having this issue as well on the Samsung S21 Ultra SD.
[General Topics] OktaviAnabelle:
Note that with Samsung Internet Browser installed User manual will appear in the Settings , even after entering the command (online_manual_url 0) it will remain in the Settings , some people had this issue before , this has to be the culprit .
[General Topics] skiku:
Hi,

Awsome guide, thank you so much for your work!

Btw, did you change any setting regarding the refresh rate?
[General Topics] serene_sky:
so you can have 20 hours continuous on screen?

it's unbelievable if you use 120hz (same s21+ like me)
[General Topics] mcdotcom:
Hello,

i cant find it here in the thread, which apps must i restore for ota updates? i have two apps found .. but it doesnt show in the settings.

these two are restored

com.samsung.android.app.updatecenter

android.autoinstalls.config.samsung

thank you for help

edit found it:

software update - com.wssyncmldm

software update - com.sec.android.soagent

systemupdate - com.sec.android.systemupdate
[General Topics] mcdotcom:
Hello,

great guide! Thank you for sharing with the xda community! :)
[General Topics] leemlller:
read carefully it in first line =)
[General Topics] RealSalva:
Please someone test this preset and tell me, if i can use it as Daily Driver on Galaxy S10+. 🙏
[General Topics] nokia_16:
preset differs model by model.. JUs download the preset..load in it app control and see whether selected apps are used by you or not and then try. Its basically user choice
[General Topics] Hamid Chikh:
False alarm, i forgot sem_low_heat_mode turned on for testing purposes
[General Topics] WNijhof:
Hi all, Thank you for this great thread. I really enjoy my boosted S22.

The function I missed after debloating is the Bedtime and focus mode. I thought these were part of the digital wellbeing app. But they are part of the Modes and Routines app.

Keep package com.samsung.android.app.routines

You can still delete digital wellbeing.

Maybe people wanted to know this.
[General Topics] Hamid Chikh:
That's one hell of an analysis you did there, high five! Great job, it's a mix of my tweaks and your own. I'll take the time to read and even edit OP if anything is worth noting there.
[General Topics] Hamid Chikh:
Restore com.wssyncmldmc & com.sec.android.soagent. nothing else is needed for software updates.
[General Topics] Hamid Chikh:
Thank you Very much for your input, thoee were indeed asked before. And you're welcome, enjoy your new phone!
[General Topics] InfamousMykol:
Isn't needed personalization package for bedtime?
[General Topics] rodken:
Theoretically, you can't delete it, but you can stop it from accessing all the data it does to gather statistics.

Enter Settings->Digital wellbeing->Tap 3 dots in top right->Tap turn off usage access and go from there. At that point, can stop using it altogether.

Uninstalling Digital Well Being from Play Store just uninstalls updates to the app, not the entire app.

Arguably, the app can't be uninstalled or disabled. The only available option is Force Stop which doesn't do anything anyway.

One can deny access to notifications and usage data. That in itself essentially disables Digital Wellbeing, and it won't bother you unless you fire it back up it and set Digital Wellbeing up.

Spoiler content hidden.
[General Topics] Kris_b1104:
Pure genius. I hope the XDA gods protect you at all costs.
[General Topics] WNijhof:
Oh okay, but you do mean it cannot be uninstalled when using the routines. I had it uninstalled for weeks now without problems. It is also in the presets.
[General Topics] Reicoler:
Btw hamid did you find the reason and the solution to the bug that happens after you update your phone after debloating without rebloating it?
[General Topics] rodken:
I do not know which command you used, but bear in mind that utilization of -k means that you would like to keep the app data and cached data.

From a geeky standpoint, it’s better to use the following command:

adb shell pm uninstall –user 0 <name_of_package>

Since it is a system app, it can’t be fully uninstalled without root, but only uninstalled per user (hence the “user 0”)

Therefore, when you uninstall any app with the pm uninstall –user 0 command, you can easily reinstall them with pm enable
[General Topics] Hamid Chikh:
I think someone already found the culprit, not sure what package is responsible, i still restore everything before updating. It's safer.
[General Topics] Hamid Chikh:
That's for longpress timeout, like clearly stated. Refresh rate only supports 24-48-60-96-120hz, if you don't have adaptive RR like S20, you can limit it to 96hz which helps A LOT
[General Topics] Hamid Chikh:
What do you guys think of this ?
[General Topics] Hamid Chikh:
UPDATED OP​

Thanks to @OktaviAnabelle , i added some settings i forgot to mention before, added some stuff from her config and edited other settings.
[General Topics] Hamid Chikh:
I'm testing some of her ADB commands too, if everything is good, i might add them to my personal ADB config and update ADB commands post

adb shell settings put system dim_screen 1
adb shell settings put global boot_count 0
adb shell settings put global Phenotype_boot_count 0
adb shell settings put global low_power_back_data_off 1
adb shell settings put global sem_power_mode_refresh_rate 0,0,-1,0
adb shell settings put global sem_power_mode_refresh_rate_cover 0,0,-1,0

I also reset these to clean test the new ADB settings

adb shell settings put system min_refresh_rate 60.0
adb shell settings put global enhanced_processing 0
adb shell settings put global restricted_device_performance 1,1
adb shell settings put global sem_enhanced_cpu_responsiveness 0
[General Topics] rodken:
Some if not many Android users succumb to the common pitfall(s) to not let any and all changes to the system to adjust over a period of time whether a device is rooted or not rooted.

From the early days of Android Ice Cream Sandwich [Android 4.0], the norm was to usually allow 3 - 5 days to determine if an adjustment and/or change to the system is pure snake oil.

Spoiler content hidden.
[General Topics] Hamid Chikh:
Software Update (Exynos S22)​

What to expect from latest BVKC update for SGS22 ? It only update CP and CSC, left the same AP and BL as previous BVKB update.
[General Topics] simoyellow27:
Is it mandatory to reinstall all the apps before updating? Because I've reinstalled everything and the phone is slower, laggy and drains more battery. I've read through the thread that it is advisable to do it, but I would like to know more and what happens if I don't reinstall everything
[General Topics] Hamid Chikh:
Restore everything, update, then debloat again. It's Very simple. You don't want to ? Cool, go ahead, AT YOUR OWN RISK.
[General Topics] simoyellow27:
Chill mate. I was just asking what are the problems if I don't do so
[General Topics] Hamid Chikh:
No idea, i never tried
[General Topics] InfamousMykol:
Some apps will have crash, expecially settings and you can't turn on wifi, 4g, adb, can't swipe status bar, and settings cannot be open. These are the problems in S22 and S22+ caused (sometimes) if u not restore apps, then you are forced to restore and wipe all data.
[General Topics] simoyellow27:
Thanks for the very precise information
[General Topics] Axiomkid:
Has anyone with an SD S21 Ultra figured out what's causing major battery drain with Android 13 update. I spoke to about 3 people who are all experiencing severe battery drainage plus minor overheating, not everyone else around me does what we do here on XDA and trick out their phone with optimizations. Everyone I know is on plain stock, with stock settings and no ADB optimizations. I on the other hand optimize my phone, did this again waited till it settled and definitely not much changed. My buddy usually has 59% by the end of the day, but now he's seeing 39% by the end of the day. It sounds too me like this is more of an S21 issue not an S22.
[General Topics] rodken:
There is a golden rule that stems back from the early days of the Galaxy S6 [Android 5.0] where it is was important to wipe (system) cache partition and/or wipe data/factory reset from the recovery menu after any major system update to avoid all sorts of potential problems.

-- Whether or not the old adage applies to devices with today's specs running newer versions of Android remains to be seen.

-- The jury is out on whether Android 13 has a on-going battery drain bug.

-- Some Pixel 6 users were griping about a battery drain issue after migrating to Android 13.

-- The blame is supposedly being placed on "certain launcher background activities".
[General Topics] Axiomkid:
I feel like sometimes this is all intentional to upgrade our phones. 😕
[General Topics] Oyunbus:
I disabled gos with the method in the video.I gave the app manager adb authorization with wireless debugging without pc. I deleted the apps found OP

App Manager - Android package manager | F-Droid - Free and Open Source Android App Repository

A full-featured open source package manager for android.

f-droid.org
[General Topics] rodken:
Smartphone manufactures utilize batteries that are designed for a 400-500 recharge cycle … this means the battery is rated for 400-500 full recharges before its capacity is reduced to 80% - more recharges = less capacity. These manufacturers have a method of controlling how long a device will last - and could be the reason for sealed phones.

-- If folks could replace their own smartphone batteries, older devices would still be in most people hands today.

-- Replacing one's own smartphone battery might interfere with how high intense app(s) behave, e.g., games, etc.

-- Some would argue that waterproofing devices is more of a marketing tactic than a benefit.
[General Topics] @KraxZher:
the new android 13 update has killed my battery life on my s22 from 9 hours to 6 and there are bugs that didn't exist before :/
[General Topics] 16_ozz:
This is not in English.
[General Topics] Kris_b1104:
Did you go to recovery and wipe cache partition then repair apps? Then use Galaxy App Booster from Good Guardians.
[General Topics] Axiomkid:
This may seem like a dumb question. Anyone know why I can't access the data folder? Why is this a problem all of a sudden. No 3rd party apps? I'm trying to pull files I downloaded from zedge from the data folder but the F*(* I can't get in it won't give me access wtf. And screw you Samsung how are you protecting my privacy by disabling me access to my data folder? Android 13 is very fishy.
[General Topics] Djsemp89:
Restore download manager from uninstall list, I believe there's two packages search download in uninstall section you'll find them.
[General Topics] @KraxZher:
Ok I just did it for the second time to see if it fixes anything, this day the battery was even worse 5 hours in fairly light tasks I'll wait about 4 days to see if it improves
[General Topics] meternich:
Hi. I took the risk of updating without restoring debloated apps. Now the settings on my s21fe wont open. What the procedure to repair that? Factory reset?
[General Topics] KKYASIR:
restore all apps , then apply preset again
[General Topics] Hamid Chikh:
ADB AppControl also lets you disable apps.
[General Topics] Hamid Chikh:
Factory reset
[General Topics] Hamid Chikh:
They won't be able to, if they can't access settings, they can't grant ADB authorisation
[General Topics] InfamousMykol:
Yes, happened on my brother' S22, if settings doesn't open there is nothing else u can do, onlye reset.
[General Topics] crucknova:
Does LCD Burn-in Wiper actually works? I have a screen burn of the navigation bar on my s10+, seeing if i can fix it!
[General Topics] Axiomkid:
I never disabled or removed download manager. This has nothing to do with being able to access the android data folder. Samsung has a restriction keeping users from getting into the data folder as it's now a privacy issue. I want to know how to get around this privacy block they have now
[General Topics] skiku:
Maybe with the app SetEdit, you can give adb permissions without the Settings app. Just try to change the highlighted setting on my SS on the Global page. And then with ADB enabled, you can try to restore all apps
[General Topics] sapanag:
wow thats so much of detailed analysis.

thanks for this
[General Topics] sapanag:
Please also share your disabled presents

btw i see tht SDHMS uninstalled. then i guess adaptive battery doesnt work and we cannot put apps in deep sleep and etc

and i see smartfpsadjuster is also uninstalled but u wrote tht it is set to unrestricted

confused😵
[General Topics] Bill720:
If I can put my conspiracy theory hat on for a moment as well, I think that the main way that they're forcing people's hands now is by making it difficult to compile software (both Android and iOS) that targets older versions of the operating system, and, on top of that, making it difficult for users to locate a version that is compatible with their device's operating system on the Market and App Store. The other side of it is that while they will claim that "One UI" gets all of these updates for years to come, the versions of core software/features (notably camera) seem to continue to be device-specific.

That's fair. I will give them credit for the small things that Samsung has gifted users with to offset that, however, such as a higher-than-necessary 16 watt hour capacity battery pack, and, in newer versions of the stock software, the ability to halt charging at 85%. Time will tell whether the latter actually ends up being impactful, but, on paper, it should be. Whether or not the non-user-replaceable battery design is actually necessary for the water resistance, there is no doubt that this sealing seems to have the inherent drawback of slightly muffling speaker output and microphone input compared to non IP68-certified handhelds.

Which of the One UI tweaks are you thinking might've caused that?

Most higher-end Samsung devices don't have an LCD, so any app designed to combat the effects of temporary LCD image retention won't have any impact (nor will any of the tweaks mentioned in the OP, for that matter). The only viable solution will be to counter-wear by displaying an exact inverse of what was burned in such that the under-worn areas of the screen will eventually come to look the same as those which were over-worn.

@Axiomkid, which of the One UI Tweaks are you using to try and achieve that?
[General Topics] Hamid Chikh:
Please test and report back, don't hesitate to give it 2 or 3 more goes just to make sure. Or leave it on for the whole night
[General Topics] Hamid Chikh:
SDHMS is the adaptive battery equivalent for Samsung, so no, uninstalling SDHMS doesn't affect Adaptive Battery
[General Topics] Hamid Chikh:
Quit the honor to have Staff members interested on my Thread
[General Topics] Hamid Chikh:
TEST PRESET​

I have been running this for a couple of days, and i kind of like it. Otherwise, i just made peace with the fact this is the limit this phone can put out in terms of battery.
[General Topics] 16_ozz:
Can you please tell us what these do before changing. Such as low power back data and refresh rates
[General Topics] Oyunbus:
App manager can be used for those who do not have a computer. good luck with your work. Thank you.
[General Topics] Djsemp89:
Ok my bad all the best with it.
[General Topics] @KraxZher:
OUse the settings here

Use the settings here, check if something had changed but it hasn't, even the phone doesn't get hot to know if any app consumes more battery, it seems that it was an intentional update,To force me to buy the s23 The bugs are bothering me a lot, for example the notifications go to the top of the screen or when I download a photo it stops appearing in the gallery to send it by WhatsApp.
[General Topics] Haruu1416:
I'm definitely in awe of it.

Thanks man for sharing your strict preference with us. And I will make a point of testing it along with the op update (and to think that going two weeks without a cell phone, things here may have changed l QUITE) Well thanks again soldier.
[General Topics] dominicstg2:
will test and report back only things ive unticked are calendar, android auto, volte and vowifi and samsung pay and pass related stuff
[General Topics] Haruu1416:
Thanks @OktaviAnabelle for your tips. i had sot excellent not to mention i've been playing like gta sa modded and lol wr.

Well... What's left for me is to fix performance issues regarding disabled and uninstalled apps.

Have a good day everyone.
[General Topics] WindR:
I don't carry a money or a bank card, I always pay with my phone.
[General Topics] Hamid Chikh:
##### LAST EDITED: 27-02-2021 ##### PURE PRESET V2

- Managed some apps.

Waiting for your feedback

*REVIEW APPS BEFORE APPLYING PRESETS

*APPLY ALL 3 OF THE NEW PRESETS

*REBOOT INTO RECOVERY, CLEAR CACHE PARTITION 3 TIMES, THEN REPAIR APPS.
[General Topics] nocio:
So far so good. I applied your presets 1 hour ago and i didnt notice and problems with it :)
[General Topics] Hamid Chikh:
SecureElementApplication is confirmed safe to uninstall, I'll add it to the next preset update. You can go ahead and uninstall it early untill next update.

It seems to make boot up faster, might be related to some security checks at startup.
[General Topics] Hamid Chikh:
Great! Enjoy your smooth device. Forgot to add an app to deleted tho, check last post
[General Topics] marios199546:
With secure element removed expect some nfc transactions to fail
[General Topics] Hamid Chikh:
Thanks for the info, I personally don't use NFC, I'm planning to add it to deleted in the next update. Keep an eye on that
[General Topics] Hamid Chikh:
Still testing, bit nothing on the horizon.
[General Topics] Hamid Chikh:
##### LAST EDITED: 01-03-2021 ##### PURE PRESET V3

- Deleted more apps

Waiting for your feedback

Deleted: 317

Kept: 101

Disabled: 1

*REVIEW APPS BEFORE APPLYING PRESETS

*APPLY ALL 3 OF THE NEW PRESETS

*REBOOT INTO RECOVERY, CLEAR CACHE PARTITION 3 TIMES, THEN REPAIR APPS.
[General Topics] Hamid Chikh:
We've come a long way, guys.
[General Topics] moxy93:
do you recommend some presets for z flip 3, to improve autonomy?
[General Topics] nocio:
Did anyone here got February security patch?
[General Topics] Hamid Chikh:
Absolutely, these preset configurations are compatible with Z flip series
[General Topics] Hamid Chikh:
Nothing here, still on BULF
[General Topics] Hamid Chikh:
They're still testing, might go directly to march update
[General Topics] Furious Froyo:
I'm on February, BVA6.
[General Topics] Kris_b1104:
Will this work for AT&T S22 Ultra Snapdragon?
[General Topics] Hamid Chikh:
Of course, it works on all variants.
[General Topics] Hamid Chikh:
It seems some got the update, and some will get it bundled with OneUI 4.1 and March security update