#!/system/bin/sh
cmd appops set com.vivo.daemonService RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.daemonService RUN_ANY_IN_BACKGROUND ignore
cmd appops set com.vivo.daemonService START_FOREGROUND ignore
cmd appops set com.vivo.daemonService WAKE_LOCK ignore
cmd appops set com.vivo.daemonService BOOT_COMPLETED ignore
cmd appops set com.vivo.daemonService OP_BOOT_COMPLETED ignore
cmd appops set com.vivo.daemonService SYSTEM_ALERT_WINDOW ignore
cmd appops set com.vivo.daemonService VIBRATE ignore
cmd appops set com.vivo.daemonService BLUETOOTH_CONNECT ignore
cmd appops set com.vivo.daemonService MANAGE_MEDIA wait
cmd appops set com.vivo.daemonService PROJECT_MEDIA ignore
cmd appops set com.vivo.daemonService ACTIVATE_VPN ignore
cmd appops set com.vivo.daemonService AUTO_REVOKE_PERMISSIONS_IF_UNUSED ignore
cmd appops set com.bbk.account RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.account WAKE_LOCK ignore
cmd appops set com.bbk.account START_FOREGROUND ignore
cmd appops set com.vivo.pushservice RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.pushservice WAKE_LOCK ignore
cmd appops set com.vivo.pem WAKE_LOCK ignore
cmd appops set com.vivo.pem RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.pem SCHEDULE_EXACT_ALARM ignore
cmd appops set com.vivo.minscreen RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.minscreen WAKE_LOCK ignore
cmd appops set com.vivo.minscreen START_FOREGROUND ignore
pm clear com.vivo.daemonService
pm clear com.bbk.account
pm clear com.vivo.pushservice
pm clear com.vivo.pem
pm clear com.vivo.minscreen
cmd appops set com.vivo.daemonService RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.daemonService RUN_ANY_IN_BACKGROUND ignore
cmd appops set com.vivo.daemonService START_FOREGROUND ignore
cmd appops set com.vivo.daemonService WAKE_LOCK ignore
cmd appops set com.vivo.daemonService BOOT_COMPLETED ignore
cmd appops set com.bbk.account RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.account RUN_ANY_IN_BACKGROUND ignore
cmd appops set com.bbk.account START_FOREGROUND ignore
cmd appops set com.bbk.account WAKE_LOCK ignore
cmd appops set com.bbk.account BOOT_COMPLETED ignore
cmd appops set com.vivo.pushservice RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.pushservice WAKE_LOCK ignore
cmd appops set com.vivo.pushservice START_FOREGROUND ignore
pm clear com.vivo.daemonService
pm clear com.bbk.account
pm clear com.vivo.pushservice
cmd appops set com.vivo.daemonService RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.daemonService WAKE_LOCK ignore
cmd appops set com.vivo.daemonService START_FOREGROUND ignore
cmd appops set com.vivo.daemonService OP_BOOT_COMPLETED ignore
pm clear com.vivo.daemonService
pm clear com.vivo.daemonService
am force-stop com.vivo.daemonService
pm suspend com.vivo.daemonService
pm suspend com.bbk.account
cmd appops set com.vivo.daemonService RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.daemonService RUN_ANY_IN_BACKGROUND ignore
cmd appops set com.vivo.daemonService START_FOREGROUND ignore
cmd appops set com.vivo.daemonService WAKE_LOCK ignore
cmd appops set com.bbk.account RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.account WAKE_LOCK ignore
pm clear com.vivo.daemonService
am force-stop com.vivo.daemonService
pm grant com.android.shell android.permission.WRITE_SECURE_SETTINGS
pm grant com.android.shell android.permission.WRITE_GLOBAL_SETTINGS
pm grant com.android.shell android.permission.WRITE_SETTINGS
pm grant com.android.shell android.permission.CHANGE_CONFIGURATION
pm grant com.android.shell android.permission.DUMP
pm grant com.android.shell android.permission.READ_LOGS
pm grant com.android.shell android.permission.PACKAGE_USAGE_STATS
pm grant com.android.shell android.permission.SET_PROCESS_LIMIT
pm grant com.android.shell android.permission.SYSTEM_ALERT_WINDOW
pm grant com.android.shell android.permission.GET_APP_OPS_STATS
pm grant com.termux android.permission.WRITE_SECURE_SETTINGS
pm grant com.termux android.permission.WRITE_GLOBAL_SETTINGS
pm grant com.termux android.permission.WRITE_SETTINGS
pm grant com.termux android.permission.CHANGE_CONFIGURATION
pm grant com.termux android.permission.DUMP
pm grant com.termux android.permission.READ_LOGS
pm grant com.termux android.permission.PACKAGE_USAGE_STATS
pm grant com.termux android.permission.SYSTEM_ALERT_WINDOW
pm uninstall --user 0 com.vivo.daemonService
pm uninstall --user 0 com.vivo.pem
pm uninstall --user 0 com.vivo.bsptest
pm uninstall --user 0 com.bbk.account
pm uninstall --user 0 com.vivo.pushservice
pm uninstall --user 0 com.iqoo.secure
pm uninstall --user 0 com.vivo.assistant
cmd appops set com.vivo.daemonService MANAGE_MEDIA wait
cmd appops set com.vivo.daemonService PROJECT_MEDIA ignore
cmd appops set com.vivo.daemonService ACTIVATE_VPN ignore
cmd appops set com.vivo.daemonService AUTO_REVOKE_PERMISSIONS_IF_UNUSED ignore
cmd appops set com.vivo.pem WAKE_LOCK ignore
settings put global game_driver_all_apps 1
settings put global game_driver_opt_in_apps 1
settings put global updatable_driver_all_apps 1
settings put global enable_gpu_debug_layers 0
settings put global gpu_debug_app ""
settings put global gpu_debug_layers ""
cmd game set --mode performance com.termux
cmd game set --mode performance com.antutu.ABenchMark
cmd thermalservice override-status 0
settings put global thermal_limit_refresh_rate 0
settings put global power_save_mode_open 0
settings put global low_power_trigger_level 0
settings put global automatic_power_save_mode 0
cmd power set-fixed-performance-mode-enabled true
device_config put runtime_native_boot disable_iostats true
device_config put runtime_native_boot profiles_enabled false
device_config put activity_manager use_compaction false
device_config put activity_manager max_phantom_processes 2147483647
settings put global settings_enable_monitor_phantom_procs false
settings put global tcp_default_init_rwnd 60
settings put global private_dns_mode hostname
settings put global private_dns_specifier dns.google
settings put global wifi_scan_throttle_enabled 0
settings put global wifi_scan_background_throttle_interval 999999
settings put global ble_scan_balanced_interval_ms 999999
pm uninstall -k --user 0 com.vivo.daemonService
pm uninstall -k --user 0 com.vivo.smart.engine
pm uninstall -k --user 0 com.vivo.bsptest
pm uninstall -k --user 0 com.bbk.account
pm uninstall -k --user 0 com.vivo.ai.jovi.inlife
pm uninstall -k --user 0 com.vivo.agent
cmd appops set com.bbk.updater RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.updater WAKE_LOCK ignore
cmd appops set com.vivo.pushservice RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.pushservice WAKE_LOCK ignore
cmd appops set com.vivo.pem RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.pem SCHEDULE_EXACT_ALARM ignore
cmd game set --mode performance com.android.chrome
cmd game set --mode battery com.vivo.daemonService
cmd game set --mode battery com.bbk.launcher2
device_config put game_overlay com.google.android.gms mode=2,downscaleFactor=1.0
settings put global cached_apps_freezer disabled
device_config put activity_manager use_compaction false
pm grant com.android.shell android.permission.READ_LOGS
pm grant com.android.shell android.permission.BATTERY_STATS
pm grant com.android.shell android.permission.PACKAGE_USAGE_STATS
pm grant com.android.shell android.permission.LOADER_USAGE_STATS
pm grant com.android.shell android.permission.GET_APP_OPS_STATS
pm grant com.android.shell android.permission.SET_PROCESS_LIMIT
pm grant com.android.shell android.permission.FORCE_STOP_PACKAGES
pm grant com.android.shell android.permission.CLEAR_APP_USER_DATA
pm grant com.android.shell android.permission.DELETE_CACHE_FILES
pm grant com.android.shell android.permission.DELETE_PACKAGES
pm grant com.android.shell android.permission.INSTALL_PACKAGES
pm grant com.android.shell android.permission.CHANGE_CONFIGURATION
pm grant com.android.shell android.permission.STATUS_BAR
pm grant com.android.shell android.permission.SYSTEM_ALERT_WINDOW
pm grant com.android.shell android.permission.DEVICE_POWER
pm grant com.android.shell android.permission.REBOOT
pm grant com.android.shell android.permission.SHUTDOWN
pm grant com.android.shell android.permission.CHANGE_WIFI_STATE
pm grant com.android.shell android.permission.ACCESS_WIFI_STATE
pm grant com.android.shell android.permission.CHANGE_NETWORK_STATE
pm grant com.android.shell android.permission.ACCESS_NETWORK_STATE
pm grant com.android.shell android.permission.TETHER_PRIVILEGED
pm grant com.android.shell android.permission.CONNECTIVITY_INTERNAL
cmd appops set com.android.shell WRITE_SETTINGS allow
cmd appops set com.android.shell SYSTEM_ALERT_WINDOW allow
cmd appops set com.android.shell GET_USAGE_STATS allow
cmd appops set com.android.shell PACKAGE_USAGE_STATS allow
cmd appops set com.android.shell INSTALL_PACKAGES allow
cmd appops set com.android.shell REQUEST_INSTALL_PACKAGES allow
cmd appops set com.android.shell INSTANT_APP_START_FOREGROUND allow
cmd appops set com.android.shell MANAGE_EXTERNAL_STORAGE allow
cmd appops set com.android.shell START_FOREGROUND allow
cmd appops set com.android.shell VIBRATE allow
cmd appops set com.android.shell READ_CLIPBOARD allow
cmd appops set com.android.shell WRITE_CLIPBOARD allow
cmd appops set com.android.shell TOAST_WINDOW allow
cmd appops set com.android.shell WAKE_LOCK allow
pm grant com.android.shell android.permission.WRITE_EXTERNAL_STORAGE
pm grant com.android.shell android.permission.READ_MEDIA_IMAGES
pm grant com.android.shell android.permission.ACCESS_MEDIA_LOCATION
pm grant com.android.shell android.permission.MANAGE_EXTERNAL_STORAGE
settings put global install_non_market_apps 1
settings put secure accessibility_enabled 1
settings put secure enabled_accessibility_services com.android.talkback/com.google.android.marvin.talkback.TalkBackService
settings put system screen_off_timeout 30000
settings put system font_scale 1.0
settings put system display_color_mode 1
pm grant android android.permission.WRITE_SECURE_SETTINGS
pm grant android android.permission.CHANGE_CONFIGURATION
pm grant android android.permission.ACCESS_NETWORK_STATE
pm grant android android.permission.WRITE_SETTINGS
pm grant android.permission.READ_SYNC_SETTINGS
pm grant android.permission.READ_SYNC_STATS
pm grant android.permission.READ_PRIVILEGED_PHONE_STATE
pm grant android.permission.DEVICE_POWER
pm grant android.permission.HARDWARE_TEST
pm grant android.permission.ACCESS_NETWORK_STATE
pm grant android.permission.ACCESS_WIFI_STATE
pm grant android.permission.CHANGE_WIFI_STATE
pm grant android.permission.NFC
pm grant android.permission.BLUETOOTH
settings put global sqlite_compatibility_wal_flags compatibility_wal_supported=true,wal_syncmode=OFF
settings put global db_check_enabled 0
settings put global verifier_verify_adb_installs 0
settings put global anr_show_background 0
am set-standby-bucket com.vivo.browser restricted
am set-standby-bucket com.vivo.globalsearch restricted
am set-standby-bucket com.vivo.space restricted
am set-standby-bucket com.vivo.daemonService restricted
am set-standby-bucket com.vivo.agent restricted
am set-standby-bucket com.bbk.theme restricted
am set-standby-bucket com.bbk.cloud restricted
am set-standby-bucket com.bbk.calendar restricted
am set-standby-bucket com.google.android.googlequicksearchbox restricted
am set-standby-bucket com.google.android.gm restricted
am set-standby-bucket com.google.android.apps.maps restricted
am set-standby-bucket com.facebook.katana restricted
am set-standby-bucket com.instagram.android restricted
am set-standby-bucket com.ss.android.ugc.aweme restricted
device_config put runtime native_boot.enable_uffd_gc true
device_config put runtime native_boot.bg_dexopt_enabled false
device_config put activity_manager bg_current_drain_monitor_enabled false
device_config put package_manager_service pm_dexopt_downgrade_after_inactive_days 365
device_config put package_manager_service unused_app_restriction_enabled false
settings put secure notification_bubbles 0
settings put secure adaptive_sleep 0
settings put system intelligent_sleep_mode 0
settings put global heads_up_notifications_enabled 0
settings put global notification_badging 0
settings put secure show_note_about_notification_hiding 0
cmd game mode performance com.termux
cmd game mode performance com.android.chrome
cmd game mode performance com.google.android.youtube
settings put global transition_animation_scale 0.0
settings put system pointer_location 0
settings put system show_touches 0
settings put global development_settings_enabled 1
settings put global adb_enabled 1
settings put global stay_on_while_plugged_in 0
settings put global wait_for_debugger 0
settings put global low_battery_sound_timeout 0
settings put global battery_saver_constants_standby_mode_enabled true
settings put global unused_app_standby_bucket_enabled true
settings put global wifi_scan_always_available 0
settings put global mobile_data_always_on 1
settings put global data_roaming 0
settings put global fstrim_mandatory_interval 1
settings put global sys_storage_threshold_percentage 2
settings put global device_name "MonsterNode"
settings put global overlay_display_devices ""
settings put global zen_mode 0
settings put global heads_up_notifications_enabled 0
settings put global theater_mode_on 0
settings put global radio_bluetooth 0
settings put global radio_nfc 0
settings put global radio_wimax 0
settings put global wifi_sleep_policy 2
settings put global policy_control immersive.full=*
settings put global hide_error_dialogs 1
settings put global show_notification_channel_warnings 0
settings put global notification_feedback_enabled 0
settings put global new_contact_aggregator 0
settings put global contact_metadata_sync_enabled 0
settings put global enable_accessibility_global_gesture_enabled 0
settings put global enable_gpu_debug_layers 0
settings put global gpu_debug_layers_enabled 0
settings put global use_google_mail 0
settings put global captive_portal_server_mode 0
settings put global network_scoring_ui_enabled 0
settings put global network_recommendations_enabled 0
settings put global wifi_watchdog_poor_network_test_enabled 0
settings put global wifi_suspend_optimizations_enabled 1
settings put global wifi_max_dhcp_retry_count 0
settings put global mobile_data_preferred 1
settings put global tether_supported 0
settings put global tether_offload_disabled 1
settings put global package_verifier_enable 0
settings put global verifier_verify_adb_installs 0
settings put global art_verifier_verify_debuggable 0
settings put global smart_suggestion_in_launcher 0
settings put global activity_manager_constants bg_current_drain_monitor_enabled=false
settings put global activity_manager_constants fgs_start_foreground_timeout=1
settings put global activity_manager_constants default_background_activity_starts_enabled=true
settings put global activity_manager_constants max_service_inactivity=60000
settings put global location_global_kill_switch 1
settings put global location_mode 0
settings put global assist_structure_enabled 0
settings put global assist_screenshot_enabled 0
settings put global app_auto_restriction_enabled 0
settings put global forced_app_standby_enabled 1
settings put secure screensaver_enabled 0
settings put secure screensaver_activate_on_dock 0
settings put secure screensaver_activate_on_sleep 0
settings put secure assistant_voice_launch_enabled 0
settings put secure voice_recognition_service ""
settings put secure voice_interaction_service ""
settings put secure long_press_timeout 250
settings put secure multi_press_timeout 250
settings put secure show_ime_with_hard_keyboard 0
settings put secure backup_enabled 0
settings put secure backup_auto_restore 0
settings put secure doze_enabled 0
settings put secure doze_always_on 0
settings put secure doze_pulse_on_pick_up 0
settings put secure doze_pulse_on_long_press 0
settings put secure doze_pulse_on_double_tap 0
settings put secure camera_autorotate 0
settings put secure camera_launch_source_touch_gesture 0
settings put secure camera_double_tap_power_gesture_disabled 1
settings put secure camera_double_twist_to_flip_enabled 0
settings put secure wake_gesture_enabled 0
settings put secure silence_gesture_enabled 0
settings put secure hush_gesture_used 0
settings put secure skip_gesture_count 0
settings put secure silence_call_gesture_count 0
settings put secure skip_touch_count 0
settings put secure aware_enabled 0
settings put secure face_unlock_app_enabled 0
settings put secure face_unlock_diversity_required 0
settings put secure face_unlock_re_enroll 0
settings put secure face_unlock_dismisses_keyguard 0
settings put secure face_unlock_attention_required 0
settings put secure optical_image_stabilization_enabled 0
settings put secure managed_profile_contact_remote_search 0
settings put secure cross_profile_calendar_enabled 0
settings put secure location_access_check_interval_millis 0
settings put secure location_access_check_delay_millis 0
settings put secure user_setup_complete 1
settings put secure last_setup_shown ""
settings put secure immersive_mode_confirmations confirmed
settings put secure print_service_search_uri ""
settings put secure payment_service_search_uri ""
settings put secure autofill_service_search_uri ""
settings put secure spell_checker_enabled 0
settings put secure selected_spell_checker ""
settings put secure selected_input_method_subtype -1
settings put secure show_note_about_notification_hiding 0
settings put secure sleep_timeout -1
settings put secure night_display_enabled 0
settings put secure night_display_auto_mode 0
settings put secure accessibility_enabled 0
settings put secure accessibility_display_inversion_enabled 0
settings put secure accessibility_display_daltonizer_enabled 0
settings put secure accessibility_high_text_contrast_enabled 0
settings put secure accessibility_captioning_enabled 0
settings put system accelerometer_rotation 0
settings put system haptic_feedback_enabled 1
settings put system notification_light_pulse 0
settings put system screen_brightness_mode 0
settings put system screen_off_timeout 600000
settings put system sound_effects_enabled 1
settings put system vibrate_on 1
settings put system mode_ringer 2
settings put system pointer_location 0
settings put system show_touches 0
settings put system window_orientation_listener_log 0
settings put system show_battery_percent 0
settings put system time_12_24 24
settings put system user_rotation 0
settings put system lockscreen_sounds_enabled 0
settings put system dtmf_tone_type 0
settings put system hearing_aid 0
settings put system tty_mode 0
settings put system sip_receive_calls 0
settings put system sip_call_options 0
settings put system sip_always 0
settings put system pointer_speed 7
device_config put runtime_native_boot enable_iop_stats false
device_config put input_native_boot deep_press_enabled false
device_config put input_native_boot touch_histogram_enabled false
device_config put privacy camera_mic_icons_enabled false
device_config put privacy location_indicators_enabled false
device_config put privacy location_accuracy_enabled false
device_config put textclassifier system_textclassifier_enabled false
device_config put intelligence attention_service_enabled false
device_config put intelligence adaptive_sound_enabled false
device_config put autofill smart_suggestion_supported_modes 0
cmd appops set com.android.printspooler RUN_IN_BACKGROUND ignore
cmd appops set com.android.bips RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.printservice.recommendation RUN_IN_BACKGROUND ignore
cmd appops set com.android.calllogbackup RUN_IN_BACKGROUND ignore
cmd appops set com.android.providers.userdictionary RUN_IN_BACKGROUND ignore
cmd appops set com.android.wallpaper.livepicker RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.projection.gearhead RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.feedback RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.onetimeinitializer RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.partnersetup RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.syncadapters.contacts RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.easyshare RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.website RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.wallet RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.theme RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.appstore RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.video.editor RUN_IN_BACKGROUND ignore
settings put global sync_manager_constants max_retries_per_group=1
settings put global sync_manager_constants sync_daily_limit=0
settings put global wifi_scan_throttle_enabled 1
settings put global wifi_frequency_band 2
settings put global wifi_ephemeral_out_of_range_timeout_ms 0
cmd appops set com.vivo.browser PROJECT_MEDIA ignore
cmd appops set com.vivo.browser MANAGE_EXTERNAL_STORAGE ignore
cmd appops set com.bbk.launcher2 MANAGE_EXTERNAL_STORAGE allow
cmd appops set com.bbk.theme WAKE_LOCK ignore
cmd appops set com.vivo.globalsearch WAKE_LOCK ignore
cmd appops set com.vivo.globalsearch RUN_IN_BACKGROUND ignore
settings put global activity_manager_constants max_service_inactivity=10000
settings put global activity_manager_constants service_restart_duration=9999999
settings put global activity_manager_constants service_reset_run_duration=9999999
settings put global activity_manager_constants memory_info_throttle_time=9999999
settings put global enable_smart_replies_in_notifications 0
settings put global smart_suggestion_in_launcher 0
settings put secure hush_gesture_used 0
settings put secure manual_ringer_toggle_count 0
settings put system vibrate_when_ringing 1
settings put global sys_storage_cache_percentage 0
settings put global sys_storage_cache_max_bytes 0
settings put global sys_storage_full_threshold_bytes 0
settings put global show_first_crash_dialog 0
settings put secure send_action_app_error 0
settings put system send_security_reports 0
settings put global dropbox_max_files 0
settings put global dropbox_quota_kb 0
settings put global view_scroll_friction 0.005
settings put global view_configuration_touch_slop 4
settings put secure long_press_timeout 200
settings put global activity_manager_constants bg_check_interval=0,full_pss_min_interval=120000,gc_timeout=5000,max_cached_processes=1024
settings put global sys_storage_threshold_percentage 5
settings put global fstrim_mandatory_interval 3600
cmd jobscheduler cancel-all
settings put global wifi_watchdog_on 0
settings put global network_scoring_ui_enabled 0
settings put global network_recommendation_enabled 0
pm grant android.permission.BLUETOOTH_ADMIN
pm grant android.permission.BACKUP
pm grant android.permission.RESTORE_RUNTIME_PERMISSIONS
pm grant android.permission.RESTORE_PENDING_INTENTS
pm grant android.permission.MANAGE_USERS
pm grant android.permission.CREATE_USERS
pm grant android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS
pm grant android.permission.MANAGE_DEVICE_ADMINS
pm grant android.permission.CLEAR_APP_USER_DATA
pm grant android.permission.DELETE_CACHE_FILES
pm grant android.permission.DELETE_PACKAGES
pm grant android.permission.MANAGE_APP_TOKENS
pm grant android.permission.PERFORMANCE_HINT
pm grant android.permission.CONTROL_DEVICE_POWER
pm grant android.permission.DEVICE_POWER
pm grant android.permission.POWER_SAVER
pm grant android.permission.KILL_BACKGROUND_PROCESSES
pm grant android.permission.FORCE_STOP_PACKAGES
pm grant android.permission.SET_PROCESS_LIMIT
pm grant android.permission.REAL_GET_TASKS
pm grant android.permission.CLEAR_APP_CACHE
pm grant android.permission.ACCESS_CACHE_FILESYSTEM
pm grant android.permission.MOUNT_UNMOUNT_FILESYSTEMS
pm grant android.permission.CONNECTIVITY_INTERNAL
pm grant android.permission.NETWORK_STACK
pm grant android.permission.MANAGE_NETWORK_POLICY
pm grant android.permission.SET_NETWORK_POLICY
pm grant android.permission.CHANGE_NETWORK_STATE
pm grant android.permission.CHANGE_WIFI_STATE
pm grant android.permission.ACCESS_NETWORK_STATE
pm grant android.permission.ACCESS_WIFI_STATE
pm grant android.permission.GAME_OPTIMIZATION
pm grant android.permission.PERFORMANCE_HINT
pm grant android.permission.GRAPHICS_ALLOCATION_CONTROL
pm grant android.permission.SET_DEBUG_APP
pm grant android.permission.SET_PROCESS_LIMIT
pm grant android.permission.READ_LOGS
pm grant android.permission.DUMP
pm grant android.permission.ACCESS_MTP
pm grant android.permission.MANAGE_ACTIVITY_STACKS
pm grant android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS
pm grant android.permission.CONTROL_VPN
pm grant android.permission.MANAGE_SOUND_TRIGGER
pm grant android.permission.MANAGE_USB
pm grant android.permission.OBSERVE_SENSOR_PRIVACY
pm grant android.permission.SET_ALWAYS_FINISH
pm grant android.permission.ACCESS_MOCK_LOCATION
pm grant android.permission.DEVELOPMENT_SETTINGS
pm grant android.permission.MODIFY_PHONE_STATE
pm grant android.permission.READ_PHONE_STATE
pm grant android.permission.INSTALL_PACKAGES
pm grant android.permission.INSTALL_LOCATION_PROVIDER
pm grant android.permission.CLEAR_APP_USER_DATA
pm grant android.permission.MANAGE_APP_OPS_MODES
pm grant android.permission.GET_APP_OPS_STATS
pm grant android.permission.GET_PACKAGE_SIZE
pm grant android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS
settings put global gaming_mode_performance 3
settings put global gaming_thermal_control 0
settings put global gaming_touch_response 3
setprop debug.egl.force_gpu 1
setprop debug.vulkan.force_gpu_clock 1
echo 3 > /proc/sys/vm/drop_caches
echo 1 > /proc/sys/vm/compact_memory
pm trim-caches 9999999999999
settings put system touch.pressure.scale 0.001
settings put system touch.size.scale 1.0
settings put system high_touch_sensitivity_enabled 1
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
echo 1 > /sys/devices/system/cpu/cpu0/online
settings put global sys_uid_cpupower 1
settings put global sys_traced_enable 0
settings put global fstrim_mandatory_interval 1
settings put global gpu_debug_layers 0
settings put global enable_gpu_debug_layers 0
settings put global accessibility_display_daltonizer_enabled 0
settings put global accessibility_display_inversion_enabled 0
settings put global accessibility_display_magnification_enabled 0
settings put global bluetooth_on 0
settings put global ble_scan_always_enabled 0
settings put global call_details_clipboard_retention_days 0
settings put global data_roaming 0
settings put global development_force_desktop_mode_on_external_displays 0
settings put global device_provisioned 1
settings put global enable_cellular_on_boot 1
settings put global enable_gpu_debug_layers 0
settings put global encoded_surround_output 0
settings put global ephemeris_retention_time 0
settings put global force_allow_on_external 1
settings put global gpu_debug_layers 0
settings put global hdmi_control_enabled 0
settings put global heads_up_notifications_enabled 0
settings put global hidden_api_policy 1
settings put global hide_error_dialogs 1
settings put global install_non_market_apps 1
settings put global instant_app_dexopt_enabled 0
settings put global location_global_kill_switch 1
settings put global low_power_trigger_level 0
settings put global mobile_data_always_on 1
settings put global mobile_data_preferred 1
settings put global mode_ringer 2
settings put global netstats_enabled 0
settings put global network_scoring_ui_enabled 0
settings put global new_contact_aggregator 0
settings put global nfc_on 0
settings put global notification_badging 0
settings put global notification_bubbles 0
settings put global nsd_on 0
settings put global online_manual_url 0
settings put global overlay_display_devices ""
settings put global package_verifier_enable 0
settings put global package_verifier_timeout 0
settings put global pdn_hysteresis_ms 0
settings put global send_action_app_error 0
settings put global show_notification_channel_warnings 0
settings put global sms_default_application ""
settings put global sound_effects_enabled 1
settings put global speed_label_cache_eviction_age_millis 0
settings put global stay_on_while_plugged_in 0
settings put global storage_benchmark_interval 0
settings put global sync_max_retry_delay_in_seconds 0
settings put global sys_storage_threshold_percentage 1
settings put global tether_offload_disabled 1
settings put global tether_supported 0
settings put global theater_mode_on 0
settings put global unused_static_shared_lib_min_cache_period 0
settings put global updatable_driver_all_apps 1
settings put global upload_apk_enable 0
settings put global use_google_mail 0
settings put global user_setup_complete 1
settings put global wait_for_debugger 0
settings put global webview_multiprocess 1
settings put global wifi_display_on 0
settings put global wifi_max_dhcp_retry_count 0
settings put global wifi_mobile_data_transition_wakelock_timeout_ms 0
settings put global wifi_networks_available_notification_on 0
settings put global wifi_scan_always_enabled 0
settings put global wifi_scan_throttle_enabled 1
settings put global wifi_sleep_policy 2
settings put global wifi_watchdog_on 0
settings put global wifi_watchdog_poor_network_test_enabled 0
settings put global wtf_is_fatal 0
settings put global zen_mode 0
settings put secure adaptive_sleep 0
settings put secure android_id_enabled 0
settings put secure assistant_voice_launch_enabled 0
settings put secure autofill_logging_level 0
settings put secure automatic_storage_manager_enabled 0
settings put secure backup_auto_restore 0
settings put secure backup_enabled 0
settings put secure camera_autorotate 0
settings put secure camera_double_tap_power_gesture_disabled 1
settings put secure camera_double_twist_to_flip_enabled 0
settings put secure camera_launch_source_touch_gesture 0
settings put secure cmas_additional_broadcast_pkg ""
settings put secure completed_category_prefix ""
settings put secure connectivity_release_pending_intent_delay_ms 0
settings put secure content_capture_enabled 0
settings put secure cross_profile_calendar_enabled 0
settings put secure doze_always_on 0
settings put secure doze_enabled 0
settings put secure doze_pulse_on_double_tap 0
settings put secure doze_pulse_on_long_press 0
settings put secure doze_pulse_on_pick_up 0
settings put secure emergency_assistance_application ""
settings put secure enabled_accessibility_services ""
settings put secure enabled_print_services ""
settings put secure enabled_vr_listeners ""
settings put secure face_unlock_app_enabled 0
settings put secure face_unlock_attention_required 0
settings put secure face_unlock_dismisses_keyguard 0
settings put secure face_unlock_diversity_required 0
settings put secure face_unlock_re_enroll 0
settings put secure immersive_mode_confirmations confirmed
settings put secure incall_power_button_behavior 1
settings put secure last_setup_shown ""
settings put secure location_access_check_delay_millis 0
settings put secure location_access_check_interval_millis 0
settings put secure location_mode 0
settings put secure location_providers_allowed ""
settings put secure lock_screen_allow_private_notifications 0
settings put secure lock_screen_show_notifications 0
settings put secure long_press_timeout 250
settings put secure managed_profile_contact_remote_search 0
settings put secure mount_play_notification_snd 0
settings put secure mount_ums_autostart 0
settings put secure mount_ums_notify_enabled 0
settings put secure multi_press_timeout 250
settings put secure night_display_activated 0
settings put secure night_display_auto_mode 0
settings put secure night_display_enabled 0
settings put secure optical_image_stabilization_enabled 0
settings put secure package_verifier_user_consent -1
settings put secure parental_control_enabled 0
settings put secure payment_service_search_uri ""
settings put secure preferred_tty_mode 0
settings put secure print_service_search_uri ""
settings put secure screensaver_activate_on_dock 0
settings put secure screensaver_activate_on_sleep 0
settings put secure screensaver_components ""
settings put secure screensaver_enabled 0
settings put secure search_global_search_activity ""
settings put secure search_max_results_to_display 0
settings put secure selected_spell_checker ""
settings put secure show_ime_with_hard_keyboard 0
settings put secure show_note_about_notification_hiding 0
settings put secure silence_gesture_enabled 0
settings put secure skip_first_use_hints 1
settings put secure sleep_timeout -1
settings put secure spell_checker_enabled 0
settings put secure touch_blocking_period 0
settings put secure trust_agents_initialized 1
settings put secure tts_default_rate 100
settings put secure tv_input_hidden_inputs ""
settings put secure ui_night_mode 1
settings put secure unknown_sources_default 1
settings put secure usb_audio_automatic_routing_disabled 1
settings put secure user_setup_complete 1
settings put secure voice_interaction_service ""
settings put secure voice_recognition_service ""
settings put secure wake_gesture_enabled 0
settings put secure web_action_enabled 0
settings put system accelerometer_rotation 0
settings put system access_control_enabled 0
settings put system advanced_settings 1
settings put system alarm_alert ""
settings put system dtmf_tone_type 0
settings put system haptic_feedback_enabled 1
settings put system hearing_aid 0
settings put system hide_rotation_lock_toggle_for_accessibility 0
settings put system intelligent_sleep_mode 0
settings put system lockscreen_sounds_enabled 0
settings put system media_button_receiver ""
settings put system mode_ringer 2
settings put system mute_streams_affected 0
settings put system notification_light_pulse 0
settings put system notification_sound ""
settings put system pointer_location 0
settings put system pointer_speed 7
settings put system ringtone ""
settings put system screen_brightness_mode 0
settings put system show_battery_percent 0
settings put system show_gtalk_service_status 0
settings put system sip_address_only 0
settings put system sip_always 0
settings put system sip_ask_me_each_time 0
settings put system sip_call_options 0
settings put system sip_receive_calls 0
settings put system sound_effects_enabled 1
settings put system time_12_24 24
settings put system tty_mode 0
settings put system user_rotation 0
settings put system vibrate_on 1
settings put system vibrate_when_ringing 1
settings put system volume_alarm 0
settings put system volume_bluetooth_sco 15
settings put system volume_music 15
settings put system volume_notification 0
settings put system volume_ring 0
settings put system volume_system 0
settings put system volume_voice 15
settings put system window_orientation_listener_log 0
device_config put activity_manager bg_current_drain_monitor_enabled false
device_config put activity_manager bg_power_restriction_enabled false
device_config put activity_manager default_background_activity_starts_enabled true
device_config put activity_manager fgs_start_foreground_timeout 1
device_config put activity_manager lmkd_reclaim_on_free true
device_config put activity_manager max_cached_processes 2048
device_config put activity_manager max_empty_time_millis 60000
device_config put activity_manager max_phantom_processes 2147483647
device_config put activity_manager max_service_inactivity 0
device_config put activity_manager use_compaction false
device_config put autofill smart_suggestion_supported_modes 0
device_config put battery_saver advertising_enabled false
device_config put battery_saver launch_boost_disabled false
device_config put game_overlay com.android.chrome mode=2,downscaleFactor=1.0
device_config put game_overlay com.android.systemui mode=2,downscaleFactor=1.0
device_config put game_overlay com.primatelabs.geekbench6 mode=2,downscaleFactor=1.0
device_config put game_overlay com.termux mode=2,downscaleFactor=1.0
device_config put game_overlay net.kdt.pojavlaunch mode=2,downscaleFactor=0.8
device_config put input_native_boot deep_press_enabled false
device_config put input_native_boot scroll_friction 0.005
device_config put input_native_boot touch_histogram_enabled false
device_config put input_native_boot velocitytracker_strategy lsq2
device_config put intelligence adaptive_sound_enabled false
device_config put intelligence attention_service_enabled false
device_config put media_native transcode_enabled false
device_config put package_manager_service pm_dexopt_downgrade_after_inactive_days 365
device_config put package_manager_service unused_app_restriction_enabled false
device_config put privacy camera_mic_icons_enabled false
device_config put privacy location_accuracy_enabled false
device_config put privacy location_indicators_enabled false
device_config put runtime_native_boot disable_iostats true
device_config put runtime_native_boot enable_heap_pointer_tagging false
device_config put runtime_native_boot enable_iop_stats false
device_config put runtime_native_boot enable_uffd_gc true
device_config put runtime_native_boot gwp_asan_level 0
device_config put runtime_native_boot profiles_enabled false
device_config put textclassifier model_file_path /dev/null
device_config put textclassifier system_textclassifier_enabled false
device_config put window_manager system_gestures_exclusion_limit_dp 0
cmd appops set com.android.bips RUN_IN_BACKGROUND ignore
cmd appops set com.android.calllogbackup RUN_IN_BACKGROUND ignore
cmd appops set com.android.printspooler RUN_IN_BACKGROUND ignore
cmd appops set com.android.providers.media PROJECT_MEDIA ignore
cmd appops set com.android.providers.userdictionary RUN_IN_BACKGROUND ignore
cmd appops set com.android.systemui VIBRATE allow
cmd appops set com.android.traceur RUN_IN_BACKGROUND ignore
cmd appops set com.android.vending RUN_ANY_IN_BACKGROUND ignore
cmd appops set com.android.vending RUN_IN_BACKGROUND ignore
cmd appops set com.android.wallpaper.livepicker RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.account RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.cloud RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.launcher2 MANAGE_EXTERNAL_STORAGE allow
cmd appops set com.bbk.launcher2 VIBRATE allow
cmd appops set com.bbk.theme RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.theme WAKE_LOCK ignore
cmd appops set com.bbk.updater RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.feedback RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.gms ACTIVITY_RECOGNITION ignore
cmd appops set com.google.android.gms MANAGE_EXTERNAL_STORAGE ignore
cmd appops set com.google.android.gms PROJECT_MEDIA ignore
cmd appops set com.google.android.googlequicksearchbox RECORD_AUDIO ignore
cmd appops set com.google.android.onetimeinitializer RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.partnersetup RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.printservice.recommendation RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.projection.gearhead RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.syncadapters.contacts RUN_IN_BACKGROUND ignore
cmd appops set com.primatelabs.geekbench6 WAKE_LOCK allow
cmd appops set com.vivo.ai.jovi.inlife RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.appstore RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.assistant RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.browser MANAGE_EXTERNAL_STORAGE ignore
cmd appops set com.vivo.browser PROJECT_MEDIA ignore
cmd appops set com.vivo.browser RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.daemonService ACTIVITY_RECOGNITION ignore
cmd appops set com.vivo.daemonService RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.daemonService VIBRATE allow
cmd appops set com.vivo.easyshare RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.globalsearch RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.globalsearch WAKE_LOCK ignore
cmd appops set com.vivo.pushservice RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.space RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.video.editor RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.wallet RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.website RUN_IN_BACKGROUND ignore
cmd game mode performance com.android.chrome
cmd game mode performance com.google.android.youtube
cmd game mode performance com.primatelabs.geekbench6
cmd game mode performance com.termux
cmd game mode performance net.kdt.pojavlaunch
cmd game set --mode performance com.antutu.ABenchMark
cmd game set --mode performance com.primatelabs.geekbench6
cmd jobscheduler cancel-all
cmd looper_stats disable
cmd sensorservice restrict
cmd stats disable
cmd thermalservice override-status 0
am set-standby-bucket com.bbk.calendar restricted
am set-standby-bucket com.bbk.cloud restricted
am set-standby-bucket com.bbk.theme restricted
am set-standby-bucket com.facebook.katana restricted
am set-standby-bucket com.google.android.apps.maps restricted
am set-standby-bucket com.google.android.gm restricted
am set-standby-bucket com.google.android.googlequicksearchbox restricted
am set-standby-bucket com.instagram.android restricted
am set-standby-bucket com.ss.android.ugc.aweme restricted
am set-standby-bucket com.vivo.agent restricted
am set-standby-bucket com.vivo.browser restricted
am set-standby-bucket com.vivo.daemonService restricted
am set-standby-bucket com.vivo.globalsearch restricted
am set-standby-bucket com.vivo.space restricted
setprop debug.angle.backend 2
setprop debug.composition.type gpu
setprop debug.cpurendering.force 0
setprop debug.egl.swapinterval -1
setprop debug.gr.swapinterval 0
setprop debug.hwui.renderer skiavk
setprop debug.hwui.render_dirty_regions false
setprop debug.hwui.show_dirty_regions false
setprop debug.hwui.skip_empty_damage true
setprop debug.hwui.use_buffer_age false
setprop debug.mdpcomp.maxframe 0
setprop debug.mtk.gpu.boost 1
setprop debug.renderengine.backend skiavk
setprop debug.sf.dim_layer_type 0
setprop debug.sf.disable_blurs 1
setprop debug.sf.disable_client_composition_cache 1
setprop debug.sf.disable_fbc 1
setprop debug.sf.early_app_phase_offset_ns 500000
setprop debug.sf.early_phase_offset_ns 500000
setprop debug.sf.enable_gl_backpressure 0
setprop debug.sf.enable_hwc_vds 0
setprop debug.sf.high_fps_late_app_phase_offset_ns 0
setprop debug.sf.high_fps_late_sf_phase_offset_ns 0
setprop debug.sf.latch_unsignaled 1
setprop debug.sf.max_igbp_count 4
setprop debug.sf.phase_offset_threshold_for_next_vsync_ns 0
setprop debug.sf.predict_hwc_composition_strategy 0
setprop debug.sf.showbackground 0
setprop debug.sf.showcpu 0
setprop debug.sf.showfps 0
setprop debug.sf.showupdates 0
setprop debug.stagefright.c2inputsurface -1
setprop debug.stagefright.omx_default_rank 0
setprop persist.sys.dalvik.vm.lib.2 libart.so
setprop persist.sys.monster_mode 1
setprop persist.sys.mtk_benchmark 1
setprop persist.sys.perf.topAppRenderThreadBoost.boost 100
setprop persist.sys.perf.topAppRenderThreadBoost.enable true
setprop persist.sys.performance 1
setprop persist.sys.purgeable_assets 1
setprop persist.sys.rotation.animation 0
setprop persist.sys.scrollingcache 0
setprop persist.sys.strictmode.disable 1
setprop persist.sys.strictmode.visual 0
setprop persist.sys.use_16bpp_alpha 1
setprop persist.sys.vivo.game.turbo 1
setprop persist.sys.vivo.multi_turbo 1
setprop dalvik.vm.boot-dex2oat-threads 8
setprop dalvik.vm.checkjni false
setprop dalvik.vm.dexopt-flags v=n,o=v
setprop dalvik.vm.dex2oat-filter speed
setprop dalvik.vm.dex2oat-threads 8
setprop dalvik.vm.execution-mode int:jit
setprop dalvik.vm.heapgrowthlimit 512m
setprop dalvik.vm.heapmaxfree 32m
setprop dalvik.vm.heapminfree 2m
setprop dalvik.vm.heapsize 1024m
setprop dalvik.vm.heaptargetutilization 0.50
setprop dalvik.vm.image-dex2oat-filter speed
setprop dalvik.vm.jit.codecachesize 256m
setprop dalvik.vm.verify-bytecode false
setprop ro.config.nocheckin yes
setprop log.tag.stats_log OFF
setprop media.stagefright.thumbnail.prefer_hw_codecs true
setprop net.lte.ims.volte.usage 1
setprop net.tcp.2g_only 0
setprop profiler.force_disable_err_rpt 1
setprop profiler.force_disable_ulog 1
setprop ro.config.hw_quickpoweron true
setprop ro.input.noresample 1
setprop ro.min_pointer_dur 1
setprop ro.sys.fw.bg_apps_limit 128
setprop ro.sys.fw.trim_cache_percent 100
setprop ro.sys.fw.trim_empty_percent 100
setprop ro.vendor.gmo.ram_optimize 0
setprop ro.vendor.mtk.app_launch_boost 1
setprop ro.vendor.mtk.sensor.support 1
setprop ro.vendor.mtk_benchmark_boost 1
setprop ro.vendor.mtk_cam_security_check 0
setprop ro.vendor.mtk_config_max_dram_size 0x1000000000
setprop sys.use_fifo_ui 1
setprop vendor.debug.egl.swapinterval 0
setprop vendor.debug.sf.swapinterval 0
setprop video.accelerate.hw 1
setprop view.touch_slop 2
settings put global gpu_debug_app ""
settings put global updatable_driver_all_apps 1
settings put global game_driver_all_apps 1
settings put global game_driver_opt_in_apps 1
setprop debug.hwui.renderer skiavk
setprop debug.renderengine.backend skiavk
setprop debug.composition.type gpu
setprop debug.hwui.use_buffer_age false
setprop debug.sf.disable_client_composition_cache 1
setprop debug.sf.predict_hwc_composition_strategy 0
setprop debug.sf.enable_gl_backpressure 0
setprop debug.sf.latch_unsignaled 1
setprop debug.sf.enable_hwc_vds 0
setprop debug.gr.swapinterval 0
setprop debug.egl.swapinterval 0
setprop vendor.debug.sf.swapinterval 0
setprop ro.vendor.gmo.ram_optimize 0
setprop ro.vendor.mtk_config_max_dram_size 0x800000000
setprop ro.vendor.mtk.sensor.support 1
setprop ro.vendor.mtk.app_launch_boost 1
setprop persist.sys.powermode 1
setprop sys.use_fifo_ui 1
setprop dalvik.vm.heapgrowthlimit 512m
setprop dalvik.vm.heapsize 1024m
setprop dalvik.vm.heaptargetutilization 0.75
setprop dalvik.vm.heapminfree 4m
setprop dalvik.vm.heapmaxfree 16m
setprop dalvik.vm.execution-mode int:jit
settings put global angle_debug_package org.chromium.angle
settings put global angle_gl_driver_selection_pkgs com.primatelabs.geekbench6
settings put global angle_gl_driver_selection_values angle
setprop debug.angle.backend 2
setprop debug.hwui.renderer skiavk
settings put global angle_gl_driver_selection_pkgs com.primatelabs.geekbench6
settings put global angle_gl_driver_selection_values angle
cmd game mode performance com.primatelabs.geekbench6
cmd game set --mode performance com.primatelabs.geekbench6
device_config put game_overlay com.primatelabs.geekbench6 mode=2,downscaleFactor=1.0
setprop debug.sf.max_igbp_count 4
setprop debug.sf.disable_client_composition_cache 1
setprop debug.sf.high_fps_late_app_phase_offset_ns 0
cmd batterystats disable
settings put global battery_stats_constants "track_cpu_active_cluster_time=false,track_cpu_times_by_proc_state=false"
setprop ro.vendor.mtk_power_thermal_limit 0
setprop persist.vendor.power.battery_protection 0
settings put global low_power_trigger_level 0
settings put global automatic_power_save_mode 0
setprop persist.sys.power.default.mode 1
setprop sys.be_interactive 1
cmd battery set ac 1
cmd battery set usb 1
echo 0 > /sys/module/ph_power/parameters/msm_thermal_levels

