Posts

Showing posts from July, 2015

Nexus 6 刷 Android M

1. 下载 factory image 包 https://developers.google.com/android/nexus/images       (https://developer.android.com/preview/download.html) 2. 将下载的文件解压至 /home/xxxxxx/Android/Sdk/platform-tools 目录下      包含bootloader-xxx.img, radio-xxx.img, image-xxx.zip 等文件; 并将image-xxx.zip中的几个boot.img, cache.img, recovery.img, system.img, userdata.img等解压出来放在platform-tools 目录下 下面着手开始刷机 1. sudo -i 输入密码 切换root用户 2. cd  /home/xxxxxx/Android/Sdk/platform-tools 3. 确保Developer options已打开 (on )USB debugging已勾选    ./adb devices  如出现list of devices attached xxxxxxxxxx device 则说明已可以继续往下进行 (如第一次连接,手机上会弹出对话框, 勾选ok后再次输入上面的./adb devices 验证)  4. ./adb reboot bootloader 5. 验证 ./fastboot devices    出现 xxxxxxxxxx fastboot 6. ./fastboot oem unlock (如已解锁,可省略此步) 7. ./fastboot flash bootloader   bootloader-shamu-moto-apq8084-71.11.img 8. ./fastboot reboot-bootloader 9. ./fastboot flash radio radio-shamu-D4.01-9625-05.16+FSG-9625-02.94.img 10: ./fastboot reboot-bootloader  6-10 也可以用./flash-base.sh 来取代, 但之前要