nexusd5 android5.0 型号LRX210
感觉cf-auto-root对5.0好像不管用了???
于是用了新的软件:
工具软件”:http://fastspeedtest.com/nexusroottoolkit/files/NRT_v1.9.8.sfx.exe
首先会准备工具文件:
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data\Root_Files
这些文件会自动下载:
脚本文件的内容:
set tw_signed_zip_verify 0
install /sdcard/!ReadyToFlash/Root_Files/BETA-SuperSU-v2.23.zip
install /sdcard/!ReadyToFlash/Root_Files/busybox-signed.zip
让reovery烧入了这个,才算是root apk有了。
到这里下载 http://pan.baidu.com/wap/share/home?uk=2501691366&third=0 openrecovery-twrp-2.8.1.0-hammerhead.img
http://lx.cdn.baidupcs.com/file/2a2e91e7861aebf5138b9a13e7afb10a?bkt=p2-nj-749&xcode=7e7096a8f0a0c56ac6ffa9a496e11f38ea16d722ac7f500b0b2977702d3e6764&fid=2501691366-250528-249303032814972&time=1416715017&sign=FDTAXERB-DCb740ccc5511e5e8fedcff06b081203-0uR9IDOo0V9yJpAUwEYgOQHnFQk%3D&to=cb&fm=Nin,B,G,nc&sta_dx=14&sta_cs=12&sta_ft=img&sta_ct=4&newver=1&newfm=1&flow_ver=3&expires=1416715617&rt=sh&r=417265491&mlogid=879249436&sh=1&vuk=-&vbdid=1477732707&fin=openrecovery-twrp-2.8.1.0-hammerhead.img&fn=openrecovery-twrp-2.8.1.0-hammerhead.img
Live log initiated.
下面的打印,最开始我backup了一些内容,backup也是要烧录三个镜像文件使用的。
Information: Checking ADB Status
adb devices
List of devices attached
062390c30acd5e45 device
ADB Status: Device Connected
Information: Installing 'SMS Backup and Restore by Ritesh Sahu' to your device...
adb install "C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data\RS_BackupRestoreApps\com.riteshsahu.SMSBackupRestore-6.44.apk"
pkg: /data/local/tmp/com.riteshsahu.SMSBackupRestore-6.44.apk
Success
Information: Pulling "/sdcard/SMSBackupRestore/" from your device...
adb pull "/sdcard/SMSBackupRestore/" "F:\N5"
Information: Checking ADB Status
adb devices
List of devices attached
062390c30acd5e45 device
ADB Status: Device Connected
Information: Looking for latest contacts backup file...
adb shell ls /sdcard/*.vcf > "C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit/data/stored/_VCF.dat"
adb shell exit
Information: Checking ADB Status
adb devices
List of devices attached
062390c30acd5e45 device
ADB Status: Device Connected
Information: Rebooting your device into bootloader mode...
adb reboot bootloader
Information: Checking Fastboot Status
fastboot devices
062390c30acd5e45 fastboot
Fastboot Status: Device Connected
Information: Booting modified boot.img to enable running privileged commands...
fastboot boot "Information: Device Detected
Information: Pushing "APN_BackupAndRestore-signed.zip" to your device...
adb push "C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data\RS_BackupRestoreApps\APN_BackupAndRestore-signed.zip" "/sdcard/!ReadyToFlash/APN_BackupAndRestore-signed.zip"
adb push "C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data\stored\openrecoveryscript" "/cache/recovery/openrecoveryscript"
Information: Device Detected
Information: Pulling "/sdcard/ApnBackupRestore/" from your device...
adb pull "/sdcard/ApnBackupRestore/" "F:\N5"
Information: Checking ADB Status
adb devices
Information: Checking ADB Status
adb devices
List of devices attached
062390c30acd5e45 device
ADB Status: Device Connected
Information: Rebooting your device into bootloader mode...
adb reboot bootloader
Information: Checking Fastboot Status
fastboot devices
062390c30acd5e45 fastboot
Fastboot Status: Device Connected
Information: 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.0_LRX21O.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 push "C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data\Root_Files\BETA-SuperSU-v2.23.zip" "/sdcard/!ReadyToFlash/Root_Files/BETA-SuperSU-v2.23.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 Status
fastboot devices
062390c30acd5e45 fastboot
Fastboot Status: Device Connected
Information: Flashing Root Kernel...
fastboot flash boot "C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data\Root_Files\root_kernel_hammerhead_lrx21o.img"
Information: Booting TWRP Temporarily... 用这个东东,还是临时使用下,作为recovery 的镜像来启动:
fastboot boot "C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data\Recovery_Custom\TWRP\openrecovery-twrp-2.8.1.0-hammerhead.img"
执行root:
Information: Rooting...
Information: Waiting for your device...
Information: Device Detected
Information: Rebooting your device into bootloader mode...
adb reboot bootloader
Information: Checking Fastboot Status
fastboot devices
062390c30acd5e45 fastboot
Fastboot Status: Device Connected
Information: Booting TWRP Temporarily...
fastboot boot "C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data\Recovery_Custom\TWRP\openrecovery-twrp-2.8.1.0-hammerhead.img"
Information: Installing 'APN Backup and Restore by Ritesh Sahu' to your device...
Information: Waiting for your device...
Modified_Boot\modified_boot_hammerhead_5.0.0_LRX21O.img"
Information: Waiting for your device...
烧入了一个免费的busybox,可以打开这个apk装一下: