yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] mrpibb:
Soft-bricked my Nexus 4 going to 4.4.2 from 4.3.0 (JWR66Y). I originally used this toolkit to go to 4.3, but it failed this time. I keep getting too many links error messages, especially when trying to send the system.img:

Flash Stock + Unroot...
------------------------------------------------------------------

sending 'bootloader' (2203 KB)...
OKAY [ 0.078s]
writing 'bootloader'...
OKAY [ 0.313s]
finished. total time: 0.391s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.000s

sending 'radio' (45537 KB)...
OKAY [ 1.438s]
writing 'radio'...
OKAY [ 2.656s]
finished. total time: 4.094s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.000s

archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: MAKOZ30d
Baseband Version.....: M9615A-CEFWMAZM-2.0.1700.98
Serial Number........: 00654369910f25c8
--------------------------------------------
checking product...
OKAY [ 0.002s]
checking version-bootloader...
OKAY [ 0.002s]
checking version-baseband...
OKAY [ 0.002s]
sending 'boot' (6340 KB)...
OKAY [ 0.196s]
writing 'boot'...
OKAY [ 0.375s]
sending 'recovery' (6888 KB)...
OKAY [ 0.234s]
writing 'recovery'...
OKAY [ 0.422s]
erasing 'system'...
OKAY [ 0.031s]
sending 'system' (713960 KB)...
FAILED (data transfer failure (Too many links))
finished. total time: 1.898s

I've tried using all available USB ports, but none of them work. Any suggestions? :eek:

Edit: It finally went through after trying a million times!
[Nexus 4 Original Android Development] twowheeler:
Why is it that sometimes when using the backup sd-card feature the backups are incomplete? It says successful but i sometimes miss folders
[Nexus 4 Original Android Development] WugFresh:
Not sure why you are getting that behavior. The toolkit is just running one simple adb pull cmd so its not a matter of the code. My best guess is that its a slight connectivity issue, or maybe some apps you are running are in use which write data to the sdcard and may be interrupting with the pull cmd.

{{ WugFresh }}
[Nexus 4 Original Android Development] Globespy:
Auto Updater / TWRP / Boot Image not working

Not sure if anyone else is having this issue, but the automatic download function is borked and I had to manually download and apply each of these parts when rooting my phone.

I completely turned off all AV/Firewall programs and to be double sure I also ran on 2 other computers - same result.

IT can still be achieved, but for noobs it may cause panic given that this is supposed to be a fully automated toolkit.

Thanks for all your work and for helping me root and install TWRP on my new N4.
[Nexus 4 Original Android Development] WugFresh:
I built the manual interface as a contingency plan, it makes it very simple to get the files. The automated download has worked for many users. I am still not sure what is causing complications for select users. I have yet to determine a common denominator. If you add me on gchat maybe I could test some things to figure out what is causing the issue on your setup.

{{ WugFresh }}
[Nexus 4 Original Android Development] Globespy:
Cool. Added you on Google messenger.

Do you know if just rooting, changing kernel (franco) but staying on stock OTA ROM will allow OTA updates from Google?

I'm hoping so!
[Nexus 4 Original Android Development] white note:
Started great downloaded drivers OK. Sent to confirm drivers and passed with a successful ^-^ and get fast boot device not found. Phone has fast boot highlighted in red and a green Start in the arrow pointed to the power button?? Any suggestions. I am new at this so kinda scared. Can't wait to get it complete and play. Thanks and awesome toolkit!! - Jon
[Nexus 4 Original Android Development] sn0warmy:
Might be a dumb question but do you have USB debugging enabled? Make sure it is. Also, you may need to restart the computer for it to recognize all the changes.

.....

On a side note I came back into the thread to say that I freaking love this toolkit. On my previous Nexus devices I always dreaded rooting, flashing new recoveries, etc. because it always seemed to take so long and there were so many steps. However, with this toolkit the phone was fully rooted within 5 minutes of taking it out of the packaging. It's been about a month now and I just decided to use the toolkit once again to flash a new recovery and it took all of 1 minute and only required clicking 3 buttons.

Can't thank you enough!
[Nexus 4 Original Android Development] white note:
Yes USB debugging is checked and OK. Will try another restart on the PC and another USB port and see what happens. Want to get this done and get LMT installed and play around!!
[Nexus 4 Original Android Development] bash156:
Hi your toolkit worked great for me I managed to unlock root and install a custom kernel. What would be the steps to go back to stock kernel

