I read precisely this far and got bored.
I don't use toolkits, so I'm no help to you.
Only happens when you unlock.
Some apps (like the one linked in the Returning to Stock without USB portion of this guide) allow you to unlock without wiping if you currently have root.
It will say locked.
I assume you're worrying about returning it or something of that manner...
We have no flags set on our devices upon restoration to factory defaults and locking.
Efrant makes excellent guides on this process. I recommend you check it out.
Unlocking the bootloader has no impact on your ability to receive or install OTA updates. And root has no impact either, as long as you don't change any of the system files. You also need to have the stock recovery in place, not CWM or TWRP.
I just got my Nexus 4. Already unlocked with your great guide, and now I'm about to root it.
I see that you posted the CWM 0.98 SuperSU to use for rooting, but there's an 1.04 version available. Can I use the newer version, or is there any problem or something else that could make me NOT use it, and installing the 0.98 instead ?
Thanks !! Your guide is awesome!
Rodrigo
Anyway of rooting without:
a. Unlocking the bootloader.
b. Flashing CWM.
I need a rooted stock (genuine) kernel.
(Hit Enter)
If your Command Prompt displays the message "waiting for device" your driver wasn't successfully installed.
Close the Command Prompt window and open Device manager while your phone is still plugged in. (Search for it using the search option).
Right Click the "Android" option and select Update Driver. Choose to "Browse My Computer" and "Let Me Pick From A List." Pick the Driver with the newest date and install it. Now retry the code above.
Your phone will ask if you want to unlock it. Select "Yes" by using the volume keys and use power to select it.
Now, navigate to "Recovery Mode" with the volume keys. Use power to select.
A screen with another Android will pop up. Press Volume Up and Power at the same time.
Select Factory Reset. This process may take a few minutes. Be patient and let it work.
Once finished, select "Reboot."
Your phone is now unlocked!
HELP!
At the bolded step below am I supposed to keep holding the Volume UP and Power together? If so, I did this and the phone keeps rebooting. When do I let go? If not, am I supposed to just press the Volume Up and Power button and immediately let go? If so, I did this and I go no further than the Android logo with a red triangle and an exclamation mark. Please HELP!
Thanks
adb reboot bootloader
fastboot oem unlock
adb reboot bootloader
fastboot flash recovery IMAGENAME.img
adb shell
su
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
mv /system/etc/install-recovery.sh /system/etc/install-recovery.bak
adb reboot bootloader
fastboot flash recovery FILENAME.img
adb pull /sdcard/ /sdcard/
adb backup -apk -noshared -all -nosystem
adb restore backup.ab
adb push sdcard /sdcard/
adb push NAMEOFZIP.zip /sdcard/NAMEOFZIP.zip
adb shell
su
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
exit
adb push framework-res.apk /system/framework/framework-res.apk
adb pull /sdcard/ /SDCARD/
adb push SDCARD /sdcard/