Android Wear を始めるに当たって、まず Android L のインストールから初めてみました。
現時点で Android L
をインストールして Wear デバイスをアウトドアに持ち出すには、Nexsus5 LTEを手に入れるしかありません。
という事で、 Nexsus5 SIM Free 版を Get です。
Android L のインストールガイドは以下のページです。
http://developer.android.com/preview/setup-sdk.html#top
手順を簡単に説明すると
1:Eclipse-ADT をインストールして、Android SDK Manager よりAndroid SDK Tools, Platform-tools, and Build-tools を最新にする。
2:Nexus 5 (GSM/LTE)のイメージをダウンロードする。
3:https://developers.google.com/android/nexus/images を読む
4:実機をUSBデバッグモードにしてUSB接続する。
5:Eclipse-ADT のsdk/platform-tools
にパスを通す。
PATH="$PATH:/Applications/adt-bundle-mac-x86_64/sdk/platform-tools/"
6:実機を reboot する
adb reboot bootloader
7:実機をに unlock コマンドを送って、ボリュームボタン上で、unlick状態にする。
fastboot oem unlock
8:Nexsus5のイメージをダウンロード解凍したフォルダに行って flash-all を実行する
cd hammerhead-lpv79/
./flash-all.sh
9:待つ。
sending 'bootloader' (2508 KB)...
OKAY [ 0.283s]
writing 'bootloader'...
OKAY [ 0.463s]
finished. total time: 0.747s
rebooting into bootloader...
OKAY [ 0.103s]
finished. total time: 0.103s
sending 'radio' (45505 KB)...
OKAY [ 1.615s]
writing 'radio'...
OKAY [ 3.115s]
finished. total time: 4.730s
rebooting into bootloader...
OKAY [ 0.093s]
finished. total time: 0.093s
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
archive does not contain 'tos.img'
Creating filesystem with parameters:
Size: 13725835264
Block size: 4096
Blocks per group: 32768
Inodes per group: 8144
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 3351034
Block groups: 103
Reserved block group size: 823
Created filesystem with 11/838832 inodes and 93654/3351034 blocks
Creating filesystem with parameters:
Size: 734003200
Block size: 4096
Blocks per group: 32768
Inodes per group: 7472
Inode size: 256
Journal blocks: 2800
Label:
Blocks: 179200
Block groups: 6
Reserved block group size: 47
Created filesystem with 11/44832 inodes and 5813/179200 blocks
--------------------------------------------
Bootloader Version...: HHZ11k
Baseband Version.....: M8974A-2.0.50.2.08
Serial Number........: 02fbd5e52108278d
--------------------------------------------
checking product...
OKAY [ 0.100s]
checking version-bootloader...
OKAY [ 0.098s]
checking version-baseband...
OKAY [ 0.100s]
sending 'boot' (8754 KB)...
OKAY [ 0.490s]
writing 'boot'...
OKAY [ 0.747s]
sending 'recovery' (9412 KB)...
OKAY [ 0.543s]
writing 'recovery'...
OKAY [ 0.785s]
erasing 'system'...
OKAY [ 1.066s]
sending 'system' (683564 KB)...
OKAY [ 21.614s]
writing 'system'...
OKAY [ 46.596s]
erasing 'userdata'...
OKAY [ 7.932s]
sending 'userdata' (137318 KB)...
OKAY [ 4.511s]
writing 'userdata'...
OKAY [ 9.145s]
erasing 'cache'...
OKAY [ 0.638s]
sending 'cache' (13348 KB)...
OKAY [ 0.630s]
writing 'cache'...
OKAY [ 1.072s]
rebooting...
finished. total time: 96.577s
10:終了