Samsung Galaxy Optimization Guide (Battery/Performance/Stability/Heat)

Search This thread

Hamid Chikh

Senior Member
Nov 15, 2016
1,935
1,264
Oran
www.youtube.com
Samsung Galaxy S22
Can someone explain what all functions would be disabled by doing these commands? I tried googling it but could only find general stuff.

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
Some spen stuff
 

Hamid Chikh

Senior Member
Nov 15, 2016
1,935
1,264
Oran
www.youtube.com
Samsung Galaxy S22
Good afternoon!

Are these recommendations still relevant for improving system performance and smoothness? And if relevant, then why don't you add these procedures to the main topic?

And which applications\services\services (except game services) have the greatest impact on system performance and smoothness?

For myself, I highlighted the following:

com.samsung.android.game.gos
com.samsung.android.game.gametools
com.sec.android.smartfpsadjuster
com.wssyncmldm
com.sec.android.soagent
Those are no longer relevant
 
  • Like
Reactions: DonKarleon95

Hamid Chikh

Senior Member
Nov 15, 2016
1,935
1,264
Oran
www.youtube.com
Samsung Galaxy S22
Today I had an intensive day and when I say intensive I really mean intensive. So I recorded ALOT and played some games and looked on instagram twitter etc
I couldnt get past 4h sot. Keep in mine that every time the phone heats up it just eats alot of battery and thats like the Main reason for this low sot
If they ve provided a good cooling solution we ve got an impressive battery/performance. But what can I say?samsung really digged their grove this time
That's because you still haven't followed my guide fully, although you're the most ranting here
 

NozGojira

Senior Member
Jan 20, 2020
227
190
Hi Sir. I used to disable all your preset ('My Preset') but end I ended not connecting in the Wifi and heats up my phone. Is there something wrong with what i did
Strange. wifi is never connected on all apps on list. What is your phone? Try restore them all again then reboot. Then go system tab on adbapp then load the presets.
 
  • Like
Reactions: Hamid Chikh

grayson73

Senior Member
Jan 11, 2011
289
36
Potomac
When I go to Settings > Battery and device care and click on "Storage", it tries to go to another screen but doesn't. Do you know what needs to be re-installed? Tapping on "Battery" and "Memory" works.
 
  • Like
Reactions: Furious Froyo

Top Liked Posts

  • 3

    SCRIPTS HAVE BEEN ADDED TO OP!

    Great surprise everyone, Just change the file extension to .bat and execute from ADB folder, you're welcome
    1
    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
    1
    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)
    1
    S10+ Exynos, All Day 4G on, almost 8 hour SOT with 54 minute gaming... Nice battery life
  • 13

    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.
    4
    Hello,

    i think its Off Topic.. but i have called with an Samsung Guy because my batter is draining so much with my S22 Ultra. He have found out that a service called IMS Service draind my battery.. in App Info i have here an value from 12% used since last full recharge, and i think thats why i can see this service kill my battery.. is this service necessary? i don't want to make calls via LTE etc..

    thanks for help :)
    IMS is a general-purpose, open industry standard for voice and multimedia communications over packet-based IP networks. It is a core network technology, that can serve as a low-level foundation for technologies like Voice over IP (VoIP), Push-To-Talk (PTT), Push-To-View, Video Calling, and Video Sharing.

    Arguably, IMS suppose to be a good thing. It is required for SIP over 4G, which is digital voice, or VOLTE. Conventional voice calls are made over 4G but fall back to 3G for the voice component. To create greater bandwidth for digital protocols, with 3G pretty much eliminated for use in cellular telephone, and might be reserved for low-bandwidth, legacy IoT communication in critical applications such as security, medical, seismic, mining, remote control, and emergency alert, including 911, 311, 988 services.

    Sometime this year - if not already, no cellular device lacking IMS will register on any US nationwide carrier network. Some countries are now forcing devices to have IMS.

    N.B.: Even though it's not a Samsung property - I do not recommend removing/disabling this.
    4
    If you want a striped out Samsung you can go nuts and disable every apk in sight but I don't see a good reason to do this for most users.
    Case in point, Finder uses no resources unless used. It's a very useful app when you need it.
    Screenshot_20220721-083150_Package Disabler Pro.jpgScreenshot_20220721-082747_Settings.jpg

    Target the power and resource hogs that serve you no purpose. Dependencies... are there any for the apk you're killing?
    Otherwise you'll at the best you'll spend a lot of time back stepping, at the worst never realize some of the devices capabilities or ease of operation.
    If you have hundreds of disabled apks, you likely killed a lot of useful features.
    3
    Cloudflare 1dot1dot1dot1.cloudflare-dns.com
    OpenDNS (Cisco)*: dns.opendns.com
    Quad9 DNS (IBM): dns.quad9.net
    Mullvad doh.mullvad.net

    -- Not to be left out of the equation
    p3.freedns.controld.com
    dns.oszx.co
    dns.nextdns.io
    dot.nl.ahadns.net
    dot.ny.ahadns.net
    dns.decloudus.com
    dnsforge.de
    dot-de.blahdns.com
    dot-fi.blahdns.com
    dot-ch.blahdns.com
    uk.adhole.org
    us-east.adhole.org
    d6fa62.dns.nextdns.io

    N.B.: Just to name a few...
    3

    SCRIPTS HAVE BEEN ADDED TO OP!

    Great surprise everyone, Just change the file extension to .bat and execute from ADB folder, you're welcome
  • 119
    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
    13
    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
    13

    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.
    12
    NO BLOATWARE REMOVED. I reinstalled all the bloatware I previously removed and then updated my phone to One UI 4.1 AVC8. This is with no bloatware removed, so imagine what it'll be when I disable over 100 system apps.

    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.

    I think the adb commands help more than debloating the phone based on my results.

    S22 Ultra US Unlocked Snapdragon 512gb.
    11

    I made the switch to Google Pixel 6 today

    Pretty sure @Dj daudi , @Kris_b1104 and the others are plenty capable of answering all th questions. I'll make a modified copy of this thread for Pixel too. Good bye guys, take care of this thread for me.