yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Q&A, Help & Troubleshooting] miku3191:
OK What I did was :

fastboot erase boot
fastboot erase recovery
fastboot erase system
fastboot erase userdata

fastboot flash bootloader bootloader-mako********.img
fastboot flash radio radio-mako********.img

fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash userdata userdata.img

fastboot erase cache

Now its very important ! ... Phone should not be touched for minimum 15 min !

And then, LEFT IT TO WALL AC CHARGER for more than 3 hours ! LOL :)

(sorry if the previous post had too many TYPO !)
[Nexus 4 Q&A, Help & Troubleshooting] risktaker84:
So harsh ... yet so true. :(

---------- Post added at 09:06 PM ---------- Previous post was at 09:04 PM ----------

All of that is fine, bottom line is If you can get into Fastboot your golden. If you can't, your screwed. Pretty simple.

EDIT: Not even that, but it will be miracle if my PC actually recognizes the device lol
[Nexus 4 Q&A, Help & Troubleshooting] undercover:
Have you tried just running the bat for all the files? Essentially same thing, just simplified.

As long as one can get into bootloader he should be able to recover the phone. Question is what causes it and what are the consequences. Why it stops working. Is it corrupt partition or something else? That's what needs to be found out.
[Nexus 4 Q&A, Help & Troubleshooting] Ultraschorsch:
I had USB bricks on my Desire but on that device I just removed it via recovery. I can get into fastboot but just can't access it via ADB. I flashed every possible ROM and kernel but I still can't connect via ADB and the battery life is awful due to a msm_hsic_host wakelock, but that's another story.
[Nexus 4 Q&A, Help & Troubleshooting] lupick:
when you say untouched you mean attached to the pc or without usb cable.

did this procedure worked for you?

thx
[Nexus 4 Q&A, Help & Troubleshooting] USSENTERNCC1701E:
This may have worked for miku, but a serious warning needs to be attached to this. That right there is just about is the riskiest thing you can to an Android phone. Especially if you suspect there is an issue with usb connection and charging. If something happens to interrupt that flash you're pretty well screwed, most users will not have the technical skill or equipment to recover from that, I mean no offense, that kinda recovery is sketchy.

If you can, try everything he mentioned in that post, but these two commands. If you can avoid it, don't flash bootloader or radio.
[Nexus 4 Q&A, Help & Troubleshooting] ma678:
May i ask how you managed to access fastboot?
[Nexus 4 Q&A, Help & Troubleshooting] lupick:
Voldown plus power button while the objecting to a pc with installed driver

Inviato dal mio MZ601 con Tapatalk 2
[Nexus 4 Q&A, Help & Troubleshooting] ma678:
Unfortunately it doesn't work for me.
[Nexus 4 Q&A, Help & Troubleshooting] miku3191:
Keep VOL - rocker pressed untill you go into FASTBOOT mode, while connecting to PC.

---------- Post added at 08:58 AM ---------- Previous post was at 08:53 AM ----------

OK guys... One good news, one bad ! ;)

I managed to go into recovery mode, after i did all that, mentioned above...

