yashsingh1/xdaforums huggingface dataset:
[General Topics] Hamid Chikh:
Try all these ones:

Fix General Performance

Fix OneUI Lag

Fix Apps Lag

Fix Slow App Launch

Remove Game Optimizing Service (GOS)

Custom Animation Scale

Disable Gestures

Disable Adaptive Battery

Enable Multicore Packet Scheduler

Processing Speed Hack (Unlocked by Kris_b1104)

Disable Performance Limit
[General Topics] Dan_382:
Will try :) thanks
[General Topics] paul222008:
Just set those commands and the 96hz mod will work as it is?

No need for this command in the OP?

edit: I applied it in my S22 but it set to High in my settings
[General Topics] paul222008:
Ah yes, that's it, When my S10e was on OneUI 3.1 and I didn't discover this thread yet. I used that app!

For reference read this here.
[General Topics] nokia_16:
Any way to to stop Google play service battery drain in s22 Ultra. Tried all as per post ..but unable to stop play service drain....!!
[General Topics] tsiharry:
Yeah it drains a lot and there is no fix atm.
[General Topics] paul222008:
did you apply anything or just adb shell settings get secure refresh_rate_mode 2 ?
[General Topics] NozGojira:
found something, when were goin to WQHD display refresh rate cant set at 96hz it will automatically go down at 60hz. will fo back at 96hz when you return it on FHD display
[General Topics] Hamid Chikh:
That's hardware limit for S20
[General Topics] Hamid Chikh:
##### LAST EDITED: 22-01-2021 ##### Features UPDATE

- DELETED Samsung Phone app, replace it with Google Phone app (HD Call).

- DELETED Samsung Messages, replace it with Google messages (RCS features).

- Restored some system apps for network stability.

We're now at:

- 249 Deleted apps

- 2 Disabled apps (uninstalling these will break apps.)

- 161 Kept system apps

PLEASE, MAKE SURE TO APPLY ALL 3 PRESETS TO RESTORE APPS.

ONCE DONE, REBOOT INTO RECOVERY THEN CLEAR CACHE PARTITION AND REPAIR APPS.
[General Topics] Hamid Chikh:
Thinking about deleting "SmartFPSadjuster" again... You guys tell me how's your experience since latest update.
[General Topics] NozGojira:
Afair before im using this app called galaxymaxhz which i can set WQHD at 96hz peak refresh rate and 60hz a minimum. But now trough adb cannot set it at 96. Let me check that app again
[General Topics] NozGojira:
What this doing on our phone?
[General Topics] Hamid Chikh:
Saves power by adjusting fps in games
[General Topics] Hamid Chikh:
I think 1080p @96hz is the best balance
[General Topics] NozGojira:
I restored but my minimum lowest still on 60hz 🤔 is that normal?
[General Topics] marios199546:
HD call and RCS work on samsung apps. You just removed apps for for this functionality like com.sec.epdg.
[General Topics] Hamid Chikh:
Yes i uninstalled it now it only works in games when you enable it in game tools
[General Topics] Hamid Chikh:
Thanks for the info, I didn't know it was that. Anyway i prefer Google ones.
[General Topics] Hamid Chikh:
##### LAST EDITED: 22-01-2021 ##### Features UPDATE

- DELETED SmartFPSadjuster.

We're now at:

- 249 Deleted apps

- 2 Disabled apps (uninstalling these will break apps.)

- 160 Kept system apps

ONCE DONE, REBOOT INTO RECOVERY THEN CLEAR CACHE PARTITION AND REPAIR APPS.
[General Topics] Hamid Chikh:
I personally noticed that S21 doesn't go south of 60hz, even tho it's advertised as 48Hz minimum, only in games, when you enable low fps mode in game tools. This video also demonstrates that in daily use, 48hz could never be achieved. So i decided to set our settings to 60hz instead, which reduces lags and eliminate drop frames.

