1 Download
1.1 Factory Image
https://developers.google.com/android/images#ryu
1.2 Platform Tools
https://developer.android.com/studio/releases/platform-tools
1.3 Driver
platform | url |
---|---|
OEM USE Drivers | https://developer.android.com/studio/run/oem-usb |
Google USB Driver | https://developer.android.com/studio/run/win-usb |
https://dl.google.com/android/repository/usb_driver_r12-windows.zip |
1.4 Recovery
TWRP: https://twrp.me/Devices/
2 Command
2.1 fastboot
fastboot flashing unlock
# fix fastboot error :unsupported command
fwtool vbnv write dev_boot_fastboot_full_cap 1
fastboot flash recovery recovery.img
fastboot flash logo logo.bin
2.2 adb
adb reboot bootloader
adb reboot recovery
adb sideload rom.zip
adb push rom.zip /sdcard/0/
3 WLAN captive
# 7.0
settings put global captive_portal_server captive.v2ex.co
# 7.1+
settings put global captive_portal_https_url https://captive.v2ex.co/generate_204
4 Reference
- developer : https://developer.android.com
- lineageos : https://download.lineageos.org