yashsingh1/xdaforums huggingface dataset:
[General Topics] George Musat:
Me too!!!
[General Topics] Hamid Chikh:
I haven't too, but i flashed in Odin. Just flash the update
[General Topics] Hamid Chikh:
Definitely not a removed app
[General Topics] Hamid Chikh:
It doesn't work, no need to
[General Topics] Hamid Chikh:
You didn't follow correctly, check again "background activity" section in OP
[General Topics] Hamid Chikh:
Just follow performance tweaks in OP
[General Topics] Hamid Chikh:
Did you restore everything before updating like stated in OP?
[General Topics] Hamid Chikh:
You're right, i agree
[General Topics] donetus:
in my case, I wasn't receiving any notification from Viber though the app was set to "Never Sleep". I had to re-install VIber and leave its default setting as it is.
[General Topics] Hamid Chikh:
Then it's not the problem
[General Topics] Hamid Chikh:
I'll look into it
[General Topics] Hamid Chikh:
I get 1% per 4h of standby. A whole night takes 2% for me
[General Topics] maor23:
thanks.

another question i got, when i load the deleted preset there is many things that were selected, and when I try to find what is those on google, nothing found.

there is another place I cant see what the package I chose is doing?
[General Topics] Hamid Chikh:
You do know i test the presets before publishing them right ? I'm not gonna fool you into deleting what's gonna hurt your phone. In fact, those presets are my daily, u don't use any of the deleted services, actually, i delete even more stuff than that.

Here's where you can get an idea about the apps:

Samsung full apps list - Google Drive

docs.google.com
[General Topics] Hamid Chikh:
Check OP​

- Added more Settings to OP

- Took down "Disable performance restriction", if already disabled, just restore default values and reboot.
[General Topics] Hamid Chikh:
Check OP, updated the fix
[General Topics] Hamid Chikh:
You can play with the values and see what suits you best. I provide the method, you create you value
[General Topics] Hamid Chikh:
That was never advised in OP, if it was possible, i'd have added it to OP
[General Topics] maor23:
never thought like that, just saw there apps like carrierdefault and my guessing is that is something of my carrier sim company and I'm just afraid to delete it
[General Topics] Hamid Chikh:
Might be, can't be sure of that since each and their use case. But, i can assure you i have it deleted here and living my best life ;)
[General Topics] George Musat:
Adb shell settings put global restricted_device_performance 1,1