3 - Limit refresh rate to 96hz (UPDATE)​

You can use the console tab in ADB AppControl:

- adb shell settings put system peak_refresh_rate 96.0 #sets high limit to 96hz

- adb shell settings put system min_refresh_rate 60.0 #sets low limit to 60hz
[General Topics] Ivixmax:
amazing job mate.Just perfect optimization.
[General Topics] bindassever:
Hi

Hi Hamid,

Thank you for your wonderful work.

I am having a problem in my phone. Before when I set the app into deep-sleep and battery restricted there was no any background usage. But this last two days, I am seeing background usage for the apps even when not used for the day. Is there any app that we accidentally deleted thats responsible for stopping apps to start in background.
[General Topics] Hamid Chikh:
Hey !

No, I didn't delete any app responsible of that.

I don't have that problem personally.

Keep in mind that "deep sleeping" apps don't killed off, they will eventually sync at some point if you have sync turned on.

Try to restore all apps completely, reboot, then apply the presets again.
[General Topics] Hamid Chikh:
You're welcome man, it's a real pleasure. I always do these kind of stuff, i thought I'd share it with the community this time around.

I also remember you being the first one to support and contribute to the thread, so thank you.
[General Topics] Ivixmax:
Yeah man.i always debloat my phones.i think we are near the perfection at this time jajjajaj
[General Topics] Hamid Chikh:
2.2- Eliminate GMS battery drain​

Go to settings, apps. Look for each of "Google Play Store", "Google Services Framework" & "Google Play Services"

- Clear data & cache

- Uninstall Updates

- Clear data & cache again

- Force Stop

- Reboot, then let them update and setup.

- Set them all to "restricted" battery mode, along with "Android System".

DON'T FORGET TO CLEAR CACHE PARTITION AND REPAIR APPS AFTER THIS OPTIMISATION.
[General Topics] kingrohan:
I have already tried everything, but its a bug in the firmware which cannot be fixed until Samsung rectify it.
[General Topics] Hamid Chikh:
It worked for me, i got 96hz adaptive
[General Topics] Hamid Chikh:
Updated OP now
[General Topics] Hamid Chikh:
Of course, all 3 of commands
[General Topics] paul222008:
your max set is 96hz right, what is your low hz set?

like this?
[General Topics] Hamid Chikh:
I set min to 1.0, since it'll always follow hardware limit. S21 goes down to 48hz so it'll stick to that even if you set it to 1
[General Topics] Hamid Chikh:
What phone is it ?
[General Topics] paul222008:
doesn't yours says high too or not? mine says high not adaptive
[General Topics] Hamid Chikh:
But does it work as adaptive ?
[General Topics] Hamid Chikh:
Should work the same, did you check if it worked with integrated fps counter ? setting high to 96 and low to 1 or 10 and adding the 3rd command for refresh rate mode ?
[General Topics] Hamid Chikh:
I can't even show you a screen recording since it locks screen at 60hz when recording
[General Topics] Hamid Chikh:
Great then, doesn't matter what it says
[General Topics] Hamid Chikh:
2 seems to be an older method of refresh rate changing, even the screen color changes with refresh rate. Kinda reminds me of Pixel 4's adaptive mode
[General Topics] J.2.J:
I know the OP states that you should restore all apps before doing a software update, however has anyone completed an update successfully with all apps disabled?
[General Topics] paul222008:
uhm yeah weirdly yes I sucessfully updated my s10e oneui3.1 to oneui4.0 using smartswtich desktop app to upgrade the system. without even realizing I debloated it before but gladly I didn't encountered no issue it works just fine as before when I was in 3.1 , Tho I didn't try it yet in my S22 but I guess it works the same way? I took the risk in s10e lol