Although just for some seconds ! ... i think battery was a bit charged this time ! and it drained again... :(

When i used Battery Spy, at 100% charge it told mV ~ 4300

and around 0%, mV ~ 3300

So i guess, when the throttling did happen, it trip the battery and now it is charging from 0mV !?

So it is taking time to charge ? till the threshold is achieved ? is it so ?
[Nexus 4 Q&A, Help & Troubleshooting] miku3191:
ASAP !

Hey i managed somehow to get things working for me ... just stuck at NEXUS "X" LOGO .. its not hanged, its still animating ... but since half an hour ... what can i do now ? ...

i have unrooted + locked my bootloader + i have flashed STOCK everything !!! now what ?
[Nexus 4 Q&A, Help & Troubleshooting] undercover:
Reboot into recovery and you should be able to do a factory reset from there. Try it.
[Nexus 4 Q&A, Help & Troubleshooting] miku3191:
MAN i am on STOCK, UNROOTED and locked BOOTLOADER !!! STOCK RECOVERY !
[Nexus 4 Q&A, Help & Troubleshooting] undercover:
Stock recovery has some options too in it.

HTC One had factory reset (or was that in bootloader?). You might find something here too.
[Nexus 4 Q&A, Help & Troubleshooting] lupick:
I've followed the whole procedure restoring the stock ROM and keeping the phone attached to the wall charger but it doesent work for me..

still red blinking!!!
[Nexus 4 Q&A, Help & Troubleshooting] ma678:
When you guys say to access fastboot mode, is your screen on or off? I haven't seen my screen on since my phone was dead four days ago.
[Nexus 4 Q&A, Help & Troubleshooting] miku3191:
SCREEN is ON ...

try :

let your phone relax for 15 min.

attatch USB cable to PC

grab your phone and press VOL - rocker

vol - still pressed, plug in USB...

keep it pressed untill you see the BOOTLOADER interface

BINGO you are in fastboot mode !

---------- Post added at 03:48 PM ---------- Previous post was at 03:45 PM ----------

No such option ... !

when going into STOCK RECOVERY i can only see the RED TRIANGLE on ANDROID !
[Nexus 4 Q&A, Help & Troubleshooting] molesarecoming:
i couldnt get toolkit to function properly, why i dont know - normally i always use it (on other nexus plattforms).

in the end what i did is this:

1. flash CWM temporarily, i think it boots into it right away

2. flash a rom, if you dont have any you can push it onto your phone via adb, but toolkit should be able to do it aswell. adb becomes active while youre in the recovery. push to /sdcard/ -dont forget factory reset/wipe cache/wipe dalvik cache

3. the rom booted up fine, then i simply opened goomanager, which you can dl from play, and installed open recovery (twrp) from there. thank goodness it finally stuck (before i would either get red led's or warning triangle androids).

i think doing it manually is the best way though. should i have to flash this thing again i will use shell commands. im accustomed using toolkit but i think it must have had a bug or something.
[Nexus 4 Q&A, Help & Troubleshooting] miku3191:
Moles, everything is cool ... just entering the TWRP recovery and loses it ... REBOOTS again .. and FLASHES RED LED ! :(

lemme try your way :)
[Nexus 4 Q&A, Help & Troubleshooting] risktaker84:
Ok I just want to give you guys a quick update with my Bricked N4 and seek a bit of guidance if possible.

Everything was same until I tried what "lupick" mentioned in this thread here

and Viola! I finally saw my Fastboot screen after a very long time since my phone was bricked.

Now here is the issue, the Fastboot screen only comes up for a half a second and then goes blank again. Could it be that I need to leave it charged for a for couple of hours? Because I left the phone in the AC charging mode all last night.

Any help or guidance will be welcomed and be highly appreciated.
[Nexus 4 Q&A, Help & Troubleshooting] miku3191:
Listen buddy ... u must be trying some wrong key combinations ... the scenario you explained happens, when you keep VOL - + POWER buttons pressed and plug your USB cable in, that is attached to PC.

But to make BOOTLOADER stick, you must just press VOL - !! WATCH IT !!

JUST VOL - key and then plug the cable in,

Leave the VOL - key when you see the bootloader ! :)

TRY IT :) I am so confident because i've experiences every kind of screens appearing ! LOL ... tried every possible combination and everything ! :P ;)
[Nexus 4 Q&A, Help & Troubleshooting] risktaker84:
Hey miku3191 thanks for the feedback, I am stuck exactly where you were stuck like 2 pages ago at the Google X sign. Its animating as well. Now I have disconnected the phone from PC and connected to the receptacle for AC power.

Are you still stuck at that step? Or you found another way for it to be functional again?

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

So for all the people with Bricked devices all hope is not lost. Follow this procedure to get into Fastboot.

1) Press the Power button for more then 5 seconds to do a Hard Reset. This is where you screen is completely turned off.

2) Now take your LG manufactured USB connect it to the PC. Do not connect it to the phone just yet.

3) Holding the Vol Down and Power together and NOW connect your other end of the USB connector to the phone and then your phone should give you a slight vibration and you should see the Fastboot screen (Android lying on the back)

NOTE

: Make sure as soon as you see then fastboot mode Let go of the Vol and Power Button right away!

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Now from here either you guys can manipulate the device by locking your bootloader or try flashing Stock rom. Completely upto you guys and hopefully these steps work out for people in need.
[Nexus 4 Q&A, Help & Troubleshooting] rayford85:
Can you guys try somethin. This sounds to me like some stuff we had trouble with on the One X when it first came out. the cache partition gets corrupted and as soon as you go from fastboot to recovery it just reboots and loops like hell. We would use the command in fastboot

fastboot erase cache

then try booting into recovery. that usually should work & get you into recovery. If it still loops try to flash cwm or twrp manually in fastboot

fastboot flash recovery (nameofrecovery.img)

fastboot erase cache

