[Q] Bad Flash, Please Help - Nexus 4 Q&A, Help & Troubleshooting

I flashed a bad ROM zip to my wife's N4 and now it won't boot. How do I transfer the proper zip to internal storage? I am using TWRP recovery.

Do you have adb and the appropriate drivers?
You can adb push a ROM zip to the phone from recovery.

CMNein said:
Do you have adb and the appropriate drivers?
You can adb push a ROM zip to the phone from recovery.
Click to expand...
Click to collapse
Yeah, that's the way to do it. Put the file in the same folder as adb.
adb push filename /sdcard/

I knew my refusal to learn how to use ADB would bite me in the @$$ one day. Time to start learning fast.

have you tried wiping data in your recovery then reflashing your rom? if you flash an incompatible rom over a previous rom, usually it wont boot(until you wipe data and reflash).

It's an updated version of the same ROM. I'm pretty sure it got corrupted uploading to and from Dropbox.
I just have to get the proper file onto the phone. I've tried the Nexus 4 toolkit, but the drivers won't install right on my Windows 8 PC.
Sent from an N4 blessed with AOKP and sanctified by Faux123!

Okay, I managed to flash the factory image via the toolkit (after fighting for hours to get the drivers to install) and then flashed the proper ROM. Lost all my wife's data and had to restore months old titanium backups. So let that be a lesson, always nandroid backup! Even if you're doing something simple.
Sent from an N4 blessed with AOKP and sanctified by Faux123!

Related

[Q] Nexus 4 No OS. Only fastboot [SOLVED]

