I have Soooooo got the flashing bug!!! - Galaxy S II General

After an initial hesitation, I decided to take the plunge and venture into the world of non-stock ROMS and Kernels.
As you can see from the attached image, I have been busy, but I think I have found the right combo for me, and it goes like this,...
Wanamlite 11.1 ROM Blue themed
Abyss 2.2 Kernel
NELP2 Modem. (on 3 UK) (`kin awesome BTW)
It has been quite a learning curve, (5 days to be precise lol) But I now (kinda) know the difference between AOKP, AOSP and MIUI ( the latter I have avoided - If I wanted my phone to look like an iPhone, I`d have bought an iPhone, A personal thing I guess, each to their own)
I have not had any FC`s, (apart from skyfire), and I attribute that to good practice (as screamed untold times throughout these forums)
1. Before flashing, I laways do a Dalvik wipe, user data(factory reset) wipe, cache wipe, Format system, format cache, and fix permissions.
2. After flashing, I do the same (except format system)
3. I boot the phone normally, and go through the rigmarole of getting to your homescreen.
4. I reboot into recovery, and do another cache wipe, dalvik wipe, and fix permissions ( I do not wipe user data - durrr lol)
It might seem like a particularly anal way to go about it, But After such a good success rate, I can safely say it works 100% of the time (disclaimer...On my particular device)
Does anyone have any tips that add up to the foolproof flashing method???

Cool story bro......changed my life for ever.
Next time write it on your personal diary

bartoloandre98 said:
Cool story bro......changed my life for ever.
Next time write it on your personal diary
Click to expand...
Click to collapse
Wayyyyy ahead of ya.....

Welcome to XDA and Galaxy SII forums.
I haven't started the rooting and flashing custom ROM's yet but I did started using Odin to flash official ICS firmware.
I'm still not safe about rooting the device though, I always get the feeling that I'm going to screw everything up (I tend to do that sometimes ).
It's nice to know everything is working great for you.
I will get to flash custom Rom's one day, but I'm happy with Samsung official right now.

@OP, try installing some init.d scripts.
http://forum.xda-developers.com/showthread.php?t=1353903

Related

Quick and easy cm7 question

I am running the nightly build 7. It is my understanding that if I wanted to flash the newest one I..
1. Put the .zip file on my SDCard
2. Create a backup of what I am currently running
3. Not wipe anything and flash the Rom
4. Business as usual
Is this correct? Will I have to flash GAPPs again? Will I have to restore all of my apps or will my phone basically be the same with the exception of the updates?
That is pretty much it, though if you have issues, you will need to do a full back up/wipe and re-install, other wise you are good to go. I just write the current cm7 over mine with no wipe and everything is just fine! Good luck!
it is always good practice to wipe dalvik and cache though, just my two cents... as that is how i do my update
michaelmcelveen913 said:
it is always good practice to wipe dalvik and cache though, just my two cents... as that is how i do my update
Click to expand...
Click to collapse
The only time I do that is if I am going from a nightly to a rc... I have found no benefit doing it from a nightly to a nightly. But hey we all do it differently, whatever works right !
Tatdude806 said:
The only time I do that is if I am going from a nightly to a rc... I have found no benefit doing it from a nightly to a nightly. But hey we all do it differently, whatever works right !
Click to expand...
Click to collapse
yes, you are correct! we all have our methods, and so long as you dont end up with a $500 paper weight then its all good!!! i personally am now starting to do a full wipe including sdcard for every flash, just cause i seem to see less problems and such with such practices, but i back up everything!!! there are a million different ways to do this, and it is all based on your preferences... best of luck and keep on learning!!!

New to the Scene

EDIT: Just rooted first time, freaking awesome.
I'm not the first to come through here and won't be the last, so ahem.
"Hi I'm a newbie, blah blah blah"
Maybe I can get some points for originality approach.
Obviously speaking, I have an Inc, I've wanted to root for a while but honestly been intimidated thus far, I have a good grip on technology, phones, etc. I've done jailbreaking on iDevices, but that's not anything special anymore.
I've been through the guides, tutorials, etc. but in my opinion, there's no straight forward explanation for everything for someone who needs a little more than an overall outline on what you're doing.
I'm all about speed on my phone, having the latest coolest new stuff.
That being said, in the beginning, I want to root to just remove the bloatware that is so well documented and do Wifi tethering.
and in the end, I might want to try to flash ROMs but that still intimidates me in having to factory reset, etc etc.
But can someone run me through things, what happens, etc.?
Thanks.
I Am Marino said:
I'm not the first to come through here and won't be the last, so ahem.
"Hi I'm a newbie, blah blah blah"
Maybe I can get some points for originality approach.
Obviously speaking, I have an Inc, I've wanted to root for a while but honestly been intimidated thus far, I have a good grip on technology, phones, etc. I've done jailbreaking on iDevices, but that's not anything special anymore.
I've been through the guides, tutorials, etc. but in my opinion, there's no straight forward explanation for everything for someone who needs a little more than an overall outline on what you're doing.
I'm all about speed on my phone, having the latest coolest new stuff.
That being said, in the beginning, I want to root to just remove the bloatware that is so well documented and do Wifi tethering.
and in the end, I might want to try to flash ROMs but that still intimidates me in having to factory reset, etc etc.
But can someone run me through things, what happens, etc.?
Thanks.
Click to expand...
Click to collapse
Well...
Rooting is giving full admin rights over your phone (as you probably know). This has become a very simple process thanks to the Unrevoked team (http://unrevoked.com/ follow very easy instructions to get root). Once you root you can flash an alternate recovery (which unrevoked does for you, clockworkmod) which from there you can flash ROM's, kernels, and other various things. With you being scared to reset, it really isn't as bad as you think. Everything you delete can be backup'd before hand using clokworkmod itself, google's servers, or apps (Titanium Backup). After you flash your new fresh rom, clean of all contacts, apps, messages, you will begin to restore all your wanted contacts etc. This isn't a quick process for most but you will get used to it. So here's a step by step if I wanted to take my Inc running stock, and flash a whole new ROM...(This is presuming your rooted which I explained previously)
1. Download the full ROM from the thread, make sure you read the first couple post to make sure you don't miss anything important.
2. Make folder's on your SD card and label them ROM's, Kernel's, etc. to keep orginized. Drag your downloaded file to the appropriate folder.
3. Use Titanium Backup (on Market) to backup all of your installed apps and games, so it's easy to reinstall them. All the backups are saved on your SD card, so they can easily be restored.
4. Make a nandroid first just in case you f*** up which you will do at some point. (A nandroid is a FULL backup of your phone at the point you make it, apps, contacts, messages, ROM, kernel, everything is backed up, this is done in clockworkmod by going to Backup/Restore > Backup. Obviously if you wanted to restore from a previous backup, you would go to restore, and choose the backup file you would like to run.) This could take up to 10 minutes.
5. Wipe all your data, cache, and dalvik cache (Advanced > Wipe Dalvik) And dont be scared, all of your stuff is backed by apps, google, and in dire situations, your nandroid.
6. After your wiped, flash your ROM (Main > Choose zip from SD card > "Folder" > ROM > press trackpad. It will ask to confirm, use the volume rocker to navigate to yes and confirm.
7. Once it's flashed, "Reboot system now"
8. You will have to probably go through a setup process similar to when you first set up your phone, go through it, once your done you have a fresh ROM, no apps, no bloat (Depends on ROM).
9. Download your backup apps from the market and commence your restore.
10. There you have it. If I missed any points I apologize, but that's how I do it.
Try the "Incredibly Re-Engineered" ROM, it is the absolutely fastest ever....totally awesome....bah, who needs Tegra2 with this ROM. Fantastic...
Someone told me I have to format my SD card?
Sent from my ADR6300 using......you get the idea.
I Am Marino said:
Someone told me I have to format my SD card?
Sent from my ADR6300 using......you get the idea.
Click to expand...
Click to collapse
If it isn't already fat32.
Sent from my Droid Incredible running Myn's Warm TwoPointTwo RLS5.3.
Funny story, OP, I was looking around for the exact same thing as you were. Your first post was pretty much exactly what I would've asked, word for word. I just finished rooting my Incredible successfully.
It was about as easy as jailbreaking my old iPhone 3G a few years ago. Just made sure the HBOOT driver was installed on my machine, formatted SD card (probably wasn't necessary, but was going to need to do it eventually for when I get gutsy enough to flash a ROM ) and it was quite painless with unrevoked. If you haven't already rooted, good luck!
Can't stress that first nandroid back up enough. It had saved me a few times. It's like having a full image of your system. You can easily go right back to stock.
Sent from my ADR6300 using XDA App
So I just rooted and I got scared because it had to reboot like 4 times.
So it finally went through, went right through clockworkrecovery before I could do anything and now some apps are missing on reboot, what's up?
EDIT: Well it seems ok now, I just rebooted and went right into clockwork, doing backup now, hoping for the best.
Also did Titanium Backup with no issues before hand.
I just got done with everything and it is awesome. Thank you XDA.
Sent from my Incredible with the XDA Premium App.
there is no need to be scarred of flashing roms anymore. There are a few roms out there made of nothing but stock. And several good guides on how to get back to 100 percent stock phone. If you were gutsy enough to get root take the jump into roms it will make your phone a brand new device.
odst0016 said:
there is no need to be scarred of flashing roms anymore. There are a few roms out there made of nothing but stock. And several good guides on how to get back to 100 percent stock phone. If you were gutsy enough to get root take the jump into roms it will make your phone a brand new device.
Click to expand...
Click to collapse
Which I have, it's just a matter of finding which one I wanna stick with.
Sent from my Incredible with the XDA Premium App.
Glad everything is working out for you!
Hopefully not to take away from our devs here in this forum, but you might check out the CM7 RC2 rom. Lot of people seem to be having good luck with it. The kernel that's included is rock solid. Also CM roms are heavily supported. Not only by the CyanogenMod community but our community here on XDA as well. If not CM then there are plenty of well built roms here on XDA also.
DINC // CM7 RC2 // SLAYHER#9
wildstang83 said:
Hopefully not to take away from our devs here in this forum, but you might check out the CM7 RC2 rom. Lot of people seem to be having good luck with it. The kernel that's included is rock solid. Also CM roms are heavily supported. Not only by the CyanogenMod community but our community here on XDA as well. If not CM then there are plenty of well built roms here on XDA also.
DINC // CM7 RC2 // SLAYHER#9
Click to expand...
Click to collapse
I like CM7 RC2... it's one of my backups =]
The only thing I didn't like is that the 720p isn't working... and that's one of the biggest reasons why I got the Incredible... I want the function there for when I need it...

wiping clean and rom changing

Wondering something here...when i wiped my device, i went thru rom manager and did the wipe device thing to wipe all user data to clear out CM7.0.
after that i installed virtuous to try it out, and i noticed in root explorer in the system>app folder, there were CM apk's in there. does virtuous use CM stuff in their roms?
if not, why would they show up even after a full wipe?
Also, has anyone here ever had issues changing from a non sense rom to a sense and back to non sense in a matter of 2 hours?
well, if they are any of the CM specific apps like:
CMparts or CMstats or CMwallpapers (I think there are a few more, can't remember off the top of my head), then it sounds like a case of a "format" that didn't actually format. you wouldn't be the first person to deal with this problem with rom mgr and CWM recovery.. it is known to be finnicky when it comes to formatting partitions (among other things ).
thankfully, we have a tool now that will give you a true, clean format of /system /data and /cache partitions without having to manually run the commands every time (like I know some of us have been doing).
if you are the kind of guy, like myself, who likes to perform a clean wipe between roms, I'd highly recommend downloading that and using it instead of the rom manager/CWM recovery options.
tackleberry said:
Also, has anyone here ever had issues changing from a non sense rom to a sense and back to non sense in a matter of 2 hours?
Click to expand...
Click to collapse
Can't answer your first question, but on my old Hero, I swapped from an AOSP ROM to a Sense ROM once almost every hour for a day because I couldn't make up my mind. Nothing bad happened to it and my father is using it now with no ill effects.
pmcqueen said:
well, if they are any of the CM specific apps like:
CMparts or CMstats or CMwallpapers (I think there are a few more, can't remember off the top of my head), then it sounds like a case of a "format" that didn't actually format. you wouldn't be the first person to deal with this problem with rom mgr and CWM recovery.. it is known to be finnicky when it comes to formatting partitions (among other things ).
thankfully, we have a tool now that will give you a true, clean format of /system /data and /cache partitions without having to manually run the commands every time (like I know some of us have been doing).
if you are the kind of guy, like myself, who likes to perform a clean wipe between roms, I'd highly recommend downloading that and using it instead of the rom manager/CWM recovery options.
Click to expand...
Click to collapse
yes i saw that program pop up when i was tying in the topic for this post! sounds like a great program wish it was posted a couple of days earlier lol. ill try when i get my device back.
wondering tho if these half ass wipes that CWM does caused my problems. i usually wipe when changing a type of rom, even with CM7 (nightly to RC for example). if i flash a nightly, i usually do a wipe every 2 nightlies.
Not sure what you mean by half ass wipes,lol, but I've never trusted the system wipe to do the job. I always do cache and dalvik along with it.
Sent from my HTC Vision using XDA App
enserio said:
Not sure what you mean by half ass wipes,lol, but I've never trusted the system wipe to do the job. I always do cache and dalvik along with it.
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
i do too. half ass saying there is stuff not wiped lol
tackleberry said:
i do too. half ass saying there is stuff not wiped lol
Click to expand...
Click to collapse
Yeah... as amazing as CWM recovery is, the wipe process can be a bit.... lacking sometimes. If you don't use amazinglarry's superg2wipe script, then I would at least manually wipe through recovery before switching roms - this way you can be at least get most of the artifacts and "ghosts" left over from your last rom.
Sorry for bumping this old thread, I came across it while googling.
I've always used "wipe data/factory reset" in CWM. But that only wipes your /data and /cache partition.
Now, i only recently found out "wipe /system" under "mounts" in CWM. Meaning, I had never wiped my /system partition before, while swapping between 50 roms (be it AOSP or Sense). And I never had any problems. But the best way to fully wipe your system, is to do every partition manually + dalvik and battery stats.

[GUIDE] Install CyanogenMod 7 on the SGS i9000 (and live to tell the tale)

OK, the CM7 ROM for the Samsung Galaxy S i9000 has now hit the CM7 Mainstream and has matured in leaps and bounds over the last few weeks. The installation method has therefore ALSO matured by leaps and bounds.
However, there has been a downside to all that advancement...namely that there are lots and lots of incorrect install procedures floating around out there and even more misunderstandings as to what/how/when/why you install CM7 on your SGS i9000.
Therefore, this is intended to be the definitive guide about how to install CyanogenMod 7 (or CyanogenMod 7.1 if you are a stickler for such things since that is the most recent stable version but for the purposes of this guide it is STILL CM7) on the i9000 right here, right NOW. As things change, the first post of this thread will be updated.
If you have any questions/comments about the CM7 install procedure, post them here.
If you have any questions/comments about CM7's features, capabilities, battery life or anything OTHER THAN installing it...look HERE or HERE.
Before we do anything....make sure of the following:
* Your phone is fully charged.
* You have confirmed you can get into download/recovery with the three button method.
* You have used Titanium Backup to backup your apps (yes, there may be some factory defaulting happening soon).
* You have taken a Nandroid backup via Clockwork Mod, just in case the early steps go south.
* You have used a third party program to back up your SMS messages (if so desired)
* You have made your peace with your loved ones and said all your goodbyes...maybe left a nice note or something.
Remember, this will be one of the most harrowing, horrific experiences of your life. Grown men have been known to gnaw off their own legs during this procedure, unable to face the deepening horror their feeble minds cannot hope to comprehend.
Are you SURE you want to install CM7?
Very, VERY SURE?
OK, its your funeral, I am just here for the open bar.
OK, here we go....
FIRST STEP!!!!! THE PRE-INSTALLATION TANGO!!!!
Boy are you lucky to be doing this now. Recently CM7 was improved so that it works just fine with either Froyo or Gingerbread Bootloaders. It used to be that when you installed CM7 with Gingerbread bootloaders, a puppy died in agony. Now, the cuddly little puppies are safe thanks to the hard work of the CM7 Devs.
However, if for some strange reason you have still have Eclair installed currently, smash your head repeatedly against a wall for being such a stinking Luddite. Once you wake up, update to Froyo or Gingerbread and then come back and start this again. Plenty of threads on XDA will help you do that. Go read one and flash froyo or gingerbread via ODIN, we'll wait right here with the car running.
Don't know how to use ODIN? Not sure about all those little checkboxes? Befuddled by those driver thingies? Unsure how to click on the links above while using a Commodore64? Well, we won't wait in the car THAT long. If this is the case then you absolutely shouldn't be flashing CM7 yet my poor lost child, educate yourself for awhile and then come back, or just buy a used iPhone.
OK, still with me? ONWARDS.
SECOND STEP!!!!! THE NITTY GRITTY DETAILS, AKA THE CALM BEFORE THE STORM!!!!!
Here is the point where you need to do all sorts of things that you may have already done.
If you have already done them, GOOD, you are very, very clever and ahead of the game. Give yourself a gold star.
If you don't know how to do any of these things, then you shouldn't be here yet. Go search for things you don't understand in the general and Q&A forums for the i9000 and when you feel you are better grounded in the arcane mysteries of flashing custom ROMS, come back and we will have a joyous reunion and try this again.
OK, so what do you do in STEP TWO?
* Doublecheck that you can indeed get into Download Mode using Vol Down+PWR+Home, and into Recovery with Vol Up+PWR+Home. If not, go away and search XDA for a way to fix that.
* Root your phone.
* Confirm you have Clockwork Mod recovery running. If not, use Odin to flash this Speedmod kernel if you are on Froyo. If you are on Gingerbread flash the TalonDev kernel using the v2.2 tar (yes I know the TalonDev kernel has lagfix automatically enabled, but as your file system will be grabbed and ripped out still beating and then replaced with a better one by the CM7 Installer, it really doesn't matter). There are two different versions of the v2.2 tar available but don't panic. Use TalonDEV-0.2.2R2-I9000-1200-JVP.tar first...if that doesn't work for you, try TalonDEV-0.2.2R2-I9000-JVP.tar. One of the two should work for you. (Thanks to chan1628 for testing them the hard way)
* Install ROM Manager (I STRONGLY suggest you buy the Premium version if possible to make flashing Nightlies easier. It is quite cheap with a lot of great features and is one of the core apps you will use on your phone from here on in...plus Koush deserves your support).
* Take another nandroid backup (even if you took one already) and confirm your Titanium Backup is up to date (and includes a backup of ROM Manager).
* Confirm that you are rooted.
* Backup your contacts to either Exchange, Gmail or your SIM card.
* Write down your correct APNs and your IMEI, just in case.
* Take a backup of your efs folder and save it somewhere.
* Post a note on your monitor reminding yourself to breathe.
* Say goodbye to your Samsung apps like Snap2Go and Daily Briefing, they won't work with CM7.
* Pour yourself a stiff drink
Confused? Not sure how to root your phone or worried about voiding your warranty? Really curious about what these APN things and where can you find them? Hoping to sync your phone with iTunes once CM7 is installed? Then go away, do some searching, get up to speed and I will see you later. I mean it...avaunt ye. Scram. Exeunt with all due alacrity. Happy reading.
Also, if you are getting errors concerning CWM, or cannot get into CWM3 Recovery, then search XDA (or the comments to this thread) for a solution. I cannot help you. I am not an expert on Clockwork Mod, I am just here to get CM7 running for you, or kill you and steal your girlfriend in the attempt. Clockwork Mod is YOUR lookout.
Still here? Did all that? CWM Recovery working properly? Crossed all your i's and dotted your t's? Forward then. Things get REALLY BAD from here on in. Whatever happens next, I am truly, truly sorry.
THIRD STEP!!!!!! THE COMPLEX, AGONIZING EXPERIENCE OF FLASHING THE ROM ITSELF!!!
Are you sure you are ready for this? Are you quite, QUITE sure?
It is not too late to turn back....and if you do no one will think less of you. I promise.
Positive you are where you want to be?
Brave, brave darling. Take my hand and lets do this then....there are two possible methods to use now that you are at the Third Step..Method the First uses the ROM Manager and is by far the simpler of the two. However if the ROM Manager doesn't work for you or if you have a sudden premonition of flaming disaster about it....don't cry. Man up and go to the manual method listed after Method the First, known quite coincidentally as Method the Second.
Method the First!
Open ROM Manager from your App Drawer.
Select Flash ClockworkMod Recovery.
When it asks you what phone you are using, scroll down until you find Galaxy S MTD and select it (Galaxy S is what CM7 calls the i9000 series...CM7 is weird that way).
When it asks what version to use, select CMW3.
By the way, if ROM Manager tries to argue with you during this process, or tells you your phone may not be supported, ignore it and click OK or Continue or whatever it takes. It just worries over what you may be about to do to yourself.
Confirm that under Flash ClockworkMod Recovery it now reads Current Recovery: ClockworkMod 3.x.x.x. This means that now you should be able to see CyanogenMod zips and nightlies (if you have ROM Manager Premium) in ROM Manager. Hoorah!
Now, the moment of truth arrives...select Download ROM.
Next close your little eyes tightly and select CyanogenMod or CyanogenMod Nightlies (if you see that one). Either one will do.
Down the road, you will use the CyanogenMod Nightlies files to update...assuming you survive the next 15 minutes. However when installing you can use the single file in the CyanogenMod folder (there for Free users) or the latest Nightly in the CyanogenMod Nightlies folder...same difference.
So click the file of your choice and stand back...well, not too far back because there is more stuff you have to do.
If/when you are asked if you wish to reinstall Google Apps, it is highly recommended that you do so, so check the little box. This saves many headaches and potential fc's down the line.
When you are asked what you wish to do to prepare for the new ROM, you can choose to do another Nandroid Backup, Clear Data and Cache (wiping the device) and/or Clear the Data Cache. No need for another Nandroid backup, but select the other two and hit OK.
Now let the ROM Manager make some magic. It will take a couple minutes but likely not nearly as long as you expect, so go out and make tea or paint the Sistine Chapel or something.
While you are gone your device will do all the wiping and installing, back up your efs folder and apply the new file system you will need. You will NOT need to apply any lagfix or mess about with tweaks or whatnot....CM7 does it all for you and no other options are possible....so don't ask.
Method the Second!
If for whatever reason you are having trouble working with ROM Manager in the previous method and are therefore stuck, you can do the following to flash CM7 manually.....but if you have a weak heart or tend to get squeamish...I implore you to look away.
Download this most recent version of CM7 from http://download.cyanogenmod.com/?type=nightly&device=galaxysmtd
Then download the most recent set of Google Apps from http://goo-inside.me/gapps
Place both on your SD card.
Go into Recovery using the handy-dandy Three Button Skidoo (NOT by using the command "Reboot to Recovery" found in ROM Manager...you have been warned).
Do a Factory Reset (wiping data so if you forgot to backup your apps before....whoops)
Wipe the Dalvik and Cache (just in case).
Select Install Zip from SD Card and flash first the CM7 zip, and then the gapps zip. No need to reboot in between. Finally fix permissions.
NOTE: If you are one of those people who have done some research and have also downloaded one of the CM7 custom kernels which you wish to flash as part of your install (if you haven't don't worry about it, I don't recommend using a custom kernel before you have spent some time with the stock kernel, but some people think they are 1337)...make certain you flash the Nightly BEFORE the custom kernel, otherwise you will totally confuse the installer and very bad things will happen which will require you to flash back to a Samsung ROM using ODIN and start all over again.
Once everything has completed, THEN reboot into CM7 (HOO-RAH) and continue to the Fourth Step. Hurry, hurry, scroll back up....
GO!!!
Oh, WAIT A MINUTE....When you have done all the stuff in the Fourth Step, do this too...go to ROM Manager, and select Flash ClockworkMod Recovery. ID your phone as Galaxy S MTD when it asks and select CWM3...it will tell you that your phone is not supported or some such but have it install it anyway. What the heck does it know. Doing so will ensure you can find your the Nightly updates using ROM Manager Premium in the future.
OK, now go on to the Fourth Step...really this time...
GO! GO!
FOURTH STEP!!!!! STEP OUT INTO THE LIGHT AND BREATHE THE FREE AIR
That's it, you are done. Throw back that drink now...or if you don't want it, I'll take it.
Your phone will show the CM7 SGS splash screen for a bit, then the CM7 boot animation for a while longer (spin, spin, spin)...and then you will be in CyanogenMod 7.
If you find that the boot animation never seems to end, or keeps restarting...DON'T PANIC. This happens to some people when flashing CM7 for the first time. Just go to recovery and flash the Nightly again, you should be fine. If you used ROM Manager the first time, the nightly will be in the ROM Manager folder on your SD card.
Where is all the pain, the agony, the brain bending complexity reducing scholars to madness that I warned you about?
OK, I lied...but I had to make sure you were serious.
Now restore your apps (remember that is best to do fresh from the Market, but if you use TB then be sure to reinstall just the APP, not APP + DATA, and NO SYSTEM APPS) and put all your contacts and email addresses back and so on.
Also, remember that your external SD card is now located in the /emmc directory. Why? Because that is how it is in CM7, so cope. It really is NOT that tough to get used to. However, if you want to have some kicks, go into the CM7 Dev thread and ask where your external_sd card has gone a few times to watch people go berzerk yelling at you. Fun, fun, fun.
From here on in, you can install nightly updates to stay on the bleeding edge of CyanogenMod, as well as to allow yourself to experience the terror of waiting for that boot animation to stop again and again and again. You can look at the Nightly Wiki for instructions on different flashing strategies.
You may also install custom kernels and alternate modems via Recovery if you wish, but be sure that they are CM7 compatible. The ones you used back on Samsung ROMs won't work for you any more.
Carry on, and enjoy your new ROM.
As always, if this procedure bricked anything or gave your dog syphilis, it isn't my fault. By God, I WARNED you. If you liked it, or it worked out well for you, feel free to click Thanks and heap praise in the comments.
Finally, all due honour and thanks to the incredible Devs and Maintainers of TeamHacksung and the SGSTEAM listed below. Find their profiles and donate to them, they have earned it.
* codeworkx - http://twitter.com/codeworkx
* atinm - http://twitter.com/atinm
* coolya - http://twitter.com/coolya
Great guide, just want to make a quick addition...
rschenck said:
OK, so what do you do in STEP TWO?
* Root your phone.
* Confirm you have Clockwork Mod recovery running. If not, flash the Speedmod kernel.
Click to expand...
Click to collapse
I couldn't complete this step during my exciting first install of CM7
If anyone has trouble getting Clockworkmod Recovery running, and you can't manage to flash a new kernel using Odin/heimdall please read:
[RECOVERY] 3e Recovery Modded w/ No Verification
I just skimmed through it but wouldn't this require you to buy rom manager premium?
runedrune said:
I just skimmed through it but wouldn't this require you to buy rom manager premium?
Click to expand...
Click to collapse
No. The premium version is only required to download nightlies directly through the app. Download them manually, then point rom manager at the zip on your sdcard & install.
Yay! First thanker! Nice guide too.
runedrune said:
I just skimmed through it but wouldn't this require you to buy rom manager premium?
Click to expand...
Click to collapse
Not the install, that is free as far as I know. Installing nightlies via ROM Manager needs Premium. Plus I suggested people buy Premium anyway.
sambwel said:
No. The premium version is only required to download nightlies directly through the app. Download them manually, then point rom manager at the zip on your sdcard & install.
Click to expand...
Click to collapse
Exactly. The instructions tell you to use rom manager to download CM7. Just thinking that http://download.cyanogenmod.com/?device=galaxysmtd should be included too for those that can't buy rom manager.
But anyway great guide rschenck. Hopefully it'll save us from unnecessary questions.
runedrune said:
I just skimmed through it but wouldn't this require you to buy rom manager premium?
Click to expand...
Click to collapse
Yepp true story!
IF you want to download roms and stuff from Rom manager you do have to have premium.
I have no plans to install yet (still waiting for the stable release) but really this guide has no boring part. Very informative and easy to follow. Just wanna say thanks for this guide. KUDOS!
Nice tutorial man. I want to instal cm7 and this tutorial is very helpfull. Hope this topic get sticky :d
upgrading to latest
just to clarify, I'm (thanks to you!) on v11 due to some people suggesting me that version over v14. After reading some I would like to flash the new experimental build (v15?) in order to do so I:
1) charge it up
2) do a nandroid backup /done
3) wipe data/factory reset + wipe cache in CMW /not sure about this, I've read some diferent post about what to wipe. Some said that when upgrading only cache + dalvik will do just fine. This is the main issue.
4) flash the v15 (update-cm-7-05282011-NIGHTLY-GalaxyS-signed.zip) through CMW
+ all that other stuff like preparing myself for long agonizing experience and stuff
thanks in advance!
James.q said:
just to clarify, I'm (thanks to you!) on v11 due to some people suggesting me that version over v14. After reading some I would like to flash the new experimental build (v15?) in order to do so I:
1) charge it up
2) do a nandroid backup /done
3) wipe data/factory reset + wipe cache in CMW /not sure about this, I've read some diferent post about what to wipe. Some said that when upgrading only cache + dalvik will do just fine. This is the main issue.
4) flash the v15 (update-cm-7-05282011-NIGHTLY-GalaxyS-signed.zip) through CMW
+ all that other stuff like preparing myself for long agonizing experience and stuff
thanks in advance!
Click to expand...
Click to collapse
You are quite correct...when upgrading all you need to do is wipe dalvik cache. You can also take a nandroid backup if you wish to be extra careful but there is no need to wipe data for an upgrade.
Sent from my GT-I9000 using XDA Premium App
rschenck said:
You are quite correct...when upgrading all you need to do is wipe dalvik cache. You can also take a nandroid backup if you wish to be extra careful but there is no need to wipe data for an upgrade.
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
thanks! .. so is it just wipe cache or both wipe cache + wipe dalvik cache in advanced menu? I get confused with that
James.q said:
thanks! .. so is it just wipe cache or both wipe cache + wipe dalvik cache in advanced menu? I get confused with that
Click to expand...
Click to collapse
Wipe cache is in the main cwm menu, wipe dalvik is in advanced...and you can wipe them both.
Sent from my GT-I9000 using XDA Premium App
Thanks mate, you made my day! I haven't laughed so hard in a while ...
James.q said:
thanks! .. so is it just wipe cache or both wipe cache + wipe dalvik cache in advanced menu? I get confused with that
Click to expand...
Click to collapse
Yes, you should do both
A few small edits and clarifications added...
Good job on this guide.
You kids gave it easy. Back in my day, we had to flash our phones in Morse code.
Sent via XDA Premium app on my GT-I9000 running CM7 (GB 2.3.4)
bump...and if anyone who has used this guide has feedback or suggestions, please comment with them.
How come when i go to download rom i cannot see cyanogen mod there?
I did buy the rom manager

[GUIDE] How to flash roms/kernels

This a simple guide I made for the note 3. Seeing these 2 questions being asked alot here so posting it here. Will need to edit it a bit so currently it's a WIP.
NOTE- First thing you should do before flashing roms/kernels for the first time is backup EFS.
How to flash CLEAN flash roms -*This is how I flash roms(even updates of the same rom) and the method i recommend to users. It is better to take 10 mins to set your phone again rahter than wasting more time to fix issues that could have been avoided by a clean flash.
NOTE- This is a MUST when changing roms.
1. Make a nandroid backup in recovery
3. Wipe data/factory reset
4. Wipe system
5. Wipe cache
6. Wipe dalvik
7. Flash ROM
8. Flash gapps
9. Flash kernel(optional)
10. Reboot
11. Wait 10 mins, then do another reboot
12. Enjoy
How to DIRTY flash roms -*This method is used by users when flashing a update of the same rom.*
NOTE- Some users follow this and some just flash the rom without wiping anything.
Note- If you flash rom that has aroma installer you will need to edit the updater script to make sure the aroma doesn't wipe system before flashing rom.
1. Make a nandroid backup in recovery
3. Wipe cache
4. Wipe dalvik
5. Flash ROM
6. Flash gapps
7. Flash AK kernel(optional)
8. Reboot
9. Wait 10 mins, then do another reboot
10. Enjoy
How to SUPER CLEAN flash roms -*This is the method that I recommend to your that have weird issues, even after clean flashing.
Will be adding this method. Need to edit it a bit.
Sent From My One A0001 With AK Awesomeness To All You Wonder Nobodies!!
How to flash flash kernels -*Many users say to wipe cache/dalvik but it's useless as neither if their partitions are affected when flashing a kernel.
1. Boot into recovery*
2. Flash kernel*
Sent From My One A0001 With AK Awesomeness To All You Wonder Nobodies!!
@Khizar welcome back man, good to see you're writing guides again. Get that RC title again!
Sent from my OnePlus One using Tapatalk VIP
nicholaschum said:
@Khizar welcome back man, good to see you're writing guides again. Get that RC title again!
Sent from my OnePlus One using Tapatalk VIP
Click to expand...
Click to collapse
Yeah let's hope ppl actually read and my time editing see stuff to make it for OPO isn't wasted.. These forums seem to be worse than the note 3 ones.. Man saw this guy today who apparently couldn't find the link to gapps that was posted in the OP.. SMH
Sent From My One A0001 With AK Awesomeness To All You Wonder Nobodies!!
Khizar said:
This a simple guide I made for the note 3. Seeing these 2 questions being asked alot here so posting it here.
Click to expand...
Click to collapse
While this is true, it's because people are too lazy to use the search feature or at least look at the stickies. But the information is out there already.
[GUIDES][Q&A]How-To Guides For Beginners + Q&A
CafeKampuchia said:
While this is true, it's because people are too lazy to use the search feature or at least look at the stickies. But the information is out there already.
[GUIDES][Q&A]How-To Guides For Beginners + Q&A
Click to expand...
Click to collapse
I've seen that thread, it's pretty useful bit I wouldn't say "the information is out there already. If you read the thread his instructions are just telling users how to wipe and flash roms.
The point of my thread was, or still is, to list all the different ways to flash roms. Clean, dirty, super clean. Most new users don't know the difference.
With that being said I am not saying anything negative about the guide nor am I comparing the 2 guides. Think that I should add that, on the Internet things are usually misinterpreted.
I am simply making a bit know detailed and specify guide just for flashing roms.
Sent From My One A0001 With AK Awesomeness To All You Wonder Nobodies!!
Amazing as usual! You're a treasure, my friend! So happy to see you back on xda!
Plus... do you really want me to tell you how we "dirty flashers" flash roms? love you man, you're perfect!
NOTE- This is a MUST when changing roms.
1. Backup EFS -Not necessary every time you flash a ROM.
2. Make a nandroid backup in recovery -Not necessary every time you flash a ROM.
3. Wipe data/factory reset
4. Wipe system
5. Wipe cache
6. Wipe dalvik
7. Flash ROM
8. Flash gapps
9. Flash AK kernel(optional) -There are many kernels available for our device, not just AK.
10. Reboot
11. Wait 10 mins, then do another reboot -Not necessary.
12. Enjoy
Transmitted via Bacon
daxgirl said:
Amazing as usual! You're a treasure, my friend! So happy to see you back on xda!
Plus... do you really want me to tell you how we "dirty flashers" flash roms? love you man, you're perfect!
Click to expand...
Click to collapse
Haha no comments... ?
timmaaa said:
NOTE- This is a MUST when changing roms.
1. Backup EFS -Not necessary every time you flash a ROM.
2. Make a nandroid backup in recovery -Not necessary every time you flash a ROM.
3. Wipe data/factory reset
4. Wipe system
5. Wipe cache
6. Wipe dalvik
7. Flash ROM
8. Flash gapps
9. Flash AK kernel(optional) -There are many kernels available for our device, not just AK.
10. Reboot
11. Wait 10 mins, then do another reboot -Not necessary.
12. Enjoy
Transmitted via Bacon
Click to expand...
Click to collapse
Did you read the first few sentence of the OP? Like I said it's a WIP and I need to edit stuff.
But after seeing your edits, the only thing I agree I need to edit out is doing an EFS backup every time you flash a rom. Nandroid is a must IMO, you never know when you'll be unlucky.
As for the "there are many kernels avaliable".. It says optional next to it for a reason.
And about waiting 10 after a rom/kernel and rebooting not being necessary, from my experience it helps let the rom/kernel settle. There was a time when devs used to recommend that. I still do that and recommend it.
Sent From My One A0001 With AK Awesomeness To All You Wonder Nobodies!!
Khizar said:
Haha no comments... ?
Did you read the first few sentence of the OP? Like I said it's a WIP and I need to edit stuff.
But after seeing your edits, the only thing I agree I need to edit out is doing an EFS backup every time you flash a rom. Nandroid is a must IMO, you never know when you'll be unlucky.
As for the "there are many men kernels avaliable".. It says optional next to it for a reason.
And about waiting 10 after a rom/kernel and rebooting not being necessary, from my experience it helps let the rom/kernel settle. There was a time when devs used to recommend that. I still do that and recommend.
Sent From My One A0001 With AK Awesomeness To All You Wonder Nobodies!!
Click to expand...
Click to collapse
Yeah I did read it and that's why I was putting forth my constructive criticism. The nandroid isn't an absolute must every time you flash though, if you have at least one nandroid on your phone at all times you have insurance against the unknown, whether or not you do that with every flash is purely optional (as opposed to describing it as essential, because it just isn't).
There's a reason devs don't recommend to reboot a second time after a ROM flash anymore, because it isn't essential either.
I only mentioned the kernel because it might seen as favouritism, and it's always best to remain objective in a guide thread.
I'm detecting animosity in your reply. Don't get me wrong, I'm all for having resources, I'm about to add your thread to my index thread so folks can find it easier. I'm just pointing out things that aren't actually essential every time a ROM is flashed, trying to save the user unnecessary time and effort.
Transmitted via Bacon
---------- Post added at 07:45 PM ---------- Previous post was at 07:38 PM ----------
Added to OnePlus One index thread:
[INDEX] OnePlus One Resources Compilation Roll-Up
Transmitted via Bacon
timmaaa said:
Yeah I did read it and that's why I was putting forth my constructive criticism. The nandroid isn't an absolute must every time you flash though, if you have at least one nandroid on your phone at all times you have insurance against the unknown, whether or not you do that with every flash is purely optional (as opposed to describing it as essential, because it just isn't).
OK. I agree with this, I'll change it to optional and have a bold warning that you should have atleast one nandroid just in case at all times.
There's a reason devs don't recommend to reboot a second time after a ROM flash anymore, because it isn't essential either.
OK this one I am kinda biased about, have had the same discussion with many others. I've always experienced that if I use a rom/kernel right after I flash everything is a bit laggy. If I wait 10 mins and reboot, everything is a lot smoother.
I only mentioned the kernel because it might seen as favouritism, and it's always best to remain objective in a guide thread.
Hmm.. You do have a point, I'll edit that bit.
I'm detecting animosity in your reply. Don't get me wrong, I'm all for having resources, I'm about to add your thread to my index thread so folks can find it easier. I'm just pointing out things that aren't actually essential every time a ROM is flashed, trying to save the user unnecessary time and effort.
Feedback is always welcome. I appreciate you taking the time and commenting here.
Transmitted via Bacon
Click to expand...
Click to collapse
Thanks for adding the thread to the index. :good:
Khizar said:
Thanks for adding the thread to the index. :good:
Click to expand...
Click to collapse
No worries mate. All good, and well done on the thread!
Transmitted via Bacon
Khizar said:
Yeah let's hope ppl actually read and my time editing see stuff to make it for OPO isn't wasted.. These forums seem to be worse than the note 3 ones.. Man saw this guy today who apparently couldn't find the link to gapps that was posted in the OP.. SMH
Sent From My One A0001 With AK Awesomeness To All You Wonder Nobodies!!
Click to expand...
Click to collapse
CafeKampuchia said:
While this is true, it's because people are too lazy to use the search feature or at least look at the stickies. But the information is out there already.
[GUIDES][Q&A]How-To Guides For Beginners + Q&A
Click to expand...
Click to collapse
Nice job and I agree it was getting a little crazy in here as well with the how do I flash this rom crap. I thought this was self explanatory but it seems to be a lot of first timers in here.
I know you said your instructions are a WIP but simply remember when you are ready to put out the finished product you must think as they do the super duper noobs and try and make it as flashing for dummies as possible. They will hold on to your every letter.
I agree that a recent nandroid is needed and honestly I keep 2 at least on my phone because I have been burnt with a corrupted backup before. Also who wants to restore a rom from 2 months ago.... :good:
Nice work
If I may I would like to make some suggestions ??? may I? And no... not as a dirty flasher... if is OK with you, I will...
playya said:
Nice job and I agree it was getting a little crazy in here as well with the how do I flash this rom crap. I thought this was self explanatory but it seems to be a lot of first timers in here.
I know you said your instructions are a WIP but simply remember when you are ready to put out the finished product you must think as they do the super duper noobs and try and make it as flashing for dummies as possible. They will hold on to your every letter.
I agree that a recent nandroid is needed and honestly I keep 2 at least on my phone because I have been burnt with a corrupted backup before. Also who wants to restore a rom from 2 months ago.... :good:
Nice work
Click to expand...
Click to collapse
Yes I think I'll try to make it simpler and more easier for new users to understand, a dummy proof version as you said. Thanks for your feedback.
daxgirl said:
If I may I would like to make some suggestions ??? may I? And no... not as a dirty flasher... if is OK with you, I will...
Click to expand...
Click to collapse
Since when have you needed to ask for permission Anna..? Anyways all suggestions are welcome.
Sent From My One A0001 With AK Awesomeness To All You Wonder Nobodies!!
Khizar said:
Yes I think I'll try to make it simpler and more easier for new users to understand, a dummy proof version as you said. Thanks for your feedback.
Since when have you needed to ask for permission Anna..? Anyways all suggestions are welcome.
Sent From My One A0001 With AK Awesomeness To All You Wonder Nobodies!!
Click to expand...
Click to collapse
Well we already know that I am a polite non xda material
Sooooooo here we go...
1. When you wipe data in any recovery, it includes AT LEAST 3 things: a. Format data partition b. Eliminate dalvik exec files along with that (since dalvik cache sits on data partition) c. Format cache
So after wiping data, there is not reason to wipe cache and dalvik cache, since they have already been cleaned as a whistle.
2. During rom installation, new framework jars are being pushed over /system/framework. It's enough for just android.policy.jar to be replaced, the android will rebuild all dalvik upon boot (hence the "Android is upgrading. Optimizing xx app out of xxx"). All the major jars upon replacement will wipe dalvik and rebuild it. It's enough to have 1 byte of difference.
So I guess that summorizes the need for wiping dalvik cache.
3. As for wiping system. Well things are a bit more controversial here. Since any normal rom updater script has as first command "mount /system" and as second command "delete recursive /system", it seems like there is no need as well. BUT!!!
There seems to be a discussion whether formatting system (which is done when it's unmounted) the way recovery does it in "mounts and storage " is more "thorough and effective" then recursively deleting it (when it's mounted) by the updater script.
So I can see the point in formatting system! Well, a little...
Hey, don't get me wrong, I admire this guide and I think it's super helpful! I just always feel the need to set things straight with this "triple wipe" that everyone keeps recommending.
Imo, wipe data is simply enough that is IF you're not a dirty flasher. ..
Now to the last part! You guys all have pretty uh the same sqlite vs in all those aosp/cm/aokp roms.
All I am saying: sometimes you can try to flash without wipe, if there is a problem, which in most cases there won't be, some individual data/data databases can be deleted and rebuilt. Maybe we should write a guide on dirty flashing I am certainly good at THAT
daxgirl said:
Well we already know that I am a polite non xda material
Sooooooo here we go...
1. When you wipe data in any recovery, it includes AT LEAST 3 things: a. Format data partition b. Eliminate dalvik exec files along with that (since dalvik cache sits on data partition) c. Format cache
So after wiping data, there is not reason to wipe cache and dalvik cache, since they have already been cleaned as a whistle.
2. During rom installation, new framework jars are being pushed over /system/framework. It's enough for just android.policy.jar to be replaced, the android will rebuild all dalvik upon boot (hence the "Android is upgrading. Optimizing xx app out of xxx"). All the major jars upon replacement will wipe dalvik and rebuild it. It's enough to have 1 byte of difference.
So I guess that summorizes the need for wiping dalvik cache.
3. As for wiping system. Well things are a bit more controversial here. Since any normal rom updater script has as first command "mount /system" and as second command "delete recursive /system", it seems like there is no need as well. BUT!!!
There seems to be a discussion whether formatting system (which is done when it's unmounted) the way recovery does it in "mounts and storage " is more "thorough and effective" then recursively deleting it (when it's mounted) by the updater script.
So I can see the point in formatting system! Well, a little...
Hey, don't get me wrong, I admire this guide and I think it's super helpful! I just always feel the need to set things straight with this "triple wipe" that everyone keeps recommending.
Imo, wipe data is simply enough that is IF you're not a dirty flasher. ..
Now to the last part! You guys all have pretty uh the same sqlite vs in all those aosp/cm/aokp roms.
All I am saying: sometimes you can try to flash without wipe, if there is a problem, which in most cases there won't be, some individual data/data databases can be deleted and rebuilt. Maybe we should write a guide on dirty flashing I am certainly good at THAT
Click to expand...
Click to collapse
1. I get what you're saying with the wiping being a little excessive, again this comes down to experience. My guide is made from what I have personally experienced.
Factory reset does wipe cache and dalvik but I am a believer in "better safe than sorry". Same thing with wiping system even though, like you said, most updater scripts wipe system. Also the bigger reason WHY I am firm in saying atleast wipe data and system is cuz I have noticed in sometimes that when I wipe system as opposed to only wiping data, the experience is better so I have come to the conclusion that the recoveries manual wiping options are to be trusted more.
2. You're right about the dirty flashing, you'll be happy to hear I've been flashing dirty since I got the phone. Now dirty flashing different roms is a bit tricky but I have had success, however even if it gets messy I always have a backup.
Sent From My One A0001 With AK Awesomeness To All You Wonder Nobodies!!
Khizar said:
9. Wait 10 mins, then do another reboot
Click to expand...
Click to collapse
I can not understand this step? After the first reboot the new OS booted UP, you must set in and installing the Google APPS update if it available. After the first bootup, why should the users rebooting the device?
Criton30 said:
I can not understand this step? After the first reboot the new OS booted UP, you must set in and installing the Google APPS update if it available. After the first bootup, why should the users rebooting the device?
Click to expand...
Click to collapse
After the first boot up, Java has to create it's working areas for the OS to function well, and it configures the kernel and miscellaneous trash handling (if dirty flashed). Rebooting will clear the supposedly terminates "completed services" after they were used to configure Android on first boot, hence things like kernel will be set on next boot, and on the next boot, you will have a clean Daily Driver configuration.
Also, it's like "why do you reboot your computer after a new install of a big program?", well, for it to settle, and to reinitiate the program. In this case, Android was setting up all your working directories on your internal storage, clearing out junk it may have had, and also rebuilding of the VM. That's a lot of work. Why not reboot to make sure everything that has been sitting on idle after making all these folders, would be terminated completely so just to make sure everything goes right.
nicholaschum said:
After the first boot up, Java has to create it's working areas for the OS to function well, and it configures the kernel and miscellaneous trash handling (if dirty flashed). Rebooting will clear the supposedly terminates "completed services" after they were used to configure Android on first boot, hence things like kernel will be set on next boot, and on the next boot, you will have a clean Daily Driver configuration.
Also, it's like "why do you reboot your computer after a new install of a big program?", well, for it to settle, and to reinitiate the program. In this case, Android was setting up all your working directories on your internal storage, clearing out junk it may have had, and also rebuilding of the VM. That's a lot of work. Why not reboot to make sure everything that has been sitting on idle after making all these folders, would be terminated completely so just to make sure everything goes right.
Click to expand...
Click to collapse
so if I understand you correctyl, after the first bootup after the OS installation I must reboot the phone before setting up the google account and soo on?

Categories

Resources