Xiaomi 刷系统。
小米 Note:
http://www.miui.com/thread-18831512-1-1.html
如何线刷:
http://www.miui.com/shuaji-393.html
线刷工具选项错误:
http://bbs.xiaomi.cn/t-13302104
Google 全家桶:
如何选择不同的 suite:
https://github.com/opengapps/opengapps/wiki/Package-Comparison
结论:mini 是最合适的。
安装 Google 全家桶后闪退。查看 log:
1 | adb logcat *:E |
1 | 03-14 15:56:16.090 20886 20886 E WebViewFactory: Chromium WebView package does not exist |
所以就是 WebView 的问题,然后参考这个:
https://www.quora.com/How-do-I-enable-Android-system-web-view-in-Android-7
顺便回答了这个问题:
https://www.zhihu.com/question/63714089
输入法设置也闪退:
1 | 03-14 19:29:40.418 16063 16063 E AndroidRuntime: FATAL EXCEPTION: main |
https://github.com/opengapps/aosp_build/issues/116
说什么清了 data 然后重装 GBoard.
1 | adb shell ls -lR | grep inputmethod |
查看包名:
https://stackoverflow.com/questions/6289149/read-the-package-name-of-an-android-apk
1 | adb shell "pm list packages -f" |
重装:
https://stackoverflow.com/questions/12483720/adb-how-to-reinstall-an-app-without-retaining-the-data
1 | adb uninstall com.android.inputmethod.latin |
1 | adb shell pm clear com.android.inputmethod.latin |
好的上面这两个都是不行的。看来目前就只能 wipe data 然后重装。