[Q] cyanogenmod initial boot bootloop, help? - Nexus 4 Q&A, Help & Troubleshooting

Hello, I had done a backup from adb backup, and after that I decided to unlock my bootloader with ./fastboot oem unlock, then I installed clockworkmod touch and booted back into android. I tapped no for the recovery fix and yes for root. It went into a bootloop at this point.
After I saw it looped, i decided to load clockwork and adb sideload cm-10.1.3-mako.zip. After I rebooted, up came the cyanogemod boot animation and it's been looping for about 10 minutes now. I stopped and started it about 3 or so times by force shutting down the phone, and i tried to go into clockwork but it wouldn't even load the bootloader. Help?

Did you do a full wipe before installing cyanogenmod?

Chromium_ said:
Did you do a full wipe before installing cyanogenmod?
Click to expand...
Click to collapse
I did not. I probably should have though.

Snake X said:
I did not. I probably should have though.
Click to expand...
Click to collapse
Yes, thats probably the issue. Go back into recovery, do a full wipe, then flash cm. Should work.

Chromium_ said:
Yes, thats probably the issue. Go back into recovery, do a full wipe, then flash cm. Should work.
Click to expand...
Click to collapse
Yeah, it worked. I just formatted all the partitions then re-side loaded. However now, I can't do a ./adb restore backup.ab because whenever I try to and enter my password, it will just say backup ended right after it started.

Related

[Q] Please help! Stuck on boot screen!

I attempted to flash a Liquid Smooth rom yesterday. I rebooted into the bootloader, and chose recovery mode. I wiped all cache, then installed the zip. I followed this by installing the gapps zip immediately, which I think I shouldn't have done.
When I rebooted it, it was stuck on the liquid smooth screen for a while, I know this is normal, but when it sat there for an hour and fifteen minutes I knew something was wrong. If I hold down both volume keys and the power button I can reboot into the bootloader again, but when I now choose recovery mode, it gets stuck on the google load screen.
Can anybody help me out?
danlk2 said:
I attempted to flash a Liquid Smooth rom yesterday. I rebooted into the bootloader, and chose recovery mode. I wiped all cache, then installed the zip. I followed this by installing the gapps zip immediately, which I think I shouldn't have done.
When I rebooted it, it was stuck on the liquid smooth screen for a while, I know this is normal, but when it sat there for an hour and fifteen minutes I knew something was wrong. If I hold down both volume keys and the power button I can reboot into the bootloader again, but when I now choose recovery mode, it gets stuck on the google load screen.
Can anybody help me out?
Click to expand...
Click to collapse
Plug the N7 into your PC before you boot into the bootloader.
You were correct to flash gapps immediately after flashing the ROM. Maybe the ROM didn't flash correctly because you only wiped caches. If you are coming from a different ROM you will need to do a factory reset. If you didn't back up your apps and don't have a nandroid, then you might want to wipe caches, format system, and reflash the previous ROM and try to boot in and backup your apps. Might not work but worth a shot if you got stuck where you are now with no app backups.
irishrally said:
Plug the N7 into your PC before you boot into the bootloader.
You were correct to flash gapps immediately after flashing the ROM. Maybe the ROM didn't flash correctly because you only wiped caches. If you are coming from a different ROM you will need to do a factory reset. If you didn't back up your apps and don't have a nandroid, then you might want to wipe caches, format system, and reflash the previous ROM and try to boot in and backup your apps. Might not work but worth a shot if you got stuck where you are now with no app backups.
Click to expand...
Click to collapse
Wow, that didn't even cross my mind, I did this and I've got the rom up and running now. Thanks a lot.

[Q] Rooting Nexus 10 gone wrong. So I need to reflash stock recovery?

