Skip to content

Instantly share code, notes, and snippets.

@matheuslive
Forked from fei-ke/my_samsung_oneui_settings.sh
Last active February 11, 2025 18:23
Show Gist options
  • Save matheuslive/4a94a5893e2751e22791c49d42b7aa07 to your computer and use it in GitHub Desktop.
Save matheuslive/4a94a5893e2751e22791c49d42b7aa07 to your computer and use it in GitHub Desktop.
#connect
# Automatically switch to traffic when closing weak network
settings put global wifi_num_of_switch_to_mobile_data_toggle 0
# Turn off weak network detection
settings put global wifi_watchdog_poor_network_test_enabled 0
# Turn off weak network detection
settings put global network_avoid_bad_wifi 0
#Turn off switching to a better WLAN network
settings put global sem_wifi_switch_to_better_wifi_enabled 0
#Disable nearby device scanning
settings put system nearby_scanning_enabled 0
#Turn off WiFi security detection
settings put secure wifi_client_smart_tethering_settings 0
#Detect suspicious networks
settings put secure wifi_mwips 0
# Disable the default printing service
settings put secure disabled_print_services com.android.bips/.BuiltInPrintService
#Swipe Gestures
settings put global navigation_bar_gesture_while_hidden 1
#Turn off gesture prompts
settings put global navigation_bar_gesture_hint 0
#Switch apps when hiding prompts
settings put global navigationbar_switch_apps_when_hint_hidden 1
#Show the keyboard button
settings put global navigation_bar_button_to_hide_keyboard 1
#Slide from the side and bottom
settings put global navigation_bar_gesture_detail_type 1
#Gesture Area
settings put global bottom_gesture_inset_scale 1.6
# Unknown effect
settings put secure navigation_mode 2
#Sound and vibration
#Ringtone volume
settings put system volume_ring_speaker 4
settings put system volume_ring_earpiece 4
#Media volume
settings put system volume_music_earpiece 4
settings put system volume_music_speaker 4
#Notification volume
settings put system volume_notification_earpiece 4
settings put system volume_notification_speaker 4
#System volume
settings put system volume_system_earpiece 4
settings put system volume_system_speaker 4
#Use volume keys to control media volume
settings put system adjust_media_volume_only 1
#Incoming call vibration
settings put system VIB_RECVCALL_MAGNITUDE 2
#Notification vibration
settings put system SEM_VIBRATION_NOTIFICATION_INTENSITY 2
#Touch vibration
settings put system VIB_FEEDBACK_MAGNITUDE 0
#notify
#Notification Color
settings put system edge_lighting_custom_text_color "媳妇;-50945";
#Display all icons in the notification bar
settings put system simple_status_bar 0
#Close the battery percentage
settings put system display_battery_percentage 0
#Do not disturb will automatically turn off after one hour
settings put secure zen_duration 60
#show
# Enable blue light protection
settings put system blue_light_filter 1
# Blue light protection adaptive mode
settings put system blue_light_filter_adaptive_mode 1
# Blu-ray Project Closed
settings put system blue_light_filter_scheduled 0
#Set screen mode to natural
settings put system screen_mode_automatic_setting 0
settings put system screen_mode_setting 3
#Automatic screen off: one minute
settings put system screen_off_timeout 60000
#Night mode timed on
settings put system display_night_theme_scheduled 1
#Automatic night mode sunrise to sunset
settings put system display_night_theme_scheduled_type 1
#Set high resolution
settings put global display_size_forced 1440,3088
#Screen density
settings put secure display_density_forced 560
#Adaptive refresh rate
settings put secure refresh_rate_mode 1
#Close the side screen panel
settings put global edge_enable 0
# Turn off password visibility
settings put system show_password 0
#Advanced Features
#Turn off Bixby screen recognition
settings put system bixby_touch_enable 0
#All applications use multi-window view
settings put global force_resizable_activities 1
#Spen Menu simple style
settings put system air_cmd_mode 1
#No action is performed when the Spen is pulled out
settings put system pen_detachment_option 0
#Close floating window icon
settings put system air_cmd_use_minimized 0
#Open floating window command through button
settings put system air_cmd_with_pen_button 1
#Power button shutdown menu
settings put global function_key_config_longpress_type 1
#Pick up and wake up
settings put system lift_to_wake 1
# Enable one-handed mode
settings put system any_screen_enabled 1
#Disable Direct Share
settings put system direct_share 0
#Allow video applications to control HDR
settings put system hdr_effect 1
# QuickStar
settings put secure icon_blacklist rotate,headset,fuseboxon,rotate,headset,ims_volte,ims_volte2,right_clock_position
# Turn off automatic screen rotation
settings put system accelerometer_rotation 0
settings put global navigation_bar_rotate_suggestion_enabled 1
#Drop-down panel
settings put secure qs_button_grid 10
#First row of buttons
#settings put secure sysui_quick_qs_tiles "Wifi,MobileData,SoundMode,Dnd,Flashlight,custom(com.x8bit.bitwarden/.AutofillTileService)"
#settings put secure sysui_qs_tiles "MobileData,SoundMode,Dnd,Flashlight,RotationLock,AirplaneMode,Location,ScreenCapture,custom(com.samsung.android.app.smartcapture/com.samsung.android.app.screenrecorder.view.RecordScreenTile),custom(com.samsung.android.sm_cn/com.samsung.android.sm.battery.ui.mode.BatteryModeTile),custom(com.android.settings/.development.qstile.DevelopmentTiles$ShowLayout),custom(com.sec.android.app.camera/.service.QrTileService),Hotspot,custom(com.samsung.android.sm_cn/com.samsung.android.sm.powershare.PowerShareTileService),custom(com.android.nfc/com.samsung.android.nfc.quicktile.NfcTile),custom(moe.haruue.wadb/.ui.service.WadbTileService),custom(com.android.settings/.development.qstile.DevelopmentTiles$GPUProfiling),CameraToggle,MicrophoneToggle,ReduceBrightColors,Sync,custom(com.github.metacubex.clash.meta/com.github.kr328.clash.TileService),custom(tornaco.apps.shortx/.ui.service.tile.Tile1)"
#Brightness bar always displayed
settings put secure brightness_on_top 1
#Add display device control and media output buttons
settings put secure qspanel_media_quickcontrol_bar_available 0
#Turn off harassment blocking
settings put global spam_filter_enable 0
settings put global spam_call_enable 0
settings put global spam_call_auto_update 0
settings put system key_spam_smart 0
#RAM Plus
settings put global ram_expand_size 8192
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment