Search This thread

Hamid Chikh

Senior Member
Nov 15, 2016
2,734
1,892
Oran, Algeria
Samsung Galaxy S22
  • Like
Reactions: caingatcarl

Emre67511

Senior Member
May 28, 2016
157
39
I know this isn't a thread to boost benchmark scores as I obviously see it as a placebo score as every benchmark test app gives you different scores. I'm just been wondering why I hear many people here have scores well over 1100/3400 I'm trying to figure out what's at fault for such a crappy experience and why no matter what I've done I always end up getting performance decreases. And scores show well below 600/2500. If I've done everything I can possibly due to minimize lag and optimizations aren't working I can only blame hardware failure even at a stock level with no optimizations or bloat removed I still have performance failure. My partner experiences no lag whatsoever and he doesn't have his device optimized or debloated. I don't game much, my thing is multitasking and being able to run multiple apps at the same time without experiencing issues with performance drops and lag issues. I've had no issues on a OnePlus phone. This is ridiculous. The phone completely burns itself out it gets extremely hot. Even my first phone did the same with the same horrible heating and performance drops out of nowhere with lag following the drop. I can't blame software updates cause each update is the same problem over and over. Remember each time warranty sends a phone its refurbished so technically it's another person's problem when they get the phone. I just hope the next won't have a heating issue.

Google "silicon lottery" that explains your questions.

In short: two identical cpus are never the same and one can be way weaker than the other
 

sudhanshugrover

Senior Member
Oct 16, 2013
55
10
On my S20 FE 5g (android 12, Sept update)
When I try to run "adb shell pm bg-dexopt-job", adb gives me a message saying 'Failure'

Any idea why that might be happening?
 
Aug 28, 2019
29
8
Lowest refresh rate supported is 48 on some rare situations, so you're fine

Fix Lag & Improve Performance​

adb shell settings put system min_refresh_rate 1.0
adb shell settings put system peak_refresh_rate 120.0 #Any other value locks RR to 60hz
adb shell settings put global ram_expand_size 0
adb shell settings put global sem_enhanced_cpu_responsiveness 1
adb shell settings put global system_capabilities 100
@Hamid Chikh

now I do not understand, how does this relate to this?​

after entering the above commands, what is the minimum and maximum refresh rate after all?
 

caingatcarl

Senior Member
Jul 6, 2022
74
41
Thank you, but those aren't the ones I'm interested in. Can you try searching "dynamic" ou "photo" or even "picture" please ?
Secure
"number": 10000,
"package_name": "com.samsung.android.dynamiclock:1",
"recover_data": {
"clock": -1,
"clock_state": -1,
"notification_visibility": -1,
"notification_origin": -1,
"notification": -1,
"shortcut": -1,
"shortcut_state": -1,
"wallpaper_dynamic": -2,
"wallpaper_dynamic_sub": -2,
"wallpaper_source": -1,
"wallpaper_source_sub": -1,
"wallpaper_type": -1,
"wallpaper_type_sub": -1
},
"time_stamp": 0,
"time_stamp_list": [
0,
0
],
"which": 0
},
{
"number": 10010,
"package_name": "com.samsung.android.dynamiclock:2",
"recover_data": {
"clock": -1,
"clock_state": -1,
"notification_visibility": -1,
"notification_origin": -1,
"notification": -1,
"shortcut": -1,
"shortcut_state": -1,
"wallpaper_dynamic": -2,
"wallpaper_dynamic_sub": -2,
"wallpaper_source": -1,
"wallpaper_source_sub": -1,
"wallpaper_type": -1,
"wallpaper_type_sub": -1
},
"time_stamp": 0,
"time_stamp_list": [
0,
0
],
"which": 0
},
{
"number": 10020,
"package_name": "com.samsung.android.mateagent",
"recover_data": {
"clock": -1,
"clock_state": -1,
"notification_visibility": -1,
"notification_origin": -1,
"notification": -1,
"shortcut": -1,
"shortcut_state": -1,
"wallpaper_dynamic": -2,
"wallpaper_dynamic_sub": -2,
"wallpaper_source": -1,
"wallpaper_source_sub": -1,
"wallpaper_type": -1,
"wallpaper_type_sub": -1
},
"time_stamp": 0,
"time_stamp_list": [
0,
0
],
"which": 0
}
],
"version": 3

pref_dynamic_plugin_connected=0
pref_dynamic_plugin_version=3100

@Hamid Chikh that's all i found from all the keyword you suggest sir. Only the "dynamic" word matched the result from searching thru Secure
 
  • Like
Reactions: Hamid Chikh

sapanag

Senior Member
May 11, 2022
163
171
Some would argue that the command is no longer needed in Android 12. If you are rooted, you can use Advanced Charging Controller and change the charging switch with the ACCA App.

Of course, YMMV.
Code:
 "battery/op_disable_charge 0 1 battery/input_suspend 0 0"
 
 disable "auto loop charging switch"
