yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Q&A, Help & Troubleshooting] QA Bot:
[Q&A] [Toolkit] Wug's Nexus Root Toolkit v1.9.3 [Updated 10/28/14]: Nexus 4 Thread

Q&A for [Toolkit] Wug's Nexus Root Toolkit v1.9.3 [Updated 10/28/14]: Nexus 4 Thread

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [Toolkit] Wug's Nexus Root Toolkit v1.9.3 [Updated 10/28/14]: Nexus 4 Thread. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[Nexus 4 Q&A, Help & Troubleshooting] feverhotsam:
WugFresh for Android 5.0 Lollipop Factor Images

Hi,

Jut wanted to know if WugFresh is compatible to flash Factory Lollipop Images of all Nexus Phones?
[Nexus 4 Q&A, Help & Troubleshooting] Calrritos:
me too.

mine has been trying to start minutes. Now the program does not recognize me when trying to reinstall 4.4.4
[Nexus 4 Q&A, Help & Troubleshooting] IvoCardoso:
CM11 to Lollipop using nexus root toolkit

Hi,

I'm running CM11 from the CM installer and wanted to know if it's possbile to use the toolkit to install lollipop and unroot it, to put it like OEM and able to receive future OTA's. If this is possible what build do I choose in the toolkit ? My device says 4.4.4 KTU84Q and in front it has a CM build number.

Thanks
[Nexus 4 Q&A, Help & Troubleshooting] mk1mini:
boot loop issue

Im having the bootloop issue. I can't get into TWRP from recovery. I tried using NRT v1.9.6 to boot to TWRP and it but it wouldn't connect (ADB), so I used Boot Temporary and did a factory reset and wiped cache. Now did a 'Back to Stock' soft bricked recovery to 5.0 but still no joy. Help please!
[Nexus 4 Q&A, Help & Troubleshooting] shastri91:
bootlooping nexus 4 after flashing lollipop factory image wugs nexusroottoolkit 1.9.6

i tried going into to recovery mode ,but i only see android guy with red triangle and i tried

Press the Power button to restart into Recovery mode. You'll see an image of an Android robot with a red exclamation mark and the words "No command."

While holding down the Power button, press the Volume Up button.

but after doing this i am stuck in a blank screen ..some one plz help me
[Nexus 4 Q&A, Help & Troubleshooting] shastri91:
5.0 bootlooping solved nexus 4

if ur struck in bootlooping after flashing factory image 5.0 on wugs nexus 4 roottoolkit 1.9.6.

solution

boot into fastboot using POWER and VOLUME DOWN ..connect your device ,the pc will detect the device as ADB device .

then open nexus root toolkit

just click on unlock and follow the steps, twrp will be installed .

perform factory reset and wipe cash .

re boot the device .it takes 8-10min ....
[Nexus 4 Q&A, Help & Troubleshooting] BxingFetus:
Hey Wug, I just noticed the quick boot app supplied in the rooting procedure doesn't seem to work, you tap the icon it triggers superuser but then does nothing. Anyone else notice this? It's stock lollipop.
[Nexus 4 Q&A, Help & Troubleshooting] nick2503:
Flashing android 5.0

This is a very great toolkit! Can you please tell me whether i can flash android lollipop using this toolkit! Is this toolkit updated so that i can flash 5.0 on my Nexus 4 just like i did for my kit kat update!
[Nexus 4 Q&A, Help & Troubleshooting] OcalaFlGuy:
Upgrading N4 to Lollipop without losing data

Personally I skipped the Unroot part and upgraded fine. The rest was as you described.

Although it sure needs much time and some reboots to complete the process.

If anyone wants to keep his data and just upgrade to Lollipop, should flash stock img files in this order: radio, bootloader, boot and system.

I am using Win 8.1 btw.

I saw this in the Wugs tool kit thread.

I really don't want to have to do a full back up and restore of everything. I am very much a root nOOb and probably would have not

rooted without the tool kit.

