Search This thread

almora9

Member
Feb 19, 2022
39
10
is there a difference between Decommissioning and uninstalling apps?

there are too many adb commands. can you divide them into groups such as just improving battery performance or improving system performance?

does it help to extend battery life when gos is disabled?

thanks...
 

furquim97

Member
Jun 16, 2021
25
16
Yes, it's still blurry for me, i can't know the issue. BUT, in Android 13, it works fine everytime
I'll try it again when my phone gets the Android 13 update, thank you very much!

Quick question: on the original post you said we shouldn't restore anything during the setup, should we use a backup app like Alpha Backup or Swift Backup to restore the apps after the setup is over?

I have a lot of them and it would be a pain to download every single one of them individually. Plus I don't like using Smart Switch as it makes my phone laggy.
 

Hamid Chikh

Senior Member
Nov 15, 2016
2,747
1,903
Oran, Algeria
Samsung Galaxy S22
I'll try it again when my phone gets the Android 13 update, thank you very much!

Quick question: on the original post you said we shouldn't restore anything during the setup, should we use a backup app like Alpha Backup or Swift Backup to restore the apps after the setup is over?

I have a lot of them and it would be a pain to download every single one of them individually. Plus I don't like using Smart Switch as it makes my phone laggy.
Read op again
 
  • Like
Reactions: furquim97

Isitiah

Member
Jul 26, 2022
7
3
Redmi 9
#I'M NOT RESPONSIBLE FOR ANY DAMAGE CAUSED TO YOUR DEVICE
Some of these tweaks are shared with my other thread:
Google Pixel Optimization Guide

RECOMMENDED SETTINGS

To Start With

- Factory Reset (RECOMMENDED)
- Remove SIM while in setup
- DON'T use Smart Switch