Nope nope. M not rooted. This command worked like a charm until beta 3. Will try to find what changed in beta4
 
  • Like
Reactions: rodken

Hamid Chikh

Senior Member
Nov 15, 2016
2,734
1,892
Oran, Algeria
Samsung Galaxy S22
Some would argue that the command is no longer needed in Android 12. If you are rooted, you can use Advanced Charging Controller and change the charging switch with the ACCA App.

Of course, YMMV.
Code:
 "battery/op_disable_charge 0 1 battery/input_suspend 0 0"
 
 disable "auto loop charging switch"
Nope nope. M not rooted. This command worked like a charm until beta 3. Will try to find what changed in beta4
1665080760106.png

Works fine for me
 
  • Like
Reactions: rodken

Top Liked Posts

  • 2

    Software Update (Exynos S22)

    What to expect from latest BVKC update for SGS22 ? It only update CP and CSC, left the same AP and BL as previous BVKB update.
    1
    Chill mate. I was just asking what are the problems if I don't do so
    No idea, i never tried
    1
    Is it mandatory to reinstall all the apps before updating? Because I've reinstalled everything and the phone is slower, laggy and drains more battery. I've read through the thread that it is advisable to do it, but I would like to know more and what happens if I don't reinstall everything
    Some apps will have crash, expecially settings and you can't turn on wifi, 4g, adb, can't swipe status bar, and settings cannot be open. These are the problems in S22 and S22+ caused (sometimes) if u not restore apps, then you are forced to restore and wipe all data.
    1
    Some apps will have crash, expecially settings and you can't turn on wifi, 4g, adb, can't swipe status bar, and settings cannot be open. These are the problems in S22 and S22+ caused (sometimes) if u not restore apps, then you are forced to restore and wipe all data.
    Thanks for the very precise information
    1
    I disabled gos with the method in the video.I gave the app manager adb authorization with wireless debugging without pc. I deleted the apps found OP


  • 23

    ADB OPTIMISATIONS

    Edit parameters/values to your liking, save the file, rename .txt file to .bat and launch to apply all.
    - ADB: Automatically saves your current parameters then applies new ones (Set your own 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 - Doesn't work all the time.
    *Please like this post so that it's easier to retrieve for everyone*

    I'M NOT RESPONSIBLE FOR ANY ISSUE THAT CAN HAPPEN TO YOUR PHONE
    AFTER USING THESE TWEAKS
    21
    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 recources 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 recources 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.
    12

    PRESET UPDATE

    Updated all presets now & fixed Frame Drops and Stability Issues. Less aggressive overall, but ROCK STABLE now.
    How did i proceed, you'd ask ? I passed all the presets thru 3 devices, to only include common apps and avoid system specific apps. S20 SD, S10 Exynos, S22 Exynos.
    - S1 includes apps you can disable natively from system settings, i even included some disposable apps from my old Pixel 6 preset !
    - S2 adds overlays and addons apps.
    - Extreme, as usual, is the most apps removable without affecting system integrity
    10

    The Next Big Thing ... Is Right Around The Corner

    1669059164277.png

    It's like the introduction of the Next Galaxy S series 😂 Anyway, ADB commands coming soon, and A BIG SET of those
    9
    I might post them back if it's this important for you guys. I just wanted to avoid bad press and beginner's faults
    IMO, XDA is a forum for more advanced users. Although it has regular news posts I think the main idea is to share phone mods. Beginners need to expect bad results until they are no longer beginners. That is on them and not on you.
  • 146
    #I'M NOT RESPONSIBLE FOR ANY DAMAGE CAUSED TO YOUR DEVICE
    Some of these tweaks are shared with my other thread:
    Google Pixel Experience - Optimization Guide

    I - RECOMMENDED SETTINGS

    To Start With

    - Factory Reset (RECOMMENDED)
    - 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.

    System Settings

    - Auto-Rotate: DISABLED
    - Notification Bubbles: DISABLED
    - Notification History: DISABLED
    - Screen Mode: Natural
    - Synchronization: DISABLED (turn it off again when not in use).
    - Location: DISABLED (turn it off again when not in use).
    - Display Resolution: FHD/FHD+ 1080p
    - Advanced features: DISABLED
    - Motions and Gestures: DISABLED
    - Auto download System Update over Wi-Fi: DISABLED
    - Bluetooth Scanning (Location services): DISABLED
    - Usage & Diagnostics: DISABLED
    - Advertising ID: DELETE
    - System Sound/Vibration feedback: OFF
    - Network Mode: 2G/3G/4G
    - Always On Display (AoD): DISABLED
    - System-Wide Dark Mode: ENABLED
    - Trust Agent: DISABLED
    - Turn Screen On: DISABLED

    Battery Settings

    - Sleeping Apps: All apps except apps you need instant notifications from.
    - Deep Sleeping Apps: APPS WON'T RECEIVE UPDATES
    - Put unused apps to sleep: DISABLED
    - RAM PLUS: DISABLED
    - Auto optimize daily: ENABLED
    - Auto restart at set times: ENABLED
    - Adaptive Battery: ENABLED.
    - Auto Optimization: ENABLED

    Google Settings

    - Nearby connections: DISABLED
    - Devices: DISABLED
    - Nearby Share: DISABLED (turn it off again when not in use).
    - Nearby Share Notification: DISABLED
    - Location Services: ALL DISABLED

    Accessibility Settings

    - Reduce transparency & Blur: ENABLED

    Developer Options:

    - Background Check: DISABLED
    - Suspend execution of Cached apps: ENABLED
    - Animation scale (3 entries) : x0.5
    - Wi-Fi Scan Throttling: Enabled
    - Bluetooth AVRCP Version: 1.6
    - 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 (portrait, food, etc ..) to the "More" section.
    - Face Beautification: DISABLED
    - Video Stabilization: DISABLED
    - Video Resolution: 4K30

    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
    Under security
    - Log out of all Old sessions.
    - Delete all old logged in devices.

    Spotify Settings

    - Canvas: DISABLED
    - Gapless: ENABLED
    - Normalize volume: DISABLED
    - Device broadcast status: DISABLED
    - Spotify connect in the background: DISABLED

    II - GENERAL FIXES

    Diagnose Your Problem

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

    Fix Battery Leak (IMPORTANT)

    - Go to Permission Manager, enable "Show system apps" and check for any excess permissions, especially hardware like location, camera or nearby devices.

    Calibrate Your Battery

    - 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, calibrate the battery 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, calibrate the battery again 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, let them 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: dns.adguard-dns.com or dns.adguard.com
    - Close all apps then reboot.

    III - SAMSUNG FIXES

    Fix General Performance

    - Boot into recovery
    - Clear cache partition

    - Repair apps.

    Fix OneUI Lag

    In device care, set RAM PLUS to DISABLED

    Fix UI Frame Drop/Stutter

    Settings, Apps, "show system apps", check "Show System Apps"
    - For Gesture Apps & System UI Set battery to "UNRESTRICTED".
    - Always-on Display Clear App Data & Cache.

    Fix Refresh Rate Lag

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

    Fix Battery lIfe

    - Go to Stock Phone App, Dial *#9900#, Delete Dumpstate/Logcat & Batterystats Rreset

    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.
    - You can go back to your old config after this.

    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".

    Fix Samsung Camera (Camera Assistant)

    - Auto HDR: ENABLED
    - Auto lens switching: DISABLED
    - Soften pictures: DISABLED
    - Faster shutter speed: ENABLED

    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 (OneUI 5)

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

    IV - ADB FIXES

    Fix Frame Drops (Limit Minimum Refresh Rate)

    - adb shell settings put system min_refresh_rate 60.0

    Remove User Manual Item from Settings

    - Remove Samsung Internet Browser
    - adb shell settings put global online_manual_url 0

    Speed up Long Press Delay

    - adb shell settings put secure long_press_timeout 250
    - adb shell settings put secure multi_press_timeout 250

    Enable Extra Call Features

    - adb shell settings put system call_extra_volume 1
    - adb shell settings put system call_noise_reduction 1

    Disable Ultra Wide-Band Roaming

    - adb shell settings put global uwb_enabled 0

    V - DEBLOATING

    You're gonna need:
    - ADB AppControl
    - Samsung USB Drivers
    - Latest presets attached at the bottom of this post
    -
    Packages Purpose
    - Enable USB debugging and "Always authorize" on your phone

    !!DISCLAIMER!!
    - Inspect all what's going to be removed then UNSELECT APPS & FEATURES YOU NEED.
    - You can always restore the apps you need under "Uninstall" section.
    - RESTORE ALL APPS BEFORE PERFORMING AN UPDATE.


    - Choose the level of debloating you want to achieve From 1 (Lowest) to Extreme and load preset to "System" tab.
    - Scroll through all the selected apps and uncheck the apps you want to keep.
    - Apply Uninstall (with wipe app data checked).
    - Restart your phone to recovery, clear cache and repair apps.
    - Save your preset for later

    23

    ADB OPTIMISATIONS

    Edit parameters/values to your liking, save the file, rename .txt file to .bat and launch to apply all.
    - ADB: Automatically saves your current parameters then applies new ones (Set your own 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 - Doesn't work all the time.
    *Please like this post so that it's easier to retrieve for everyone*

    I'M NOT RESPONSIBLE FOR ANY ISSUE THAT CAN HAPPEN TO YOUR PHONE
    AFTER USING THESE TWEAKS
    21
    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 recources 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 recources 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.
    16

    THE GOAT IS BACK

    I just switched to S22, i'm back. Expect news shortly
    Exynos S22 here, base model, as always. Also, i'm running Android 13 beta.
    14
    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