Android优化脚本
优化 Android 手机.
脚本有一定使用门槛,请谨慎操作 文章源自WINOS-https://www.winos.me/archives/3686.html
需求
操作系统为7.1.1或更新版本的Android手机。
适用于操作系统版本为9或更高版本的三星手机(仅限OneUI)。
ADB已安装驱动程序(ADB安装程序将进行发布和源代码管理)。
文章源自WINOS-https://www.winos.me/archives/3686.html
命令
您可以通过这些命令创建一个BAT文件。
下列命令列表
文章源自WINOS-https://www.winos.me/archives/3686.html
提高系统性能
禁用Z-RAM、窗口模糊效果和动画 文章源自WINOS-https://www.winos.me/archives/3686.html
adb shell settings put global zram_enabled 0
adb shell settings put global accessibility_reduce_transparency 1
adb shell settings put global disable_window_blurs 1
adb shell settings put global window_animation_scale 0.0
adb shell settings put global transition_animation_scale 0.0
adb shell settings put global animator_duration_scale 0.0
adb shell settings put system screen_auto_brightness_adj 1.0
(这将屏幕设置为48Hz刷新率,如果不想这样,不要放在BAT列表中.) 文章源自WINOS-https://www.winos.me/archives/3686.html
adb shell settings put system peak_refresh_rate 48.0
adb shell settings put system min_refresh_rate 1.0
提高移动网络性能
提高网络数据传输 (3G/4G/5G)
它还将屏蔽90-95%的广告和色色网站,在不需要Root的情况下。
禁用某些限制,在启动时默认启用移动数据并启用辅助GPS 文章源自WINOS-https://www.winos.me/archives/3686.htmladb shell settings put global network_recommendations_enabled 0
adb shell settings put global network_scoring_ui_enabled 0
adb shell settings put global tether_offload_disabled 0
adb shell settings put global wifi_power_save 0
adb shell settings put global enable_cellular_on_boot 1
adb shell settings put global mobile_data_always_on 0
adb shell settings put global ble_scan_always_enabled 0
adb shell settings put global private_dns_specifier family.adguard-dns.com
通过固定信号质量提高网络速度(并非适用于所有设备) 文章源自WINOS-https://www.winos.me/archives/3686.html
adb shell settings put global preferred_network_mode 9,9
改进手机的电源管理
通过禁用自适应睡眠算法来改善手机的睡眠方式。
如果您收到消息应用程序的延迟通知,请转到“设置”、“应用程序”、“消息应用程序”和“电池”,然后设置为__Unrestricted_。
不要使用第三方或OEM应用程序来做这件事。我不建议用它们这样做,因为效果不会像所看到的那样令人满意。
建议:删除所有第三次清洁或设备护理应用程序,使算法正常工作。 文章源自WINOS-https://www.winos.me/archives/3686.htmladb shell settings put global cached_apps_freezer disabled
adb shell settings put global sem_enhanced_cpu_responsiveness 0
adb shell settings put global enhanced_processing 0
adb shell settings put global app_standby_enabled 0
adb shell settings put global adaptive_battery_management_enabled 0
adb shell settings put global app_restriction_enabled true
adb shell settings put system intelligent_sleep_mode 0
adb shell settings put secure adaptive_sleep 0
adb shell settings put global automatic_power_save_mode 0
adb shell settings put global low_power 0
adb shell settings put global dynamic_power_savings_enabled 0
adb shell settings put global dynamic_power_savings_disable_threshold 20
禁用ANDROID屏幕保护程序以获得更好的电池寿命
adb shell settings put secure screensaver_enabled 0
adb shell settings put secure screensaver_activate_on_sleep 0
adb shell settings put secure screensaver_activate_on_dock 0
加速长按延迟
adb shell settings put secure long_press_timeout 250
adb shell settings put secure multi_press_timeout 250
呼叫功能。实现额外的通话量和降噪
在通话中添加音量
adb shell settings put system call_extra_volume 1
增加通话降噪功能
adb shell settings put system call_noise_reduction 1
禁用应答中呼叫振动
adb shell settings put system call_answer_vib 0
禁用结束呼叫振动
adb shell settings put system call_end_vib 0
adb shell settings put global swipe_to_call_message 0
更改电话名称
adb shell settings put secure bluetooth_name "device name"
adb shell settings put global device_name "device name"
adb shell settings put global synced_account_name "device name"
系统声音和振动
禁用某些系统控制声音和振动,例如:
导航栏 文章源自WINOS-https://www.winos.me/archives/3686.htmladb shell settings put system navigation_gestures_vibrate 0
锁屏 文章源自WINOS-https://www.winos.me/archives/3686.html
adb shell settings put system lockscreen_sounds_enabled 0
相机
adb shell settings put system camera_feedback_vibrate 0
adb shell settings put system sound_effects_enabled 0
使用铃声启用同步振动
adb shell settings put system sync_vibration_with_ringtone 1
adb shell setting put system sync_vibration_with_ringtone_2 1
启用振动与通知同步
adb shell settings put system sync_vibration_with_notification 1
一般振动
adb shell settings put system haptic_feedback_enabled 0
adb shell settings put system SEM_VIBRATION_FORCE_TOUCH_INTENSITY 0
adb shell settings put system SEM_VIBRATION_NOTIFICATION_INTENSITY 0
adb shell settings put system SEM_VIBRATION_RING_INTENSITY 5
adb shell settings put system vibrate_when_ringing 0
adb shell settings put system vibration_sound_enabled 0
adb shell settings put system VIB_FEEDBACK_MAGNITUDE 0
adb shell settings put system VIB_RECVCALL_MAGNITUDE 0
电源声音
adb shell settings put global power_sounds_enabled 0
充电中
adb shell settings put secure charging_vibration_enabled 0
adb shell settings put secure charging_sounds_enabled 0
adb shell settings put secure adaptive_charging_enabled 0
蓝牙音频编解码器
adb shell settings put secure bluetooth_a2dp_bt_uhq_state 1
adb shell settings put secure bluetooh_a2dp_uhqa_support 1
禁用谷歌功能,如果你想启用,请将 0 更改为 1
Android Auto
adb shell settings put system gearhead:driving_mode_settings_enabled 0
GSM Tweak
adb shell settings put secure assistant 0
adb shell settings put secure smartspace 0
adb shell settings put global google_core_control 0
adb shell settings put secure adaptive_connectivity_enabled 0
禁用Android的运动引擎传感器(可以节省一些电池)
adb shell settings put system master_motion 0
adb shell settings put system motion_engine 0
adb shell settings put system air_motion_engine 0
adb shell settings put system air_motion_wake_up 0
adb shell settings put system intelligent_sleep_mode 0
adb shell settings put secure adaptive_sleep 0
禁用联机手动URL和远程支持(Samsung ONE UI,所有安装了/o提示的版本)
adb shell settings put global online_manual_url 0
adb shell settings put system remote_control 0
改善三星手机的应用程序启动时间(以及Vanilla Android中的遥测)
adb shell settings put global activity_starts_logging_enabled 0
adb shell settings put secure send_action_app_error 0
adb shell settings put global bixby_pregranted_permissions 0
adb shell settings put system send_security_reports 0
adb shell settings put system rakuten_denwa 0
提高手机音质
adb shell settings put system tube_amp_effect 1
adb shell settings put system k2hd_effect 1
启用多媒体数据包调度程序(也可以从“设置”进入“开发人员选项”)
adb shell settings put system multicore_packet_scheduler 1
干掉游戏优化服务(三星GOS)👆GOS
adb shell settings put secure game_auto_temperature_control 0
adb shell pm clear --user 0 com.samsung.android.game.gos
adb shell settings put secure gamesdk_version 0
adb shell settings put secure game_home_enable 0
adb shell settings put secure game_bixby_block 1
阻止Galaxy系统更新(策略和/或设备更新)(不干扰Galaxy Store更新或F/OTA更新)
adb shell settings put global galaxy_system_update_block 1
OLED 屏幕优化
adb shell settings put global burn_in_protection 1
改善Android手机上的触摸屏响应和延迟
adb shell settings put secure tap_duration_threshold 0.0
adb shell settings put secure touch_blocking_period 0.0
禁用设备的背景扫描(蓝牙、附近设备)
adb shell settings put system nearby_scanning_permission_allowed 0
adb shell settings put system nearby_scanning_enabled 0
adb shell settings put global ble_scan_always_enabled 0
禁用背景检测中的热词检测(OK Google或Hey Google)(改进电池消耗)
adb shell settings put global hotword_detection_enabled 0
其他三星手机设置
adb shell settings put system mcf_continuity 0
#常见问题与版本反馈&联系&支持作者
您可以通过关注溯汐潮微信公众号:『 溯汐潮爱科技 』阅读往期文章,和本人交流日常,或反馈版本可能存在的问题,以便于下次得到改进。
如果您需要注册WinOS,可以在公众号『 溯汐潮爱科技 』聊天界面回复“邀请码”,了解获取详情
如果您喜欢本作品,可以在公众号回复“打赏”,以打赏的形式支持溯汐潮。感谢打赏者的慷慨付出,这将使溯汐潮得以继续维持高速链接(企业网盘)。如果您对公开版本不满意,您可以在公众号回复“专享版”,新的专享版已集成溯汐潮工具箱,免去了您花费大量时间寻找工具的成本,更加适合在不同的硬件环境下运行。
其他打赏渠道:https://afdian.net/@SuXiChao
(注:上文中的“打赏”是指您对我辛苦调试和测试工作所产出的作品的认可,并不意味着本人售卖系统封装作品封装作品。必须要说明的是,本人不会以任何形式售卖系统封装作品封装作品。部分技术咨询服务可能会涉及打赏,属于技术/知识打赏范畴,但与发布作品无关。)
如果您不喜欢本作品,很抱歉溯汐潮让您失望,溯汐潮将继续将技术工作做到更好。