yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] SinisterSHO:
I'm quite possibly retarded and getting very frustrated. Following the steps to install the drivers and I keep getting the error that an ADB device was not found. Rebooted computer, tried a different usb port, tried a different cable. Following the instructions in the video on the wiki for already having pdanet installed, and tried re-installing it as it prompted. Same thing either way. Not sure where else to look.

[edit]Got it to work by turning on debugging while it was plugged in..

---------- Post added at 06:57 PM ---------- Previous post was at 06:28 PM ----------

Apparently something doesn't like me. The phone rebooted once, but then I had a screen on the PC saying waiting for device. The device rebooted, screen turned off, waited a minute and nothing happened. Unplugged, tried again and now it can't find the fastboot

I'm going drinking.
[Nexus 4 Original Android Development] mike102871:
OK. So I successfully unlocked BL. Went through rooting and custom recovery. Now I do t have any recovery. Just the laying down android guy with red triangle and no root. What did I miss. Still. Have stock rom on phone . just no recovery or root.
[Nexus 4 Original Android Development] SinisterSHO:
same
[Nexus 4 Original Android Development] Illicit Hero:
Same here

Sent from my Nexus 4
[Nexus 4 Original Android Development] Slymobi:
Are you all using the new boot loader ? the kit or fastboot won't boot a custom recovery using the new boot loader. fastboot flash the older boot loader from 4.2 and then redo the process your attempting.

NeXuS⁴
[Nexus 4 Original Android Development] dunghnguyen:
I do not know why but there is still error due to server connection...no idea why I have this :(
[Nexus 4 Original Android Development] Slymobi:
[MENTION=3110798]WugFresh[/MENTION]

maybe this is useful ??

its in regards to booting a recovery using the new bootloader a user posted that you can boot a recovery using the command

fastboot -c "lge.kcal=0|0|0|x" boot yourrecoveryname.img

just wondering.

NeXuS⁴
[Nexus 4 Original Android Development] Traviizter:
This doesn't work for me... it goes okay, then when it gets to twrp nothing happens. I'm a bit stuck, can anyone help me please?
[Nexus 4 Original Android Development] WugFresh:
Can you link me?

{{ WugFresh }}
[Nexus 4 Original Android Development] Slymobi:
sure but its not much more than I already posted !!

http://xdaforums.com/showthread.php?p=44433050

NeXuS⁴
[Nexus 4 Original Android Development] SinisterSHO:
What new boot loader? I have the ota stock 4.3.
[Nexus 4 Original Android Development] Slymobi:
Your on the new boot loader if you have upgraded to 4.3 via ota.

what are you actually trying to do ?

NeXuS⁴
[Nexus 4 Original Android Development] SinisterSHO:
Unlock, which I got to work. Root, then flash for LTE.
[Nexus 4 Original Android Development] Slymobi:
Coming from a total clean ota 4.3 and having black screen recovery issues when booting into twrp recovery !

here's what I've done.

I'm assuming you will have the necessary drivers installed.

1st get the 4.2 makos10o boot loader.img

http://db.tt/82lUIJkZ

and your choice of recovery.img here is twrp 2.5

http://db.tt/W1rFxODp

I will not be held responsible for any errors YOU inherit.

place these .img directly into where wugfresh data files are located I.e where fastboot.exe is.

for me its in c/programme files/ wugfresh/ data folder or something very similar.

phones dev settings turn on debugging.

now I put my phone into fastboot ( power and volume down )

open wugs tool kit

launch advanced tools

plug phone in

click fastboot

list device ( your device id should show )

now choose flash permanent

boot loader ( navigate to where you put the boot loader.img and choose that .img and let it install.

now choose recovery and do the same again.

you may need to go into dev options and re apply the debugging and/or always allow if prompted if your device is not recognised on recovery flash ( Dont unplug your phone to do this )

now follow instructions on screen.

next I got the root warning !! swipe to flash etc but I Don't want root at the moment so I chose don't flash.

for root just download superSU flashable zip from chainfire and flash via your recovery.

all done for me.

hope this can help someone.

NeXuS⁴
[Nexus 4 Original Android Development] SinisterSHO:
I'll give this a try tomorrow after work.

Seems like a lot of work for something that was supposed to be a few clicks.
[Nexus 4 Original Android Development] Slymobi:
nah its a piece of cake mate.

I used to think the same but basically I just use the tool kit to fastboot files instead of the cmd.

The guide is for people having issue booting recovery with the newer z10 bootloader really but in this final state I'm sure just flashing the newest superSU zip would give root.

edit. tested root and it works. updated my original post.

NeXuS⁴
[Nexus 4 Original Android Development] mike102871:
Where to find this boot loader. Probably right in front of me.
[Nexus 4 Original Android Development] Slymobi:
efrant thread for starters and nearly every 4.3 ROM thread has links to something regarding this.

NeXuS⁴
[Nexus 4 Original Android Development] mike102871:
OK downloaded from efrants boot loader thread. Its in zip form with many files. Which one exactly is boot image . more info will help us newbies with nexus 4. Thank you for your help lol hand holding.
[Nexus 4 Original Android Development] Slymobi:
I will link tomorrow but in the mean time you want the bootloader.img

wait until I upload if your unsure. I will link to my original post guide.

NeXuS⁴
[Nexus 4 Original Android Development] mike102871:
I'll wait for your link to be sure.
[Nexus 4 Original Android Development] Slymobi:
OK links in guide

NeXuS⁴
[Nexus 4 Original Android Development] CamoGeko:
Cheers for this Toolkit mate!!

Much better than Mskip's, whos requiring donations to use the latest versions.
[Nexus 4 Original Android Development] ritchea:
FWIW, I was playing around with options on the 1.68 toolkit before I just flashed recovery directly through W7 CMD, and found that I was able to flash TWRP 2.6 recovery on stock OTA 4.3 using Advanced>Boot/Flash Image>Permanent>Recovery. I already had the recovery downloaded (I think the kit does it automatically these days). I was surprised it worked. Just went to iReady and flashed root apps from TWRP. Neither Galaxy Nexus nor N7 had these issues with the toolkit (and those were with 1.64, I think--I did have to manually root). Yes, I read the new bootloader is the problem.
[Nexus 4 Original Android Development] Slymobi:
I've only given this guide for people having the black screen issue when the kit tries to boot into recovery on new boot loader.

you have used the manual advanced way of flashing which is what I've guided so that method will work

the kit may have been updated and work now etc but last time I tried I had the black recovery screen and my guide is how I got around it.

NeXuS⁴
[Nexus 4 Original Android Development] ritchea:
Maybe I misunderstood. I don't know that I had THAT problem as I couldn't get the TWRP 2.6 on my device using the toolkit until I'd accidentally tried that advanced method. I had problems (black screen, bootloop, nothing actually flashing, Andy with red triangle) trying it from the home page. In some instances, I'm sure I caused problems because of what I was trying.

I'm sure your method would have worked for me if I hadn't already planned to just CMD flash (even through the toolkit). I was just commenting that I accidentally found another way to successfully install working TWRP 2.6 by a mouse click within the toolkit. It may not work for anyone else as I'd gone through a lot of failed attempts while playing around with it and not sure where my device was with the black screen issue--or even that it was the same issue.

I'm glad you clarified it for noobs to the toolkit and/or Android flashing. I would not have wanted to cause more issues for them. Thanks.
[Nexus 4 Original Android Development] Slymobi:
no its all fine, we are talking about the same thing really.I also found my method by just experimenting lol, we are just giving alternative methods of getting a working recovery using the advanced features of wugs tool kit instead of actually using the cmd directly.

the toolkit will work normally by just changing the boot loader as its the new boot loader that gives the black screen issues.

NeXuS⁴
[Nexus 4 Original Android Development] CamoGeko:
Black screen doesn't hamper the connectivity at all, just wait for the flash.
[Nexus 4 Original Android Development] Uglamugla:
It's normal that when i turn on debugging mode it doesn't appear de pop up with the rsa fingerprinting? i'm running stock 4.3. Cheers
[Nexus 4 Original Android Development] SinisterSHO:
I think I did something backwards, and twice, but it appears the I got it rooted. Wasn't paying complete attention, but if I have supersu, and busybox, it should haved completed?

It also seems that my google account is sync'd with everything, However, my profile picture isn't showing up in the quick settings drop down. Is this normal?
[Nexus 4 Original Android Development] Sledge1:
not sure what my issue is, but this toolkit seems to kind of work.. except for anything to do with a script in TWRP

nothing ever happens...when it gets into TWRP, it just sits there doing nothing...

tried various drivers, and various USB ports.. to varying degrees...

wondering if it's something to do with WIN8.1

just trying to get to stock 4.3

Just tried on another PC with Win7... also fails to get to stock 4.3 ...

tried with N-Cry's toolkit, and now on stock 4.3
[Nexus 4 Original Android Development] nyepo:
Hi again WugFresh, thanks for your answer. TWRP upgraded to v2.6.0.0 and your Nexus 4 toolkit upgraded his TWRP version. So I tried to do a full nandroid backup again. And again, same bug. Backup completes successfully, and gets stored on TWRP backups folder inside Nexus 4 (2.5 GB total). Then, when pulled to local PC folder, those 4 files I mentioned before again have 1kb size. And total backup files pulled just go for 44 MB...

So, seems I must wait for more TWRP releases until they solve that issue ... :rolleyes: Are you sure it's TWRP issue?

I just don't want to OTAupdate my device before having a full nandroid backup of my phone in my pc ... just in case. Even I am full 4.2.2 rooted and with full system apps, I've read lot of Nexus 4 devices got stuck trying to OTAupdate. So I'll wait...
[Nexus 4 Original Android Development] brewy:
Sooooo I'm wanting to root etc the full works, is this a one click method with out cmd ? And what recovery is more stable for the nexus 4 or does this flash the correct stable one for me? I'm not a noob but I'm new to the n4 so any help or tips will be great for me and iv used flash programs before such as Odin etc

sent from a nexus 4 stock 4.3
[Nexus 4 Original Android Development] Jazz Like That:
one of my friend owns nexus 4. He recently updated it to 4.3

He wanted to root his mobile and came to me as I own an xperia s and have some knowledge about rooting.

I followed the steps mentioned in this toolkit and removed all the drivers that are previously installed. Then I went to step 2 to install the drivers.

Now his laptop(windows 7) is not recognizing his mobile anymore. Checked it by turning debugging on and off but no result.

Then I tried to connect his mobile with my PC (windows 8.1) but still no result. The battery is charging though.

I went to device manager and tried to update the drivers by right clicking on unknown device. I gave the address to usb drivers of sdk but its not updating.

Any help would be appreciated.

Thanks in advance.
[Nexus 4 Original Android Development] VIPOA:
Hi :)

I have Nexus 4 4.3 JWR66V.

I unlocked my boot loader today with your toolkit and everything is fine.

The driver's test says that I installed the drivers correctly.

I tried to root it but after the root process ended and my device turned on, SuperSU wasn't installed, my recovery didn't change (I "asked from the toolkit" to install CWM Touch) (I see an android robot "sleeping" and he is open and there is a red triangle with "!" above it)

and I checked with root checker and it says I have no root.

I did it again but still the same...

What should I do?

Install the recovery manually?

Root with another toolkit?

I really need your help!

Thank you in advance :)
[Nexus 4 Original Android Development] mike102871:
One page back search will get you straight.

