[q] help! Nexus 4 bricked - Nexus 4 Q&A, Help & Troubleshooting

So this is what it happened: I made the Advanced Wipe and select Dalvik Cache, System, Data, Internal Storage and Cache. I didn't realize the mistake I was making, but i did it. Now I don't have OS installed. I am using TWRP v2.6.0.0 and I am trying to push a ROM with ADB Sideload. When I swipe to start sideload it get stuck in "Starting ADB sideload feature", so my device was not found. Please help me, I don't know what else to do.

Try adb push or simply boot in the bootloader and flash the stock rom (download it from Google servers and flash it)
Sent from my Nexus 4 running Android 4.3

saidddo said:
So this is what it happened: I made the Advanced Wipe and select Dalvik Cache, System, Data, Internal Storage and Cache. I didn't realize the mistake I was making, but i did it. Now I don't have OS installed. I am using TWRP v2.6.0.0 and I am trying to push a ROM with ADB Sideload. When I swipe to start sideload it get stuck in "Starting ADB sideload feature", so my device was not found. Please help me, I don't know what else to do.
Click to expand...
Click to collapse
I agree, I'd download the factory images from Google and flash them in the bootloader
Sent from my Nexus 4 using Tapatalk 4

Sounds like USB driver on PC is not loaded. Use adb devices command to see if device is listed.
Sent from my Nexus 4 using XDA Premium 4 mobile app

It's not bricked, just no OS installed
Flash a rom with recovery or flash google factory image and you're done.
Sent from my Nexus 4 using xda app-developers app

Related

Need help with adb sideload

I was going to flash a rom using twrp. Before I got to flash it I wiped the internal storage. Now I have nothing on my tablet. Can I use the adb sideload feature in twrp to push a rom on the device? If so can you explain how? I'm new at this so I do think know the commands. Thank you for your help.
I'm in the same boat as you
Sort of in the same boat as you. Except I'm having trouble with ADB sideload and Fastboot. But for you to try and fix your issue go here: http://forum.xda-developers.com/showthread.php?t=2001868
That toolkit will allow you to flash either a Google stock ROM or a backup using fastboot. If that doesn't work then reply back to this thread.
I also did the same thing as you did, I was able to side load cyanogen mod on the nexus
Just go into recovery and then into adbsideload option,make sure device is connected to PC and adbfastboot drivers are installed,then while your recovery is in adbsideload mode, type in command by opening command prompt in platform tools in sdk 'adb sideload filename.zip'
Where filename is the name of the rom you downloaded,then the ROM will be pushed and twrp will flash it automatically
Make sure you reset the device(factory reset) from twrp first,otherwise ROM will not be flashed
Sent from my Nexus 7 using xda app-developers app
You can also use an OTG/memory stick. TWRP reads them just fine. I've also used an SD card & reader. Load your rom, kernel, gapps & connect. Then you can flash all right from your memory-source. I find it much more convenient.
Sent from my Nexus 10 using Tapatalk 2

[Q] Nexus 4 wont work after new cyanogenmod update

Hi guys im sort of new to the android scene and im having problems with my nexus 4, i downloaded the newest cyanogenmod nightly and flashed it, it messed up part way through. i rebooted the phone and now its just stuck at boot animation. i have wiped the cache the dalvik cache and done a factory restore.
i have tried reflashing the nightly but it stick stops part way through, i want to add the new rom to the /sdcard but i dont know how, its not showing in android file manager and i have tried using adb push command.
im sure its a noob question but any ideas?
P.s sorry i know there are posts similar to mine but tried them and wont work
If adb push won't work in recovery you might try flashing the factory images with fastboot. System.img is really all you'd need.
estallings15 said:
If adb push won't work in recovery you might try flashing the factory images with fastboot. System.img is really all you'd need.
Click to expand...
Click to collapse
sorry i have no idea how to do that, i just need to access the file system so i can dump a rom to install
AW: [Q] Nexus 4 wont work after new cyanogenmod update
You can try to sideload a new ROM via 'adb sideload' in the recovery.
Sent from my Nexus 4 using xda premium
TobiS87 said:
You can try to sideload a new ROM via 'adb sideload' in the recovery.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
i have tried to side load a rom onto it but that didnt work adb gave a error
http://forum.xda-developers.com/showthread.php?t=2010312
Follow the steps, but only flash the system.img. Once it boots, move your ROM over. Reboot into recovery. Flash.