but still not recommended, All was just I did after upgrading was clear cache and fix the app in recovery
[General Topics] J.2.J:
Thanks. I have debloated previously and completed a software update, however with this extended list and OP instructions I just wanted to confirm. I just received the OneUI 4.1 update. I will report back on whether it is successfully completed
[General Topics] RickyTr99:
In OneUI 3.1 I had "Suspend execution of Cached apps" enable but with OneUI 4.0 and 4.1 update this option isn't show in Dev Settings.

How I can check if it's still enable?

I have S20 FE 5G
[General Topics] mito450:
Sadly it didn't work. It's seriously just trying to install the wrong buds manager. I can control most of the stuff through the bluetooth menu of the buds for now at least till i find a fix for this annoyance. Thanks for the suggestion though
[General Topics] Hamid Chikh:
I successfully updated without any problems, but you can never know. I'll depend on what you have uninstalled, i recon someone had settings app crashing after the update, i advise you not to take any risk.
[General Topics] Hamid Chikh:
there are instructions in OP to check state of parameter
[General Topics] Hamid Chikh:
Some people aren't having any problems with buds even with full preset applied, some needed to restore "connectivity" stuff and "manager". Feel free to test things out and report back to help others
[General Topics] Lurien:
I believe it was "recommended apps"
[General Topics] Klaudas:
RAM Plus

Configurations (OneUI 4.1)​

- adb shell settings put global ram_expand_size_list 0,1,2,4,6,8,12,16

Reboot and set the size you want (0GB recommended).

Sorry for dumb question but why 0gb is recommended? Why not 1GB like before? I think I missed something in this thread because last time I was there 1gb was recommended lol
[General Topics] Hamid Chikh:
Yes it is 1GB recommend, it's just an error
[General Topics] Hamid Chikh:
I'd flash then factory reset, start from new, don't restore any backup, especially not smart switch.
[General Topics] Hamid Chikh:
Settings suggestions
[General Topics] skiku:
Hi,

Can someone tell me the default values for "zram" and "zram_enabled"?

Thank you
[General Topics] Hamid Chikh:
OneUI notification panel bug fix is coming​

https://www.reddit.com/r/oneui/comments/ts7run
[General Topics] Hamid Chikh:
Delete zram, keep zram enabled at 1 like stated in OP
[General Topics] Hamid Chikh:
Reducing blur seems to be effective on micro-stutters throughout the Ui, still looking for a way to disable it completely.

I wonder if those who have that bug with notification panel already tried it
[General Topics] Emre67511:
One question: if I have adaptive battery off then all the apps are in "active" bucket but if I have it on some are on a lower level. Shouldn't battery life be better no matter what because "active" is the highest bucket ?
[General Topics] blackhawk:
It's a menace. Screws up the functionality and may be a power hog itself. Simple close out the app when done with it or otherwise modify, uninstall etc. troublesome apps on case by case basis. Don't use a Claymore to kill a fly...
[General Topics] alixra:
My volte stopped working after applying this, preset. It's back after restoring. Which line should I remove from the deleted preset to keep my volte?
[General Topics] mrrocketdog:
i can answer SOME questions ; Read The OP. i've seen THIS issue with new members and members with "Senior" status.

Apologies for OT/Derailing of thread. :)
[General Topics] Hamid Chikh:
What are you talking about
[General Topics] Hamid Chikh:
epdg stuff i think
[General Topics] Hamid Chikh:
No, not the same level of restrictions
[General Topics] Alahoy27:
@Hamid Chikh is there a way for us through ADB to still have adaptive refresh rate even at lower brightness? Been looking all over the internet but no luck so far!
[General Topics] Advenscent:
I ****ed up my phone. Its dead cuz the battery ran out but it won't even charge now.

EDIT:

Managed to charge the phone and boot it up but settings doesn't work. It just closes. Something to do with clipboard but even after enabling any app with clipboard in its name still doesn't work.