Can someone please type very slowly for this nOOb and tell me how, using the Wugs kit to do the above, ie; Flash the stock img files

in the order listed above?

Much thanks in advance,

Bruce in Ocala, Fl
[Nexus 4 Q&A, Help & Troubleshooting] nick2503:
Noob reply!

What i did for my kitkat update was

1. Keep a nandroid backup of the phone through recovery & backup of all the data

2. Because you unlocked the bootloader you are not gonna lose any data

3. connect your device to computer and check whether it is connected using the command 'adb devices'

4. If it shows you some device is connected a serial number you are good to go

5. use the option flash stock + unroot and follow the onscreen instructions

6. Then root your device using the root option and flash a custom recovery! It by default gives the first option to flash CWM but if you want to switch to other recoveries then you can use the apps like 'flashify' after you turn on your phone

I will probably try to flash android 5.0 today because my exams getting over so i will keep you updated with the procedure if i'm able to do it
[Nexus 4 Q&A, Help & Troubleshooting] ariesgodofwar:
I used the toolkit to flash 5.0, HOWEVER, when you flash the images, YOU WILL BOOTLOOP. To fix this, you need to reboot into the Bootloader (Vol Down + Power), select Recovery. then press Pwr + Vol Up, and Factory wipe your device. When you reboot, it will take a bit of time, but it will reboot. Perhaps [MENTION=3110798]WugFresh[/MENTION] could add a script to factory wipe for the N4 after a flash, as more than a few have bootlooped their devices and freaked out not realizing the simple fix?
[Nexus 4 Q&A, Help & Troubleshooting] nick2503:
factory wipe!!!!!

Will i lose my internal storage when i perform a factory wipe?
[Nexus 4 Q&A, Help & Troubleshooting] WugFresh:
Way ahead of you ;) there is a new feature in v1.9.8. Check the toolkits options menu. The feature is called "Post-Flash Factory Reset". Enable that to have NRT auto boot you into stock recovery post flash and instruct the user how to factory reset.

{{ WugFresh }}
[Nexus 4 Q&A, Help & Troubleshooting] WugFresh:
Yes. However, in stock recovery you could try just "wipe cache" instead of "factory reset". Then you won't loose data, but it might not work. Worth a shot though.

{{ WugFresh }}
[Nexus 4 Q&A, Help & Troubleshooting] ariesgodofwar:
You are da man! Awesome. I just updated to 1.9.8 last night, and had not had a chance to play around with it. Is there a note, or is it on by default for the N4 so users realize this? I did not run into this issue with my Gen 1 or Gen 2 N7's upgrading, so do not think it was necessary for them, but for the N4 it seems to be.

Saw your comment about just wiping cache, and would be interested to know if that works. Might give it a try, to test as that is certainly preferable to a Factory Reset.
[Nexus 4 Q&A, Help & Troubleshooting] WugFresh:
I did not default it, or make a note for it. I really don't like hardcoding these exceptions, especially when I don't know if google will fix it in the next version. That said, I think a note might be a good idea if this is happening all the time on N4. I will put one in (conditionally for this build) in v1.9.9.

Yes, please test that if you get a chance.

{{ WugFresh }}
[Nexus 4 Q&A, Help & Troubleshooting] ariesgodofwar:
[MENTION=3110798]WugFresh[/MENTION] I tested tonight, you were right. A factory reset is not necessary, just wiping the cache partition after flashing does the trick and will take it out of bootloop.
[Nexus 4 Q&A, Help & Troubleshooting] nick2503:
Flashing 5.0 using Flash + Stock option

I just did flash my stock 5.0 image! A very easy to use interface by wugfresh! Simple with onscreen instructions! Read and follow them......probably wont end up messing with your device!

Backup of all your files is recommended!

A backup is necessary because in my case when i flashed the image is when it wiped the entire Internal Storage! I did not enter a bootloop or any other issues!

Though to avoid any issues I did a factory reset and Cache wipe! Becasue anyways my DATA was wiped completely!