What is the default?
[General Topics] Hamid Chikh:
It is 1,1
[General Topics] maor23:
im afraid :(

it might be different in other countries (I'm from X and you are from Y)

Really afraid to delete all this, it may be good for battery life, but maybe I will miss some things I need and I don't know I need
[General Topics] Hamid Chikh:
RESTORE THIS TO DEFAULT & REBOOT​

Enable Performance Limit (Default)​

- adb shell settings put global restricted_device_performance 1,1
[General Topics] Hamid Chikh:
Whatever suits you best, i provide the method, and you play with the values.
[General Topics] :
Is this ADB-Command

- adb shell settings put global enhanced_processing 2

available under the normal Settings too or only execute as Command?

And if i want to set 120 Hz for the display refresh rate overall i must only set

- adb shell settings put system peak_refresh_rate 120.0

- adb shell settings put system min_refresh_rate 120.0

Is this right or must be the values different?
[General Topics] Hamid Chikh:
- Just updated OP for processing speed explanations

- Yes, setting both limits to 120 locks refresh rate to 120hz all the time
[General Topics] :
Should i reboot the Phone after i execute this Commands?
[General Topics] Hamid Chikh:
Setting refresh rate to 96-96 is a true bless, try it out for yourself! (Works with OneUI 4.1 too)

- adb shell settings put system peak_refresh_rate 96.0

- adb shell settings put system min_refresh_rate 96.0
[General Topics] Kris_b1104:
I was able to get maximum battery by setting the max to 96hz and the min to 24hz. Phone still runs perfectly smooth. If I set it to 10, then I run into some lagging and problems with certain apps.

I use Galaxy Max Hz app which does it automatically for me. It also forces the lowest Hz possible when the screen is off and you can choose to go into power saving mode every time the screen is locked. It's an awesome tool.

Thread '[App]Galaxy Max Hz (Refresh Rate Mods, Screen-off Mods, QS Tiles, Tasker Support and More)' https://xdaforums.com/t/app-galaxy-...ods-qs-tiles-tasker-support-and-more.4404929/
[General Topics] NozGojira:
Sorry this will be off topic. Do you have a link how flash new update via odin? Haven't tried it yet
[General Topics] Hamid Chikh:
It's okay

Here's how to flash

Here's where to download your firmware
[General Topics] Hamid Chikh:
Request for Galaxy S22 series users only​

Can you guys tap this adb command and show me the results please ? It's just a "get" command, with a result being "1" or "0". This won't change any settings, just reports default value. Thanks

- adb shell settings get secure screen_extra_brightness
[General Topics] NozGojira:
Thanks hamid. It confirmed there's no yet 4.1ui update on us (Snapdragon sm-g9980)
[General Topics] kingrohan:
Why did you remove this from OP adb shell settings put global restricted_device_performance 0,0
[General Topics] Hamid Chikh:
Okay
[General Topics] Hamid Chikh:
Other tweaks seem to be enough, it turns off throttling and causes too much heat. Just set it back to default
[General Topics] kingrohan:
It made my S10 plus very smooth and fast, not much heat, no standby battery drain, just took 15 mins off from sot.
[General Topics] Hamid Chikh:
Can you please confirm by trying this combination for a day and reporting back to me?

- adb shell settings put global restricted_device_performance 1,1

- adb shell settings put global enhanced_processing 0

- adb shell settings put global sem_enhanced_cpu_responsiveness 1
[General Topics] Kris_b1104:
Default is 0. When I turned it on in Display settings, it goes to 1.
[General Topics] marko94:
Same here :)
[General Topics] Hamid Chikh:
Thank you
[General Topics] Hamid Chikh:
Thanks, i'm testing it in S21 to see if it can bring anything
[General Topics] Hamid Chikh:
Check OP for even More battery saving tweaks !​

Waiting for your feedback
[General Topics] Macusercom:
Tested it already, but it's not working on the S21 Ultra unfortunately: https://xdaforums.com/t/anyone-with...r-high-brightness-mode.4420595/#post-86629865
[General Topics] Hamid Chikh:
So nothing at all ? Not even some more brightness in auto mode ?
[General Topics] Macusercom:
Unfortunately not, the system does not react to it being changed :(
[General Topics] George Musat:
- adb shell settings put secure double_tap_to_wake 0

- adb shell settings put secure wake_gesture_enabled 0

- adb shell settings put secure volume_hush_gesture 0

- adb shell settings put secure hush_gesture_used 0

- adb shell settings put system lift_to_wake 0

The features will still work?
[General Topics] Hamid Chikh:
Obviously not
[General Topics] Compusmurf:
S22 Ultra doesn't seem to have this.

- Multicore Packet Scheduler: ENABLED

Nor does it have the multicore_packet_scheduler in the system key.
[General Topics] kingrohan:
0,0 is the only command I did from OP and it increased the performance. I have not tried any other commands.
[General Topics] kingrohan:
If I select 0 in settings, will create any problem..???
[General Topics] George Musat:
No
[General Topics] Hamid Chikh:
Snapdragon variants don't have it, you can set it with adb command.
[General Topics] Hamid Chikh:
No problem, but it won't work. 1GB is the best you can do
[General Topics] kingrohan:
It shows 0 gb in ram plus, but zram is 4gb.

When ram plus set to 1 gb, zram is 2gb.
[General Topics] marios199546:
- adb shell settings put secure double_tap_to_wake 0

- adb shell settings put secure wake_gesture_enabled 0

- adb shell settings put secure volume_hush_gesture 0

- adb shell settings put secure hush_gesture_used 0

- adb shell settings put system lift_to_wake 0

These are obsolete for Galaxy devices
[General Topics] Compusmurf:
Yes. But if it's not there for snapdragon and it's not in the system area, what makes you think it's actually being used on SD chips? Maybe it's an EX chip only feature.

If you manually put it in and SD doesn't need/use it does it just get ignored or could it possibly cause other issues later on?
[General Topics] George Musat:
I mean why would you get this phone in the first place if you want to disable these
[General Topics] Venom0642:
Nice tweaks, was gonna try some but don't need to my AT&T S22 Ultra 5G Snapdragon 512GB, Is running outstanding with no issues at all running beast mode and been also getting great battery life SOT been over 9hrs
[General Topics] Ivixmax:
man,double tap to wake / sleep are basicly what the **** xD
[General Topics] huzidada:
@Hamid Chikh bro, im not sure why, my battery life has reduced by about 2 hours SOT with the same usage, with the updated settings and I can't for the love of me figure out why
[General Topics] Hamid Chikh:
What adb tweaks did you apply ?
[General Topics] Hamid Chikh:
i'm just offering the option to disable them, not forcing anyone to
[General Topics] Hamid Chikh:
You can leave them on if you want to
[General Topics] Hamid Chikh:
I think they'll get ignored
[General Topics] huzidada:
Did all the general tweaks bro, and then the extreme battery adb tweaks. But for 3 days, getting 6H SOT, and was getting 8.5H on 4.0 and 4.1 when I had the original lost of tweaks
[General Topics] Hamid Chikh:
Check their status with "get" command, report back
[General Topics] Ivixmax:
ahhhh ok master :)
[General Topics] Hamid Chikh:
Pretty sure it has nothing to do with my tweaks then. Try and check if you have any app draining you battery
[General Topics] marios199546:
They are null. Expected. Most of them are pixel specific parameters
[General Topics] huzidada:
Not as far as I can tell, using the exact same apps, quite consistently.

How would I check that though, as under battery, the usual apps pop up and nothing seems amis
[General Topics] Has_anDroid:
Thanks good share
[General Topics] Hamid Chikh:
Not true
[General Topics] Hamid Chikh:
Nothing comes to my mind
[General Topics] kolakid111:
hey. thanks for work but

how to make com.samsung.accessibility open? and how to "repair apps" "
[General Topics] Ivixmax:
Dont delete samsung keyboard to enter accessibilty menus.Repair apps from recovery
[General Topics] maxq1:
thank you for keeping these updated!

why'd you drop this though? and what were the defaults?

EDIT: yep, it's the same. just found out for myself. good to know we can customize though. cheers, all!
[General Topics] NozGojira:
Hamid can you do us favor when you remove some adb tweaks on OP can you not delete them. Instead make Close parenthesis on that command line so we can revert back to original value first before we disregard it? Thank you! Its just i think it's advantage and to be very clear to the newbies. Like for me i don't remember anymore what i have flashed and i don't know if you removed it or revert it to defaults but we still have that on our phone. The rest of this topic is awesome and very helpful. You're the best!
[General Topics] maxq1:
^ i agree. maybe just strike those out so folks will still have a reference to revert or not. placing in the default values will surely help too 👍
[General Topics] Compusmurf:
I'll agree with the above 2 posts. Move it into a "no longer useful" subsection and list the defaults so folks can "put it back" and not have to dig through 88 pages to figure it out. :)
[General Topics] :
Which is better for getting more performance by setting this command here:

adb shell settings put system multicore_packet_scheduler

the value 1 or 0?
[General Topics] Hamid Chikh:
Samsung keyboard needs to be disabled, not uninstalled
[General Topics] Hamid Chikh:
1
[General Topics] Hamid Chikh:
Thanks for the support, and for your input.

When i remove a command i make a new post with the default values but i don't keep them in OP so no one tries them.

Do you have anything in mind ?
[General Topics] Hamid Chikh:
I'll think about adding a default value section in OP
[General Topics] Hamid Chikh:
Are you thinking of any command specifically?
[General Topics] J.2.J:
I agree with previous posts. I suggest keeping a changelog with dates that they were removed to help assist with tracking back changes and adb commands. Probably under a new section "No longer useful" or "Commands with no/worse effects"
[General Topics] kingrohan:
what does this do..???
[General Topics] Hamid Chikh:
- Keep in mind that i test ALL COMMANDS before posting them, to make sure there are no bootloop or battery drain.

- ALL of what's in OP is my PERSONAL CONFIGURATION and what i consider THE BEST possible.

- There are no "default values" because values depend on your settings (changing setting changes values).

- Most commands alter with actual settings that are already available in the settings app.

- I post commands just to make it easier for you guys to change settings without having to navigate throughout the settings (like adaptive battery, multicore packet scheduler or suspend cached apps, etc).

- Most adb commands are duplicate of "Settings" section.

- Most commands in OP are found default for me (like motion engine) , after i setup my settings and configuration, i just post them how i find them.

- I try my best to make sure you guys don't have anything you don't want enabled that might consume power.

- If you want something enabled, let it beI.

- 'm just offering the option to disable stuff, not forcing anyone to disable anything.

- It's advised to save your default setting by using the "get" command, before applying any adb tweaks.

- Removed commands are judged unnecessary because they're duplicate, not because they're harmful.
[General Topics] Compusmurf:
I don't know. When you delete them from the first post, it's hard to reference back if I have tried it or not.

At one point you had a list of ram/zram sizes (at least I think you did) and now it's not there. I'm sure it's somewhere in the last 1700 posts under your thread here. Problem is, that 1700 is going to double, triple or more and then it'll be impossible to find something.

It's just a suggestion that various folks made. It's your thread. Scattered all over is a crap ton of great info, but that's the problem, it's scattered.

Either way, it's great work.
[General Topics] Hamid Chikh:
I removed zRAM command because it doesn't work. So either you applied it or not, there are no effect.
[General Topics] omnimax:
The "adb shell settings put system multicore_packet_scheduler 1" halves the score of the Exynos - don't know if you also used that.
[General Topics] Compusmurf:
EXACTLY. That's what we're saying. If you added it into a deprecated or no longer used section, folks would remember and maybe undo things (if needed)

:)