This isn't my first android root but I'm stuck. I followed the video for rooting my Nexus 10. Got stuck in a boot loop but was able to flash cwm but still in boot loop. I tried doing the factory reset and now cwm is gone too and still stuck in boot loop. Do I need to reflash the stock recovery and if so where do I find that to download?
flash tbe cwm recovery again via fastboot, transfer your custom rom of choice from your desktop to your device, wipe data (factory reset), then flash that rom via cwm. btw, this is a galaxy nexus forums
Daethian said:
This isn't my first android root but I'm stuck. I followed the video for rooting my Nexus 10. Got stuck in a boot loop but was able to flash cwm but still in boot loop. I tried doing the factory reset and now cwm is gone too and still stuck in boot loop. Do I need to reflash the stock recovery and if so where do I find that to download?
Click to expand...
Click to collapse
simms22 said:
flash tbe cwm recovery again via fastboot, transfer your custom rom of choice from your desktop to your device, wipe data (factory reset), then flash that rom via cwm. btw, this is a galaxy nexus forums
Click to expand...
Click to collapse
Sorry! So I did try that but still get the android guy with the red ! when I try to go into recovery.
Daethian said:
Sorry! So I did try that but still get the android guy with the red ! when I try to go into recovery.
Click to expand...
Click to collapse
and the recovery flashed fine? did you "fastboot devices" to make sure fastboot can see your device? sometimes these recoveries need to ne flashed a few times before they take. try flashing it two or three times in a rom. did you try twrp recovery? you might like that recovery better.
op, rename/delete /system/recovery-from-boot.p and reflash your custom recovery;
RANT: GOD DAMN IT, WHERE'S MY NEXUS 10!!!??? BEEN WAITING FOR 2 GODAMN MONTHS! - Sorry, it's just that I've been going through some **** to get my hands on one - AND THERE'S PEOPLE WHO'S GOT 2!!!
FOLLOWUP:
I ran MSkip toolkit and it repaired everything. I got a failed on renaming my recovery images so my stock recovery images are just gone I guess? Anyway I'm good. Rooted and repaired thanks to Skips toolkit.
Thanks for all the help!
-------------
It appears to be flashing fine and yes it sees my device. I tried multiple reflashing this am and still no joy.
I reposted in the right place and got some help but not done yet. I think mod might delete this thread since I have the other one going.
simms22 said:
and the recovery flashed fine? did you "fastboot devices" to make sure fastboot can see your device? sometimes these recoveries need to ne flashed a few times before they take. try flashing it two or three times in a rom. did you try twrp recovery? you might like that recovery better.
Click to expand...
Click to collapse

[Q] Help, brand new N4 won't boot

Hi all,
I bought a white N4 today since my GNexus died on me.
I played a but with the phone and went on to rooting.
I unlocked bootloader, but now the phone won't boot!!! it doesn't go pass the Google coloured cross.
I can still go to fastboot, so I flashed CWM recovery. Tried to wipe data, but it seem it can't mount /sdcard . . .
Please help I have no clue what's going on and fear I bricked a brand new phone
Thanks
benjieb said:
Hi all,
I bought a white N4 today since my GNexus died on me.
I played a but with the phone and went on to rooting.
I unlocked bootloader, but now the phone won't boot!!! it doesn't go pass the Google coloured cross.
I can still go to fastboot, so I flashed CWM recovery. Tried to wipe data, but it seem it can't mount /sdcard . . .
Please help I have no clue what's going on and fear I bricked a brand new phone
Thanks
Click to expand...
Click to collapse
Boot into CWM and wipe cache. If that doesn't work, flash the stock recovery, boot into the stock recovery, and wipe cache.
efrant said:
Boot into CWM and wipe cache. If that doesn't work, flash the stock recovery, boot into the stock recovery, and wipe cache.
Click to expand...
Click to collapse
No luck with wiping. I flashed stock recovery, but when I boot to it I get a laying down droid with red exclamation mark...
benjieb said:
No luck with wiping. I flashed stock recovery, but when I boot to it I get a laying down droid with red exclamation mark...
Click to expand...
Click to collapse
That is the splash screen for the stock recovery. To access the menu, hold the power button and press volume up.
Then wipe cache and reboot. If that doesn't work, factory reset and reboot.
ok got it.
Flashed stock recovery, wiped everything, locked bootloader. I guess I am 100% stock now.
Phone is booting ok.
I will try to use Nexus root toolkit to
1, unlock
2, flash CWM recovery
3, flash superSU
Hope it will work ok now.
What is your take on what happened ?
benjieb said:
ok got it.
Flashed stock recovery, wiped everything, locked bootloader. I guess I am 100% stock now.
Phone is booting ok.
I will try to use Nexus root toolkit to
1, unlock
2, flash CWM recovery
3, flash superSU
Hope it will work ok now.
What is your take on what happened ?
Click to expand...
Click to collapse
What method did you use to unlock the bootloader the first time?
benjieb said:
ok got it.
Flashed stock recovery, wiped everything, locked bootloader. I guess I am 100% stock now.
Phone is booting ok.
I will try to use Nexus root toolkit to
1, unlock
2, flash CWM recovery
3, flash superSU
Hope it will work ok now.
What is your take on what happened ?
Click to expand...
Click to collapse
Have a read of the "return to stock" sticky in the General section. Sometimes the N4 won't boot if you have flashed images. You need to either format userdata (i.e., factory reset) or wipe cache.
No need to use a toolkit to do what you want.
1) Unlock the bootloader: fastboot oem unlock
2) Flash CWM: fastboot flash recovery cwm.img
3) Boot into recovery and flash a superuser zip.
everything is now fine!
Thanks Efrant!

