最近拿到一台KindleFire, 不可免俗的要學習刷機(flash ROM),
想要flash ROM 之前 必須先對Kindle Fire 的韌體做修改
讓KindleFire 不受Amazon限制, 能夠連上 Andoid Market/Google Play,
網搜後發現 首先要做的就是
Root - Rooting Kindle Fire, 拿回superUser/admin/root 的權力 ...
[" ... to attain privileged control (known as "root access") within Android's subsystem ..."]
0. 安裝 JDK 32bit 版本, Android SDK, Android NDK
1. 安裝 KFU(Kindle Fire Utility) 0.9.6 或更新的版本
[可從 xda-developers.com 下載] (有KFU 就無須Android SDK?)
2. 手動安裝 google USB driver for adb [讓電腦的adb 程式能透過 USB 控制 Android device ]
或者直接用KFU的install_drivers.bat
3. 在command prompt 下 adb devices 命令
確認 adb 已經認得 KindleFire
4. KFU -> run.bat
...
twrp.img is missing.
So we will download it for you!
...
fff.bin is missing.
So we will download it for you!
...
Installing FFF...
...
Setting Recovery Bootmode.
***********************************************
* Root Installed *
***********************************************
Permanent root has been installed.
With great power, comes great responsibility.
Please be careful with how you use root.
Press any key to continue . . .
//===
[手動安裝 google adb usb driver]
a. 用KindleFire附的 micro-USB線 連接電腦
Device Manger -> 找到對應的device
right-click -> Properties -> Details -> Property -> Hardware Ids
Kindle Fire USB hardware Id 應該長的類似
USB\VID_1949&PID_0006&REV_0216&MI_01
USB\VID_1949&PID_0006&MI_01
b. [android-sdk]\extras\google\usb_driver\
編輯 android_winusb.inf 檔案
在 [Google.NTx86] 與 [Google.NTamd64] 兩個區塊下
插入以下3 行
;Kindle Fire
%SingleAdbInterface% = USB_Install, USB\VID_1949&PID_0006
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0006&MI_01
c. 到 C:\Users\UserName\
.android\
或者 [androidSdk] 所在磁碟, 譬如說 D:\
.android
編輯 adb_usb.ini 檔案
輸入 0x1949
D:\> mklink /D .android C:\Users\Username\.android
或者
C:\Users\Username> mklink /D .android D:\.android
d. 更新對應的device driver (選擇目錄 [android-sdk]\extras\google\usb_driver\ ) ,
就會出現Android Phone - Adb Composite Interface
[ref]
http://en.wikipedia.org/wiki/Rooting_(Android_OS)
http://blog.the-ebook-reader.com/2012/02/21/kindle-fire-hacking-using-twrp-recovery-to-install-roms-and-backup/
http://liliputing.com/2012/05/how-to-root-a-kindle-fire-with-software-version-6-3-1.html
http://www.jayceooi.com/2011/12/13/how-to-install-kindle-fire-adb-usb-driver/
http://forum.xda-developers.com/showthread.php?t=1568340
http://forum.xda-developers.com/showthread.php?p=26733134
http://stackoverflow.com/questions/8347561/adb-cannot-detect-my-kindle-fire-on-windows-7-but-device-manager-can