问题描述
解决方案
32bit GSI | signed-aosp_arm-user | |||
64bit GSI | signed-aosp_arm64-user | |||
CTS-on-GSI flash GSI
(Cannot have root permission) |
1. Flash MTK user full load and boot to home screen
2. Settings -> System -> Developer options -> OEM unlocking 3. "adb reboot bootloader" or "press volume up key + power key and select fastboot" 4. fastboot flashing unlock (press volumn up key) 5. fastboot reboot fastboot (Please do not select any option before flashing) 6. fastboot flash system system.img (Google signed GSI system.img) 7. fastboot flash system_a system.img (Google signed GSI system.img) (A/B load special, replace step 6) 8. fastboot flash system_b system.img (Google signed GSI system.img) (A/B load special, replace step 6) 9. fastboot reboot bootloader 10. fastboot flashing lock 11. fastboot reboot |
VTS flash GSI
(Need root permission) |
1. Flash MTK user full load and boot to home screen
2. Settings -> System -> Developer options -> OEM unlocking 3. "adb reboot bootloader" or "press volume up key + power key and select fastboot" 4. fastboot flashing unlock (press volumn up key) 5. fastboot flash boot boot-debug.img (Please get boot-debug.img from MTK load.) 6. fastboot reboot fastboot (Please do not select any option before flashing) 7. fastboot flash system system.img (Google signed GSI system.img) 8. fastboot flash system_a system.img (Google signed GSI system.img) (A/B load special, replace step 7) 9. fastboot flash system_b system.img (Google signed GSI system.img) (A/B load special, replace step 7) 10. fastboot reboot |
1. Flash MTK user full load
2. Boot to home screen
3. Settings -> System -> Developer options -> OEM unlocking
4. Reboot phone into fastboot mode by "adb reboot bootloader" or "press volume up key + power key"
5. Connect phone to PC and then type following commands
6. fastboot flashing unlock (press volumn up key)
7. fastboot erase system
For projects which don't have vbmeta partition, please use following step 8.
8. fastboot flash --disable-verification boot boot.img
For projects which have vbmeta partition, please use following step 8.
8. fastboot flash --disable-verification vbmeta vbmeta.img (vbmeta.img is MTK's vbmeta.img. Please get it from MTK load.)
9. fastboot flash system system.img (system.img is GSI.)
10. fastboot reboot
If the project enables A/B update feature, you need to change steps to flash system partition as below.
fastboot flash system_a system.img (system.img is GSI.)
fastboot flash system_b system.img (system.img is GSI.)