I recently tried to flash PA on my nexus.
Installed cwm on my phone. Then downloaded the PA ROM and moved to the device storage.
Rebooted into CWM and performed all the wipes.
I accidentally wiped the system and the internel partitions too.
when i tried to install ROM from sdcard. it says "NO FILES FOUND"
Iam stuck here. Phone wont boot into Android... any suggestions? please help!
How did you wipe system within CWM?
But since you say you wiped internal partitions too, it seems to me that you wiped your internal emulated sdcard... so I think your only option now is to flash stock images again... Read this: http://forum.xda-developers.com/showthread.php?t=2010312
If you don't want to flash the stock images you can also push a rom to your phone with adb while booted in a custom recovery
adb push nameofrom.zip /sdcard/
Thanks guys. Found a solution.
Flashed TWRP and sideloaded the ROM file. And flashed it.
Earlier the same process with CWM was not successful. Now the phone is loaded with PA ROM!
Thanks guys! and can u point me to the google stock images??
njarun said:
Thanks guys! and can u point me to the google stock images??
Click to expand...
Click to collapse
Glad you solved it
Here are the stock OTA and images from google and mirrored http://forum.xda-developers.com/showthread.php?t=1971169
My dad said he knew how to fix this, and wiped my system, thats all, and now I can't boot. Any help on this?
mrjoeltan said:
My dad said he knew how to fix this, and wiped my system, thats all, and now I can't boot. Any help on this?
Click to expand...
Click to collapse
wiped /system? have you tried simple re-flashing your ROM from the .zip ?
no worry... download the nexus 4 twrp latest img from their site, and flash it to your N4
what you needed:
twrp img file
some n4 rom
adb and fastboot
instructions:
boot to fastboot, vol key down + powerbutton when n4 is off.
on your comp, , dos/terminal - fastboot flash recovery twrp.img
reboot in recovery
select the adb side load from advanced tab in the twrp.
on your comp - adb sideload rom.zip
everything done....reboot phone.
Sent from my Nexus 4 using xda premium
I have a same problem, but when i try to flash a Rom, it`s fail and said that no partition, how can i fix it? Thanks for read.
blackcatvn said:
I have a same problem, but when i try to flash a Rom, it`s fail and said that no partition, how can i fix it? Thanks for read.
Click to expand...
Click to collapse
did you wipe using fastboot erase command? if so, you need to re-format to the android supported file system to access the partitions!
try installing the twrp recovery and perform 'FORMAT DATA' from wipe. then install ROM.
N4 no OS.
njarun said:
I recently tried to flash PA on my nexus.
Installed cwm on my phone. Then downloaded the PA ROM and moved to the device storage.
Rebooted into CWM and performed all the wipes.
I accidentally wiped the system and the internel partitions too.
when i tried to install ROM from sdcard. it says "NO FILES FOUND"
Iam stuck here. Phone wont boot into Android... any suggestions? please help!
Click to expand...
Click to collapse
I need help, having the same problem you had with my N4. Cant seem to fix it. I had PA 3.69 for 3 weeks when I rebooted my N4 i had no OS on the phone. Just my Bootloader and Twrp 2500 was recently 2600 but cant do anything else. ADB works seems to fail when writing to N4. Im trying to get it back to stock. Any Ideas
Axel
Axelben said:
I need help, having the same problem you had with my N4. Cant seem to fix it. I had PA 3.69 for 3 weeks when I rebooted my N4 i had no OS on the phone. Just my Bootloader and Twrp 2500 was recently 2600 but cant do anything else. ADB works seems to fail when writing to N4. Im trying to get it back to stock. Any Ideas
Axel
Click to expand...
Click to collapse
can u get into recovery? did u check changing your USB Cable? The original nexus usb cable sucks, try another one. If you can access the fastboot/adb then it will be pretty simple..
Same problem but...
Hi, I'm having the same problem with my Nexus 4 and I have TWRP V 2.6.3.0 but I'm not sure how to push any rom to my phone because it's not showing up under my computer in Windows. How do I push roms to my Nexus 4? I'm stuck at the Google boot screen when I try to boot (Flashed Dalvik Cache, System, Data, Internal Storage, and normal cache) and I of course don't have any roms on my phone after I wiped all of the partitons. Help me plz
El Daddy said:
If you don't want to flash the stock images you can also push a rom to your phone with adb while booted in a custom recovery
adb push nameofrom.zip /sdcard/
Click to expand...
Click to collapse
Got it working
Hi, I got it to work. No worries guys
xXDustinoXx said:
Hi, I'm having the same problem with my Nexus 4 and I have TWRP V 2.6.3.0 but I'm not sure how to push any rom to my phone because it's not showing up under my computer in Windows. How do I push roms to my Nexus 4? I'm stuck at the Google boot screen when I try to boot (Flashed Dalvik Cache, System, Data, Internal Storage, and normal cache) and I of course don't have any roms on my phone after I wiped all of the partitons. Help me plz
Click to expand...
Click to collapse
njarun said:
can u get into recovery? did u check changing your USB Cable? The original nexus usb cable sucks, try another one. If you can access the fastboot/adb then it will be pretty simple..
Click to expand...
Click to collapse
i cannot get the thing to work this bloody adb command does not seems to work on my Windows 8.1
Can u please give a detailed intruction as i have my file in D Drive so where to keep this zip file
nickboy360 said:
i cannot get the thing to work this bloody adb command does not seems to work on my Windows 8.1
Can u please give a detailed intruction as i have my file in D Drive so where to keep this zip file
Click to expand...
Click to collapse
you got it working? else pm me your mail id. ill send you the necessary files and detailed info, I once composed it for one of my friend!
njarun said:
you got it working? else pm me your mail id. ill send you the necessary files and detailed info, I once composed it for one of my friend!
Click to expand...
Click to collapse
Thanks for asking mate i got it done... :good:

[Q] No ROM on sd card

