Skip to content

优化ADB自定义输入法并免杀后台 #16

@SUYUEM

Description

@SUYUEM

在[reccmost](https://github.com/hackxpeng/hackp5g9/issues/14)基础上精简一些步骤
设置默认,避免输入法被杀后台

  1. 使用adb功能,或者安装狮,mt等工具安装好你要的输入法,一定要先在车机安装好输入法。

  2. 输入法的代码( 服务类名)

微信:com.tencent.wetype/.plugin.hld.WxHldService
腾讯:com.tencent.qqpinyin/.QQPYInputMethodService
搜狗:com.sohu.inputmethod.sogou/.SogouIME
百度:com.baidu.input/.ImeService
讯飞:com.iflytek.inputmethod/.FlyIME
搜狗:com.sohu.inputmethod.sogou/.SogouIME
触宝:com.cootek.smartinput5/.TouchPalIME
车机自带:com.sinovoice.hcicloudinputvehicle/.service.HciCloudIME

3.操作步骤

#设置系统默认输入法

  1. adb shell ime enable com.baidu.input/.ImeService 激活输入法
  2. adb shell ime set com.baidu.input/.ImeService 设置输入法
    com.baidu.input/.ImeService(以百度输入法为例,代码上方自行对号入座)
    3.点击输入法图标,设置输入法为默认

#显示系统安装的输入法列表(确认一下是否启用)
adb shell ime list -s 已经启用的输入法(查包名,建议使用此命令)

#取消激活系统(车机)默认输入法
adb shell ime disable com.sinovoice.hcicloudinputvehicle/.service.HciCloudIME

完成!!enjoy!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions