Can you just give me all the performance tweaks and everything that will disable debugging or logging that will most likely work for a fire tv stick 4k max which is a android tv sort of device? I just want max performance. I don't care about any battery saving or anything to do with networking or wifi or data or any touch or any display or fps or refresh rate. None of that.


adb shell settings put global DEVICE_PROVISIONED 1
adb shell settings put global ro.revision 0
adb shell settings put global ro.rom.zone 2
adb shell settings put global camera.disable_zsl_mode 1
adb shell settings put global debug.refresh_rate.view_override 1
adb shell settings put secure refresh_rate_mode 2
adb shell settings put secure user_wait_timeout 0
adb shell settings put system thermal_limit_refresh_rate 0
adb shell settings put system min_refresh_rate 60.0
adb shell settings put system remove_animations 1
adb shell settings put system reduce_animations 1
adb shell settings put system slider_animation_duration 250
adb shell settings put global window_animation_scale 0.25
adb shell settings put global transition_animation_scale 0.25
adb shell settings put global animator_duration_scale 0.0
adb shell settings put global remove_animations 1
adb shell settings put global fancy_ime_animations 0
adb shell settings put global ro.launcher.anim.app.exit false
adb shell settings put global ro.launcher.anim.launchtask false
adb shell settings put global persist.sys.rotationanimation false
adb shell settings put global sys.rotation.animscale 0.25
adb shell settings put global sys.disable_ext_animation 1
adb shell settings put global sys.enable_grip_rejection 1
adb shell settings put global sys.refresh.dirty 0
adb shell settings put global ro.input.noresample 1
adb shell settings put global view.scroll_friction 0
adb shell settings put global view.fading_edge_length 1
adb shell settings put secure tap_duration_threshold 0.0
adb shell settings put secure long_press_timeout 250
adb shell settings put secure multi_press_timeout 250
adb shell settings put secure speed_mode_enable 1
adb shell settings put system speed_mode 1
adb shell settings put global speed_mode_on 1
adb shell settings put global media.sf.hwaccel 1
adb shell settings put global video.accelerate.hw 1
adb shell settings put global ro.config.enable.hw_accel true
adb shell settings put global ro.config.hw_voicerecord true
adb shell settings put global debug.hwui.use_partial_updates false
adb shell settings put global ro.vendor.hwui.platform 1
adb shell settings put global ro.hwui.renderer.disable_opaque true
adb shell settings put global ro.hwui.disable_scissor_opt false
adb shell settings put global ro.hwui.texture_cache_size 20
adb shell settings put global ro.hwui.texture_cache_flush_rate 0.5
adb shell settings put global ro.hwui.gradient_cache_size 0.1
adb shell settings put global ro.hwui.drop_shadow_cache_size 1
adb shell settings put global ro.hwui.shape_cache_size 1
adb shell settings put global ro.hwui.r_buffer_cache_size 1
adb shell settings put global ro.hwui.path_cache_size 1
adb shell settings put global ro.hwui.disable_asset_atlas true
adb shell settings put global ro.hwui.layer_cache_size 1
adb shell settings put global persist.texture_cache_opt 1
adb shell settings put global disable_hw_overlays 1
adb shell settings put global overlay_disable_force_hwc 1
adb shell settings put global renderthread.skia.reduceopstasksplitting true
adb shell settings put global omap.enhancement true
adb shell settings put global ENFORCE_PROCESS_LIMIT false
adb shell settings put global enhanced_processing 1
adb shell settings put global restricted_device_performance 1,0
adb shell settings put global sem_enhanced_cpu_responsiveness 1
adb shell settings put global GPUTURBO_SWITCH 1
adb shell settings put global GPUTUNER_SWITCH 1
adb shell settings put global game_driver_all_apps 1
adb shell settings put global persist.sys.cfu_auto 1
adb shell settings put global ble_scan_always_enabled 0
adb shell settings put global ro.mds.enable true
adb shell settings put global ro.ril.hep 1
adb shell settings put global persist.eons.enabled true
adb shell settings put global persist.cust.tel.eons 1
adb shell settings put global persist.sys.klo on
adb shell settings put global persist.sys.once_scan true
adb shell settings put global ro.mot.proximity.jitter false
adb shell settings put global ro.mot.eri.losalert.delay 1000
adb shell settings put global ro.telephony.call_ring.delay 0
adb shell settings put global persist.sys.job_delay false
adb shell settings put global persist.sys.memopt.switch 1
adb shell settings put global persist.sys.fuse.passthrough.enable true
adb shell settings put global persist.sys.art.opt.enable true
adb shell settings put global persist.sys.dalvik.multithread true
adb shell settings put global persist.sys.dalvik.hyperthreading true
adb shell settings put global dalvik.vm.dex2oat64.enabled true
adb shell settings put global dalvik.vm.heaputilization 0.25
adb shell settings put global dalvik.vm.heaptargetutilization 0.25
adb shell settings put global dalvik.vm.dex2oat-swap true
adb shell settings put global dalvik.vm.verify-bytecode false
adb shell settings put global dalvik.vm.usejit true
adb shell settings put global dalvik.vm.usejitprofiles true
adb shell settings put global dalvik.vm.checkjni false
adb shell settings put global dalvik.vm.check-dex-sum false
adb shell settings put global dalvik.vm.debug.alloc 0
adb shell settings put global dalvik.vm.dexopt-flags m=y,v=n,o=y,u=n
adb shell settings put global dalvik.vm.execution-mode int:jit
adb shell settings put global dalvik.vm.dexopt.secondary true
adb shell settings put global dalvik.vm.dexopt.thermal-cutoff 2
adb shell settings put global dalvik.vm.deadlock-predict off
adb shell settings put global dalvik.vm.dex2oat-backend Quick
adb shell settings put global dalvik.vm.dex2oat-minidebuginfo false
adb shell settings put global dalvik.vm.dex2oat-resolve-startup-strings false
adb shell settings put global dalvik.vm.madvise-random true
adb shell settings put global dalvik.vm.foreground-heap-growth-multiplier 1.0
adb shell settings put global dalvik.vm.jit.codecachesize 1
adb shell settings put global dalvik.vm.appimageformat lz4
adb shell settings put global dalvik.vm.houdini on
adb shell settings put global persist.vm.stackdump.threshold 0
adb shell settings put global vm.scan_unevictable_pages 0
adb shell settings put global dalvik.gc.type precise
adb shell settings put global pm.dexopt.nsys-library quicken
adb shell settings put global pm.dexopt.core-app quicken
adb shell settings put global pm.dexopt.shared quicken
adb shell settings put global pm.dexopt.boot verify-at-runtime
adb shell settings put global pm.dexopt.first-boot quicken
adb shell settings put global pm.dexopt.install quicken
adb shell settings put global pm.dexopt.bg-dexopt quicken
adb shell settings put global pm.dexopt.ab-ota quicken
adb shell settings put global pm.dexopt.forced-dexopt quicken
adb shell settings put global ro.dex.async.opt 1
adb shell settings put global ro.dalvik.vm.native.bridge 0
adb shell settings put global persist.sys.nativebridge 1
adb shell settings put global ro.malloc.impl jemalloc
adb shell settings put global ro.maple.enable 1
adb shell settings put global tombstoned.max_tombstone_count 20
adb shell settings put global vnswap.enabled false
adb shell settings put global cgroup_disable memory
adb shell settings put global ro.systemui.burn_in_protection true
adb shell settings put global ro.config.hw_simpleui_enable 1
adb shell settings put global ro.config.hw_dts true
adb shell settings put global ro.config.hw_disable_cops true
adb shell settings put global ro.config.hw_accesscontrol false
adb shell settings put global ro.config.hw_restrict_gps true
adb shell settings put global ro.config.updatelocation false
adb shell settings put global ro.config.delay_send_signal false
adb shell settings put secure upload_debug_log_pref 0
adb shell settings put secure upload_log_pref 0
adb shell settings put global sys_traced 0
adb shell settings put global persist.traced.enable 0
adb shell settings put global persist.traced_perf.enable 0
adb shell settings put global send_action_app_error 0
adb shell settings put global send_action_app_error_native 0
adb shell settings put global foreground_service_starts_logging_enabled 0
adb shell settings put global enable_diskstats_logging 0
adb shell settings put global activity_starts_logging_enabled 0
adb shell settings put global ro.config.nocheckin 1
adb shell settings put global profiler.force_disable_err_rpt 1
adb shell settings put global profiler.force_disable_ulog 1
adb shell settings put global profiler.debugmonitor false
adb shell settings put global profiler.launch false
adb shell settings put global logcat.live disable
adb shell settings put global config.disable_consumerir true
adb shell settings put global ro.debuggable 0
adb shell settings put global debug.mdpcomp.logs 0
adb shell settings put global ro.kernel.checkjni 0
adb shell settings put global debug.atrace.tags.enableflags 0
adb shell settings put global logd.kernel false
adb shell settings put global profiler.hung.dumpdobugreport false
adb shell settings put global trustkernel.log.state disable
adb shell settings put global debug.systemui.latency_tracking 0
adb shell settings put global persist.sample.eyetracking.log 0
adb shell settings put global media.metrics.enabled 0
adb shell settings put global media.metrics 0
adb shell settings put global debug.brcm.mm.logs 0
adb shell settings put global sys.miui.ndcd off
adb shell settings put global sys.debug.watchdog 0
adb shell settings put global logd.statistics 0
adb shell settings put global config.stats 0
adb shell settings put global persist.sys.watchdog_enhanced false
adb shell settings put global persist.sys.oom_crash_on_watchdog false
adb shell settings put global persist.sys.logging 0
adb shell settings put global persist.sys.loglevel 0
adb shell settings put global sys.log.app 0
adb shell settings put global ro.logd.size 0
adb shell settings put global ro.logd.size.stats 0
adb shell settings put global ro.logdumpd.enabled 0
adb shell settings put global persist.anr.dumpthr 0
adb shell settings put global persist.vendor.dpm.loglevel 0
adb shell settings put global persist.vendor.dpmhalservice.loglevel 0
adb shell settings put global persist.vendor.sys.core.enabled 0
adb shell settings put global persist.vendor.sys.modem.logging.enable false
adb shell settings put global debug.enable.wl_log 0
adb shell settings put global debug.als.logs 0
adb shell settings put global debug.svi.logs 0
adb shell settings put global log.tag.stats_log 0
adb shell settings put global ro.lmk.debug false
adb shell settings put global ro.lmk.log_stats false
adb shell settings put global sys.lmk.reportkills false
adb shell settings put global persist.sys.lmk.reportkills false
adb shell settings put global ro.config.hw.logsystem.send 0
adb shell settings put global anr_show_error_cause false
adb shell settings put global debug.hwui.skia_atrace_enabled false
adb shell settings put global persist.sys.mdlog_dumpback 0
adb shell settings put global persist.vendor.mdlog.need_dump 0
adb shell settings put global vendor.swvdec.log.level 0
adb shell settings put global debug.sf.enable_transaction_tracing false
adb shell settings put global persist.vendor.console.silent.config 1
adb shell settings put global persist.vendor.recovery_update false
adb shell settings put global persist.binder.check.enable false
adb shell settings put global ro.statsd.enable false
adb shell settings put global ro.systemui.debug false
adb shell settings put global ro.have_aee_feature 0
adb shell settings put global ro.aee.enforcing no
adb shell settings put global ro.aee.enperf off
adb shell settings put global persist.debug.sf.statistics 0
adb shell settings put global persist.sys.crash_dumps 0
adb shell settings put global persist.sys.pstore_dumps 0