Search This thread

wilsonbstian

Member
Mar 17, 2022
15
4
Some of these tweaks are shared with my other thread:
Google Pixel Optimization Guide

RECOMMENDED SETTINGS

To Start With

- Factory Reset.
- Follow setup OFFLINE (DON'T restore anything during setup)
- Restart
- Add your account from settings app, then continue setup
- DON'T use Smart Switch

System Settings

- Adaptive Battery: DISABLED.
- Synchronization: DISABLED (turn it off again when not in use).
- Location: DISABLED (turn it off again when not in use).
- Advanced features/Gestures: DISABLED
- Auto download System Update over Wi-Fi: DISABLED
- Auto optimize daily: ENABLED
- Auto restart at set times: ENABLED
- Bluetooth Scanning (Location services): DISABLED
- Usage & Diagnostics: DISABLED
- Advertising ID: DELETE
- System Sound/Vibration Control: ALL OFF
- Network Mode: 2G/3G/4G
- Always On Display (AoD): DISABLED
- System-Wide Dark Mode: ENABLED

Background Usage Limits

- Put unused apps to Sleep: DISABLED
- Sleeping Apps: All apps except apps you need instant notifications from.
- Deep Sleeping Apps: All your inactive apps.

Google Settings

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

Accessibility Settings

- Reduce transparency & Blur: ENABLED

Developer Options:

- Background Check: DISABLED
- Multicore Packet Scheduler: DISABLED
- Suspend execution of Cached apps (under developer options): ENABLED
- Animation scale (3 entries) : x0.5
- Bluetooth AVRCP Version: 1.6
- Bluetooth MAP version: 1.4

RECOMMENDED FIXES

Battery Calibration

- Use your phone normally till it turns 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, unplug it, enjoy

Fix General Battery Leak

- Go to Permission Manager, check for any excess permissions, especially hardware like location, camera or nearby devices.

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", "Chrome"
"Google Android System WebView"
"Google App".
- Clear data & cache
- Uninstall Updates
- Force Stop
- Reboot, let them update and follow setup.

Fix Camera Experience

- Uninstall updates from App Info page
- Wipe Data & Cache of Camera app, reboot to Safe mode, do it again, then reboot normally.
- Turn off location tags, and location permission for the camera app.
- Move all camera modes (portrait, food, etc ..) to the "More" section.
- Video Stabilization: DISABLED

Fix Google Play Store Experience

Under Google Play Store settings
- Autoplay: DISABLED
- Auto Update Apps: DISABLED
- App Install Optimization: DISABLED

Fix Google Chrome

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

Fix Social Media Apps

- Theme: AMOLED
- Autoplay videos: DISABLED
Under security
- Log out of all Old sessions.

Fix Spotify Battery Drain

- Under settings, turn off "Spotify connect in the background"

Remove Ads System-Wide

Go to settings, connections, more connections settings, look for Private DNS.
- Set: dns.adguard.com as custom dns & save.
- Close all apps then reboot.

Fix OLED Burn-in/Ghosting

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

Fix Speaker crackling

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

SAMSUNG RECOMMENDED FIXES

Fix General Performance

- Boot into recovery
- Clear cache partition

- Repair apps.

Fix OneUI Lag

Go to Settings, Apps. Enable "show system apps" then look for each of:
"OneUI Home", "Your Keyboard", "Android System", "System UI", & all the "Gesture" apps.
- Under app info, Battery, set to UNRESTRICTED

Fix UI Frame Drop/Stutter

Settings, Apps, show system apps.
- Clear App Data & Cache of "Always-on Display"

Fix Slow App Launch

- Download & install latest versions of Galaxy App Booster & Samsung Good Guardians.
- Launch Good Guardian & select Galaxy App booster
- Launch it and leave your phone till it's done.

Fix Fingerprint Experience

Go to Settings, Biometrics and security, fingerprints:
- Turn on "Fingerprint always on"
- Turn off "Show animation when unlocking"
Go to Settings, Biometrics and security, more biometrics settings:
- Turn off "Show unlock transition effect"
Under Settings, Apps.
- Set battery usage to "Unrestricted" for "com.samsung.android.biometrics.app.setting".

Unlock More Gallery Features

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

DEBLOAT

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

!!DISCLAIMER!!

- The preset has been tested by me and other users, you will NOT get a boot loop.
- This preset contains the list of ALL APPS THAT CAN BE REMOVED
- You don't have to remove all of the apps in the preset bellow.
- Inspect all what's going to be removed then unselect apps & features you need.
- You can always go to "Uninstall" section of AppControl and restore the apps you need.
- Keep in mind that deleted apps stay in the phone and will all be restored after factory reset.
-
Restore all apps before updating your phone

How to

In AppControl
- Load attached preset to "System" tab.
- Scroll though all the selected apps and uncheck the apps you want to keep.
- Apply Uninstall (with wipe app data checked automatically).
- Restart your phone, then apply the after update section of tweaks bellow.

RECOMMENDED ADB OPTIMIZATIONS

#BACKUP YOUR SETTINGS FIRST

- adb devices
- adb shell settings list global > global_stock.txt
- adb shell settings list system > system_stock.txt
- adb shell settings list secure > secure_stock.txt
If you want to check parameter's state, replace "put" with "get" and remove value.
Ex: For "animator_duration_scale"
- adb shell settings get global animator_duration_scale

Improve Display Performance

- adb shell wm reset
- adb shell settings put system screen_auto_brightness_adj 1.0
- adb shell settings put system peak_refresh_rate 120.0
- adb shell settings put system min_refresh_rate 1.0
- adb shell settings put global window_animation_scale 0.4
- adb shell settings put global transition_animation_scale 0.4
- adb shell settings put global animator_duration_scale 0.4

Improve Power Management

- adb shell settings put global cached_apps_freezer enabled
- adb shell settings put global app_standby_enabled 1
- adb shell settings put global adaptive_battery_management_enabled 0
- adb shell settings put secure long_press_timeout 250
- adb shell settings put secure multi_press_timeout 250
- adb shell settings put global app_restriction_enabled true
- adb shell settings put system intelligent_sleep_mode 0
- adb shell settings put secure adaptive_sleep 0

- adb shell settings put system multicore_packet_scheduler 1

Disable Google Stuff

- adb shell settings put secure smartspace 0
- adb shell settings put secure systemui.google.opa_enabled 0
- adb shell settings put system gearhead:driving_mode_settings_enabled 0
- adb shell settings put global hotword_detection_enabled 0

Disable Gestures

- adb shell settings put global ambient_enabled 0
- adb shell settings put secure aware_enabled 0
- adb shell settings put secure doze_enabled 0
- adb shell settings put secure double_tap_to_sleep 0
- adb shell settings put secure double_tap_to_wake 0
- adb shell settings put secure double_tap_to_wake_up 0
- adb shell settings put system lift_to_wake 0
- adb shell settings put secure hush_gesture_used 0
- adb shell settings put secure volume_hush_gesture 0
- adb shell settings put secure silence_gesture 0
- adb shell settings put secure skip_gesture 0
- adb shell settings put secure wake_gesture_enabled 0
- adb shell settings put secure one_handed_mode_activated 0
- adb shell settings put secure one_handed_mode_enabled 0
- 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

Disable Sound & Vibration Feedback

- adb shell settings put global power_sounds_enabled 0
- adb shell settings put secure charging_sounds_enabled 0
- adb shell settings put system charging_vibration_enabled 0
- adb shell settings put system lockscreen_sounds_enabled 0
- adb shell settings put system sound_effects_enabled 0
- adb shell settings put system dtmf_tone 0
- adb shell settings put system haptic_feedback_enabled 0
- adb shell settings put system haptic_feedback_intensity 0
- adb shell settings put system hardware_haptic_feedback_intensity 0
- adb shell settings put system media_vibration_intensity 0
- adb shell settings put system notification_light_pulse 0

Improve Vibrations

- adb shell settings put system vibrate_when_ringing 1
- adb shell settings put system ring_vibration_intensity 3
- adb shell settings put system notification_vibration_intensity 3

Disable Screen Saver

- adb shell settings put secure screensaver_enabled 0
- adb shell settings put secure screensaver_activate_on_sleep 0
- adb shell settings put secure screensaver_activate_on_dock 0

Enable Progressive Ringtone

- adb shell settings put global apply_ramping_ringer 1

Disable Samsung Cross-Device Sync

- adb shell settings put system mcf_continuity 0
- adb shell settings put system mcf_continuity_permission_denied 1
- adb shell settings put system mcf_permission_denied 1

RAM Plus Configurations

- adb shell settings put global ram_expand_size_list 0,1,2,4,6,8,12,16
Reboot and select desired RAM PLUS size from Settings, Battery section.

RECOMMENDED AFTER UPDATE

Optimise Battery

- adb shell cmd package bg-dexopt-job

Clear All Apps Cache (Enter multiple times)

- adb shell pm trim-caches 999999999999999999 (multiple times)

Force Stop Apps

- adb shell am force-stop com.package.name (Create .bat file containing all packages)


#I'M NOT RESPONSIBLE FOR ANY DAMAGE CAUSED TO YOUR DEVICE
Help please, my keyboard clipboard arent working anymore, which app to reinstall????
 

Hamid Chikh

Senior Member
Nov 15, 2016
2,734
1,892
Oran, Algeria
Samsung Galaxy S22
Why did you decide to switch back to S22 and now wait for Pixel 7? I think about swapping my s21 and trying out the pixel 6
Pixel is too stable, got kinda lame with time. With S22 i have more room to play with by tweaking and improving. Pixel 6 has a perfect battery, perfect camera, and that's all i need, but i can work on S22 to try and make it better (i know it'll never be pixel 6)
 

AndroidWars

Senior Member
Sep 5, 2014
215
147
S10+ Exynos, All Day 4G on, almost 8 hour SOT with 54 minute gaming... Nice battery life
 

Attachments

  • Screenshot_20220817-191757_Device care.jpg
    Screenshot_20220817-191757_Device care.jpg
    669.3 KB · Views: 54
  • Like
Reactions: Hamid Chikh

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