Thought to share this.......great for newbies who wanna flash stock and root it easily!
[Nexus 4 Q&A, Help & Troubleshooting] Grz3chu:
Nexus 4 unbricking

i had problems with my nexus system since cm11 snapshot 10 (self rebooting etc.) so i decide to ultimate format all my data by doing that:

Wipe data/factory reset

Wipe cache partition

Mount and storage>Format/system

Mount and storage>Format/data

Mount and storage>Format cache

Mount and storage>Format sdcard

Advenced>Wipe dalvik cache

So i have a problem because i cant turn my device into usb debugging mode.

I would like to know if I can save my phone ? :(

fastboot mode on

lock state - unlocked

in recovery\advanced\restart bootloader it says "root access is missing. root device ?" so i choose yes

(sorry for my english)
[Nexus 4 Q&A, Help & Troubleshooting] ariesgodofwar:
Yes, if you can get into the boot loader, you would be able to use the Wug's Toolkit's Flash Stock +Unroot function, and then select the Soft-Bricked/Bootloop option. It will flash your device with the stock images in the Bootloader, so you do not need to have USB Debugging turned on. After you flash, your device will look like it is booting, but it will not. Power Off, Hold Vol Down + Power, and you will be in Stock Recovery. (Android with a triangle sign above him) Press Pwr and Vol Up, and then select to Wipe Cache from the options, then reboot. Your device should then boot properly, but will take a few min.
[Nexus 4 Q&A, Help & Troubleshooting] distena:
I have the same problem. I flashed with wugfresh stock 4.4.4 from 5.0 then got bootloop. I can't get in the recovery( I'm stuck with the red triangle robot). What to do? Thanks.

Finally I got it boot. Thanks a million.
[Nexus 4 Q&A, Help & Troubleshooting] Grz3chu:
recovery mode just works. i can't reboot my device to bootloader so...?
[Nexus 4 Q&A, Help & Troubleshooting] ariesgodofwar:
What do you mean you cannot reboot to the bootloader? If you power your N4 off, and then hold Vol Down and power, that is the bootloader. You have to go through it in order to get to the stock recovery. You are on the stock recovery, right? Not TWRP or anything?

Just hold Vol Down and Pwr, and then plug your N4 into a laptop (You will get an android laying down with an exclamation point sign), and open Nexus Root Tool Kit.
[Nexus 4 Q&A, Help & Troubleshooting] Grz3chu:
clockworkmod

when i click unroot and flash stock it says "rebooting your device to bootloader" and nothing happens at all
[Nexus 4 Q&A, Help & Troubleshooting] ariesgodofwar:
Are you selecting the option for "Soft Bricked/Bootloop" (and already have your device at the Fastboot Menu when you plug in?)

What are you doing on your device when you plug it in? It should not be in CWM Menu, it should be at the Fastboot/Bootloader, which is the one that lists your device name, serial number, that your bootloader is unlocked, etc.

If you are in CWM Recovery when you are trying to do this, it will not work. Give that a try and report back.
[Nexus 4 Q&A, Help & Troubleshooting] sniparsfan:
Everytime I try to Flash Stock + Unroot, it stops at Hashcheck. I updated the other files like it told me too, but it keeps stopping. What's wrong?
[Nexus 4 Q&A, Help & Troubleshooting] Grz3chu:
problem with root

So i unlocked my device, then rooted it and flash cwm\supersu by chainfire/busy box and everything seems just fine but in recovery mode when i click reboot system now it says all the time:

Root access possibly lost. fix ?

-no

-yes - fix root (/system/xbin/su)

and i can't copy files from my pc to phone. but when i download some apps from store it grants supersu access...

soryy for my english
[Nexus 4 Q&A, Help & Troubleshooting] jok3r.card:
5.0.1 bootloop

Hi, just reporting in

Went from 4.4.4 to 5.0.1 with the toolkit 1.9.9 and got stuck in a bootlop. I tried turning the phone off and factory resetting in stock recovery (after flash stock+unroot). it booted up in minutes after that and is now working