[Q] Xt907 Freezes at bootloader unlock screen on 4.3 Roms

Hi guys I've been searching and cant seem to find an answer. My xt907 is rooted and my boot loader is unlocked I'm running CWM. If i install any 4.3 roms they work great for initial boot but as soon as i reboot it hangs at the warning boot loader unlocked screen. And the only way i can get the phone working again is to get to ap fastboot and use the DROID_RAZR_M_Utility_1.20 to factory reset everything. If i flash a 4.2.2 rom i don't have any problems. Any ideas guys ? Ive searched and cant seem to find an answer anywhere. Thanks in advance!
My first flash of 4.3 did this... after that I used twrp and haven't had it happen since...
Sent from my XT907 using xda app-developers app
The latest TWRP+mounting system prior to data/system wipes will probably solve your problems. Also, if you have a backup stored, you shouldn't need to fastboot every time.
I've been having the same problem. I thought it might be because I was using CWM, so I thought I'd give it a go with TWRP 2.323. I made a backup, wiped System, Formatted Data and wiped cache and Dalvik cache and installed [ROM][4.4.1][Official][OSE Rom][XT907].
It installed and booted up fine. After a restart, it hung on the bootloader screen. After booting up into TWRP and restoring the backup, it's still hanging on the bootloader unlocked screen. Doh!
I just reinstalled the new ROM and will hope I don't have to restart while I'm out today. Any ideas on things I can try to get things working?
Ryan F said:
I've been having the same problem. I thought it might be because I was using CWM, so I thought I'd give it a go with TWRP 2.323. I made a backup, wiped System, Formatted Data and wiped cache and Dalvik cache and installed [ROM][4.4.1][Official][OSE Rom][XT907].
It installed and booted up fine. After a restart, it hung on the bootloader screen. After booting up into TWRP and restoring the backup, it's still hanging on the bootloader unlocked screen. Doh!
I just reinstalled the new ROM and will hope I don't have to restart while I'm out today. Any ideas on things I can try to get things working?
Click to expand...
Click to collapse
twrp 2323???
You need twrp 2630
see my goodies.
aviwdoowks said:
twrp 2323???
You need twrp 2630
see my goodies.
Click to expand...
Click to collapse
Okay, I downloaded xt907-twrp-2.6.3.0. In trying to flash with fastboot, it's hanging on <waiting for device>. USB Debugging is enabled and the device is showing up. Thanks for the help!
Ryan F said:
Okay, I downloaded xt907-twrp-2.6.3.0. In trying to flash with fastboot, it's hanging on <waiting for device>. USB Debugging is enabled and the device is showing up. Thanks for the help!
Click to expand...
Click to collapse
Fastboot!
Extract the recovery.img from the zip.
But why do that, just flash the zip from your twrp you now have installed
Ryan F said:
Okay, I downloaded xt907-twrp-2.6.3.0. In trying to flash with fastboot, it's hanging on <waiting for device>. USB Debugging is enabled and the device is showing up. Thanks for the help!
Click to expand...
Click to collapse
I believe the one that Avi has is a .zip, not a .xml, so it needs to be flashed in recovery. Load it up on your SD, boot into the recovery you have now, flash the new recovery, and then reboot recovery.
TWRP 2.6.3.0 flashed successfully. Unfortunately, that didn't help at all. My phone still froze on the boot screen. I then booted into the new recovery, wiped everything and reinstalled the rom. Now it won't even boot the first time into the ROM, it just freezes on the boot screen. Help!
*EDIT
I just reinstalled it again and formatted data on top of the wipes this time. It booted into the new rom this time, but it did not get past the boot screen after restarting still.
Ryan F said:
TWRP 2.6.3.0 flashed successfully. Unfortunately, that didn't help at all. My phone still froze on the boot screen. I then booted into the new recovery, wiped everything and reinstalled the rom. Now it won't even boot the first time into the ROM, it just freezes on the boot screen. Help!
*EDIT
I just reinstalled it again and formatted data on top of the wipes this time. It booted into the new rom this time, but it did not get past the boot screen after restarting still.
Click to expand...
Click to collapse
If your rom DL is corrupt?
Also
Arrrghhh has advice on twrp 263, http://forum.xda-developers.com/showthread.php?goto=newpost&t=2573153
It should apply to our 263 also.
---------- Post added at 11:40 PM ---------- Previous post was at 11:29 PM ----------
I use their version (Q)(EDIT ONLY 261 HAS USB MOUNT) and it has usb mount! But it is hard to navigate but I am used to it
Ryan F said:
TWRP 2.6.3.0 flashed successfully. Unfortunately, that didn't help at all. My phone still froze on the boot screen. I then booted into the new recovery, wiped everything and reinstalled the rom. Now it won't even boot the first time into the ROM, it just freezes on the boot screen. Help!
*EDIT
I just reinstalled it again and formatted data on top of the wipes this time. It booted into the new rom this time, but it did not get past the boot screen after restarting still.
Click to expand...
Click to collapse
Many people ran into this issue when 4.3 came out and then someone realized that we were forgetting something when wiping. It was something that we did when the BL was first unlocked, but everyone seemed to forget about it. We were forgetting to mount system, prior to performing wipes of the data/caches. Like Avi said, first, I would DL the ROM again and then place it in your SD. When you wipe, do the FDR option first. After that, go into mount and mount system. Then, go into the advanced wipe options and wipe data, system, cache/dalvik, and format data again. At this point, you can install the ROM as normal, don't re-mount system prior to installing, though. When I am done wiping, I always reboot recovery, but you don't have to do that.
aviwdoowks said:
If your rom DL is corrupt?
Also
Arrrghhh has advice on twrp 263, http://forum.xda-developers.com/showthread.php?goto=newpost&t=2573153
It should apply to our 263 also.
---------- Post added at 11:40 PM ---------- Previous post was at 11:29 PM ----------
I use their version (Q)(EDIT ONLY 261 HAS USB MOUNT) and it has usb mount! But it is hard to navigate but I am used to it
Click to expand...
Click to collapse
Okay, I downloaded the zips again to make sure. This freezing at bootloader screen has happened with every of the dozen or so roms I've tried installing over the past 6 months since I unlocked the bootloader.
RikRong said:
Many people ran into this issue when 4.3 came out and then someone realized that we were forgetting something when wiping. It was something that we did when the BL was first unlocked, but everyone seemed to forget about it. We were forgetting to mount system, prior to performing wipes of the data/caches. Like Avi said, first, I would DL the ROM again and then place it in your SD. When you wipe, do the FDR option first. After that, go into mount and mount system. Then, go into the advanced wipe options and wipe data, system, cache/dalvik, and format data again. At this point, you can install the ROM as normal, don't re-mount system prior to installing, though. When I am done wiping, I always reboot recovery, but you don't have to do that.
Click to expand...
Click to collapse
Could you clarify a little bit?
1.) Mount system
2.) Wipe (Factory Reset: data, cache, dalvik)
3.) Format data
4.) Install zips
What's the FDR option?
---------- Post added at 09:21 AM ---------- Previous post was at 09:07 AM ----------
Ryan F said:
1.) Mount system
2.) Wipe (Factory Reset: data, cache, dalvik)
3.) Format data
4.) Install zips
Click to expand...
Click to collapse
Following the above steps didn't solve it The rom installs fine, boots up for first time normally, but still freezes on the bootloader screen after a restart.
Try geting to the bootloader options & choose normal pwr up.
The new twrp will stick at the big M sometimes.
Then the file is bad or you are missing the install steps. FDR (Factory Data Reset) is the first option you get when you go into the wipe menu, before you go into advanced options. Make sure you're wiping system too, after you mount. If it doesn't work, then it's a bad file or you're still doing something wrong. Upgrading to the most current TWRP and mounting system fixed the issues for 99% of the people. The other 1% just have one of those phones that is "quirky."
okay not sure if your still having this problem. But i never did solve my issue just kept using 4.2.2. But i just flashed the new jbx kernel and a KitKat rom the other along with the newest version on safestrap and i have no issues. Everything flashed and installed perfectly and it boots like a champ. So maybe just skip over 4.3 like i did and see if you still have the issues. Sorry didnt see you were trying to flash 4.4. Only thing i can suggest is make sure you have newest safestrap and wipe out the old etc. But im sure everyone already touched on this stuff before me
beady1 said:
okay not sure if your still having this problem. But i never did solve my issue just kept using 4.2.2. But i just flashed the new jbx kernel and a KitKat rom the other along with the newest version on safestrap and i have no issues. Everything flashed and installed perfectly and it boots like a champ. So maybe just skip over 4.3 like i did and see if you still have the issues. Sorry didnt see you were trying to flash 4.4. Only thing i can suggest is make sure you have newest safestrap and wipe out the old etc. But im sure everyone already touched on this stuff before me
Click to expand...
Click to collapse
Part of your problem is because you are using SS. If you're BL is unlocked, get rid of SS and use CWM or TWRP. SS is not a real recovery replacement, your stock recovery is still there. That's probably part of the reason you had issues.
possibly but i have 0 issues now so its not a big deal.
I have the stable Cyanogenmod 10.1 installed on my phone now. I'm able to restart my phone without any consequences finally. Yay.
I also tried the cm-11-20131221-NIGHTLY-xt907.zip build. That one would initially start up fine, but a restart gave me the frozen bootloader screen. I tried it twice, redownloading it, too. Gah, it's frustrating not being able to try out different roms, but at least I have one that works!
Well, thanks for the help guys. I'd still like to be able to install other roms, so if anyone else has something I can try, I'll do it!