http://xdaforums.com/showthread.php?p=44479837
[Nexus 4 Original Android Development] Adizzzle:
Dang the website is down!! :eek:
[Nexus 4 Original Android Development] WugFresh:
Yeah, I know. :( The host admins couldn't figure out what happened, but its going to be restored within the next few hours hopefully, then I will release v1.7.0. Mirrors are available here:

http://goo.gl/ffxSp4

http://goo.gl/SGGCpl

http://goo.gl/z6wFnI

http://goo.gl/eRpo5V

http://goo.gl/cyyVzi

{{ WugFresh }}
[Nexus 4 Original Android Development] Adizzzle:
oh awesome! Thanks! Is 4.3 Rootable using v1.7.0?
[Nexus 4 Original Android Development] ssiebert:
Toolkit flashed custom recovery while rooting despite having this deselected!

I used the toolkit v1.6.8 to reroot my Nexus 7 tablet which had the OTA update to Android 4.3 installed and it flashed the ClockworkMod recovery, even though the "Custom Recovery" checkbox in the root section was not checked!?!

Is this a known bug? I selected ClockworkMod in the user settings, to be able to boot into it, but I never asked to flash it...
[Nexus 4 Original Android Development] Adizzzle:
This tool is a lifesaver and pulled me out of a boot loop thank you so much OP, you made my year
[Nexus 4 Original Android Development] gulo101:
Hello,

my wife's Nexus 4 is acting all weird after she updated to 4.3, I am trying to go back to 4.2.2 but I am having no luck.

I am trying to use Flash Stock + Unroot option and then I downloaded 4.2.2 JDQ39 factory image file but when I run it I am getting the following error message -

Help ?

thanks
[Nexus 4 Original Android Development] WugFresh:
Enable "force flash mode" in the toolkits options menu.

{{ WugFresh }}
[Nexus 4 Original Android Development] gulo101:
that worked ! thanks for such a quick reply
[Nexus 4 Original Android Development] Jazz Like That:
Any one?
[Nexus 4 Original Android Development] n2d551:
Try the pda net drivers always worked for me http://xdaforums.com/showthread.php?t=1983470
[Nexus 4 Original Android Development] jurica_m:
Wug, thank you.

Poslano sa mog Nexus 4 koristeći Tapatalk 4
[Nexus 4 Original Android Development] AaronStC:
I just flashed stock on my Nexus 4 but I am still on the .48 baseband (I had to use force flash mode). The baseband update was one of the main reasons I was going back to stock.

Edit: Forgot to mention this was 4.3. Currently trying 4.2.2 and see if the OTA will fix it.
[Nexus 4 Original Android Development] DXM31:
I tried to use this to root 4.3 OTA and now I have no recovery. The root didn't work either.

Whenever I try to go into the recovery I get the "no command" message and a red !. I tried to flash stock recovery using the toolkit and it seemed to work but, still no recovery. I did temporarily have TWRP via the toolkit to flash stock.

Would back to stock- flash stock unroot work as an option to get me a recovery?
[Nexus 4 Original Android Development] nyepo:
Hi WugFresh.

I used the v1.7.1 to try to root my Nexus 4 device fully stock with 4.3 Jelly Bean. Followed all the process (like I did before with 4.2.2 or 4.2.1) for being root without installing any custom recovery (option unchecked) and got no root at all. SuperSU is missing on the app list. And the device isn't rooted.

Hope this helps you fix the issue.

Thanks for your efforts!
[Nexus 4 Original Android Development] WugFresh:
Can you please describe what happens exactly when you perform the process.

{{ WugFresh }}
[Nexus 4 Original Android Development] heirfister:
do i need to have android SDK for this to work?
[Nexus 4 Original Android Development] bleuiko:
Website looks like it is down.
[Nexus 4 Original Android Development] jurica_m:
Best tool for rooting. I have successfully unlocked and rooted my Nexus with this tool.

Sent from my Nexus 4
[Nexus 4 Original Android Development] nyepo:
Yep, it goes as it should be, like it did 2 times before (4.2.1 root and 4.2.2 root). I noticed on one of the reboots (when performing root commands) my Nexus 4 doesn't show anything on the screen, while in the video of the tutorial, even if it's an outdated version (rooting with toolkit 1.6.4 or something, and maybe 4.2.1) on that time Nexus is showing something in the screen: Google logo when restarting, etc.

Except for that, process goes smooth as it went the other 2 times I did before.

I repeated the rooting process and still no root, but without any other trouble. I noticed also Root Checker Basic gets "stuck" when trying to know if my device is root. Says something like "please wait, process is taking time as device is running slow" and don't moves from that until you close it.

Also as I said before, SuperSU is not there, it might not being pulled to the device. Note I fully unrooted my device using the SuperSU option for that, before applying the 4.3 update, as Chainfire suggested.

Hope this helps
[Nexus 4 Original Android Development] cdx47:
Hi All

I would like to do a nandroid backup for my N4 but there is no JSS build available for the boot.img only JWR66 builds. What can/should I do?
[Nexus 4 Original Android Development] WugFresh:
Can you clarify something for me. Are you on an official stock JSS build for the Nexus4 or are you on a custom ROM? To answer your question, I will be rolling out v1.7.2 later today which will allow features to work without a modified boot.img when selecting "Custom ROM" as the build.

{{ WugFresh }}
[Nexus 4 Original Android Development] cdx47:
Yep that would be perfect. I am on Carbon rom. Why do we need the modified boot.img if you don't mind me asking?
[Nexus 4 Original Android Development] nyepo:
Hi WugFresh, have you find the bug about root process not working? Did you find my process description useful?
[Nexus 4 Original Android Development] WugFresh:
It works for many users. I am unsure why its not working for you. Could you try reflashing stock and then rooting again.

{{ WugFresh }}
[Nexus 4 Original Android Development] WugFresh:
The modified boot.img is temporarily booted to allow running privileged commands that normally would not be allowed. In the specific case of automated nandroid backups, the toolkit uses the modified boot.img to first push a uniquely generated script file (based on the options you select) to the devices recovery cache - which effectively automates twrp recovery processes. Then the modified boot.img is used again to fully pull the backup off the device.

Most custom roms already have this tweaked setting, stock android does not.

{{ WugFresh }}
[Nexus 4 Original Android Development] cdx47:
Then why not just use the already modified boot.img from Carbonrom for example? I am sorry if the question is silly!
[Nexus 4 Original Android Development] WugFresh:
Yes precisely. If the user selects custom rom as the build, then the toolkit should expect that the device already has a modified boot.img. That use to be the default toolkit behavior, however it is not doing that in V1.7.1 due to some other logic I needed to code that conflicted. That is why I stated I would fix this in 1.7.2.

In regards to making modified boot.img's. Yes, I can do that as well, and I will. But I have to check everything and compile it myself, I can't just make the assumption.

{{ WugFresh }}
[Nexus 4 Original Android Development] cdx47:
Thanks I will wait for 1.72
[Nexus 4 Original Android Development] :
Hey, I'm running 1.7.2 on a clean install of Windows 7.

I was using 1.6.0 earlier.

The settings/options windows refuses to open. When I click on the menu option, nothing happens.

Anyone else having this problem?

Thanks!
[Nexus 4 Original Android Development] WugFresh:
1.7 2 is not released... So I guess you mean 1.7.1? The options menu won't open if you are in the middle of running another script. Did you press another toolkit button first?

{{ WugFresh }}
[Nexus 4 Original Android Development] :
Sorry, yeah 1.7.1.

Nope, just installed and opened it up. I tried rebooting my comp too.

I wanted to change the custom recovery option.
[Nexus 4 Original Android Development] Defree:
Hi! I have rooted stock 4.2.2 and TWRP and I have been trying to install 4.3 a few times now. Nexus 4 OTA doesn't work and flash stock in NRT doesn't work. Any ideas on how to do this?

Edit: Never mind. Flashed stock recovery and took the OTA.
[Nexus 4 Original Android Development] purpse:
Hello. I'm trying to downgrade from 4.3 to 4.2.2 using the toolkit. Everything goes well but then the process stops briefly giving failed message in cmd window with wrong baseband message (i think because the window closes very quickly). The phone then stays in bootloader but can be rebooted normally (still in 4.3)

Any ideas anyone?
[Nexus 4 Original Android Development] szewc1:
WugFresh, thanks for your toolkit, works wonders.

Little hint for other users:

1. If you happen to not be able to flash stock image, turn on 'force flash' in options, as OP says.

2. If you end up with an 'error' in recovery (red exclamation mark) or get a bootloop, go into recovery/bootloader, push (don't hold) volume up and power button, wipe cache (and data if that doesn't help).

3. If after a successful boot your 16gb Nexus magically turns into 8gb one, flash stock recovery, go there, push volume up and power button, wipe cache and data.

Sent from swift N4
[Nexus 4 Original Android Development] purpse:
Thanks will try this evening
[Nexus 4 Original Android Development] edbertin:
It works like a charm with JWR66Y just select build 66V.

Tku
[Nexus 4 Original Android Development] mastewman:
Stuck in Fast boot mode....

My phone was prompted with the JWR66Y update but I have TWRP v2.6.0.0 installed so, I was re-installing stock recovery but encountered an issue. On my computer there is an information: screen stating "Booting modified boot.img to enable running privileged commands..." and on my Nexus it is in Fast boot mode with a status of downloading...

What do I do to resolve this issue....?
[Nexus 4 Original Android Development] WugFresh:
Cool. Well I will also get JWR66Y builds officially listed for all the supported devices and upload the corresponding stock and modified files. I will try to get it done tonight. Cheers.

{{ WugFresh }}
[Nexus 4 Original Android Development] DXM31:
I have this problem now, if I use TWRP it works not problem but if I go back to stock or try CWM I get the error.

So I will give this a shot, sounds promising.

Update: It didn't work for me, so back to TWRP.
[Nexus 4 Original Android Development] bringonblink:
Anyone have any issues installing APKS through the toolkit?
[Nexus 4 Original Android Development] ernadr:
YOU ARE THE KING, I LOVE YOU MAN!!!

SO SIMPLE, AMAZING :good::good:
[Nexus 4 Original Android Development] thenbt:
got the latest 4.3 build number update notification, im rooted with custom recovery, what is the best way to update without losing anything, plus i tried to flash stock recovery on my galaxy nexus and install the update i get a red exclamation point and get stuck on the google screen and boot loop

thanks in advance
[Nexus 4 Original Android Development] szewc1:
Try point 2. mentioned a few posts above (cache wipe).

And read this http://forums.androidcentral.com/go...ill-update-ota-noob-question.html#post2963057

Sent from swift N4
[Nexus 4 Original Android Development] 22sl22:
Anyone got a mirror for the latest toolkit? Website appears to be down for me