[Q] Help, boot issue

Hi everyone,
So I have never ran across this issue before. I haven't had any problems with my device and yesterday I wanted to test out the new Jelly Bam update rom from their site. The rom would not boot pasted the "Google" spash screen so I rebooted in to recovery and did a full wipe and restored via backup to my previous rom just like normal. Well then I noticed that normally when I connect my phone to my computer I see my internal memory drive pop up which I am able to click on and then access my files, but this time when I accessed it I have a hand full or folders like 0, twrp, android, etc and I had to double click on o folder to access my memory with all my files. I thought that was weird so I went on about my day. Later I tried to do a fresh install of my current rom PACman but even after doing a fresh install the phone will not boot passed the Google spash screen, and now twrp doesn't even see my backup file because its being directed to this new partition with all the folders I was talking about. I even tried using the file manager in twrp to move the backup to that twrp folder but twrp doesn't even see it.
So as of right now I can get in to twrp but I can not boot my device pasted the google splash screen. I also can't access my memory through my pc since nexus does not allow it with twrp. What do I do? My thoughts are that something got screwed up with the partitions when I flashed the Jelly Bam rom so I will need to go back to stock, does that sound about right? I was thinking of following these instructions to go back to stock and then move on from there, any thoughts or alternatives? http://www.androidrootz.com/2012/12/how-to-unroot-nexus-4-to-stock-42-jelly.html
Thank you
Trying this method to return to stock: http://www.wugfresh.com/nrt/
If no one has any input I will assume I am following the right path.
I flashed factory images a couple weeks ago and in order for TWRP to see the nandroids I copied back to my phone I put them in the following path: /sdcard/TWRP/BACKUPS/stringofrandomnumbersandletters/
Are your TWRP backups in a similar location?
If you've decided to go back to stock, I'd suggest using the following guide by efrant... http://forum.xda-developers.com/showthread.php?p=34552123
Sent from my Nexus 4 using xda app-developers app
It is twrp fault. That recovery is crap to be honest.
Sent from my Nexus 4 using xda premium
It looks like twrp is now looking at my twrp folder in my sd card 1 not sd card 0 where I have had my backups and all my files. After trying again, I moved the TWRP backup to the sd card 1 twrp folder, twrp recognized it and I restored from backup....but when I reboot I am still stuck on the Google screen. Not sure what to do.
Underground_XI said:
It is twrp fault. That recovery is crap to be honest.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Since I can't move anything to my memory, any suggestions?
If you've got adb and the proper drivers installed on your PC you could try:
Code:
adb push ROM.zip /sdcard/ROM.zip
from the command prompt. Obviously use the name of the actual ROM.
Edit: ignore that, just read the post where you managed to restore! D'oh!
Have you tried clearing both caches?
The only issue is that my phone is not recognized as having debugging on when I use the Nexus Root Toolkit. Would it matter trying to push via adb? Also with your code, can you specify exactly what I should type. Mine shows C: \Users
synergeticink said:
The only issue is that my phone is not recognized as having debugging on when I use the Nexus Root Toolkit. Would it matter trying to push via adb? Also with your code, can you specify exactly what I should type. Mine shows C: \Users
Click to expand...
Click to collapse
If I were you I would not rely on a toolkit at this point. If you boot into recovery you can use adb commands to push the files from your computer to your phone.
Edit... Spec-Chum's suggestion of wiping caches is a good one. Have you tried that while booted into TWRP?
You could also try the following from within TWRP:
1. Factory reset
2. Wipe system
3. Restore nandroid backup
4. Wipe caches
5. Reboot
Sent from my Nexus 4 using xda app-developers app
chef_christoph said:
If I were you I would not rely on a toolkit at this point. If you boot into recovery you can use adb commands to push the files from your computer to your phone.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
And that's were I am stuck right now. I am not a pro at using adb commands, never used it till I got my nexus 4. Right now when I launch the cmd it shows "C:\Users\My User Name\Desktop>", not sure where to go next. I guess I am not sure what I should be pushing at this point either.
Oops...it seems I was editing my post at the same time you were responding to it...take a look at my previous response again
I'm fairly new around here but I can help with the adb commands if you need. Hang in there
Sent from my Nexus 4 using xda app-developers app
chef_christoph said:
If I were you I would not rely on a toolkit at this point. If you boot into recovery you can use adb commands to push the files from your computer to your phone.
Edit... Spec-Chum's suggestion of wiping caches is a good one. Have you tried that while booted into TWRP?
You could also try the following from within TWRP:
1. Factory reset
2. Wipe system
3. Restore nandroid backup
4. Wipe caches
5. Reboot
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Yeah. I tried wiping cache/dalvik/system/factory reset and then both restoring from backup or flashing the latest PACman rom which is in my sd card. Right now I am reading the http://forum.xda-developers.com/showthread.php?t=2018179 guide to see if I can use adb to flash my rom or another recovery. Makes sense if its the recovery not letting me flash anything, but i'm not a dev. At least I am able to get in to recovery to begin with, good sign I guess.
If you can boot into bootloader and recovery there are many options to help get you up and running again. That guide by Jubakuba is really good but if wiping and restoring your backup from within TWRP didn't work I would highly suggest reading efrant's guide on returning to stock...I posted the link in an earlier reply.
Sent from my Nexus 4 using xda app-developers app
I was able to flash cwm using adb, now trying to do a fresh install
Nope, doing a fresh install didn't work. Now its time to restore to stock. ......
One problem:
"
5) Extract the files from within the .tgz file which you downloaded in step 3 using 7-zip, not WinZip or WinRAR or whatever.
6) Make sure you have extracted ALL the files (including extracting any files in any archives inside the .tgz file). You should have six (6) files ending with .img in the directory you created in step 1. The other files you extracted from the .tgz are not necessary;"
UPDATE; Got it, instructions were not clear.
synergeticink said:
UPDATE; Got it, instructions were not clear.
Click to expand...
Click to collapse
I was just checking how it appeared on my own computer before responding... I'm glad you got that part cleared up.
Sent from my Nexus 4 using xda app-developers app
chef_christoph said:
I was just checking how it appeared on my own computer before responding... I'm glad you got that part cleared up.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Its weird adb will not work on the computer unless the files are in the platform-tools folder in androi sdk. trial and error, just finished flashing system....
should I do this command, I really don't want to lose my stuff:
10) Optional (NOT optional for n00bs) -- Flash the data partition: fastboot flash userdata userdata.img Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked. See note 2 below.
Well, I didn't and finished the process...did a reboot when I was done...now its on the Google screen...just waiting....I'm seeing a Nexus X splash screen!!!...
Update: Its taking a very long time, hopefully it works...going to give it another 10 mins
And we have BOOT... thank you everyone! Now I have to root this sucker!

