Search This thread

coolpixs4

Senior Member
Mar 7, 2011
634
196
My device is S22+ 5G
I only have 7h SOT,...
 

Attachments

  • Screenshot_20230127-175317_Device care.jpg
    Screenshot_20230127-175317_Device care.jpg
    232.2 KB · Views: 151
  • Like
Reactions: Hamid Chikh

Haruu1416

Senior Member
Jul 28, 2022
91
75
19
Hey everyone, I've been away because I had to take care of my relationship and college.

During this time I was testing a new configuration that is being useful for performance and ram usage and also in low cpu usage.

This is a command in the global table, 'activity_manager_constants' I'm still testing this command, but I would like to know if anyone is willing to see if it's feasible to use it.

If anyone is interested use this command: adb shell settings put global activity_manager_constants max_cached_processes=0,background_settle_time=60000,fgservice_min_shown_time=2000,fgservice_min_report_time=3000,fgservice_screen_on_before_time=1000,fgservice_screen_on_after_time=5000,content_provider_retain_time=20000,gc_timeout=5000,gc_min_interval=60000,full_pss_min_interval=1200000,full_pss_lowered_interval=300000,power_check_interval=300000,power_check_max_cpu_1=0,power_check_max_cpu_2=0,power_check_max_cpu_3=0,power_check_max_cpu_4=0,service_usage_interaction_time=1800000,usage_stats_interaction_interval=7200000,service_restart_duration=1000,service_reset_run_duration=60000,service_restart_duration_factor=0,service_min_restart_time_between=10000,service_max_inactivity=1800000,service_bg_start_timeout=15000,CUR_MAX_CACHED_PROCESSES=0,CUR_MAX_EMPTY_PROCESSES=0,CUR_TRIM_EMPTY_PROCESSES=0,CUR_TRIM_CACHED_PROCESSES=0

This one is for devices with low ram.

I almost forgot, this command is just in case you want to have more performance in games, I don't recommend using it for your daily life and it can also vary by device.

Note: Your device will heat up when applying it and restarting, and this is normal, because the cpu will be almost always at maximum, and I'm going to show you some images of my test of it.

If you have problems, just remove this command via adb, setedit, ladb and brevent.

Edit: you won't multitask with this command.
 

Attachments

  • Screenshot_20230127-115316_DevCheck.jpg
    Screenshot_20230127-115316_DevCheck.jpg
    150 KB · Views: 348
  • Screenshot_20230127-115218_Settings.jpg
    Screenshot_20230127-115218_Settings.jpg
    21.8 KB · Views: 348
  • Screenshot_20230127-115229_Settings.jpg
    Screenshot_20230127-115229_Settings.jpg
    121.3 KB · Views: 312
  • Screenshot_20230127-115158_Device care.jpg
    Screenshot_20230127-115158_Device care.jpg
    83.9 KB · Views: 348
Last edited:
Hey everyone, I've been away because I had to take care of my relationship and college.

During this time I was testing a new configuration that is being useful for performance and ram usage and also in low cpu usage.

This is a command in the global table, 'activity_manager_constants' I'm still testing this command, but I would like to know if anyone is willing to see if it's feasible to use it.

If anyone is interested use this command: adb shell settings put global activity_manager_constants max_cached_processes=0,background_settle_time=0,fgservice_min_shown_time=2000,fgservice_min_rep

This one is for devices with low ram.

I almost forgot, this command is just in case you want to have more performance in games, I don't recommend using it for your daily life and it can also vary by device.

Note: Your device will heat up when applying it and restarting, and this is normal, because the cpu will be almost always at maximum, and I'm going to show you some images of my test of it.

If you have problems, just remove this command via adb, setedit, ladb and brevent.

Edit: you won't multitask with this command.
What phone do you have?
 
  • Like
Reactions: Hamid Chikh
-Just use Alliance sheild X, it can disable GOS all together.
-Then download SetEdit and set all the "Device/app Restriction" bs to false/0.
-Then download AIDA64, go back to Alliance sheild X, find AIDA and prevent it from ever being closed. Boom. Your system will run at max the entire time, literally exploiting Samsungs shady ass Volkswagen knockoff tach that let's the system run at max preformance when benchmark apps are open.
Anyone ever tried this?

Supposed to be useful when playing games.
 
  • Angry
Reactions: Hamid Chikh

Haruu1416

Senior Member
Jul 28, 2022
91
75
19
Anyone ever tried this?

Supposed to be useful when playing games.
Exactly, but I'm still testing other values, because depending on the value makes the device unstable.

Edit: maybe not, why this setting is not displayed in the global table, it is added and it is also universal, which means it works on any android from any manufacturer, samsung, Motorola, xiaomi, oppo and among others
 
  • Like
Reactions: Hamid Chikh

InfamousMykol

Senior Member
Hey everyone, I've been away because I had to take care of my relationship and college.

During this time I was testing a new configuration that is being useful for performance and ram usage and also in low cpu usage.

This is a command in the global table, 'activity_manager_constants' I'm still testing this command, but I would like to know if anyone is willing to see if it's feasible to use it.

If anyone is interested use this command: adb shell settings put global activity_manager_constants max_cached_processes=0,background_settle_time=0,fgservice_min_shown_time=2000,fgservice_min_rep