then try again. Once there you should be able to reboot system & be ok.
[Nexus 4 Q&A, Help & Troubleshooting] miku3191:
I observed one more thing while on that "X" screen... Phone gets heated ... it looks like it is charging ! :rolleyes: I doubt ?

Hmmm ... Do you know ? If it charges on Fastboot mode? or DOWNLOAD mode ? or something like that ?

I have got that "X" screen only ! ... nothing much ! :(

Tried this ... it still doesnt help ! :(

Anyway Thanx for the effort ! :)
[Nexus 4 Q&A, Help & Troubleshooting] rayford85:
tried this combo yet? http://xdaforums.com/showpost.php?p=34585684&postcount=81
[Nexus 4 Q&A, Help & Troubleshooting] miku3191:
Yeah man, but i cant get into STEP 2 ... I cant see the BATTERY ANIMATION ! ...

As mentioned below, i also tried charging it ... but only keeps on FLASHING RED LED !!!
[Nexus 4 Q&A, Help & Troubleshooting] risktaker84:
YES YES YES!

My phone is Functioning again and I am running Stock Android 4.2.1

Wow I honestly thought I wouldn't be able to do this but its working. I am not keeping my hopes high, I have already called Google for a replacement and I have received the RMA already. The CSR clearly told me to wait for the new phone to arrive then I can send over the defected one. But a day ago I couldn't even get into Fastboot and Lock my bootloader. For now all is well.

Alright so once in Fastboot I followed the steps that "miku3191" mentioned on page 19 (CMD commands) but I was still stuck at Google X sign for more then half an hour.

So I am a pretty impatient person, hence on page 20 "undercover" mentioned this.

So with that, I followed these steps. I think they should be pretty straight forward.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

NOTE: This is all done while my Phone was connected to the PC

1) Once in Fastboot mode, through Nexus 4 Toolkit I flashed the Clock Work Recovery.

2) Then in the command prompt executed this command

3) Once rebooted back to Fastboot mode, I wasn't going to take any chances. So I followed "

rayford85

" advice and executed the erase cache command.

Then again,

4) Once I got back Fastboot after reboot, I selected the recovery mode and ran Factory reset and Viola! my phone is running Stock 4.2.1

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

If you guys have any questions feel free to ask them, as of now I won't be messing with this phone. I am keeping it completely stock with the bootloader locked.
[Nexus 4 Q&A, Help & Troubleshooting] ma678:
it seems only me who cannot see the screen on.
[Nexus 4 Q&A, Help & Troubleshooting] risktaker84:
I was in your boat as well man, just follow my steps. You should be able to get into Fastboot. Don't lose hope.
[Nexus 4 Q&A, Help & Troubleshooting] katabroc:
Hi guys. I'm following Miku steps. I wasn't sure what he meant by " Phone should not be touched for minimum 15 min !" so, I will leave the phone connected to the pc for 15 min, then unplug and plug it into power AC for 3 hours, like he said. After that I hope I'll get on the stucked X screen. and then I 'll flash CW recovery and do a factory reset, as risktaker stated. I must make this phone work again, it will take ages to have it again since I live in Brazil...

---------- Post added at 08:04 PM ---------- Previous post was at 07:49 PM ----------

Ok, 15 min gone, will put it into AC for 3 hours, won't even touch the buttons, just plug it and leave.

---------- Post added at 08:06 PM ---------- Previous post was at 08:04 PM ----------

Done, the blinking red light is still there, was it supposed to be?
[Nexus 4 Q&A, Help & Troubleshooting] ma678:
My problem is my screen has never turned on since it was dead.
[Nexus 4 Q&A, Help & Troubleshooting] katabroc:
I'm sorry for you ma678. I have no idea if this process is going to work, for me it looks like something is physically damaged, and may not be solved by software updates. Dunno.

The red blinking light is still there, I suppose if it was charging it should show the battery with the bolt, not this ****ing red light.

I will take a nap for 3 hours and see what happens.

Will let you know.
[Nexus 4 Q&A, Help & Troubleshooting] risktaker84:
Just to do the Hard reset by pressing the power button for more then 5 seconds and then follow the steps I mentioned before.

---------- Post added at 11:21 PM ---------- Previous post was at 11:19 PM ----------

Ok Apparently all is not well.

My Battery Life is taking a hit. I charged it till 92% (from 25%) and then just to test if its accurate I shut the phone down and restarted it again. Now its down to 67%.

Sigh issues don't go away.