Bootloops when flashing System, Data

It first started this morning when my phone suddenly started rebooting while I was using it. Then I thought it as a ROM issue and flashed a new ROM over it. Everytime I try to flash something on system. TWRP Hangs and the phone restarts itself.
Tried repairing data, system partitions from TWRP, same thing happens. Bootloops when I try to repair data partition
Tried restoring nandroid backup. When it says flashing data, TWRP freezes and the phone starts bootlooping.
Can anyone help?
I have tried doing the EFS flash via adb from PC.
I'm stuck with the exact same problem since months.
CallMeAldy said:
I'm stuck with the exact same problem since months.
Click to expand...
Click to collapse
No luck?
Have you tried Claiming Warranty?
try doing a re flash of recovery, because your issue will be to get your recovery working properly or else you cant remount anything else.
StarRavier said:
try doing a re flash of recovery, because your issue will be to get your recovery working properly or else you cant remount anything else.
Click to expand...
Click to collapse
I flashed TWRP 3.0.2,3.0.2-2,3.0.2-3
Loads of it. Tried doing full stock + unroot from Nexus toolkit. That usually fixed all my problems Everytime I was in dire problems like this.
TJ_bab said:
I flashed TWRP 3.0.2,3.0.2-2,3.0.2-3
Loads of it. Tried doing full stock + unroot from Nexus toolkit. That usually fixed all my problems Everytime I was in dire problems like this.
Click to expand...
Click to collapse
I've never used that toolkit. Since day 1, ive used skipsoft android toolkit. just keep on trying. Does it crash at all when doing backups?
StarRavier said:
I've never used that toolkit. Since day 1, ive used skipsoft android toolkit. just keep on trying. Does it crash at all when doing backups?
Click to expand...
Click to collapse
Doesn't crash during backup but crashes during restore.
TJ_bab said:
Doesn't crash during backup but crashes during restore.
Click to expand...
Click to collapse
Well in your case what I would do is a backup,
Then wipe, flash custom rom. Use phone til reboot.
If reboot, flash stock IMG. Use till reboot
If still rebooting, then come back. I guess I never asked.what rom.your using
StarRavier said:
Well in your case what I would do is a backup,
Then wipe, flash custom rom. Use phone til reboot.
If reboot, flash stock IMG. Use till reboot
If still rebooting, then come back. I guess I never asked.what rom.your using
Click to expand...
Click to collapse
it doesn't boot at all.
It bootloops
I have the exact same problem. Last week upgraded to 7.0, root, stock room, viper4arise audio and EX kernel and that's it. while taking pictures it froze then that boot loop, somehow I managed through a combination of flashing factory image through fastboot, locking, unlocking, reflahsing, to get it to boot normally, then yesterday I was taking pictures again and it refroze then bootloops. Now I am able to fastboot factory images but it doesn't get me out of the bootloops, and in TRWP same as you, I cannot flash anything on data or system. Repairing the file system doesn'T change anything, I did like on other threads also and flashed factury, restored nandroid then flash factory but the restore on TRWP always hangs up.
I was wondering if there is someone knowing the adb dd commands to impose the raw copying back of the restore ? Maybe that would work.
Did you try wiping system under wipe > advanced in TWRP?
In twrp, can you open a terminal and check the results of this (basically, doing a full read-only test of your flash)
Code:
dd if=/dev/block/mmcblk0 of=/dev/null

Categories

Resources