Related
Hi,
I'm researching flashing via CWR, ROM over ROM without flashing to Stock via ODIN. Specifically, I'm at Cog 3.02 with "base" Cognition Kernel/Modem thinking about going to Andromeda...both employ Voodoo/EXT4, so shouldn't need to disable lagfix (I think?)...
I read at this link (apologies for spaces, but I'm new so can't post actual links): h t t p : / / forum.xda-developers.com/showthread.php?t=900463
a spirited debate starting about page 4 that flashing to ODIN is effectively doubling your chances for a bad flash, and that recovering a bad flash via CWM is far easier (just try re-flash again...and again(?) until fail back to trying ODIN) than recovering a bad ODIN flash.
If that's true, what prep should I do first via CWR?
1. Andromeda says requires wipe, does ROM install do this or do I do it via CWR first (wipe data/factory reset in recovery)? How 'deep' is a wipe...what do I need to save prior to this?
2. Wipe Dalvik Cache and/or wipe cache partition?
3. Save /efs folder?
4. Aside from TiBu backup to PC, am I missing anything else to save? I forgot to save my Android ID on my first flash, so it's my understanding I can only get that back via flash to Stock...I'd prefer to only go to ODIN if I have to.
Another question I had was regarding nandroid. I made a nandroid backup right after flashing to Cog. Do I really even need this? Since I haven't changed kernel/modem, wouldn't I be better off just flashing my initial Cog zip file?
Finally thanks to all who make this site kick_ss. Connexion2005's videos are indispensable for a newbie like me. People actually answer questions here, and the Devs suceed in delivering onto us a wolf in (out of the box) sheep's clothing...something AT&T and Samsung have failed to do.
Cognition 3.02 is my first and only custom ROM and DG, you have literally saved me from making my phone a brick the old fashioned way: throwing it against a wall. Running flawlessly since Jan 17th...at the same time, I am eager to see what else is out there, ***safely*** as possible.
Thanks in advance.
Since they are both ext 4 you should be ok.
The rom wipes, I clear davlik cache before flash and after, but there our no good reason as to why
Efs files, do you use kies? If so you may want to back them up, if not don't worry, I have never backed then up
Odin flash is not needed but my opinion is you should know how to use odin prior to flashing. Why panic to figure it out if something goes wrong,?
NANDROID only needed if youare going back to cog and after you have flushed the rom you want to restore settings
I think I got everything you asked
Thank you.
So really just the Dalvik cache wipe in CWR prior to.
Kies...soooo failed ever getting that working, and don't seem to need it.
Yeah I actually flashed ODIN1 unnecessarily prior to my flash to Cog. I was at stock and somehow thought ADW would mess it up...rook. I have build 1006 so good to know ODIN's there if I need it.
Re: Nandroid, but if I kept the initial zip for my flash to Cog wouldn't I just use that? Or does Nandroid do better job of ensuring good flash back to what I have right now?
Not familiar with flushing...Would I be able to restore Nandroid directly on top of ROM I'm switching off of?
Thanks again.
OP,
You'd double the chance of failure if all else were equal. I don't have statistics, but I have no doubt that failures happen far more often with odin flashes, though.
1. Andromeda says requires wipe, does ROM install do this or do I do it via CWR first (wipe data/factory reset in recovery)? How 'deep' is a wipe...what do I need to save prior to this?
2. Wipe Dalvik Cache and/or wipe cache partition?
3. Save /efs folder?
4. Aside from TiBu backup to PC, am I missing anything else to save? I forgot to save my Android ID on my first flash, so it's my understanding I can only get that back via flash to Stock...I'd prefer to only go to ODIN if I have to.
Click to expand...
Click to collapse
The ROM install script does the wipe. This simply means all your apps and data will be erased (your pictures and anything on the internal and any external sdcard will not be deleted).
I never wipe the dalvik cache or cache partition before flashing. I only do that if I'm having issues like FCs (sometimes happens after a bad theme install, for example).
You probably should have backed up /efs before flashing anything, but that's not to say a backup now isn't a good idea. You only need to do this once.
If I recall, you do need to flash 2.1 to get the ID back. I'm not 100% sure there isn't another way.
WRT the nadroid backup, you don't really need it. What I do is keep 2 or 3 good CWM flashable ROMs and the CWM update.zip on my sdcard in case of problems. I also keep TiBU backup of my stuff there (which I also occasionally backup to my PC just in case my sdcard gets wiped for some reason).
One thing I would suggest is to be sure you have working button combos in case you ever need download mode (hopefully you never will, but it's always possible). If you don't have that, there is a clockwork flashable fix or you could just flash cognition or perception once and then flash whatever you want over them (you can do both flashes all without ever leaving recovery). That should fix the button combos since DG's ROMs include a good sbl.bin (I'm not a fan of that inclusion, but it is useful in this case). Since you are running Cog, I assume your download mode is already working.
Thanks opcow.
Yeah I made sure I could get into d/l and recovery mode with button combos before I even rooted.
So would you ever use a Nandroid backup if you added a different kernel/modem to a ROM? Or would you just go back to the initial zip and SGS Kernel to flash kernel/modem? I haven't done kernel flash...yet...
Madtowndave said:
Thanks opcow.
Yeah I made sure I could get into d/l and recovery mode with button combos before I even rooted.
So would you ever use a Nandroid backup if you added a different kernel/modem to a ROM? Or would you just go back to the initial zip and SGS Kernel to flash kernel/modem? I haven't done kernel flash...yet...
Click to expand...
Click to collapse
If the ROM you were running when you backed up is compatible with the new kernel then I don't see why there would be a problem. I don't do it, myself, but I'm not sure why. Maybe it's because I have the paid TiBU and I just use that.
Thanks again...
Yeah I bought full TiBu, so obviously that should work for the apps/data.
Did some more digging tonight and apparently Nandroid backup is ROM only, not Kernel...So seemingly would need to be on same Kernel at least to do proper Nandroid restore.
...that being the case, I guess I don't understand why people stress importance of running a Nandroid prior to and/or post ROM flash...am I missing something?
If you like a rom and set everything up but want to try another doing a nandroid allows you to restore once you flash the rom again.
Also good to run nandroid on new flash, so if you play with themes and something goes wrong you can restore
That makes sense.
Showing me newbie-ness since I haven't played around with themes yet...
...Figured I'd at least get 2nd ROM flash out the shoot before playing with kernels, modems or themes...
This thread is helpful for me. I appreciate your time.
This is along the lines of the question that I was going to post so figured would ask here. I too am considering trying out the new Andromeda. I am currently using Cog 3.04 and want to test out the new Andromeda. The TiBu I have right now is from when i was on stock as I just recently purchased this and Cog was my first flash.. Would i want to continue to use that backup when i flash to andromeda, or would it be better to run a full backup with tibu while cog is on there and then flash to andromeda and use the cog backup??
also,, from above, i could possibly just skip the step with odin and go straight to andromeda? or do I need to run odin and put it back to stock before going over to andromeda?
thanks
zug
Hey Zug,
Just flashed andromeda last night via method outlined above...did not revert to stock at all (no odin). Only issue thus far is market only showing very few installed apps under 'My Apps', but I think this is a common issue. Will research solution tonight (I did have some issues getting back all apps from TiBu, but after I restored missing apps twice and rebooted a few times they all appear to be back). Also my simi clock widget comes and goes, not sure why...might clear dalvik cache to see if that helps.
Regarding TiBu, it saves apps and data. It is not ROM specific...you just back it up, then after you flash new ROM you restore missing apps with data (do NOT restore system data).
EDIT: Resolved the My Apps Market issue (only a few were showing after flash) by going to Settings, Applications, Manage, go to Market, Clear Data, reboot. Search is my friend.
i897 running Andromeda 2.0
Thanks Madtowndave.. i might give that a try.. so, since my phone is rooted and what not, i can just go to the guide and start at the portion about puting the new rom on the sd card, rebooting it and what not in recovery and select that zip and flash it right ? (well condensed version of course) and it should all be good?? guessing if this fails can always use the odin and wipe it and go back?
since i added a few new apps, guessing then that i should use tibu and go ahead and reback up everything since this rom does the master clear and then reload them right?? and hate to ask.. but how do I do the nandroid? newbie still to android and i know that just backs up the rom, but is it a app to dl from market? was fishing around in phone and didnt quite see it yet. .but figured i would do a nandroid in case i want to go back to cog.. this smart?
thnx again
zug
I think most of your questions are answered by others in this thread...
One thing I noticed last night is that I only got red (voodoo) cwm recovery menu via 3 button or long press power and reboot to recovery...when I rebooted to recovery via ROM Manager, I got the green cwm recovery menu. Not sure if this matters, but in another forum (on Vibrant phone, our sgs cousin), they said to flash ROM via the red voodoo cwm menu (since cog and andromeda both employ voodoo you can leave it enabled).
Nandroid backup you can do either from ROM manager or in cwm recovery...
Also andromeda wipes the system data, not a master clear...your data on 16 gig internal memory should not be affected, but is very good idea to backup everything to pc per the flash custom ROM guide.
i897 running Andromeda 2.0
Thanks again madtown.. going to give it a try now.. as andromeda just finished DL'ing
Good luck, hope it goes smooth for you as it seemingly has for me...Feel like a bit of a heretic for not flashing to odin first...maybe I'm just lucky.
i897 running Andromeda 2.0
hmm. ok. .so did the reboot to recovery and installed andromeda.. did it take a tad bit for yours to boot into the phone portion after it got to the andromeda screen?? mine seemed like it was hanging and was about to worry.. but finally booted in.. so figured would see if yours did too? .. gonna test stuff out now and restore tibu
Yeah, did for me too...and yes I was worried. Pretty sure this is very normal on first boot into new ROM in general. Like I said, TiBu was a bit cranky for me and required 2 restores and reboots...
Really enjoying this ROM, btw.
i897 running Andromeda 2.0
yeh.. im still doing the install from tibu (getting paid version after tomorrow since payday since im hating have to select install for every app ) .. and then will reboot and test .. though one thing ive noticed that is diff from the video is the lock screen.. in his review it was the lock button and he swiped it up.. mine is set to a puzzle piece by default?? any idea??
edit.. k mine was a 1st time go for apps restored with tibu .this is pretty nice.. it does appear to be a lot faster/smoother than cog so far.. though the Keep the lights on app should keep my bottom buttons on all the time right? least thats what i thought i was from the video and mine seem to still fade out.. even though i hit the app and it said it was enabled..
changing unlock is in settings, display...
Dunno about lights, mine just worked. Make sure service started and reboot I guess.
i897 running Andromeda 2.0
ok.. that was what it was for the lock part.. thnx .. didnt know that was there for those 4 choices.. thought only could do the none, pattern, pw etc..
everything went fine until i decided to load my contacts/sms etc from tibu.. now when i rebooted to add them, i keep getting the message "Sorry, The application Swype (processcom.swype.android.inputmethod) has stopped unexpectedly.. please try again" constantly getting things like that about swype.. any idea what happened or what i need to do?
edit.. sucked it up and re-flashed ;( will just sync contacts and deal with the ones missing for now ;(
So I've never had problems backing up my Nexus one in the past using clockwork mod, but the past day, I've been trying to back it up so that I can try out Rodriguezstyle's new MIUI mod, but the backup keeps getting stuck on "Backing up sd-ext"
In particular, it says its getting stuck on "apparently this looks like a link?"
look down vertically for the thing I'm getting stuck on.
However, when I've pulled out my battery and reset into the recovery, I've found that the backup I was trying to make has actually been logged. I've been too scared to actually try to restore that backup to see if it's worked, because honestly I don't have any other recent backup and I don't want to mess anything up.
Any help would be appreciated! I might try to flash another recovery and backup that way...
I'm running RodriguezStyle's 2.9.2 MIUI ROM along with wildmonk's kernel and the most recent version of ClockworkMod Recovery if anybody's asking.
apparently I can't write out the exact file that it's stuck on...it thinks that it is a link...
ok here goes: "[email protected]@[email protected]"
Have you tried to fix permissions?
Yup I've tried that multiple times, rebooted, and it still didn't work.
You using cwm 3.0? It's known to cause problems like that. Happened to me before that's why I switch to amon ra
crazylilazn said:
So I've never had problems backing up my Nexus one in the past using clockwork mod, but the past day, I've been trying to back it up so that I can try out Rodriguezstyle's new MIUI mod, but the backup keeps getting stuck on "Backing up sd-ext"
In particular, it says its getting stuck on "apparently this looks like a link?"
look down vertically for the thing I'm getting stuck on.
However, when I've pulled out my battery and reset into the recovery, I've found that the backup I was trying to make has actually been logged. I've been too scared to actually try to restore that backup to see if it's worked, because honestly I don't have any other recent backup and I don't want to mess anything up.
Any help would be appreciated! I might try to flash another recovery and backup that way...
I'm running RodriguezStyle's 2.9.2 MIUI ROM along with wildmonk's kernel and the most recent version of ClockworkMod Recovery if anybody's asking.
Click to expand...
Click to collapse
Did you find any solution? I have the same issue after trying to restore from CWMrecovery. I have changed to Amon_RA so I will never come back to CWMr...
But I would like to recover to backup...
Clockwork recovery versions 3.x and higher have been known to mess up ext partitions. You may need to reformat your card and switch to an earlier version of Clockwork (or maybe try Amon Ra).
I tried restoring from a nandroid backup I made and after the restore, I could only get as far as the i9000 boot screen. I went into recovery to try and flash a ROM, but CMW recovery could not mount my partitions (partitions got messed up by nandroid?) The only quick way I could think of was to use odin and refalsh and repartition.
I restored my nandroid from within CWM recovery. Is there something I am missing in the restore process? Obviously something went wrong.
asicman said:
I tried restoring from a nandroid backup I made and after the restore, I could only get as far as the i9000 boot screen. I went into recovery to try and flash a ROM, but CMW recovery could not mount my partitions (partitions got messed up by nandroid?) The only quick way I could think of was to use odin and refalsh and repartition.
I restored my nandroid from within CWM recovery. Is there something I am missing in the restore process? Obviously something went wrong.
Click to expand...
Click to collapse
Hey man, sounds like you tried to restore one system over another,
Forexample, stock over cm7? and that messes up the partitions as you see!
Try to install the rom you are trying to restore before you start restoring!
Should work then!
Hope this helps
I did indeed try to restore a ROM which was very different from the installed ROM. I will keep your suggestion in mind the next time I do a restore.
Just to confirm : yes, you need to flash the base ROM you're trying to restore.
I played with ICS over the weekend and got back by flashing a stock - well stock+ - JVZ and restoring nandroid.
Did the same thing, stupid as I am,
the big problem is that none of the computers I've tried with is detecting my phone right now.
I get in to CWM but and to download mode but that ain't helping me since i can't use Odin to flash back to stock rom.
Any ideas?
I'm trying to resurrect my I897 Captivate. I put it in the drawer a couple of years ago with Glitch kernel and AOKP ICS on it. My wife destroyed her Skyrocket (S2) and she needs a phone to use as a stand-in for a couple of months.
I wiped it, no nandroid backup since I had no plans to use any of the data on it, and began trying to install Cyanogenmod. I was planning to use the recent M5 snapshot of CM11 but am ok with going to 10.2.1 stable if 11M5 doesn't work.
However, I just can't get it to boot. It will go into recovery mode fine (in fact, it boots to recovery even when no buttons are pressed).
I went back, wiped everything, formatted all partitions, and started with CM7, then CM9, then CM10.2.1 to get the partition scheme updated and just to be sure it wasn't CM11M5. However none of those change the issue. It just refuses to boot anything but recovery.
I've repeatedly done wipes and factory resets, including going back and formatting the partitions. I've tried the "install CM twice" trick. The phone just does not want to boot the images.
The install processes seem to go fine. No errors reported during .zip install.
I went through many different pages that are meant to break a recovery loop, most of which just have you do the basic reset and reboot, but so far have found no way to break the cycle.
Any ideas?
jahfry said:
I'm trying to resurrect my I897 Captivate. I put it in the drawer a couple of years ago with Glitch kernel and AOKP ICS on it. My wife destroyed her Skyrocket (S2) and she needs a phone to use as a stand-in for a couple of months.
I wiped it, no nandroid backup since I had no plans to use any of the data on it, and began trying to install Cyanogenmod. I was planning to use the recent M5 snapshot of CM11 but am ok with going to 10.2.1 stable if 11M5 doesn't work.
However, I just can't get it to boot. It will go into recovery mode fine (in fact, it boots to recovery even when no buttons are pressed).
I went back, wiped everything, formatted all partitions, and started with CM7, then CM9, then CM10.2.1 to get the partition scheme updated and just to be sure it wasn't CM11M5. However none of those change the issue. It just refuses to boot anything but recovery.
I've repeatedly done wipes and factory resets, including going back and formatting the partitions. I've tried the "install CM twice" trick. The phone just does not want to boot the images.
The install processes seem to go fine. No errors reported during .zip install.
I went through many different pages that are meant to break a recovery loop, most of which just have you do the basic reset and reboot, but so far have found no way to break the cycle.
Any ideas?
Click to expand...
Click to collapse
my advice is, go to stock GB, then flash ICS, flash a KitKat kernel, reboot recovery and then flash CM 11..
hope this works for you!
Yeah that was my next plan, already have the stock ROM downloaded. Will report back. Was just hoping there was a known issue that I could fix without reverting. Not a big deal Thanks.
Stock Rom
jahfry said:
Yeah that was my next plan, already have the stock ROM downloaded. Will report back. Was just hoping there was a known issue that I could fix without reverting. Not a big deal Thanks.
Click to expand...
Click to collapse
Hello jahfry! Glad to hear you got the stock ROM. Would you mind telling me where you got it from? All the links I've found here are dead… I am in a similar situation as you - managed to get a custom rom going but have lost all trace of EFS folder/ nv_data.bin file…. Need to go back to stock to start again… Any help appreciated!
asianlight said:
Hello jahfry! Glad to hear you got the stock ROM. Would you mind telling me where you got it from? All the links I've found here are dead… I am in a similar situation as you - managed to get a custom rom going but have lost all trace of EFS folder/ nv_data.bin file…. Need to go back to stock to start again… Any help appreciated!
Click to expand...
Click to collapse
Stickied threads: http://forum.xda-developers.com/showpost.php?p=18370912&postcount=3
Search goes a long way
Hi all
First post. There's a bit of detail here as I'm not sure if there's something that might be relevant to the question that I'll be asking.
I had my phone rooted for a year or two now, "happily" sitting on stock Gingerbread. Over the weekend, I decided to take the plunge and install CyanogenMod 10.2
Prior to starting, I went in to ClockWorkMod Recovery and made a Nandroid backup. (CWM was installed when I rooted the phone, it was version 2.5.1.0)
I also used TitaniumBackup to back up all of my contacts and SMS messages (wasn't bothered with anything else).
I downloaded CM 10.2 from the website and gapps-jb-2013013 to go with it. I read around how to do the update and armed with the laptop for googling, I began:
Wiped everything and began flashing CM.
It failed. Got an Error 0 when trying to install the package.
Googled furiously, tried editing a line in the CM zip file (something to do with detecting the model of my phone), then flashing it from the external SD card. Still nothing. Copied original CM zip file back to the external SD card. Eventually got fed up and rebooted phone to recovery thinking I was beaten and I'd have to restore to stock
But then I notice that CWM has changed. Now I have the gears/orange/hat logo, it's reporting that it's version 6.x
So it seems that it updated CWM. I'm wondering if that might have been causing the problems...
So I now try to re-flash CyanogenMod. It flashes. Flash gapps too: It works - Hooray! Try rebooting -> bootloop (although at least now it's a cyanogenmod bootloop )
Can't power off phone, so I remove the battery, give it the old DOS 15 seconds, battery back in and boot to recovery again.
Wiped partitions again, reflashed CyanogenMod and gapps and this time it works. Hooray again! Reboot phone and in no time it's asking about google accounts and such. AWESOME (albeit slightly nervewracking)
So I have CM 10.2 running and Play Store runs and I can download apps. I pull down Titanium, restore my contacts to test it out.
Crash. (Something about acore process has stopped ...)
Reboot. acore still crashing.
OK, no panic. It's probably broken, but the since I've just flashed it and have nothing on there other than ROM and gapps, I can do it again.
Did. Went fine. New Nandroid Backup as a precaution.
So, Titanium won't extract contacts. Wasn't going to chance it with SMS messages, so held off on installing it again.
Googled some more, read about AppExtractor which can talks directly to Nandroid backups.
Installed AppExtractor, tried restoring contacts - blanks the 3 contacts I had started manually creating and leaves me with nothing.
Rebooted just in case. Still nothing
Tried it again just in case it would prefer an empty contacts location. Still Nothing.
Decided that because I now have a Nandroid backup of CM, I'll go back to stock, export SMS and contacts out to some sort of neutral format, then come back to CM (with newly acquired Nandroid backup) and import. Should be straightforward.
And as if you couldn't guess: It wasn't.
CWM (6.x) refuses to restore the stock rom (I've also tried using a backup that I made about 6 months ago, no luck there either).
So the situation is now: Phone running fine on CM 10.2.1 (only one spontaneous reboot and subsequent bootloop), but can't restore old Nandroid backups (taken with CWM 2.5.1.0 speedmod).
I've tried e-mailing the author of AppExtractor but haven't heard anything back.
Finally, to the questions (thanks for your patience)
Any thoughts on why I can't go back to the old stock rom? Is there no backward compatibility?
And: Any way to restore SMS messages and contacts from the old stock rom to the new CM rom (if AppExtractor doesn't work).
Thanks in advance
Scouser27
Of course you can't restore contacts, TW format and AOSP are not compatible. Also nandroid done with CWM 2xxx isn'restorable with CWM 5xxx or 6xxx.
Also forget Titanium Backup for any system apps or files. Not gonna work with Cyanogenmod. Every OP warns about that.
The best way is to flash your old GB with odin, then SpeedMod kernel, restore your nandroid, export contacts to SD card (in contacts app in menu) and backup SMS with app "SMS backup & restore" by Ritesh Sahu.
I have described all here:
http://forum.xda-developers.com/showthread.php?t=2444308
tetakpatalked from Nexus 7 flo
Partial answer
Found a partial answer to the first question in the FAQ of this post:
Link
So it would seem that the only way back would be to get the stock Gingerbread (I have a copy of a file that appears to be the rooted Samsung Kernel)
[Additional thanks to tetakpatak for his reply whilst I was posting this - it seems that the article I linked above is the same one quoted in tetakpataks reply]
Realistically though, I'm not sure I could be bothered with going back to stock.
So now to the recovery of contacts and SMS messages.
Thanks again
Scouser27
scouser27 said:
Scouser27
Click to expand...
Click to collapse
Don't worry. I hope you know which GB did you use before. At least you must know which SpeedMod kernel did you have so if you now just flash a fairy similar GB like you used before and the same SpeedMod kernel, you will be able to restore your nandroid backup so you will have all your data back.
tetakpatalked from Nexus 7 flo
tetakpatak said:
Don't worry. I hope you know which GB did you use before. At least you must know which SpeedMod kernel did you have so if you now just flash a fairy similar GB like you used before and the same SpeedMod kernel, you will be able to restore your nandroid backup so you will have all your data back.
tetakpatalked from Nexus 7 flo
Click to expand...
Click to collapse
Thanks for the suggestions and apologies for the delay in replying.
I don't know the Gingerbread version - didn't think I'd be going back to it!
I appreciate you taking the time to follow up on this, but I'm going to park this issue and learn a simple lesson. BACK UP EVERYTHING and do it more than one way!!
Thanks again for the help and suggestions