setprop debug.sf.high_fps_late_sf_phase_offset_ns 0
setprop debug.sf.phase_offset_threshold_for_next_vsync_ns 0
setprop persist.sys.mtk_benchmark 1
setprop ro.vendor.mtk_benchmark_boost 1
setprop debug.mtk.gpu.boost 1
setprop persist.sys.perf.topAppRenderThreadBoost.enable true
setprop persist.sys.perf.topAppRenderThreadBoost.boost 100
settings put global foreground_process_boost 3
settings put global top_app_boost 3
setprop dalvik.vm.heapminfree 512k
setprop dalvik.vm.heapmaxfree 8m
setprop dalvik.vm.heaptargetutilization 0.9
setprop dalvik.vm.heapgrowthlimit 512m
settings put system accelerometer_rotation 0
settings put system auto_rotate 0
cmd sensorservice restrict
settings put system haptic_feedback_enabled 1
settings put system vibrate_on 1
settings put global battery_saver_constants "vibration_disabled=false"
cmd appops set android VIBRATE allow
setprop dalvik.vm.dex2oat-filter speed
setprop dalvik.vm.image-dex2oat-filter speed
cmd power set-mode 0
cmd appops set com.android.systemui RUN_IN_BACKGROUND allow
cmd appops set com.bbk.launcher2 RUN_IN_BACKGROUND allow
settings put global window_animation_scale 1
settings put global transition_animation_scale 1
settings put global animator_duration_scale 1
settings put global force_gpu_rendering 1
settings put global force_4x_msaa 0
settings put global zen_mode 0
setprop debug.hwui.renderer skiavk
setprop debug.sf.disable_client_composition_cache 1
settings put global gpu_debug_layers 0
settings put global enable_gpu_debug_layers 0
cmd appops set com.primatelabs.geekbench6 WAKE_LOCK allow
setprop debug.angle.backend 2
setprop debug.cpurendering.force 0
settings put global game_driver_opt_in_apps com.primatelabs.geekbench6
device_config put textclassifier system_textclassifier_enabled false
device_config put textclassifier model_file_path /dev/null
device_config put intelligence attention_service_enabled false
device_config put intelligence adaptive_sound_enabled false
device_config put autofill smart_suggestion_supported_modes 0
settings put global captive_portal_detection_enabled 0
settings put global nsd_on 0
settings put global pac_change_delay 0
settings put global transcode_enabled 0
settings put global disk_free_change_reporting_threshold 2097152
settings put global sync_max_retry_delay_in_seconds 3600
settings put global enable_ephemeral_feature 0
settings put global installed_instant_app_min_cache_period 0
settings put global package_verifier_user_consent -1
settings put global guest_user_enabled 0
settings put global online_manual_url 0
settings put global bugreport_in_power_menu 0
settings put secure cross_profile_calendar_enabled 0
settings put secure managed_profile_contact_remote_search 0
settings put system intelligent_sleep_mode 0
settings put system access_control_enabled 0
setprop persist.sys.enable_rescue 0
setprop persist.sys.strictmode.disable 1
setprop persist.sys.strictmode.visual 0
setprop profiler.force_disable_err_rpt 1
setprop profiler.force_disable_ulog 1
setprop dalvik.vm.checkjni false
setprop dalvik.vm.verify-bytecode false
setprop dalvik.vm.debug.alloc 0
setprop dalvik.vm.stack-trace-file /dev/null
setprop ro.config.nocheckin yes
setprop debug.atrace.tags.enableflags 0
setprop persist.traced.enable 0
cmd appops set com.vivo.space RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.space WAKE_LOCK ignore
cmd appops set com.vivo.browser RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.browser WAKE_LOCK ignore
cmd appops set com.vivo.globalsearch RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.globalsearch WAKE_LOCK ignore
cmd appops set com.bbk.theme RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.theme WAKE_LOCK ignore
cmd appops set com.google.android.gms SYSTEM_ALERT_WINDOW ignore
cmd appops set com.google.android.gms USE_SIP ignore
cmd appops set com.google.android.gms PROCESS_OUTGOING_CALLS ignore
device_config put activity_manager bg_current_drain_monitor_enabled false
device_config put activity_manager bg_power_restriction_enabled false
device_config put privacy location_indicators_enabled false
device_config put runtime_native_boot disable_iostats true
cmd looper_stats disable
settings put global fstrim_mandatory_interval 3600
settings put global enable_gwp_asan 0
settings put global selinux_status 0
settings put global package_verifier_user_consent -1
settings put global wifi_scan_always_enabled 0
settings put global ble_scan_always_enabled 0
settings put global mobile_data_always_on 1
settings put global network_scoring_ui_enabled 0
settings put global network_recommendations_enabled 0
settings put global wifi_watchdog_on 0
settings put global wifi_wakeup_available 0
settings put global network_watchlist_enabled 0
settings put global captive_portal_mode 0
settings put global captive_portal_server_mode 0
settings put global nsd_on 0
settings put global pac_change_delay 0
settings put global tether_offload_disabled 1
settings put global soft_ap_timeout_enabled 1
settings put global fstrim_mandatory_interval 1
settings put global sys_storage_threshold_percentage 1
settings put global sys_storage_threshold_max_bytes 10485760
settings put global sys_storage_full_threshold_bytes 10485760
settings put global sync_manager_constants max_retries_per_group=0
settings put global job_scheduler_quota_controller_constants max_session_count_per_rate_limiting_window=999999
settings put global job_scheduler_quota_controller_constants max_job_count_per_rate_limiting_window=999999
settings put global alarm_manager_constants allow_while_idle_quota=9999
settings put global backup_agent_timeout_parameters 0
settings put global art_verifier_verify_debuggable 0
settings put global hidden_api_policy 1
settings put global hidden_api_policy_p_apps 1
settings put global hidden_api_policy_pre_p_apps 1
settings put global activity_manager_constants boot_time_temp_allowlist_duration=0
settings put global activity_manager_constants default_background_activity_starts_enabled=true
settings put global device_idle_constants inactive_to=0
settings put global device_idle_constants sensing_to=0
settings put global battery_saver_constants_standby_mode_enabled true
settings put global send_action_app_error 0
settings put global dropbox_max_files 0
settings put global dropbox_quota_kb 0
settings put global wtf_is_fatal 0
settings put global anr_show_background 0
settings put global show_first_crash_dialog 0
settings put secure upload_apk_enable 0
settings put secure android_id_enabled 0
settings put secure automatic_storage_manager_enabled 0
settings put secure assistant_voice_launch_enabled 0
settings put secure voice_recognition_service ""
settings put secure voice_interaction_service ""
settings put secure search_global_search_activity ""
settings put secure search_max_results_to_display 0
settings put secure screensaver_enabled 0
settings put secure screensaver_activate_on_dock 0
settings put secure screensaver_activate_on_sleep 0
settings put secure sleep_timeout -1
settings put secure location_mode 0
settings put secure location_providers_allowed ""
settings put secure cross_profile_calendar_enabled 0
settings put secure managed_profile_contact_remote_search 0
settings put secure camera_autorotate 0
settings put secure skip_first_use_hints 1
settings put secure immersive_mode_confirmations confirmed
settings put system intelligent_sleep_mode 0
settings put system accelerometer_rotation 0
settings put system pointer_speed 7
settings put system sound_effects_enabled 1
settings put system lockscreen_sounds_enabled 0
settings put system show_battery_percent 0
settings put system time_12_24 24
settings put system notification_light_pulse 0
settings put system sip_always 0
settings put system sip_receive_calls 0
settings put system sip_call_options 0
device_config put runtime_native_boot disable_iostats true
device_config put runtime_native_boot profiles_enabled false
device_config put runtime_native_boot enable_heap_pointer_tagging false
device_config put activity_manager bg_current_drain_monitor_enabled false
device_config put activity_manager bg_power_restriction_enabled false
device_config put activity_manager max_cached_processes 2048
device_config put activity_manager use_compaction false
device_config put input_native_boot deep_press_enabled false
device_config put input_native_boot touch_histogram_enabled false
cmd thermalservice override-status 0
settings put global thermal_limit_enabled 0
settings put global thermal_throttling_enabled 0
settings put global thermal_control_enabled 0
settings put global thermal_limit_refresh_rate 0
settings put global thermal_threshold 200
settings put global thermal_warning_threshold 200
settings put global thermal_critical_threshold 200
settings put global warning_temperature 200
settings put global skin_temperature_threshold 200
settings put global device_skin_temp_check 0
setprop ro.vivo.product.overheat.protection 0
setprop persist.vivo.support.thermal 0
setprop persist.sys.thermal.status 0
setprop sys.thermal.status 0
setprop ro.vendor.mtk_power_thermal_limit 0
setprop persist.vendor.mtk.thermal_limit 0
setprop persist.vendor.power.battery_protection 0
setprop sys.thermal.sde_active 0
cmd thermalservice override-status 0
device_config put privacy camera_mic_icons_enabled false
device_config put privacy location_indicators_enabled false
device_config put textclassifier system_textclassifier_enabled false
device_config put intelligence attention_service_enabled false
device_config put autofill smart_suggestion_supported_modes 0
cmd power set-fixed-performance-mode-enabled true
cmd thermalservice override-status 0
cmd looper_stats disable
cmd jobscheduler cancel-all
setprop persist.sys.strictmode.disable 1
setprop persist.sys.strictmode.visual 0
setprop profiler.force_disable_err_rpt 1
setprop profiler.force_disable_ulog 1
setprop log.tag.stats_log OFF
setprop dalvik.vm.checkjni false
setprop dalvik.vm.verify-bytecode false
setprop debug.sf.disable_client_composition_cache 1
setprop debug.sf.predict_hwc_composition_strategy 0
setprop debug.composition.type gpu
setprop debug.hwui.renderer skiavk
setprop debug.renderengine.backend skiavk
setprop sys.use_fifo_ui 1
cmd appops set com.android.calllogbackup RUN_IN_BACKGROUND ignore
cmd appops set com.android.providers.userdictionary RUN_IN_BACKGROUND ignore
cmd appops set com.android.wallpaper.livepicker RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.onetimeinitializer RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.partnersetup RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.projection.gearhead RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.feedback RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.website RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.wallet RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.account RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.theme RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.cloud RUN_IN_BACKGROUND ignore
settings put system haptic_feedback_enabled 1
settings put system vibrate_on 1
settings put system vibrate_when_ringing 1
settings put global battery_saver_constants "vibration_disabled=false,animation_disabled=false,soundtrigger_disabled=false"
cmd appops set android VIBRATE allow
cmd appops set com.android.systemui VIBRATE allow
cmd appops set com.vivo.daemonService VIBRATE allow
cmd appops set com.bbk.launcher2 VIBRATE allow
settings put system vibration_intensity 2
setprop debug.force-opengl 1
setprop debug.hwc.force_gpu_vsync 1
setprop debug.enable-vr-mode 1
settings put global windowsmgr.max_events_per_sec 999
settings put global hidden_api_policy 1
settings put global hidden_api_policy_p_apps 1
settings put global hidden_api_policy_pre_p_apps 1
settings put global content_capture_enabled 0
settings put secure content_capture_enabled 0
settings put global autofill_logging_level 0
settings put global storage_benchmark_interval 0
settings put global netstats_enabled 0
settings put global package_verifier_timeout 0
settings put global intent_firewall_log_level 0
settings put global dev_force_background_check 0
settings put global development_force_rtl 0
settings put global waiting_for_debugger 0
settings put global debug_app ""
settings put global hotword_detection_enabled 0
cmd appops set com.google.android.gms PROJECT_MEDIA ignore
cmd appops set com.google.android.gms MANAGE_EXTERNAL_STORAGE ignore
cmd appops set com.android.providers.media PROJECT_MEDIA ignore
device_config put window_manager system_gestures_exclusion_limit_dp 0
device_config put privacy location_accuracy_enabled false
settings put secure location_mode 0
cmd thermalservice override-status 0
setprop sys.thermal.status 0
settings put global accessibility_button_target_component ""
settings put global accessibility_display_magnification_enabled 0
settings put global accessibility_shortcut_on_lock_screen 0
settings put global device_provisioned 1
settings put global user_setup_complete 1
settings put global development_force_desktop_mode_on_external_displays 0
settings put global overlay_display_devices ""
settings put global speed_label_cache_eviction_age_millis 0
settings put global database_creation_build_id ""
settings put global activity_manager_constants max_cached_processes=1024
settings put global activity_manager_constants background_settle_time=0
settings put global activity_manager_constants fgservice_screen_on_before_time=0
settings put global activity_manager_constants service_min_restart_time_between=0
settings put global activity_manager_constants gc_timeout=100
settings put global activity_manager_constants full_pss_min_interval=120000
settings put global activity_manager_constants power_check_max_cpu_1=0
settings put global activity_manager_constants power_check_max_cpu_2=0
settings put global activity_manager_constants power_check_max_cpu_3=0
settings put global activity_manager_constants power_check_max_cpu_4=0
settings put global alarm_manager_constants min_interval=0
settings put global alarm_manager_constants allow_while_idle_quota=9999
settings put global alarm_manager_constants listener_timeout=0
settings put global alarm_manager_constants max_alarms_per_uid=9999
settings put global app_standby_enabled 0
settings put global app_auto_restriction_enabled 0
settings put global app_restriction_enabled false
settings put global adaptive_battery_management_enabled 0
settings put global automatic_power_save_mode 0
settings put global battery_saver_constants "vibration_disabled=true,animation_disabled=true,soundtrigger_disabled=true,firewall_disabled=true,datasaver_disabled=true,adjust_brightness_disabled=true,force_all_apps_standby=false,force_background_check=false"
settings put global ble_scan_always_enabled 0
settings put global ble_scan_balanced_interval_ms 999999
settings put global ble_scan_low_latency_interval_ms 999999
settings put global ble_scan_low_power_interval_ms 999999
settings put global bluetooth_on 0
settings put global boot_count 0
settings put global bugreport_in_power_menu 0
settings put global captive_portal_detection_enabled 0
settings put global captive_portal_mode 0
settings put global captive_portal_server_mode 0
settings put global captive_portal_use_https 0
settings put global contact_metadata_sync_enabled 0
settings put global data_stall_recovery_on_bad_network 0
settings put global database_creation_build_id ""
settings put global debug_app ""
settings put global development_force_desktop_mode_on_external_displays 0
settings put global development_force_resizable 1
settings put global development_settings_enabled 1
settings put global device_idle_constants inactive_to=0
settings put global device_idle_constants light_after_inactive_to=0
settings put global device_idle_constants locating_to=0
settings put global device_idle_constants motion_inactive_to=0
settings put global device_idle_constants sensing_to=0
settings put global device_provisioned 1
settings put global disk_free_change_reporting_threshold 999999
settings put global dock_audio_media_enabled 0
settings put global dropbox_max_files 0
settings put global dropbox_quota_kb 0
settings put global enable_cellular_on_boot 1
settings put global enable_ephemeral_feature 0
settings put global enable_freeform_support 1
settings put global enable_gpu_debug_layers 0
settings put global encoded_surround_output 0
settings put global ephemeris_retention_time 0
settings put global force_allow_on_external 1
settings put global force_gpu_rendering 1
settings put global force_resizable_activities 1
settings put global fstrim_mandatory_interval 1
settings put global game_driver_all_apps 1
settings put global game_driver_opt_in_apps 1
settings put global game_driver_preference 0
settings put global global_http_proxy_host ""
settings put global global_http_proxy_port ""
settings put global gpu_debug_app ""
settings put global gpu_debug_layers 0
settings put global guest_user_enabled 0
settings put global heads_up_notifications_enabled 0
settings put global hidden_api_policy 1
settings put global hidden_api_policy_p_apps 1
settings put global hidden_api_policy_pre_p_apps 1
settings put global hide_error_dialogs 1
settings put global hotword_detection_enabled 0
settings put global http_proxy ""
settings put global installed_instant_app_min_cache_period 0
settings put global instant_app_dexopt_enabled 0
settings put global job_scheduler_constants bg_job_count=9999
settings put global job_scheduler_constants fg_job_count=9999
settings put global job_scheduler_quota_controller_constants max_job_count_per_rate_limiting_window=999999
settings put global job_scheduler_quota_controller_constants max_job_count_within_rate_limiting_window=999999
settings put global job_scheduler_quota_controller_constants max_session_count_per_rate_limiting_window=999999
settings put global location_background_throttle_interval_ms 999999
settings put global location_global_kill_switch 1
settings put global lock_screen_allow_private_notifications 0
settings put global lock_screen_show_notifications 0
settings put global low_power 0
settings put global low_power_trigger_level 0
settings put global low_power_trigger_level_max 0
settings put global mobile_data_always_on 1
settings put global mobile_data_preferred 1
settings put global mode_ringer 0
settings put global multi_sim_sms 0
settings put global multi_sim_voice_call 0
settings put global netstats_enabled 0
settings put global network_access_timeout_ms 1000
settings put global network_recommendation_enabled 0
settings put global network_scoring_ui_enabled 0
settings put global network_watchlist_enabled 0
settings put global new_contact_aggregator 0
settings put global notification_bubbles 0
settings put global nsd_on 0
settings put global online_manual_url 0
settings put global overlay_display_devices ""
settings put global pac_change_delay 0
settings put global package_verifier_enable 0
settings put global package_verifier_timeout 0
settings put global package_verifier_user_consent -1
settings put global pdn_hysteresis_ms 0
settings put global power_sounds_enabled 0
settings put global private_dns_mode hostname
settings put global private_dns_specifier 1.1.1.1
settings put global provisioning_apn_alarm_delay_ms 0
settings put global radio_bluetooth 0
settings put global radio_cell 1
settings put global radio_nfc 0
settings put global radio_wifi 0
settings put global radio_wimax 0
settings put global read_external_storage_enforced_default 0
settings put global require_password_to_decrypt 0
settings put global send_action_app_error 0
settings put global show_first_crash_dialog 0
settings put global smart_battery_enabled 0
settings put global smart_selection_dark_launch 0
settings put global soft_ap_timeout_enabled 1
settings put global sound_effects_enabled 0
settings put global speed_label_cache_eviction_age_millis 0
settings put global stay_on_while_plugged_in 0
settings put global storage_benchmark_interval 0
settings put global sync_max_retry_delay_in_seconds 0
settings put global sys_storage_full_threshold_bytes 0
settings put global sys_storage_threshold_max_bytes 0
settings put global sys_storage_threshold_percentage 1
settings put global sys_traced_enable 0
settings put global sys_uid_cpupower 1
settings put global tcp_default_init_rwnd 60
settings put global tether_offload_disabled 1
settings put global theater_mode_on 0
settings put global transition_animation_scale 0.0
settings put global animator_duration_scale 0.0
settings put global window_animation_scale 0.0
settings put global unused_static_shared_lib_min_cache_period 0
settings put global updatable_driver_all_apps 1
settings put global updatable_driver_production_allowlist 1
settings put global upload_apk_enable 0
settings put global user_setup_complete 1
settings put global verifier_verify_adb_installs 0
settings put global wait_for_debugger 0
settings put global webview_multiprocess 1
settings put global wifi_display_on 0
settings put global wifi_max_dhcp_retry_count 0
settings put global wifi_mobile_data_transition_wakelock_timeout_ms 0
settings put global wifi_networks_available_notification_on 0
settings put global wifi_scan_always_enabled 0
settings put global wifi_scan_background_throttle_interval 999999
settings put global wifi_scan_throttle_enabled 0
settings put global wifi_sleep_policy 2
settings put global wifi_wakeup_available 0
settings put global wifi_wakeup_enabled 0
settings put global wifi_watchdog_on 0
settings put global wtf_is_fatal 0
settings put global zen_mode 0
settings put secure accessibility_button_target_component ""
settings put secure accessibility_display_daltonizer_enabled 0
settings put secure accessibility_display_inversion_enabled 0
settings put secure accessibility_display_magnification_enabled 0
settings put secure accessibility_enabled 0
settings put secure accessibility_shortcut_on_lock_screen 0
settings put secure adaptive_sleep 0
settings put secure allow_mock_location 0
settings put secure android_id_enabled 0
settings put secure assistant_voice_launch_enabled 0
settings put secure autofill_logging_level 0
settings put secure automatic_storage_manager_enabled 0
settings put secure backup_enabled 0
settings put secure camera_autorotate 0
settings put global webview_multiprocess 1
settings put global webview_optimistic_rendering 1
settings put global enable_cache_quota_calculation 0
settings put global enable_gwp_asan 0
settings put global selinux_status 0
settings put global package_verifier_user_consent -1
settings put global wifi_scan_always_enabled 0
settings put global ble_scan_always_enabled 0
settings put global mobile_data_always_on 1
settings put global network_scoring_ui_enabled 0
settings put global network_recommendations_enabled 0
settings put global wifi_watchdog_on 0
settings put global wifi_wakeup_available 0
settings put global network_watchlist_enabled 0
settings put global captive_portal_mode 0
settings put global captive_portal_server_mode 0
settings put global nsd_on 0
settings put global pac_change_delay 0
settings put global tether_offload_disabled 1
settings put global soft_ap_timeout_enabled 1
settings put global fstrim_mandatory_interval 1
settings put global sys_storage_threshold_percentage 1
settings put global sys_storage_threshold_max_bytes 10485760
settings put global sys_storage_full_threshold_bytes 10485760
settings put global sync_manager_constants max_retries_per_group=0
settings put global job_scheduler_quota_controller_constants max_session_count_per_rate_limiting_window=999999
settings put global job_scheduler_quota_controller_constants max_job_count_per_rate_limiting_window=999999
settings put global alarm_manager_constants allow_while_idle_quota=9999
settings put global backup_agent_timeout_parameters 0
settings put global art_verifier_verify_debuggable 0
settings put global hidden_api_policy 1
settings put global hidden_api_policy_p_apps 1
settings put global hidden_api_policy_pre_p_apps 1
settings put global activity_manager_constants boot_time_temp_allowlist_duration=0
settings put global activity_manager_constants default_background_activity_starts_enabled=true
settings put global device_idle_constants inactive_to=0
settings put global device_idle_constants sensing_to=0
settings put global battery_saver_constants_standby_mode_enabled true
settings put global send_action_app_error 0
settings put global dropbox_max_files 0
settings put global dropbox_quota_kb 0
settings put global wtf_is_fatal 0
settings put global anr_show_background 0
settings put global show_first_crash_dialog 0
settings put secure upload_apk_enable 0
settings put secure android_id_enabled 0
settings put secure automatic_storage_manager_enabled 0
settings put secure assistant_voice_launch_enabled 0
settings put secure voice_recognition_service ""
settings put secure voice_interaction_service ""
settings put secure search_global_search_activity ""
settings put secure search_max_results_to_display 0
settings put secure screensaver_enabled 0
settings put secure screensaver_activate_on_dock 0
settings put secure screensaver_activate_on_sleep 0
settings put secure sleep_timeout -1
settings put secure location_mode 0
settings put secure location_providers_allowed ""
settings put secure cross_profile_calendar_enabled 0
settings put secure managed_profile_contact_remote_search 0
settings put secure camera_autorotate 0
settings put secure skip_first_use_hints 1
settings put secure immersive_mode_confirmations confirmed
settings put system intelligent_sleep_mode 0
settings put system accelerometer_rotation 0
settings put system pointer_speed 7
settings put system sound_effects_enabled 1
settings put system lockscreen_sounds_enabled 0
settings put system show_battery_percent 0
settings put system time_12_24 24
settings put system notification_light_pulse 0
settings put system sip_always 0
settings put system sip_receive_calls 0
settings put system sip_call_options 0
device_config put runtime_native_boot disable_iostats true
device_config put runtime_native_boot profiles_enabled false
device_config put runtime_native_boot enable_heap_pointer_tagging false
device_config put activity_manager bg_current_drain_monitor_enabled false
device_config put activity_manager bg_power_restriction_enabled false
device_config put activity_manager max_cached_processes 2048
device_config put activity_manager use_compaction false
device_config put input_native_boot deep_press_enabled false
device_config put input_native_boot touch_histogram_enabled false
device_config put privacy camera_mic_icons_enabled false
device_config put privacy location_indicators_enabled false
device_config put textclassifier system_textclassifier_enabled false
device_config put intelligence attention_service_enabled false
device_config put autofill smart_suggestion_supported_modes 0
cmd power set-fixed-performance-mode-enabled true
cmd thermalservice override-status 0
cmd looper_stats disable
cmd jobscheduler cancel-all
setprop persist.sys.strictmode.disable 1
setprop persist.sys.strictmode.visual 0
setprop profiler.force_disable_err_rpt 1
setprop profiler.force_disable_ulog 1
setprop log.tag.stats_log OFF
setprop dalvik.vm.checkjni false
setprop dalvik.vm.verify-bytecode false
setprop debug.sf.disable_client_composition_cache 1
setprop debug.sf.predict_hwc_composition_strategy 0
setprop debug.composition.type gpu
setprop debug.hwui.renderer skiavk
setprop debug.renderengine.backend skiavk
setprop sys.use_fifo_ui 1
cmd appops set com.android.calllogbackup RUN_IN_BACKGROUND ignore
cmd appops set com.android.providers.userdictionary RUN_IN_BACKGROUND ignore
cmd appops set com.android.wallpaper.livepicker RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.onetimeinitializer RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.partnersetup RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.projection.gearhead RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.feedback RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.website RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.wallet RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.account RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.theme RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.cloud RUN_IN_BACKGROUND ignore
settings put system haptic_feedback_enabled 1
settings put system vibrate_on 1
settings put system vibrate_when_ringing 1
settings put global battery_saver_constants "vibration_disabled=false,animation_disabled=false,soundtrigger_disabled=false"
cmd appops set android VIBRATE allow
cmd appops set com.android.systemui VIBRATE allow
cmd appops set com.vivo.daemonService VIBRATE allow
cmd appops set com.bbk.launcher2 VIBRATE allow
settings put system vibration_intensity 2
settings put secure cmas_additional_broadcast_pkg ""
settings put secure completed_category_prefix ""
settings put secure connectivity_release_pending_intent_delay_ms 0
settings put secure content_capture_enabled 0
settings put secure cross_profile_calendar_enabled 0
settings put secure dialer_default_application ""
settings put secure disabled_print_services ""
settings put secure display_density_forced 0
settings put secure doze_always_on 0
settings put secure doze_enabled 0
settings put secure doze_pulse_on_double_tap 0
settings put secure doze_pulse_on_long_press 0
settings put secure doze_pulse_on_pick_up 0
settings put secure emergency_assistance_application ""
settings put secure enabled_accessibility_services ""
settings put secure enabled_input_methods ""
settings put secure enabled_notification_assistant ""
settings put secure enabled_notification_listeners ""
settings put secure enabled_notification_policy_access_packages ""
settings put secure enabled_print_services ""
settings put secure enabled_vr_listeners ""
settings put secure immersive_mode_confirmations ""
settings put secure incall_power_button_behavior 1
settings put secure input_methods_subtype_history ""
settings put secure install_non_market_apps 1
settings put secure last_setup_shown ""
settings put secure location_mode 0
settings put secure location_providers_allowed ""
settings put secure lock_screen_allow_private_notifications 0
settings put secure lock_screen_show_notifications 0
settings put secure long_press_timeout 150
settings put secure managed_profile_contact_remote_search 0
settings put secure mount_play_notification_snd 0
settings put secure mount_ums_autostart 0
settings put secure mount_ums_notify_enabled 0
settings put secure mount_ums_prompt 0
settings put secure multi_press_timeout 150
settings put secure night_display_activated 0
settings put secure night_display_auto_mode 0
settings put secure night_display_enabled 0
settings put secure package_verifier_user_consent -1
settings put secure parental_control_enabled 0
settings put secure parental_control_last_update 0
settings put secure parental_control_redirect_url ""
settings put secure payment_service_search_uri ""
settings put secure preferred_tty_mode 0
settings put secure print_service_search_uri ""
settings put secure screensaver_activate_on_dock 0
settings put secure screensaver_activate_on_sleep 0
settings put secure screensaver_components ""
settings put secure screensaver_enabled 0
settings put secure search_global_search_activity ""
settings put secure search_max_results_to_display 0
settings put secure search_max_shortcuts_returned 0
settings put secure search_max_source_event_age_millis 0
settings put secure search_min_impressions_for_source_ranking 0
settings put secure search_num_promoted_sources 0
settings put secure search_per_source_concurrent_query_limit 0
settings put secure search_prefill_millis 0
settings put secure search_promo_source_removed_delay_millis 0
settings put secure search_query_thread_core_pool_size 0
settings put secure search_query_thread_max_pool_size 0
settings put secure search_shortcut_refresh_core_pool_size 0
settings put secure search_shortcut_refresh_max_pool_size 0
settings put secure search_source_timeout_millis 0
settings put secure search_thread_keepalive_seconds 0
settings put secure search_web_results_override_limit 0
settings put secure selected_input_method_subtype -1
settings put secure selected_spell_checker ""
settings put secure selected_spell_checker_subtype -1
settings put secure send_action_app_error 0
settings put secure show_note_about_notification_hiding 0
settings put secure skip_first_use_hints 1
settings put secure sleep_timeout -1
settings put secure sms_default_application ""
settings put secure spell_checker_enabled 0
settings put secure touch_blocking_period 0
settings put secure touch_exploration_enabled 0
settings put secure touch_exploration_granted_accessibility_services ""
settings put secure tts_default_locale ""
settings put secure tts_default_rate 100
settings put secure tts_default_synth ""
settings put secure tts_enabled_plugins ""
settings put secure tv_input_hidden_inputs ""
settings put secure ui_night_mode 1
settings put secure unknown_sources_default 1
settings put secure usb_audio_automatic_routing_disabled 1
settings put secure user_setup_complete 1
settings put secure voice_interaction_service ""
settings put secure voice_recognition_service ""
settings put secure wake_gesture_enabled 0
settings put secure web_action_enabled 0
settings put system accelerometer_rotation 0
settings put system access_control_enabled 0
settings put system advanced_settings 1
settings put system alarm_alert ""
settings put system auto_caps 0
settings put system auto_punctuate 0
settings put system auto_replace 0
settings put system dim_screen 0
settings put system dtmf_tone_type 0
settings put system haptic_feedback_enabled 1
settings put system hearing_aid 0
settings put system hide_rotation_lock_toggle_for_accessibility 0
settings put system intelligent_sleep_mode 0
settings put system lockscreen_sounds_enabled 0
settings put system media_button_receiver ""
settings put system mode_ringer 0
settings put system mute_streams_affected 0
settings put system notification_light_pulse 0
settings put system notification_sound ""
settings put system pointer_speed 7
settings put system ringtone ""
settings put system screen_brightness_mode 0
settings put global webview_multiprocess 1
settings put global webview_optimistic_rendering 1
settings put global enable_cache_quota_calculation 0
settings put global package_verifier_setting_visible 0
settings put global firmware_version 99.9.9
settings put global contact_metadata_sync_enabled 0
settings put global enable_cellular_on_boot 1
settings put global wifi_display_on 0
settings put global wifi_networks_available_notification_on 0
settings put global bluetooth_on 0
settings put global send_action_app_error 0
settings put global wtf_is_fatal 0
settings put global dropbox_max_files 0
settings put global dropbox_quota_kb 0
settings put global sql_auto_vacuum 0
settings put global sql_use_wal 1
settings put secure sleep_timeout -1
settings put secure long_press_timeout 150
settings put secure multi_press_timeout 150
settings put system show_touches 0
settings put system pointer_speed 7
settings put system haptic_feedback_enabled 1
settings put system vibrate_on 1
device_config put activity_manager max_service_inactivity 0
device_config put activity_manager bg_current_drain_monitor_enabled false
device_config put activity_manager lmkd_reclaim_on_free true
device_config put activity_manager max_cached_processes 2048
device_config put runtime_native_boot enable_iop_stats false
device_config put privacy camera_mic_icons_enabled false
device_config put input_native_boot deep_press_enabled false
device_config put input_native_boot touch_histogram_enabled false
device_config put media_native transcode_enabled false
device_config put game_overlay com.android.chrome mode=2,downscaleFactor=1.0
setprop debug.hwui.render_dirty_regions false
setprop debug.hwui.show_dirty_regions false
setprop debug.hwui.skip_empty_damage true
setprop debug.hwui.use_buffer_age false
setprop debug.sf.disable_blurs 1
setprop debug.sf.disable_client_composition_cache 1
setprop debug.sf.showupdates 0
setprop debug.sf.showcpu 0
setprop debug.sf.showbackground 0
setprop debug.sf.showfps 0
setprop ro.input.noresample 1
setprop view.touch_slop 2
setprop debug.performance.tuning 1
setprop video.accelerate.hw 1
setprop debug.egl.profiler 0
setprop debug.egl.swapinterval -1
setprop debug.gr.swapinterval 0
setprop debug.cpurendering.force 1
setprop persist.sys.scrollingcache 0
setprop persist.sys.use_16bpp_alpha 1
setprop ro.config.hw_quickpoweron true
setprop audio.lowlatency.force true
setprop audio.deep_buffer.media false
setprop af.fast_track_multiplier 2
setprop persist.sys.purgeable_assets 1
setprop dalvik.vm.verify-bytecode false
setprop dalvik.vm.dexopt-flags v=n,o=v
setprop ro.sys.fw.trim_empty_percent 100
setprop ro.sys.fw.trim_cache_percent 100
setprop ro.sys.fw.bg_apps_limit 128
setprop ro.vendor.mtk_cam_security_check 0
setprop persist.sys.mtk_benchmark 1
setprop ro.vendor.mtk.sensor.support 1
setprop ro.vendor.gmo.ram_optimize 0
cmd looper_stats disable
cmd thermalservice override-status 0
settings put system screen_off_timeout 600000
settings put system show_battery_percent 0
settings put system show_gtalk_service_status 0
settings put system sip_address_only 0
settings put system sip_always 0
settings put system sip_ask_me_each_time 0
settings put system sip_receive_calls 0
settings put system sound_effects_enabled 0
settings put system stay_on_while_plugged_in 0
settings put system time_12_24 24
settings put system user_rotation 0
settings put system vibrate_on 0
settings put system vibrate_when_ringing 0
settings put system volume_alarm 0
settings put system volume_bluetooth_sco 15
settings put system volume_music 15
settings put system volume_notification 0
settings put system volume_ring 0
settings put system volume_system 0
settings put system volume_voice 15
settings put system wall_paper_file ""
settings put system wallpaper_activity ""
settings put system wifi_sleep_policy 2
settings put system wifi_static_dns1 ""
settings put system wifi_static_dns2 ""
settings put system wifi_static_gateway ""
settings put system wifi_static_ip ""
settings put system wifi_static_netmask ""
settings put system wifi_use_static_ip 0
settings put system wifi_watchdog_acceptable_packet_loss_percentage 0
settings put system wifi_watchdog_ap_count 0
settings put system wifi_watchdog_background_check_delay_ms 0
settings put system wifi_watchdog_background_check_enabled 0
settings put system wifi_watchdog_background_check_timeout_ms 0
settings put system wifi_watchdog_initial_ignored_ping_count 0
settings put system wifi_watchdog_max_ap_checks 0
settings put system wifi_watchdog_on 0
settings put system wifi_watchdog_ping_count 0
settings put system wifi_watchdog_ping_delay_ms 0
settings put system wifi_watchdog_ping_timeout_ms 0
settings put system window_animation_scale 0
device_config put activity_manager bg_current_drain_monitor_enabled false
device_config put activity_manager bg_power_restriction_enabled false
device_config put activity_manager lmkd_reclaim_on_free true
device_config put activity_manager max_cached_processes 1024
device_config put activity_manager max_empty_time_millis 60000
device_config put activity_manager max_phantom_processes 2147483647
device_config put activity_manager use_compaction false
device_config put autofill smart_suggestion_supported_modes 0
device_config put game_overlay com.android.chrome mode=2,downscaleFactor=1.0
device_config put game_overlay com.android.systemui mode=2,downscaleFactor=1.0
device_config put game_overlay com.termux mode=2,downscaleFactor=1.0
device_config put input_native_boot deep_press_enabled false
device_config put input_native_boot touch_histogram_enabled false
device_config put intelligence adaptive_sound_enabled false
device_config put intelligence attention_service_enabled false
device_config put privacy camera_mic_icons_enabled false
device_config put privacy location_accuracy_enabled false
device_config put privacy location_indicators_enabled false
device_config put runtime_native_boot disable_iostats true
device_config put runtime_native_boot enable_heap_pointer_tagging false
device_config put runtime_native_boot profiles_enabled false
device_config put textclassifier model_file_path /dev/null
device_config put textclassifier system_textclassifier_enabled false
cmd appops set com.bbk.account RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.cloud RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.theme RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.updater RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.gms PROJECT_MEDIA ignore
cmd appops set com.google.android.gms RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.gms SYSTEM_ALERT_WINDOW ignore
cmd appops set com.vivo.ai.jovi.inlife RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.appstore RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.assistant RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.assistant WAKE_LOCK ignore
cmd appops set com.vivo.browser RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.daemonService RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.daemonService WAKE_LOCK ignore
cmd appops set com.vivo.globalsearch RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.pushservice RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.smart.engine RUN_IN_BACKGROUND ignore
cmd deviceidle disable
cmd jobscheduler cancel-all
cmd looper_stats disable
cmd power set-fixed-performance-mode-enabled true
cmd power set-mode 0
cmd stats disable
cmd thermalservice override-status 0
setprop dalvik.vm.checkjni false
setprop dalvik.vm.debug.alloc 0
setprop dalvik.vm.dex2oat-filter speed
setprop dalvik.vm.dex2oat-threads 8
setprop dalvik.vm.execution-mode int:jit
setprop dalvik.vm.heapgrowthlimit 256m
setprop dalvik.vm.heapmaxfree 8m
setprop dalvik.vm.heapminfree 2m
setprop dalvik.vm.heapsize 512m
setprop dalvik.vm.heapstartsize 8m
setprop dalvik.vm.heaptargetutilization 0.75
setprop dalvik.vm.image-dex2oat-filter speed
setprop dalvik.vm.jit.codecachesize 128m
setprop dalvik.vm.jit.max-threads 8
setprop dalvik.vm.verify-bytecode false
setprop debug.atrace.tags.enableflags 0
setprop debug.composition.type gpu
setprop debug.cpurendering.force 1
setprop debug.egl.swapinterval 0
setprop debug.gr.swapinterval 0
setprop debug.hwui.renderer skiavk
setprop debug.renderengine.backend skiavk
setprop debug.sf.disable_client_composition_cache 1
setprop debug.sf.disable_fbc 1
setprop debug.sf.early_app_phase_offset_ns 500000
setprop debug.sf.early_phase_offset_ns 500000
setprop debug.sf.enable_gl_backpressure 0
setprop debug.sf.enable_hwc_vds 0
setprop debug.sf.latch_unsignaled 1
setprop debug.sf.predict_hwc_composition_strategy 0
setprop log.tag.stats_log OFF
setprop persist.sys.enable_rescue 0
setprop persist.sys.strictmode.disable 1
setprop persist.sys.strictmode.visual 0
setprop persist.sys.vivo.game.turbo 1
setprop persist.traced.enable 0
setprop profiler.force_disable_err_rpt 1
setprop profiler.force_disable_ulog 1
setprop ro.config.nocheckin yes
setprop ro.vendor.mtk.app_launch_boost 1
setprop ro.vendor.mtk.sensor.support 1
setprop sys.use_fifo_ui 1
settings put global contact_metadata_sync_enabled 0
settings put global enable_cellular_on_boot 1
settings put global ephemeris_retention_time 0
settings put global installed_instant_app_min_cache_period 0
settings put global unused_static_shared_lib_min_cache_period 0
settings put global boot_count 0
settings put global adb_wifi_enabled 0
settings put global audio_safe_volume_state 0
settings put global dock_audio_media_enabled 0
settings put global encoded_surround_output 0
settings put global low_power_trigger_level_max 0
settings put global theater_mode_on 0
settings put global radio_bluetooth 0
settings put global radio_wifi 0
settings put global radio_wimax 0
settings put global radio_cell 1
settings put global radio_nfc 0
settings put global airplane_mode_radios "cell,bluetooth,wifi,nfc,wimax"
settings put global airplane_mode_toggleable_radios "bluetooth,wifi,nfc"
settings put global wifi_sleep_policy 2
settings put global wifi_scan_always_enabled 0
settings put global wifi_wakeup_available 0
settings put global network_scoring_ui_enabled 0
settings put global network_recommendation_enabled 0
settings put global network_watchlist_enabled 0
settings put global captive_portal_server_mode 0
settings put global captive_portal_mode 0
settings put global captive_portal_detection_enabled 0
settings put global nsd_on 0
settings put global pac_change_delay 0
settings put global pdn_hysteresis_ms 0
settings put global private_dns_mode hostname
settings put global private_dns_specifier dns.quad9.net
settings put global tether_offload_disabled 1
settings put global soft_ap_timeout_enabled 1
settings put global data_stall_recovery_on_bad_network 0
settings put global netstats_enabled 0
settings put global http_proxy ""
settings put global global_http_proxy_host ""
settings put global global_http_proxy_port ""
settings put global fstrim_mandatory_interval 1
settings put global sys_storage_threshold_percentage 1
settings put global sys_storage_threshold_max_bytes 1048576
settings put global sys_storage_full_threshold_bytes 1048576
settings put global disk_free_change_reporting_threshold 999999
settings put global storage_benchmark_interval 0
settings put global dropbox_max_files 0
settings put global dropbox_quota_kb 0
settings put global wtf_is_fatal 0
settings put global send_action_app_error 0
settings put global show_first_crash_dialog 0
settings put global anr_show_background 0
settings put global package_verifier_enable 0
settings put global verifier_verify_adb_installs 0
settings put global upload_apk_enable 0
settings put global app_auto_restriction_enabled 0
settings put global enable_ephemeral_feature 0
settings put global instant_app_dexopt_enabled 0
settings put global dexopt_oat_file_extension "oat"
settings put global art_verifier_verify_debuggable 0
settings put global package_verifier_timeout 0
settings put global app_standby_enabled 0
settings put global enable_restricted_bucket 0
settings put global activity_starts_logging_enabled 0
settings put global activity_manager_constants max_cached_processes=1024
settings put global activity_manager_constants background_settle_time=0
settings put global activity_manager_constants fgservice_screen_on_before_time=0
settings put global activity_manager_constants content_provider_retain_time=0
settings put global activity_manager_constants gc_timeout=50
settings put global activity_manager_constants full_pss_min_interval=3600
settings put global activity_manager_constants power_check_max_cpu_1=100
settings put global activity_manager_constants power_check_max_cpu_2=100
settings put global activity_manager_constants power_check_max_cpu_3=100
settings put global activity_manager_constants power_check_max_cpu_4=100
settings put global job_scheduler_constants fg_job_count=9999
settings put global job_scheduler_constants bg_job_count=9999
settings put global job_scheduler_quota_controller_constants max_session_count_per_rate_limiting_window=999999
settings put global job_scheduler_quota_controller_constants max_job_count_per_rate_limiting_window=999999
settings put global job_scheduler_quota_controller_constants max_job_count_within_rate_limiting_window=999999
settings put global alarm_manager_constants min_interval=1
settings put global alarm_manager_constants allow_while_idle_quota=9999
settings put global alarm_manager_constants listener_timeout=1
settings put global device_idle_constants inactive_to=0
settings put global device_idle_constants sensing_to=0
settings put global device_idle_constants locating_to=0
settings put global device_idle_constants light_after_inactive_to=0
settings put global device_idle_constants motion_inactive_to=0
settings put global battery_saver_constants "vibration_disabled=true,animation_disabled=true,soundtrigger_disabled=true,fullbackup_deferred=true,keyvaluebackup_deferred=true,firewall_disabled=true,gps_mode=0"
settings put global automatic_power_save_mode 0
settings put global low_power_trigger_level 0
settings put global dynamic_power_savings_enabled 0
settings put global smart_battery_enabled 0
settings put global adaptive_battery_management_enabled 0
settings put global stay_on_while_plugged_in 0
settings put global always_finish_activities 1
settings put global animator_duration_scale 0.5
settings put global transition_animation_scale 0.5
settings put global window_animation_scale 0.5
settings put global debug_app ""
settings put global wait_for_debugger 0
settings put global force_gpu_rendering 1
settings put global disable_window_blurs 1
settings put global enable_gpu_debug_layers 0
settings put global gpu_debug_layers 0
settings put global gpu_debug_app ""
settings put global game_driver_all_apps 1
settings put global game_driver_opt_in_apps 1
settings put global updatable_driver_all_apps 1
settings put global game_driver_preference 0
settings put global updatable_driver_production_allowlist 1
settings put global hidden_api_policy 1
settings put global hidden_api_policy_p_apps 1
settings put global hidden_api_policy_pre_p_apps 1
settings put global content_capture_enabled 0
settings put secure content_capture_enabled 0
settings put global autofill_logging_level 0
settings put global smart_selection_dark_launch 0
settings put global hotword_detection_enabled 0
settings put secure assistant_voice_launch_enabled 0
settings put global google_core_control 0
settings put secure long_press_timeout 150
settings put secure multi_press_timeout 150
settings put secure touch_blocking_period 0
settings put system pointer_speed 7
settings put system haptic_feedback_enabled 1
settings put system sound_effects_enabled 1
settings put system screen_brightness_mode 0
settings put system accelerometer_rotation 0
settings put secure location_mode 0
settings put secure location_providers_allowed ""
settings put secure camera_autorotate 0
settings put secure wake_gesture_enabled 0
settings put secure doze_enabled 0
settings put secure doze_always_on 0
settings put secure doze_pulse_on_pick_up 0
settings put secure doze_pulse_on_long_press 0
settings put secure doze_pulse_on_double_tap 0
settings put secure visualization_enabled 0
settings put secure screensaver_enabled 0
settings put secure screensaver_activate_on_dock 0
settings put secure screensaver_activate_on_sleep 0
settings put secure lock_screen_show_notifications 0
settings put secure show_note_about_notification_hiding 0
settings put secure night_display_enabled 0
settings put secure accessibility_display_daltonizer_enabled 0
settings put secure accessibility_display_inversion_enabled 0
settings put secure skip_first_use_hints 1
settings put secure user_setup_complete 1
settings put secure sms_default_application ""
settings put secure dialer_default_application ""
settings put system ringtone ""
settings put system notification_sound ""
settings put system alarm_alert ""
device_config put runtime_native_boot disable_iostats true
device_config put runtime_native_boot profiles_enabled false
device_config put runtime_native_boot enable_heap_pointer_tagging false
device_config put activity_manager use_compaction false
device_config put activity_manager max_phantom_processes 2147483647
device_config put activity_manager max_empty_time_millis 60000
device_config put activity_manager lmkd_reclaim_on_free true
device_config put privacy camera_mic_icons_enabled false
device_config put privacy location_indicators_enabled false
device_config put textclassifier system_textclassifier_enabled false
device_config put textclassifier model_file_path /dev/null
device_config put intelligence attention_service_enabled false
device_config put intelligence adaptive_sound_enabled false
device_config put autofill smart_suggestion_supported_modes 0
device_config put game_overlay com.termux mode=2,downscaleFactor=1.0
device_config put game_overlay com.android.chrome mode=2,downscaleFactor=1.0
device_config put game_overlay com.android.systemui mode=2,downscaleFactor=1.0
device_config put input_native_boot touch_histogram_enabled false
device_config put input_native_boot deep_press_enabled false
cmd power set-fixed-performance-mode-enabled true
cmd power set-mode 0
cmd thermalservice override-status 0
cmd jobscheduler cancel-all
cmd looper_stats disable
cmd stats disable
cmd deviceidle disable
setprop debug.hwui.renderer skiavk
setprop debug.renderengine.backend skiavk
setprop debug.composition.type gpu
setprop debug.sf.latch_unsignaled 1
setprop debug.sf.disable_client_composition_cache 1
setprop debug.sf.predict_hwc_composition_strategy 0
setprop debug.sf.disable_fbc 1
setprop debug.sf.enable_hwc_vds 0
setprop debug.sf.enable_gl_backpressure 0
setprop debug.sf.early_phase_offset_ns 500000
setprop debug.sf.early_app_phase_offset_ns 500000
setprop debug.cpurendering.force 1
setprop debug.egl.swapinterval 0
setprop debug.gr.swapinterval 0
setprop sys.use_fifo_ui 1
setprop persist.sys.strictmode.disable 1
setprop persist.sys.strictmode.visual 0
setprop profiler.force_disable_err_rpt 1
setprop profiler.force_disable_ulog 1
setprop log.tag.stats_log OFF
setprop dalvik.vm.checkjni false
setprop dalvik.vm.verify-bytecode false
setprop dalvik.vm.execution-mode int:jit
setprop dalvik.vm.dex2oat-filter speed
setprop dalvik.vm.image-dex2oat-filter speed
setprop ro.vendor.mtk.app_launch_boost 1
setprop ro.vendor.mtk.sensor.support 1
setprop persist.sys.vivo.game.turbo 1
cmd appops set com.vivo.daemonService RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.daemonService WAKE_LOCK ignore
cmd appops set com.vivo.assistant RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.assistant WAKE_LOCK ignore
cmd appops set com.vivo.globalsearch RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.browser RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.appstore RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.theme RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.account RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.cloud RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.updater RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.pushservice RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.smart.engine RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.ai.jovi.inlife RUN_IN_BACKGROUND ignore
pm disable-user --user 0 com.vivo.browser
pm disable-user --user 0 com.vivo.globalsearch
pm disable-user --user 0 com.vivo.assistant
pm disable-user --user 0 com.vivo.appstore
pm disable-user --user 0 com.bbk.theme
pm disable-user --user 0 com.bbk.cloud
pm disable-user --user 0 com.bbk.updater 
setprop persist.sys.thermal.status 0
swapoff /dev/block/zram0
settings put global zram_enabled 0
settings put global captive_portal_mode 0
settings put global ntp_server 127.0.0.1
settings put global private_dns_mode off
setprop debug.cpurendering.force 1
settings put global activity_manager_constants max_cached_processes=2
settings put global always_finish_activities 0
setprop debug.rs.default-CPU-driver 1
setprop debug.rs.max-threads 1
setprop debug.performance.profile 1
settings put global background_process_limit 2
setprop dalvik.vm.execution-mode int:portable
setprop dalvik.vm.checkjni false
setprop dalvik.vm.verify-bytecode false
echo 0 > /proc/sys/kernel/sched_migration_cost_ns
echo 1 > /proc/sys/kernel/sched_child_runs_first
pm disable-user --user 0 com.vivo.daemonService
pm disable-user --user 0 com.bbk.account
settings put global device_provisioned 1
pm grant android.permission.READ_LOGS
pm grant android.permission.DUMP
pm grant android.permission.ACCESS_MTP
pm grant android.permission.MANAGE_ACTIVITY_STACKS
pm grant android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS
pm grant android.permission.CONTROL_VPN
pm grant android.permission.MANAGE_SOUND_TRIGGER
pm grant android.permission.MANAGE_USB
pm grant android.permission.OBSERVE_SENSOR_PRIVACY
setprop debug.egl.force_gpu 3
echo performance > /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
echo 1 > /sys/devices/system/cpu/cpu*/online
echo 0 > /sys/class/kgsl/kgsl-3d0/max_pwrlevel
echo 0 > /sys/class/kgsl/kgsl-3d0/min_pwrlevel
echo 1 > /sys/class/kgsl/kgsl-3d0/force_bus_on
echo 1 > /sys/class/kgsl/kgsl-3d0/force_rail_on
cmd deviceidle disable
cmd thermalservice override-status 0
cmd looper_stats disable
cmd jobscheduler cancel-all
device_config put privacy camera_mic_icons_enabled false
device_config put privacy location_indicators_enabled false
device_config put game_overlay com.termux mode=2,downscaleFactor=1.0
device_config put game_overlay com.android.chrome mode=2,downscaleFactor=1.0
settings put global package_verifier_enable 0
settings put global verifier_verify_adb_installs 0
settings put global upload_apk_enable 0
settings put global app_auto_restriction_enabled 0
settings put global unused_static_shared_lib_min_cache_period 0
settings put global sys_storage_threshold_percentage 5
settings put global sys_storage_full_threshold_bytes 1048576
settings put global sync_manager_constants max_retries_per_group=0
settings put global wifi_wakeup_available 0
settings put global wifi_scan_throttle_enabled 1
settings put global ble_scan_always_enabled 0
settings put global ble_scan_balanced_interval_ms 999999
settings put global ble_scan_low_latency_interval_ms 999999
settings put global ble_scan_low_power_interval_ms 999999
settings put secure location_mode 0
settings put system intelligent_sleep_mode 0
cmd appops set com.google.android.gms RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.gms AUTO_REVOKE_PERMISSIONS_IF_UNUSED ignore
cmd appops set com.vivo.assistant RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.assistant WAKE_LOCK ignore
cmd appops set com.vivo.dreameffect RUN_IN_BACKGROUND ignore
settings put global job_scheduler_quota_controller_constants max_session_count_per_rate_limiting_window=999999,max_job_count_per_rate_limiting_window=999999,max_job_count_within_rate_limiting_window=999999
settings put global app_standby_enabled 0
settings put global device_idle_constants inactive_to=0,sensing_to=0,light_after_inactive_to=0,motion_inactive_to=0
settings put global art_verifier_verify_debuggable 0
settings put global package_verifier_user_consent -1
settings put global enable_strict_mode 0
settings put global network_watchlist_enabled 0
settings put global wifi_wakeup_enabled 0
settings put global assisted_gps_enabled 0
settings put global online_manual_url 0
cmd sensorservice restrict
cmd appops set com.android.vending RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.gms ACTIVITY_RECOGNITION ignore
cmd appops set com.vivo.daemonService ACTIVITY_RECOGNITION ignore
settings put global unused_static_shared_lib_min_cache_period 0
settings put global alarm_manager_constants min_interval=1,allow_while_idle_quota=9999,listener_timeout=1
cmd appops set com.bbk.updater RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.theme RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.globalsearch RUN_IN_BACKGROUND ignore
pm disable-user --user 0 com.vivo.agent
pm disable-user --user 0 com.vivo.hibernation
pm disable-user --user 0 com.bbk.cloud
pm trim-caches 999G
echo 1 > /sys/module/cpu_boost/parameters/input_boost_freq
echo 1 > /sys/module/cpu_boost/parameters/input_boost_ms
echo 1 > /proc/sys/vm/oom_kill_allocating_task
echo 0 > /proc/sys/vm/panic_on_oom
echo 100 > /proc/sys/vm/vfs_cache_pressure
echo 50 > /proc/sys/vm/dirty_ratio
echo 10 > /proc/sys/vm/dirty_background_ratio
echo lz4 > /sys/block/zram0/comp_algorithm
echo 8 > /sys/block/zram0/max_comp_streams
echo 0 > /sys/block/zram0/disksize
echo '4096 87380 67108864' > /proc/sys/net/ipv4/tcp_rmem
echo '4096 65536 67108864' > /proc/sys/net/ipv4/tcp_wmem
echo 1 > /proc/sys/net/ipv4/tcp_window_scaling
echo 1 > /proc/sys/net/ipv4/tcp_timestamps
echo 1 > /proc/sys/net/ipv4/tcp_sack
echo 0 > /proc/sys/kernel/sched_migration_cost_ns
echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
echo performance > /sys/devices/system/cpu/cpufreq/policy4/scaling_governor
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
cat /sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_max_freq > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
cat /sys/class/kgsl/kgsl-3d0/max_gpuclk > /sys/class/kgsl/kgsl-3d0/devfreq/min_freq
cmd appops set com.google.android.gms RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.youtube RUN_IN_BACKGROUND ignore
settings put global cpu_freq_scaling 0
settings put global cpu_freq_lock 1
settings put global gpu_renderer 3
setprop debug.vulkan.force_gpu_clock 1
setprop debug.vulkan.force_cpu_clock 1
settings put global memory_compression_level 20
settings put global memory_compression_algorithm zstd
settings put global ram_expansion_size 0
setprop persist.logd.size 32K
setprop logd.statistics 0
setprop media.metrics.enabled false
setprop debug.log.performance 0
settings put global enable_tracing 0
settings put global tracing_enabled 0
pm disable-user com.samsung.android.game.gos
pm disable-user com.samsung.android.game.gametools
settings put secure game_auto_temperature_control 0
settings put global miui_performance_mode 1
settings put global miui_optimization 0
settings put global oneplus_gaming_mode 2
settings put global oneplus_enhanced_gaming 1
settings put global adaptive_battery_management_enabled 0
settings put global battery_saver_mode 0
settings put global low_power 0
settings put global doze_enabled 0
settings put global power_profile_performance 1
settings put global cpu_power_save 0
settings put global gpu_power_save 0
setprop persist.sys.boot.fast true
setprop ro.config.fast_boot true
setprop dalvik.vm.dex2oat-filter everything
settings put global start_process_limit 2
settings put global start_service_limit 1
settings put global package_verifier_enable 0
settings put global verifier_verify_adb_installs 0
settings put global art_verifier_verify_debuggable 0
settings put global selinux_status 0
settings put system display_overdrive_enabled 1
settings put system display_response_time 0
settings put system display_color_mode 2
settings put global game_driver_preference 3
settings put global game_driver_optimization 3
settings put global game_driver_all_apps 2
settings put global gaming_mode_performance 3
settings put global gaming_thermal_control 0
settings put global gaming_touch_response 3
setprop audio.alsa.period_size 32
setprop audio.alsa.buffer_size 128
setprop audio.offload.buffer.size.kb 512
setprop af.resampler.quality 255
setprop audio.offload.pcm.24bit.enable true
setprop audio.offload.pcm.16bit.enable true
settings put global thermal_control_enabled 0
settings put global thermal_throttling_enabled 0
settings put global thermal_limit_enabled 0
settings put global thermal_override_enabled 1
settings put global thermal_threshold 95
settings put global thermal_warning_threshold 90
settings put global thermal_critical_threshold 100
settings put global fsync_enabled 0
settings put global storage_cache_size 512
settings put global storage_read_ahead 32768
settings put global io_scheduler_tuning 3
settings put global io_read_ahead_kb 4096
settings put global io_optimization_level 4
setprop debug.vulkan.force_gpu_clock 1
setprop debug.vulkan.force_cpu_clock 1
setprop debug.vulkan.disable_thermal_throttling 1
setprop debug.vulkan.pipeline_cache_size 512
setprop debug.egl.force_gpu 1
setprop debug.egl.force_finish 1
settings put global activity_manager_constants max_cached_processes=1024,background_settle_time=0,fgservice_screen_on_before_time=0,service_min_restart_time_between=0,gc_timeout=100
settings put global sys_uid_cpupower 1
settings put global sys_traced_enable 0
settings put global power_check_max_cpu_1 100
settings put global power_check_max_cpu_2 100
settings put global power_check_max_cpu_3 100
settings put global power_check_max_cpu_4 100
settings put global wifi_scan_background_throttle_interval 999999
settings put global ble_scan_balanced_interval_ms 999999
settings put global ble_scan_low_latency_interval_ms 999999
settings put global ble_scan_low_power_interval_ms 999999
settings put global mobile_data_always_on 1
settings put global netstats_enabled 0
settings put global data_stall_recovery_on_bad_network 0
settings put global captive_portal_mode 0
settings put global nsd_on 0
settings put global network_recommendation_enabled 0
settings put global network_scoring_ui_enabled 0
settings put global wtf_is_fatal 0
settings put global dropbox_max_files 0
settings put global dropbox_quota_kb 0
settings put global send_action_app_error 0
settings put global anr_show_background 0
settings put global show_first_crash_dialog 0
settings put global package_verifier_enable 0
settings put global verifier_verify_adb_installs 0
settings put global upload_apk_enable 0
settings put global app_auto_restriction_enabled 0
settings put global unused_static_shared_lib_min_cache_period 0
settings put global fstrim_mandatory_interval 1
settings put global sys_storage_threshold_percentage 1
settings put global disk_free_change_reporting_threshold 999999
settings put global storage_benchmark_interval 0
settings put global device_idle_constants inactive_to=0,sensing_to=0
settings put global device_idle_constants light_after_inactive_to=0
settings put global job_scheduler_quota_controller_constants max_session_count_per_rate_limiting_window=999999
settings put global job_scheduler_quota_controller_constants max_job_count_per_rate_limiting_window=999999
settings put global alarm_manager_constants min_interval=1,allow_while_idle_quota=9999
settings put global backup_agent_timeout_parameters 0
settings put global enable_gpu_debug_layers 0
settings put global gpu_debug_layers 0
settings put global gpu_debug_app ""
settings put global game_driver_all_apps 1
settings put global updatable_driver_all_apps 1
settings put global force_gpu_rendering 1
settings put global disable_window_blurs 1
settings put global enable_freeform_support 1
settings put global allow_force_resizable 1
settings put global hidden_api_policy 1
settings put global hidden_api_policy_p_apps 1
settings put global content_capture_enabled 0
settings put secure content_capture_enabled 0
settings put global autofill_logging_level 0
settings put global smart_selection_dark_launch 0
settings put secure adaptive_sleep 0
settings put system intelligent_sleep_mode 0
settings put system access_control_enabled 0
settings put secure long_press_timeout 200
settings put secure multi_press_timeout 200
settings put global window_animation_scale 0.5
settings put global transition_animation_scale 0.5
settings put global animator_duration_scale 0.5
device_config put runtime_native_boot disable_iostats true
device_config put runtime_native_boot profiles_enabled false
device_config put runtime_native_boot enable_heap_pointer_tagging false
device_config put activity_manager use_compaction false
device_config put activity_manager max_phantom_processes 2147483647
device_config put activity_manager max_empty_time_millis 60000
device_config put privacy camera_mic_icons_enabled false
device_config put privacy location_indicators_enabled false
device_config put textclassifier system_textclassifier_enabled false
device_config put intelligence attention_service_enabled false
cmd power set-fixed-performance-mode-enabled true
cmd power set-mode 0
cmd jobscheduler cancel-all
cmd looper_stats disable
cmd stats disable
cmd thermalservice override-status 0
setprop debug.hwui.renderer skiavk
setprop debug.renderengine.backend skiavk
setprop debug.composition.type gpu
setprop debug.sf.latch_unsignaled 1
setprop debug.sf.disable_client_composition_cache 1
setprop debug.sf.predict_hwc_composition_strategy 0
setprop debug.cpurendering.force 1
setprop debug.egl.swapinterval 0
setprop debug.gr.swapinterval 0
setprop sys.use_fifo_ui 1
setprop persist.sys.enable_rescue 0
setprop persist.sys.strictmode.disable 1
setprop profiler.force_disable_err_rpt 1
setprop dalvik.vm.checkjni false
setprop dalvik.vm.verify-bytecode false
setprop dalvik.vm.execution-mode int:jit
setprop dalvik.vm.dex2oat-filter speed
setprop ro.vendor.mtk.app_launch_boost 1
setprop ro.vendor.mtk.sensor.support 1
setprop persist.sys.vivo.game.turbo 1
cmd appops set com.vivo.daemonService RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.gms RUN_IN_BACKGROUND ignore
setprop debug.egl.swapinterval -1
settings put global scheduler_tuning_level 3
settings put global scheduler_migration_cost 0
settings put global scheduler_min_granularity_ns 1000000
settings put global foreground_process_boost 2
settings put global top_app_boost 3
settings put global render_thread_boost 3
settings put global tcp_rmem '4096 87380 67108864'
settings put global tcp_wmem '4096 65536 67108864'
settings put global tcp_mem '786432 1048576 1572864'
settings put global tcp_sack 1
settings put global tcp_dsack 1
settings put global tcp_fack 1
settings put global tcp_tw_reuse 1
settings put global tcp_window_scaling 1
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
echo 0 > /sys/devices/system/cpu/cpu0/core_ctl/min_cpus
echo 8 > /sys/devices/system/cpu/cpu0/core_ctl/max_cpus
echo performance > /sys/class/kgsl/kgsl-3d0/devfreq/governor
echo 0 > /sys/block/sda/queue/add_random
echo 2048 > /sys/block/sda/queue/read_ahead_kb
echo noop > /sys/block/sda/queue/scheduler
echo 10 > /proc/sys/vm/swappiness
echo 20 > /proc/sys/vm/dirty_ratio
echo 10 > /proc/sys/vm/dirty_background_ratio
echo 3000 > /proc/sys/vm/dirty_writeback_centisecs
echo 500 > /proc/sys/vm/dirty_expire_centisecs
echo lz4 > /sys/block/zram0/comp_algorithm
echo 8 > /sys/block/zram0/max_comp_streams
settings put global cpu_freq_scaling 0
settings put global cpu_freq_lock 1
settings put global gpu_renderer 3
setprop debug.vulkan.force_gpu_clock 1
setprop debug.vulkan.force_cpu_clock 1
settings put global memory_compression_level 20
settings put global memory_compression_algorithm zstd
settings put global ram_expansion_size 0
settings put global tcp_fastopen 3
settings put global tcp_congestion_control bbr2
settings put global private_dns_specifier dns.quad9.net
setprop persist.logd.size 64K
setprop logd.statistics 0
setprop media.metrics.enabled false
settings put global adaptive_battery_management_enabled 0
settings put global battery_saver_mode 0
settings put global thermal_control_enabled 0
settings put global thermal_throttling_enabled 0
settings put global game_driver_preference 3
settings put global game_driver_optimization 3
settings put global touch_response 0
settings put global touch_latency 0
settings put system display_response_time 0
setprop audio.lowlatency.force true
setprop af.resampler.quality 255
settings put global background_process_limit 1
settings put global background_service_limit 1
settings put global private_dns_mode hostname
settings put global dns_over_tls_mode strict
settings put global package_verifier_enable 0
settings put global verifier_verify_adb_installs 0
settings put secure location_providers_allowed -gps
settings put secure location_providers_allowed -network
bmgr auto restore off
settings put global app_standby_enabled 0
settings put global device_idle_constants no_idle
settings put system layout_animation_disable 1
settings put system transition_animation_disable 1
settings put system window_animation_disable 1
settings put global force_gpu_rendering 1
settings put global disable_hw_overlays 1
setprop debug.hwui.use_vulkan true
settings put system touch.pressure.scale 0.001
settings put system touch.size.scale 1.0
settings put global background_sync_enabled 0
settings put system sensor_assist 0
pm disable-user --user 0 com.google.android.apps.diagnostics
pm disable-user --user 0 com.google.android.feedback
pm disable-user --user 0 com.miui.analytics
pm disable-user --user 0 com.facebook.appmanager
pm trim-caches 9999999999999
cmd appops set com.google.android.gms RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.gms RUN_ANY_IN_BACKGROUND ignore
cmd appops set com.google.android.gms WAKE_LOCK ignore
cmd appops set com.google.android.gms AUTO_RUN ignore
cmd appops set com.google.android.gms START_FOREGROUND ignore
cmd appops set com.google.android.youtube RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.apps.photos RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.gmail RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.apps.maps RUN_IN_BACKGROUND ignore
cmd appops set android RUN_IN_BACKGROUND ignore
cmd appops set com.android.mms RUN_IN_BACKGROUND ignore
cmd appops set com.android.mms RUN_ANY_IN_BACKGROUND ignore
cmd appops set com.android.mms WAKE_LOCK ignore
cmd appops set com.android.mms AUTO_RUN ignore
cmd appops set com.android.mms BACKGROUND_SYNC ignore
cmd appops set com.google.android.apps.messaging RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.apps.messaging RUN_ANY_IN_BACKGROUND ignore
cmd appops set com.google.android.apps.messaging WAKE_LOCK ignore
cmd appops set com.google.android.apps.messaging AUTO_RUN ignore
cmd appops set com.android.systemui RUN_IN_BACKGROUND ignore
cmd appops set com.android.phone RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.imanager COARSE_LOCATION ignore
cmd appops set com.vivo.imanager FINE_LOCATION ignore
cmd appops set com.vivo.imanager READ_CONTACTS ignore
cmd appops set com.vivo.imanager READ_PHONE_STATE ignore
cmd appops set com.vivo.imanager RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.imanager RUN_ANY_IN_BACKGROUND ignore
cmd appops set com.vivo.imanager WAKE_LOCK ignore
cmd appops set com.vivo.imanager AUTO_RUN ignore
cmd appops set com.vivo.assistant RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.easyshare RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.website RUN_IN_BACKGROUND ignore
cmd appops set com.oplus.multiwindow RUN_IN_BACKGROUND ignore
cmd appops set com.oplus.multiwindow AUTO_RUN ignore
cmd appops set com.oplus.multiwindow WAKE_LOCK ignore
cmd appops set com.vivo.imanager START_FOREGROUND ignore
am force-stop com.vivo.imanager
cmd appops set com.oplus.floatwindow RUN_IN_BACKGROUND ignore
cmd appops set com.oplus.floatwindow AUTO_RUN ignore
pm disable-user --user 0 com.vivo.imanager 2
settings put global net.tcp.buffersize.default 4096,87380,204800,4096,16384,204800
settings put global net.tcp.buffersize.wifi 4096,87380,204800,4096,16384,204800
settings put global net.tcp.buffersize.lte 4096,87380,204800,4096,16384,204800
settings put global net.tcp.buffersize.umts 4096,87380,204800,4096,16384,204800
settings put global net.tcp.buffersize.hspa 4096,87380,204800,4096,16384,204800
settings put global tcp_default_init_rwnd 60
settings put global mobile_data_always_on 1
settings put global wifi_scan_always_enabled 0
settings put global captive_portal_mode 0
settings put global network_scoring_ui_enabled 0
settings put global network_recommendation_enabled 0
settings put global wifi_wakeup_available 0
settings put global network_watchlist_enabled 0
settings put global wifi_watchdog_on 0
settings put global data_stall_recovery_on_bad_network 0
settings put global activity_manager_constants max_cached_processes=1024
settings put global activity_manager_constants background_settle_time=0
settings put global activity_manager_constants fgservice_screen_on_before_time=0
settings put global activity_manager_constants service_min_restart_time_between=0
settings put global activity_manager_constants content_provider_retain_time=0
settings put global activity_manager_constants gc_timeout=5000
settings put global activity_manager_constants gc_min_interval=60000
settings put global activity_manager_constants full_pss_min_interval=120000
settings put global activity_manager_constants power_check_interval=999999
settings put global activity_manager_constants power_check_max_cpu_1=0
settings put global activity_manager_constants power_check_max_cpu_2=0
settings put global activity_manager_constants boot_time_temp_allowlist_duration=0
settings put global activity_manager_constants fgs_start_foreground_timeout=10
settings put global activity_manager_constants default_background_activity_starts_enabled=true
settings put global app_standby_enabled 0
settings put global app_auto_restriction_enabled 0
settings put global enable_restricted_bucket 0
setprop debug.hwui.renderer skiavk
setprop debug.renderengine.backend skiavk
setprop debug.composition.type gpu
setprop debug.sf.disable_client_composition_cache 1
setprop debug.sf.disable_fbc 1
setprop debug.sf.predict_hwc_composition_strategy 0
setprop debug.sf.enable_hwc_vds 0
setprop debug.sf.enable_gl_backpressure 0
setprop debug.sf.latch_unsignaled 1
setprop debug.sf.early_phase_offset_ns 500000
setprop debug.sf.early_app_phase_offset_ns 500000
setprop debug.cpurendering.force 1
setprop debug.egl.swapinterval -1
setprop debug.gr.swapinterval 0
setprop debug.mdpcomp.maxframe 0
settings put global force_gpu_rendering 1
settings put global gpu_debug_layers 0
settings put global enable_gpu_debug_layers 0
settings put global gpu_debug_app ""
settings put global updatable_driver_all_apps 1
settings put global game_driver_all_apps 1
settings put global game_driver_opt_in_apps 1
setprop ro.vendor.mtk.sensor.support 1
setprop ro.vendor.mtk.app_launch_boost 1
setprop ro.vendor.gmo.ram_optimize 0
setprop ro.vendor.mtk_config_max_dram_size 0x1000000000
setprop persist.sys.vivo.game.turbo 1
setprop persist.sys.vivo.multi_turbo 1
setprop persist.sys.monster_mode 1
setprop persist.sys.performance 1
setprop persist.sys.purgeable_assets 1
setprop persist.sys.dalvik.vm.lib.2 libart.so
setprop vendor.debug.sf.swapinterval 0
setprop vendor.debug.egl.swapinterval 0
device_config put runtime_native_boot disable_iostats true
device_config put runtime_native_boot profiles_enabled false
device_config put runtime_native_boot enable_heap_pointer_tagging false
device_config put activity_manager use_compaction false
device_config put activity_manager max_phantom_processes 2147483647
device_config put activity_manager max_empty_time_millis 600000
device_config put activity_manager lmkd_reclaim_on_free true
device_config put input_native_boot touch_histogram_enabled false
device_config put input_native_boot deep_press_enabled false
device_config put privacy camera_mic_icons_enabled false
device_config put privacy location_indicators_enabled false
device_config put privacy location_accuracy_enabled false
device_config put textclassifier system_textclassifier_enabled false
device_config put textclassifier model_file_path /dev/null
device_config put intelligence attention_service_enabled false
device_config put intelligence adaptive_sound_enabled false
device_config put autofill smart_suggestion_supported_modes 0
device_config put window_manager system_gestures_exclusion_limit_dp 0
cmd sensorservice restrict
settings put secure location_mode 0
settings put global assisted_gps_enabled 0
settings put global wifi_scan_throttle_enabled 1
settings put global ble_scan_always_enabled 0
settings put global ble_scan_balanced_interval_ms 999999
settings put global ble_scan_low_latency_interval_ms 999999
settings put global wifi_scan_background_throttle_interval 999999
cmd appops set com.android.vending RUN_IN_BACKGROUND ignore
cmd appops set com.android.vending RUN_ANY_IN_BACKGROUND ignore
cmd appops set com.google.android.gms ACTIVITY_RECOGNITION ignore
cmd appops set com.google.android.gms PROJECT_MEDIA ignore
cmd appops set com.google.android.gms MANAGE_EXTERNAL_STORAGE ignore
cmd appops set com.vivo.daemonService RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.daemonService ACTIVITY_RECOGNITION ignore
cmd appops set com.vivo.assistant RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.globalsearch RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.browser RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.space RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.theme RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.account RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.cloud RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.updater RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.pushservice RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.ai.jovi.inlife RUN_IN_BACKGROUND ignore
cmd appops set com.android.printspooler RUN_IN_BACKGROUND ignore
cmd appops set com.android.traceur RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.googlequicksearchbox RECORD_AUDIO ignore
cmd appops set com.google.android.onetimeinitializer RUN_IN_BACKGROUND ignore
setprop dalvik.vm.checkjni false
setprop dalvik.vm.verify-bytecode false
setprop dalvik.vm.execution-mode int:jit
setprop dalvik.vm.dex2oat-filter speed
setprop dalvik.vm.image-dex2oat-filter speed
setprop dalvik.vm.heapgrowthlimit 512m
setprop dalvik.vm.heapsize 1024m
setprop dalvik.vm.heaptargetutilization 0.75
setprop dalvik.vm.heapminfree 2m
setprop dalvik.vm.heapmaxfree 16m
setprop dalvik.vm.jit.codecachesize 256m
setprop dalvik.vm.boot-dex2oat-threads 8
setprop dalvik.vm.dex2oat-threads 8
settings put global wtf_is_fatal 0
settings put global dropbox_max_files 0
settings put global dropbox_quota_kb 0
settings put global send_action_app_error 0
settings put global anr_show_background 0
settings put global show_first_crash_dialog 0
settings put system send_security_reports 0
setprop log.tag.stats_log OFF
setprop profiler.force_disable_err_rpt 1
setprop profiler.force_disable_ulog 1
setprop persist.sys.strictmode.disable 1
setprop persist.sys.strictmode.visual 0
setprop persist.traced.enable 0
setprop ro.config.nocheckin yes
settings put global unused_static_shared_lib_min_cache_period 0
settings put global fstrim_mandatory_interval 1
settings put global sys_storage_threshold_percentage 1
settings put global disk_free_change_reporting_threshold 999999
settings put global storage_benchmark_interval 0
cmd looper_stats disable
cmd stats disable
cmd jobscheduler cancel-all
settings put global sys_uid_cpupower 1
settings put global sys_traced_enable 0
settings put global private_dns_mode hostname
settings put global private_dns_specifier dns.google
settings put global package_verifier_enable 0
settings put global verifier_verify_adb_installs 0
settings put global upload_apk_enable 0
settings put global app_auto_restriction_enabled 0
settings put global sys_storage_full_threshold_bytes 1048576
settings put global sync_manager_constants max_retries_per_group=0
settings put global soft_ap_timeout_enabled 1
settings put global tether_offload_disabled 1
settings put global job_scheduler_quota_controller_constants max_session_count_per_rate_limiting_window=999999
settings put global job_scheduler_quota_controller_constants max_job_count_per_rate_limiting_window=999999
settings put global job_scheduler_quota_controller_constants max_job_count_within_rate_limiting_window=999999
settings put global alarm_manager_constants min_interval=1
settings put global alarm_manager_constants allow_while_idle_quota=9999
settings put global alarm_manager_constants listener_timeout=1
settings put global backup_agent_timeout_parameters 0
settings put global disable_window_blurs 1
settings put global enable_freeform_support 1
settings put global allow_force_resizable 1
settings put global hidden_api_policy 1
settings put global hidden_api_policy_p_apps 1
settings put global content_capture_enabled 0
settings put secure content_capture_enabled 0
settings put global autofill_logging_level 0
settings put global smart_selection_dark_launch 0
settings put secure adaptive_sleep 0
settings put system intelligent_sleep_mode 0
settings put system access_control_enabled 0
settings put secure long_press_timeout 200
settings put secure multi_press_timeout 200
settings put global window_animation_scale 0.5
settings put global transition_animation_scale 0.5
settings put global animator_duration_scale 0.5
cmd power set-fixed-performance-mode-enabled true
cmd power set-mode 0
cmd thermalservice override-status 0
setprop debug.sf.early_app_phase_offset_ns 500000
setprop debug.sf.early_phase_offset_ns 500000
setprop sys.use_fifo_ui 1
setprop persist.sys.enable_rescue 0
settings put system haptic_feedback_enabled 1
settings put system vibrate_on 1
settings put system vibrate_when_ringing 1
settings put system sound_effects_enabled 1
settings put global battery_saver_constants "vibration_disabled=false,animation_disabled=false,soundtrigger_disabled=false,firewall_disabled=false,datasaver_disabled=false,adjust_brightness_disabled=false,force_all_apps_standby=false,force_background_check=false"
cmd appops set android VIBRATE allow
cmd appops set com.android.systemui VIBRATE allow
cmd appops set com.vivo.daemonService VIBRATE allow
cmd appops set com.vivo.bsptest VIBRATE allow
settings put system vibration_intensity 2
settings put system haptic_feedback_intensity 2
pm disable-user --user 0 com.vivo.imanager 3
cmd appops set com.vivo.imanager RUN_IN_BACKGROUND ignore
settings put global cpu_freq_scaling 0
settings put global cpu_freq_lock 1
settings put global cpu_boost_mode 2
settings put global gpu_renderer 3
settings put global gpu_debug_layers 0
settings put global gpu_debug_app *
settings put global enable_gpu_debug_layers 0
setprop debug.vulkan.force_gpu_clock 1
setprop debug.vulkan.force_cpu_clock 1
setprop debug.vulkan.disable_thermal_throttling 1
setprop debug.vulkan.pipeline_cache_size 512
settings put global neural_networks_priority 1
settings put global neural_networks_performance 3
settings put global ai_accelerator_mode 2
settings put global render_thread_boost 3
settings put global render_ahead 12
settings put global max_render_latency 3
settings put global memory_compression_level 20
settings put global memory_compression_algorithm zstd
settings put global memory_compression_threshold 80
settings put secure limit_ad_tracking 1
settings put secure usage_metrics_marketing_opt_out 1
settings put global private_dns_mode hostname
settings put global private_dns_specifier dns.adguard.com
settings put global usage_metrics_marketing_opt_out 1
settings put global stay_on_while_plugged_in 0
pm disable-user --user 0 com.google.android.apps.diagnostics
settings put global app_standby_enabled 1
settings put global app_auto_restriction_enabled 1
settings put global app_restriction_enabled true
pm disable-user --user 0 com.google.android.googlequicksearchbox
settings put secure location_providers_allowed -gps
settings put secure location_providers_allowed -network
settings put global app_process_limit 2
pm disable-user --user 0 com.google.android.googlequicksearchbox
pm disable-user --user 0 com.google.android.feedback
settings put secure limit_ad_tracking 1
settings put secure usage_metrics_marketing_opt_out 1
pm disable-user --user 0 com.google.android.apps.diagnostics
pm disable-user --user 0 com.google.android.feedback
pm disable-user --user 0 com.miui.analytics 2>nul
pm disable-user --user 0 com.facebook.appmanager 2>nul
pm disable-user --user 0 com.facebook.services 2>nul
pm disable-user --user 0 com.samsung.android.app.omcagent 2>nul
settings put global app_standby_enabled 1
settings put global app_auto_restriction_enabled 1
settings put global app_restriction_enabled true
settings put global wifi_scan_always_enabled 0
pm trim-caches 9999999999999
settings put global ram_expansion_size 0
settings put global ram_optimization_level 4
settings put global memory_cleanup_aggressiveness 3
setprop dalvik.vm.heapmaxfree 32m
setprop dalvik.vm.heapminfree 8m
setprop dalvik.vm.heaptargetutilization 0.8
setprop dalvik.vm.heapconcurrentstart 0
setprop dalvik.vm.jit.codecachesize 384m
setprop dalvik.vm.jitmaxsize 384m
setprop dalvik.vm.jitthreshold 100
setprop dalvik.vm.jitprithreadweight 150
settings put global tcp_fastopen 3
settings put global tcp_congestion_control bbr2
settings put global tcp_notsent_lowat 16384
settings put global tcp_window_scaling 3
settings put global private_dns_specifier dns.quad9.net
settings put global dns_over_tls_mode strict
settings put global dns_resolver_timeout 2000
settings put global dns_retry_count 1
settings put global wifi_aggressive_handover 2
settings put global wifi_min_rssi -45
settings put global wifi_scan_interval 300000
settings put global wifi_supplicant_scan_interval 300000
settings put global mobile_data_aggressive 2
settings put global mobile_data_preferred 2
settings put global mobile_data_roaming_aggressive 1
settings put global game_driver_preference 3
settings put global game_driver_optimization 3
settings put global game_driver_all_apps 2
settings put global game_driver_opt_in 2
settings put global graphics_quality 0
settings put global texture_quality 0
settings put global shadow_quality 0
settings put global anti_aliasing 0
settings put global touch_response 0
settings put global touch_latency 0
settings put global input_boost 2
settings put global input_boost_duration 500
settings put system display_response_time 0
settings put system display_overdrive_enabled 2
settings put system display_color_mode 2
settings put global ui_hardware_accelerated 2
settings put global ui_render_priority 1
settings put global ui_texture_cache_size 128
setprop audio.lowlatency.force true
setprop audio.alsa.period_size 48
setprop audio.alsa.buffer_size 192
setprop audio.offload.buffer.size.kb 2048
setprop af.resampler.quality 255
setprop audio.offload.pcm.24bit.enable true
setprop audio.offload.pcm.16bit.enable true
setprop audio.offload.min.duration.secs 0
settings put global battery_optimization_disabled 2
settings put global adaptive_battery_management_enabled 0
settings put global battery_saver_mode 0
settings put global low_power 0
settings put global power_management_mode 0
settings put global power_save_mode 0
settings put global cpu_power_save 0
settings put global gpu_power_save 0
settings put global thermal_control_enabled 0
settings put global thermal_throttling_enabled 0
settings put global thermal_limit_enabled 0
settings put global thermal_override_enabled 1
settings put global thermal_threshold 120
settings put global thermal_warning_threshold 90
settings put global thermal_critical_threshold 100
settings put global package_verifier_enable 0
settings put global verifier_verify_adb_installs 0
settings put global art_verifier_verify_debuggable 0
settings put global background_activity_limit 0
settings put global background_process_limit 0
settings put global background_service_limit 0
settings put global background_sync_enabled 0
settings put global pm.dexopt.ab-ota speed
settings put global pm.dexopt.bg-dexopt speed
settings put global pm.dexopt.boot speed
settings put global pm.dexopt.first-boot speed
settings put global pm.dexopt.install speed
settings put global pm.dexopt.shared speed
settings put global app_standby_enabled 0
settings put global app_restriction_level 4
settings put global app_auto_restriction_enabled 0
settings put global service_timeout 5000
settings put global service_restart_duration 1000
settings put global service_bg_start_timeout 2000
settings put global broadcast_priority 1
settings put global broadcast_timeout 5000
settings put global broadcast_background_timeout 3000
settings put system sensor_performance_mode 2
settings put system sensor_polling_rate 2000
settings put system sensor_precision 4
settings put secure gps_accuracy_boost 2
settings put secure gps_refresh_rate 50
settings put secure gps_signal_boost 1
settings put global storage_cache_size 256
settings put global storage_read_ahead 16384
settings put global storage_write_back 2
settings put global fsync_enabled 0
settings put global file_system_check 0
settings put global storage_trim_enabled 0
settings put global firewall_enabled 0
settings put global firewall_uid_rules ""
settings put global firewall_package_rules ""
settings put global vpn_performance_mode 1
settings put global vpn_buffer_size 4096
settings put global vpn_mtu_size 1500
settings put global bluetooth_priority 1000
settings put global bluetooth_audio_quality 3
settings put global bluetooth_scan_mode 2
settings put global nfc_performance_mode 2
settings put global nfc_scan_interval 500
settings put global nfc_polling_mode 1
setprop debug.egl.force_msaa 0
setprop debug.egl.force_gpu 2
setprop debug.egl.force_finish 1
setprop debug.egl.swapinterval -1
setprop debug.sf.latch_unsignaled 2
setprop debug.sf.disable_backpressure 2
setprop debug.sf.early_phase_offset_ns 250000
setprop persist.logd.size 32K
setprop logd.statistics 0
setprop media.metrics.enabled false
setprop debug.log.performance 0
settings put global enable_tracing 0
settings put global tracing_enabled 0
settings put global development_tracing 0
settings put global emergency_performance_mode 1
settings put global critical_performance 2
settings put global performance_override 1
settings put global system_stability_mode 0
settings put global crash_recovery_mode 0
settings put global panic_mode 0
settings put global performance_metrics_enabled 1
settings put global performance_sampling_rate 1000
settings put global performance_threshold 95
settings put global benchmark_mode 1
settings put global benchmark_quality 0
settings put global benchmark_priority 1
settings put global hardware_video_decode 2
settings put global hardware_video_encode 2
settings put global video_acceleration 2
settings put global hardware_audio_processing 2
settings put global audio_hardware_acceleration 2
settings put global gpu_idle_time 0
settings put global gpu_max_clock 0
settings put global gpu_min_clock 0
settings put global gpu_frequency 0
settings put global gpu_force_high_perf 1
settings put global gpu_perf_mode 1
settings put global disable_hw_overlays 1
settings put global force_gpu_rendering 1
setprop debug.hwui.use_vulkan true
setprop debug.hwui.disable_vulkan_pipeline_cache 1
setprop debug.hwui.vulkan_async_pipeline_cache 0
setprop debug.hwui.vulkan_parallel_shader_compile 0
setprop debug.hwui.vulkan_shader_cache 0
setprop debug.hwui.vulkan_texture_cache 0
setprop debug.hwui.texture_cache_size 128
settings put global gpu_perf_mode 1
settings put global disable_hw_overlays 1
setprop debug.hwui.use_vulkan true
setprop debug.renderengine.backend skiavk
setprop debug.composition.type gpu
setprop debug.hwui.disable_scissor_opt true
setprop debug.hwui.profile gpu
setprop debug.hwui.renderer skiagl
setprop debug.hwui.texture_cache_size 64
setprop debug.force-opengl 1
setprop debug.hwc.force_gpu_vsync 1
settings put global enable_gpu_debug_layers 0
settings put global force_gpu_rendering 1
settings put global hidden_api_policy 0
settings put global hidden_api_policy_p_apps 0
settings put global hidden_api_policy_p_system 0
settings put global enable_gpu_debug_layers 0
settings put system ro.sys.hardware.optimization 1
settings put system enable.system_ui.optimization 1
settings put system system.force_performance 1
settings put system app.performance_restricted 0
settings put system javafx.animation.scale 50000
settings put system touch.pressure.scale 0.001
settings put system multi_press.timout 100
settings put global game_driver_preference 2
settings put global adaptive_battery_management 0
settings put global app_standby_enabled 0
settings put global background_activity_limit 0
settings put global background_process_limit 0
settings put global cached_apps_freezer disabled
settings put global development_force_rtl 0
settings put global enable_ram_expansion 0
settings put global gpu_renderer vulkan
settings put global hardware_accelerated_renderer 1
settings put global hwui.disable_vsync 1
settings put global overlay_display_mode "0,0,0"
settings put global peak_refresh_rate 0
settings put global persist.sys.force_sw_gles 0
settings put global refresh_rate_mode 2
settings put global restricted_device_performance 0
settings put global thermal_limit_disabled 1
settings put global touch_exploration_enabled 0
settings put global user_experience_mode 0
settings put global window_manager_constants "max_remote_overlays=100"
settings put global tcp_default_init_rwnd 60
settings put global mobile_data_always_on 1
settings put global wifi_scan_always_available 1
settings put global wifi_suspend_optimizations_enabled 0
settings put global ble_scan_always_available 1
settings put global private_dns_mode hostname
settings put global private_dns_specifier dns.quad9.net
settings put global low_power 0
settings put global airplane_mode_radios "cell,bluetooth,wifi,wimax,nfc"
settings put global captive_portal_detection_enabled 0
settings put global captive_portal_mode 0
settings put global network_recommendation_request_list ""
echo 2097152 > /proc/sys/net/core/rmem_max
echo 2097152 > /proc/sys/net/core/wmem_max
echo 262144 > /proc/sys/net/core/rmem_default
echo 262144 > /proc/sys/net/core/wmem_default
settings put system touch_sensitivity 2
settings put system touch_responsiveness 2
settings put system touch_accuracy 3
settings put system touch_pressure_scale 0.5
setprop audio.offload.buffer.size.kb 32
setprop audio.alsa.period_size 128
setprop audio.alsa.buffer_size 512
setprop af.fast_track_multiplier 2
cmd power set-fixed-performance-mode-enabled true
settings put secure game_driver_opt_in 1
settings put secure game_auto_temperature_control 0
pm clear --user 0 com.vivo.gamewatch
settings put global thermal_polling_interval 60000
settings put secure thermal_control_enabled 0
cmd power set-fixed-performance-mode-enabled true
settings put global low_power 0
settings put global automatic_power_save_mode 0
cmd power set-fixed-performance-mode-enabled true
settings put global activity_starts_logging_enabled 0
settings put system k2hd_effect 1
settings put system tube_amp_effect 1
pm trim-caches 128G
settings put global sqlite_compatibility_wal_flags compatibility_wal_supported=true,wal_syncmode=OFF
settings put global db_check_enabled 0
settings put global sys_storage_threshold_percentage 1
settings put global sys_storage_threshold_max_bytes 1048576
settings put global sys_storage_full_threshold_bytes 1048576
settings put global wait_for_debugger 0
settings put global fstrim_mandatory_interval 86400000
settings put global pdn_hysteresis_ms 0
settings put global dropbox_max_files 0
settings put global dropbox_quota_kb 0
settings put global send_action_app_error 0
settings put global wifi_scan_always_enabled 0
settings put global ble_scan_always_enabled 0
settings put global mobile_data_always_on 1
settings put global wifi_watchdog_on 0
settings put global wifi_wakeup_available 0
settings put global network_recommendations_enabled 0
settings put global network_scoring_ui_enabled 0
settings put global tether_offload_disabled 1
settings put global soft_ap_timeout_enabled 1
settings put global wifi_scan_background_throttle_interval 3600000
settings put global wifi_scan_throttle_enabled 1
settings put global ble_scan_balanced_interval_ms 3600000
settings put global ble_scan_low_latency_interval_ms 3600000
settings put global ble_scan_low_power_interval_ms 3600000
settings put global captive_portal_mode 0
settings put global nsd_on 0
settings put global pac_change_delay 0
settings put global error_logcat_prefix 0
settings put global send_action_app_error 0
settings put global dropbox_max_files 0
settings put global dropbox_quota_kb 0
settings put secure send_action_app_error 0
settings put system send_security_reports 0
setprop persist.traced.enable 0
setprop ro.config.nocheckin yes
setprop profiler.force_disable_err_rpt 1
setprop profiler.force_disable_ulog 1
cmd stats disable
settings put global transcode_enabled 0
settings put global storage_benchmark_interval 0
settings put global send_action_app_error 0
settings put global wtf_is_fatal 0
settings put global dropbox_max_files 0
settings put global dropbox_quota_kb 0
settings put global disk_free_change_reporting_threshold 2097152
settings put global sync_max_retry_delay_in_seconds 3600
settings put global enable_ephemeral_feature 0
settings put global installed_instant_app_min_cache_period 0
settings put global unused_static_shared_lib_min_cache_period 0
settings put global package_verifier_enable 0
settings put global package_verifier_user_consent -1
settings put global package_verifier_timeout 0
settings put global verifier_verify_adb_installs 0
settings put global upload_apk_enable 0
settings put global guest_user_enabled 0
settings put global online_manual_url 0
settings put global bugreport_in_power_menu 0
settings put secure cross_profile_calendar_enabled 0
settings put secure managed_profile_contact_remote_search 0
settings put system intelligent_sleep_mode 0
settings put system access_control_enabled 0
settings put system accelerometer_rotation 0
settings put system send_security_reports 0
setprop persist.sys.enable_rescue 0
setprop persist.sys.strictmode.disable 1
setprop persist.sys.strictmode.visual 0
setprop profiler.force_disable_err_rpt 1
setprop profiler.force_disable_ulog 1
setprop dalvik.vm.checkjni false
setprop dalvik.vm.verify-bytecode false
setprop dalvik.vm.debug.alloc 0
setprop dalvik.vm.stack-trace-file /dev/null
setprop ro.config.nocheckin yes
setprop debug.atrace.tags.enableflags 0
setprop persist.traced.enable 0
cmd appops set com.vivo.space RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.space WAKE_LOCK ignore
cmd appops set com.vivo.browser RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.browser WAKE_LOCK ignore
cmd appops set com.vivo.globalsearch RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.globalsearch WAKE_LOCK ignore
cmd appops set com.bbk.theme RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.theme WAKE_LOCK ignore
cmd appops set com.google.android.gms SYSTEM_ALERT_WINDOW ignore
cmd appops set com.google.android.gms USE_SIP ignore
cmd appops set com.google.android.gms PROCESS_OUTGOING_CALLS ignore
device_config put activity_manager bg_current_drain_monitor_enabled false
device_config put activity_manager bg_power_restriction_enabled false
device_config put privacy location_indicators_enabled false
device_config put runtime_native_boot disable_iostats true
cmd looper_stats disable
settings put global fstrim_mandatory_interval 3600
settings put global sys_storage_threshold_percentage 1
settings put global sys_storage_threshold_max_bytes 10485760
settings put global disk_free_change_reporting_threshold 2097152
settings put global storage_benchmark_interval 0
settings put global sync_max_retry_delay_in_seconds 3600
settings put global job_scheduler_quota_controller_constants "max_session_count_per_rate_limiting_window=20,max_job_count_per_rate_limiting_window=20"
settings put global alarm_manager_constants "allow_while_idle_quota=10,listener_timeout=1000,min_interval=60000"
settings put global device_idle_constants "light_after_inactive_to=5000,inactive_to=5000,sensing_to=0,locating_to=0,location_accuracy_decay_to=0,motion_inactive_to=0,idle_after_inactive_to=0"
settings put global app_standby_enabled 1
settings put global adaptive_battery_management_enabled 0
settings put global battery_saver_constants "vibration_disabled=false,animation_disabled=false,soundtrigger_disabled=true,fullbackup_deferred=true,keyvaluebackup_deferred=true,firewall_disabled=true,gps_mode=0,adjust_brightness_disabled=true,datastaver_disabled=true,force_all_apps_standby=true,force_background_check=true"
cmd power set-fixed-performance-mode-enabled true
settings put global low_power_trigger_level 0
settings put global automatic_power_save_mode 0
settings put global dynamic_power_savings_enabled 0
cmd appops set com.google.android.gms READ_DEVICE_IDENTIFIERS ignore
cmd appops set com.google.android.gms ACTIVITY_RECOGNITION ignore
cmd appops set com.google.android.gms BODY_SENSORS ignore
cmd appops set com.google.android.gms READ_CLIPBOARD ignore
cmd appops set com.google.android.gms PROJECT_MEDIA ignore
cmd appops set com.android.vending RUN_IN_BACKGROUND ignore
cmd appops set com.android.vending RUN_ANY_IN_BACKGROUND ignore
cmd appops set com.android.vending START_FOREGROUND ignore
cmd appops set com.facebook.services RUN_IN_BACKGROUND ignore
cmd appops set com.facebook.appmanager RUN_IN_BACKGROUND ignore
cmd appops set com.facebook.system RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.browser RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.browser WAKE_LOCK ignore
settings put global ram_expand_size 0
settings put global zram_enabled 0
setprop dalvik.vm.checkjni false
setprop dalvik.vm.verify-bytecode false
setprop dalvik.vm.execution-mode int:fast
setprop dalvik.vm.dexopt-flags v=n,o=v,m=y
setprop dalvik.vm.lockprof.threshold 500
settings put global always_finish_activities 1
settings put global activity_manager_constants "max_cached_processes=64,background_settle_time=0,fgservice_screen_on_before_time=0,service_min_restart_time_between=10000"
cmd activity set-watch-heap-limit 256000
device_config put activity_manager max_phantom_processes 2147483647
settings put global settings_enable_monitor_phantom_procs false
settings put global wtf_is_fatal 0
settings put global anr_show_background 0
settings put secure anr_show_background 0
settings put system pointer_speed 7
setprop sys.use_fifo_ui 1
setprop debug.sf.hw 1
setprop debug.egl.hw 1
setprop debug.composition.type c2d
setprop debug.sf.no_hw_vsync 1
setprop debug.cpurend.vsync false
setprop debug.gpurend.vsync false
setprop debug.hwui.render_dirty_regions false
setprop debug.hwui.skip_empty_damage true
setprop debug.hwui.use_buffer_age false
setprop debug.sf.disable_client_composition_cache 1
setprop debug.sf.predict_hwc_composition_strategy 1
setprop debug.mdpcomp.logs 0
setprop persist.sys.use_16bpp_alpha 1
setprop persist.sys.purgeable_assets 1
setprop persist.sys.ui.hw 1
setprop ro.config.hw_quickpoweron true
setprop ro.media.enc.jpeg.quality 100
setprop ro.media.dec.jpeg.memcap 8000000
setprop ro.sys.fw.bg_apps_limit 60
setprop ro.sys.fw.trim_empty_percent 100
setprop ro.sys.fw.trim_cache_percent 100
setprop ro.sys.fw.bservice_enable true
setprop ro.sys.fw.bservice_limit 5
setprop dalvik.vm.jit.initial-thread-pool-size 4
setprop dalvik.vm.jit.max-threads 8
setprop dalvik.vm.checkjni false
setprop dalvik.vm.jniopts forcecopy
setprop dalvik.vm.verify-bytecode false
setprop dalvik.vm.execution-mode int:fast
setprop dalvik.vm.dexopt-flags v=n,o=v,m=y
setprop pm.dexopt.install speed
setprop pm.dexopt.bg-dexopt speed
setprop pm.dexopt.boot speed
setprop pm.dexopt.shared speed
setprop ro.kernel.android.checkjni 0
setprop ro.kernel.checkjni 0
setprop profiler.force_disable_err_rpt 1
setprop profiler.force_disable_ulog 1
setprop log.tag.stats_log OFF
setprop persist.logd.logpersistd.enable 0
setprop persist.sys.strictmode.disable true
setprop persist.sys.strictmode.visual 0
setprop ro.config.nocheckin yes
setprop debug.atrace.tags.enableflags 0
setprop persist.traced.enable 0
setprop ro.statsd.enable false
device_config set_sync_disabled_for_tests persistent
device_config put activity_manager max_phantom_processes 2147483647
settings put global settings_enable_monitor_phantom_procs false
pm uninstall --user 0 com.vivo.pem
pm uninstall --user 0 com.vivo.abe
pm uninstall --user 0 com.vivo.bsptest
pm uninstall --user 0 com.bbk.SuperPowerSave
pm uninstall --user 0 com.vivo.gamewatch
cmd power set-fixed-performance-mode-enabled true
settings put global low_power_trigger_level 0
settings put global automatic_power_save_mode 0
settings put global gpu_watchdog 0
settings put global animator_duration_scale 1.0
settings put global window_animation_scale 1.0
settings put global transition_animation_scale 1.0
pm uninstall --user 0 com.bbk.SuperPowerSave
pm uninstall --user 0 com.iqoo.powersaving
pm uninstall --user 0 com.vivo.sps
pm uninstall --user 0 com.vivo.abe
pm uninstall --user 0 com.vivo.bsptest
pm uninstall --user 0 com.vivo.daemonService
pm suspend com.vivo.pem
pm suspend com.bbk.SuperPowerSave
pm suspend com.vivo.abe
pm suspend com.iqoo.powersaving
pm suspend com.vivo.sps
pm suspend com.vivo.gamewatch
pm suspend com.vivo.daemonService
cmd appops set com.vivo.pem RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.pem WAKE_LOCK ignore
cmd appops set com.bbk.SuperPowerSave RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.SuperPowerSave WAKE_LOCK ignore
cmd appops set com.vivo.abe RUN_IN_BACKGROUND ignore
cmd appops set com.iqoo.powersaving RUN_IN_BACKGROUND ignore
am set-standby-bucket com.vivo.pem restricted
am set-standby-bucket com.bbk.SuperPowerSave restricted
am set-standby-bucket com.vivo.abe restricted
am set-standby-bucket com.iqoo.powersaving restricted
pm clear com.vivo.pem
settings put global game_driver_all_apps 1
settings put global game_driver_opt_in_apps 1
settings put global updatable_driver_all_apps 1
settings put global gpu_debug_layer_app com.cpu.throttling
cmd game set --mode performance com.cpu.throttling
cmd game set --mode performance com.antutu.ABenchMark
setprop debug.hwui.renderer vulkan
setprop debug.hwui.render_ahead 10
setprop debug.sf.latch_unsignaled 1
setprop debug.cpurendering 0
setprop debug.composition.type gpu
sm set-force-adoptable true
sm fstrim
setprop debug.hwui.renderer skiavk
setprop debug.renderengine.backend skiavk
settings put global wifi_scan_always_enabled 0
settings put global ble_scan_always_enabled 0
settings put global mobile_data_always_on 0
settings put global network_recommendation_enabled 0
settings put system touchscreen.sensitivity 10
settings put secure long_press_timeout 250
settings put system pointer_speed 7
pm trim-caches 999999999999
cmd thermalservice override-status 0
setprop sys.thermal.status 0
setprop persist.sys.thermal.status 0
swapoff /dev/block/zram0
settings put global zram_enabled 0
settings put global captive_portal_mode 0
settings put global ntp_server 127.0.0.1
settings put global private_dns_mode off
setprop debug.cpurendering.force 1
settings put global activity_manager_constants max_cached_processes=2
settings put global always_finish_activities 0
pm clear com.bbk.SuperPowerSave
settings put global heads_up_notifications_enabled 0
settings put secure icon_blacklist rotation_lock,volume,headset
settings put global assisted_gps_enabled 0
cmd sensorservice restrict
setprop debug.sensors.mock_hal 0
setprop persist.traced.enable 0
setprop debug.atrace.tags.enableflags 0
setprop persist.sys.profiler_ms 0
settings put global enable_freeform_support 0
setprop debug.sf.latch_unsignaled 1
setprop debug.stagefright.c2inputsurface -1
settings put global activity_manager_constants max_cached_processes=1
settings put global background_process_limit 1
settings put global always_finish_activities 1
settings put global hidden_api_policy 1
pm clear com.bbk.SuperPowerSave
settings put global dropbox_max_files 0
settings put global wtf_is_fatal 0
settings put global send_action_app_error 0
settings put global anr_show_background 0
setprop log.tag.stats_log OFF
pm uninstall --user 0 com.vivo.browser
setprop debug.hwui.renderer skiavk
setprop debug.egl.force_msaa 1
settings put global game_driver_all_apps 1
settings put global game_driver_opt_in_apps 1
setprop debug.sf.latch_unsignaled 1
setprop debug.sf.enable_hwc_vds 1
cmd jobscheduler cancel-all
settings put global sys_storage_threshold_percentage 1
pm uninstall --user 0 com.facebook.appmanager
pm uninstall --user 0 com.facebook.services
pm uninstall --user 0 com.facebook.system
pm uninstall --user 0 com.google.android.printservice.recommendation
pm uninstall --user 0 com.android.printspooler
pm uninstall --user 0 com.vivo.expert
pm uninstall --user 0 com.vivo.health
pm uninstall --user 0 com.bbk.scene.launcher.theme
settings put system touchscreen.sensitivity 10
settings put system touch.pressure.scale 0.001
settings put global wtf_is_fatal 0
settings put global dropbox_max_files 0
setprop log.tag.FA OFF
setprop log.tag.RILQ OFF
device_config put enable_thermal_throttling false
device_config put runtime_native_boot disable_iostats true
device_config put runtime_native_boot enable_stability_metrics false
device_config put window_manager system_gestures_exclusion_limit_dp 0
setprop pm.dexopt.ab-ota ""
setprop debug.activity_manager.enable_watchdog 0
setprop config.disable_consumerir true
pm uninstall --user 0 com.google.android.apps.wellbeing
pm uninstall --user 0 com.vivo.magazine
pm uninstall --user 0 com.google.android.as
pm uninstall --user 0 com.vivo.assistant
pm uninstall --user 0 com.vivo.doubleinstance
pm uninstall --user 0 com.vivo.easyshare
settings put global activity_manager_constants gc_timeout=100
settings put system pointer_speed 7
setprop sys.use_fifo_ui 1
setprop audio.deep_buffer.media true
setprop debug.hwui.show_dirty_regions false
setprop debug.hwui.overdraw false
settings put global enable_strict_mode 0
settings put global app_standby_enabled 0
settings put global sqlite_compatibility_wal_flags compatibility_wal_supported=true,wal_syncmode=0
setprop debug.choreographer.skipwarning 99999999
settings put global windowsmgr.max_events_per_sec 240
setprop dalvik.vm.heaptargetutilization 0.9
setprop profiler.force_disable_err_rpt 1
setprop debug.sf.transparent_region_strategy 1
setprop ro.mtk_perf_fast_start_win 1
setprop ro.mtk_perf_response_time 1
pm uninstall --user 0 com.android.providers.partnerbookmarks
pm uninstall --user 0 com.android.cellbroadcastreceiver
pm uninstall --user 0 com.google.android.cellbroadcastreceiver
pm uninstall --user 0 com.vivo.retailmode
settings put global view_configuration_touch_slop 4
settings put secure touch_blocking_period 0
settings put global view_scroll_friction 0.005
settings put system pointer_speed 7
settings put secure long_press_timeout 250
setprop debug.sf.latch_unsignaled 1
setprop debug.hwui.render_ahead 10
setprop debug.renderengine.backend skiavk
setprop debug.hwui.renderer skiavk
setprop debug.composition.type gpu
cmd power set-fixed-performance-mode-enabled true
settings put global game_driver_all_apps 1
settings put global game_driver_opt_in_apps 1
setprop ro.mtk_perf_response_time 1
setprop ro.mtk_perf_fast_start_win 1
setprop persist.sys.pow.shock 1
setprop debug.sf.enable_hwc_vds 1
settings put global dropbox:system_server:lowmem 0
settings put global dropbox:system_server:watchdog 0
settings put global dropbox:system_server:anr 0
settings put global dropbox:system_server:crash 0
settings put global dropbox:system_app_crash 0
settings put global dropbox:data_app_crash 0
settings put global activity_manager_constants bg_check_interval=100
settings put global activity_manager_constants content_provider_retain_time=0
device_config put activity_manager max_phantom_processes 2147483647
setprop ro.hwui.texture_cache_size 88
setprop ro.hwui.layer_cache_size 58
setprop ro.hwui.path_cache_size 32
setprop ro.hwui.text_small_cache_width 1024
setprop ro.hwui.text_small_cache_height 1024
settings put global captive_portal_mode 0
settings put global nsd_on 0
setprop net.tcp.delack 0
setprop net.tcp.user_timeout 0
setprop debug.cpurendering.force 1
setprop persist.sys.debug.multi_window_mode 0
setprop persist.sys.sf.native_mode 1
setprop persist.sys.vivo.multi_turbo 1
setprop persist.sys.vivo.game_mode 1
setprop sys.monster.enable 1
setprop persist.sys.monster_mode 1
setprop debug.input.choreographer.skip 0
settings put system touch.pressure.scale 0.001
settings put secure palm_rejection_limit 0
setprop sys.use_fifo_ui 1
setprop debug.sf.nobootanimation 1
setprop debug.sf.enable_gl_backpressure 0
setprop ro.vivo.product.overheat.protection 0
setprop persist.vivo.support.thermal 0
setprop dalvik.vm.dex2oat-threads 8
setprop dalvik.vm.image-dex2oat-threads 8
cmd power set-fixed-performance-mode-enabled true
dumpsys deviceidle disable
setprop debug.sf.latch_unsignaled 1
setprop debug.egl.swapinterval 0
setprop debug.gr.swapinterval 0
setprop debug.sf.disable_backpressure 1
setprop debug.cpurendering.force 1
setprop debug.hwui.renderer skiavk
setprop debug.renderengine.backend skiavk
setprop debug.composition.type gpu
setprop sys.use_fifo_ui 1
setprop debug.sf.enable_hwc_vds 0
setprop debug.sf.early_phase_offset_ns 0
setprop debug.sf.high_fps_early_phase_offset_ns 0
setprop debug.sf.high_fps_early_gl_phase_offset_ns 0
setprop debug.sf.phase_offset_threshold_for_next_vsync_ns 0
device_config put game_overlay android mode=2,downscaleFactor=1.0
device_config put game_overlay com.google.android.gms mode=2,downscaleFactor=1.0
settings put global sqlite_compatibility_wal_flags compatibility_wal_supported=true,wal_syncmode=0
settings put global sys_storage_threshold_percentage 0
settings put global sys_storage_full_threshold_bytes 0
settings put global sys_storage_cache_percentage 0
settings put global fstrim_mandatory_interval 1
settings put global activity_manager_constants max_cached_processes=0
settings put global activity_manager_constants background_settle_time=0
settings put global always_finish_activities 0
settings put global development_settings_enabled 1
setprop persist.sys.ui.hw 1
setprop debug.performance.tuning 1
setprop video.accelerate.hw 1
setprop windowsmgr.max_events_per_sec 300
setprop ro.max.fling_velocity 20000
setprop ro.min.fling_velocity 8000
setprop touch.pressure.scale 0.001
setprop debug.egl.force_msaa 0
setprop debug.egl.profiler 0
setprop debug.egl.swapinterval 0
setprop debug.sf.nobootanimation 1
setprop debug.sf.enable_transaction_tracing false
setprop debug.sf.enable_gl_backpressure 0
setprop debug.cpurendering.force 1
setprop debug.hwui.level 2
setprop sys.use_fifo_ui 1
setprop log.tag.stats_log OFF
setprop log.tag.WIFI OFF
setprop log.tag.DHCP OFF
cmd thermalservice override-status 0
cmd activity kill-all
sm set-force-adoptable true
setprop persist.vivo.log_state 0
setprop sys.vivo.log.enable 0
setprop persist.sys.bbklog 0
pm uninstall --user 0 com.vivo.browser.feature
pm uninstall --user 0 com.vivo.website
pm uninstall --user 0 com.vivo.wallet
pm uninstall --user 0 com.vivo.globalsearch
pm uninstall --user 0 com.vivo.browser
input keyevent 82
settings put global zram_enabled 0
settings put global package_verifier_enable 0
settings put global upload_apk_enable 0
settings put global app_auto_restriction_enabled 0
cmd looper_stats disable
setprop debug.atrace.tags.enableflags 0
setprop persist.traced.enable 0
settings put global tether_offload_disabled 0
settings put global network_recommendation_enabled 0
pm uninstall --user 0 com.android.traceur
pm uninstall --user 0 com.google.android.printservice.recommendation
pm uninstall --user 0 com.android.printspooler
pm uninstall --user 0 com.android.bips
pm uninstall --user 0 com.vivo.setupwizard
settings put global activity_manager_constants bg_check_interval=100
setprop log.tag.stats_log OFF
setprop persist.logd.size 64K
setprop persist.sys.purgeable_assets 1
setprop video.accelerate.hw 1
setprop debug.performance.tuning 1
settings put secure gservices_override_checkin_interval 86400
setprop debug.gms.score_logging_enabled false
setprop debug.gms.traced_logger_enabled false
setprop debug.libcurl.verbose 0
setprop net.tcp.buffersize.wifi 524288,1048576,2097152,262144,524288,1048576
setprop persist.sys.pgtracing 0
setprop persist.sys.jankreport 0
cmd sensorservice restrict_mode 1
cmd power set-fixed-performance-mode-enabled true
cmd thermalservice override-status 0
device_config put activity_manager max_phantom_processes 2147483647
device_config put runtime_native_boot profiles_enabled false
device_config put privacy camera_mic_icons_enabled false
device_config put privacy location_indicators_enabled false
settings put global app_restriction_enabled true
settings put global adaptive_battery_management_enabled 0
setprop touch.sampling_rate 1000
setprop touch.samplingrate 1000
settings put global cpu_boost_mode 1
settings put global scheduler_boost 1
settings put global scheduler_tuning 1
setprop debug.egl.force_msaa 1
setprop debug.egl.profiler 1
setprop debug.egl.swapinterval 0
setprop debug.sf.enable_hwc_vds 1
setprop debug.performance.tuning 1
setprop video.accelerate.hw 1
settings put global game_driver_mode 2
settings put global game_driver_opt_in 1
settings put global development_settings_enabled 1
settings put system refresh_rate_mode 0
settings put global game_boost_mode 1
settings put global gaming_mode 1
settings put global performance_mode 1
settings put secure gaming_mode_enabled 1
settings put global memory_optimization_mode 0
settings put global zram_enabled 0
settings put global persist.sys.powersaving 0
settings put global thermal_limit_mode 0
settings put global thermal_protection 0
setprop persist.gaming.mode 1
setprop persist.vendor.gaming.mode 1
setprop persist.sys.game.optimization 1
settings put global enhanced_processing 1
settings put secure game_driver_opt_in 1
settings put secure game_auto_temperature_control 0
setprop debug.force-opengl 1
setprop debug.hwc.force_gpu_vsync 1
setprop video.accelerate.hw 1
settings put global background_process_limit 3
settings put global always_finish_activities 1
settings put global battery_saver_constant 0
settings put global adaptive_battery_management_enabled 0
settings put global enable_gpu_debug_layers 0
settings put global disable_hw_overlays 1
settings put global development_settings_enabled 1
settings put global adb_enabled 1
pm trim-caches 999999999
setprop persist.touch.adaptive_rate 0
setprop persist.vendor.touch.adaptive 0
setprop persist.touch.dynamic_rate 0
content insert --uri content://settings/system --bind name:s:game_mode --bind value:i:3
cmd power set-fixed-performance-mode-enabled true
settings put global adaptive_battery_management_enabled 0
settings put global app_restriction_enabled true
settings put global automatic_power_save_mode 0
settings put system intelligent_sleep_mode 0
settings put secure adaptive_brightness 0
settings put system screen_auto_brightness 0
settings put global disable_window_blurs 1
settings put secure long_press_timeout 200
settings put global development_force_high_perf_gpu 1
settings put global wifi_power_save 0
settings put global mobile_data_always_on 0
settings put global wifi_scan_always_enabled 1
pm trim-caches 128G
settings put global thermal_limit_behavior 0
settings put global thermal_limit_enabled 0
settings put global performance_mode 1
settings put system performance_mode 1
settings put global verifier_verify_adb_installs 0
settings put global enable_gpu_debug_layers 0
settings put global enable_gpu_debug_layers_unsupported 0
echo 0 > /sys/class/thermal/thermal_zone*/mode
echo 0 > /sys/module/msm_thermal/core_control/enabled
echo 0 > /sys/module/msm_thermal/parameters/enabled
echo N > /sys/module/msm_thermal/parameters/check_interval
echo noop > /sys/block/*/queue/scheduler
settings put system send_security_reports 0
settings put secure send_action_app_error 0
settings put global activity_starts_logging_enabled 0
settings put global app_restriction_enabled true
settings put global wifi_scan_throttle_enabled 1
settings put system rakuten_denwa 0
pm disable-user --user 0 com.android.package.example
cmd appops set com.android.package.example RUN_IN_BACKGROUND ignore
am force-stop com.android.package.example
settings put global adaptive_battery_management_enabled 0
settings put global automatic_power_save_mode 0
settings put global sem_enhanced_cpu_responsiveness 0
cmd power set-fixed-performance-mode-enabled true
dumpsys deviceidle disable
settings put system intelligent_sleep_mode 0
settings put secure adaptive_sleep 0
cmd power set-fixed-performance-mode-enabled true
dumpsys deviceidle disable
device_config put activity_manager max_phantom_processes 2147483647
device_config set_sync_disabled_for_tests persistent
settings put global adaptive_battery_management_enabled 0
settings put global automatic_power_save_mode 0
settings put global sem_enhanced_cpu_responsiveness 0
settings put secure adaptive_sleep 0
settings put system intelligent_sleep_mode 0
settings put global always_finish_activities 0
cmd appops set com.android.package.example RUN_IN_BACKGROUND ignore
am force-stop com.android.package.example
settings put secure tap_duration_threshold 0.0
settings put secure touch_blocking_period 0.0
settings put secure long_press_timeout 250
settings put secure multi_press_timeout 250
settings put global private_dns_mode off
settings put global wifi_scan_throttle_enabled 1
settings put system send_security_reports 0
settings put secure send_action_app_error 0
settings put global activity_starts_logging_enabled 0
settings put global app_restriction_enabled true
settings put system rakuten_denwa 0
echo 0 > /sys/block/*/queue/add_random
device_config set_sync_disabled_for_tests persistent
cmd power set-fixed-performance-mode-enabled true
dumpsys deviceidle disable
setprop debug.hwui.renderer skiavk
settings put system screen_brightness_mode 0
settings put system screen_brightness 255
echo 0 > /proc/sys/net/ipv4/tcp_slow_start_after_idle
settings put global private_dns_mode hostname
settings put global private_dns_specifier dns.quad9.net
am set-standby-bucket <PACKAGE_NAME> active
cmd appops set <PACKAGE_NAME> RUN_IN_BACKGROUND ignore
cmd appops set <PACKAGE_NAME> RUN_ANY_IN_BACKGROUND deny
settings put global zram_enabled 0
settings put global activity_starts_logging_enabled 0
device_config set_sync_disabled_for_tests none
settings put system intelligent_sleep_mode 0
settings put secure adaptive_sleep 0
settings put global app_restriction_enabled true
settings put global automatic_power_save_mode 0
settings put global sem_enhanced_cpu_responsiveness 0
settings put system rakuten_denwa 0
settings put system send_security_reports 0
settings put secure send_action_app_error 0
settings put global activity_starts_logging_enabled 0
settings put system rakuten_denwa 0
settings put system send_security_reports 0
settings put secure send_action_app_error 0
settings put system min_refresh_rate 0
settings put global oneplus_screen_refresh_rate 0
setprop debug.sf.frame_rate_multiple_threshold 999
setprop debug.sf_frame_rate_multiple_fences 999
setprop debug.sf.no_batching 1
setprop debug.sf.early_phase_offset -1000000
setprop debug.egl.swapinterval 0
setprop debug.egl.force_msaa false
setprop debug.egl.force_fxaa false
setprop debug.egl.force_taa false
setprop debug.egl.force_ssaa false
setprop debug.egl.force_smaa false
setprop debug.egl.native_scaling false
setprop debug.hwc.force_gpu_vsync
setprop debug.hwui.renderer skiavk
cmd power set-fixed-performance-mode-enabled true
settings put global sem_enhanced_cpu_responsiveness 1
settings put system multicore_packet_scheduler 1
setprop debug.force-opengl 1
device_config put game_overlay com.example.game mode=2,downscaleFactor=0.9
device_config put game_overlay com.example.game mode=2,fps=120:mode=3,fps=0
settings put global zram_enabled 0
settings put global ram_expand_size 0
settings put global ram_expand_size_list 0
settings put global low_memory_killer_enabled 0
settings put secure long_press_timeout 150
settings put secure multi_press_timeout 250
settings put secure tap_duration_threshold 0.0
settings put secure touch_blocking_period 0.0
setprop net.tcp.adv_win_scale 2
cmd netd network buffers max
settings put global wifi_power_save 0
settings put global ble_scan_always_enabled 0
settings put global network_scoring_ui_enabled 0
settings put global enable_cellular_on_boot 1
setprop persist.log.tag S
setprop persist.logd.logpersistd.enable 0
settings put global logcat_max_bytes 0
settings put global selinux_logging_enabled 0
cmd deviceidle whitelist +com.example.game
echo 0 > /sys/block/*/queue/iostats
device_config put activity_manager max_phantom_processes 2147483647
settings put global settings_enable_monitor_phantom_procs false
device_config put activity_manager max_cached_processes 1024
device_config put activity_manager use_compaction false
device_config put runtime_native_boot enable_stability_metrics false
device_config put runtime_native_boot disable_iostats true
device_config put runtime_native_boot profiles_enabled false
cmd power set-fixed-performance-mode-enabled true
settings put global automatic_power_save_mode 0
settings put global adaptive_battery_management_enabled 0
settings put global sem_enhanced_cpu_responsiveness 1
settings put global restricted_device_performance 0
settings put global low_power 0
cmd appops set com.vivo.pem RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.pem WAKE_LOCK ignore
cmd appops set com.vivo.daemonService RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.daemonService AUTO_REVOKE_PERMISSIONS_IF_UNUSED ignore
cmd appops set com.bbk.account RUN_IN_BACKGROUND ignore
pm uninstall -k --user 0 com.vivo.gamewatch
pm uninstall -k --user 0 com.vivo.abe
pm uninstall -k --user 0 com.vivo.smart.engine
pm uninstall -k --user 0 com.vivo.bsptest
settings put global captive_portal_mode 0
settings put global private_dns_mode hostname
settings put global private_dns_specifier dns.google
settings put global network_recommendations_enabled 0
settings put global tether_offload_disabled 1
settings put global wifi_scan_always_enabled 0
settings put global mobile_data_always_on 1
settings put global activity_manager_constants max_cached_processes=128,background_settle_time=0,fgservice_screen_on_before_time=0
settings put global enable_freeform_support 1
settings put global allow_force_resizable 1
setprop log.tag.stats_log OFF
settings put system send_security_reports 0
settings put secure send_action_app_error 0
echo 1 > /sys/block/*/queue/nomerges
echo 256 > /sys/block/*/queue/nr_requests
settings put global development_settings_enabled 1
settings put global adb_enabled 1
settings put global game_driver_preference 3
settings put global game_driver_optimization 3
settings put global game_driver_all_apps 3
settings put global gaming_mode_performance 3
settings put global gaming_thermal_control 0
settings put global adaptive_battery_management_enabled 0
settings put global battery_saver_mode 0
settings put global low_power 0
settings put global doze_enabled 0
settings put global app_standby_enabled 0
pm grant android.permission.WRITE_SECURE_SETTINGS
pm grant android.permission.DEVICE_POWER
pm grant android.permission.MODIFY_PHONE_STATE
pm grant android.permission.CONTROL_DEVICE_POWER
setprop debug.sf.latch_unsignaled 1
setprop debug.sf.disable_backpressure 1
setprop debug.sf.early_phase_offset_ns 1000000
setprop debug.sf.early_app_phase_offset_ns 1000000
setprop debug.sf.hw 1
setprop dalvik.vm.dex2oat-filter everything
setprop dalvik.vm.image-dex2oat-filter everything
setprop dalvik.vm.usejit true
setprop dalvik.vm.jit.codecachesize 64m
setprop dalvik.vm.jitthreshold 0
echo 0 > /proc/sys/kernel/kptr_restrict
echo 0 > /proc/sys/kernel/perf_event_paranoid
echo 0 > /proc/sys/kernel/yama/ptrace_scope
echo 1 > /proc/sys/kernel/sched_boost
settings put system sensor_performance_mode 1
settings put system sensor_polling_rate 1000
settings put system sensor_precision 3
settings put global app_launch_boost 1
settings put global app_launch_duration 100
settings put global app_launch_memory_boost 1
settings put global sem_enhanced_cpu_responsiveness 2
settings put global sem_enhanced_gpu_responsiveness 2
settings put secure game_auto_temperature_control 0
settings put global miui_performance_mode 1
settings put global miui_optimization 1
settings put system smooth_display_mode 1
settings put global oneplus_gaming_mode 3
settings put global oneplus_enhanced_gaming 2
settings put global oneplus_performance_mode 1
settings put global realme_performance_mode 2
settings put global realme_gaming_mode 3
settings put global realme_high_performance 1
echo 3 > /proc/sys/vm/drop_caches
echo 1 > /proc/sys/vm/compact_memory
pm trim-caches 9999999999999
echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled
echo performance > /sys/module/pm_8x60/modes/cpu0/power_collapse/idle
echo 0 > /sys/module/qpnp_rtc/parameters/poweron_alarm
settings put global game_auto_temperature_control 0
settings put global sem_enhanced_cpu_responsiveness 1
settings put global gaming_mode_performance 3
settings put global gaming_thermal_control 0
settings put global gaming_touch_response 3
settings put global vivo_performance_mode 3
settings put global vivo_high_performance_mode 2
settings put global vivo_ultimate_performance 1
settings put global vivo_game_mode 3
settings put global vivo_gaming_performance 3
settings put global vivo_game_thermal_control 0
settings put global vivo_thermal_control 0
settings put global vivo_high_temperature_protection 0
settings put global vivo_display_performance 2
settings put global vivo_touch_response 3
settings put global vivo_touch_sensitivity 2
settings put global vivo_cpu_boost 2
settings put global vivo_gpu_boost 2
settings put global vivo_game_memory_boost 1
settings put global vivo_game_network_priority 1
settings put global thermal_control_enabled 0
settings put global thermal_throttling_enabled 0
settings put global thermal_limit_enabled 0
settings put global thermal_override_enabled 1
settings put global thermal_threshold 95
settings put global thermal_warning_threshold 90
settings put global thermal_critical_threshold 100
settings put system refresh_rate_mode 3
settings put system high_refresh_rate_enabled 1
settings put system smart_refresh_rate 0
settings put global vivo_screen_refresh_rate_mode 144
settings put system touch.pressure.scale 0.001
settings put system touch.size.scale 1.0
settings put system touch_sensitivity 2
settings put system touch_responsiveness 2
settings put system touch_accuracy 3
settings put system touch_pressure_scale 0.5
settings put secure long_press_timeout 150
settings put secure multi_press_timeout 150
setprop audio.lowlatency.force true
setprop audio.lowlatency.enable true
setprop audio.offload.buffer.size.kb 32
setprop audio.alsa.period_size 128
setprop audio.alsa.buffer_size 512
setprop af.fast_track_multiplier 2
setprop af.resampler.quality 255
setprop debug.egl.force_gpu 1
setprop debug.egl.force_finish 1
setprop debug.egl.swapinterval -1
setprop debug.vulkan.force_gpu_clock 1
setprop debug.vulkan.force_cpu_clock 1
setprop debug.vulkan.disable_thermal_throttling 1
setprop debug.vulkan.pipeline_cache_size 512
setprop debug.sf.latch_unsignaled 1
setprop debug.sf.disable_backpressure 1
setprop debug.sf.early_phase_offset_ns 1000000
setprop debug.hwui.use_vulkan true
setprop debug.performance.tuning 1
settings put global force_gpu_rendering 1
settings put global disable_hw_overlays 1
settings put global adaptive_battery_management_enabled 0
settings put global battery_saver_mode 0
settings put global low_power 0
settings put global doze_enabled 0
settings put global app_standby_enabled 0
settings put global background_process_limit 0
settings put global background_service_limit 0
settings put global max_cached_processes 1
pm grant android.permission.WRITE_SECURE_SETTINGS
pm grant android.permission.DEVICE_POWER
pm grant android.permission.MODIFY_PHONE_STATE
pm grant android.permission.CONTROL_DEVICE_POWER
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
echo 1 > /sys/devices/system/cpu/cpu0/online
echo 1 > /sys/devices/system/cpu/cpu1/online
echo 1 > /sys/devices/system/cpu/cpu2/online
echo 1 > /sys/devices/system/cpu/cpu3/online
echo 1 > /sys/devices/system/cpu/cpu4/online
echo 1 > /sys/devices/system/cpu/cpu5/online
echo 1 > /sys/devices/system/cpu/cpu6/online
echo 1 > /sys/devices/system/cpu/cpu7/online
echo 0 > /sys/class/thermal/thermal_zone0/mode
echo 0 > /sys/class/thermal/thermal_zone1/mode
echo 0 > /sys/class/thermal/thermal_zone2/mode
echo 0 > /sys/class/thermal/thermal_zone3/mode
echo 0 > /sys/class/thermal/thermal_zone4/mode
echo 0 > /sys/class/thermal/thermal_zone5/mode
echo 0 > /sys/class/thermal/thermal_zone6/mode
echo 0 > /sys/class/thermal/thermal_zone7/mode
echo 0 > /sys/module/msm_thermal/core_control/enabled
echo 0 > /sys/module/msm_thermal/parameters/enabled
echo performance > /sys/class/kgsl/kgsl-3d0/devfreq/governor
echo 1 > /sys/class/kgsl/kgsl-3d0/force_clk_on
echo 1 > /sys/class/kgsl/kgsl-3d0/force_no_nap
echo 0 > /sys/class/kgsl/kgsl-3d0/bus_split
echo 10000000 > /sys/class/kgsl/kgsl-3d0/idle_timer
echo 1 > /sys/class/kgsl/kgsl-3d0/max_pwrlevel
echo 0 > /sys/class/kgsl/kgsl-3d0/min_pwrlevel
echo 1 > /sys/module/cpu_boost/parameters/input_boost_freq
echo 1 > /sys/module/cpu_boost/parameters/input_boost_ms
echo noop > /sys/block/*/queue/scheduler
echo 0 > /sys/block/*/queue/add_random
device_config put privacy camera_mic_icons_enabled false
device_config put privacy location_indicators_enabled false
settings put system input_method_selector_visibility 0
setprop debug.input.prediction 0
setprop persist.input.prediction 0
setprop motionevent.touch.prediction 0
setprop ro.input.noresample 1
device_config put activity_manager monitor_phantom_procs false
settings put global anr_debugging_mechanism 0
device_config put runtime_native_boot profiles_enabled false
device_config put runtime_native_boot num_threads_tuning enabled
setprop dalvik.vm.jit.initial-thread-pool-size 4
settings put global enable_ephemeral_feature 0
settings put global tether_supported 1
settings put global tether_offload_disabled 0
settings put global soft_ap_timeout_enabled 1
settings put global wifi_display_on 1
settings put global wifi_scan_always_enabled 1
svc usb setFunctions rndis
setprop sys.usb.config rndis,adb
cmd appops set com.android.settings WRITE_SETTINGS allow
cmd appops set com.android.settings CHANGE_WIFI_STATE allow
cmd appops set android TETHER_PRIVILEGED allow
cmd appops set com.android.settings ACTIVATE_VPN allow
settings put secure instant_apps_enabled 0
pm disable-user --user 0 com.google.android.instantapps.supervisor
settings put global verifier_verify_adb_installs 0
settings put global package_verifier_enable 0
settings put global package_verifier_user_consent -1
settings put secure upload_apk_enable 0
setprop ro.config.nocheckin yes
setprop profiler.force_disable_err_rpt 1
setprop profiler.force_disable_ulog 1
setprop persist.sys.mount_options noatime,nodiratime,nobarrier
settings put global captive_portal_mode 0
settings put global captive_portal_server_mode 0
settings put global network_scoring_ui_enabled 0
settings put global speed_label_cache_eviction_age_millis 0
setprop ro.sys.fw.empty_app_percent 0
setprop ro.sys.fw.trim_empty_percent 100
setprop ro.sys.fw.trim_cache_percent 100
setprop ro.sys.fw.bservice_enable true
setprop ro.sys.fw.bservice_limit 5
echo 0 > /sys/block/*/queue/iostats
echo 1 > /sys/block/*/queue/nomerges
echo 256 > /sys/block/*/queue/nr_requests
echo 4096 > /sys/block/*/queue/read_ahead_kb
echo '4096 87380 67108864' > /proc/sys/net/ipv4/tcp_rmem
echo '4096 65536 67108864' > /proc/sys/net/ipv4/tcp_wmem
echo 1 > /proc/sys/net/ipv4/tcp_window_scaling
echo 1 > /proc/sys/net/ipv4/tcp_timestamps
echo 1 > /proc/sys/net/ipv4/tcp_sack
echo 2097152 > /proc/sys/net/core/rmem_max
echo 2097152 > /proc/sys/net/core/wmem_max
echo 1 > /proc/sys/kernel/sched_boost
echo 0 > /proc/sys/kernel/kptr_restrict
echo 0 > /proc/sys/kernel/perf_event_paranoid
setprop dalvik.vm.dex2oat-filter everything
setprop dalvik.vm.image-dex2oat-filter everything
setprop dalvik.vm.usejit true
setprop dalvik.vm.jit.codecachesize 64m
setprop dalvik.vm.jitthreshold 0
pm trim-caches 9999999999999
dumpsys activity kill-all
echo 3 > /proc/sys/vm/drop_caches
echo 1 > /proc/sys/vm/compact_memory
settings put global thermal_control_enabled 0
settings put global thermal_throttling_enabled 0
settings put global thermal_limit_enabled 0
settings put global thermal_override_enabled 1
settings put global thermal_threshold 95
settings put global thermal_warning_threshold 90
settings put global thermal_critical_threshold 100
settings put global gaming_thermal_control 0
settings put global cpu_boost 1
settings put global sched_boost 1
settings put global force_gpu_rendering 1
settings put global disable_hw_overlays 1
setprop debug.egl.force_gpu 1
setprop debug.vulkan.force_gpu_clock 1
setprop debug.vulkan.force_cpu_clock 1
setprop debug.vulkan.disable_thermal_throttling 1
settings put system high_refresh_rate_enabled 1
settings put system smart_refresh_rate 0
settings put system touch_sensitivity 2
settings put system touch_responsiveness 2
settings put secure long_press_timeout 150
settings put secure multi_press_timeout 150
settings put system touch.pressure.scale 0.001
settings put system touch.size.scale 1.0
settings put global background_process_limit 0
settings put global background_service_limit 0
settings put global max_cached_processes 1
settings put global adaptive_battery_management_enabled 0
settings put global battery_saver_mode 0
settings put global low_power 0
settings put global doze_enabled 0
settings put global app_standby_enabled 0
setprop audio.lowlatency.force true
setprop audio.lowlatency.enable true
setprop af.fast_track_multiplier 2
settings put global wifi_scan_always_enabled 1
settings put global mobile_data_always_on 1
settings put global private_dns_specifier dns.quad9.net
setprop debug.egl.force_finish 2
setprop debug.egl.swapinterval -2
setprop debug.vulkan.force_gpu_clock 2
setprop debug.vulkan.force_cpu_clock 2
setprop debug.vulkan.disable_thermal_throttling 2
setprop debug.vulkan.pipeline_cache_size 1024
echo 0 > /sys/class/kgsl/kgsl-3d0/bus_split
echo 1 > /sys/class/kgsl/kgsl-3d0/force_clk_on
echo 1 > /sys/class/kgsl/kgsl-3d0/force_no_nap
echo 100000000 > /sys/class/kgsl/kgsl-3d0/idle_timer
echo lz4 > /sys/block/zram0/comp_algorithm
echo 16 > /sys/block/zram0/max_comp_streams
echo 100 > /sys/block/zram0/comp_algorithm
echo 0 > /proc/sys/vm/watermark_scale_factor
echo 0 > /proc/sys/vm/extra_free_kbytes
echo 5 > /proc/sys/vm/swappiness
echo 10 > /proc/sys/vm/dirty_ratio
echo 5 > /proc/sys/vm/dirty_background_ratio
echo 1 > /proc/sys/vm/overcommit_memory
echo '8192 87380 67108864' > /proc/sys/net/ipv4/tcp_rmem
echo '8192 65536 67108864' > /proc/sys/net/ipv4/tcp_wmem
echo '786432 1048576 26777216' > /proc/sys/net/ipv4/tcp_mem
echo 1 > /proc/sys/net/ipv4/tcp_fastopen
echo 1 > /proc/sys/net/ipv4/tcp_tw_reuse
echo 1 > /proc/sys/net/ipv4/tcp_window_scaling
echo 0 > /proc/sys/net/ipv4/tcp_slow_start_after_idle
echo 'bbr2' > /proc/sys/net/ipv4/tcp_congestion_control
mount -o remount,noatime,nodiratime,noauto_da_alloc,barrier=0,nobh,data=writeback /data
mount -o remount,noatime,nodiratime,noauto_da_alloc,barrier=0,nobh /system
settings put global foreground_process_boost 3
settings put global top_app_boost 3
settings put global render_thread_boost 3
settings put global gaming_mode_performance 4
settings put global gaming_thermal_control 0
settings put global gaming_touch_response 4
settings put global game_driver_preference 4
settings put global game_driver_optimization 4
settings put global game_driver_all_apps 3
settings put global thermal_threshold 95
settings put global thermal_warning_threshold 90
settings put global thermal_critical_threshold 105
settings put global adaptive_battery_management_enabled 0
settings put global battery_saver_mode 0
settings put global low_power 0
setprop audio.alsa.period_size 24
setprop audio.alsa.buffer_size 96
setprop audio.offload.buffer.size.kb 256
setprop af.resampler.quality 255
setprop audio.offload.pcm.24bit.enable true
setprop audio.offload.pcm.32bit.enable true
setprop audio.lowlatency.force true
setprop audio.lowlatency.enable true
setprop af.fast_track_multiplier 1
settings put global package_verifier_enable 0
settings put global verifier_verify_adb_installs 0
settings put global art_verifier_verify_debuggable 0
settings put global hidden_api_policy 0
setenforce 0
echo 0 > /sys/fs/selinux/enforce
echo 3 > /proc/sys/vm/drop_caches
echo 1 > /proc/sys/vm/compact_memory
pm trim-caches 9999999999999
settings put global background_process_limit 0
settings put global background_service_limit 0
settings put global max_cached_processes 1
settings put global sem_enhanced_cpu_responsiveness 2
settings put secure game_auto_temperature_control 0
settings put global miui_performance_mode 2
settings put global miui_optimization 0
settings put global oneplus_gaming_mode 3
settings put global oneplus_enhanced_gaming 2
settings put global rog_game_mode 2
settings put system refresh_rate_mode 3
setprop debug.sf.latch_unsignaled 2
setprop debug.sf.disable_backpressure 2
setprop debug.sf.early_phase_offset_ns 100000
setprop debug.renderengine.backend threaded
setprop debug.renderengine.disable_robust_buffer_access true
setprop dalvik.vm.dex2oat-filter everything
setprop dalvik.vm.image-dex2oat-filter everything
setprop dalvik.vm.usejit true
renice -20 -p $(pidof surfaceflinger)
renice -20 -p $(pidof system_server)
ionice -c1 -n0 -p $(pidof surfaceflinger)
ionice -c1 -n0 -p $(pidof system_server)
settings put global memory_compression_level 20
settings put global memory_compression_algorithm zstd
settings put global vivo_performance_mode 3
settings put global vivo_high_performance_mode 2
settings put global vivo_ultimate_performance 1
settings put global vivo_game_mode 3
settings put global vivo_gaming_performance 3
settings put global vivo_game_anti_disturb 1
settings put global vivo_game_auto_boost 1
settings put global monster_mode 2
settings put global monster_performance 3
settings put global monster_gaming_mode 1
settings put global vivo_cpu_boost 2
settings put global vivo_gpu_boost 2
settings put global vivo_ai_performance 1
settings put global vivo_thermal_control 0
settings put global vivo_game_thermal_control 0
settings put global vivo_high_temperature_protection 0
settings put global vivo_display_performance 2
settings put global vivo_touch_response 3
settings put global vivo_touch_sensitivity 2
settings put global vivo_touch_optimization 1
settings put global vivo_memory_optimization 2
settings put global vivo_background_process_limit 1
settings put global vivo_background_service_limit 1
settings put global vivo_power_saving 0
settings put global vivo_smart_power_save 0
settings put global vivo_ai_power_save 0
settings put global vivo_network_boost 1
settings put global vivo_game_network_optimization 1
settings put global vivo_game_audio_boost 1
settings put global vivo_game_vibration_boost 1
settings put global iqoo_game_mode 3
settings put global iqoo_gaming_engine 2
settings put global iqoo_performance_boost 1
settings put global multi_turbo_mode 3
settings put global vivo_multi_turbo 2
settings put global game_space_performance 2
settings put global vivo_center_processor_mode 2
settings put global vivo_processor_performance 3
settings put global vivo_gpu_render_mode 2
settings put global vivo_graphics_quality 0
settings put system refresh_rate_mode 3
settings put system high_refresh_rate_enabled 1
settings put system smart_refresh_rate 0
settings put global vivo_game_sdk_enabled 1
settings put global vivo_game_network_priority 1
settings put global vivo_game_memory_boost 1
settings put system touch.pressure.scale 0.0001
settings put system touch.size.scale 0.5
settings put system touch.orientation.scale 0.1
setprop audio.lowlatency.force true
setprop audio.offload.buffer.size.kb 256
settings put global force_gpu_rendering 1
settings put global disable_hw_overlays 1
settings put global background_process_limit 0
settings put global background_service_limit 0
settings put global thermal_control_enabled 0
settings put global thermal_throttling_enabled 0
settings put global package_verifier_enable 0
settings put global verifier_verify_adb_installs 0
echo 1 > /sys/devices/system/cpu/sched_boost
echo 1 > /sys/devices/system/cpu/cpu0/cpuidle/state1/disable
echo 1 > /sys/devices/system/cpu/cpu0/cpuidle/state2/disable
echo 1 > /sys/devices/system/cpu/cpu4/cpuidle/state1/disable
echo 1 > /sys/devices/system/cpu/cpu4/cpuidle/state2/disable
echo performance > /sys/class/kgsl/kgsl-3d0/devfreq/governor
echo 1 > /sys/class/kgsl/kgsl-3d0/max_clock
echo 1 > /sys/class/kgsl/kgsl-3d0/min_clock
echo 1 > /sys/class/kgsl/kgsl-3d0/max_gpuclk
echo 1 > /sys/class/kgsl/kgsl-3d0/min_gpuclk
echo 1 > /sys/class/kgsl/kgsl-3d0/force_clk_on
echo 1 > /sys/class/kgsl/kgsl-3d0/force_no_nap
echo 0 > /sys/class/kgsl/kgsl-3d0/bus_split
echo 10000000 > /sys/class/kgsl/kgsl-3d0/idle_timer
echo 1 > /sys/class/kgsl/kgsl-3d0/max_pwrlevel
echo 0 > /sys/class/kgsl/kgsl-3d0/min_pwrlevel
echo 1 > /sys/class/kgsl/kgsl-3d0/default_pwrlevel
echo 1000000 > /proc/sys/kernel/sched_latency_ns
echo 100000 > /proc/sys/kernel/sched_min_granularity_ns
echo 500000 > /proc/sys/kernel/sched_wakeup_granularity_ns
echo 0 > /proc/sys/kernel/sched_migration_cost_ns
echo 1 > /proc/sys/kernel/sched_boost
echo 0 > /proc/sys/vm/watermark_scale_factor
echo 0 > /proc/sys/vm/extra_free_kbytes
echo 10 > /proc/sys/vm/swappiness
echo 20 > /proc/sys/vm/dirty_ratio
echo 5 > /proc/sys/vm/dirty_background_ratio
echo 1 > /proc/sys/vm/overcommit_memory
echo lz4 > /sys/block/zram0/comp_algorithm
echo 8 > /sys/block/zram0/max_comp_streams
echo 0 > /sys/class/thermal/thermal_zone0/mode
echo 0 > /sys/class/thermal/thermal_zone1/mode
echo 0 > /sys/class/thermal/thermal_zone2/mode
echo 0 > /sys/class/thermal/thermal_zone3/mode
echo disabled > /sys/class/thermal/cooling_device*/cur_state
stop mpdecision
stop hypnus
stop perf-hal-1-0
stop logd
echo 0 > /sys/block/*/queue/add_random
echo 0 > /sys/block/*/queue/iostats
echo 1 > /sys/block/*/queue/nomerges
echo 2 > /sys/block/*/queue/rq_affinity
echo 8192 > /sys/block/*/queue/read_ahead_kb
echo '4096 87380 67108864' > /proc/sys/net/ipv4/tcp_rmem
echo '4096 65536 67108864' > /proc/sys/net/ipv4/tcp_wmem
echo 1 > /proc/sys/net/ipv4/tcp_fastopen
echo 1 > /proc/sys/net/ipv4/tcp_tw_reuse
echo 0 > /proc/sys/net/ipv4/tcp_slow_start_after_idle
settings put global tcp_default_init_rwnd 60
settings put global mobile_data_always_on 1
settings put global wifi_scan_always_enabled 1
setprop debug.egl.force_gpu 2
setprop debug.renderengine.backend threaded
setprop debug.egl.force_msaa 0
setprop debug.egl.force_high_performance 1
setprop debug.hwui.use_vulkan true
setprop debug.vulkan.force_gpu_clock 1
setprop debug.vulkan.force_cpu_clock 1
setprop debug.vulkan.disable_thermal_throttling 1
setprop audio.lowlatency.force true
setprop audio.lowlatency.enable true
setprop af.fast_track_multiplier 1
settings put global game_boost_mode 3
settings put global game_turbo_mode 2
settings put global game_driver_preference 3
settings put global game_driver_optimization 3
settings put global package_verifier_enable 0
settings put global verifier_verify_adb_installs 0
settings put global hidden_api_policy 0
settings put global background_process_limit 1
settings put global background_service_limit 1
settings put global max_cached_processes 8
settings put global adaptive_battery_management_enabled 0
settings put global battery_saver_mode 0
settings put global low_power 0
pm disable-user com.miui.analytics
cmd appops set com.google.android.gms RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.youtube RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.gms RUN_ANY_IN_BACKGROUND ignore
echo performance > /sys/class/kgsl/kgsl-3d0/devfreq/governor
echo 1 > /sys/class/kgsl/kgsl-3d0/force_clk_on
echo 1 > /sys/class/kgsl/kgsl-3d0/force_on
echo noop > /sys/block/mmcblk0/queue/scheduler
echo 4096 > /sys/block/mmcblk0/queue/read_ahead_kb
echo 0 > /sys/block/mmcblk0/queue/add_random
echo 1 > /proc/sys/vm/drop_caches
echo 0 > /proc/sys/vm/swappiness
echo 100 > /proc/sys/vm/vfs_cache_pressure
echo 1 > /proc/sys/vm/overcommit_memory
echo 50 > /proc/sys/vm/overcommit_ratio
echo 0 > /proc/sys/vm/dirty_background_ratio
echo 0 > /proc/sys/vm/dirty_ratio
echo 0 > /proc/sys/vm/dirty_expire_centisecs
echo 0 > /proc/sys/vm/dirty_writeback_centisecs
echo 0 > /proc/sys/kernel/sched_tunable_scaling
echo 0 > /proc/sys/kernel/sched_features
echo 0 > /proc/sys/kernel/sched_stat_granularity_ns
echo 0 > /proc/sys/kernel/sched_nr_migrate
echo 0 > /proc/sys/kernel/sched_time_avg
echo 0 > /proc/sys/kernel/sched_rt_runtime_us
echo 0 > /proc/sys/kernel/sched_rt_period_us
echo 0 > /proc/sys/kernel/sched_cfs_bandwidth_slice_us
echo 0 > /proc/sys/kernel/sched_autogroup_enabled
echo 0 > /proc/sys/kernel/sched_migration_cost_ns
echo 0 > /proc/sys/kernel/sched_min_granularity_ns
echo 0 > /proc/sys/kernel/sched_latency_ns
echo 0 > /proc/sys/kernel/sched_wakeup_granularity_ns
setprop ro.vendor.uxProgram false
setprop ro.power.moniter_tools true
setprop ro.sys.swap_interval 0
setprop ro.performance.mode_enable 1
setprop ro.android.performance.tuning 1
setprop ro.automate.performance enable
setprop ro.sys.mediatek.game.performance 1
setprop ro.sys.snapdragon.game.performance 1
setprop ro.sys.kirin.game.performance 1
setprop ro.sys.unisoc.game.performance 1
setprop ro.sys.exynos.game.performance 1
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
cat /sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_max_freq > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
echo performance > /sys/class/kgsl/kgsl-3d0/devfreq/governor
echo 1 > /sys/class/kgsl/kgsl-3d0/force_clk_on
echo 1 > /sys/class/kgsl/kgsl-3d0/force_on
cat /sys/class/kgsl/kgsl-3d0/max_gpuclk > /sys/class/kgsl/kgsl-3d0/devfreq/min_freq
echo noop > /sys/block/mmcblk0/queue/scheduler
echo 4096 > /sys/block/mmcblk0/queue/read_ahead_kb
echo 0 > /sys/block/mmcblk0/queue/add_random
echo 1 > /sys/block/mmcblk0/queue/nomerges
echo 0 > /sys/block/mmcblk0/queue/rotational
echo 0 > /proc/sys/vm/swappiness
echo 100 > /proc/sys/vm/vfs_cache_pressure
echo 1 > /proc/sys/vm/overcommit_memory
echo 50 > /proc/sys/vm/overcommit_ratio
echo 0 > /proc/sys/vm/dirty_background_ratio
echo 0 > /proc/sys/vm/dirty_ratio
echo 0 > /proc/sys/kernel/sched_autogroup_enabled
echo 0 > /proc/sys/kernel/sched_energy_aware
echo 0 > /proc/sys/kernel/sched_tunable_scaling
settings put system persist.sys.disable_trim 0
settings put system persist.sys.zram_enabled 0
settings put system ro.config.low_ram false
settings put system ro.config.small_ram false
settings put system persist.sys.dalvik.vm.lib.2 libart.so
settings put system ro.kernel.android.checkjni 0
settings put system ro.kernel.qemu 0
settings put system debug.performance.tuning 1
settings put system persist.sys.use_fifo_ui 0
settings put system persist.sys.scrollingcache 4
settings put system ro.sf.lcd_density 400
settings put system hwui.render_dirty_regions 0
settings put system persist.sys.ui.hw true
settings put system video.accelerate.hw 1
settings put secure accessibility_enabled 0
settings put secure accessibility_script_injection 0
settings put secure touch_exploration_enabled 0
settings put secure long_press_timeout 200
settings put secure multi_press_timeout 200
settings put secure skip_first_use_hints 1
settings put secure immersive_mode_confirmations confirmed
settings put secure night_display_activated 0
settings put secure adaptive_sleep 0
settings put system view.touch_slop 100
settings put system ro.game.touch.optimization 1
settings put system sys.cpu_freq.limit max
settings put system sys.gpu_freq.limit max
settings put system sys.cpu.profile performance
settings put system sys.gpu.profile performance
settings put system hw2d.force.gpu_cpu_rendering 1
settings put system ro.ril.enable.4g.5g.prefix 1
settings put system net.tcp.buffersize.gprs 4096,8760,11680,4096,8760,11680
settings put system net.tcp.buffersize.lte 524288,1048576,2097152,262144,524288,1048576
settings put system net.tcp.buffersize.hsdpa 6144,262144,1048576,6144,262144,1048576
settings put global android.cpurend.vsync false
settings put global android.gpurend.vsync false
settings put global systemuicompilerfilter speed
settings put global hwui.fps_divisor 1
settings put global android.performance_management_index 1
settings put global sp.frame_rate_mode max
settings put global hwui.optimizer_texture_upload false
settings put global ro.vendor.uxProgram 0
settings put global ro.power.moniter_tools 1
settings put global ro.sys.swap_interval 0
settings put global ro.performance.mode_enable 1
settings put global ro.android.performance.tuning 1
settings put global ro.automate.performance enable
settings put global ro.sys.mediatek.game.performance 1
settings put global ro.sys.snapdragon.game.performance 1
settings put global ro.sys.kirin.game.performance 1
settings put global ro.sys.unisoc.game.performance 1
settings put global ro.sys.exynos.game.performance 1
settings put system ro.ril.enae.4g.prefix 1
settings put system net.tcp.buffersize.default 4096,87380,256960,4096,16384,256960
settings put system touch.distance.calibration none
settings put system touch.size.scale 102416456275401127724034897091837910012737378191020304847439201283848901017329100040187263671181887459948716399990176999999999111737491287748483929949994999999999111194737839999928822838
settings put system touch.size.isSummed 0
settings put system af.resampler.quality 255
settings put system ro.vendor.dfps disable
settings put system persist.service.logspd.enable 1
settings put system ro.kernal.qemu.gles 2
settings put system game_auto.cache_clear 1
settings put system game_auto_temprature_control 1
settings put system game_driver_all_apps 1
settings put system ro.trim.confug 1
settings put global hwui.skia_enabled 1
settings put global surface_flinger_vsync_enabled 0
settings put global hwui.render_priority 1
settings put global surface_flinger_max_queued_frames 1
settings put global disable_hw_overlays 1
settings put global adaptive_battery_management_enabled 0
settings put global background_restriction_exemption 1
settings put global thermal_limit_disabled 1
settings put global stay_on_while_plugged_in 7
settings put global device_idle_constants "inactive_timeout=0"
settings put system persist.sys.dalvik.gc_type SS
settings put system dalvik.vm.heaptargetutilization 0.9
settings put system dalvik.vm.verify_bytecode false
settings put system dalvik.vm.dexopt_flags v=n,o=v
settings put secure touch_block_duration 0
settings put secure touch_pressure_threshold 1
settings put secure touch_taptime_threshold 0
settings put secure touch_stability_threshold 0
settings put system zram_enabled 1
settings put system sys.qc.hardware 1
settings put system animator_fps_scale 60
settings put system cpu_option.mode gfxstream
settings put system config.per_process_performance_fraction 0.9
settings put system sys.cpu.profile performance
settings put system sys.gpu.profile performance
settings put system sys.cpu.freq.max 0
settings put system sys.gpu.freq.max 0
settings put system hw2d.force_gpu 1
settings put system ro.config.hw_fast_dormancy 1
settings put system ro.config.hw_quickpoweron 1
settings put global activity_manager_constants max_cached_processes=4
settings put global activity_manager_constants background_process_limit=2
settings put global activity_manager_constants max_empty_time_millis=900000
settings put global app_standby_constants "idle_duration=1800000,idle_duration2=3600000"
settings put global tether_dun_required 0
settings put global wifi_networks_available_notification_on 0
settings put global wifi_wakeup_enabled 0
settings put global network_preference 1
settings put global data_activity_timeout 3
settings put global battery_tip_constant "0,0,0,0,0,0,0"
settings put global app_standby_radii "idle=0,active=0"
settings put global app_restriction_constraints "battery=2,data=2,cpu=2"
settings put global device_idle_constants "inactive_to=900000,sensing_to=0,locating_to=0,light_after_inactive_to=900000"
settings put global app_idle_constants "sliding_window=1800000,idle_duration=3600000,idle_duration2=7200000"
settings put global nfc_on 0
settings put global location_mode 0
settings put global airplane_mode_on 0
settings put global bluetooth_on 0
settings put global app_auto_restriction_enabled 1
settings put global app_ops_constants "run_any_in_background=0,start_any_activity=0"
settings put global app_standby_bucket_constants "active=1800000,working_set=3600000,frequent=7200000"
settings put global cache_cleaner_enabled 1
settings put global cache_compression_enabled 1
settings put global storage_benchmark_level 4
settings put global storage_optimizer_enabled 1
settings put global tcp_default_init_rwnd 64
settings put global data_stall_alarm_non_aggressive_delay 30000
settings put global data_stall_alarm_aggressive_delay 15000
settings put global network_buffer_size 4194304
settings put global thermal_control_enabled 1
settings put global thermal_limit_temperature 55
settings put global thermal_throttling_threshold 85
settings put global thermal_throttling_aggressiveness 0
settings put global gpu_renderer 2
settings put global gpu_debug_force_high_performance 2
settings put global gpu_perf_mode 2
settings put global touch_responsiveness 2
settings put global touch_pressure_scale 1.5
settings put global touch_accuracy 3
settings put global power_save_mode_constraints "cpu=0,network=0,gpu=0"
settings put global low_power_mode_trigger_level 2
settings put global background_data_restriction_mode 2
settings put global background_data_restriction_blacklist "*"
settings put global background_data_restriction_exceptions ""
settings put global zram_size 4294967296
settings put global zram_compression_algorithm zstd
settings put global zram_compression_streams 8
settings put global zram_compression_threshold 40
settings put global network_buffer_size 4194304
settings put global network_buffer_count 128
settings put global network_buffer_timeout 500
settings put global cpu_scheduler_mode 2
settings put global cpu_boost_enabled 2
settings put global cpu_boost_frequency 1996800
settings put global cpu_boost_duration 3000
settings put global io_scheduler_mode 3
settings put global io_read_ahead_kb 4096
settings put global io_optimization_level 4
settings put global system_daemon_restart_policy 0
settings put global system_daemon_priority -20
settings put global system_daemon_memory_limit 30
settings put global system_daemon_cpu_limit 30
settings put global app_launch_boost 2
settings put global app_launch_duration 300
settings put global app_launch_memory_boost 2
settings put global app_launch_cpu_boost 2
settings put global network_latency_mode 2
settings put global network_latency_threshold 30
settings put global network_latency_priority 2
settings put global memory_reclaim_aggressiveness 4
settings put global memory_reclaim_threshold 90
settings put global memory_reclaim_interval 30000
settings put global background_sync_enabled 0
settings put global background_sync_delay 7200000
settings put global background_sync_constraints "battery=2,network=2"
settings put global app_restriction_level 4
settings put global app_restriction_blacklist "*"
settings put global app_restriction_exceptions ""
settings put global system_optimization_mode 2
settings put global system_optimization_level 4
settings put global system_optimization_aggressiveness 3
settings put global network_handover_aggressiveness 3
settings put global network_handover_threshold 85
settings put global network_handover_delay 3000
settings put global performance_profile 4
settings put global performance_mode 2
settings put global performance_level 4
settings put system persist.sys.ui.hw 1
settings put system video.accelerate.hw 1
settings put system persist.sys.composition.type gpu
settings put system debug.egl.profiler 1
settings put system debug.egl.hw 1
settings put system debug.sf.hw 1
settings put system debug.performance.tuning 1
settings put system video.disable.overlay 1
settings put system persist.sys.use_16bpp_alpha 1
settings put system ro.min_pointer_dur 1
settings put system ro.max.fling_velocity 20000
settings put system ro.min.fling_velocity 18000
settings put system touch.pressure.scale 0.001
settings put system touch.size.scale 1.0
settings put system windowsmgr.max_events_per_sec 240
settings put system ro.product.renderer vulkan
settings put system ro.product.cpu.abilist64 arm64-v8a
settings put system persist.service.lgospd.enable 1
settings put system persist.service.pcsync.enable 1
settings put global android.cpurend.vsync 0
settings put global android.gpurend.vsync 0
settings put global hwui.fps_divisor 1
settings put global systemuicompilerfilter speed
settings put global sp.frame_rate_mode max
settings put global hwui.optimizer_texture_upload 0
settings put global animator_duration_scale 0.5
settings put global transition_animation_scale 0.5
settings put global window_animation_scale 0.5
settings put global enable_gpu_debug_layers 0
settings put global gpu_debug_app com.pubg.imobile
settings put global game_driver_all_apps 1
settings put global game_driver_opt_in 1
settings put global development_settings_enabled 1
settings put global stay_on_while_plugged_in 3
settings put global private_dns_specifier dns.quad9.net
settings put global net.tcp.buffersize.default 524288,1048576,2097152,262144,524288,1048576
settings put global net.tcp.buffersize.lte 524288,1048576,2097152,262144,524288,1048576
settings put global net.tcp.buffersize.wifi 524288,1048576,2097152,262144,524288,1048576
settings put secure long_press_timeout 300
settings put secure multi_press_timeout 300
settings put secure touch_block_duration 0
settings put secure touch_taptime_threshold 0
settings put secure touch_edge_block_duration 0
settings put secure accessibility_large_pointer_icon 0
setprop persist.sys.dalvik.vm.lib.2 libart.so
setprop dalvik.vm.dex2oat-filter everything
setprop dalvik.vm.image-dex2oat-filter everything
setprop dalvik.vm.checkjni false
setprop dalvik.vm.dexopt-data-only 1
setprop debug.gr.swapinterval 0
setprop debug.egl.swapinterval 0
setprop persist.sys.scrollingcache 3
setprop ro.surface_flinger.max_frame_buffer_acquired_buffers 3
setprop ro.surface_flinger.running_without_sync_framework 1
setprop ro.config.avoid_gfx_accel false
setprop persist.spectrum.profile performance
setprop persist.performance.cpu.freq.max 0
setprop persist.performance.gpu.freq.max 0
setprop ro.vendor.powerhint.enable false
settings put global force_gpu_rendering 1
setprop ro.surface_flinger.has_HDR_display true
setprop ro.surface_flinger.has_wide_color_display true
setprop ro.surface_flinger.set_idle_timer_ms 0
setprop ro.surface_flinger.set_touch_timer_ms 0
setprop ro.surface_flinger.set_display_power_timer_ms 0
setprop ro.surface_flinger.wcg_composition_dataspace 143261696
setprop persist.sys.dalvik.vm.lib.2 libart.so
setprop persist.sys.perf.topAppRenderThreadBoost.enable true
setprop persist.sys.perf.topAppRenderThreadBoost.duration 2000
setprop persist.sys.perf.topAppRenderThreadBoost.freq 0:1766400,4:2419200,7:2841600
setprop persist.sys.perf.topAppRenderThreadBoost.sched 1
setprop persist.sys.perf.topAppRenderThreadBoost.boost 1
setprop debug.performance.tuning 1
setprop debug.hwui.disable_vsync true
setprop debug.egl.swapinterval 0
setprop debug.gr.swapinterval 0
setprop debug.sf.swapinterval 0
setprop debug.gl.swapinterval 0
setprop debug.cpurend.vsync false
setprop debug.gpurend.vsync false
setprop debug.sf.latch_to_present false
setprop debug.hwc.force_cpu_vsync false
setprop debug.hwc.force_gpu_vsync false
setprop debug.hwc.enable_vsync false
setprop debug.hwc.disable_vsync true
setprop debug.logvsync 0
setprop debug.hwc.vsync_interval 0
setprop debug.hwc.vsync_source 0
setprop debug.sf.no_hw_vsync 1
setprop debug.hwc.fakevsync 0
setprop debug.sf.disable_backpressure 1
setprop debug.sf.latch_unsignaled 1
setprop debug.sf.early_phase_offset_ns 500000
setprop debug.sf.early_app_phase_offset_ns 500000
setprop debug.sf.high_fps_early_phase_offset_ns 6100000
setprop debug.sf.high_fps_late_app_phase_offset_ns 100000
setprop debug.hwui.profile.maxframes 999999
setprop debug.hwui.fpslimit 999999
setprop debug.hwui.fps_limit 999999
setprop debug.display.allow_non_native_refresh_rate_override true
setprop debug.display.render_frame_rate_is_physical_refresh_rate true
setprop debug.refresh_rate.min_fps 999999
setprop debug.refresh_rate.max_fps 999999
setprop debug.refresh_rate.peak_fps 999999
setprop debug.graphics.game_default_frame_rate.disabled true
cmd display set-match-content-frame-rate-pref 0
cmd power set-fixed-performance-mode-enabled true
cmd thermalservice override-status 0
settings put global max_background_processes 1
settings put secure game_auto_temperature_control 0
pm disable-user com.samsung.android.game.gos
pm disable-user com.samsung.android.game.gametools
pm disable-user com.samsung.android.game.gamehome
pm disable-user com.sec.android.smartfpsadjuster
setprop persist.logd.size 64K
setprop ro.sys.fw.bg_apps_limit 5
setprop persist.sys.boot.fast true
setprop debug.sf.disable_client_composition_cache 1
setprop log.tag.stats_log OFF
setprop logd.statistics 0
setprop media.metrics.enabled false
settings put global enable_gpu_debug_layers 0
settings put global enable_gpu_debug_layers 0
settings put global enable_hw_overlays 0
settings put global disable_window_blurs 0
settings put global reduce_ram_usage 1
settings put global force_dark_mode 0
settings put global window_corners_radius 0
settings put global disable_round_corners 1
settings put global enable_freeform_support 0
settings put global force_resizable_activities 0
settings put global tcp_init_cwnd 60
settings put global tcp_limited_transmit 1
settings put global tcp_no_metrics_save 1
settings put global tcp_recovery 1
settings put global tcp_syncookies 1
settings put global tcp_timestamps 1
settings put global tcp_window_scaling 1
settings put global wifi_scan_background_mode 0
settings put global wifi_scan_throttle_enabled 0
settings put global ble_scan_always_enabled 0
settings put global zram_enabled 0
settings put global zram_compression_algorithm lz4
settings put global zram_writeback 0
settings put global zram_memory_tracking 0
settings put global zram_priority 0
settings put global zram_max_comp_streams 8
settings put global cached_apps_freezer disabled
settings put global memory_restriction_mode 0
settings put global app_standby_enabled 0
settings put global app_standby_bucket_check_enabled 0
settings put global app_standby_prediction_enabled 0
settings put system audio_safe_volume_state 0
settings put system audio_volume_steps 30
settings put system audio_volume_boost 1
settings put system audio_optimize 1
settings put system audio_high_performance 1
settings put system audio_quality 2
settings put system audio_processing 0
settings put system audio_enhancement 1
settings put system audio_digital_filter 1
settings put system audio_analog_filter 1
settings put global max_cached_processes 32
settings put global max_empty_processes 16
settings put global max_phantom_processes 2147483647
settings put global background_process_limit 1
settings put global background_service_limit 1
settings put global background_start_activity_check_enabled 0
settings put global background_service_check_enabled 0
settings put global background_sync_check_enabled 0
settings put global background_fgs_check_enabled 0
settings put global background_check_enabled 0
settings put system accelerometer_rotation 0
settings put system user_rotation 0
settings put system screen_brightness_float 1.0
settings put system screen_auto_brightness_adj 1.0
settings put system auto_brightness_mode 0
settings put system sensor_assist 0
settings put system sensor_optimize 1
settings put system sensor_polling_rate 1000
settings put system sensor_precision 3
settings put system sensor_sampling 0
settings put secure location_mode 0
settings put secure location_providers_allowed -network,-gps
settings put secure backup_enabled 0
settings put secure auto_restore 0
settings put secure usage_stats_enabled 0
settings put secure stats_collection 0
settings put secure data_saver_enabled 0
settings put secure privacy_guard_enabled 1
settings put secure app_ops_enabled 1
settings put secure permission_monitor 0
settings put global development_force_resizable 0
settings put global development_enable_freeform_support 0
settings put global development_settings_enabled 1
settings put global adb_enabled 1
settings put global usb_debugging 1
settings put global oem_unlock_allowed 1
settings put global verifier_verify_adb_installs 0
settings put global package_verifier_enable 0
settings put global install_non_market_apps 1
settings put global unknown_sources_default 1
settings put global art_verifier_verify_debuggable 0
settings put global art_verifier_verify_remote 0
settings put global art_verifier_verify_preopt 0
settings put global art_verifier_verify_secondary 0
settings put global art_verifier_verify_profile 0
settings put global art_verifier_verify_jni 0
settings put global art_verifier_verify_oat 0
settings put global art_verifier_verify_dex 0
settings put global art_verifier_verify_vdex 0
settings put global art_verifier_verify_apk 0
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/align_windows
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/boost
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/boostpulse
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/boostpulse_duration
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/fast_ramp_down
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/max_freq_hysteresis
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_slack
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/up_threshold_any_cpu_load
echo 0 > /sys/class/kgsl/kgsl-3d0/bus_split
echo 0 > /sys/class/kgsl/kgsl-3d0/force_bus_on
echo 0 > /sys/class/kgsl/kgsl-3d0/force_rail_on
echo 0 > /sys/class/kgsl/kgsl-3d0/force_clk_on
echo 0 > /sys/class/kgsl/kgsl-3d0/force_no_nap
echo 0 > /sys/class/kgsl/kgsl-3d0/idle_timer
echo 0 > /sys/class/kgsl/kgsl-3d0/pm_qos_active_latency
echo 0 > /sys/class/kgsl/kgsl-3d0/pm_qos_wakeup_latency
echo 0 > /sys/class/kgsl/kgsl-3d0/throttling
echo 0 > /sys/class/kgsl/kgsl-3d0/wake_timeout
echo 0 > /sys/class/kgsl/kgsl-3d0/devfreq/min_freq
echo 0 > /sys/class/kgsl/kgsl-3d0/devfreq/max_freq
echo 0 > /sys/class/kgsl/kgsl-3d0/devfreq/polling_interval
echo 0 > /sys/class/kgsl/kgsl-3d0/devfreq/target_freq
echo 0 > /sys/class/kgsl/kgsl-3d0/devfreq/trans_stat
echo 0 > /sys/block/mmcblk0/queue/add_random
echo 0 > /sys/block/mmcblk0/queue/iostats
echo 0 > /sys/block/mmcblk0/queue/nomerges
echo 0 > /sys/block/mmcblk0/queue/rotational
echo 0 > /sys/block/mmcblk0/queue/rq_affinity
echo 1 > /sys/block/mmcblk0/queue/iosched/fifo_batch
echo 1 > /sys/block/mmcblk0/queue/iosched/read_expire
echo 1 > /sys/block/mmcblk0/queue/iosched/write_expire
echo 1 > /sys/block/mmcblk0/queue/iosched/writes_starved
echo 1 > /sys/block/mmcblk0/queue/iosched/front_merges
echo 0 > /sys/block/mmcblk0/queue/iosched/back_merges
echo 0 > /sys/block/mmcblk0/queue/iosched/low_latency
echo 0 > /sys/block/mmcblk0/queue/iosched/quantum
echo 0 > /sys/block/mmcblk0/queue/iosched/slice_idle
echo 0 > /sys/block/mmcblk0/queue/iosched/slice_async
echo 0 > /sys/block/mmcblk0/queue/iosched/slice_async_rq
echo 0 > /sys/block/mmcblk0/queue/iosched/slice_sync
echo 0 > /proc/sys/vm/block_dump
echo 0 > /proc/sys/vm/compact_unevictable_allowed
echo 0 > /proc/sys/vm/dirty_background_bytes
echo 0 > /proc/sys/vm/dirty_bytes
echo 0 > /proc/sys/vm/dirty_expire_centisecs
echo 0 > /proc/sys/vm/dirty_writeback_centisecs
echo 0 > /proc/sys/vm/extfrag_threshold
echo 0 > /proc/sys/vm/highmem_is_dirtyable
echo 0 > /proc/sys/vm/laptop_mode
echo 0 > /proc/sys/vm/legacy_va_layout
echo 0 > /proc/sys/vm/mmap_min_addr
echo 0 > /proc/sys/vm/mmap_rnd_bits
echo 0 > /proc/sys/vm/mmap_rnd_compat_bits
echo 0 > /proc/sys/vm/nr_pdflush_threads
echo 0 > /proc/sys/vm/oom_dump_tasks
echo 0 > /proc/sys/vm/oom_kill_allocating_task
setprop persist.logd.size 0
setprop logcat.live disable
setprop ro.debuggable 0
setprop ro.secure 1
setprop debug.sf.nodormant 1
setprop debug.sf.render_priority 1
setprop debug.af.thread_priority 99
setprop debug.sf.no_composition_cache 1
setprop vendor.perf.enable_turbo 1
setprop vendor.drm.thermal.disable 1
settings put global window_animation_scale 1.0
settings put global transition_animation_scale 1.0
settings put global animator_duration_scale 1.0
echo 0 > /sys/class/input/input*/poll_delay
echo 1000 > /sys/class/input/input*/poll_rate
echo 1 > /sys/class/input/input*/resync
echo 0 > /sys/module/snd_soc_wcd9xxx/parameters/low_latency_mode
echo 1 > /sys/module/snd_soc_wcd9xxx/parameters/high_perf_mode
echo 48 > /sys/module/snd_soc_wcd9xxx/parameters/imp_min
echo 1 > /sys/module/snd_soc_wcd9xxx/parameters/ultra_low_latency
echo 0 > /sys/class/thermal/thermal_zone*/polling_delay
echo -1 > /sys/class/thermal/thermal_zone*/trip_point_*_temp
echo disabled > /sys/class/thermal/cooling_device*/cur_state
echo 0 > /sys/class/thermal/thermal_message
echo 0 > /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk
echo 0 > /sys/module/lowmemorykiller/parameters/lmk_fast_run
echo 1 > /sys/module/lowmemorykiller/parameters/oom_reaper
echo lz4 > /sys/block/zram0/comp_algorithm
echo 8 > /sys/block/zram0/max_comp_streams
echo 0 > /sys/block/zram0/disksize
settings put global activity_start_log_enabled 0
settings put global activity_starts_log_enabled 0
settings put global enabled_notification_listeners_log 0
setprop debug.renderengine.backend threaded
setprop debug.renderengine.disable_robust_buffer_access true
setprop debug.sf.early_phase_offset_ns 1000000
setprop debug.sf.early_app_phase_offset_ns 1000000
setprop debug.sf.early_gl_phase_offset_ns 3000000
setprop debug.sf.early_gl_app_phase_offset_ns 15000000
settings put global game_boost_mode 3
settings put global game_turbo_mode 2
settings put global game_high_performance 1
settings put global game_rendering_override 3
setprop persist.vr.mode 1
setprop vr.rendering_performance 3
setprop ro.config.hw_quickpoweron true
setprop ro.sys.fw.quick_boot_on 1
setprop sys.boot_completed 1
setprop dalvik.vm.dex2oat-cpu-set 0,1,2,3,4,5,6,7
setprop dalvik.vm.image-dex2oat-cpu-set 0,1,2,3,4,5,6,7
setprop dalvik.vm.boot-dex2oat-cpu-set 0,1,2,3,4,5,6,7
settings put global package_verifier_timeout 0
settings put global install_verification_timeout 0
settings put global verifier_timeout 0
settings put global hidden_api_policy 0
settings put global development_settings_enabled 1
setprop debug.egl.force_high_performance 1
echo 1 > /sys/class/power_supply/*/constant_charge_current_max
settings put global package_verifier_timeout 0
settings put global install_verification_timeout 0
settings put global verifier_timeout 0
settings put global activity_manager_constants "max_cached_processes=4,background_process_limit=2"
setprop dalvik.vm.dex2oat-threads 8
setprop dalvik.vm.image-dex2oat-threads 8
setprop dalvik.vm.boot-dex2oat-threads 8
setprop config.disable_apk_sideloading true
setprop config.disable_audio_effects true
settings put global net.tcp.buffersize.default 2097152,4194304,8388608,262144,524288,1048576
settings put global net.tcp.buffersize.wifi 2097152,4194304,8388608,262144,524288,1048576
settings put global net.tcp.buffersize.lte 2097152,4194304,8388608,262144,524288,1048576
settings put global private_dns_specifier 1.1.1.1
settings put global multi_path_preference 1
settings put global tcp_fastopen 3
settings put system touch.pressure.scale 0.0001
settings put system touch.size.scale 0.5
settings put system touch.orientation.scale 0.1
settings put global verifier_disable_checks 1
settings put global package_verifier_enable 0
settings put global tcp_no_metrics_save 1
settings put global tcp_recovery 1
settings put global tcp_rfc1337 1
settings put global tcp_sack 1
settings put global tcp_slow_start_after_idle 0
settings put global tcp_stdurg 1
settings put global tcp_syncookies 1
settings put global tcp_timestamps 1
settings put global tcp_window_scaling 1
pm uninstall --user 0 com.vivo.daemonService
pm uninstall --user 0 com.vivo.pem
pm uninstall --user 0 com.vivo.bsptest
pm uninstall --user 0 com.bbk.account
pm uninstall --user 0 com.vivo.pushservice
pm uninstall --user 0 com.iqoo.secure
pm uninstall --user 0 com.vivo.assistant
pm uninstall --user 0 com.vivo.ai.learning
pm uninstall --user 0 com.vivo.smart.advice
pm uninstall --user 0 com.vivo.ai.jovi.inlife
pm uninstall --user 0 com.vivo.smart.engine
settings put system min_refresh_rate 120.0
settings put system peak_refresh_rate 120.0
cmd appops set com.vivo.daemonService RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.daemonService RUN_ANY_IN_BACKGROUND ignore
cmd appops set com.vivo.daemonService START_FOREGROUND ignore
cmd appops set com.vivo.daemonService WAKE_LOCK ignore
cmd appops set com.vivo.daemonService BOOT_COMPLETED ignore
cmd appops set com.bbk.account RUN_IN_BACKGROUND ignore
cmd appops set com.bbk.account RUN_ANY_IN_BACKGROUND ignore
cmd appops set com.bbk.account START_FOREGROUND ignore
cmd appops set com.bbk.account WAKE_LOCK ignore
cmd appops set com.bbk.account BOOT_COMPLETED ignore
cmd appops set com.vivo.pushservice RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.pushservice WAKE_LOCK ignore
cmd appops set com.vivo.pushservice START_FOREGROUND ignore
pm clear com.vivo.daemonService
pm clear com.bbk.account
pm clear com.vivo.pushservice
cmd appops set com.vivo.daemonService OP_BOOT_COMPLETED ignore
am force-stop com.vivo.daemonService
pm suspend com.vivo.daemonService
pm suspend com.bbk.account
settings put secure accessibility_enabled 1
pm grant com.android.shell android.permission.WRITE_SECURE_SETTINGS
pm grant com.android.shell android.permission.WRITE_GLOBAL_SETTINGS
pm grant com.android.shell android.permission.WRITE_SETTINGS
pm grant com.android.shell android.permission.CHANGE_CONFIGURATION
pm grant com.android.shell android.permission.DUMP
pm grant com.android.shell android.permission.READ_LOGS
pm grant com.android.shell android.permission.PACKAGE_USAGE_STATS
pm grant com.android.shell android.permission.SET_PROCESS_LIMIT
pm grant com.android.shell android.permission.SYSTEM_ALERT_WINDOW
pm grant com.android.shell android.permission.GET_APP_OPS_STATS
pm grant com.termux android.permission.WRITE_SECURE_SETTINGS
pm grant com.termux android.permission.WRITE_GLOBAL_SETTINGS
pm grant com.termux android.permission.WRITE_SETTINGS
pm grant com.termux android.permission.CHANGE_CONFIGURATION
pm grant com.termux android.permission.DUMP
pm grant com.termux android.permission.READ_LOGS
pm grant com.termux android.permission.PACKAGE_USAGE_STATS
pm grant com.termux android.permission.SYSTEM_ALERT_WINDOW
pm uninstall -k --user 0 com.vivo.daemonService
pm uninstall -k --user 0 com.vivo.pem
pm uninstall -k --user 0 com.vivo.bsptest
pm uninstall -k --user 0 com.bbk.account
pm uninstall -k --user 0 com.vivo.pushservice
pm uninstall -k --user 0 com.iqoo.secure
pm uninstall -k --user 0 com.vivo.assistant
cmd appops set com.vivo.daemonService MANAGE_MEDIA wait
cmd appops set com.vivo.daemonService PROJECT_MEDIA ignore
cmd appops set com.vivo.daemonService ACTIVATE_VPN ignore
cmd appops set com.vivo.daemonService AUTO_REVOKE_PERMISSIONS_IF_UNUSED ignore
cmd appops set com.vivo.pem WAKE_LOCK ignore
cmd appops set com.vivo.pem RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.pem SCHEDULE_EXACT_ALARM ignore
cmd game set --mode performance com.android.chrome
cmd game set --mode battery com.vivo.daemonService
cmd game set --mode battery com.bbk.launcher2
device_config put game_overlay com.google.android.gms mode=2,downscaleFactor=1.0
settings put global cached_apps_freezer disabled
device_config put activity_manager use_compaction false
settings put global development_settings_enabled 1
settings put global adb_enabled 1
settings put global install_non_market_apps 1
settings put system screen_off_timeout 30000
settings put global window_animation_scale 1.0
settings put global transition_animation_scale 1.0
settings put global animator_duration_scale 1.0
settings put global gaming_mode_performance 3
settings put global gaming_thermal_control 0
settings put global gaming_touch_response 3
settings put system touch.pressure.scale 0.001
settings put system touch.size.scale 1.0
settings put system high_touch_sensitivity_enabled 1
setprop debug.egl.force_gpu 1
setprop debug.vulkan.force_gpu_clock 1
setprop debug.force-opengl 1
setprop debug.hwc.force_gpu_vsync 1
setprop debug.enable-vr-mode 1
setprop sys.thermal.status 0
setprop persist.sys.thermal.status 0
setprop debug.cpurendering.force 1
setprop debug.rs.default-CPU-driver 1
setprop debug.rs.max-threads 1
setprop debug.performance.profile 1
setprop dalvik.vm.execution-mode int:portable
setprop dalvik.vm.checkjni false
setprop dalvik.vm.verify-bytecode false
setprop debug.egl.force_gpu 3
setprop audio.offload.buffer.size.kb 32
setprop audio.alsa.period_size 128
setprop audio.alsa.buffer_size 512
setprop af.fast_track_multiplier 2
setprop audio.lowlatency.force true
cmd power set-fixed-performance-mode-enabled true
settings put secure game_driver_opt_in 1
settings put secure game_auto_temperature_control 0
pm clear --user 0 com.vivo.gamewatch
settings put global thermal_polling_interval 60000
settings put secure thermal_control_enabled 0
settings put global low_power 0
settings put global automatic_power_save_mode 0
settings put global activity_starts_logging_enabled 0
settings put system k2hd_effect 1
settings put system tube_amp_effect 1
settings put global sqlite_compatibility_wal_flags compatibility_wal_supported=true,wal_syncmode=OFF
settings put global db_check_enabled 0
settings put global fstrim_mandatory_interval 86400000
settings put global pdn_hysteresis_ms 0
settings put global send_action_app_error 0
settings put global wtf_is_fatal 0
settings put global anr_show_background 0
setprop sys.use_fifo_ui 1
setprop debug.sf.hw 1
setprop debug.egl.hw 1
setprop debug.composition.type c2d
setprop debug.sf.no_hw_vsync 1
setprop debug.cpurend.vsync false
setprop debug.gpurend.vsync false
setprop debug.hwui.render_dirty_regions false
setprop debug.hwui.skip_empty_damage true
setprop debug.hwui.use_buffer_age false
setprop debug.sf.disable_client_composition_cache 1
setprop debug.sf.predict_hwc_composition_strategy 1
setprop debug.mdpcomp.logs 0
setprop persist.sys.use_16bpp_alpha 1
setprop persist.sys.purgeable_assets 1
setprop persist.sys.ui.hw 1
setprop ro.config.hw_quickpoweron true
setprop ro.media.enc.jpeg.quality 100
setprop dalvik.vm.jit.initial-thread-pool-size 4
setprop dalvik.vm.jit.max-threads 8
setprop profiler.force_disable_err_rpt 1
setprop profiler.force_disable_ulog 1
setprop log.tag.stats_log OFF
setprop persist.logd.logpersistd.enable 0
setprop persist.sys.strictmode.disable true
setprop persist.sys.strictmode.visual 0
setprop ro.config.nocheckin yes
setprop debug.atrace.tags.enableflags 0
setprop persist.traced.enable 0
setprop ro.statsd.enable false
device_config set_sync_disabled_for_tests persistent
device_config put activity_manager max_phantom_processes 2147483647
settings put global settings_enable_monitor_phantom_procs false
settings put global wifi_scan_always_enabled 0
settings put global ble_scan_always_enabled 0
settings put global mobile_data_always_on 0
settings put global network_recommendation_enabled 0
settings put system touchscreen.sensitivity 10
settings put secure long_press_timeout 250
settings put system pointer_speed 7
cmd thermalservice override-status 0
settings put global zram_enabled 0
settings put global captive_portal_mode 0
settings put global ntp_server 127.0.0.1
settings put global private_dns_mode off
settings put global activity_manager_constants max_cached_processes=2
settings put global always_finish_activities 0
settings put global heads_up_notifications_enabled 0
settings put secure icon_blacklist rotation_lock,volume,headset
settings put global assisted_gps_enabled 0
cmd sensorservice restrict
setprop debug.sensors.mock_hal 0
setprop persist.sys.profiler_ms 0
settings put global enable_freeform_support 0
setprop debug.sf.latch_unsignaled 1
setprop debug.stagefright.c2inputsurface -1
settings put global background_process_limit 1
settings put global hidden_api_policy 1
settings put global dropbox_max_files 0
pm uninstall --user 0 com.facebook.appmanager
pm uninstall --user 0 com.facebook.services
pm uninstall --user 0 com.facebook.system
pm uninstall --user 0 com.google.android.printservice.recommendation
pm uninstall --user 0 com.android.printspooler
pm uninstall --user 0 com.vivo.expert
pm uninstall --user 0 com.vivo.health
pm uninstall --user 0 com.bbk.scene.launcher.theme
device_config put enable_thermal_throttling false
device_config put runtime_native_boot disable_iostats true
device_config put runtime_native_boot enable_stability_metrics false
device_config put window_manager system_gestures_exclusion_limit_dp 0
setprop pm.dexopt.ab-ota ""
setprop debug.activity_manager.enable_watchdog 0
setprop config.disable_consumerir true
settings put global activity_manager_constants gc_timeout=100
setprop sys.use_fifo_ui 1
setprop audio.deep_buffer.media true
setprop debug.hwui.show_dirty_regions false
setprop debug.hwui.overdraw false
settings put global enable_strict_mode 0
settings put global sqlite_compatibility_wal_flags compatibility_wal_supported=true,wal_syncmode=0
setprop debug.choreographer.skipwarning 99999999
settings put global windowsmgr.max_events_per_sec 240
setprop dalvik.vm.heaptargetutilization 0.9
setprop debug.sf.transparent_region_strategy 1
settings put global view_configuration_touch_slop 4
settings put secure touch_blocking_period 0
settings put global view_scroll_friction 0.005
setprop debug.sf.latch_unsignaled 1
setprop debug.hwui.render_ahead 10
setprop debug.renderengine.backend skiavk
setprop debug.hwui.renderer skiavk
setprop debug.composition.type gpu
setprop debug.sf.enable_hwc_vds 1
pm uninstall --user 0 com.google.android.apps.wellbeing
pm uninstall --user 0 com.vivo.magazine
pm uninstall --user 0 com.google.android.as
pm uninstall --user 0 com.vivo.assistant
pm uninstall --user 0 com.vivo.doubleinstance
pm uninstall --user 0 com.vivo.easyshare
pm trim-caches 999999999999
dumpsys batterystats --reset
settings put system user_refresh_rate 120.0
settings put global vivo_screen_refresh_rate_mode 2
settings put system monster_mode 1
settings put global vivo_perf_mode 1
settings put global vivo_game_mode 1
settings put global vivo_multi_turbo 1
settings put system game_mode_status 1
settings put global game_driver_all_apps 1
settings put global game_driver_opt_in_apps 1
settings put global updatable_driver_all_apps 1
settings put global game_driver_blocklist ""
settings put global game_driver_allowlist ""
cmd power set-fixed-performance-mode-enabled true
cmd power set-adaptive-power-saver-enabled false
cmd power set-mode 1
device_config put activity_manager max_phantom_processes 2147483647
device_config put activity_manager max_cached_processes 256
settings put global settings_enable_monitor_phantom_procs false
settings put global cached_apps_freezer disabled
settings put global adaptive_battery_management_enabled 0
settings put global activity_manager_constants max_cached_processes=256
settings put global sem_enhanced_cpu_responsiveness 1
settings put global enhanced_processing 2
settings put global speed_mode 1
settings put global tcp_congestion_control bbr
settings put global tcp_fastopen 3
settings put system intelligent_power_save 0
settings put global vivo_smart_power_save 0
settings put global vivo_network_boost 1
settings put global vivo_cpu_boost 1
settings put global mcf_continuity 0
setprop debug.hwui.renderer skiavk
setprop debug.renderengine.backend skiavk
setprop debug.mali.disable_gj_fences 1
setprop debug.mali.gpu_submission 1
setprop debug.gpu.pm_enable 0
setprop debug.sf.disable_fbc 1
setprop debug.sf.disable_backpressure 1
setprop debug.sf.latch_unsignaled 1
setprop debug.sf.enable_gl_backpressure 0
setprop debug.cpurendering.force 1
setprop debug.hwui.render_dirty_regions false
setprop debug.hwui.skip_empty_damage true
setprop debug.hwui.use_buffer_age false
setprop debug.composition.type gpu
setprop debug.egl.force_msaa 0
setprop vendor.display.disable_rotator_downscale 1
setprop persist.sys.vivo.game.turbo 1
setprop ro.vivo.dyn.refresh.rate 0
setprop debug.vulkan.layers.enable 1
setprop debug.mtk_tflite.limit 0
cmd game set --mode performance com.android.systemui
cmd game set --mode performance com.bbk.launcher2
cmd game set --mode performance android
cmd game set --mode performance com.vivo.daemonService
device_config put game_overlay com.android.systemui mode=2,downscaleFactor=1.0
device_config put game_overlay android mode=2,downscaleFactor=1.0
device_config put runtime_native_boot enable_heap_pointer_tagging false
device_config put activity_manager max_empty_time_millis 60000
settings put global activity_starts_logging_enabled 0
settings put global app_auto_restriction_enabled 0
settings put global unused_static_shared_lib_min_cache_period 0
settings put global fstrim_mandatory_interval 1
settings put global low_power_trigger_level 0
settings put global automatic_power_save_mode 0
settings put global dynamic_power_savings_enabled 0
settings put global smart_battery_enabled 0
settings put global wifi_scan_always_enabled 0
settings put global ble_scan_always_enabled 0
settings put global mobile_data_always_on 1
settings put global wifi_watchdog_on 0
settings put global wifi_wakeup_available 0
settings put global tether_offload_disabled 1
settings put global soft_ap_timeout_enabled 1
settings put global wifi_scan_background_throttle_interval 3600000
settings put global wifi_scan_throttle_enabled 1
settings put global captive_portal_mode 0
settings put global nsd_on 0
settings put global send_action_app_error 0
settings put global dropbox_max_files 0
settings put global dropbox_quota_kb 0
settings put secure send_action_app_error 0
settings put system send_security_reports 0
setprop persist.traced.enable 0
setprop ro.config.nocheckin yes
setprop profiler.force_disable_err_rpt 1
setprop profiler.force_disable_ulog 1
settings put global sys_storage_threshold_percentage 1
settings put global sys_storage_threshold_max_bytes 10485760
settings put global job_scheduler_quota_controller_constants "max_session_count_per_rate_limiting_window=20,max_job_count_per_rate_limiting_window=20"
settings put global alarm_manager_constants "allow_while_idle_quota=10,listener_timeout=1000,min_interval=60000"
settings put global device_idle_constants "light_after_inactive_to=5000,inactive_to=5000,sensing_to=0,locating_to=0,location_accuracy_decay_to=0,motion_inactive_to=0,idle_after_inactive_to=0"
settings put global app_standby_enabled 1
settings put global battery_saver_constants "vibration_disabled=false,animation_disabled=false,soundtrigger_disabled=true,fullbackup_deferred=true,keyvaluebackup_deferred=true,firewall_disabled=true,gps_mode=0,adjust_brightness_disabled=true,datastaver_disabled=true,force_all_apps_standby=true,force_background_check=true"
cmd appops set com.google.android.gms READ_DEVICE_IDENTIFIERS ignore
cmd appops set com.google.android.gms ACTIVITY_RECOGNITION ignore
cmd appops set com.google.android.gms BODY_SENSORS ignore
cmd appops set com.google.android.gms READ_CLIPBOARD ignore
cmd appops set com.google.android.gms PROJECT_MEDIA ignore
cmd appops set com.android.vending RUN_IN_BACKGROUND ignore
cmd appops set com.android.vending RUN_ANY_IN_BACKGROUND ignore
cmd appops set com.android.vending START_FOREGROUND ignore
cmd appops set com.facebook.services RUN_IN_BACKGROUND ignore
cmd appops set com.facebook.appmanager RUN_IN_BACKGROUND ignore
cmd appops set com.facebook.system RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.browser RUN_IN_BACKGROUND ignore
cmd appops set com.vivo.browser WAKE_LOCK ignore
settings put global ram_expand_size 0
settings put global zram_enabled 0
setprop dalvik.vm.checkjni false
setprop dalvik.vm.verify-bytecode false
setprop dalvik.vm.execution-mode int:fast
setprop dalvik.vm.dexopt-flags v=n,o=v,m=y
setprop dalvik.vm.lockprof.threshold 500
settings put global always_finish_activities 1
cmd activity set-watch-heap-limit 256000
setprop dalvik.vm.dex2oat-filter everything
setprop dalvik.vm.image-dex2oat-filter everything
setprop dalvik.vm.dex2oat-threads 8
settings put system haptic_feedback_enabled 1
settings put system vibrate_on 1
settings put system vibrate_when_ringing 1
settings put system sound_effects_enabled 1
settings put global battery_saver_constants "vibration_disabled=false,animation_disabled=false"
cmd appops set android VIBRATE allow
cmd appops set com.android.systemui VIBRATE allow
cmd appops set com.vivo.daemonService VIBRATE allow
cmd appops set com.vivo.bsptest VIBRATE allow
cmd appops set com.bbk.theme VIBRATE allow
cmd appops set com.bbk.launcher2 VIBRATE allow
settings put system vibration_intensity 2
settings put system haptic_feedback_intensity 2
setprop dalvik.vm.boot-dex2oat-threads 8
setprop dalvik.vm.dex2oat-cpu-set 0,1,2,3,4,5,6,7
setprop dalvik.vm.jit.codecachesize 128m
setprop dalvik.vm.jit.max-threads 8
setprop ro.config.fha_enable true
setprop ro.sys.fw.use_trim_settings true
setprop ro.vendor.qti.sys.fw.bg_apps_limit 128
device_config put activity_manager use_compaction false
setprop vendor.powerhal.mode performance
setprop ro.vendor.mtk_perf_simple_start_win 1
setprop ro.vendor.mtk_perf_fast_start_win 1
setprop ro.vendor.mtk_perf_response_time 1
settings put global angle_gl_driver_all_angle 0
settings put global angle_gl_driver_selection_pkgs ""
settings put global angle_gl_driver_selection_values ""
settings delete global angle_gl_driver_selection_pkgs
settings delete global angle_gl_driver_selection_values
settings put global angle_debug_package ""
setprop debug.angle.backend 0
settings put global tether_supported 1
settings put global tether_offload_disabled 0
settings put global soft_ap_timeout_enabled 1
settings put global wifi_display_on 1
settings put global wifi_scan_always_enabled 1
svc usb setFunctions rndis
setprop sys.usb.config rndis,adb
cmd appops set com.android.settings WRITE_SETTINGS allow
cmd appops set com.android.settings CHANGE_WIFI_STATE allow
cmd appops set android TETHER_PRIVILEGED allow
cmd appops set com.android.settings ACTIVATE_VPN allow
settings put global game_driver_all_apps 1
settings put global updatable_driver_all_apps 1
setenforce 0
pm compile -a -f --reset
cmd package compile -m speed -f -a
cmd package compile -m speed -f com.bbk.launcher2
cmd package compile -m everything -f -a
sm fstrim
cmd jobscheduler cancel-all
cmd package compile -m speed -f com.android.systemui
cmd package compile -m speed -f com.android.inputmethod.latin
cmd package compile -m speed -f com.google.android.inputmethod.latin
cmd package bg-dexopt-job
cmd package compile -m speed -f com.android.systemui
cmd package compile -m speed -f com.bbk.launcher2
cmd package compile -m speed -f com.termux
cmd package compile -m speed-profile -f -a
cmd package compile -m speed -f android
reboot
