Unable to boot Nexus S: Stuck in Clockworkmod - Nexus S General

I rooted my Nexus S a couple of weeks back and installed Clockworkmod. Not problems there.
But today I rebooted the phone via adb (issuing the "reboot" command), and now the phone is stuck in Clockworkmod recovery. I'm able to connect with adb, and I'm able to go to the stock recovery (home + volume up), but I'm not able to boot into Android at all
What can I do to get my phone to boot again?

Did u do a nandroid Backup?
Sent from my Nexus S using XDA App

Factory wipe and reboot.
Does usb mount work?

Thanks for the answers!
I found a nandroid backup on these forums, and that solved it.
I think the reason must be that I did a command line reboot while /system was mounted read-write, and that borked the file system somehow. Which is weird, because I'm able to mount /system from CWM.
USB mount works as well.
The nandroid backup was 2.3, though, and the OTA didn't work on it. Will a factory wipe reset my phone to a state where the OTA will work?

Related

[Q] [Need help please] formatted /sdcard by mistake...

Hello
I formatted /sdcard on recovery mode by mistake, was going to format /data, /system and /cache
now I lost all of my backup and ROM files and my N7 stuck at Google icon when reboot.
recovery and bootloader can still access....if that help.
Any way i can get my baby to boot up like it used to be? or How to put files back to N7? (maybe I can install the ROM if it's there?)
Thanks in advance >___<
First make sure you have the Nexus 7 plugged into a PC while attempting to start bootloader and choosing recovery. You might be able to do a factory reset from there. Wipe data, cache and dalvik. You may want to hit 'Fix Permissions' last just in case, then reboot. If you're familiar with ADB and fastboot you can find info on flashing stock images here http://forum.xda-developers.com/showthread.php?t=1907796. If neither of those helps you'll need to go to this post http://forum.xda-developers.com/showthread.php?t=1766475, download and install the toolkit and choose 'Flash Stock + Unroot' with the option 'Soft-Bricked, Bootloop' (assuming that is still the case) checked. It will ask which image to download, pick the latest (4.1.2). You shouldn't have to relock the bootloader. From there it's just like stock so play with it as you like, just watch what you're wiping, lol.
Thank you very much!!!!
everything work now.

[SOLVED] Cannot mount /sdcard or flash in recovery following phone encryption

Hey guys,
I recently encrypted my phone for my work e-mails (the Exchange server required it). I made a complete Nandroid backup and also entire Titanium backup before encrypting, just in case something went wrong. But the encryption went beautifully.
However, I've noticed that I cannot mount /sdcard or flash anything from recovery. I can't update my Franco kernel or CM nightlies... It's a bit annoying because I want to keep flashing! lol.
My phone asks for my password everytime I reboot (in order to decrypt sdmount and mount the ROM), so I'm assuming this is the reason I can't mount it in CWM recovery.
Anyone know of a bypass or fix for this?
I don't really feel like restoring nandroid backup or doing a factory reset everytime I want to flash a new nightly, it just doesn't make any sense (besides I haven't even tried to see if I can restore from nandroid or factory resetting, they might not even work because it can't mount /sdcard?...)
I've searched around the forums for some complex solutions such as using ADB or Odin but I'm not interested in that.
Thank you!
UPDATED:
Ok guys so basically restoring from nandroid did not work because of the sdcard mount error.
I did a factory reset, erased all data and format system. But I couldn't format sdcard or even user data as it didn't have access... Basically the phone got bricked from then on and I had to completely restore back to stock bootloader/recovery/stock rom with adb/fastboot. Instructions are found here:
http://forums.androidcentral.com/nex...e-restore.html
Hopefully this will come to use to someone else. I've heard that TWRP does not have this sdcard mount problem with encryption as does CWM, so that's what I installed this second time around.
Why don't you just transfer the files regularly without entering recovery mode?
The recovery doesn't allow mounting to the PC. It just doesn't work.
Sent from my Nexus 4 using Tapatalk 2
scream4cheese said:
Why don't you just transfer the files regularly without entering recovery mode?
The recovery doesn't allow mounting to the PC. It just doesn't work.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
I've never mounted to PC in recovery. My files are backed up on my computer and nandroid as well.
My issue here is that I can't regularly flash new nightlies (and thus mount internal /sdcard to do so) following the phone encryption.
Since my internal /sdcard path is encrypted with a password, CWM recovery can't bypass this and it gives me the error "cannot mount /sdcard".
bump?
Any help would be highly appreciated!
Is this a lacking feature in CWM Recovery? Have the developers looked in it? Or is there already a fix for this without doing an entire factory reset?
Daily bump.
Anyone there? (echo...)
Ok guys so basically restoring from nandroid did not work because of the sdcard mount error.
I did a factory reset, erased all data and format system. But I couldn't format sdcard or even user data as it didn't have access... Basically the phone got bricked from then on and I had to restore back to stock using this:
http://forums.androidcentral.com/ne...3923-guide-nexus-4-factory-image-restore.html
Hopefully this will come to use to someone else. I've heard that TWRP does not have this sdcard mount problem with encryption as does CWM, so that's what I installed this second time around.
If you want to recover the data from SD card, you do not use the SD card.
You can try to recover the data from the card with some specific software.
I will try to fin one I used before.
It will take few minutes... do not use the card.
cyrus_e said:
Basically the phone got bricked from then on and I had to completely restore back to stock bootloader/recovery/stock rom with adb/fastboot. Instructions are found here: ...
Click to expand...
Click to collapse
Many thanks, this link helped me restoring my Nexus 4. I enabled "encrypted storage" and wanted to root the phone and almost bricked it.
It's also possible to flash the stock recovery with odin, then do a real factory data reset and be able to install a custom rom, after (or before) which you can reinstall a custom recovery.

Failed TWRP restore

So I decided to try and flash Ubuntu last night... I booted into recovery made a backup 15min and 2.5 GB later it was done... wiped flashed no go would not boot... so back to recovery I choose my restore file... system says it was successful but when restoring the data it fails... I'm on twrp 2.5 ...then I tried to just restore the system when booting up I get that static image you see on cm flash every 5 sec but never boot nor goes inyo the boot animation...is there anyway to use this restore file... I just need the data part.. I have messages that i need to show my lawyer and numbers that I need... TiB won't restore my messages either....
Sent from my XT907 using xda app-developers app
You will need TWRP 2.6.3 / PhilZ / or a newer CWM that supports adb in recovery (not sure is 2.5 does)
First off, all of your pictures and other stuff are stored at "/data/media" or "/data/media/0" and are not "wiped" unless picked. These are both accessible in recovery, and you could do an "adb pull ....." to get those files to a PC. At this point you should have your pictures.
Sounds like Ubuntu messed some things up, and when you restored "/system" only it won't boot because of missing data. I once had a problem like this bouncing back and forth between 4.3 and 4.2. Assuming you were on a custom ROM, maybe try wiping completely including "/data/media" DO NOT WIPE "/DATA/MEDIA" IF YOU HAVEN"T BEEN ABLE TO PULL THE FILES VIA ADB IN RECOVERY!!! YOUR PHOTOS WILL BE GONE!!! Sorry for the bold caps, I just didn't want you to miss it. Next install your custom ROM, boot, and do enough setup to get to the home screen. Now go back to recovery and your backup should restore. From here you could "adb push ..." your files back.
Updating TWRP is one way to solve this in the future, like JB already posted. However, to remedy on 2.5, do a clean wipe prior to restore, mounting system prior. Then, restore only the boot.img from the ROM you want and then restore the full ROM you want. This is how I was able resolve this same issue. Hopefully, it will work for you.
I was on stock deodexed debloated prior to all this... after a few tries at the restore I just flashed that same ROM and used TiB to restore what I had on last back up... tonight I'll try and restore that twrp backup ... but either way I guess I'll be updating my recovery... I'm not worried about all my pics n what not I keep all that on the external SD card now...
Sent from my XT907 using xda app-developers app

[Q] Stuck while flashing kitkat 4.4 on nexus 4

Hi,
so i followed the steps to flash android on my nexus using ClockworkMod recovery.
I did the following steps and now I am stuck. my phone wouldn't load and I cant do anything about it
1. Bootloader was unlocked and I installed the clockworkmod recovery.
2. backed up my phone
3. I copied the ROM zip file to storage of the phone. (I cant find it through recovery now)
4. rebooted into recovery mode
5. did the nAndroid backup (which is not working now and hence my phone is spoiled)
6. performed complete wipe of the device including factory reset, cache partition and dalvik cache.
the problem is that I cant restore the nAndroid backup which i created using the recovery any more. I also tried mounting the USB storage using recovery but it still doesn't work.
I am also not able to see the phone as a Storage device in my computer any more otherwise I could load the ROM file again and try.
Please suggest any ideas or solutions.
Regards
error while restore
Whenever I am trying to restore the backup it shows error "MD5 mismatch"
junaid1788 said:
Hi,
so i followed the steps to flash android on my nexus using ClockworkMod recovery.
I did the following steps and now I am stuck. my phone wouldn't load and I cant do anything about it
1. Bootloader was unlocked and I installed the clockworkmod recovery.
2. backed up my phone
3. I copied the ROM zip file to storage of the phone. (I cant find it through recovery now)
4. rebooted into recovery mode
5. did the nAndroid backup (which is not working now and hence my phone is spoiled)
6. performed complete wipe of the device including factory reset, cache partition and dalvik cache.
the problem is that I cant restore the nAndroid backup which i created using the recovery any more. I also tried mounting the USB storage using recovery but it still doesn't work.
I am also not able to see the phone as a Storage device in my computer any more otherwise I could load the ROM file again and try.
Please suggest any ideas or solutions.
Regards
Click to expand...
Click to collapse
Okay, first what rom are you flashing. And did you do a factory reset in the recovery before you flash it?
By flashing in custom recovery means you are flashing an unofficial version of KitKat, because normal you use fastboot method to flash the factory image from Google. Try using this stock rom from fireb33: http://forum.xda-developers.com/showthread.php?t=2010887
Secondly, did you flash the latest version of CWM recovery: http://forum.xda-developers.com/showthread.php?t=2198942
If you used latest recoveries and factory reset, and it still doesn't boot, then backup your nandroid and use the fastboot method to flash the factory stock image (link in my sig).
To backup your nandroid, you need to locate where it is and use "adb pull" command, try this: adb pull /data/media/clockworkmod/ C:\backup\
The MD5 mismatch means your file is not original or corrupt, it could be due to various reasons.
Nexus devices do not have microSD card so they cannot use the mount USB storage feature.
I am willing to bet most of your issues could be avoided by using TWRP recovery instead of CWM. Get it here: http://techerrata.com/browse/twrp2/mako, flash it in fastboot by "fastboot flash recovery twrp.img", it is not compatible with CWM nandroid.
If you neeed to send certain files to your phone, don't forget the sideload feature if you want to flash a zip file from your computer. Enable sideload in your recovery, and type: adb sideload *.zip
junaid1788 said:
Hi,
so i followed the steps to flash android on my nexus using ClockworkMod recovery.
I did the following steps and now I am stuck. my phone wouldn't load and I cant do anything about it
1. Bootloader was unlocked and I installed the clockworkmod recovery.
2. backed up my phone
3. I copied the ROM zip file to storage of the phone. (I cant find it through recovery now)
4. rebooted into recovery mode
5. did the nAndroid backup (which is not working now and hence my phone is spoiled)
6. performed complete wipe of the device including factory reset, cache partition and dalvik cache.
the problem is that I cant restore the nAndroid backup which i created using the recovery any more. I also tried mounting the USB storage using recovery but it still doesn't work.
I am also not able to see the phone as a Storage device in my computer any more otherwise I could load the ROM file again and try.
Please suggest any ideas or solutions.
Regards
Click to expand...
Click to collapse
the only optionyou have is to flash a factory image through fastboot..head over here --> Click Me
i downloaded the factory image from google extracted then did the same fastboot flash as the 4.3 but switched the names to the files in the krt16o zip. it worked perfectly for me. tried using wugs toolkit and everything went to crap. i say do the same method as 4.3 but rename all the files accordingly.
XDA FORUMS.. 3 words.. YOU GUYS ROCK !!!!!! :victory::victory::victory:
this post HERE saved my life

[SOLVED] no r/w permissions or system mount after restoring backup after root.

Phone is the VS995 variant.
Did the dirtysanta root when it came out. Made a backup after I flashed the konverged kernel. Tried doing the DAC mod to enable high impedance always on. Audio quit working and stock music app wouldn't play music even after I reverted the files back. Did a restore of that backup. Tried using root explorer after the restore and now I cannot get my device to enable r/w permissions. I also cannot get my device to mount the system in recovery, only as read only.
Has anyone else had this issue or does anyone know of a fix for it?
I have tried reinstalling supersu in recovery and still have the issues. It is a minor problem but I am unable to flash any .zips as it will not mount /system.
Thanks in advance!
Fixed my problem.
Dinked around with a few ideas and got my problem fixed! Heres what I did.
1. Made a backup of system in twrp just in case.
2. Formatted system in wipe > advanced > and only checked system.
Panicked because I thought I bricked my device, wouldnt boot farther than the lg logo,
(next steps might be unnecessary but I panicked and tried them lol)
3. still had fastboot access so I repeated step 3 in the root method.
4. Reflashed boot2.img
5. Rebooted to recovery with volume- power, release power while keeping volume- at lg for a second then repress and hold power. Yes twice to get to recovery.
6. Restored system backup. (was able to fully boot now but with lag)
7. Reflashed konverged kernel.
And everything is working perfect now and I have my r/w ability and can mount system in recovery without having to select mount as read only.

Categories

Resources