Oh well, will have to factory reset it. And figure out what caused it.
[General Topics] mrrocketdog:
the fact that the answer to some questions are in the OP , and me ; and apparently i'm not the only one who has done it , just fail to read the whole OP. js :)
[General Topics] jsmcmahon89:
Very common thing for people to ask questions before reading and searching unfortunately. One of the funnier ones I've seen recently was a person asking how to get his settings search back (not the 1st one to ask, that was understandable). I think they found it out on their own though 😂.

Back on topic, I'll add my bit of input. I was missing the ability to call from highlighting a phone number in browser or apps. I added phone overlay back and the feature is back. In case anyone else needs it as much as I did.
[General Topics] Hamid Chikh:
Not sure why you needed that. It works for me without having to restore overlay. Thanks anyway
[General Topics] Hamid Chikh:
Who's us you're talking about ? And why does your adaptive capabilities depend on brightness?
[General Topics] Alahoy27:
When the brightness level is at 20% or less the refresh rate stays at 120 Hz. Adaptive refresh late will just kick in at higher brightness level.
[General Topics] maxq1:
sorry to sound dumb but what exactly are these for? s-pen functionality?
[General Topics] Hamid Chikh:
What phone is this ? I don't have this problem on my S21
[General Topics] Hamid Chikh:
I think this isn't related to spen
[General Topics] Alahoy27:
I am using SEE Ultra Exynos. I think this is something that's not new. Just thinking that it maybe a big boost in battery if we can still have adaptive smoothness even at lower brightness.
[General Topics] Hamid Chikh:
Please, remove your promotion from this thread.
[General Topics] Hamid Chikh:
As i already mentioned, i don't have that problem on my S21, i can have adaptive a lowest brightness. There might be a problem in your device, you should factory reset
[General Topics] J.2.J:
I have the S21 Ultra and this isn't a hardware/software issue. Its a display limitation, I have the same behavior, just had to set minimum brightness manually so that you don't get stuck on 120hz. This was highlighted in the first reviews of the device
[General Topics] edwardob:
I checked mine... your right it's stops working at around 20%... maybe just a bug

I'm on s22 ultra too
[General Topics] Hamid Chikh:
As you can see, it works fine for me at 0% brightness. It stays adaptive even at lowest brightness and even goes down to 48 when watching 24fps video
[General Topics] edwardob:
maybe s22 ultra issue/thing,.? interesting
[General Topics] Macusercom:
That's a vital piece of information. I noticed that the idle battery drain (not standby but leaving the device with the screen on) is way higher on a low brightness level while at like 50% it is lower until it increases again. That might be the reason. Thanks!
[General Topics] paul222008:
I have S22 regular, Tried just now but it doesn't stay at 120hz, when idle in low screen it goes down to 24hz.
[General Topics] edwardob:
ultra maybe different!.... just interesting...not to bothered about it..

just that some one mentioned it
[General Topics] Hamid Chikh:
Might be an ULTRA thing then ?
[General Topics] Macusercom:
Probably. S21 Ultra goes down to 10 Hz refresh in theory, S22 Ultra to 1 Hz. Not sure if the number on the display actually shows the refresh by the panel or just the Android refresh cycle. Because it never goes to 10 Hz but 48 Hz at a minimum. No idea
[General Topics] Hamid Chikh:
But how about at low brightness
[General Topics] Macusercom:
Doesn't change Android's 60 Hz that is shown at the top left. I think this is just the frames that Android draws in idle. It is very suspicious that despite being 60 Hz at all times, it still draws:

~80–160 mA at 0% with additional low brightness from the accessibility settings

~80–240 mA at 0%

~ 90–160 mA at ~50%

~130–180 mA at ~100%

on my S21 Ultra. It moves between those values though their average and median is different. The highest drain definitely is at its lowest brightness (without accessibility). Android reports 60 or 120 Hz like it always does.
[General Topics] Hamid Chikh:
I didn't know extra dim saves battery, isn't it just an overlay filter ?
[General Topics] Alahoy27:
The alternative that I did was crank up the extra dim setting. This would mean that your brightness would be lower so you would have to increase your actual brightness and the slider would be more than 20%.