Regards
[Nexus 4 Original Android Development] WugFresh:
To install any kernel: In advanced utilities use the permanent flash to boot button, then select the stock boot.img you want to flash.

You can download the full factory image package from google here: https://developers.google.com/android/nexus/images , then unzip it until you see the file boot.img <--- that's the stock kernel.

You could also google search "stock kernel" for your device, and you will probably find a CWM flashable version. Then you could just flash that in recovery, or use the toolkits "flash zip" button.

Cheers,

{{ WugFresh }}
[Nexus 4 Original Android Development] bash156:
Thanks for your help
[Nexus 4 Original Android Development] djh00cvpi:
Bailedme out! Thanks Wug

Aside from the borked automatic downloads... Friggin awesome job Wug. I accidentally did a complete format in TWRP, which obviously erased the Rom I had on the card. Your toolkit was just what I needed to ensure a smooth repair.... from Fastboot to Flash to Reboot! Thanks again for the awesome work you share with this community.
[Nexus 4 Original Android Development] WugFresh:
Please contact me on gchat. The automated downloader works for most users and on every single machine I have tested this on, with your help I can determine why it doesn't work on your setup.

{{ WugFresh }}
[Nexus 4 Original Android Development] muddyblues6392:
ok im trying to flash stock and unroot the 4.2.0 image and it does that fine. then i flashed the stock recovery (4.2.0) and thats fine. i locked my bootloader(worked fine) and tried taking the OTA to make sure everything was stock perfectly so i can take the OTA but it doesnt take the OTA. i do notice that when you flash the stock recovery it flashes a zip? could this be the problem? thanks anyone
[Nexus 4 Original Android Development] WugFresh:
No, that zip actually further ensures certain files are in their stock state. My guess is that you made some other system modifications that is preventing the ota.

{{ WugFresh }}
[Nexus 4 Original Android Development] muddyblues6392:
never mind. its working properly now. thanks again!
[Nexus 4 Original Android Development] hornedfiend:
Hey, anybody knows if I can use this tool with a proxy server?
[Nexus 4 Original Android Development] rec71:
I want to return to stock - will doing so using this tool wipe my virtual sdcard folder?
[Nexus 4 Original Android Development] WugFresh:
Yes, it should work. Let me know if you have any difficulties.

{{ WugFresh }}
[Nexus 4 Original Android Development] WugFresh:
Unfortunately yes, it will; these Nexus devices don't have sd-ext partitions and everything gets wiped when flashing the stock factory image files Google provides.

{{ WugFresh }}
[Nexus 4 Original Android Development] quinte:
Just got my phone root'ed !! Amazing :good:

But when I go into Boot Recovery, It shows a android on its back with a red exclamation mark.

Dunno if I did anything wrong, or can someone explain it so I freak out more then I am now :P
[Nexus 4 Original Android Development] WugFresh:
It's normal if you didn't check the box to flash a custom recovery in the rooting process. That's the stock recovery prescreen.

Just root again with it checked if you want and it will flash TWRP. If you want CWM instead, then change it in the options menu. Or you can use the advanced utilities " Flash (permanent) to recovery" button to flash any recovery you want.

http://www.wugfresh.com/Help/scr/Android_on_back_red_exclamation.htm

I will add this to the FAQs on my site.

{{ WugFresh }}
[Nexus 4 Original Android Development] dey2929:
How to downgrade using this tool from 4.4 to 4.3.1?
[Nexus 4 Original Android Development] RealSlimShadyMC:
Flash stock - select android build.
[Nexus 4 Original Android Development] twowheeler:
That must be it! Will check for active apps and keep phone in airplane mode next time. Thanks
[Nexus 4 Original Android Development] TheCrow1372:
I don't know why I'm nervous cuz I've rooted many phones in the past 4-5yrs but haven't in over a year, should I even be this nervous or is this kit as easy as it seems? (I have the Nexus 4/4.4.2)

TheCrow on his Nexus 4
[Nexus 4 Original Android Development] daddlefan:
[MENTION=3744363]TheCrow1372[/MENTION]

Yes, it is.

1. First choose "Unlock" -- This will wipe your data, so do an adb-backup before; check the "Backup"-Button in the toolkit

2. Choose "Root" --- Read the popping up window and confirm.

3. After reboot you are rooted with still "stock recovery".

4. If you want to install TWRP/CWM-custom-recovery as well at the same time, check "Custom Recovery" under the "Root"-checkbox .(Advised!)

Everything works great!
[Nexus 4 Original Android Development] musa47:
Still no success. Not picking my device.
[Nexus 4 Original Android Development] adamcullen:
same problem, but back at radio