I accidentally wiped my sd card and system, data and cache in recovery and I can't install any ROMs because there are none. Since the N4 doesn't have an SD slot i can't even copy a rom zip to that and install it. How do I load ROM files with a Mac? I have a Mac so please take that into consideration. Thanks!
http://forum.xda-developers.com/showthread.php?t=2010312
Sent from my Nexus 4 using xda premium
tykate said:
I accidentally wiped my sd card and system, data and cache in recovery and I can't install any ROMs because there are none. Since the N4 doesn't have an SD slot i can't even copy a rom zip to that and install it. How do I load ROM files with a Mac? I have a Mac so please take that into consideration. Thanks!
Click to expand...
Click to collapse
If you have access to fastboot follow the instructions in the [HOW-TO] How to flash a factory image / return to stock / unlock / root thread.
Essentially you'll be flashing a factory image. Again, as long as your bootloader is intact (fastboot mode) you'll be able to restore the device.
tykate said:
I accidentally wiped my sd card and system, data and cache in recovery and I can't install any ROMs because there are none. Since the N4 doesn't have an SD slot i can't even copy a rom zip to that and install it. How do I load ROM files with a Mac? I have a Mac so please take that into consideration. Thanks!
Click to expand...
Click to collapse
If youve got access to fastboot , flash a custom recovery that supports sideload. You'll use adb to push the zip to recovery and it'll flash it. I was in your position a few hours ago hahaha
Sent from my Nexus 4 using xda premium
comminus said:
Again, as long as your bootloader is intact (fastboot mode) you'll be able to restore the device.
Click to expand...
Click to collapse
Thanks for the help! What do you mean by bootloader is intact? How can it get broken?
I used the nexus toolkit to flash factory image. That made it nice and easy (after I fought with stupid Windows 8 driver problems for an hour :banghead: ).
Sent from an N4 blessed with AOKP and sanctified by Faux123!
It worked, thanks! I'M NOT FLASHING A CUSTOM ROM IN A LOOOOOOOOONG TIME

[Q] Need help after accidentally wiping OS and Internal Storage.

Hey Xda, so I ran into a little problem earlier today.
After creating a backup on my PC with the nexus 4 root toolkit and rotting and flashing TWRP I attempted to install a rom but since it was my first time using TWRP (Im used to CWM) i accedently wiped my internal storage and my OS and now im stuck in TWRP since i have no OS to boot to.
Is there anything I can do or is all hope lost?
Thanks in advance
Gabrielvbrz said:
Hey Xda, so I ran into a little problem earlier today.
After creating a backup on my PC with the nexus 4 root toolkit and rotting and flashing TWRP I attempted to install a rom but since it was my first time using TWRP (Im used to CWM) i accedently wiped my internal storage and my OS and now im stuck in TWRP since i have no OS to boot to.
Is there anything I can do or is all hope lost?
Thanks in advance
Click to expand...
Click to collapse
Yes, install adb platform-tools and push a rom to the sdcard: adb push namerom.zip /sdcard/. Or try TWRP sideload http://teamw.in/ADBSideload.
Gabrielvbrz said:
Hey Xda, so I ran into a little problem earlier today.
After creating a backup on my PC with the nexus 4 root toolkit and rotting and flashing TWRP I attempted to install a rom but since it was my first time using TWRP (Im used to CWM) i accedently wiped my internal storage and my OS and now im stuck in TWRP since i have no OS to boot to.
Is there anything I can do or is all hope lost?
Thanks in advance
Click to expand...
Click to collapse
Dude the same thing happened to me the very first time but here's what I did I hooked up my phone to the PC and ran wug nexus tool kit and performed back to stock. And it worked like a charm hope that helps if you're still stuck there:thumbup:
Sent from my Nexus 4 using Tapatalk 2
Just posted a good reply from someone on the Nexus 10 forums who did the same thing:
espionage724 said:
I tend to take a FAT32-formatted flash drive, USB OTG cable, throw a custom ROM, Kernel, and Gapps onto the flash drive's root, reboot the tablet to TWRP, wipe everything (except USB OTG) and format data, reboot back to recovery, and then install ROM, Gapps, and Kernel (in that order).
In other words, if you have a flash drive and OTG cable, you can recover your device pretty easily If you don't have these though, you can adb push the zip's over to /sdcard I believe; it's been awhile since I've done this.
If you want to go back to factory stock, you can grab the latest factory image from the link shimp208 provided, and should be able to run the flash-all.bat included (may have to have platform-tools in PATH if running Windows, or cd into the folder).
Click to expand...
Click to collapse
Edit: I'm not entirely sure how USB OTG is on the N4 though. If it doesn't work, then adb push should be fine.
espionage724 said:
Just posted a good reply from someone on the Nexus 10 forums who did the same thing:
Edit: I'm not entirely sure how USB OTG is on the N4 though. If it doesn't work, then adb push should be fine.
Click to expand...
Click to collapse
Interesting, This is indeed a truly "clean install". Any idea if this method would this work in CWM. Sorry to OP for jacking your thread.
I myself have done this before, I hope you get through it. Goodluck

