[GUIDE] [NO-ROOT] Complete Samsung OneUI Optimization

Search This thread

NozGojira

Senior Member
Jan 20, 2020
209
189
found something, when were goin to WQHD display refresh rate cant set at 96hz it will automatically go down at 60hz. will fo back at 96hz when you return it on FHD display
 
  • Like
Reactions: Hamid Chikh

Hamid Chikh

Senior Member
Nov 15, 2016
1,816
1,149
Oran
www.youtube.com
Google Pixel 6
##### LAST EDITED: 22-01-2021 ##### Features UPDATE
- DELETED Samsung Phone app, replace it with Google Phone app (HD Call).
- DELETED Samsung Messages, replace it with Google messages (RCS features).
- Restored some system apps for network stability.

We're now at:
- 249 Deleted apps
- 2 Disabled apps (uninstalling these will break apps.)
- 161 Kept system apps

PLEASE, MAKE SURE TO APPLY ALL 3 PRESETS TO RESTORE APPS.
ONCE DONE, REBOOT INTO RECOVERY THEN CLEAR CACHE PARTITION AND REPAIR APPS.
 
Last edited:
  • Like
Reactions: WindR

marios199546

Senior Member
Dec 31, 2010
177
89
##### LAST EDITED: 22-01-2021 ##### Features UPDATE
- DELETED Samsung Phone app (doesn't support HD Call), replace it with Google Phone app.
- DELETED Samsung Messages (doesn't support RCS features), replace it with Google messages.
- Restored some system apps for network stability.

We're now at:
- 249 Deleted apps
- 2 Disabled apps (uninstalling these will break apps.)
- 161 Kept system apps

PLEASE, MAKE SURE TO APPLY ALL 3 PRESETS TO RESTORE APPS.
ONCE DONE, REBOOT INTO RECOVERY THEN CLEAR CACHE PARTITION AND REPAIR APPS.
HD call and RCS work on samsung apps. You just removed apps for for this functionality like com.sec.epdg.
 

Hamid Chikh

Senior Member
Nov 15, 2016
1,816
1,149
Oran
www.youtube.com
Google Pixel 6
I personally noticed that S21 doesn't go south of 60hz, even tho it's advertised as 48Hz minimum, only in games, when you enable low fps mode in game tools. This video also demonstrates that in daily use, 48hz could never be achieved. So i decided to set our settings to 60hz instead, which reduces lags and eliminate drop frames.

3 - Limit refresh rate to 96hz (UPDATE)

You can use the console tab in ADB AppControl:
- adb shell settings put system peak_refresh_rate 96.0 #sets high limit to 96hz
- adb shell settings put system min_refresh_rate 60.0 #sets low limit to 60hz
 

bindassever

Member
Mar 1, 2015
47
18
Hi
I personally noticed that S21 doesn't go south of 60hz, even tho it's advertised as 48Hz minimum, only in games, when you enable low fps mode in game tools. This video also demonstrates that in daily use, 48hz could never be achieved. So i decided to set our settings to 60hz instead, which reduces lags and eliminate drop frames.

3 - Limit refresh rate to 96hz (UPDATE)

You can use the console tab in ADB AppControl:
- adb shell settings put system peak_refresh_rate 96.0 #sets high limit to 96hz
- adb shell settings put system min_refresh_rate 60.0 #sets low limit to 60hz
Hi Hamid,

Thank you for your wonderful work.

I am having a problem in my phone. Before when I set the app into deep-sleep and battery restricted there was no any background usage. But this last two days, I am seeing background usage for the apps even when not used for the day. Is there any app that we accidentally deleted thats responsible for stopping apps to start in background.
 
  • Like
Reactions: Hamid Chikh

Hamid Chikh

Senior Member
Nov 15, 2016
1,816
1,149
Oran
www.youtube.com
Google Pixel 6
Hi

Hi Hamid,

Thank you for your wonderful work.

I am having a problem in my phone. Before when I set the app into deep-sleep and battery restricted there was no any background usage. But this last two days, I am seeing background usage for the apps even when not used for the day. Is there any app that we accidentally deleted thats responsible for stopping apps to start in background.
Hey !
No, I didn't delete any app responsible of that.
I don't have that problem personally.
Keep in mind that "deep sleeping" apps don't killed off, they will eventually sync at some point if you have sync turned on.
Try to restore all apps completely, reboot, then apply the presets again.
 

Hamid Chikh

Senior Member
Nov 15, 2016
1,816
1,149
Oran
www.youtube.com
Google Pixel 6

2.2- Eliminate GMS battery drain​

Go to settings, apps. Look for each of "Google Play Store", "Google Services Framework" & "Google Play Services"
- Clear data & cache
- Uninstall Updates
- Clear data & cache again
- Force Stop
- Reboot, then let them update and setup.
- Set them all to "restricted" battery mode, along with "Android System".

DON'T FORGET TO CLEAR CACHE PARTITION AND REPAIR APPS AFTER THIS OPTIMISATION.
 
  • Like
Reactions: NozGojira

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    I am having the same issue.
    I found fix. We used command 0.35x transition. Picker not show up on 0.35x. OS need 0.5x or higher. Make 1x and again 0.5x working 👍
    3
    Good afternoon!

    I own the Galaxy s20 (Exynos) and there are several questions regarding the FAQ.

    Question # 1:

    adb shell settings put global cached_apps_freezer enabled
    adb shell settings put secure tap_duration_threshold 0.0
    adb shell settings put secure touch_blocking_period 0.0
    adb shell settings put system multicore_packet_scheduler 1


    These commands are not mainly FAQs. Are they outdated and do not work on one ui 4.1?

    Question # 2:

    adb shell settings put system rakuten_denwa 0
    adb shell settings put system send_security_reports 0


    What are these commands responsible for? How do these commands affect the application launch process? I did not find information in open sources.

    Question # 3:

    adb shell cmd package compile -m speed -f -a

    This command is responsible for compiling applications as well as the "Repair app" command in the "Recovery" menu? Application optimization with this ADB command takes 30 minutes and after this command, applications open faster according to my subjective feelings. (https://android.googlesource.com/pl...ve/+/2ab108c5be96768ef094591720596fbc4b7f91f7)

    Question # 4:

    adb shell settings put global ram_expand_size_list 0,1,2,4,6,8

    Why do you recommend stopping with 1GB Ram Plus instead of turning Ram Plus off completely by choosing the 0 argument?

    Question # 5:

    adb shell pm disable-user --user 0 com.samsung.android.game.gos
    adb shell pm clear --user 0 com.samsung.android.game.gos
    adb shell settings put secure game_auto_temperature_control 0


    If you recommend disabling the "Game optimize service", then you do not need to disable the "Game Booster service" in order to exclude the impact of these services on performance?

    Question # 6:

    adb shell settings put system slider_animation_duration 1000

    Found this team in tips to increase the smoothness of MIUI 12. (https://c.mi.com/thread-3010847-1-0.html). Does this team work on Galaxy smartphones? I didn't really notice the difference, but maybe someone can check it on their device.

    Question # 7:

    adb shell settings put global enhanced_processing 1

    Is this setting responsible for "Improved Processing" in the battery management menu? If yes, then on S20 only one "Improved Processing" mode and unlike S21 does not make sense to change this parameter to 2 or 3?

    Question # 8:

    adb shell settings put global sem_enhanced_cpu_responsiveness 1

    This command has only two arguments: 0 and 1? Or are there any other arguments?

    Question # 9:

    adb shell settings put system k2hd_effect 1

    After rebooting, the value of this command is reset to 0. What reason do you think? How can this be avoided?

    Question # 10:

    adb shell settings put system sound_effects_enabled 0

    Does this setting disable Dolby Atmos? Or turns off the equalizer? And what is the effect of disabling this parameter in the audio quality pan?

    Thank you in advance!
    Q1
    Those commands still work, they're just not relevant, as you can enable them under dev options.

    Q2
    How, it's subjective. I tested, seemed to me to be working, other people here have noticed the same, if you're skeptical you can skip those.

    Q3
    The command "cmd package compile -m speed-profile" used by App Booster tells the compiler tooldex2oat to immediately verify and AOT-compile methods listed in the profile file of an app. SOURCE

    Q4
    See this post

    Q5
    I just disable all "game" relative services as i don't need any of them messing with my gaming experience.

    Q6
    "slider_animation_duration" parameter doesn't exist in Galaxy parameters, so it's effect is unknown, feel free to test and come back with some tangible feedback. I'll try on my Pixel 6 in the meantime.

    Q7
    See this post

    Q8
    Yes, 0 or 1, See this post

    Q9
    Might not be supported, i recommend skipping it

    Q10
    As stated in OP, this command "Disable Sound Effects on Interaction", which means, it disable audio feedback when you touch the screen or do an action, just like vibration feedback, but for audio. You can disable them one by one under "sound and vibration".
    This parameter has nothing to do with dolby, or any sound enhancement
    3
    S10+ Exynos first cycle (Still learning battery patterns) all day 4G, 8.44 hour SOT. Thats really amazing....
    All Samsung device owners should do this instructions for last long battery life and smooth and fast device...
    Thanks again @Hamid Chikh
    3
    I found fix. We used command 0.35x transition. Picker not show up on 0.35x. OS need 0.5x or higher. Make 1x and again 0.5x working 👍
    Thank you for the fix, your input is much appreciated
    2
    What is the app name for Other Security settings under biometric and security.

    Am unable to install a vpn profile. Bcoz when i click other security setting nothings happening.
  • 98
    Some of these tweaks are shared with my other thread:
    Complete Google Pixel Optimization

    GENERAL BATTERY/PERFORMANCE SETTINGS

    To Start With

    - Factory Reset.
    - DON'T use Smart Switch

    Settings App

    - 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 optimise daily: ENABLED
    - Auto restart at set times: ENABLED
    - RAM Plus: LOWEST
    - Bluetooth Scanning (Location services):
    DISABLED
    - Usage & Diagnostics: DISABLED
    - Advertising ID: DELETE
    - Advanced Features: ALL OFF (If not really needed)
    - System Sound/Vibration Control: ALL OFF
    - Network Mode: 2G/3G/4G (Or use
    Samsung Band Selection)
    - 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).
    - Emergency Location Service: DISABLED

    Accessibility Settings

    - Reduce Blur: ENABLED

    Developer Options:

    - Background Check: DISABLED
    - Multicore Packet Scheduler: ENABLED
    - Suspend execution of Cached apps (under dev options): ENABLED
    - Animation scale (3 entries) : x0.5

    Home Screen

    - Apply dark black Amoled Wallpaper
    - Apply dark theme to Wallpaper

    GENERAL BATTERY/PERFORMANCE FIXES

    Battery Calibration (When %Randomly Jumps/Drops)

    - Use your phone normally till it turns off automatically.
    - Wait a few minutes, try to turn it on again, to make sure it's really dead.
    - Plug it into the charger and leave it charging for 2h while it's still off.
    - While still plugged in, turn it on, apply calibration using Battery Calibration Pro.
    - Reboot while still plugged in
    - Unplug your phone then 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

    Battery Calibration (Method #2)

    - Download Battery Calibration Pro
    - Fully charge your phone
    - Calibrate
    - Restart

    - Unplug your phone
    Other calibration methods can be found here

    Fix General Battery Drain

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

    Fix General Performance

    - Boot into recovery
    - Clear cache partition 3 times.

    - 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 Apps Lag

    - Download CCleaner
    - Give it all permissions required
    - Delete all apps caches
    - Go to apps and Force stop all apps
    - Uninstall CCleaner then reboot.

    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 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", "WebView" & "Google App".
    - Clear data & cache
    - Uninstall Updates
    - Force Stop
    - Reboot, let them update and follow setup.
    - Turn Sync Off
    - Auto Update Apps: DISABLED

    Fix Camera Experience

    - 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.
    - Turn off Scene Optimizer
    - Move all camera modes (portrait, food, etc ..) to the "More" section.
    - Try Google camera, from Zoran (ZGCam)

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

    Fix Spotify Battery Drain

    - Under Spotify settings, turn off "Spotify connect in the background" (This won't stop background music playing).

    Fix Slow App Install Time

    Under General Google Play Store settings
    - "App Install Optimisation": DISABLED

    Fix OLED Burn-in/Ghosting

    - Download LCD Burn-in Wiper
    - Disable Auto-brightness
    - Set Brightness to 100%
    - Launch a 2 hours session

    Fix Speaker crackling

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

    Fix Google Chrome

    - Page Preloading: DISABLED
    Chrome Flags
    - QUIC protocol: ENABLED
    - Smooth Scrolling: ENABLED
    - Parallel Downloading: ENABLED
    - Auto Dark Mode for Web Content: ENABLED

    Fix Reddit

    - Theme: AMOLED
    - Autoplay videos: OFF

    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.

    Unlock More Gallery Features

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

    Google Camera Port

    - Exynos GCAM Port ZGcam

    REMOVE BLOATWARE

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

    Go to "Systems" tab in AppControl
    - Load "Debloat Preset"
    - Take a look at all what's going to be removed and unselect apps & features you need.
    - Apply Uninstall while checking "delete data & cache".
    - Restart your phone to recovery, wipe cache partition, then Repair Apps.


    - This is a list of ALL what's removable besides what's needed for boot.
    - This list doesn't contain any feature
    - Uncheck only what you need (features and apps).
    - Or go to "Uninstall" section in AC, search and restore the features you need.
    - Keep in mind that deleted apps will all be restored after factory reset.
    - Restore all apps before updating your phone

    ADB OPTIMISATIONS

    Backup Your Current Parameters 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

    Custom Animation Scale

    Same as in Developer settings
    - adb shell settings put global animator_duration_scale 0.35
    - adb shell settings put global transition_animation_scale 0.35
    - adb shell settings put global window_animation_scale 0.35

    Remove Game Optimizing Service (GOS)

    - Right after a factory reset (best chance)
    - adb shell pm uninstall --user 0 com.samsung.android.game.gos
    If it doesn't work (reappears after reboot):
    - adb shell pm disable-user --user 0 com.samsung.android.game.gos
    - adb shell pm clear --user 0 com.samsung.android.game.gos
    - adb shell settings put secure game_auto_temperature_control 0

    RAM Plus Configurations (Method #1)

    - adb shell settings put global ram_expand_size_list 0,1,2,4,6,8,12,16
    Reboot and set the size you want (1GB recommended).

    RAM Plus Configurations (Method #2)

    Size is in Mb
    - adb shell settings put global ram_expand_size 1024

    Disable User Manual/Tips/Remote Support (Setting item)

    - Install Samsung Tips from Galaxy Store
    - adb shell pm disable-user --user 0 com.samsung.android.app.tips
    - adb shell settings put global online_manual_url 0
    - adb shell settings put system remote_control 0
    - Force Stop Settings app
    - Reboot

    Improve Audio Experience

    - adb shell settings put system tube_amp_effect 1
    - adb shell settings put system k2hd_effect 1

    Disable Sound Effects on Interaction

    - adb shell settings put system sound_effects_enabled 0

    Enable Progressive Ringtone

    - adb shell settings put global apply_ramping_ringer 1

    Enable Notification Snoozing

    - adb shell settings put secure show_notification_snooze 1

    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

    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

    Disable Gestures

    - 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 secure double_tap_to_sleep 0
    - adb shell settings put secure wake_gesture_enabled 0
    - adb shell settings put system lift_to_wake 0
    - adb shell settings put secure volume_hush_gesture 0
    - adb shell settings put secure hush_gesture_used 0
    - adb shell settings put secure silence_gesture 0
    - adb shell settings put secure skip_gesture 0

    Improve Apps Launch

    - adb shell settings put system rakuten_denwa 0
    - adb shell settings put system send_security_reports 0

    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

    Disable Smart Stay

    - adb shell settings put system intelligent_sleep_mode 0
    - adb shell settings put secure adaptive_sleep 0

    Refresh Rate Upper/Lower Limits

    Choose what settings suit you best (1/10/24/48/60/96/120)
    - adb shell settings put system peak_refresh_rate 120.0
    - adb shell settings put system min_refresh_rate 60.0
    - adb shell settings put secure refresh_rate_mode 1

    Processing Speed Hack (Unlocked by Kris_b1104)

    Set processing speed mode to "Optimised" in settings then:
    - adb shell settings put global sem_enhanced_cpu_responsiveness 1

    Enable Performance Limit (Default)

    - adb shell settings put global restricted_device_performance 1,1

    Screenshot_20220326-100812_Device care.jpgScreenshot_20220318-215912_Geekbench 5.jpgScreenshot_20220313-174548_Device care.jpg
    #I'M NOT RESPONSIBLE FOR ANY DAMAGE CAUSED TO YOUR DEVICE
    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
    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
    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.
    9
    Some of those apks on the block list just sit there and do nothing unless needed.
    You need to know what you're blocking and if it really needs/should to blocked.
    Dependencies, dependencies, dependencies, the app names and functions can be deceiving.
    Samsung's have so many features you may never realize what you lost and for little or no gain.

    The Google system and user apps are some of the worst offenders.
    1- I have been uninstalling apps over adb for a long time now, and from a functionality standpoint, they don't interfere with the user experience, but on the contrary, uninstalling them improves the experience.
    2- There are no apps that "just sit there", they all will consume power and resources on the background, only noticeable on the long run.
    3- This is an extensive, maxed out and extreme list of bloatware, you can of course choose to skip some of those apps if you need them, your use case may be different then mine.