I'm getting an identical problem, but back at the radio step. Havent tried a "million times", but have tried lots, and on different USB ports.

I've also tried manually using fastboot flash radio xxxx.img, all with the same result.

The only other relevant thing to share is that the device was encrypted before flashing.

Any suggestions guys.

Edit: Cable switch and it worked!
[Nexus 4 Original Android Development] server3249:
Hi WugFresh

Used your toolkit to successfully unlock and root, thanks. I want to create nandroid complete backup but there is only 2GB free in my phone. Hence, I would like to create it directly on my computer. I tried this with your program, and nothing happened and it got stuck in twrp. Once I manually exited twrp it booted into the os. Is it possible to take complete backup directly to my computer without storing it in the phone memory? Thanks.
[Nexus 4 Original Android Development] Blackherted:
It's recommended to always keep a fresh nandroid on your phone in case anything goes wrong... i suggest you to make room for it :P
[Nexus 4 Original Android Development] one800pepper:
Thanks for this excellent toolkit!
[Nexus 4 Original Android Development] ken_alpha24:
Working on my friend's laptop but not on mine. Strange lol. But ty for this amazing piece of art!
[Nexus 4 Original Android Development] ken_alpha24:
Will this toolkit get updated since there is a new version of KitKat coming out?
[Nexus 4 Original Android Development] Cuzz1369:
What version is this you are talking about.

Sent from my hammerhead
[Nexus 4 Original Android Development] Persechini:
I believe he meant the new nexus 7 lte build
[Nexus 4 Original Android Development] Cuzz1369:
As far as I know its not a new version. 4.4.2 r2, is just a Verizon version specific to n7(2013). Of course it will be added to nrt.

Sent from my hammerhead
[Nexus 4 Original Android Development] twowheeler:
I have a problem with making backups of the internal memory. It always stops at the same point (2.75gb) and says that the backup was successful after that. But a lot of files are missing. I've tried doing it in airplane mode too, but none of it seems to work.

Are there things I could check for this? I have checked if all memory accessing processes are stopped, but that doesn't seem to make a difference.

This shouldn't be toolkit related BTW. I think es file explorer is the problem

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Nexus 4 Original Android Development] NYLimited:
Are you using ES Explorer to copy the data? Why? Simply use the toolkit to copy everything and it should complete without a problem.

Sent from my Nexus 7
[Nexus 4 Original Android Development] twowheeler:
No i'm not, but this is mostly caused by something accessing the storage while making a backup (wug pointed this out). Thought es might be causing that. But it isn't. I still can't manage to backup everything :(
[Nexus 4 Original Android Development] Trixster101:
Does anyone have the UPDATE-SuperSU-v1.93.zip file to download?

The one from the updater is generating a hash mismatch and I can not get it from any mirror..
[Nexus 4 Original Android Development] WugFresh:
You have the toolkit set to download from androidfilehost or goo.im ?(in the toolkits options menu).
[Nexus 4 Original Android Development] Trixster101:
Thanks, totally forgot could be switched - worked from goo
[Nexus 4 Original Android Development] twowheeler:
Did the backup manually using adb commands. That worked.

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Nexus 4 Original Android Development] RealSlimShadyMC:
Website is down
[Nexus 4 Original Android Development] WugFresh:
Yeah it had a short blip.. I think I fixed it. Not 100% what the cause was yet. It's up for me now.
[Nexus 4 Original Android Development] acejavelin:
I am finally getting around to rooting my N4 after having it for some time, very familiar with rooting, adb, fastboot, etc, but I am lazy so I had one question before using this toolkit... Does the backup/restore option backup and restore everything like sms/mms, internal storage, and settings, or just apps. In other words, can I backup, unlock, root, restore and be identical to the starting state of my N4 except it's unlocked/rooted?
[Nexus 4 Original Android Development] Sir_gpm:
Does this work in 4.4.2?

Enviado desde mi Nexus 4 mediante Tapatalk
[Nexus 4 Original Android Development] daddlefan:
YES !

You have to go first in the Startscreen to select Model Type and Android Build (Version KOT49) and then you can do what you like or need to do!
[Nexus 4 Original Android Development] sashpimp:
amazing toolkit thanks a lot!!!
[Nexus 4 Original Android Development] Angus_xda:
I have the same question.

I see you haven't gotten an answer to this yet.

Did you try it?