EDIT: All is good for now. Phone battery is fine after I charged it fully. Now I am contemplating to Call Google and tell them to cancel my RMA.
[Nexus 4 Q&A, Help & Troubleshooting] undercover:
Hold +vol and tap power.
[Nexus 4 Q&A, Help & Troubleshooting] xameius:
How does one go about flashing stock recovery, unrooting, and locking the bootloader without fastboot/adb/etc? My USB port is fried, and something is wacky with the battery. Luckily I have a wireless charger to keep the device sort of alive to recover/backup what I can before RMA-ing it, but need to find a way to get back to stock (without a computer essentially). Help is appreciated!
[Nexus 4 Q&A, Help & Troubleshooting] katabroc:
No luck :(

What have you done to get into the X animation?

Will try to get into recovery....

---------- Post added at 11:33 PM ---------- Previous post was at 11:19 PM ----------

I did everything you guys suggested, page 19 CMD commands, page 21 erase cache/recovery/erase cache... Nothing. Nothing I do can get me into recovery...

:(

Any ideas?
[Nexus 4 Q&A, Help & Troubleshooting] kaarimitassa:
MAN u r totally screwed still try plug the phone into USB connected to PC while pressing VOL - rocker untill u see the BOOTLOADER else the RMA even wont help.
[Nexus 4 Q&A, Help & Troubleshooting] katabroc:
Ok. news.

I installed 4.2.1, I was using 4.2.0 earlier.

After all erase, I flashed boot and rebooted. Since it rebooted back to red light, I did fastboot reboot-bootloader and then unplugged the cable and plugged in again holding VOL down. Then I got into fastbook again. After that I did fastboot -w update image-occam-jop40d.zip

It then finished updating and when it reseted, I again took out the cable and plugged again. Once back into fastboot I pushed TWRP recovery and tried to get into it by choosing the option "recovery". It showed the recovery screen for a few seconds and then it booted again into red light.

After that I just booted into fastboot and chose again "recovery". Now I got into recovery. I did the factory reset and after that I can see the battery icon when I plug the usb cable in, but it just stays there for a few seconds and then it boots again into red led of death...

What can I do now?
[Nexus 4 Q&A, Help & Troubleshooting] kaarimitassa:
try fastboot erase and let it get charged and try again

miku tried this it worked
[Nexus 4 Q&A, Help & Troubleshooting] katabroc:
More news part 2:

I went into recovery, did a cache wipe, dalvik cache wipe, factory reset.

After that I went to "Reboot" menu and instead of "boot recovery/flash", etc, I clicked on "Power off"

Then the screen blinked back again into the charging battery screen but this time the animation went on!

After 2 or 3 charging animations it turned the screen off.

I'm hopefully waiting that this time it is charging. I will let it alone plugged into the computer all night long and see what happens tomorrow.

Good news is that the blinking red led didn't flash once after that.

Praying for a miracle,

Katabroc

---------- Post added at 12:15 AM ---------- Previous post was at 12:09 AM ----------

One more thing:

This time I used an USB 3.0 port.
[Nexus 4 Q&A, Help & Troubleshooting] risktaker84:
I don't understand how your getting stuck at the red light all the time.

Ok this is what I want you to do,

1) Do a Hard reset

2) Get into Fastboot

3) Now with the use of ADB commands, Flash the new factory image "occam-jop40d-factory-ca7602f0"

Go to this thread for all the info Link

These are the steps your going to follow:

NOTE

: Skip the obvious steps. For example, "Unlock your bootloader" etc etc. Try

NOT

to use "Reboot: fastboot reboot-bootloader" because your not in a stable condition to keep getting in and out of the Fastboot. Flash all the images without using the Reboot Command

After all this you should be at a point of getting stuck at the Google X or heck even surpass it and have a functioning phone again.