- Follow setup OFFLINE (DON'T restore anything during setup)
- Restart, then insert SIM
- Continue setup after reboot

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
- RAM Plus: LOWER = BETTER
- 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
- Auto Optimization: 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 apps except apps you need instant notifications from.

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: ENABLED
- Animation scale (3 entries) : x0.5
- Bluetooth AVRCP Version: 1.6
- Logger Buffer Sizes: OFF
- Predictive Back Animations: ON

RECOMMENDED ANDROID 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

- Google Play Protect: DISABLED
- Autoplay: DISABLED
- Auto Update Apps: DISABLED
- App Installation 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-dns.com
- Close all apps then reboot.

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

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

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"

DEBLOAT

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

!!DISCLAIMER!!

- This preset contains the list of ALL APPS I PERSONALLY REMOVED
- 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.
- 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 latest 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 phoneto recovery, clear cache and repair apps, then apply after update.bat file.

ADB COMMANDS LIST

You're gonna need:
- ADB Drivers
- Enable USB debugging and "Always authorize" on your phone

1 - ################# Backup Settings First ###################

Fix Lag & Improve Performance

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

Light/Standard Performance Profile (OneUI 5.0)

Light mode:
adb shell settings put global sem_low_heat_mode 1 #Default is 0

Enable Full System Backup

adb shell settings put secure backup_enabled 1
adb shell settings put secure user_full_data_backup_aware 1
adb shell settings put global upload_apk_enable 1

Calling

adb shell settings put global settings_enable_clear_calling true
adb shell settings put global show_contacts_numbers_in_calls 1
adb shell settings put secure incall_power_button_behavior 2
adb shell settings put system block_unwanted_call 1
adb shell settings put system call_answer_vib 1
adb shell settings put system call_end_vib 1
adb shell settings put system call_popup 1
adb shell settings put system enable_call_protect_when_calling 1
adb shell settings put system smart_call_privacy_notice_agree 0
adb shell settings put system smart_call_privacy_notice_donotshow 1
adb shell settings put system smart_call_privacy_notice_secure_call_agree 0
adb shell settings put global swipe_to_call_message 0
adb shell settings put system display_caller_info_card 1
adb shell settings put system call_extra_volume 1
adb shell settings put system call_noise_reduction 1
adb shell settings put system videocall_settings 0
adb shell settings put system videocall_speaker 1
adb shell settings put system videocallmessage_settings 0
adb shell settings put global call_reminder false

Connection Settings

adb shell settings put system nearby_scanning_enabled 0
adb shell settings put system nearby_scanning_permission_allowed 0
adb shell settings put global assisted_gps_enabled 1
adb shell settings put global ble_scan_always_enabled 0
adb shell settings put global mobile_data_always_on 0
adb shell settings put global network_avoid_bad_wifi 0
adb shell settings put global network_recommendations_enabled 0
adb shell settings put global network_recommendations_package 0
adb shell settings put global network_scoring_ui_enabled 0
adb shell settings put global private_dns_mode off
adb shell settings put global private_dns_specifier dns.adguard-dns.com
adb shell settings put global wifi_networks_available_notification_on 0
adb shell settings put global wifi_scan_always_enabled 0
adb shell settings put global sem_wifi_network_rating_scorer_enabled 0
adb shell settings put global default_restrict_background_data 1
adb shell settings put secure wifi_ap_powersave_mode_checked 1
adb shell settings put secure wifi_mwips 0
adb shell settings put global wifi_switch_for_individual_apps_detection_mode 0
adb shell settings put global wifi_watchdog_poor_network_test_enabled 0
adb shell settings put secure bluetooth_a2dp_bt_uhq_state 1
adb shell settings put secure bluetooth_a2dp_uhqa_support 1
adb shell settings put secure bt_a2dp_audio_latency 0
adb shell settings put global preferred_network_mode1 9
adb shell settings put global preferred_network_mode 9,9
adb shell settings put secure multi_control_connection_state 0
adb shell settings put global sem_wifi_switch_to_better_wifi_enabled 0
adb shell settings put global sem_wifi_switch_to_better_wifi_supported 0
adb shell settings put global auto_wifi 0

Display Settings

adb shell wm reset
adb shell settings put system accelerometer_rotation 1
adb shell settings put system font_scale 1.0
adb shell settings put system font_size 2
adb shell settings put global animator_duration_scale 0.4
adb shell settings put global transition_animation_scale 0.4
adb shell settings put global window_animation_scale 0.4
adb shell settings put system display_night_theme_wallpaper 0
adb shell settings put system hdr_effect 1
adb shell settings put system screen_auto_brightness_adj 0.4
adb shell settings put system android.wallpaper.settings_systemui_transparency 0
adb shell settings put system auto_brightness_transition_time 0
adb shell settings put system auto_screen_on 0
adb shell settings put system blue_light_filter_adaptive_mode 0
adb shell settings put system colortheme_app_icon 1
adb shell settings put global colortheme_app_icon 1
adb shell settings put system dim_screen 0
adb shell settings put system lock_adaptive_color 1
adb shell settings put system lock_application_shortcut 0
adb shell settings put system lock_editor_support_touch_hold 0
adb shell settings put system hdr_effect 1
adb shell settings put system hdr_effect_intensity 1
adb shell settings put secure display_density_forced 450
adb shell settings put secure accessibility_captioning_font_scale 0.75
adb shell settings put system simple_status_bar 1

Feedback Settings

adb shell settings put system camera_feedback_vibrate 0
adb shell settings put system dialing_keypad_vibrate 0
adb shell settings put system dtmf_tone 0
adb shell settings put system haptic_feedback_enabled 0
adb shell settings put system navigation_gestures_vibrate 0
adb shell settings put system SEM_VIBRATION_FORCE_TOUCH_INTENSITY 0
adb shell settings put system SEM_VIBRATION_NOTIFICATION_INTENSITY 5
adb shell settings put system SEM_VIBRATION_RING_INTENSITY 5
adb shell settings put system sound_effects_enabled 0
adb shell settings put system sync_vibration_with_notification 1
adb shell settings put system sync_vibration_with_ringtone 1
adb shell settings put system vibrate_when_ringing 1
adb shell settings put system vibration_sound_enabled 0
adb shell settings put secure charging_sounds_enabled 0
adb shell settings put global dock_sounds_enabled 0
adb shell settings put secure charging_vibration_enabled 0
adb shell settings put global power_sounds_enabled 0
adb shell settings put system VIB_FEEDBACK_MAGNITUDE 0
adb shell settings put system VIB_RECVCALL_MAGNITUDE 5
adb shell settings put system media_vibration_intensity 0
adb shell settings put global use_video_sound_for_ringtone 0

Fingerprint Settings

adb shell settings put system fingerprint_guide_shown 1
adb shell settings put secure fingerprint_always_on 1
adb shell settings put secure fingerprint_effect 0
adb shell settings put secure fingerprint_on_screen_tips 1
adb shell settings put secure fingerprint_screen_off_icon_aod 1
adb shell settings put secure fingerprint_samsungaccount_confirmed 1
adb shell settings put secure fingerprint_screen_lock 1
adb shell settings put secure fingerprint_screen_off_icon_aod 1
adb shell settings put secure fingerprint_settings_create 0
adb shell settings put secure fingerprint_used_samsungaccount 1
adb shell settings put system screen_transition_effect 0

Gestures Settings

adb shell settings put global ambient_enabled 0
adb shell settings put system double_tab_to_wake_up 0
adb shell settings put system double_tap_to_wake_up 0
adb shell settings put system double_tap_to_sleep 0
adb shell settings put system end_button_behavior 2
adb shell settings put system lift_to_wake 0
adb shell settings put system master_motion 0
adb shell settings put system motion_engine 0
adb shell settings put system surface_palm_swipe 0
adb shell settings put system surface_palm_touch 0
adb shell settings put secure aware_enabled 0
adb shell settings put secure double_tap_to_wake 0
adb shell settings put secure hush_gesture_used 0
adb shell settings put secure skip_gesture 0
adb shell settings put secure silence_gesture 0
adb shell settings put secure volume_hush_gesture 0
adb shell settings put secure wake_gesture_enabled 0
adb shell settings put system PowerbuttonTapping 1
adb shell settings put system VolkeyTapping 1
adb shell settings put system automatic_unlock 0
adb shell settings put secure back_gesture_inset_scale_left 0.75
adb shell settings put secure back_gesture_inset_scale_right 0.75
adb shell settings put global bottom_gesture_inset_scale 0.8
adb shell settings put global enable_back_animation 0

Google Settings

adb shell settings put system gearhead:driving_mode_settings_enabled 0
adb shell settings put secure assistant 0
adb shell settings put secure default_voice_input_method 0
adb shell settings put secure selected_search_engine 0
adb shell settings put secure selected_search_engine_aga 0
adb shell settings put secure voice_interaction_service 0
adb shell settings put secure voice_recognition_service 0
adb shell settings put global google_core_control 0

Lockscreen Settings

adb shell settings put system aod_charging_mode 1
adb shell settings put system add_info_alarm 0
adb shell settings put system add_info_com_samsung_android_app_routines#dashboard 0
adb shell settings put system add_info_com_samsung_android_forest#screenTime 0
adb shell settings put system add_info_com_sec_android_app_voicenote#record 0
adb shell settings put system add_info_com_sec_android_daemonapp#weather 0
adb shell settings put system add_info_music_control 1
adb shell settings put system facewidget_music_transparency 0
adb shell settings put system add_info_today_schedule 0
adb shell settings put system aod_content_type 0
adb shell settings put system aod_edgeclock_pos 1
adb shell settings put system aod_notifications 1
adb shell settings put system aod_mode 0
adb shell settings put system aod_tap_to_show_mode 1
adb shell settings put system charging_info_always 1
adb shell settings put system lock_noticard_opacity 0
adb shell settings put system lockscreen_show_shortcut 0
adb shell settings put system lockscreen_sounds_enabled 0
adb shell settings put system lockscreen_wallpaper 1
adb shell settings put system lockscreen_wallpaper_transparent 0
adb shell settings put secure lockscreen_show_controls 0
adb shell settings put secure lockscreen_show_wallet 0
adb shell settings put secure lock_screen_allow_private_notifications 0
adb shell settings put secure lock_screen_owner_info_enabled 1
adb shell settings put secure lock_screen_show_notifications 1
adb shell settings put secure lock_screen_lock_after_timeout 0
adb shell settings put secure lock_screen_show_silent_notifications 0
adb shell settings put secure lock_screen_show_qr_code_scanner 0
adb shell settings put system lockscreen_minimizing_notification 0

Navigation Settings

adb shell settings put secure clipboard_show_access_notifications 1
adb shell settings put secure notification_badging 1
adb shell settings put secure notification_bubbles 0
adb shell settings put secure notification_history_enabled 0
adb shell settings put secure qspanel_media_quickcontrol_bar_available 0
adb shell settings put secure qspanel_media_quickcontrol_bar_available_on_top 0
adb shell settings put secure show_notification_snooze 1
adb shell settings put global heads_up_notifications_enabled 1

Notification and Quick Settings

adb shell settings put secure clipboard_show_access_notifications 1
adb shell settings put secure notification_badging 1
adb shell settings put secure notification_bubbles 0
adb shell settings put secure notification_history_enabled 0
adb shell settings put secure qspanel_media_quickcontrol_bar_available 0
adb shell settings put secure qspanel_media_quickcontrol_bar_available_on_top 0
adb shell settings put secure show_notification_snooze 1
adb shell settings put global heads_up_notifications_enabled 1

Performance Management

adb shell settings put system adaptive_fast_charging 1
adb shell settings put system intelligent_rotation_mode 0
adb shell settings put system intelligent_sleep_mode 0
adb shell settings put system intelligent_screen_mode 0
adb shell settings put system super_fast_charging 1
adb shell settings put system wireless_fast_charging 1
adb shell settings put secure adaptive_sleep 0
adb shell settings put secure long_press_timeout 250
adb shell settings put secure multi_press_timeout 250
adb shell settings put global adaptive_battery_management_enabled 0
adb shell settings put global app_standby_enabled 1
adb shell settings put global cached_apps_freezer enabled
adb shell settings put global enhanced_processing 0
adb shell settings put global ram_expand_size_list 0,2,4,6,8

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

Samsung Settings

adb shell settings put system samsung_errorlog_agree 0
adb shell settings put system samsung_eula_agree 1
adb shell settings put system samsung_eula_agree_hqm 1
adb shell settings put system ltw_connected 0
adb shell settings put system cocktail_bar_enabled_cocktails 0
adb shell settings put system direct_share 0
adb shell settings put system edge_lighting 0
adb shell settings put system Flashlight_brightness_level 1001
adb shell settings put system mcf_continuity 0
adb shell settings put system mcf_permission_denied 1
adb shell settings put system mcf_continuity_nearby_device_state 0
adb shell settings put system multi_control_enabled 0
adb shell settings put system quickshare_enabled 0
adb shell settings put system remote_control 0
adb shell settings put system sound_alive_effect 0
adb shell settings put system tube_amp_effect 0
adb shell settings put system screen_off_pocket 0
adb shell settings put secure brightness_on_top 1
adb shell settings put secure fmm_community_finding 0
adb shell settings put secure fmm_unlock_recovery 0
adb shell settings put system fmm_notification_other 0
adb shell settings put secure friends_plugin_connected 0
adb shell settings put secure game_auto_temperature_control 0
adb shell settings put secure game_home_enable 0
adb shell settings put secure screen_extra_brightness 1
adb shell settings put global bixby_pregranted_permissions 0
adb shell settings put global edge_enable 0
adb shell settings put global multisound_state 0
adb shell settings put global online_manual_url 0
adb shell settings put secure badge_app_icon_type 1
adb shell settings put secure dymlock_suspend_multiwallpaper_switching 0
adb shell settings put global function_key_config_doublepress 1
adb shell settings put global function_key_config_doublepress_type 0
adb shell settings put global function_key_config_longpress_type 1
adb shell settings put global smart_illuminate_enabled 0
adb shell settings put global smart_replies_enabled 0
adb shell settings put global smart_view_show_notification_on 0
adb shell settings put system dualclock_menu_settings 1
adb shell settings put system exclude_systemui_screenshots 0
adb shell settings put system epdg_support1 0
adb shell settings put system game_no_interruption 1
adb shell settings put system white_lockscreen_navigationbar 0
adb shell settings put system white_lockscreen_statusbar 0
adb shell settings put system white_lockscreen_wallpaper 0
adb shell settings put secure samsungflow_clipboard_sync_state 0
adb shell settings put system enable_smart_capture 0

System Settings

adb shell settings put system time_12_24 12
adb shell settings put system display_battery_percentage 1
adb shell settings put system access_control_enabled 0
adb shell settings put system end_button_behavior 2
adb shell settings put system lockscreen_minimizing_notification 0
adb shell settings put system need_dark_statusbar 0
adb shell settings put system notification_light_pulse 0
adb shell settings put system notification_text_color_inversion 1
adb shell settings put system screen_off_pocket 0
adb shell settings put system wallpapertheme_color_isgray 0
adb shell settings put system wallpapertheme_state 1
adb shell settings put secure install_non_market_apps 1
adb shell settings put secure package_verifier_state 0
adb shell settings put secure spell_checker_enabled 1
adb shell settings put secure accessibility_allow_diaginal_scrolling 1
adb shell settings put secure accessibility_button_mode 2
adb shell settings put secure biometrics_disclaimer_fingerprint 1
adb shell settings put secure odi_captions_volume_ui_enabled 0
adb shell settings put global accessibility_reduce_transparency 1
adb shell settings put global art_verifier_verify_debuggable 0
adb shell settings put global bug_report 0
adb shell settings put global burn_in_protection 0
adb shell settings put global button_set 0
adb shell settings put global nfc_on 0
adb shell settings put global mobile_signal_detector 0
adb shell settings put global multi_window_menu_in_full_screen 1
adb shell settings put global obtain_mute_when_off_body 0
adb shell settings put global obtain_paired_device_location 0
adb shell settings put global only_contact_with_phone 0
adb shell settings put global open_in_pop_up_view 0
adb shell settings put global open_in_split_screen_view 0
adb shell settings put global protect_battery 0
adb shell settings put global usb_mass_storage_enabled 1
adb shell settings put global uwb_enabled 0
adb shell settings put global zram_enabled 0
adb shell settings put system send_security_reports 0
adb shell settings put global emergency_tone 0
adb shell settings put global galaxy_system_update_block 0
adb shell settings put global verifier_verify_adb_installs 0
adb shell settings put global user_switcher_enabled 1
adb shell settings put global stay_on_while_plugged_in 0
adb shell settings put secure face_brighten_screen 0
adb shell settings put secure face_stay_on_lock_screen 0
adb shell settings put secure gesture_immersive_mode_confirmations confirmed
adb shell settings put secure lockscreen.options 0
adb shell settings put system usb_tethering_enabled 0
adb shell settings put global disable_window_blurs 1
adb shell settings put system rakuten_denwa 0

Wifi calling

adb shell settings put system wifi_call_enable1 0
adb shell settings put system wifi_call_preferred1 1
adb shell settings put system wfc_call_menu1 0
adb shell settings put system wfc_quicksetting_menu1 0
adb shell settings put system wfc_setting_menu1 0

3 - After Update

After one command lock screen option in settings is crashing
 

Hamid Chikh

Senior Member
Nov 15, 2016
2,747
1,903
Oran, Algeria
Samsung Galaxy S22
is there a difference between Decommissioning and uninstalling apps?

there are too many adb commands. can you divide them into groups such as just improving battery performance or improving system performance?

does it help to extend battery life when gos is disabled?

thanks...
I don't know what decompressioning is
Commands are devided into groups already
Yes
You're welcome
 

Isitiah

Member
Jul 26, 2022
7
3
Redmi 9
which command was that???
adb shell settings put system accelerometer_rotation 1
adb shell settings put system font_scale 1.0
adb shell settings put system font_size 2
adb shell settings put global animator_duration_scale 0.4
adb shell settings put global transition_animation_scale 0.4
adb shell settings put global window_animation_scale 0.4
adb shell settings put system display_night_theme_wallpaper 0
adb shell settings put system hdr_effect 1
adb shell settings put system screen_auto_brightness_adj 0.4
adb shell settings put system android.wallpaper.settings_systemui_transparency 0
adb shell settings put system auto_brightness_transition_time 0
adb shell settings put system auto_screen_on 0
adb shell settings put system blue_light_filter_adaptive_mode 0
adb shell settings put system colortheme_app_icon 1
adb shell settings put global colortheme_app_icon 1
adb shell settings put system dim_screen 0
adb shell settings put system lock_adaptive_color 1
adb shell settings put system lock_application_shortcut 0

It's one of this commands
 
  • Like
Reactions: Hamid Chikh

Hamid Chikh

Senior Member
Nov 15, 2016
2,747
1,903
Oran, Algeria
Samsung Galaxy S22
adb shell settings put system accelerometer_rotation 1
adb shell settings put system font_scale 1.0
adb shell settings put system font_size 2
adb shell settings put global animator_duration_scale 0.4
adb shell settings put global transition_animation_scale 0.4
adb shell settings put global window_animation_scale 0.4
adb shell settings put system display_night_theme_wallpaper 0
adb shell settings put system hdr_effect 1
adb shell settings put system screen_auto_brightness_adj 0.4
adb shell settings put system android.wallpaper.settings_systemui_transparency 0
adb shell settings put system auto_brightness_transition_time 0
adb shell settings put system auto_screen_on 0
adb shell settings put system blue_light_filter_adaptive_mode 0
adb shell settings put system colortheme_app_icon 1
adb shell settings put global colortheme_app_icon 1
adb shell settings put system dim_screen 0
adb shell settings put system lock_adaptive_color 1
adb shell settings put system lock_application_shortcut 0

It's one of this commands
Thanks for your help
 

ryudhruv

Member
Mar 6, 2021
15
27
Thank you very much for you effort, but it doesn't seem to work for me. How did you get to it ?
This is the command that is causing lockscren custmoisaitons to crash.. imean u cannot set wallapaer or customise lockscreen If u execute this command.. once u execute this command the only way i found to come back is to reset all the settings under reset phone section
 

Hamid Chikh

Senior Member
Nov 15, 2016
2,747
1,903
Oran, Algeria
Samsung Galaxy S22
Here's the list of the new adb commands i added last time, some of them were already in the list, but i can confirm 100% the culprit is in this list. Let's get into it, let's fix this bad b**ch
 

Attachments

  • new.txt
    5.2 KB · Views: 60

Top Liked Posts

  • 5
    My battery SOT (S10+) is improved more and more after some precautions:
    1) Fix google packages and android system webview uninstalling update, clearing data and cache and force stop;
    2) Clear data and cache of Samsung Health Device Manager and Device Care, force stop;
    3) In dialer digit *#9900# and select delete dumpstate and Batterystats (thanks to that user who wrote it here on the thread);
    4) Reboot in recovery, 3 wipes cache and repair apps;
    5) Calibrate battery with 2 cicles of full discharging than charge from 0% to 100% with phone off;
    6) Set naptime with aggresive doze, and disable motion detect (and other my preferences);
    7) Enabled sensor off and data saving;
    8) Disabled ADAPTIVE BATTERY that causes drain on my oneui 4.1;
    9) enhanced_processing and cpu_responsiveness set to 0;
    10) Thermal threshold (in thermal guardian) set to -2;
    11) Enabled Battery Guardian;
    11) Enabled Bixby Routines with my own features and one (which I got from a user here) that enable 2g/3g when wifi is on.
    12) Screen_mode set to 0;
    13) Deleted location_ignore_settings_package_whitelist (IDK if has some impact on battery, but i tried).

    The screen below is with bixby Routines ebabled, some hours in 4g and the rest in Wifi
    The days before I did more than 1 day of usage with 4h hours in wifi and the rest in 4g, more then 7h of SOT.
    3
    Ah yesss i forgot to mention about refresh rate , yes i play alot with my refresh rate i would say its very situational , mine is @90hz most of the time , but i also lowered it to 60hz at some point , for example (but not always) : if i just listening to some music or podcast in the background i would probably set it down to 60hz , what is the point to have a high refresh rate when i didn't even scroll , touch or look at it ?
    I rarely use 120hz , i don't use 120hz unnecessarily , I mean Samsung WQHD Amoled Screen (which is best in the market) + 120hz + SD888 with only 4800mAh are not a very good combination if we want to talk about battery life , i know the feelings that once you go 120hz you don't wanna go back , but remember there are a lot of Iphone 11 users who sees their device at 60hz & they can still live with it , comfortably. So yeah , if i want to achieve something there must be something to sacrifice , sometimes this is just the way that life goes you know , but of course this is just my opinion from my POV :)
    Thanks for the update, please, share your "KEPT" system apps list with us.
    2
    Hi,
    Awsome guide, thank you so much for your work!
    Btw, did you change any setting regarding the refresh rate?

    so you can have 20 hours continuous on screen?
    it's unbelievable if you use 120hz (same s21+ like me)
    Ah yesss i forgot to mention about refresh rate , yes i play alot with my refresh rate i would say its very situational , mine is @90hz most of the time , but i also lowered it to 60hz at some point , for example (but not always) : if i just listening to some music or podcast in the background i would probably set it down to 60hz , what is the point to have a high refresh rate when i didn't even scroll , touch or look at it ?
    I rarely use 120hz , i don't use 120hz unnecessarily , I mean Samsung WQHD Amoled Screen (which is best in the market) + 120hz + SD888 with only 4800mAh are not a very good combination if we want to talk about battery life , i know the feelings that once you go 120hz you don't wanna go back , but remember there are a lot of Iphone 11 users who sees their device at 60hz & they can still live with it , comfortably. So yeah , if i want to achieve something there must be something to sacrifice , sometimes this is just the way that life goes you know , but of course this is just my opinion from my POV :)
    2
    If you have an S22 Ultra, I would recommend staying away from these 3 settings.

    Restricted device performance adb command worked nicely on One UI 4 but it's honestly not needed in One UI 5. I tried it at 0,0 and the device stutters sometimes navigating through apps or settings. I also put CPU Responsiveness back to 0. The phone is already blazing fast and these commands aren't necessary on the S22 Ultra. My processing speed is at optimized for better battery life.

    I also noticed my standby time increased a lot with restricted device performance at 0,0 and CPU Responsiveness set to 1, so I put them back to 1,1 and 0.

    Also, everytime I entered this command "restricted_device_performance" and changed it to a different value, my phone rebooted.

    This might be different for other Galaxy models though. This is just a heads-up to S22 Ultra Snapdragon owners.

    Once again, love these settings you have shared with us, I'm using quite a few of them and I can already see the difference in battery life. Great work!
    Agreed, setting sem_enhanced_cpu_responsiveness to 1 caused slight stutter and some heating on my phone. I as well had to revert it back to 0, That's coming from the SD S21 Ultra running Android 13 latest November security patch.
    1
    Thank you. Please share disabled list also if possible
    There you go.
    Note : Include 20+ restored apps for stability & functionality that i forgot to exclude them from the previous preset.
    Those apps are Talk Back , Edge Panel & Knox related stuff (some of them ended up in disabled list apps)
    I restore even though i don't use them , just to have a more stable device & no battery issue so far , still the same if not better.
  • 24

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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