[Q] Nexus 4 won't boot after flash

Hey guys, I seem to have a problem with my Nexus 4
I installed Odyssey ROM (4.3) coming from Illusion (4.2.2) following the usual procedure of wiping etc...
It didn't boot, stuck on the Google logo....
Strange thing is that it stuck when I tried to reinstall Illusion and also when I restored the Backup I made before the install.
What couldve cause this problem and how can I solve it?
Thanks
I don't know the cause but try this:
1.Go to bootloader.
2.Use adb fastboot to flash to stock.
3.profit
Sent from my Nexus 4 using xda app-developers app
wargasm009 said:
Hey guys, I seem to have a problem with my Nexus 4
I installed Odyssey ROM (4.3) coming from Illusion (4.2.2) following the usual procedure of wiping etc...
It didn't boot, stuck on the Google logo....
Strange thing is that it stuck when I tried to reinstall Illusion and also when I restored the Backup I made before the install.
What couldve cause this problem and how can I solve it?
Thanks
Click to expand...
Click to collapse
Go into recovery:
- Wipe cache and dalvik cache and reboot or
- if that`s not enough do a data factory reset and reboot. That should do it.
gee2012 said:
Go into recovery:
- Wipe cache and dalvik cache and reboot or
- if that`s not enough do a data factory reset and reboot. That should do it.
Click to expand...
Click to collapse
This, plus reflash ROM.
Sent from my Nexus 4 using Tapatalk 4
OK guys.... Slight update... I get it to work but it seems to only boot ROMs after a factory reset..... Even now, Odyssey, PA etc no matter what ROMs I'm on if I reboot it hangs at the Google logo.... Forcing me into another factory reset.
Sent from my Nexus 4 using xda app-developers app
wargasm009 said:
OK guys.... Slight update... I get it to work but it seems to only boot ROMs after a factory reset..... Even now, Odyssey, PA etc no matter what ROMs I'm on if I reboot it hangs at the Google logo.... Forcing me into another factory reset.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Flash the factory image, so completly stock. Then you can go ahead and start running custom roms again!:highfive:
failly said:
Flash the factory image, so completly stock. Then you can go ahead and start running custom roms again!:highfive:
Click to expand...
Click to collapse
Than you... That's probably my best bet right now.
Sent from my GT-N8013 using xda app-developers app
wargasm009 said:
Than you... That's probably my best bet right now.
Sent from my GT-N8013 using xda app-developers app
Click to expand...
Click to collapse
Good luck! Let us know if you got it fixed!
failly said:
Good luck! Let us know if you got it fixed!
Click to expand...
Click to collapse
Will do bro
Sent from my GT-N8013 using xda app-developers app
I'm having this same problem with a friend's Nexus 4, my Nexus 4 I can flash whatever and it boots up no problem. With his it doesn't matter what ROM I flash it will not boot up. I have done the full wipe and installed factory image from Google Dev website at least 5 times and then installed customer recovery and root several times. I'm using the latest CWM touch and it will not boot. Any ideas? Thanks.
fastboot erase system -w
fastboot erase boot
fastboot erase recovery
fastboot flash recovery nameofrecovery.img
Now boot to new recovery
adb sideload nameofrom.zip
adb sideload gapps.zip
Reboot
May is suggest the latest twrp recovery and latest slimkat and their all in one gapps for this as well
Also be sure you have the latest bootloader and modem
Best of luck
Sent from my Nexus 4 using XDA Premium 4 mobile app
demkantor said:
fastboot erase system -w
fastboot erase boot
fastboot erase recovery
fastboot flash recovery nameofrecovery.img
Now boot to new recovery
adb sideload nameofrom.zip
adb sideload gapps.zip
Reboot
May is suggest the latest twrp recovery and latest slimkat and their all in one gapps for this as well
Also be sure you have the latest bootloader and modem
Best of luck
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I did all of this except the adb sideloading, I just flashed the ROM and Gapps in CWM, I'll try it like this, thanks.

[Q] Can't get out of TWRP recovery

Hello to everyone!
The problem I have is that i can't boot my device to the normal android os anymore.
It always boot to TWRP. It also seems that i accidentaly wiped my whole device (Data, Chace and Dalvik).
It all happened because i wanted to update to 4.2.2 and it did't work. So i wanted to make a factory reset.
My device is also not recognized by my pc anymore so i couldn't do a reset with the nexus 4 toolkit.
I alsoed tried using adb push but I didn't really figuered out how it works.
Can anyone help me? It's kind of frustrating me
Wipe clean again
Go to advanced
Adb sideload
Now open cmd/terminal on PC in the location ROM of choice is
Type
adb sideload nameofrom.zip
May also need to sideload gapps
Reboot
Sent from my Nexus 4 using XDA Premium 4 mobile app
thank you! i will try that
It's working again! I started it in bootloader and used a nexus toolkit to flash a recovery. Thank you anyway! :good:

Categories

Resources