[Nexus 4 Q&A, Help & Troubleshooting] Tylocost:
First of all, thanks to Wug for the great NRT tool! It's hugely useful!

Using the Nexus Root Toolkit version 2.0.4, I successfully rooted a 16GB Nexus4, but had less luck with my 8GB Nexus4; it gets unlocked, but the rooting doesn't go through. Both devices were running vanilla 5.0.1 and had never been unlocked or rooted before.

After a successful unlock, I check again the connectivity (on the Initial Setup section, step 4); then I go to "Root" and try to root it with the "Custom Recovery" checkbox marked. When trying to boot it, it does:

1.reboots the device into bootloader mode

2.boots it up with the modified img

3.pushes files to the device

4.reboots it again into bootloader mode

5.gets stuck on "Waiting for device" message.

I've done it again and again 4 times already, the driver tests go through successfully though, I don't know what's going on under the hood, and with the plethora of "easy rooting" guides available, I'm finding it hard to dig out good technical information to try and manually do what the program is trying to automate. I'd love to get some pointers here, if anybody got some.

thanks!

The log is here if it helps:

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

fastboot devices

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

Information: Checking Fastboot Connectivity
fastboot devices
018axxxxxxxxxxxxx	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_occam_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 push "C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data\Root_Files\UPDATE-SuperSU-v2.45.zip" "/sdcard/!ReadyToFlash/Root_Files/UPDATE-SuperSU-v2.45.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
018axxxxxxxxxxxxx	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.0-mako.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.0-mako.img"

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