Good Luck.
[Nexus 4 Q&A, Help & Troubleshooting] katabroc:
risktaker84, I'm flattered by how helpfull you are. I'm hoping the phone is now charging, and I will try to reboot it tomorrow morning (it's 00:24 here).

I was wondering if the cell can charge while into recovery (I know it doesn't charge while into fastboot). It stayed there for 4-5 min before I decided to do the resets and turn it off. Maybe this was why it showed the charging animation and now , hopefully, it's charging.

I will let you guys know in around 8 hours.

Thanks, for all the help, I really appreciate it!
[Nexus 4 Q&A, Help & Troubleshooting] rayford85:
if the phone is off or in recovery, it should be charging. You can check with adb by typing

adb shell cat /sys/class/power_supply/battery/capacity
[Nexus 4 Q&A, Help & Troubleshooting] ma678:
I am afraid my phone is in download mode. On the Safe Remove Hardware and Eject Media menu, there is an option Eject QHSUSB_DLOAD instead of Android ADB Interface, while on my Device Manager, it seems USB driver has been installed properly.
[Nexus 4 Q&A, Help & Troubleshooting] lupick:
I've tried all your possible solution but I can't recover the phone from red blinking death.

I've restored the factory image. 4.2.1 and charged it with the wall charger but I can get only fastboot mode.

If I try to reboot in any other mode it start to blink red.

:(

Inviato dal mio MZ601 con Tapatalk 2
[Nexus 4 Q&A, Help & Troubleshooting] katabroc:
Hi guys. I'm typing from my reanimated N4! Looks like it's true, as long as you can get into fastboot you can unbrick I!

I left it charging for 6 hours and now it's working with full battery.

For those who didn't get it to work, make sure you have 4.2.1 rom, and follow the instructions from miku (p. 19) and risktaker84 (p.21).

I'm so happy and excited! I almost didn't sleep this night, I woke up like 20 times, and now I'm glad for my persistence and the help of our fellows.

Cheers!

Katabroc
[Nexus 4 Q&A, Help & Troubleshooting] ma678:
All right. Let me share my stupid story from the beginning in order for you guys to help me.

I was on stock rom with Franco R19 that was the only kennel I installed after rooting my phone.

I usually downloaded kennels or roms from developers' OP and flashed them in TWRP; however, I still don't know what was in my mind when I tried to update to R20. I searched R20 within Goo Manager that I used for the first and last time. FORTUNATELY, I found it and downloaded it with Goo Manager. Somehow, I didn't flash it in Goo Manager, while I used the command within the app to reboot the phone into recovery, but my phone failed to access recovery. On the contrary, the screen turned grey and there was a bright vertical line in the middle from top to bottom of the screen, just like what happened when there was defect on a graphic card on desktop and laptop. I didn't pay too much attention and just hard reset my phone by pressing power button over 10 second. Then I booted my phone into recovery and flashed the kennel manually. It went through so quick that I even didn't check whether it was flashed successfully. I wiped Dalvik Cache and chose to reboot to system. My phone has gone blackout right after and never turned on since then.

Later on, someone at this forum pointed out I must have flashed the wrong kennel which was for Google Nexus even if the version number was identical. What an idiot I was to brick my phone that was only four days old!

I started using Android since September 2009, and registered at XDA almost the same time. I rooted my first Android HTC G2 and flashed different kennels/roms, and never had a single issue. I own an Amazon Kindle Fire and also rooted it and flashed different kennels/roms all the times and no issue, either. I am not a phone abuser or game player. I didn't OC my Nexus 4. Actually I haven't got any chance to fully discover all the features on the phone until I bricked it four days after.

I'm so frustrated now because my understanding is that I'm supposed to be able to access fastboot mode even if I flashed the wrong kennel. Why doesn't my phone turn on except that red led blinks sometimes? How would I be able to unroot and lock the phone if the screen is completely off? Is it possible there is/are hardware defect(s) on my phone?

Thanks for your time to read my long story.

Any advice is really appreciated!
[Nexus 4 Q&A, Help & Troubleshooting] katabroc:
Lupick, try not to let the phone get into the blinking red light. Do miku's cmd procedure, and every time you have to boot it, unplug the USB cable, then plug it in holding only vol down. That will get you a red continuous light, then it will go off and fastboot will load. After that flash recovery, and follow risktaker's instructions, always forcing to get into recovery. I always loaded recovery by selecting it's option on fast boot and pressing the power button. BTW, I used twrp recovery, not clockwork.

---------- Post added at 06:45 AM ---------- Previous post was at 06:40 AM ----------

Well, if it blinks red, try to unplug it from your USB cable, hold vol down and then plug the cable in ur PC (ppl say to use always a PC). If you can get into fastboot just follow the posts from page 19 on.
[Nexus 4 Q&A, Help & Troubleshooting] ma678:
How would I tell if my phone boots to fast boot if there is nothing on my screen?

Thanks.
[Nexus 4 Q&A, Help & Troubleshooting] yatyuk:
Please help

I flash a wrong kernel (A Nexus 7 kernel), and my nexus4 become brick. No matter what I did, it still no response. I can't boot to fastboot, even i can't turn it on. Please help....:(
[Nexus 4 Q&A, Help & Troubleshooting] Vangelis13:
Read this entire thread and you might be able to repair it. Help yourself first and then you will receive help.