问题描述
解决方案
*************************************************
MTK Feature Options GSI system.imgMTK_K64_SUPPORT=yes
MTK_AB_OTA_UPDATER=yes arm64_ab
MTK_K64_SUPPORT=yes
MTK_AB_OTA_UPDATER=no arm64_a
MTK_K64_SUPPORT=no
MTK_AB_OTA_UPDATER=no arm_a
MTK_K64_SUPPORT=no
MTK_AB_OTA_UPDATER=yes arm_ab
刷入GSI GoogleIMG的方法如下:
Use fastboot (USER / USERDEBUG load)
Phone must be unlocked before flashing GSI system.img because dm-verity is enabled in user and userdebug build.
1. MTK User load boot up to home screen
2. Please enable OEM unlocking in settings (开发者选项中设置)
3. Please enable USB debugging in settings(开发者选项中设置)
4. Press Volume up key + power key into fastboot mode,suggest to use "adb reboot bootloader"(客户手机如果不知道怎么进fastboot mode, 就输入ADB指令adb reboot bootloader)
5. Connect phone to PC, input “fastboot flashing unlock”(CMD界面中下这条命令,这里需要按一下音量上键)
6. fastboot flash system system.img (CMD界面中下这条命令,找到对应的img.查看方法:Load 版本信息里面会有一个GOogleimage包的日期,例如0205,就找对应的IMG0205system_aosp_arm_a_20180205,找与这个日期对应或者是最接近的)
7. fastboot reboot (CMD界面中下这条命令)
1 |
$ sudo apt-get install python-dev |
2) 安装 Protocol Buffer 工具
1 |
$ sudo apt-get install python-protobuf |
1 |
$ sudo apt-get install protobuf-compiler |
3) 安装 Python 虚拟环境相关工具
1 |
$ sudo apt-get install python-virtualenv |
1 |
$ sudo apt-get install python-pip |
如遇到vts跑不下去,或者遇到如下报错:Failed to create virtualenv
sudo apt-get install python-protobuf
sudo apt-get install protobuf-compiler
sudo apt-get install python-virtualenv
sudo apt-get install python-pip
2)配置环境变量,“C:\Python27\;C:\Python27\Scripts”
3)在命令行用如下指令安装Phyon组件:
pip install virtualenv & pip install future & pip install futures & pip install enum & pip install concurrent & pip install protobuf & pip install setuptools & pip install requests & pip install httplib2 & pip install google-api-python-client & pip install google-cloud-pubsub
1、更换到linux环境下是否正常;2、Python是否有更新;3、SDK是否有更新;
三、注意测试条件的检查
1、是否有插SIM卡?
根据以上资讯提醒,无法解决问题,请提交eService给MTK by case具体分析。