What were the results?
[Nexus 4 Original Android Development] acejavelin:
I have not found an answer to this question, and I haven't tried it yet... I can make all the excuses I want, but let's face it, I'm lazy. :)

I will get around to it, actually I might do it tonight since I don't work tonight, but I don't feel the urgent need to root/rom this phone like I have with every other device I've owned, it just works and is bloatfree (other than the "Google Bloatware" if you can call it that). I don't care about anything in the phone except text messages and pictures, everything else important can be blown away since it's backed up online. I know it is simple to do this things, I just haven't done it yet since I have this shiny new work phone here (LG G2) sitting here that I have been playing with lately.
[Nexus 4 Original Android Development] Angus_xda:
Like you, I am familiar with the unlocking/rooting process but thought I would try this Toolkit.

I did the Backup procedure twice. Once with System apps+data checked and once without.

I also did Backup SMS. It just installs an app on the phone that does a backup then the Toolkit copies the backup file to your PC.

Unlocked, Rooted, Restored.

All that got restored were a bunch of icons for apps. The apps themselves had to be re-installed.

The settings for the apps weren't restored.

I don't know what was backed up.
[Nexus 4 Original Android Development] acejavelin:
Hmm... Interesting. I will probably try it tonight, and report back with how it goes.

EDIT: went ahead and did this tonight, worked great for installing drivers, unlocking, and rooting... But the backup and restore were odd. Backup seemed to go fine (adb backup) although SMS backup failed but this might have been because I already a backup app with the same name installed... Or was a pain to restore actually, none of my paid apps restored, none of my widgets, and no settings... Honestly, I almost wish I had just started clean and not attempted a restore or gone straight to a custom ROM it would have taken less time then trying to get it back to the way it was. All in all I spent about 2 hours on what should have taken 20 minutes.
[Nexus 4 Original Android Development] sinnerghost:
Usually how long does it take to restore a backup? I've been having my phone with a black screen for over an hour now and NRT saying Pushing "dateofbackup" to your device. Is this normal? If I pull the usb cable and try to power it on will I get a bootloop? What can I do? Thanks!
[Nexus 4 Original Android Development] acejavelin:
It all depends how much it needs data it needs to restore, speed of computer, USB, etc... Give it time, mine wasn't huge (I didn't think so anyway) and it took 30-40 minutes. If you are restoring shared data it could take a very significant amount of time.
[Nexus 4 Original Android Development] 123egg:
[Toolkit] Wug's Nexus Root Toolkit v1.8.1 [Updated 03/04/14]: Nexus 4 Thread

i got "error: update package missing system.img" while trying to flash stock. I tried redownloading the image but it still gives me the error. I am on NRT 1.8.1. What should I do?

Edit: never mind it works now
[Nexus 4 Original Android Development] mihai.enea:
Rooting makes a factory reset?

Rooting my nexus will also make a factory reset (loosing all my data) ?

I have an unlocked bootloader.
[Nexus 4 Original Android Development] acejavelin:
No... Only unlocking the bootloader causes a factory reset, rooting by itself will not.
[Nexus 4 Original Android Development] ken_alpha24:
[MENTION=3110798]WugFresh[/MENTION]