This one is for devices with low ram.

I almost forgot, this command is just in case you want to have more performance in games, I don't recommend using it for your daily life and it can also vary by device.

Note: Your device will heat up when applying it and restarting, and this is normal, because the cpu will be almost always at maximum, and I'm going to show you some images of my test of it.

If you have problems, just remove this command via adb, setedit, ladb and brevent.

Edit: you won't multitask with this command.
What's the values for activity_manager_contants and fgservices_min_rep?
These commands works on Oneui 4.1?
 

Haruu1416

Senior Member
Jul 28, 2022
91
75
19
Please excuse me for this mistake, if you posted the previous one it's better to put this one now, it's the full version of it.
 
  • Like
Reactions: Hamid Chikh

VinTaco

Member
Nov 4, 2013
43
37
I have a question - I am trying to reinstall an APK for wifi calling, however it won't install. I get "not installed", from both on the phone and via ADB AppControl. What would I do to fix this?

UPDATE - no app wants to install via ADB AppControl. Am I doing something wrong?

I see the following error: [-3001: INSTALL_FAILED_REJECTED_BY_BUILDTYPE]

EDIT AGAIN - It's now installed, I have no idea how. Insight into that error would be helpful though.
 
Last edited:
  • Like
Reactions: Hamid Chikh

Haruu1416

Senior Member
Jul 28, 2022
91
75
19
Could this command improve battery?
maybe, but I'm not sure about that yet, I'm still testing this command on my device, so unfortunately I can't give you that answer yet.

I think I have some sysdump commands that might improve battery life noted in my backup file.

But as I was testing it here, some apps were giving some errors (says device care) but in return the performance in the games themselves has been improved.

You sure know, the more performance the less battery so I think I should discard it as a battery friend.
 
  • Like
Reactions: Hamid Chikh

Haruu1416

Senior Member
Jul 28, 2022
91
75
19
I am currently looking for a way to find a way that everyone can find the ideal value for their devices, and I have something in mind.

In adb, type adb shell 'dumpsys activity', after that look for the name of the command (activity_manager_contants) right after that find his values and save. At the moment I will still find the command that is responsible for disabling the background and cached processes without compromising the system.

Note:If you are going to do what I said above, then remove the command values and restart to return to the original values and thus not have any problems.
 

blackhawk

Senior Member
Jun 23, 2020
14,255
6,187
Samsung Galaxy Note 10+
I am currently looking for a way to find a way that everyone can find the ideal value for their devices, and I have something in mind.

In adb, type adb shell 'dumpsys activity', after that look for the name of the command (activity_manager_contants) right after that find his values and save. At the moment I will still find the command that is responsible for disabling the background and cached processes without compromising the system.

Note:If you are going to do what I said above, then remove the command values and restart to return to the original values and thus not have any problems.
Are you the creator?
images (7).jpeg
I am One UI and I'm perfect.

What's optimized for one isn't necessarily optimized for all. Lots of variables between phones even of the same model. If it's not a useless function like Device Wellness and consumes little or no battery probably best to leave it alone. Some habitual offenders like Google play Services should be temporarily disabled when not in use.
 
  • Like
Reactions: Hamid Chikh

Haruu1416

Senior Member
Jul 28, 2022
91
75
19
Are you the creator?
View attachment 5821327
I am One UI and I'm perfect.

What's optimized for one isn't necessarily optimized for all. Lots of variables between phones even of the same model. If it's not a useless function like Device Wellness and consumes little or no battery probably best to leave it alone. Some habitual offenders like Google play Services should be temporarily disabled when not in use.
This is just my suggestion and I also intend to see if this function will be useful not only for me but for others, but if you don't agree or something like that I understand, so just ignore it if you don't like it.
 
  • Like
Reactions: Hamid Chikh

blackhawk

Senior Member
Jun 23, 2020
14,255
6,187
Samsung Galaxy Note 10+
This is just my suggestion and I also intend to see if this function will be useful not only for me but for others, but if you don't agree or something like that I understand, so just ignore it if you don't like it.
Take your own advise to heart. I was half funning around with you and the rest was serious.
You can not predict all the consequences of multiple setting changes and edits on different devices. Samsung goes through problems with every OS upgrade and with many of its updates... after they passed beta testing and are released in the wild.
 
  • Like
Reactions: Hamid Chikh

Roei.e