I'm sure that's not the only one you've removed over time. It's an evolving process and I'm sure you'll find more that are useless or useful and move them around.

Another one you had and now seems gone, you had one about ramping ringtone

And this one.

adb shell settings put global activity_starts_logging_enabled

At one point you had it, then removed because supposedly caused lag or something, but now it's back.

It's hard for folks to tell what's always changed or not.
[General Topics] Hamid Chikh:
It doesn't for me, works perfectly fine. I score around 3500-3600 in Geekbench (Base S21 Exynos).

Are you on Snapdragon ?
[General Topics] Hamid Chikh:
- For zRAM command, as i said, it doesn't work, so no need to make any changes to it.

- As for Ramping ringtone i deleted it by mistake and been looking for what's missing for days now, thank you, i'll add it back.

- As for logging command, i tested it extensively and it doesn't represent any harm. Pretty sure he used other commands that might have hurt his battery life.

- There are no other commands that have been taken out, all previous commands are presently present in OP

- Also, feel free to try stuff yourself and play with values
[General Topics] kingrohan:
I am getting access is denied
[General Topics] kingrohan:
Is 0 the default value for this..???
[General Topics] NozGojira:
if you didn't flash it yet remove the value, replace the "put" with "get" what you've got there is your default. remeber it. or take and save it on notepad
[General Topics] NozGojira:
after we back it up where do this file text will be save?
[General Topics] Hamid Chikh:
There's no default, each value has a meaning. Check OP for description
[General Topics] Hamid Chikh:
Adb driver folder
[General Topics] Hamid Chikh:
Adb devices first
[General Topics] omnimax:
Ah sorry, it was a case of doing benchmark too soon after reboot - it works fine :)
[General Topics] nasko0710:
What are the needed apk's for dual apps, because after the debloat dual messenger went crazy with viber. I restored dual apps.apk, but I assume some framework is needed for the activation. Thanks in advance!
[General Topics] Hamid Chikh:
##### LAST EDITED: 17-01-2021 #####