cheers
[Nexus 4 Q&A, Help & Troubleshooting] nick2503:
5.0.1 from 5.0

Did anyone try to ugrade form 5.0 to 5.0.1 & got the data wiped out completely? Is it still ncessary to perform a factory reset?
[Nexus 4 Q&A, Help & Troubleshooting] pixelsfarm:
Yesterday I flashed the 5.0.1 factory image over 5.0, with the keep data option checked. No problems so far. But I had to re-root but that's to be expected :)
[Nexus 4 Q&A, Help & Troubleshooting] ksfno1:
I would really appreciate if you could clarify which menu/button of Nexus Root Toolkit is used for flashing 5.0 system.img and boot.img ;)
[Nexus 4 Q&A, Help & Troubleshooting] AndyShutler:
More details on changing the boot image

Hi,

I have just used the NRT 1.9.9 and its the first time I have found such a easy method for rooting a Nexus device. Great job!

I read your FAQ on how it works and wondered if you could give more details on how you recompile the boot image so that you can create the openrecoveryscript file in the cache directory? If you are able to give an explanation on this or point me to somewhere that gives that info I would really appreciate it.

Cheers
[Nexus 4 Q&A, Help & Troubleshooting] swapras:
Extracting taking too long

I wanted to unroot and re-lock bootloader of my Nexus 4. I went through the procedures of one of the tutorials on the website. But on the way I couldn't update the software with the factory image file I wanted. So I download the file and matched the MD5. Now it starts to extract the package and it's stuck on this step for a very long time, half an hour. Should I let it extract or stop it somehow. I downloaded 5.0.1 factory image.
[Nexus 4 Q&A, Help & Troubleshooting] snman31:
Password in TWRP

Hello, I used the Root Toolkit to go from 5.0 to 5.0.1 on my stock unlocked rooted Nexus 4. It worked just fine using the no-wipe method to update the OS, but then when I tried to root I encountered a problem. The temporary instance of TWRP asks for a password. I can cancel out to the main TWRP menu, but then the NRT never takes over again (it sticks at waiting for device.)

Any thoughts?
[Nexus 4 Q&A, Help & Troubleshooting] M1k@:
nandroid - restore specific files

Hi.

I wiped my phone to load 5.0.1. I've restored all my apps, but some ring tones are missing. I did the nandroid BU w custom recovery first. Can someone tell me how to restore just the missing ringtones?

Thanks.
[Nexus 4 Q&A, Help & Troubleshooting] Crow1336:
No Wipe Mode

Has the No Wipe option disappeared from NRT v 2.0.0? I've looked all over and can't seem to find it. If it is there I'm sorry but I can't find it. Any help would be appreciated. Thanks.
[Nexus 4 Q&A, Help & Troubleshooting] jd1639:
No wipe option to do what?
[Nexus 4 Q&A, Help & Troubleshooting] Crow1336:
NRT 2.0.0

I can't seem find the toggle for No Wipe mode for Flash Stock and Unroot. It used to be in the Options menu in the menu bar at the top. Thanks.

---------- Post added at 07:11 PM ---------- Previous post was at 06:58 PM ----------

Nevermind. I found it. The No Wipe Mode moved from the Options menu at the top to within the Flash Stock and Unroot choices. Sorry for any confusion.
[Nexus 4 Q&A, Help & Troubleshooting] deepblue_gr:
my phone doesnot boot after trying to restore stock rom .

what can i do?usb debugging is disabled.
[Nexus 4 Q&A, Help & Troubleshooting] jd1639:
Flash the factory image with fastboot. If it fails let us know where.
[Nexus 4 Q&A, Help & Troubleshooting] deepblue_gr:
everything ok!!!! thx!!!!
[Nexus 4 Q&A, Help & Troubleshooting] RASTAVIPER:
First post should be updated with latest version.
[Nexus 4 Q&A, Help & Troubleshooting] DrBergie:
Problems getting ROM ZIP flashed