hehe want to help me here? I don't know how to make it Android ADB Interface. it says Samsung Android Phone. WTH lol
[Nexus 4 Original Android Development] WugFresh:
That's fine. Have you tried the driver test (step 3 of guide)?
[Nexus 4 Original Android Development] ken_alpha24:
I tried everything. Still no luck :(
[Nexus 4 Original Android Development] p4rot:
Thanks for this great toolkit, it saves a lot of time.

Even if I know the whole process of rooting, reverting to stock manually it's just faster with your toolkit.
[Nexus 4 Original Android Development] roee88:
My friend has an unlocked, unrooted, completely clean nexus 4 that suddenly entered bootloop.

Factory reset using stock recovery didn't help.

Should I try flashing stock using this toolkit? If so, the flash stock option requires an unlocked device. Can i unlock using this toolkit even though the device is in bootloop?
[Nexus 4 Original Android Development] pincher65:
try to flash 4.2.2
[Nexus 4 Original Android Development] WugFresh:
I guess you meant to say that your friend has a locked device. Yes you can unlock with the toolkit.. Just manually boot the device into bootloader mode first. I think on N4 you hold volume down and power button.
[Nexus 4 Original Android Development] ablithik:
I have selected under options > Custom recovery tab, to utilize CWM touch recovery and settings succesfully applied but after selecting to flash recovery under advanced utilities, toolkit tries to download twrp

Am i doing something wrong?

My workaround> renamed recovery-clockwork-touch-6.0.4.7-mako.img to openrecovery-twrp-2.7.0.0-mako.img and actually overcame this.
[Nexus 4 Original Android Development] WugFresh:
Nope. Sorry if this is misleading. The toolkit will temp boot TWRP no matter which option you select because it supports openrecoveryscript which is needed to automate the process. At the end of the operation CWM will be flashed just like you wanted.
[Nexus 4 Original Android Development] WugFresh:
Please read my previous post. Don't start renaming toolkit files.. The toolkit needs TWRP to perform lots of operations. Renaming files like that is a sure to make my software behave incorrectly and not how I intended.

{{ WugFresh }}
[Nexus 4 Original Android Development] eltonpestana:
hi

Tool kit saved the life of my phone Nexus 4 a bootloop soft brick. I tried to install CM to Cm beta Windows installer error and gave, after that I was stuck on the home screen. Then I used the tool kit to flash stock rom and everything worked. Thank you for your great work. Congratulations to all staff
[Nexus 4 Original Android Development] ablithik:
First of all, congratulations on your work (forgot this before) :good::good::good:

Second, timestamps are a bit misleading on this thread. When i edited my post, your first answer was not uploaded, otherwise i wouldn't have posted the "workaround"

I 'll give it a try when i get home .... Maybe add that piece of info (The toolkit will temp boot TWRP no matter which option you select because it supports openrecoveryscript which is needed to automate the process. At the end of the operation CWM will be flashed just like you wanted) in the "Custom recovery" tab because, due to my ignorance, i stopped the toolkit to proceed with the download of TWRP because i expected CWM.

Thanx again
[Nexus 4 Original Android Development] Blackherted:
I'm trying to root my N4 using the toolkit on my WINDOWS XP but I'm stuck.

My computer Doesn't recognize the drivers correctly and I tried going for the RAW drivers but I can't choose the same location as the one that the Installer shows, only a folder inside the same folder (It won't let me choose the "Drivers" folder only a folder inside it...)

which one to choose? what can I do? :X

Thanks.
[Nexus 4 Original Android Development] ken_alpha24:
Same problem -.-
[Nexus 4 Original Android Development] oxxshadow:
So I flashed a ROM via this toolkit. Now, I want to delete it, but it does not delete. The Rom is located in a folder called ReadytoFlash. For some reason the folder cannot be deleted. Any ideas?
[Nexus 4 Original Android Development] RolF2:
i have deleted this folder without any problems with ES file explorer
[Nexus 4 Original Android Development] iggytod:
Can I use it to root 4.4.2 Android on my Nexus 4 and does it work with Windows 8.1?
[Nexus 4 Original Android Development] roee88:
locked of course :)

I'm kind of desperate here. I took the device and to my surprise it started without a problem after a few minutes, completely clean with 4.2.2 on it. After a few hours it suggested an update to 4.3 and I took it. It just hanged at "starting apps" for half an hour so I forced a reboot which just made it hang at the startup animation.

Tried flashing kitkat using the toolkit, it installed cleanly but it now hangs in the startup animation (4 colored circles) for over 15 minutes.

EDIT: 4.2.2 works, anything later doesn't.

EDIT: Just noticed IMEI is unknown.
[Nexus 4 Original Android Development] oxxshadow:
how?
[Nexus 4 Original Android Development] WugFresh:
I have heard other people have this problem.. Not sure exactly why it happens but I made a flashable zip that you can use to auto delete that folder: http://www.mediafire.com/?0388cgqyj6dcl56

Just download that to your device and flash it with custom recovery. You can use the toolkit to temp boot custom recovery if you want.

{{ WugFresh }}
[Nexus 4 Original Android Development] kemoman:
Totally awesome!
[Nexus 4 Original Android Development] kemoman:
Rippin.
[Nexus 4 Original Android Development] lcp:
Hello

I had installed paranoid android 4.2 beta 4.

I installed Nexus Root Toolkit v1.8.2 and I decided Flash Stock + Unroot with this firmware: 4.4.2 (KOT49H)

The process ended without problems but when I started the phone I'm out sound. I tried restarting but nothing has changed.

They know that it can be? radio problem?

thanks
[Nexus 4 Original Android Development] WugFresh:
I would try performing another flash stock.
[Nexus 4 Original Android Development] lcp:
again with the same firmware or other earlier?
[Nexus 4 Original Android Development] WugFresh:
Try the same first.. Then earlier next if that doesn't resolve it.