- IMPROVES BATTERY

- Added Separate sound

We're now at:

- 225 Deleted apps

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

- 188 Kept system apps
[General Topics] NozGojira:
Thanks for the update. Perfect for my s21 ultra now
[General Topics] Hamid Chikh:
#UPDATE​

You want a feature back ? Restore the following​

- Search in app drawer, "Finder" from disabled apps.

- Dolby Atmos, Restore "SoundAlive" from deleted apps

- Samsung reminder, Restore "reminder" from deleted apps

- Wifi Caling, Restore "com.sec.unifiedwfc" & "com.sec.epdg".

- Other are available throughout the thread
[General Topics] Hamid Chikh:
Reserved​
[General Topics] Hamid Chikh:
##### LAST EDITED: 18-01-2021 #####​

- Deleted Device Health Manager since it's not responsible for battery stats and auto brightness on samsung phones, Samsung has its own services for those stats, namely SDHMS.

- Deleted apps for test purposes

- Waiting for your feedback

We're now at:

- 245 Deleted apps

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

- 165 Kept system apps
[General Topics] NozGojira:
Been using presets now. But i re enable photo editor. Since we need it whenever to crop and send photo to our social app
[General Topics] Hamid Chikh:
Latest preset update has improved battery life significantly, expect around 6h or more of SoT depending your usage according to my calculations (75% = 5h).

Keep in mind that, these stats include 2h straight of Duo video call/screen sharing.
[General Topics] Hamid Chikh:
##### LAST EDITED: 19-01-2021 #####​

- Deleted Samsung Contacts, replace that with Google contacts

We're now at:

- 245 Deleted apps

- 3 Disabled apps (uninstalling these will break features.)

- 165 Kept system apps
[General Topics] Hamid Chikh:
##### LAST EDITED: 19-01-2021 #####​

5 - Improve Camera Experience​

- Wipe Data & Cache of Camera app, then reboot to Safe mode, do it again, then reboot normally

- Clean interface by moving all camera extensions to the "More" section.
[General Topics] WindR:
How to reboot to Safe mode?
[General Topics] Hamid Chikh:
When you get the power menu, hold "power off" onscreen button, it'll switch to safe mode, click it
[General Topics] KAngelo:
Sounds good. But what do you mean when saying