The phone does not look at the "nits" level of brightness to kick in the adaptive refresh rate but rather on certain quantitative threshold e.g. 20%.

Now, lower refresh rates can be achieved even at lower brightness.

Hope this helps.
[General Topics] edwardob:
ultra maybe different!.... just interesting...not to bothered about it..

just that some one mentioned

seems to work
[General Topics] Omidi84:
Looking into more detail through the phone’s OS logs, the device does look to actively track the light sensor values all the time, even when in manual brightness, and enters a special mode when it senses a darker environment

"In particular, it looks like whenever the phone senses an ambient brightness level below 40 lux, it will force the phone to only operate in its 120Hz modes, with an additional flag that also sets the minimum refresh rate to 120Hz. By contrast, in a higher brightness setting, the “normal” operating mode has what looks to be a minimum of 48Hz."

https://www.anandtech.com/show/16069/samsung-variable-refresh-rate-display-explained-vrr-note20-ultra#:~:text=In particular, it,minimum of 48Hz

It's the same on s21/22 ultra
[General Topics] George Musat:
Hi! Can you give me the Spotify Premium link,i remember it was here some time ago
[General Topics] paul222008:
Does anyone knows what apk is related to this calendar sync thing? My google accounts wont show up anymore in the manage accounts options

Edit: fixed now I just installed google calendar then sync it and uninstalled it. And weirdly it shows up in the samsung calendar already.
[General Topics] Hamid Chikh:
Yes it's an Ultra thing, base/plus models don't suffer from it
[General Topics] Hamid Chikh:
It seems that "Battery health Service" sends data periodically, thank god we have it removed.

https://xdaforums.com/t/device-health-services-network-activity.4154243/
[General Topics] Macusercom:
Also it will need that sensor's data for the high brightness mode that can't toggled manually on the S21 Ultra
[General Topics] RickyTr99:
My experience with Ram Plus:

I tried 0, 1, 2, 4 and 6gb and now I'm keeping 6gb.

It's probably fault of 6gb of ram (S20 FE 5G) but 2/3gb of ZRam wasn't enought for this phone
[General Topics] George Musat:
atleast one side effect from uninstalling it? like something to not show or sum
[General Topics] Hamid Chikh:
Nothing
[General Topics] vxxxxx15:
screen mode resets after rebooting the phone, any fix for this?
[General Topics] Hamid Chikh:
Not for me at least, it doesn't reset
[General Topics] George Musat:
someone delete this **** now
[General Topics] paul222008:
This app was related to the estimated battery left in the device care, yes no? I read someone here if I remember that this need to restore because his device always says still learning from your usage
[General Topics] alixra:
Removed epdg and applied the preset again. Volte is still not working :/
[General Topics] Advenscent:
I have it uninstalled and device care still shows estimated battery life and fairly accurate at that.
[General Topics] Hamid Chikh:
That's not true
[General Topics] agentR:
How to get the search button back inside device settings?
[General Topics] Hamid Chikh:
You should just restore everything in the meantime, while someone can answer you
[General Topics] Hamid Chikh:
Search the thread
[General Topics] alixra:
Yes I did and will keep an eye :)
[General Topics] MemurBey:
Hi, can i apply refresh rate settings for s21fe?