Senior Member
May 5, 2022
190
72
@Hamid Chikh
My friend did software update and his settings app crushes now. (He forgot to restore all apps) and in order to restore all you need to enable usb debugging.. but settings app is crashes. How can he fix it?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6

    OneUI 6.1 Update Preset

    Just got the update this morning, we'll discuss how it affects battery after a few days as it settles down
    - Uninstall Test6.1
    - Restore KeepTest6.1
    4

    Useless if you don't use Samsung/ST brand pet cam.
    Nah man I can't believe Samsung made an animal for PETS☠️☠️
    When I first saw this service, I thought "nah it can't be true", but...
    4

    THIS IS A SUGGESTED CONFIGURATION FOR SAMSUNG DEVICES

    I - RECOMMENDED SETTINGS

    To Start With

    - Backup everything to Google Cloud/Samsung Cloud and Copy files to PC
    - Factory Reset is RECOMMENDED (At least after every major update OneUI/Android)
    - Remove SIM before first boot
    - Follow setup OFFLINE (DON'T restore anything during setup)
    - DON'T use Smart Switch
    - Reboot, insert SIM then continue setup online.

    System Settings

    - Auto-Rotate: DISABLED
    - Notification Bubbles: DISABLED
    - Notification History: DISABLED
    - Synchronization: DISABLED (when not in use).
    - Location: DISABLED (when not in use).
    - Display Resolution: FHD/1080p
    - Advanced features: ALL DISABLED
    - Motions and Gestures: ALL DISABLED
    - Auto download System Update over Wi-Fi: DISABLED
    - Bluetooth Scanning (Location services): DISABLED
    - Usage & Diagnostics: DISABLED
    - Advertising ID: RESET & DELETE
    - System Sound/Vibration feedback: OFF
    - Always On Display (AOD): DISABLED
    - Dark Mode: SCHEDULED ENABLE

    - RAM PLUS: DISABLED
    - Trust Agent: DISABLED
    - Suggestions/Recommendations: ALL DISABLED.

    Battery Settings

    - Sleeping Apps: All apps except apps you need instant notifications from.
    - Put unused apps to sleep: ENABLED
    - Auto optimization: ENABLED
    - Adaptive Battery: DISABLED

    Google Settings

    - Nearby connections: DISABLED
    - Ads Preferences : DISABLED
    - Devices: DISABLED
    - Nearby Share: DISABLED (when not in use).
    - Nearby Share Notification: DISABLED

    Accessibility Settings

    - Reduce transparency & Blur: ENABLED

    Developer Options:

    - Background Check: DISABLED
    - Animation scale (3 entries) : x0.5
    - Wi-Fi Scan Throttling: Enabled
    - Logger Buffer Sizes: OFF
    - Predictive Back Animations: ON

    Camera Settings

    - Turn off location tags and location permission for the camera app.
    - Move all camera modes to the "More" section.
    - Advanced Intelligence : MAXIMUM
    - Scene optimizer: OFF
    - Face Beautification: DISABLED
    - Video Stabilization: DISABLED
    - Video Resolution: FHD30
    - High Bitrate Video : ENABLED
    - Auto night mode: OFF
    - Auto FPS: ON
    - Grid: ON

    Camera Assistant Settings (DOWNLOAD HERE)

    - 2x Crop Zoom Shortcut : ENABLED
    - Auto HDR: ENABLED
    - Picture Softening: OFF
    - Auto lens switching: DISABLED
    - Distortion Correction : ENABLED
    - Adaptive Pixel : ENABLED
    - Upscale Digital Zoom : ENABLED
    - Quick Tap Shutter: ENABLED
    - Prioritize Focus over Speed : DISABLED
    - Video recording in Photo Mode: DISABLED
    - Camera Timeout: 1 Minute
    - Dim Screen While Recording: 1 Minute

    Google Play Store Settings

    - Google Play Protect: DISABLED
    - AutoPlay: DISABLED
    - Auto Update Apps: DISABLED
    - App Installation Optimization: DISABLED

    Google Chrome Settings

    Settings
    - Page Preloading: DISABLED
    Chrome Flags
    - Smooth Scrolling: ENABLED
    - Parallel Downloading: ENABLED

    Social Media Apps Settings

    - Theme: AMOLED/DARK
    - AutoPlay videos: DISABLED
    - Log out of all Old sessions.
    - Delete old logged in devices.

    II - GENERAL FIXES

    Diagnose Your Problem

    - Go to Device care, battery, check your battery usage. If nothing shows, it's a battery leak.

    Fix Battery Leak (IMPORTANT)

    Go to Permission Manager, enable "Show system apps"
    - Check for any excess permissions like Location, camera or nearby devices.
    - Special Access Permissions under settings, apps like Turn Screen On.

    Calibrate Your Battery (Every 2-3 Months)

    - Use your phone normally till it dies off automatically.
    - Plug it into the charger and leave it charging for 2h while it's still off.
    - Turn it on then unplug your phone and use it normally until it dies again.
    - Plug it into the charger and leave it charging for 2h while it's still off.
    - Turn it on and unplug it, enjoy

    Fix Google Apps Battery drain

    Go to Settings, Apps. Enable "Show system apps" then look for each of:
    - Google Play Store
    - Google Services Framework
    - Google Play Services
    - Android System WebView"
    Uninstall Updates, Clear data & Cache, Force Stop, Reboot, update and follow setup.

    Fix Camera Experience

    - Wipe Data & Cache, reboot to Safe mode, do it again, then reboot normally.

    Fix OLED Burn-in/Ghosting

    - Download LCD Burn-in Wiper
    - Disable Auto-brightness & set Brightness to 100%
    - Leave on for at least 1 hour

    Fix Speaker crackling

    - Download Speaker cleaner
    - Set your volume to max
    - Put your phone face down & launch

    Remove Ads System-Wide

    Go to settings, connections, more connections settings, look for Private DNS.
    Set this Address "dns.adguard-dns.com"
    - Close all apps then reboot.

    III - SAMSUNG FIXES

    Fix General Performance

    - Boot into recovery
    - Clear cache partition
    (x3)
    - Repair apps.

    Fix One UI Lag

    Set RAM PLUS to DISABLED

    Fix UI Frame Drop/Stutter

    Settings, Apps, check "Show System Apps", and search:
    - Gesture Set battery to "UNRESTRICTED".
    - Always-on Display Clear App Data & Cache (Will clear lock-screen customizations).

    Fix Refresh Rate Lag

    Settings, Display, Motion Smoothness.
    - Set it to Standard, reboot, Set it back to Adaptive

    Fix Delayed Apps Notifications

    - Add ALL APPS to the Sleeping apps list
    - Add ALL APPS to the Deep sleeping apps
    - Add ALL APPS to the Never sleep apps
    - Remove all the apps from all the lists.

    Fix Fingerprint Experience

    - Fingerprint always on: ENABLED
    - Show animation when unlocking: DISABLED
    - Show unlock transition effect: DISABLED
    - Set battery usage to "Unrestricted" for "com.samsung.android.biometrics.app.setting".

    Magic Fix (Mysteriously fixes a lot of stuff)

    - Settings, Apps, RESET APP PREFERENCES

    Unlock More Gallery Features

    - Go to Gallery App, Settings, About.
    - Tap version number multiple times
    - You'll find more options under "Labs"

    Unlock More WIFI Features

    - Go to Settings App, 3 dots, Intelligent Wifi.
    - Tap version number multiple times
    - You'll find more options under "Labs"

    V - USEFUL LINKS

    ADB AppControl ZIP FILE

    Updated Preset for Stable and light Debloat (OneUi 6.1)

    Review before Applying

    I'm also testing removing a few more apps as test but i'll have to give it time before publishing.
    3
    com.samsung.petservice 🤔

    Useless if you don't use Samsung/ST brand pet cam.
    3
    I uninstalled a few packages, then screen freezes and I had to force restart and now stuck on samsung logo.

    is there any way to solve this issue.

    My phone is SM-N976Q.
    You probably uninstalled your keyboard (honeyboard), that's the only package that ever put me in a bootloop.

    Try putting your device in Download mode and see if your PC is able to recognize it, if so you can reinstall your packages via ADB.

    But we can't know for sure unless you post a list of what you uninstalled.
    Actually no, Honey (Keyboard) doesn't cause bootloop as i always uninstrall it. But a few packages do like device services, AOD or else. Sadly you'd have to factory reset
  • 191

    THIS IS A SUGGESTED CONFIGURATION FOR SAMSUNG DEVICES

    I - RECOMMENDED SETTINGS

    To Start With

    - Backup everything to Google Cloud/Samsung Cloud and Copy files to PC
    - Factory Reset is RECOMMENDED (At least after every major update OneUI/Android)
    - Remove SIM before first boot
    - Follow setup OFFLINE (DON'T restore anything during setup)
    - DON'T use Smart Switch
    - Reboot, insert SIM then continue setup online.

    System Settings

    - Auto-Rotate: DISABLED
    - Notification Bubbles: DISABLED
    - Notification History: DISABLED
    - Synchronization: DISABLED (when not in use).
    - Location: DISABLED (when not in use).
    - Display Resolution: FHD/1080p
    - Advanced features: ALL DISABLED
    - Motions and Gestures: ALL DISABLED
    - Auto download System Update over Wi-Fi: DISABLED
    - Bluetooth Scanning (Location services): DISABLED
    - Usage & Diagnostics: DISABLED
    - Advertising ID: RESET & DELETE
    - System Sound/Vibration feedback: OFF
    - Always On Display (AOD): DISABLED
    - Dark Mode: SCHEDULED ENABLE

    - RAM PLUS: DISABLED
    - Trust Agent: DISABLED
    - Suggestions/Recommendations: ALL DISABLED.

    Battery Settings

    - Sleeping Apps: All apps except apps you need instant notifications from.
    - Put unused apps to sleep: ENABLED
    - Auto optimization: ENABLED
    - Adaptive Battery: DISABLED

    Google Settings

    - Nearby connections: DISABLED
    - Ads Preferences : DISABLED
    - Devices: DISABLED
    - Nearby Share: DISABLED (when not in use).
    - Nearby Share Notification: DISABLED

    Accessibility Settings

    - Reduce transparency & Blur: ENABLED

    Developer Options:

    - Background Check: DISABLED
    - Animation scale (3 entries) : x0.5
    - Wi-Fi Scan Throttling: Enabled
    - Logger Buffer Sizes: OFF
    - Predictive Back Animations: ON

    Camera Settings

    - Turn off location tags and location permission for the camera app.
    - Move all camera modes to the "More" section.
    - Advanced Intelligence : MAXIMUM
    - Scene optimizer: OFF
    - Face Beautification: DISABLED
    - Video Stabilization: DISABLED
    - Video Resolution: FHD30
    - High Bitrate Video : ENABLED
    - Auto night mode: OFF
    - Auto FPS: ON
    - Grid: ON

    Camera Assistant Settings (DOWNLOAD HERE)

    - 2x Crop Zoom Shortcut : ENABLED
    - Auto HDR: ENABLED
    - Picture Softening: OFF
    - Auto lens switching: DISABLED
    - Distortion Correction : ENABLED
    - Adaptive Pixel : ENABLED
    - Upscale Digital Zoom : ENABLED
    - Quick Tap Shutter: ENABLED
    - Prioritize Focus over Speed : DISABLED
    - Video recording in Photo Mode: DISABLED
    - Camera Timeout: 1 Minute
    - Dim Screen While Recording: 1 Minute

    Google Play Store Settings

    - Google Play Protect: DISABLED
    - AutoPlay: DISABLED
    - Auto Update Apps: DISABLED
    - App Installation Optimization: DISABLED

    Google Chrome Settings

    Settings
    - Page Preloading: DISABLED
    Chrome Flags
    - Smooth Scrolling: ENABLED
    - Parallel Downloading: ENABLED

    Social Media Apps Settings

    - Theme: AMOLED/DARK
    - AutoPlay videos: DISABLED
    - Log out of all Old sessions.
    - Delete old logged in devices.

    II - GENERAL FIXES

    Diagnose Your Problem

    - Go to Device care, battery, check your battery usage. If nothing shows, it's a battery leak.

    Fix Battery Leak (IMPORTANT)

    Go to Permission Manager, enable "Show system apps"
    - Check for any excess permissions like Location, camera or nearby devices.
    - Special Access Permissions under settings, apps like Turn Screen On.

    Calibrate Your Battery (Every 2-3 Months)

    - Use your phone normally till it dies off automatically.
    - Plug it into the charger and leave it charging for 2h while it's still off.
    - Turn it on then unplug your phone and use it normally until it dies again.
    - Plug it into the charger and leave it charging for 2h while it's still off.
    - Turn it on and unplug it, enjoy

    Fix Google Apps Battery drain

    Go to Settings, Apps. Enable "Show system apps" then look for each of:
    - Google Play Store
    - Google Services Framework
    - Google Play Services
    - Android System WebView"
    Uninstall Updates, Clear data & Cache, Force Stop, Reboot, update and follow setup.

    Fix Camera Experience

    - Wipe Data & Cache, reboot to Safe mode, do it again, then reboot normally.

    Fix OLED Burn-in/Ghosting

    - Download LCD Burn-in Wiper
    - Disable Auto-brightness & set Brightness to 100%
    - Leave on for at least 1 hour

    Fix Speaker crackling

    - Download Speaker cleaner
    - Set your volume to max
    - Put your phone face down & launch

    Remove Ads System-Wide

    Go to settings, connections, more connections settings, look for Private DNS.
    Set this Address "dns.adguard-dns.com"
    - Close all apps then reboot.

    III - SAMSUNG FIXES

    Fix General Performance

    - Boot into recovery
    - Clear cache partition
    (x3)
    - Repair apps.

    Fix One UI Lag

    Set RAM PLUS to DISABLED

    Fix UI Frame Drop/Stutter

    Settings, Apps, check "Show System Apps", and search:
    - Gesture Set battery to "UNRESTRICTED".
    - Always-on Display Clear App Data & Cache (Will clear lock-screen customizations).

    Fix Refresh Rate Lag

    Settings, Display, Motion Smoothness.
    - Set it to Standard, reboot, Set it back to Adaptive

    Fix Delayed Apps Notifications

    - Add ALL APPS to the Sleeping apps list
    - Add ALL APPS to the Deep sleeping apps
    - Add ALL APPS to the Never sleep apps
    - Remove all the apps from all the lists.

    Fix Fingerprint Experience

    - Fingerprint always on: ENABLED
    - Show animation when unlocking: DISABLED
    - Show unlock transition effect: DISABLED
    - Set battery usage to "Unrestricted" for "com.samsung.android.biometrics.app.setting".

    Magic Fix (Mysteriously fixes a lot of stuff)

    - Settings, Apps, RESET APP PREFERENCES

    Unlock More Gallery Features

    - Go to Gallery App, Settings, About.
    - Tap version number multiple times
    - You'll find more options under "Labs"

    Unlock More WIFI Features

    - Go to Settings App, 3 dots, Intelligent Wifi.
    - Tap version number multiple times
    - You'll find more options under "Labs"

    V - USEFUL LINKS

    ADB AppControl ZIP FILE
    42

    LEVEL 1 OPTIMISATIONS POST

    USE AT YOUR OWN RISK // READ CAREFULLY BEFORE APPLYING
    Edit parameters/values to your liking, save the file, rename .txt file to .bat and launch from ADB Folder to apply all.
    - ADB: Applies all ADB optimisations (Edit before launching if you don't want your phone's name to be H-banGG 😂)
    - Clear Cache: Cleans all residual files for All Apps.
    - Boost Battery: Applies Dexopt Job - Remediation Process - Works only at 100% charge.


    *Please like this post so that it's easier to retrieve for everyone*
    Feel free to checkout : LEVEL 2 OPTIMISATIONS POST (#6,477)
    26
    I have (had) so much going on lately , its been a busy day that i almost forgot to share my settings , i'm so sorry. so yeah i hate to say this , but this post would look like a thread within a thread , just as i said earlier it is quiet a lot , i use almost all the "Recommended Settings" stated in the OP so these are just some "adjustment" & a little bit of addition that i choose based on my personal preferences .
    so here it is :
    S21+ > One UI 4.1
    5% battery/hour of Screen On Time
    - APPS -
    247 apps Uninstalled
    196 apps Installed (system & 3rd party)
    56 out of 196 apps are Disabled (system & 3rd party)
    Stable & No Bugs (so far) | No Heat
    Missing features that i notice are : Bixby , NFC , Quick Share & Galaxy Wearables
    ( the apps list in the preset are including 3rd party apps , if you see some unknown package name please skip it )

    Some adjustment are in regards to these matters :
    Battery life , UI smoothness & My personal preferences (feel free to adjust it to your own preferences)
    - Wallpaper : in the attachment > my phone screen looks almost completely black it helps to reduce battery consumption
    - Color Pallete : only 2 colors black & grey > it is all because of my wallpaper
    - I keep my home screen as clean as possible , no widget , only 2 apps Phone & Settings
    - Find my device : Off
    - Face recognition : Off
    - Fingerprint : Off
    - Settings > Data usage > Data saver On
    - I left Auto restart at set times disabled i restart my device manually only when it is necessary
    - I use Samsung Internet Browser instead of Chrome , it has better dark mode , UI , privacy , customization & consume less power
    - Advance Features/Gestures : Double tap to wakeup , Double tap to sleep , Swipe screen for screenshot
    - I keep System UI & One UI home battery setting unrestricted
    but changed the Android System & Samsung Keyboard battery setting to optimized
    this was in the OP before.
    - All 'Gestural Navigation Bar' apps battery setting are set to restricted , i use buttons for navigation bar
    - SmartFPSAdjuster app battery setting set to unrestricted
    - Camera app battery setting set to restricted
    - I dont use any 'assistant' apps
    - If you have the option to change your screen resolution you might want to change it to FHD+ to save even more battery life
    FHD+ & WQHD will look exactly the same to the untrained eye
    - I have only 2 social media apps installed , Whatsapp & IG
    Whatsapp is the only one that i need an instant push notifications on , so i Disabled Instagram using Package Disabler Pro when its not in use
    - Auto rotate : Off > Only turn it on when necessary
    Or you can do it manually by turning on the Rotate button on navigation bar options.
    - Notifications :
    Advanced settings
    Notification History : Off
    Notification reminders : Disabled
    App icon badges : Disabled
    - Google Settings :
    Autofill
    Autofill with google : Disabled
    Phone number sharing : Disabled
    Sms Verification : Disabled
    Find My Device : Disabled
    - Safety & Emergency :
    Send SOS message : Disabled
    Emergency Location Services : Disabled
    Wireless emergency alerts : Disabled
    - Developer Options :
    Debugging
    Disable adb authorization timeout : Enabled
    Networking
    Wi-fi scan throtling : Enabled
    Tethering Hardware Acceleration : Enabled
    - DumpSys :
    Go to phone > keypad > *#9900# > Delete dumpstate/logcat & Batterystats reset

    - To save even more battery *Optional - Use with caution*
    Developer Options > Quick Settings developer tiles
    Enable Sync , Sensors Off & Window animation scale
    these 3 settings will appear in quick settings panel & you can turn on&off these services from there
    turn off Sync will turn off auto Sync data , so you dont have to go to Settings > Accounts & Backup > Manage account to turn Sycn data off
    turn off Windows will completely disable the windows animation
    turn off Censors will disable your phone censors like gyroscope for example , so auto rotate wont work

    Hidden screen mode settings :
    Head to Settings > Display > Screen mode
    Select 'Natural' from the available options
    Adb Put System | screen_mode_setting 0
    change the value to any number you want to choose
    0 for "AMOLED cinema" 1 for "AMOLED photo" 2 for "Natural" 3 for "Basic" 4 for "Vivid"
    I personally use 0 , if you aim for a battery life go for 0 , 2 or 3 , Stay away from Vivid.
    To apply the changes go to Settings > Display > Screen Mode > Don't select anything just go back
    if you use 0 or 1 the name will be change to AMOLED cinema or AMOLED photo , if you use 3 the change will apply even though the name remain as 'Natural'
    but if you check it , neither Natural or Vivid are selected.
    Why AMOLED cinema : The best one , it is more bright , sharp & colorful than Basic & Natural but not as colorful as Vivid.

    - Optional , but i recommend it
    DNS Adguard is probably one of the best when it comes to blocking Ads on a system-wide , it's free and works without even installing any software to your phone , but it might causing more battery consumption , im not sure ,
    the theory is that you need to be connected to their server in order for the blocking to work , it keeps sending a request for any internet activites that occurs on the device that may cause more battery drain , logically a phone that doing nothing will have better battery life than the one that constantly connected to a server but again im not really sure about this ,
    so i decided to install Disconnect Pro For Privacy & Performance , the app is build exclusively for samsung devices , it blocks all trackers , ads & malware through Knox .
    just like Adguard , however , it runs NATIVELY meaning that it has 0 impact on the CPU power & Battery life , it is as good as AdAway which you can only use on a rooted device
    the app also shows you what apps are the source of privacy invasive tracking , Google Play Service is at the top of my list by tracking me more than1000+ times within a day , with this app you dont have to connect to Adguard server at all times , it's in the Galaxy Store for about 40$ , a little bit pricey but it's worth it
    for now i use Adguard DNS only to unblock some blocked internet content when i'm surfing the internet.

    - Adjustment in Adb Optimization settimgs -
    SetEdit is highly recommended when it comes to editing the settings from
    these 3 categories Global/Secure/System

    Put System | lockscreen_minimizing_notification 1
    Put System | lockscreen_show_shortcut 0
    Put System | lockscreen_sounds_enabled 0
    Put Global | boot_count 0 (the value will increase everytime you reboot your device , i personally change the value back to 0 every time it count to 10)
    Put Global | phenotype_boot_count 0 (same as the above)
    -this counter is only logged since your phone has been last factory reset , this data is stored in settings database ,
    wiping data through factory reset is the only way to delete this stored logged data , fortunately i have
    access to adb so i just keep revert the value back to 0 whenever i want , or you can even delete the whole string not only the value ,
    if you dont care about this minor boot data statistic stored in the database then i suggest you to leave it alone .
    but every time the value changed back to 0 the next booting process seems to be much faster ,
    it might be a placebo effect , i dont know , but ive been doing this for about 2 months & no negative effect so far.

    As for the Battery
    Put Global | animator_duration_scale 0.25
    put Global | transition_animation_scale 0.25
    put Global | window_animation_scale 0.25
    - 0.25 is lower than 0.5 , phone feels snappier , no unnecessary animation = less battery drain
    Put System | dim_screen 1
    Put System | screen_brightness 8 (for indoors only , for outdoors you can adjust as you like)
    Put Global | low_power_back_data_off 1
    Put Global | sem_power_mode_refresh_rate 0,0-1,0
    Put Global | sem_power_mode_refresh_rate_cover 0,0-1,0
    - I dont know about these 2 settings , it was there since i use SetEdit to check the Global table
    the value was 0,0-60,0 before , i changed it to 0,0-1,0 out of my stupid curiosity and i get a better battery life ,
    no negative effect so far , i dont know what could happen to your phone if you try this , but i can guarantee you that it won't make your 120hz screen device to run on 1 FPS , you could always change the value back to the default anyway.

    ADAPTIVE BATTERY MANAGEMENT : ENABLED
    Now , this is where things gets really interesting to me .
    my true intention was to get a great battery life while keeping my device performance as good as possible because i play games too.
    and i want my notifications to be uninterrupted by this 'Adaptive Battery' feature because i have Whatsapp too.
    just by looking at the name it is crystal clear that Adaptive Battery may help to extend my battery life , but i have read in many many article that it actually not good for my phone.
    So i just kept turn this feature on & off for a couple of days , and yes my notifications seems a little bit strange , sometimes it comes too late , or even didnt appear at all on my status bar
    it turns out that the feature put my apps into a sleeping state , but i have no issue with my device performance or perhaps it was just unoticed .
    but again i have heard that with Adaptive Battery enabled , the battery will restrict the power that are given to the system so the phone runs worse
    with the feature enabled , but i decided to kept the Adaptive Battery to be enabled then i've come to realize that in Developer Options > Standby apps the 5 state buckets options is only applied if the Adaptive Battery enabled
    while when the Adaptitive Battery was set to disabled all apps was on the Active bucket in Standby apps settings & cannot be change it will remain on Active ( i put the detailed description of every state in the attached file )
    App standby buckets help the system prioritize apps request for resources based on how recently and how frequently the apps are used , Based on app usage patterns, each app is placed in one of five priority buckets
    the system limits the device resources available to each app based on which bucket the app is in.
    as soon as i know about this , i looked to which bucket my Youtube was in , and it was on Active
    based on the description of this Standby state feature , the system doesnt give any resources restriction to my Youtube , but Youtube was in my list of Deep Sleeping Apps in the Device Care battery setting and was closed for a couple of hours i force stopped it.
    at least it should be on the Frequent , Rare or Restricted bucket but it was not ! then my stupid newbie brain was like
    " Okay , these two settings/features are clearly have the same purposes , but they're aren't that related , then why don't i just use BOTH "
    So , for the sake of my battery life , i ENABLED the Adaptive Battery options , put my unused apps to Deep Sleep in the Device Care & put them on the Restricted bucket state in Developer Options.

    Tips : - if you want the app to connect to the internet simply put them on 'Working set' state
    - When you open an app it'll automatically move to the Active state , the system does not give any resource restriction to that app , so if you really care about your battery life just put it back to the Restricted state everytime you close that app , it'll automatically change the state but it takes time , so just do it manually , it took less than 10 seconds for me to do so .

    Yet , i still have something on my mind that bothering me all the time ,
    And yes it was about my notifications and device performance , even though i didn't notice any performance issue on a daily basis activities i still worried about how my device performs in a high processing tasks such as gaming or editing high quality videos
    i can't help it , i need to find the solutions at least my 'own' solutions.
    and this is what i did :

    - Notifications :
    Simply put the app to the Never Sleeping Apps would help , but enabling Adaptive Battery will activate the Standby apps bucket , and if the apps are in the Frequent , Rare & Restricted
    the system will give some restriction for the apps to connect to the internet (according to the description)
    therefore there is a chance that it will interrupt the notifications from the app , FORTUNATELY , you can just stop & prevent the apps from entering the Restricted apps Standby bucket by simply go to Settings > Apps > Choose which app > Set the battery to Unrestricted
    I did it to my Whatsapp , now it's working just fine i got the notifications on time (Please take a look in the attached file)

    - Performance :
    - Game Optimization Service & Game Booster , these two apps have many Permissions that may ruining my device & game experience
    for example : both apps have a SET_PROCESS_LIMIT permissions there is no point to have this two services , so i just stopped them from running by disabling them with Package Disabler Pro.
    I dont uninstall them i'm afraid that it would left my phone unstable.

    - I installed Thermal Guardian , part of Good Guardian app , the app lets you control your Thermal Threshold , i choose to have a higher thermal limit it can increased the limit for up to 2°c which is the maximum allowed by this app , +2°c is not a big deal but still boost the performance and helps to maintain it when the device gets a little bit warm .

    - Put Global | enhanced_processing 1
    - Put Global | restricted_device_performance 0,0
    - Put Global | sem_enhanced_cpu_responsiveness 1

    We all know what these 3 settings do to our device , FORTUNATELY enough
    enabling the Adaptive Battery doesn't change the value of these settings .

    Phone runs smooth , even better than when i first bough the phone , battery life is amazing , no performance issue , never heat up even when i do some multitasking stuff , the only time it gets a little bit warm is when playing Mobile Legends (moba game just like Dota , beautiful graphic , very popular here in Asia) and the warm is very acceptable.

    If i'm right , then my phone is running on the Peformance Mode all the times with no battery drain whatsoever while Adaptive Battery setting set to ENABLED so that i have access to the Standby apps feature in Developer Options & get even more settings to extend my battery life .

    If i'm wrong , then i don't know what sorcery is this .

    1 thing that i learned , every changes & adjusments take times to shows its results . For example : when i disable RAM plus & GOS for the first time , right after the phone was rebooted , it feels worse , much much worse , my UI was a little bit lagging/stuttering , the temperature feels hotter than before , the battery seems to be drain much faster , but what i did was just use my phone as usual , charge my phone as usual , give it some time to adapt to the new settings , as the time goes by it gets better , it keeps getting better & better & now all works great as i wanted.
    19

    LEVEL 2 OPTIMISATIONS POST

    USE AT YOUR OWN RISK // READ CAREFULLY BEFORE APPLYING
    - TestPRESET: Experimental Debloat Preset (Load in ADB AppControl)
    - TEST ADB: Experimental ADB Commands List (Rename to ".bat" & Run from ADB Folder)


    *Please like this post so that it's easier to retrieve for everyone*
    Feel free to checkout LEVEL 1 OPTIMISATIONS POST (#5966)
    16
    Epic! Please describe all of the ADB commands you followed?
    I did however, follow all the ADB commands that are suggested in OP. I'm running on FHD+, Adaptive Motion Smoothness (via Galaxy Max Hz app), Processing speed set to Optimized. Enabled CPU Responsiveness, enabled performance limit. I know it sounds crazy, but I get the best of both worlds with the performance limit ON and CPU Responsiveness ON, the phone is insanely fast and battery is great. I tried different combinations and this has been my best result in terms of battery life and I'm still at 42%. My benchmarks are still 1200, 3400.

    No power saving. No adaptive power saving. Adaptive battery off. No adaptive brightness. I have a bunch of apps in sleep and deep sleep. Mostly WiFi since I work remotely and some light LTE usage. I turned off 5G. I manually set RAM Plus to 1GB. Dark Mode and my Location are on at all times.

    S22 Ultra US Unlocked Snapdragon 512gb.

    Here are all the commands I used:

    2 - Disable Background Scanning​

    - adb shell settings put global ble_scan_always_enabled 0
    - adb shell settings put system nearby_scanning_enabled 0

    3 - Unlock RAM Plus Configurations​

    - adb shell settings put global ram_expand_size_list 0,1,2,4,6,8,12,16
    Reboot then go to settings and set RAM Plus to 1GB.

    5 - Disable Motion Engines​

    - adb shell settings put system master_motion 0
    - adb shell settings put system motion_engine 0
    - adb shell settings put system air_motion_engine 0
    - adb shell settings put system air_motion_wake_up 0

    7 - Disable User Manual​

    - adb shell settings put global online_manual_url 0

    8 - Extra battery​

    - adb shell settings put global app_standby_enabled 1
    - adb shell settings put system mcf_continuity 0

    IV-B - EXTREME BATTERY OPTIMISATION

    3 - Enable Performance Limit​

    - adb shell settings put global restricted_device_performance 1,1

    IV-P - EXTREME PERFORMANCE OPTIMISATION

    2 - Enable Improved App Responsiveness​

    Changing processing speed in settings disables this
    - adb shell settings put global sem_enhanced_cpu_responsiveness 1