http://blog.csdn.net/gobitan/article/details/24367439
http://blog.csdn.net/gobitan/article/details/24792589。因此我是直接拷贝过去的。仅仅下载指定文件夹源代码的方法是我预计的,未经測试(已于2014-5-5測试成功):
http://blog.csdn.net/gobitan/article/details/24792589
export ANDROID_PRODUCT_OUT=/home/dennis/devenv/aosp/out/target/product/maguro
dennis@dubuntu1404:~$ adb devices List of devices attached 0146A0D00600900B device dennis@dubuntu1404:~$ adb reboot bootloader dennis@dubuntu1404:~$ fastboot flashall -w < waiting for device > -------------------------------------------- Bootloader Version...: PRIMEMD04 Baseband Version.....: I9250XXLJ1 Serial Number........: 0146A0D00600900B -------------------------------------------- checking product... OKAY [ 0.007s] sending 'boot' (4472 KB)... OKAY [ 0.587s] writing 'boot'... OKAY [ 0.681s] sending 'recovery' (5020 KB)... OKAY [ 0.659s] writing 'recovery'... OKAY [ 0.798s] erasing 'system'... OKAY [ 0.015s] sending 'system' (264925 KB)... OKAY [ 34.379s] writing 'system'... OKAY [ 30.739s] erasing 'userdata'... OKAY [ 0.418s] formatting 'userdata' partition... Creating filesystem with parameters: Size: 14539534336 Block size: 4096 Blocks per group: 32768 Inodes per group: 8144 Inode size: 256 Journal blocks: 32768 Label: Blocks: 3549691 Block groups: 109 Reserved block group size: 871 Created filesystem with 11/887696 inodes and 97200/3549691 blocks sending 'userdata' (137559 KB)... writing 'userdata'... OKAY [ 28.220s] erasing 'cache'... OKAY [ 0.016s] formatting 'cache' partition... Creating filesystem with parameters: Size: 452984832 Block size: 4096 Blocks per group: 32768 Inodes per group: 6912 Inode size: 256 Journal blocks: 1728 Label: Blocks: 110592 Block groups: 4 Reserved block group size: 31 Created filesystem with 11/27648 inodes and 3566/110592 blocks sending 'cache' (8832 KB)... writing 'cache'... OKAY [ 2.970s] rebooting... finished. total time: 99.523s dennis@dubuntu1404:~$
https://developers.google.com/android/nexus/images#takju,然后选择4.3 (JWR66Y)的link下载。然后解压,找到里面的system.img文件,然后从该文件里提取出ducati-m3.bin。
dennis@dubuntu1404:~$ adb root restarting adbd as root
dennis@dubuntu1404:~$ adb remount remount succeeded
dennis@dubuntu1404:~$ adb push ducati-m3.bin /vendor/firmware 3772 KB/s (4515868 bytes in 1.168s)
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/119112.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...