TWRP 2.6.3.4 - Move backups off device bad idea?

I've got 2.6.3.4 on my VS980 and am thinking about moving my stock nandroid off the device to save space. My concern is a corrupted ROM/system (I'm assuming that's possible) and then not being able to move the nandroid back to the device via OTG through recovery/TWRP. Looking through previous 2.6.3.2/2.6.3.3 threads, it seems like OTG can be finicky in recovery/TWRP. Am I possibly setting myself up fro a headache if I start adding mods and need to restore with no backup on the device itself?
Thanks!
newuzer1 said:
I've got 2.6.3.4 on my VS980 and am thinking about moving my stock nandroid off the device to save space. My concern is a corrupted ROM/system (I'm assuming that's possible) and then not being able to move the nandroid back to the device via OTG through recovery/TWRP. Looking through previous 2.6.3.2/2.6.3.3 threads, it seems like OTG can be finicky in recovery/TWRP. Am I possibly setting myself up fro a headache if I start adding mods and need to restore with no backup on the device itself?
Thanks!
Click to expand...
Click to collapse
This has happened to me any times, I made a backup and moved it to my laptop but when something happens because i've messed with something that resulted in bootloops/recoveryloops or FC, then I start to regret moving my backup to the laptop.
If you plan on doing that at least keep a ROMon the phone or sideload a ROM in case of an emergency.
Or you can always ADB push the TWRP backup files and see if that works back to the TWRP backup folder
xxxrichievxxx said:
If you plan on doing that at least keep a ROMon the phone or sideload a ROM in case of an emergency.
Or you can always ADB push the TWRP backup files and see if that works back to the TWRP backup folder
Click to expand...
Click to collapse
Good idea.
xxxrichievxxx said:
Or you can always ADB push the TWRP backup files and see if that works back to the TWRP backup folder
Click to expand...
Click to collapse
Gonna have to figure ADB out first, but suspected some sort of ADB push would be a last resort.
newuzer1 said:
Good idea.
Gonna have to figure ADB out first, but suspected some sort of ADB push would be a last resort.
Click to expand...
Click to collapse
It's not all that hard
Once you have installed ADB drivers you just use the commands:
adb push C:\[where the files are on your computer I usually put them in the C:\ folder] /sdcard/TWRP/BACKUPS/
then you reboot the recovery and then you can restore the backup.
When you adb push a directory it'll push the all contents of the folder.
I have the official twrp 2.6.3.3 and i have several times restored my backup from pc through otg.
Sent from my LG-D802 using xda app-developers app
Twrp 2.6.3.4 and usb otg. I have completely wiped phone internal sdcard included and start fresh by installing pa and gapps from usb otg. No extra crap on sdcard now.
Sent from my LG-VS980 using XDA Premium 4 mobile app

vs980 need help ASAP!

I was attempting to flash a new rom from twrp, I did advanced wipe and accidentally wiped my sd card partition, now I am stuck in twrp with nothing to flash, recoveries are gone as well, how do I add a flashable zip to the phone to fix it??
Jc8206 said:
I was attempting to flash a new rom from twrp, I did advanced wipe and accidentally wiped my sd card partition, now I am stuck in twrp with nothing to flash, recoveries are gone as well, how do I add a flashable zip to the phone to fix it??
Click to expand...
Click to collapse
I had this problem using Philz Recovery, and ultimately sideloaded a zip with ADB and was able to flash that.
Being that it's TWRP, the process will be slightly different.
http://teamw.in/ADBSideload
Bwangster12 said:
I had this problem using Philz Recovery, and ultimately sideloaded a zip with ADB and was able to flash that.
Being that it's TWRP, the process will be slightly different.
http://teamw.in/ADBSideload
Click to expand...
Click to collapse
the phone has been sitting at starting adb sideloadm feature for a while now, does it take a while to load up?
now i cant for the life of me get adb to recognize my device, Ive installed the drivers with no luck
will the rom zip show up in my file list in twrp? or does adb install the rom?
Adb installs it with a push command. You have to put the rom in the same folder as your adb on pc.
Sent from my VS980 4G using Tapatalk
Finally got it, thanks for the info

Categories

Resources