[Q] Nexus 4 wont work after new cyanogenmod update - Nexus 4 Q&A, Help & Troubleshooting

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.

Related

No operating system installed

I tried to install a new rom after updating TWRP 2.3.0.0. after all was complete it stuck on the boot screen. I then tried with the Nexus Root Toolkit to use a restore from backup. Same problem. I then tried to flash stock and unroot. Same problem. I then tried a number of things through TWRP from backups I had their. Same problem. At present I have no OS and I can only boot into TWRP, turn if off or look at the GOOGLE screen. I have run out of ideas and would appreciate any help offered.
If you have tried everything else (flashing a ROM zip etc.) Then you should flash the factory image from Google.
Don't use the script/batch file as that will wipe your internal storage.
Just flash system and boot.
Sent from my Nexus 7 using xda premium
Sometimes a rom takes a long time to boot for the first time, please be very patient. Also, try wiping everything from /system, and then re install a custom rom from your /sdcard partition. also make sure your roms are for the nexus 7 not galaxy nexus or other similar devices. ONE MORE THING 4.1.2 wont flash with 4.1.1 bootloader.
jmtend said:
I tried to install a new rom after updating TWRP 2.3.0.0. after all was complete it stuck on the boot screen. I then tried with the Nexus Root Toolkit to use a restore from backup. Same problem. I then tried to flash stock and unroot. Same problem. I then tried a number of things through TWRP from backups I had their. Same problem. At present I have no OS and I can only boot into TWRP, turn if off or look at the GOOGLE screen. I have run out of ideas and would appreciate any help offered.
Click to expand...
Click to collapse
There was a bug in TWRP V2.3.0.0 use fastboot to flash V2.3.1.0 and then reflash the rom
Sent from my BAKED Nexus
spaceman860 said:
There was a bug in TWRP V2.3.0.0 use fastboot to flash V2.3.1.0 and then reflash the rom
Sent from my BAKED Nexus
Click to expand...
Click to collapse
Got it working. Thanks all for your suggestions.
jmtend said:
Got it working. Thanks all for your suggestions.
Click to expand...
Click to collapse
How did you fix it? I have no OS and my internal SD card was erased too I don't know how to flash from fastboot
Adb push a ROM.
-Brought to you by Marino's Nexus 7-
AshleyPem28 said:
How did you fix it? I have no OS and my internal SD card was erased too I don't know how to flash from fastboot
Click to expand...
Click to collapse
I know many people hate the talk about toolkits but I was in the same situation and I used Wug's toolkit and it saved me. I downloaded 4.1.2 image directly from Google, as the toolkit only has 4.1.1.
I tried to return to stock on my own and it just went from bad to worse. I would of spent more time trying to fix it on my own but I was on a very tight time constraint. It will unroot your device but it is easy to root again.
Sent from my Nexus 7 using xda app-developers app
Billchen0014 said:
Sometimes a rom takes a long time to boot for the first time, please be very patient. Also, try wiping everything from /system, and then re install a custom rom from your /sdcard partition. also make sure your roms are for the nexus 7 not galaxy nexus or other similar devices. ONE MORE THING 4.1.2 wont flash with 4.1.1 bootloader.
Click to expand...
Click to collapse
THANK YOU the "ONE MORE THING" is all I needed to know for the same problem!

[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] 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] Need some help please

