[Q] CM 10.1.3 -> 10.2. Now stuck in boot loop - Nexus S Q&A, Help & Troubleshooting

Having not learnt my lesson from previous Android adventures, I decided update CyanogenMod installation from 10.1.3 to 10.2.0 on my Nexus S. I did the sideload from ClockworkMod recovery, rebooted, and got stuck on the loading screen. Having read suggestions to update GApps as well, I went back into ClockworkMod recovery, sideloaded the GApps, and, again, no joy. I understand that the next step to recover the phone is to factory reset it, but I forgot to backup everything beforehand.
I have some important information that I really don't want to lose in a factory reset. Complicating matters is that I've turned on encryption, so I can't simply use the ClockworkMod backup system and/or access the SD card. I'm running Linux with adb, so I can shell in if someone tells me how to dump the saved data off the phone. Even if I just get raw data and I have to enter it back in myself, that's better than losing it.
I know that downgrading back to 10.1 without a wipe is generally frowned upon. Is it worth gambling with the 10.3 nightlies to see if I can get a stable Android (there's an oxymoron!) boot going long enough for me to get everything off my phone before wiping it and reverting back to 10.2? If the issue is a corrupted apk, can I manually remove them to figure out what the problem is?

Borden Rhodes said:
Having not learnt my lesson from previous Android adventures, I decided update CyanogenMod installation from 10.1.3 to 10.2.0 on my Nexus S. I did the sideload from ClockworkMod recovery, rebooted, and got stuck on the loading screen. Having read suggestions to update GApps as well, I went back into ClockworkMod recovery, sideloaded the GApps, and, again, no joy. I understand that the next step to recover the phone is to factory reset it, but I forgot to backup everything beforehand.
I have some important information that I really don't want to lose in a factory reset. Complicating matters is that I've turned on encryption, so I can't simply use the ClockworkMod backup system and/or access the SD card. I'm running Linux with adb, so I can shell in if someone tells me how to dump the saved data off the phone. Even if I just get raw data and I have to enter it back in myself, that's better than losing it.
I know that downgrading back to 10.1 without a wipe is generally frowned upon. Is it worth gambling with the 10.3 nightlies to see if I can get a stable Android (there's an oxymoron!) boot going long enough for me to get everything off my phone before wiping it and reverting back to 10.2? If the issue is a corrupted apk, can I manually remove them to figure out what the problem is?
Click to expand...
Click to collapse
1. why are you side loading instead of flashing normal?
2. have you tried wiping everything minus sd and data and returning to 10.1.3?
3. when jumping versions, you need a full wipe..

Setting.Out said:
1. why are you side loading instead of flashing normal?
Click to expand...
Click to collapse
I sideload the update because you can't access an encrypted SD Card (which mine is) from recovery mode. I'm not aware of any other way to do upgrades.
Setting.Out said:
2. have you tried wiping everything minus sd and data and returning to 10.1.3?
Click to expand...
Click to collapse
Is there a way to do this? My understanding is that a wipe will clear the data and the SD Card unless you're lucky. If I could revert back to 10.1.3 without touching the data, that would be great, but I'd want to be linked to a tutorial so I'm sure not to mess up.
Setting.Out said:
3. when jumping versions, you need a full wipe..
Click to expand...
Click to collapse
Yeah, I'm an idiot. I've gotten away with sideload updates in the past, but Android caught me this time and left me in limbo.

Borden Rhodes said:
I sideload the update because you can't access an encrypted SD Card (which mine is) from recovery mode. I'm not aware of any other way to do upgrades.
Is there a way to do this? My understanding is that a wipe will clear the data and the SD Card unless you're lucky. If I could revert back to 10.1.3 without touching the data, that would be great, but I'd want to be linked to a tutorial so I'm sure not to mess up.
Yeah, I'm an idiot. I've gotten away with sideload updates in the past, but Android caught me this time and left me in limbo.
Click to expand...
Click to collapse
If you boot into CWM and do a format/wipe on everything MINUS the SD and DATA, you won't lose anything, but it may not fix your issue.. If you get your phone back up and running take off the encryption and back up your files, FULL WIPE and try again..

Thank you for the quick reply.
Setting.Out said:
If you boot into CWM and do a format/wipe on everything MINUS the SD and DATA, you won't lose anything, but it may not fix your issue.. If you get your phone back up and running take off the encryption and back up your files, FULL WIPE and try again..
Click to expand...
Click to collapse
When I go into ClockwordMod, version 6.0.4.3, the 'wipe data/factory reset' is the only option that I see, but it then warns me that all data will be wiped, which, I'm guessing, includes the /data partition. Is this correct or should I look some place else?

Borden Rhodes said:
Thank you for the quick reply.
When I go into ClockwordMod, version 6.0.4.3, the 'wipe data/factory reset' is the only option that I see, but it then warns me that all data will be wiped, which, I'm guessing, includes the /data partition. Is this correct or should I look some place else?
Click to expand...
Click to collapse
Mounts and storage / format
Sent from my Nexus S using XDA Premium 4 mobile app
---------- Post added at 11:34 PM ---------- Previous post was at 11:31 PM ----------
Also go to advanced / wipe dalvik... Are you sure you've flashed Roms before?
Sent from my Nexus S using XDA Premium 4 mobile app

Setting.Out said:
Mounts and storage / format
Click to expand...
Click to collapse
OK, found it there, and formatted /storage, /cache, /boot, and /system. Reflashed CM 10.2 and GApps 4.3 with no success. However, I did manage to dd dump the contents of mmcblk0p2 and mmcblk0p3 to my Linux hard drive, so if I ever figure out how to mount those images in Linux, I should be able to recover everything.
Setting.Out said:
Also go to advanced / wipe dalvik
Click to expand...
Click to collapse
Yep, I did that, too.
Setting.Out said:
... Are you sure you've flashed Roms before?
Click to expand...
Click to collapse
I don't understand this question. How else could I have gotten CM onto my phone in the first place if I never flashed a ROM?

With few other options, I did a factory reset which, predictably, wiped everything but the SD card and put me into a fresh phone. It's also not mounting the SD. So, since all of my data on my phone is gone, I'll just have to hang onto the dumps that I have and hope and pray that someone can tell me how to mount them to get all of my files back.

Related

Will data wipe wipe sdcard?

If I wipe data (factory reset) in recovery, will it also wipe the internal sd card?
ololizoz said:
If I wipe data (factory reset) in recovery, will it also wipe the internal sd card?
Click to expand...
Click to collapse
I know one way to find out...
Uhhh make a backup, and then do it...?
ololizoz said:
If I wipe data (factory reset) in recovery, will it also wipe the internal sd card?
Click to expand...
Click to collapse
Yes it will
Just tried, it didn't!
ololizoz said:
Just tried, it didn't!
Click to expand...
Click to collapse
Well now you know for yourself eh!
In recovery it won't delete it. If you do a true factory reset from within the os though it will definitely do it. Happened to me already.
Recovery just formats the data and system partitions.
Do you have to wipe the sd card on the Nexus S when redoing ROM's ?? the ics ROMs I downloaded installed correctly but on reboot will just sit on google screen. So could this be because the "SD card" needs to be reformatted?? or did i not wipe everything??
Thanks!!
Saneless One said:
In recovery it won't delete it. If you do a true factory reset from within the os though it will definitely do it. Happened to me already.
Recovery just formats the data and system partitions.
Click to expand...
Click to collapse
Thanks. I hope this works. I just returned my phone to stock 2.3.7, but my sd card went untouched. Too much garbage from before, so I wanted to clean that out and start new (before I go flashing a rom or anything else). I already saved what I wanted to my pc.
** Took a few minutes, but worked great. ALL clean **
Thanks again.
(this was like cashing out my 401k.. everyone advises against it, but no one says how it's done )
Like a few others said, if you go into recovery mode and wipe it you're good to go. All of your music, backups (from Astro), and whatever else will still be there . I accidentally forgot to backup while flashing a ROM once so I was panicking then I found all of my files still there. You cannot imagine the joy I had, nor my facial expression XD

[Q] Every ROM hangs at startup screen

Flashed several ROMS in my life and have not always wiped all data. Mainly i do dalvik and cache. My phones have always work. Now i have a Razr HD with an unlocked BL with TWRP loaded. I cant seem to get past the initial bootup screen no matter what ROM i flash. What am i missing here guys? Do i need to check the "factory reset" in TWRP along with Dalvik, system and cache?
famac! said:
Flashed several ROMS in my life and have not always wiped all data. Mainly i do dalvik and cache. My phones have always work. Now i have a Razr HD with an unlocked BL with TWRP loaded. I cant seem to get past the initial bootup screen no matter what ROM i flash. What am i missing here guys? Do i need to check the "factory reset" in TWRP along with Dalvik, system and cache?
Click to expand...
Click to collapse
answered here http://forum.xda-developers.com/showthread.php?t=2465695
bweN diorD said:
answered here http://forum.xda-developers.com/showthread.php?t=2465695
Click to expand...
Click to collapse
Not really. The majority of ROMS in question have been 4.2.2 based....
famac! said:
Not really. The majority of ROMS in question have been 4.2.2 based....
Click to expand...
Click to collapse
quote from post 11
"By golly that worked! It booted up fast as well. It must lie with the formatting your internal storage before flashing the 4.3 rom. I tried something similiar to this but I was already on a 4.3 rom that wouldn't boot and I formatted the sd card then tried flashing it again and it booted again for the first time but wouldn't the second. So if your having trouble do this:
Restored stock 4.1.2 using Matt's utility
Rooted with Matt's utility
Put 4.3 rom and GAPPS on external SD
Fastboot flash CWM 6.0.3.5 (or install via Matt's utility if you like)
Wipe data/factory reset
Wipe Cache/Dalvik
Go to mounts/storage and format /data and /data/media (/sdcard) **Back up anything in your internal SD you want to keep before doing this!**
Flash 4.3 rom
Wipe Cache/dalvik
Flash GAPPS
Wipe Cache/dalvik
Boot up and setup rom
Reboot"
bweN diorD said:
quote from post 11
"By golly that worked! It booted up fast as well. It must lie with the formatting your internal storage before flashing the 4.3 rom. I tried something similiar to this but I was already on a 4.3 rom that wouldn't boot and I formatted the sd card then tried flashing it again and it booted again for the first time but wouldn't the second. So if your having trouble do this:
Restored stock 4.1.2 using Matt's utility
Rooted with Matt's utility
Put 4.3 rom and GAPPS on external SD
Fastboot flash CWM 6.0.3.5 (or install via Matt's utility if you like)
Wipe data/factory reset
Wipe Cache/Dalvik
Go to mounts/storage and format /data and /data/media (/sdcard) **Back up anything in your internal SD you want to keep before doing this!**
Flash 4.3 rom
Wipe Cache/dalvik
Flash GAPPS
Wipe Cache/dalvik
Boot up and setup rom
Reboot"
Click to expand...
Click to collapse
Please explain this further to me. My problem is with 4.2.2 ROMS. The fix above is for folks having issues with 4.3 ROMS. Are you suggesting that doing this will also fix my 4.2.2 problems? This is also CWM while i run TWRP. I did a quick look and the two are setup a little difference. I played around with those highlighted instructions and almost accidentally wiped my only backup of my previous state. I actually thought i was toast but somehow i reloaded and went back to my old backup state.
famac! said:
Please explain this further to me. My problem is with 4.2.2 ROMS. The fix above is for folks having issues with 4.3 ROMS. Are you suggesting that doing this will also fix my 4.2.2 problems? This is also CWM while i run TWRP. I did a quick look and the two are setup a little difference. I played around with those highlighted instructions and almost accidentally wiped my only backup of my previous state. I actually thought i was toast but somehow i reloaded and went back to my old backup state.
Click to expand...
Click to collapse
i could be wrong, but in my opinion having the exact same issue even though its a different version, one of the 2 fixes in that thread should work.
the first fix likely doesn't directly apply although i suggest you ensure you have the latest version of your recovery of choice found here http://www.mediafire.com/download/tt7cwwua49n24uv/Razr_HD_Recovery_Flasher_V7.rar
second fix (backup ALL data you don't want to loose first as noted above), then do a full wipe as listed above, not just a fdr that doesn't wipe everything on the internal card.
the problem at this point is, you are assuming it wont work because of version differences, i am assuming it will. until you try it, i don't see any point in exploring other options, if there are any.
Dirty flashing when you go to different ROMs is generally not a good idea. Even on 4.2.2, it leaves residual data behind. There's a reason that the devs talk about doing complete wipes in their ROM threads, and there's a reason that they tell you not to talk about bugs unless you use their install directions.
RikRong said:
Dirty flashing when you go to different ROMs is generally not a good idea. Even on 4.2.2, it leaves residual data behind. There's a reason that the devs talk about doing complete wipes in their ROM threads, and there's a reason that they tell you not to talk about bugs unless you use their install directions.
Click to expand...
Click to collapse
Yeah, i am straight now. Did a full wipe and sailed right past the startup animation. Thanks all.
famac! said:
Yeah, i am straight now. Did a full wipe and sailed right past the startup animation. Thanks all.
Click to expand...
Click to collapse
Nice! Glad to see you got it working.

I think I messed up I need help

Not really sure how bad it is but here's what I did
Last night I got an update notice for cm-10.2-20131102-SNAPSHOT-M1-i9300.zip I decided to install it.
Install went great. I went to sleep
Woke up I realized it was really unstable my phone would restart, applications would crash decided to go back to my old rom.
I went to software update and I ran 10.1.3 and my phone was stuck at the loading screen.
I then decided to take out the battery and use a backup to restore to Samsung's Touchwiz I did that.
I then used MOBILE ODIN to flash 9.1.0 worked fine so I decided to try and flash 10.1.3 back on it with MOBILE ODIN but the version of mobile odin was really old and it didn't work and now my phone is just a black screen unless I go into CWM.
So now I'm stuck in ClockworkMod and it says I have no backups to restore to...
I found the backups
/sdcard/0/clockworkmod/backup/
but when I press restore it says no files found.
You can download a rom on your computer put it on your sdcard then flash it in recovery. Just make sure the rom is for your model of phone. If you have a verizon phone you do not want to flash the i9300 file again you are lucky your phone even turns on.
Sent from my SCH-I535
jhoutz said:
You can download a rom on your computer put it on your sdcard then flash it in recovery. Just make sure the rom is for your model of phone. If you have a verizon phone you do not want to flash the i9300 file again you are lucky your phone even turns on.
Sent from my SCH-I535
Click to expand...
Click to collapse
I have an i9300 phone international version... oh god I just realized I'm in the verizon section. How do I flash with CWM? Because I already have a 9.1.0 cyanogenmod rom in my phone.
iaxx23 said:
I have an i9300 phone international version... oh god I just realized I'm in the verizon section. How do I flash with CWM? Because I already have a 9.1.0 cyanogenmod rom in my phone.
Click to expand...
Click to collapse
First do a full wipe. Meaning format data, system, cache, and dalvik cache. The go to install, find your zip and go. Also with cm you prolly need to install the gapps too.
Sent from my SCH-I535
jhoutz said:
First do a full wipe. Meaning format data, system, cache, and dalvik cache. The go to install, find your zip and go. Also with cm you prolly need to install the gapps too.
Sent from my SCH-I535
Click to expand...
Click to collapse
Thank you so much. I was pretty scared... I heard the word brick like 3-4 times today I was about to lose my ****.
Thanks a lot!
i just did this myself and although i don't remember setting a password at all on TWRP, it's asking me one and i have no idea what it is. This is not allowing me to access data folder, sd card and such.
Can someone help me please?
---------- Post added at 06:57 AM ---------- Previous post was at 06:31 AM ----------
well, if i didn't type anything at all and cancel the password request, it seem to get by fine.
i was able to delete data and mount sd card.
my initial problem was that i kept trying passwords and getting errors, and then canceling the request.
Problem Solved.
You will just download a custom rom and install it with full wipe or use odin if you want to go back to original stock rom. It's just a softbrick, at least you can go to Clockworkmod Recovery, you can still recover your dead cellphone unlike to hardbrick which will go to a very complicated steps.

Anyone else flashing ROMs and finding them sluggish?

I used to flash things like Liquidsmooth and my phone would fly. Now when I flash GPE or a CM based ROM, it hangs and lags sometimes. Anyone have any similar problems?
Would also be a good time to ask, will wiping internal storage in TWRP delete recovery so I can't flash ROMs?
Recon0212 said:
I used to flash things like Liquidsmooth and my phone would fly. Now when I flash GPE or a CM based ROM, it hangs and lags sometimes. Anyone have any similar problems?
Would also be a good time to ask, will wiping internal storage in TWRP delete recovery so I can't flash ROMs?
Click to expand...
Click to collapse
No issues here... To answer your question... no It will remove your backups if you stored any there. Once you have installed twrp it will always be there unless you change it.
Recon0212 said:
Would also be a good time to ask, will wiping internal storage in TWRP delete recovery so I can't flash ROMs?
Click to expand...
Click to collapse
That's your whole problem right there.
You are reluctant to wipe /data? You HAVE to do it if you go from one rom to another. Also called a clean install.
If you go to the Wipe menu in TWRP and just swipe the button it will wipe cache, Dalvik and /data except /data/media/ which is where your personal files live. It will wipe you apps and their settings, but you can backup those in TiBu and restore them afterwards. Do not restore system settings from TiBu though!
Give your phone a break. Do that factory wipe I described above, then re-flash your current rom and I can pretty much guarantee it'll be night and day.
This phone is so fast - a shame to gum it up

[Q] Formatting just internal Storage back to stock

I am having a hard time finding anything that shows how to format just my internal storage (where downloads, etc live). I am selling this phone and wish to perform the wipe but keep root.
Can someone point me in the direction of a thread or knows how to do this?
oconnell84 said:
I am having a hard time finding anything that shows how to format just my internal storage (where downloads, etc lives). I am selling this phone and wish to perform the wipe.
Can someone point me in the direction of a thread or knows how to do this?
Click to expand...
Click to collapse
you will need to go to settings->backup and reset-> and choose reset phone.
make sure you have already backed up all your files on you computer or sd card before doing this also make sure your SD card is removed as well.
neggie said:
you will need to go to settings->backup and reset-> and choose reset phone.
make sure you have already backed up all your files on you computer or sd card before doing this also make sure your SD card is removed as well.
Click to expand...
Click to collapse
And this factory reset will not remove root or associated files that are in the Stock Rooted Rom?
oconnell84 said:
And this factory reset will not remove root or associated files that are in the Stock Rooted Rom?
Click to expand...
Click to collapse
Depends... How did you root? Weaksauce or perm root via custom recovery?
If you have TWRP or CWM installed format data from the Wipe menu in recovery. That will wipe your apps and personal data but keep your root intact.
If Weaksauce is installed to /data it would be wiped by a factory reset mentioned above, but you could easily reinstall it and gain temp root that way.
oconnell84 said:
I am having a hard time finding anything that shows how to format just my internal storage (where downloads, etc live). I am selling this phone and wish to perform the wipe but keep root.
Can someone point me in the direction of a thread or knows how to do this?
Click to expand...
Click to collapse
TWRP has an option to wipe just the internal storage.
sfobrien said:
TWRP has an option to wipe just the internal storage.
Click to expand...
Click to collapse
Yeah, but unless TWRP for the M8 works differently than TWRP for my Transformer tablets, the /data wipe doesn't wipe /data/media and he/she wants to prepare his phone for sale, as in: making sure no personal data is left. AFAIK only formatting data does that.
Originally Posted by sfobrien View Post
TWRP has an option to wipe just the internal storage.
Click to expand...
Click to collapse
berndblb said:
Yeah, but unless TWRP for the M8 works differently than TWRP for my Transformer tablets, the /data wipe doesn't wipe /data/media and he/she wants to prepare his phone for sale, as in: making sure no personal data is left. AFAIK only formatting data does that.
Click to expand...
Click to collapse
TWRP will allow you to wipe everything. If I read correctly he wants to keep the device rooted but clean. Use TWRP to wipe Internal Storage, Dalvik,Cache,System,and Data. Before rebooting device install a fresh copy of whatever ROM he wants from the External Card. This should achieve what he is looking to do. You can then remove the external card or wipe it too if it's going to remain in the device.
Use the RUU from dottats thread, does everything you want, plus prerooted stock
aer0zer0 said:
Use the RUU from dottats thread, does everything you want, plus prerooted stock
Click to expand...
Click to collapse
Sorry, where is that thread? I am looking to flash back to stock in order to get the verizon OTA when it comes out.
RedBullet said:
Sorry, where is that thread? I am looking to flash back to stock in order to get the verizon OTA when it comes out.
Click to expand...
Click to collapse
Here's the link to the ruu thread: http://forum.xda-developers.com/showthread.php?t=2727831
RedBullet said:
Sorry, where is that thread? I am looking to flash back to stock in order to get the verizon OTA when it comes out.
Click to expand...
Click to collapse
And I would suggest not going stock to take the ota. Flashables of the firmware and 4.4.3 will be put up really soon after the actual ota drops, then no risk of locking up your device
Shamestick said:
And I would suggest not going stock to take the ota. Flashables of the firmware and 4.4.3 will be put up really soon after the actual ota drops, then no risk of locking up your device
Click to expand...
Click to collapse
OK, sitting tight.

Categories

Resources