apps Sakuraの无聊日常
Sony XP5M2 个性化adb命令
27 浏览 | 2021-01-29 02:37 am | 分类:Android | 标签:

最近看到有人发X5M2的截图,图标跟强调色都跟默认的不一样,有的人说可以在开发者选项下可以改,但是我两台5M2上都没找到改的地方,到XDA翻了帖子,找到这堆adb命令,稍微翻译了一下发出来,有需要的可以看下。。。

以下每个样式应用前都需要把之前启用的样式禁用,否则后面应用的样式不会生效

系统UI相关:

启用 filled 样式:
adb shell cmd overlay enable com.android.theme.icon_pack.filled.android
adb shell cmd overlay enable com.android.theme.icon_pack.filled.systemui
adb shell cmd overlay enable com.android.theme.icon_pack.filled.settings

禁用 filled 样式:
adb shell cmd overlay disable com.android.theme.icon_pack.filled.android
adb shell cmd overlay disable com.android.theme.icon_pack.filled.systemui
adb shell cmd overlay disable com.android.theme.icon_pack.filled.settings

启用 rounded 样式:
adb shell cmd overlay enable com.android.theme.icon_pack.rounded.android
adb shell cmd overlay enable com.android.theme.icon_pack.rounded.systemui
adb shell cmd overlay enable com.android.theme.icon_pack.rounded.settings

禁用 rounded 样式:
adb shell cmd overlay disable com.android.theme.icon_pack.rounded.android
adb shell cmd overlay disable com.android.theme.icon_pack.rounded.systemui
adb shell cmd overlay disable com.android.theme.icon_pack.rounded.settings

启用 circular 样式:
adb shell cmd overlay enable com.android.theme.icon_pack.circular.android
adb shell cmd overlay enable com.android.theme.icon_pack.circular.systemui
adb shell cmd overlay enable com.android.theme.icon_pack.circular.settings

禁用 circular 样式:
adb shell cmd overlay disable com.android.theme.icon_pack.circular.android
adb shell cmd overlay disable com.android.theme.icon_pack.circular.systemui
adb shell cmd overlay disable com.android.theme.icon_pack.circular.settings

如果你不喜欢圆形图标遮罩,可以把它改成方形的:

启用方形图标:
adb shell cmd overlay enable com.android.theme.icon.roundedrect

禁用方形图标:
adb shell cmd overlay disable com.android.theme.icon.roundedrect

启用圆角正方形:
adb shell cmd overlay enable com.android.theme.icon.squircle

禁用圆角正方形:
adb shell cmd overlay disable com.android.theme.icon.squircle

或是改成泪珠形的:

启用泪珠形:
adb shell cmd overlay enable com.android.theme.icon.teardrop

禁用泪珠形:
adb shell cmd overlay disable com.android.theme.icon.teardrop

*:我觉得这个叫水滴形貌似更好,但是pixel是这么叫的那我也沿用了

然后就是设置强调色:

启用 紫色:
adb shell cmd overlay enable com.android.theme.color.purple

禁用 紫色:
adb shell cmd overlay disable com.android.theme.color.purple

启用 褐色:
adb shell cmd overlay enable com.android.theme.color.cinnamon

禁用 褐色:
adb shell cmd overlay disable com.android.theme.color.cinnamon

启用 绿色:
adb shell cmd overlay enable com.android.theme.color.green

禁用 绿色:
adb shell cmd overlay disable com.android.theme.color.green

启用 深蓝色:
adb shell cmd overlay enable com.android.theme.color.ocean

禁用 深蓝色:
adb shell cmd overlay disable com.android.theme.color.ocean

启用 兰花紫:
adb shell cmd overlay enable com.android.theme.color.orchid

禁用 兰花紫:
adb shell cmd overlay disable com.android.theme.color.orchid

启用 灰色:
adb shell cmd overlay enable com.android.theme.color.space

禁用 灰色:
adb shell cmd overlay disable com.android.theme.color.space

若是不喜欢浮动通知也可以把它禁用掉:

禁用 浮动通知:
adb shell settings put global heads_up_notifications_enabled 0

恢复 浮动通知:
adb shell settings put global heads_up_notifications_enabled 1

发表评论

email
web

全部评论 (暂无评论)

info 还没有任何评论

Emoji

Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure in D:\Inetpub\wwwroot\sakura\templates\Cuckoo\includes\owo.php on line 46

Warning: file_get_contents(): Failed to enable crypto in D:\Inetpub\wwwroot\sakura\templates\Cuckoo\includes\owo.php on line 46

Warning: file_get_contents(https://www.sakurax.ml/templates/Cuckoo/assets/json/owo.json): failed to open stream: operation failed in D:\Inetpub\wwwroot\sakura\templates\Cuckoo\includes\owo.php on line 46

Warning: array_keys() expects parameter 1 to be array, null given in D:\Inetpub\wwwroot\sakura\templates\Cuckoo\includes\owo.php on line 48

Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure in D:\Inetpub\wwwroot\sakura\templates\Cuckoo\includes\owo.php on line 87

Warning: file_get_contents(): Failed to enable crypto in D:\Inetpub\wwwroot\sakura\templates\Cuckoo\includes\owo.php on line 87

Warning: file_get_contents(https://www.sakurax.ml/templates/Cuckoo/assets/json/owo.json): failed to open stream: operation failed in D:\Inetpub\wwwroot\sakura\templates\Cuckoo\includes\owo.php on line 87

Warning: array_keys() expects parameter 1 to be array, null given in D:\Inetpub\wwwroot\sakura\templates\Cuckoo\includes\owo.php on line 89