I have a Nexus 7 wifi, It is stuck at the Google screen boot looping. It is unlocked and has TWRP 2.5 which I can access. I have tried every tool kit to no avail. Need some help please!
dont use a toolkit
get to a command line and figure out whats wrong by trying to flash a factory image, or run factory reset in recovery and see if it fixes it.
Pirateghost said:
dont use a toolkit
get to a command line and figure out whats wrong by trying to flash a factory image, or run factory reset in recovery and see if it fixes it.
Click to expand...
Click to collapse
I tried factory reset but it fails. I tried to flash a factory image through side load but it fails.
If I go to advanced wipe and do them one at a time they all work except data.
It appears to have nothing on intrenal or external storage.
One other thing is when I try to mount the system in twrp it asks for a password?
I have never setup a password so I don't understand this.
Thanks
Did you encrypt your device?
Sent from my Galaxy Nexus
No, not at all that's what's so strange.
I purchased it new and it started locking up and after an attempted factory reset here we are.
Sent from my SCH-I605 using xda app-developers app
Factory reset would wipe data partition leaving nothing in data. Makes sense that it wouldnt let you wipe that when there is nothing there.
Try flashing a factory image from fast boot. Not from recovery.
Sent from my Galaxy Nexus
Would it not have to be loaded on the device? I tried it with a tool kit and it gets to the end and fails on verification.
I don't remember what version it was so that doesn't help. I think it was 4.1.2
But not positive.
Sent from my SCH-I605 using xda app-developers app
Pirateghost said:
Factory reset would wipe data partition leaving nothing in data. Makes sense that it wouldnt let you wipe that when there is nothing there.
Try flashing a factory image from fast boot. Not from recovery.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Okay seems to be a problem with twrp 2.5 as far as the password I'm downloading 2.6 now.
Use fastboot to flash new recovery and system partition. You run fastboot commands from your computer not from recovery and your device needs to be in bootloader not recovery. It does not require you to load it onto the device prior
Sent from my Galaxy Nexus
Pirateghost said:
Use fastboot to flash new recovery and system partition. You run fastboot commands from your computer not from recovery and your device needs to be in bootloader not recovery. It does not require you to load it onto the device prior
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
After reading more I decided to go with CWM for the recovery. I flashed it in fast boot and it works fine but what now?
Thanks for your time!
ugadawg67 said:
After reading more I decided to go with CWM for the recovery. I flashed it in fast boot and it works fine but what now?
Thanks for your time!
Click to expand...
Click to collapse
personally i would flash a stock system image in fastboot, root it, and use it....or pick from the hundreds of ROMs available around here.
Pirateghost said:
personally i would flash a stock system image in fastboot, root it, and use it....or pick from the hundreds of ROMs available around here.
Click to expand...
Click to collapse
What would I use to flash the stock image in fast boot? a toolkit? I have the stock img downloaded already.
ugadawg67 said:
What would I use to flash the stock image in fast boot? a toolkit? I have the stock img downloaded already.
Click to expand...
Click to collapse
you dont need a toolkit
you use fastboot command to flash.....
Pirateghost said:
you dont need a toolkit
you use fastboot command to flash.....
Click to expand...
Click to collapse
Sorry I need a little more help with that. Are you talking about from a command prompt?
Sent from my SCH-I605 using xda app-developers app
you need to do some reading
http://forum.xda-developers.com/showthread.php?t=1907796
Pirateghost said:
you need to do some reading
http://forum.xda-developers.com/showthread.php?t=1907796
Click to expand...
Click to collapse
thanks!
okay I removed my sdk folder and started over. I followed the instructions on the link and it says failed cannot load bootloader. It performs all commands until that one.
Any ideas what I'm doing wrong?
Sent from my Galaxy Note 2 using xda app-developers app
Pirateghost said:
you need to do some reading
http://forum.xda-developers.com/showthread.php?t=1907796
Click to expand...
Click to collapse
okay I removed my sdk folder and started over. I followed the instructions on the link and it says failed cannot load bootloader. It performs all commands until that one.
Any ideas what I'm doing wrong?
Sent from my SCH-I605 using xda app-developers app

I think it's a bootloop

I wanted to do factory reset on my rooted nexus 4 , using CWM. It didn;t work (all files stayed) so I went to advanced and formated everything that was there. Now my phone doesn't start (the screen with "google" is on.
I can go to recovery or fastboot but in fastboot adb or anything can't see my device.
Is there anything I can do?
Yes, you wiped your os. Either adb push a rom zip onto your sdcard and flash in recovery or adb sideload a rom zip in recovery
Sent from my Nexus 5 using XDA Free mobile app
Should I sideload zip or tgz?
I tried zip, it says: installation aborted.
I tried tgz, it says e: can't open /tmp/update.zip (bad)
I also tried pushing, but installation aborted as well
If you're trying to get back to stock then flash individual partitions using fastboot.
This guide should help you out .
http://forum.xda-developers.com/nexus-4/general/how-to-how-to-flash-factory-image-t2010312
If you want to flash a custom ROM follow the steps in the previous post.
Doesn't work, like I said, adb can't see my nexus in bootloader.
Before I started doing anything I'd made a backup. Maybe I can restore it now somehow?
EDIT: @up, it worked, tkanks a lot
szajbuz said:
Doesn't work, like I said, adb can't see my nexus in bootloader.
Before I started doing anything I'd made a backup. Maybe I can restore it now somehow?
added: wait, smoething is happening
Click to expand...
Click to collapse
If your in the boot loader you need to use fastboot devices, not adb devices
Sent from my Nexus 5 using XDA Free mobile app
@up
yeah but I realized that after my previous post
If you are on bootloader you van use nexus foot toolkit for flash stock with bricked option

Categories

Resources