ラベル Nexus5 の投稿を表示しています。 すべての投稿を表示
ラベル Nexus5 の投稿を表示しています。 すべての投稿を表示

2015年3月7日土曜日

Android-007 lollipop化(Nexus5)

9.Nexus5 (LG-D821)lollipop編

前項の Android-006 root化(Nexus6) に引き続いてNexus5をlollipop Androidバージョン:5.0.1 ビルド番号:LRX22Cにアップデートした。
これは以前の Android-004 root化(EM01L) からの更新だ。

(1)メインパネル確認
 [Change]ボタンで、Your model type:アップデート前の現バージョンNexus5(LG-D821)とBuild:KOT49Hを選ぶ。

(1-1)ドライバ動作確認
 [Full Driver Installation Guide - Automatic + Manual]ボタンでStep4[Full Driver Test]が成功しない。理由は不明だが、メディアデバイス(MTP)にチェックを入れると、Success!と出た。

(2)メインパネルの[Flash Stock+Unroot]ボタンを押す。
 ここで、純正Stock ROMをFlashする。

(2-1)Factory imageは、[Recommended Settings]ボタンで選ばれたものを使用した。
 Settins:の'Force Flash Mode'にチェックが入った。このチェックによりどのような動作になるかは不明のまま[OK]を押して進む。

(2-2)Factory imageがダウンロードされる。
 ファイル名はhammerhead-lrx22c-factory-0f9eda1b.tgzで、解凍と展開が行われる。

(2-3)DOS窓が開いた。
 'bootloader','radio','boot','cache','recovery','system','userdata'の領域がFlashされていく。

(2-4)Flash Stockの成功。
 HAMMERHEAD: Android 5.0.1 - Build:LRX22Cが書き込めたようだ。

(3)メインパネルの[Root]ボタンを押す。
 ここでこんどはCustom Recoveryにチェックをいれた。

(3-1)Enjoy your rooted device ^_^がでた。

(4)NRT - Live Log
 このFlash Stock時の一連のログの記録。
Nexus Root Toolkit v2.0.4

Masterlists:
- LatestToolkitFiles.ini 3013
- AndroidDeviceListFull.ini 3013
- AndroidDeviceListFlash.ini 3013

HAMMERHEAD-HAMMERHEAD: Android 4.4.2 - Build: KOT49H

Live log initiated [2015-03-06]:

Information: Checking ADB Connectivity
adb devices
adb server is out of date.  killing...
* daemon started successfully *
List of devices attached 
MySerialNo device


Connectivity Status: ADB Device Connected
Information: Rebooting your device into bootloader mode...
adb reboot bootloader

Information: Checking Fastboot Connectivity
fastboot devices
MySerialNo fastboot

Connectivity Status: Fastboot Device Connected
Information: Rebooting your device...
Information: Waiting for your device...
Information: Device Detected
Information: Checking ADB/FASTBOOT Connectivity
adb devices
adb server is out of date.  killing...
* daemon started successfully *
List of devices attached 
MySerialNo device


fastboot devices

Connectivity Status: ADB Device Connected
Information: Rebooting your device into bootloader mode...
adb reboot bootloader

Information: Checking Fastboot Connectivity
fastboot devices
MySerialNo fastboot

Connectivity Status: Fastboot Device Connected
Launching flashstock.bat
Nexus Root Toolkit v2.0.4

Masterlists:
- LatestToolkitFiles.ini 3013
- AndroidDeviceListFull.ini 3013
- AndroidDeviceListFlash.ini 3013

HAMMERHEAD-HAMMERHEAD: Android 5.0.1 - Build: LRX22C

Live log initiated [2015-03-07]:

Information: Checking ADB/FASTBOOT Connectivity
adb devices

fastboot devices

Information: Checking ADB/FASTBOOT Connectivity
adb devices
List of devices attached 
MySerialNo device


fastboot devices

Connectivity Status: ADB Device Connected
Information: Rebooting your device into bootloader mode...
adb reboot bootloader

Information: Checking Fastboot Connectivity
fastboot devices
MySerialNo fastboot

Connectivity Status: Fastboot Device Connected
Information: Temporarily Booting modified boot.img to enable running privileged commands...
fastboot boot "C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data\Modified_Boot\modified_boot_hammerhead_5.0.1_LRX22C.img"

Information: Waiting for your device...
Information: Device Detected
Information: Pushing root files to your device...
adb push "C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data\Root_Files\busybox-signed.zip" "/sdcard/!ReadyToFlash/Root_Files/busybox-signed.zip"
adb server is out of date.  killing...
* daemon started successfully *

adb push "C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data\Root_Files\UPDATE-SuperSU-v2.46.zip" "/sdcard/!ReadyToFlash/Root_Files/UPDATE-SuperSU-v2.46.zip"

adb push "C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data\Root_Files\perm-recovery-signed.zip" "/sdcard/!ReadyToFlash/Root_Files/"perm-recovery-signed.zip"

adb push "C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data\Root_Files\openrecoveryscript" "/cache/recovery/openrecoveryscript"

Information: Rebooting your device into bootloader mode...
adb reboot bootloader

Information: Checking Fastboot Connectivity
fastboot devices
MySerialNo fastboot

Connectivity Status: Fastboot Device Connected
Information: Flashing Custom Recovery to RECOVERY partition...
fastboot flash recovery "C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data\Recovery_Custom\TWRP\openrecovery-twrp-2.8.5.2-hammerhead.img"

Information: Temporarily Booting TWRP...
fastboot boot "C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data\Recovery_Custom\TWRP\openrecovery-twrp-2.8.5.2-hammerhead.img"

Information: Rooting...
Information: Waiting for your device...
Information: Device Detected

(5)Root化の確認。



2014年2月19日水曜日

Android-004 root化(EM01L)

6.EMOBILE Nexus 5 (EM01L)編 [6/6]

GooglePlayの販売と同じMODEL LG-D821。
手持ちのEM01Lの履歴。
入手日2014年01月26日 ソフトウェアの番号:KOT49H Androidバージョン:4.4.2

(1)Google USB Driverのダウンロード
新型Nexus7(2013)のドライバインストール方法。
を見て、http://developer.android.com/sdk/win-usb.html から
latest_usb_driver_windows.zipをインストールする。

(2)Nexus5のブートローダーアンロック
Nexus5のブートローダーアンロック方法。
とても丁寧な解説でわかりやすい。

(3)カスタムリカバリ TWRPを導入
Nexus5にカスタムリカバリ TWRPを導入する方法。
とても丁寧な解説でわかりやすい。

(4)Nexus5のRoot化
Nexus5 Android4.4.1(KOT49E)のRoot化方法・手順
手持ちのEM01LはKOT49Hだったが、とくに問題はなくRoot化できた。 SuperSUは以下のバージョンを/sdcardに配置した。 MD5 (UPDATE-SuperSU-v1.91.zip) = f8ff8a15aea0fa196366d8bfb102d990 SuperSUを書き込むのと、バックアップのようす。

(5)番外コラム
rootを取るとTitaniumBackupで無効化と削除で不要アプリを整理できる。調子に乗ってどんどん消していくときで、Launcher系のアプリまでを無効にしてしまってHOME画面が立ち上がらないときには、以下のコマンドが役に立つかもしれない。
% adb shell
shell@hammerhead:/ $ am start -n com.keramidas.TitaniumBackup/.MainActivity
Starting: Intent { cmp=com.keramidas.TitaniumBackup/.MainActivity }
#実は、画面真っ黒になったことがあって、これでTitaniumを起動して回復することができました。(^^)