Skip to content

Commit e7701ab

Browse files
committed
doc: 2.0
1 parent ff1a495 commit e7701ab

File tree

5 files changed

+92
-22
lines changed

5 files changed

+92
-22
lines changed

.github/workflows/ci_build.yml

+8
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ jobs:
3636
repository: libxposed/api
3737
path: libxposed/api
3838

39+
- name: Checkout libxposed/service
40+
uses: actions/checkout@v4
41+
with:
42+
repository: libxposed/service
43+
path: libxposed/service
44+
3945
- name: Setup Java
4046
uses: actions/setup-java@v4
4147
with:
@@ -56,6 +62,8 @@ jobs:
5662
echo 'android.native.buildOutput=verbose' >> ~/.gradle/gradle.properties
5763
cd api
5864
./gradlew publishToMavenLocal
65+
cd ../service
66+
./gradlew publishToMavenLocal
5967
6068
- name: Setup Java
6169
uses: actions/setup-java@v4

README.md

+41-10
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,52 @@
22

33
简体中文  |  [English](https://github.com/parallelcc/MiCTS/blob/main/README_en.md)
44

5-
小米系统桌面开启圈定即搜(Circle to Search)功能
5+
在任意Android 9–15设备上触发圈定即搜(Circle to Search)功能
66

7-
## 操作步骤
7+
*本应用只负责触发圈定即搜,无法处理触发成功后可能出现的问题*
88

9-
1. 安装最新版[Google](https://play.google.com/store/apps/details?id=com.google.android.googlequicksearchbox)应用,开启`自启动`权限,`省电策略`选择`无限制`
9+
## 使用方法
1010

11+
1. 安装最新版[Google](https://play.google.com/store/apps/details?id=com.google.android.googlequicksearchbox)应用,开启自启动,关闭后台限制,将默认助理应用设置为Google
1112

12-
2. 安装并启用模块,重启手机
1313

14+
2. 安装并打开MiCTS
15+
- 如果幸运的话,可以在不用root的情况下直接触发圈定即搜
16+
- 否则需要在LSPosed里激活模块,在MiCTS设置里开启`Google机型伪装`后,强制重启Google
17+
- 如果还是没有反应,尝试清除Google的数据,然后打开Google,再强制重启Google
1418

15-
3. 执行相应的动作触发
16-
- 如果是全面屏手势,需要在`桌面设置-系统导航方式`里,关闭`隐藏手势提示线`,之后长按底部小白条触发
17-
- 如果是经典导航键(三按钮),需要在`桌面设置-系统导航方式-按键快捷方式-长按Home键`里,选择`语音助手`,之后长按Home键触发
1819

20+
3. 设置触发方式
21+
- 打开MiCTS即可触发,因此可以利用其他软件,比如悬浮球、Xposed Edge、ShortX等,将动作设置为打开MiCTS,实现自定义触发方式
22+
- MiCTS提供了一个触发磁贴,可将其添加到快速设置面板里,通过点击磁贴触发
23+
- 对于小米设备,MiCTS内置了长按小白条触发和长按Home键触发的功能,可以在MiCTS设置里开启(安装MiCTS后需要激活模块并重启手机才能使用)
1924

20-
4. 如果没有反应,尝试执行以下选项后重试:
21-
-`设置-应用设置-右上角其他设置-默认应用设置-助手和语音输入-数字助理应用`里选择Google
22-
- 在Google的应用信息里`清除全部数据`,再打开Google,再到应用信息里`结束运行`并开启`自启动`
25+
## 设置
26+
27+
### 进入设置的方式
28+
- 长按MiCTS应用图标,出现设置选项,点击进入
29+
- 从LSPosed模块页面,点击MiCTS,再点击设置图标进入
30+
- 长按快速设置面板的磁贴进入
31+
32+
### 应用设置
33+
- 默认触发延迟:通过打开MiCTS触发的延迟
34+
- 磁贴触发延迟:通过点击快速设置面板的磁贴触发的延迟
35+
36+
### 模块设置
37+
需要在LSPosed里激活模块
38+
- 系统触发服务:触发所使用的系统服务,只会显示当前支持的选项,依赖作用域选择系统框架
39+
- VIS:支持Android 9–15,需要将默认助理应用设置为Google,触发时屏幕边缘会闪,没有激活模块的情况下只能使用此服务
40+
- CSHelper:支持Android 14 QPR3及以上,不需要设置默认助理应用,触发时屏幕边缘不会闪
41+
42+
43+
- 长按小白条触发:仅支持小米设备,依赖作用域选择系统桌面
44+
45+
46+
- 长按Home键触发:仅支持小米设备,依赖作用域选择系统框架
47+
48+
49+
- Google机型伪装:依赖作用域选择Google
50+
- 制造商:修改Google读取到的ro.product.manufacturer
51+
- 品牌:修改Google读取到的ro.product.brand
52+
- 型号:修改Google读取到的ro.product.model
53+
- 设备:修改Google读取到的ro.product.device

README_en.md

+41-10
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,52 @@
22

33
[简体中文](/README.md)  |  English
44

5-
Enable Circle to Search for Xiaomi System Launcher / POCO Launcher
5+
Trigger Circle to Search on any Android 9–15 device
66

7-
## Usage
7+
*This app only aims to triggers Circle to Search and cannot handle issues that may occur after triggering successfully*
88

9-
1. Install the latest version of [Google](https://play.google.com/store/apps/details?id=com.google.android.googlequicksearchbox). In Google's `App info`, turn on `Autostart` if it exists and select `No restrictions` in `Battery saver`
9+
## How to Use
1010

11+
1. Install the latest version of the [Google](https://play.google.com/store/apps/details?id=com.google.android.googlequicksearchbox), enable auto-start, disable background restrictions, and set Google as the default assistant app
1112

12-
2. Install and enable the module, restart your phone
1313

14+
2. Install and launch MiCTS
15+
- If you're lucky, Circle to Search can be triggered directly without root
16+
- Otherwise, activate the module in LSPosed, enable `Device Spoof for Google` in the MiCTS settings, and force restart Google
17+
- If it still doesn't work, try clearing Google’s data, then launch Google and force restart it
1418

15-
3. Perform the action to trigger
16-
- For `Gesture`, turn off `Hide full screen indicator` in `Home Screen Settings - System Navigation`, and then long press the navigation handle at the bottom to trigger
17-
- For `Buttons`, select `Launch Google Assistant` in `Home Screen Settings - System Navigation - Button shortcuts - Long press the Home button`, and then long press the home button to trigger
1819

20+
3. Set up the trigger method
21+
- Launching MiCTS will trigger, so you can use other apps like Quick Ball, Xposed Edge, ShortX, etc., set launching MiCTS as the action to customizing the trigger method
22+
- MiCTS provides a trigger tile, so you can add it to the Quick Settings panel and trigger by clicking it
23+
- For Xiaomi devices, MiCTS has built-in support for `Trigger by long press gesture handle` and `Trigger by long press home button`, which can be enabled in the MiCTS settings (need to activate the module and restart phone after installing MiCTS)
1924

20-
4. If it doesn't work, try performing the following options and then retry:
21-
- select Google in `Settings - Apps - Manage apps - Other Settings in the upper right corner - Default apps - Assist & voice input - Digital Assistant App`
22-
- `Clear all data` in Google's `App info`, open Google, then go back to `App info`, `Force stop` and turn on `Autostart` if it exists
25+
## Settings
26+
27+
### How to enter Settings
28+
- Long press the MiCTS app icon to show the Settings option, then click to enter
29+
- From Modules page in LSPosed, click MiCTS, then click the settings icon to enter
30+
- Long press the Quick Settings panel tile to enter
31+
32+
### App Settings
33+
- Default trigger delay: The delay when triggering by launching MiCTS
34+
- Tile trigger delay: The delay when triggering by the Quick Settings panel tile
35+
36+
### Module Settings
37+
Need to activate the module in LSPosed
38+
- System trigger service: The system service used by triggering. Only the services supported will be shown. Need to add System Framework to the scope in LSPosed
39+
- VIS: Supports on Android 9-15. Need to set Google as the default assistant app and the screen edge will flash when triggering. If the module is not activated, only this service will be used
40+
- CSHelper: Supports on Android 14 QPR3 and above. Don’t need to set Google as the default assistant app and the screen edge will not flash when triggering
41+
42+
43+
- Trigger by long press gesture handle: Only supports on Xiaomi devices. Need to add System Launcher/POCO Launcher to the scope in LSPosed
44+
45+
46+
- Trigger by long press home button: Only supports on Xiaomi devices. Need to add System Framework to the scope in LSPosed
47+
48+
49+
- Device Spoof for Google: Need to add Google to the scope in LSPosed
50+
- Manufacturer: Modify the `ro.product.manufacturer` value that Google reads
51+
- Brand: Modify the `ro.product.brand` value that Google reads
52+
- Model: Modify the `ro.product.model` value that Google reads
53+
- Device: Modify the `ro.product.device` value that Google reads

app/src/main/res/values-zh/strings.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<resources>
22
<string name="tile_label">圈定即搜</string>
3-
<string name="xposed_description">小米系统桌面开启圈定即搜(Circle to Search)功能\nGitHub @parallelcc</string>
3+
<string name="xposed_description">在任意Android 9–15设备上触发圈定即搜(Circle to Search)功能</string>
44
<string name="title_activity_settings">设置</string>
55

66
<string name="trigger_failed">触发失败!</string>

app/src/main/res/values/strings.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<resources>
22
<string name="app_name" translatable="false">MiCTS</string>
33
<string name="tile_label">Circle to Search</string>
4-
<string name="xposed_description">Enable Circle to Search for Xiaomi System Launcher / POCO Launcher\nGitHub @parallelcc</string>
4+
<string name="xposed_description">Trigger Circle to Search on any Android 9–15 device</string>
55
<string name="title_activity_settings">Settings</string>
66

77
<string name="trigger_failed">Trigger failed!</string>

0 commit comments

Comments
 (0)