Search This thread

almora9

Member
Feb 19, 2022
38
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,720
1,865
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,720
1,865
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,720
1,865
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,720
1,865
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: 58

Top Liked Posts

  • 6

    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
    Updated ADB.bat file, added OP fixes and personal preference.
    4
    How's the new fix treating you ? It's amazing to finally feel the premium phone you paid for yeah ?
    4
    I also have S10+ but I don't do these SOT. Could you share your preset and adb settings? 😨
    Sure. I didnt use any Hamids commands this time.

    1 - I restored everything and I did reset all settings.
    2 - From recovery mode wipe cache partition and repair apps
    3 - I did all settings manually dark mode, turn off location google services etc. one by one
    This video have best SOT settings
    4 - Debloated with ADB App Control
    5 - I used from %100 until dies battery calibrated.


    Have you found any other app that causes drain when uninstalled ?
    Not yet but I think Sumenn killing background restricted apps and increasing SOT. Uncalibrated lux sensor appeared today with all day 4G. All day wifi gone. I think not important this thing. But I'm glad from this SOT.
    3

    PRESET UPDATE (IMPORTANT/MANDATORY)

    - Added new presets, including:
    - New L1 preset as the lightest preset
    - New Extreme preset, based on the old S2 preset for best stability and battery life.
    - I'm sorry if one of my old presets have caused one of you battery drain or crashes, it is now completely fixed.
    - I'd advise you PLEASE, restore everything, reboot, then apply the new preset (unchecking what you need of course) to avoid having old deleted apps that caused instability and battery drain.
    1

    New Settings Tweaks

    - There's a new permission under special access, which has now to be turned off manually. I'll look into finding a way of doing it using ADB.
    Do you mean disabling every app in 'Turn screen on'?
    Screenshot_20221129_102009_Settings.jpg
  • 21

    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
    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.
    7
    I still don't get how people get "worse" battery life with all the tweaks, and still complaining.
    I restate that this is base, Exynos, S22. We're talking 3600mAh, and it still performances (and holds) amazing!

    EDIT: It's even better than i thought

    Screenshot_20221103_211321_Device care.jpg
  • 144
    #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

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

    Battery Settings

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

    Google Settings

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

    Accessibility Settings

    - Reduce transparency & Blur: ENABLED

    Developer Options:

    - Background Check: DISABLED
    - Suspend execution of Cached apps: ENABLED
    - Animation scale (3 entries) : x0.5
    - 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
    - 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 Android System & 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 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

    - adb shell settings put global online_manual_url 0

    Speed up Long Press Delay

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

    Enable Extra Call Features

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

    Disable Ultra Wide-Band Roaming

    - adb shell settings put global uwb_enabled 0

    V - DEBLOATING

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

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


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

    21

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