Hi, I used Nexus root kit to root and flash a custom rom on my Nexus 4 a few months ago. Everything worked fine. I didn't use Nexus Root Tool kit since then, and started it up today. It installed a few updates. It asked me again what device I was using, and I selected Nexus 4 and CUSTOM ROM (LG E960) - KK from the list. (I am running AICP ATM.)

I downloaded a new Rom, and wanting to flash it on the device I selected Adavanced utilities and clicked on Flash zip... I then get a message saying there is no modified boot.img available for my build.

I guess I am missing something small, as my experience with Nexus Root Kit is quite limited.

Any help would be appreciated though.
[Nexus 4 Q&A, Help & Troubleshooting] RASTAVIPER:
If you just want to flash another Rom, why don't you do it through custom recovery?

It's the easiest way.
[Nexus 4 Q&A, Help & Troubleshooting] weaselskhs:
Awesome Tool kit. very user friendly and easy to use and has saved my bacon allready.
[Nexus 4 Q&A, Help & Troubleshooting] pituca292:
I can't hear anything on calls, just on speakerphone (people on call can listen to me), after flash lollipop 5.0.1 on my nexus 4, any tips?
[Nexus 4 Q&A, Help & Troubleshooting] RASTAVIPER:
Reflash the Rom or try another one.
[Nexus 4 Q&A, Help & Troubleshooting] paolomatador:
Can't Root

Hi to All, I just upgraded (via OTA) my Nexys 4 to 5.0.1 and trying to Root With the Toolkit (2.0.5) but it stucks on "Waiting for device".

Typically it tryes to reboot on recovery but it seems it stay on standard recovery and doing nothing.

So I have to choice what to do (start, bootloader or anything else) and the procedure goes on, but doing nothing.

Here's the log, if can help:

Nexus Root Toolkit v2.0.5

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

OCCAM-MAKO: Android 5.0.1 - Build: LRX22C

Live log initiated [2015-03-30]:

Information: Getting Device Properties...
Information: Getting Device Properties...
Information: Getting Device Properties...
Information: Getting Device Properties...
Information: Checking ADB Connectivity
adb devices
List of devices attached
00a3c19a0b91512a	device

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

Information: Checking Fastboot Connectivity
fastboot devices
00a3c19a0b91512a	fastboot

Connectivity Status: Fastboot Device Connected
Information: Rebooting your device...
Information: Waiting for your device...
Information: Device Detected
Information: Device Detected
Information: Pushing root files to your device...
adb push "C:\Program Files\WugFresh Development\data\Root_Files\busybox-signed.zip" "/sdcard/!ReadyToFlash/Root_Files/busybox-signed.zip"

adb push "C:\Program Files\WugFresh Development\data\Root_Files\UPDATE-SuperSU-v2.46.zip" "/sdcard/!ReadyToFlash/Root_Files/UPDATE-SuperSU-v2.46.zip"

adb push "C:\Program Files\WugFresh Development\data\Root_Files\perm-recovery-signed.zip" "/sdcard/!ReadyToFlash/Root_Files/"perm-recovery-signed.zip"

adb push "C:\Program Files\WugFresh Development\data\Root_Files\openrecoveryscript" "/cache/recovery/openrecoveryscript"

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

Information: Checking Fastboot Connectivity
fastboot devices
00a3c19a0b91512a	fastboot

Connectivity Status: Fastboot Device Connected
Information: Flashing Custom Recovery to RECOVERY partition...
fastboot flash recovery "C:\Program Files\WugFresh Development\data\Recovery_Custom\CWM\recovery-clockwork-touch-6.0.4.7-mako.img"

Information: Temporarily Booting TWRP...
fastboot boot "C:\Program Files\WugFresh Development\data\Recovery_Custom\TWRP\openrecovery-twrp-2.8.5.2-mako.img"

Information: Rooting...
Information: Waiting for your device...
Information: Device Detected
[Nexus 4 Q&A, Help & Troubleshooting] paolomatador:
Since I upgraded my nexus 4 to 5.0.1 I'm not able anymore to root with the toolkit. In particular the fastboot boot does nothing and the standard bootloader waits forever. I've tried from different laptops but same result. What am I wrong?