Theres just 60 and 120 hz in settings.
[General Topics] Hamid Chikh:
You can try and come back with some appreciated feedback
[General Topics] agentR:
After doing all the steps in OP, calls are not going through with my second sim card and even after disabling Gameplay optimization service, the Geekbench score for single core is half of what it should be for the processor. Any idea why this might be happening? Thanks. :)
[General Topics] George Musat:
WTH KNOX ANALYTICS UPLOADER is doiiing
[General Topics] Hamid Chikh:
For gos, you'll have to wait for it to settle. For calls, just restore "ims" and "sim" apps.
[General Topics] Hamid Chikh:
I advise you to debloat and enjoy your new device
[General Topics] George Musat:
Ok but what if i disablw that knox thing? Secure folder will still works? Its important for me
[General Topics] Hamid Chikh:
Apparently, Always-On Display is the culprit responsible of the frame drops problem. Disabling AOD (From settings) along with Clearing data & cache seams to resolve the problem.
[General Topics] Hamid Chikh:
Yes, secure folder only needs "secure folder" app
[General Topics] George Musat:
How? Lool
[General Topics] George Musat:
Ok thanks
[General Topics] Hamid Chikh:
Thanks for the help, appreciated.
[General Topics] Hamid Chikh:
I don't know how but it works apparently
[General Topics] George Musat:
Bro but what stutters you mean?
[General Topics] luuphong559:
it think no, because samsung maybe only use samsung device health servies
[General Topics] George Musat:
What update?
[General Topics] George Musat:
S21 ultra ????????????
[General Topics] George Musat:
S22 right?
[General Topics] paul222008:
Lol samsung is faster than google now. Nice one
[General Topics] vxxxxx15:
SO good, phone feels a lot smoother.
[General Topics] Venom0642:
Here's a cookie good job 👏 👍 jk lol
[General Topics] Hamid Chikh:
That's odd, i never had that problem in normal calls
[General Topics] Hamid Chikh:
- If you're talking about tweaks, i have to arrange them by kind so that it's easy to reference. I try to post when i add a new one, just like i did with the stutter fix.

- For the debloat list, as stated in OP, i give you the baseline to start with, after that, it's intuitive, when you need a feature you just search it in AppControl and restore it. For example, let's say you applied the preset, then want to use bixby, you just type bixby in the search bar and restore everything.
[General Topics] Hamid Chikh:
great to know it helped, took a lot of digging and testing to discover that one out
[General Topics] Hamid Chikh:
Great news! Samsung is catching up, might close and delete the thread then since there's no more need.
[General Topics] Hamid Chikh:
Fun fact; the preset in OP is my actual daily driver. I don't use volte or wifi calling, just regular calls, might be the reason
[General Topics] Hamid Chikh:
Amazing results you got there!
[General Topics] Hamid Chikh:
Just tried your preset, you missed too much of unnecessary apps there, i personally can't live with that
[General Topics] Hamid Chikh:
You should start with my preset as a baseline, then restore just what you need, as you go on. Follow the method i provided in this post as it's a lot easier than working with text files
[General Topics] George Musat:
Bro to fix the lags I need to uninstall or disable aod?
[General Topics] Hamid Chikh:
Battery life tips from Samsung
[General Topics] alixra:
Thank you!!!!!
[General Topics] alixra:
Yes my volte is back thank you so much!
[General Topics] George Musat:
I noticed that apps from secure folder use battery,how do i get rid of them??
[General Topics] NozGojira:
We had same, no issues here too. Not using wifi calling too. Didn't experience any problem at latest presets
[General Topics] Hamid Chikh:
Disabling it seems to make clock in lockscreen disappear
[General Topics] Hamid Chikh:
Haha thanks !
[General Topics] Hamid Chikh:
I know we use the same preset, you're enjoying that ice cold device huh!
[General Topics] Hamid Chikh:
I might restore ims services into base preset, but it's still downloadable from playstore.

I get HD call and no problem with networking without this app, i don't think it's part of "baseline"
[General Topics] Hamid Chikh:
Do you even read OP or posts before asking questions George?
[General Topics] Hamid Chikh:
You really need Play services to be in secure folder ?
[General Topics] osmanakar312:
Increasing thermal theresold in Thermal Guardian(its a good guardian module) by 2 C° increases performance and sustainable performance.

Also you should add short desciption for every command like "increases performance, better battery life, decreases heating etc."
[General Topics] Josyfree:
How much difference it will feel with this command? - adb shell settings put global restricted_device_performance 0,0

Sorry for my broken english.