- Clean interface by moving all camera extensions to the "More" section

Is that something we need to do and how?
[General Topics] Hamid Chikh:
I mean to take all mode to the more section, that way, when camera app starts it doesn't have to load all those mods before you actually need them. It's negligible, but still helps sometimes.
[General Topics] KAngelo:
Thanks. I didn't know that feature
[General Topics] abu46:
I am not able to get multi window working after the debloat. Nothing happens on pressing the multi windows button in task manager and the multistar module just crashes. Can you suggest which package might be causing this?
[General Topics] Hamid Chikh:
I don't use that feature but i'll try and find what's causing it, you can still help me in your end, i'd appreciate that.
[General Topics] NozGojira:
I did clear data/cache. Soft reboot and reboot. Sorry but what we need to do when we open the camera take all mode to more section. Im verry sorry for asking this. Want to know it more
[General Topics] Hamid Chikh:
You go to "more" section, hold one of the mods, it'll let you rearrange them. You now arrange them as you wish and move the ones on the bottom row up top in the section.
[General Topics] NOMIOMI:
will it work on Galaxy note 10 Plus?
[General Topics] Hamid Chikh:
Yes it does work on all Samsung and android phones
[General Topics] Hamid Chikh:
Did you use my preset to debloat?
[General Topics] Lurien:
What is progressive ringtone?
[General Topics] nasko0710:
Yes, it is the best. Really appreciated!
[General Topics] Hamid Chikh:
Progressive ascending volume for ringtone
[General Topics] Hamid Chikh:
You're welcome. Please wait for someone that uses that feature and tell you what to restore, i don't use it so i don't know what's needed for it
[General Topics] nasko0710:
I am getting this when activating, I think it is something related to the double credentials for activating.
[General Topics] Hamid Chikh:
That has nothing to do with debloating
[General Topics] George Musat:
Custom Animation Scale​

Same as in Developer settings

- adb shell settings put global animator_duration_scale 0.65

- adb shell settings put global transition_animation_scale 0.65

- adb shell settings put global window_animation_scale 0.65

i recommand to put here 0.75,it is a lil bit **smoother**
[General Topics] Venom0642:
For the last 7 years I've always made it to .2, .2,.2 ,Extreme fast and smooth.
[General Topics] Hamid Chikh:
I think that's too fast for the animation to be smooth, it'll feel crackling for me even at 120hz
[General Topics] George Musat:
i just found 0.75 the sweet spot,atleast for me

and yeah 0.2 is TOO much ))))
[General Topics] Hamid Chikh:
I'm on 0.65 now with 96-96hz static refresh rate, amazing combo
[General Topics] tsiharry:
I'm on 0.55 and it feels solid and smooth.

Does anyone faced stuttering with some apps after updating to One UI 4.1?
[General Topics] George Musat:
nah,i have some little stutters with navigation and another bug but it is irelevant
[General Topics] Hamid Chikh:
Did you even read OP ?
[General Topics] tsiharry:
Ofc i did
[General Topics] NozGojira:
Had the same 🍻
[General Topics] Venom0642:
Guess it's preference, i love it going fast , but like i said it's a preference choice on each individual.
[General Topics] Kris_b1104:
I must be the only crazy one with all 3 animation scales OFF 🤣
[General Topics] Compusmurf:
I can't remember off the top of my head, but that breaks something. I'd have to really go digging in my notes. go 0.1 on all 3 at the worst.
[General Topics] Kris_b1104:
I've had it like that for years on all my Galaxies, never caused an issue lol.
[General Topics] Josyfree:
So I'm with a a52, its possible to activate enhanced processing with one of this commands? or with adb in general?
[General Topics] Sheni:
Thanks
[General Topics] drake.wind:
Under fix ui lag, what is the reason behind “Android System", set it to RESTRICTED ?
[General Topics] edwardob:
I used all your mods except the ADB ones... adaptive screen stops working after screen goes off... and returns to standard 60hz

any idea which mod would cause that thanks
[General Topics] Hamid Chikh:
That's what OP is all about
[General Topics] Hamid Chikh:
Screen off = 60hz nothing stopped working
[General Topics] edwardob:
thanks... but how does that help me??
[General Topics] edwardob:
it doesn't return to adaptive mode?
[General Topics] Hamid Chikh:
Depends what you set
[General Topics] Hamid Chikh:
Adaptive goes high when you touch the screen, not in screen off
[General Topics] Hamid Chikh:
You can try and tell us !
[General Topics] edwardob:
it's set at adaptive....when I touch screen it stays at standard... doesn't return to adaptive