Solved: just the bootloader wasnt unlocked.
[Nexus 4 Q&A, Help & Troubleshooting] russells.android:
is it possible to root + flash twrp nexus 4 with the latest 5.1 update with this? thank you very much.
[Nexus 4 Q&A, Help & Troubleshooting] ariesgodofwar:
Yes, I am running stock 5.1 rooted with TWRP now. Until the images come out, you can sideload the OTA via ADB (Go to Advanced in the Toolkit, and then Sideload OTA). Once you get 5.1 sideloaded, then just go in and root like you normally would. Until it gets updated, Wug will not recognize 5.1 so will not have a 5.1 specific file, so make sure that you have the version set to *.* which will then push files which will work on any version. You do have to them go in and manually select and flash the 3 files in TWRP though (no worries, it walks you through it). Just takes about 30 seconds longer than usual.
[Nexus 4 Q&A, Help & Troubleshooting] karlospv94:
Thanks!
[Nexus 4 Q&A, Help & Troubleshooting] tyler_976:
Setting proxy before executing tool

Hi! I have no Internet access except by setting proxy configuration. After first installation I need to wait for the updater to timeout twice before setting the proxy; after doing so everything works. It would be nice to know a method (e.g. configuration file) to set proxy configuration before running the toolkit; or, as an alternative, running the toolkit disabling update checking at startup.

Thanks. Regards.

Nicola
[Nexus 4 Q&A, Help & Troubleshooting] mychi.nexus:
Any chance I can install the OTA-Update for Stagefright with the toolkit? I have unlocked, initially rooted but now unrooted, everything stock. I got the Status 7 stating install-recover.sh has unexpected contents. I read in this thread that it should work after flashing stock recovery.img, boot.img and system.img. I did flash stock recovery.img and boot.img but I'm not sure about system.img because the toolkit does not provide/auto-download one. Where can I get the correct system.img? I would like to avoid flashing the complete image and prefer just installing the OTA zip.
[Nexus 4 Q&A, Help & Troubleshooting] ariesgodofwar:
If there are any changes to your /system partition, the OTA will fail. You can try going to Advanced Options -> OTA Sideload, and try loading OTA .zip file. If it fails, you are going to need to flash the stock system image for LMY47V to be able to normally install the OTA, the factory image file should just pull into the NRT tool if you do not have it. If you go to Flash to Stock + Unroot, and then select that you need to download the tgz files (as opposed to the "I already downloaded" option), it should download and flash. Then you can just update to the OTA via Settings- Updates. From there, then you can just root once on LMY48I.
[Nexus 4 Q&A, Help & Troubleshooting] mychi.nexus:
Thanks for your answer. As I mentioned, OTA sideload did not work unfortunately. I have no idea what caused changes to /system partition (is root and unroot again sufficient?). So I used "Flash Stock + Unroot" which took a while to download the whole TGZ file but in the end (but only with the option [x] 'Force Flash Mode') I managed to reach my goal without loosing any data (wasn't sure about system settings in particular). Great tool, great community!
[Nexus 4 Q&A, Help & Troubleshooting] nkanoh:
"undo-perm-recovery-signed.zip" is missing.

Hello,

I have just installed this toolkit v2.1.0 for my Nexus 4 and tried to use the "flash original recovery" from the "Advanced" menu but the script stops at the step to verify md5 of the adb pushed "undo-perm-recovery-signed.zip" even though the file to be pushed did not exist in the install directory of the toolkit.

I found that the "undo-perm-recovery-signed.zip" was once introduced by v1.6.2 according to the changelog but nothing has been mentioned afterwards.

Does anyone have the old version of this toolkit installed and provide the "undo-perm-recovery-signed.zip"? Or tell me whether the file is not necessary any more?

Anyway I could flash original recovery using fastboot directly.

Thanks,