Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[GUIDE] Flashing ROMs correctly, every time

OP cobraboy85

20th October 2012, 04:51 PM   |  #1  
OP Account currently disabled
Thanks Meter: 1,253
 
2,471 posts
Join Date:Joined: Aug 2011
So I was rummaging around the dev section, QA, so forth. And I have seen numerous threads, questions, posts, where people have had issues with ROMs or just general left field issues that were resolved by going back to square 1 doing a fresh clean install of "rom.zip..

My goal with this thread is to contribute some insight and experience with customizing android devices in the way we all do... at square one, clicking the download button.... we also do not have a thread dedicated to this one subject alone, so here it is. I feel stickying this thread would be extremely useful, as so many people could see it right from the get-go and get valuable information from it.

Just getting right into it, I will say this, I have flashed (I'm sure) damn near 1,000 ROMs to various devices. Mine. Friends. Etc. And never once have I installed a corrupt zip file to these devices. This should never happen, and among other important details to any installation of a ROM, this one is the most important...

VERIFY THAT YOUR DOWNLOADS ARE GOOD!

How do you do this??? Well I will show you... it is with this handy little app called md5 checker from the play store. EVERY. SINGLE. ONE OF US.... should have this app, guys (and gals, because I know you are out there it is a free app. No excuses

What is an MD5 checksum? Trusty link to get the gist of it.. http://www.fastsum.com/support/md5-c...5-checksum.php

Making this simple - I will break this down into steps. Follow this meticulously and 99.9% of the time you will not have an issue or be one of the random bugs popping up when everyone else seems fine.


1. Download md5 checker.

2. Download all zip files needed for your ROM. (whether you do this from your mobile device or a desktop/laptop it doesn't matter, because you WILL verify the file AFTER you have transferred it to where it needs to be allocated - your device). Basically, download it, transfer it.

3. Open md5 checker, the app is pretty easy to use. Much like a file explorer in its layout with the obvious differences.

4. Retrieve md5 for your zip files.

5. Verify them with ROM developer, or others using that particular ROM. Any discrepancies - back to step 2.

6. All is well? Boot to recovery.

7. Wipe data 3 times (you don't need to wipe dalvik cache, that directory is found in the data partition - wiping data = wiping dalvik cache)

8. Wipe cache 3 times (this sometimes does not need to be done either depending on whether or not your recovery wipes cache with data.. most recoveries will spit out some text during the wiping phase letting you know the details of the process and you'll see see something like this when wiping data)..
"Wiping /data...
"Wiping /cache

If you see cache being wiped, you are good. No need to manually wipe cache.

9. Format your system partition through recovery 3 times

10. Install your ROM. Reboot. Let it sit for a minute or two, reboot it again. If you are not installing a custom kernel, stop here. You are done, and winning.

11. Reboot to recovery, wipe cache partition 3 times AND dalvik cache. They are both there as options, for this reason - the goodies we install after a full ROM install.

12. Flash kernel zip. Reboot. Let it sit for a minute or two, reboot it again. You are done, and winning.



Interesting fact about all the ROMs I have installed over the years, NOT ONCE, have I ever installed something corrupted, and every issue/bug I have ever had with a ROM was a known issue. This also doesn't mean your particular device is always going to be able to run for weeks on end without needing a quick reboot. Sometimes its good to do the dishes, I get that. But my disclaimer here is for all to note, if you follow these steps meticulously, you will ALWAYS be able to say to yourself with confidence "nope, did it right, there is something else going on here." And thus you will be a greater problem solver and contributor to the community as a whole every single time you pose a thought or question regarding any problems you are having.

"Do it right once, instead of doin it wrong twice before doing it right."

We are nothing useful without useful information. Useful information = posting in a thread in this tone...

"Hey, installed ROM correctly/thoroughly, verified downloads, XXX is buggy blah blah etc etc... can somebody else here verify if they are or aren't having this issue? Thanks!"

Based on people's response you'll know if it is just you or a legitimate issue, in which case, you brought it to the attention of us all, and the dev(s), and you have now been very useful.

What you don't want to do is this....

"My phone keeps rebooting!!! Haaaalp"

The reason why you shouldn't post like that is because you will ALWAYS get a sour response or people will just ignore you. Or, they will reply with questions you should have already asked yourself... "did you verify your downloads were good??? Did you do a clean and thorough install???"


Long post, but I hope somebody will find it useful and utilize it. It will increase your experience with your android device in a positive way, as it has for me. Cheers
Last edited by cobraboy85; 20th October 2012 at 06:06 PM.
The Following 45 Users Say Thank You to cobraboy85 For This Useful Post: [ View ]
21st October 2012, 02:31 AM   |  #2  
Junior Member
Thanks Meter: 0
 
23 posts
Join Date:Joined: Oct 2012
very nice and clear. thanks so much. I just flash LIquidsmooth rom. Very happy for a newbie like me
22nd October 2012, 04:18 AM   |  #3  
khoikn's Avatar
Senior Member
Flag Mesa
Thanks Meter: 20
 
152 posts
Join Date:Joined: Aug 2012
More
Fantastic work.
This guide, albeit it simple, is very clear and concise.
Newbies (like myself) are able to follow these instructions to ensure that flashing ROMS always turn out smooth.

+1
22nd October 2012, 04:26 AM   |  #4  
OP Account currently disabled
Thanks Meter: 1,253
 
2,471 posts
Join Date:Joined: Aug 2011
Yeah I figured it will would be a useful guide. I'm just glad others feel the same. Beauty of open source - doing things because you like it and to benefit the community

Sent from garaxy
The Following User Says Thank You to cobraboy85 For This Useful Post: [ View ]
22nd October 2012, 04:27 AM   |  #5  
Nyobie's Avatar
Member
Thanks Meter: 14
 
66 posts
Join Date:Joined: Jan 2012
More
Great summary! Subscribed and will link to this thread when the next noob comes along and says, 'haaaaaalp!'.



Sent from my HTC Incredible 4G on Verizon's periodically blazing fast and mostly reliable 4G LTE network using xda-developers app
The Following User Says Thank You to Nyobie For This Useful Post: [ View ]
22nd October 2012, 11:25 AM   |  #6  
Junior Member
Thanks Meter: 2
 
16 posts
Join Date:Joined: Sep 2012
thx!
24th October 2012, 10:37 PM   |  #7  
saldebot's Avatar
Senior Member
Flag Miami, FL
Thanks Meter: 717
 
1,064 posts
Join Date:Joined: Apr 2010
More
Cobraboy,
I have linked this thread to my signature, is that ok with you ?
The Following 2 Users Say Thank You to saldebot For This Useful Post: [ View ]
26th October 2012, 12:13 PM   |  #8  
OP Account currently disabled
Thanks Meter: 1,253
 
2,471 posts
Join Date:Joined: Aug 2011
Quote:
Originally Posted by saldebot

Cobraboy,
I have linked this thread to my signature, is that ok with you ?

Perfectly fine man

Sent from garaxy
30th October 2012, 09:22 PM   |  #9  
MikHaiL_08's Avatar
Senior Member
Brooklyn
Thanks Meter: 557
 
329 posts
Join Date:Joined: Oct 2012
More
I say just read the OP instruction
30th October 2012, 10:06 PM   |  #10  
Member
Thanks Meter: 0
 
31 posts
Join Date:Joined: Feb 2012
Smile thanks but
Quote:
Originally Posted by cobraboy85

Perfectly fine man

Sent from garaxy

I am going to update with links thanks. Your instructions are clear but I will add the links.

thanks again

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes