5,596,179 Members 34,658 Now Online
XDA Developers Android and Mobile Development Forum

[HOWTO] Rooting + Wiping + Flashing : For the ultimate noob.

Tip us?
 
rootSU
Old
(Last edited by rootSU; 20th October 2013 at 01:04 AM.)
#1  
rootSU's Avatar
Senior Member - OP
Thanks Meter 7405
Posts: 17,938
Join Date: Aug 2010
Location: Oxenhope, West Yorkshire, UK
Default [HOWTO] Rooting + Wiping + Flashing : For the ultimate noob.

Note from rootsu:

XDA staff have transferred ownership of this thread to me so that I can update the rooting methods. The reason for this is because the rooting method contained within is outdated and since identified as unsafe.

I have PM'd the original OP @Stormlister to update the thread but unfortunately have received no response.

I aim to keep the structure of the thread in tact. I am only here to edit out / replace outdated and unsafe methods contained within this thread. The work below is not my own.


Disclaimer:
This guide is for total noobs (I am one myself). Until the information here can be confirmed by an experienced person please don't bet on the fact that this information is 100% accurate. I studied and put together bits and pieces of information that I found everywhere, tried it and it worked. I will mention the sources. Even though its probably not a good idea for a noob to write any sort of guide, these were taken from working sources, I have tried it myself and all works flawlessly.

About me:
I write open source software and also write documentation.

Why:
I wrote this tutorial as I found the scattered information all over kinda confusing on the subject of flashing, wiping and ROMS.

Who's it for?
You already know what you want to do, but don't know where to start.


THIS IS A WORK IN PROGRESS.

--------------------------------------------------------------------------------------------
Getting Started - Rooting
--------------------------------------------------------------------------------------------
Root means you are opening the operating system to allow a user or application full read and write access. This is needed by some special applications to change operating system files. For example the "Adfree" application changes system files to block certain domains which completely stops ads from showing up on your phone. Unlike other systems like in the iOS, all the root applications are available in the Google Play store, I think Google is great for allowing this.

The main thing I root first even though it is not needed to flash a rom is the fact that you ALWAYS need to make a backup, if something goes wrong you have a something to fall back on and the friendly xda community can help us get things running again.

The easiest way I found to quickly and safely root was by using the following software:
ODIN (Desktop software) (Incorrect usage may make your phone unusable.)
Before you start using Odin, make sure all the Kies* services on your desktop is stopped. (On Windows, you can press Ctrl+Alt+Delete, go to task manager, services and stop it from there). Infact you should consider uninstalling Kies altogether as it is really not needed if you are going to root. There are more than enough backup software that does not add the bloatware.

This piece of genius is a tool to flash among other things a new ROM to your phone.
We will be using this piece of software twice, first to root it, and then to flash your S3 with a new ROM.

------------------------------------------------------------------------------
<rootsu insert>

Recommended methods to "root" depending on your requirements...

1) You want root only. No custom ROMs, kernels etc. Just root, just to use root apps.

CF Auto Root Via Odin

Why? Tried and tested method, simple to use. No need to choose what exploit you want to use as it's tailored for your device.
What does it do? It gives you a stock recovery (so can't flash things) and roots the Android OS

The Steps:

1) Download the Latest Odin
2) Download CF-Auto-Root for your model
3) Follow These steps to root



2) You want to flash custom ROMs / Kernels

If you want root on your existing Android ROM, you can do 1) first. Then flash a recovery of your choice (CWM, Philz, TWRP) via Odin
However, if you immediately plan on flashing a ROM, there's no need to root your existing ROM. Simply skip straight to installing a recovery. Backup then flash what you like.

The Steps:

1) Download the Latest Odin
2) Download recovery of your choice CWM, Philz, TWRP
3) Follow The steps to Flash Philz recovery (But for the recovery of your choice)


These steps can also be followed to update recovery to newer versions
</rootsu insert>
------------------------------------------------------------------------------

Difficulty: Easy

After you have completed the tutorial your phone should be rooted and ready to go to the next step.

--------------------------------------------------------------------------------------------
Backing up
--------------------------------------------------------------------------------------------
The next thing we will need to do is backup our current apps, settings and even ROM. Now that the phone is rooted we can install a few applications to help with this process. Lets do this now.

In Google Play Store, search and install:
Titanium Backup (Google Play)
With this tool, you will be able to backup application and settings of your current installation.

To do so;
  1. Open Titanium Backup
  2. At some point it will ask for root access, you will need to allow it root access.
  3. Click on Backup/Restore.
  4. It will show you a list of software.
  5. Click the ok tick top right.
  6. It will now show a list of actions you can take.
  7. You will now [ RUN ] Backup all user apps+ system data.
  8. It will flip to a new screen, click top right ok tick again.
  9. The backup process will take a few minutes.
  10. After the backup completes, we will need to copy it to a safe place, just in case something else goes wrong.

With above explained, there are more optimized Titanium Backup methods, this is a must read:
http://checkrom.com/threads/titanium...explained.433/

You could also backup your whole system from the boot menu of ClockWorkMod / custom recovery - which you will already have if you used the rooting method above. Have a look at this short yet very informative video to do just that:
http://www.youtube.com/watch?v=sPvNr...eature=related

Difficulty: Easy

Bear in mind that custom recoveries vary, they all work pretty much the same. The backup is referred to as a "nandroid" backup, but in the recovery menus, it may well be referred to as simply "backup and restore".

To boot into whichever custom recovery you have installed, power off the phone. From off, hold Volume Up + Home then press and hold Power until the S3 splash screen shows. Release power. Once in recovery, find the backup and restore menu and take a backup.

There is one more place you need to manually write down some settings, the APN for your data and MMS, this is the only area besides the branding when another countries stock rom might affect you if you chose to use it. So head over to;
  1. Settings->More Settings->Mobile Networks->Access Point Names.
  2. Click on each and write down its settings.

Backing up EFS folder
---------------------------------------------------------------------------------------------------------------------
The EFS is a filesystem folder which contains important information like for instance your IMEI (International Mobile Equipment Identity) number, even though I cant find any evidence that anyone lost their EFS folder yet, I think it is probably important enough to back it up. First open your favorite file browser like ASTRO and click on your internal build in sdcard0 and see if you have a efs_Backup folder. If you have such a folder its is probably backup up inside already. To be honest, I dont know what backed mine up, but it was there, and it will be likely there if you followed the procedures listed in the collection of this tutorial.

However, the folder is only 6mb, if you don't have such a backed up folder, using an application like KTOOL, gives you the ability to backup the whole "/efs" folder to wherever you like. The external SSD and also your PC would be a good idea to back it up to.
----------------------------------------------------------------------------------------------------------------------

Difficulty: Easy

--------------------------------------------------------------------------------------------
ROM - Hunting for a new rom
--------------------------------------------------------------------------------------------

************************************************** ************************************************** ********
My ROM is not YOUR ROM
But I have an S3, wtf is this? Note that when hunting for a ROM that you make sure it is either based on your models ROM or supports your models ROM. The reason this should be noted is because the models are so profoundly different, from Dual Core to Quad Core, from 1GB memory to 2GB memory etc. This means each ROM is optimized of based on a specific model. If you have the GT-I9300, you have the most popular model which has a lot of custom ROMS.

Read more about the differences here:
http://forum.xda-developers.com/show....php?t=1870827

************************************************** ************************************************** ********


This is where I got confused, I did not know if I had to match the code base of my factory stock rom to the rom I wanted. I was afraid that it might flash my modems software making my phone unusable with my service provider. It seems that the rom file is only to flash the actual OS and wont include the modem flash too.

So what ROM to pick, there seems to be very good ROMS out there, but know, the further you go away from the stock rom, the more difficult things become. You might just want to upgrade to the latest Jelly Bean and not worry about an improve stock Samsung rom. Or you might want to take it to a whole new level and perhaps install a pure Android rom (however, I noted a few people having trouble with the pure android rom, you really need to know what you are doing). But as I say, it seems things gets kinda tricky the further you move away from the Stock Rom.

Lets look at a few examples of solid roms:
At this stage we only have one stock rom available in Jelly Bean, this is most probably the safest bet when you only want to upgrade to Jelly Bean (If you do decide to just go with the safest rom, you can just root again after the rom was successfully flashed) [INTERNATIONAL GALAXY S3 ONLY] [DONT USE THIS ROM ON ANYTHING ELSE THAN INTERNATIONAL VERSION (IT WONT WORK)]:
http://forum.xda-developers.com/show....php?t=1646610

Now we can start looking at roms based on stock roms that was improved by a linux guru, very good example of such a rom which is very solid is Android Revolution HD, if you have other Samsung devices I would recommend sticking to this one as it comes stock with Allshare Play:
http://forum.xda-developers.com/show....php?t=1797334

The most popular OMEGA rom for the S3 international, pure awesomeness:
http://forum.xda-developers.com/show....php?t=1663656

Then you get completely customized roms like Cyanogenmod, this is next level roms and should probably only be tried once you are more confident with flashing ( . Y . )
Note that Cyanogenmod is very controversial for the international version of the S3, there are technical issues, and newer stable version is always behind, I would NOT go for Cyanogenmod at the moment..
http://www.cyanogenmod.com/

For a very nice list of roms and some explanations have a look at:
http://forum.xda-developers.com/show....php?t=1674286

Now that you have your rom, lets continue.

Difficulty: Easy

--------------------------------------------------------------------------------------------
Wiping & Flashing - Cleaner Flashing Method
--------------------------------------------------------------------------------------------
[I will try and confirm all my findings below]
When people refer to the term wipe, it is my understanding that it means to delete the old ROM from various locations. This ensures a more clean installation, almost like its better to install Windows afresh instead of an upgrade. However, this is not Windows, its Linux, I am sure the logic behind this is because the way Linux works, it has certain files in certain directories, that if the file is there, the service is loaded automatically. Now if you had to replace a stock rom with something completely different, some of those auto loaded files will be left behind and you will be stuck with loaded services that should not be there. But this is just my experience, I am not sure if this completely accurate.

This is where things might start becoming slightly confusing. Many people seem to argue that when upgrading from a stock version to another stock version that you don't need to wipe, I completely agree with this, as this will almost be the same upgrade process the default upgrade will follow.

However, if you upgrade to a very different ROM, start paying attention, as things might just get slightly more complicated. This I have not tried myself yet, but it seems that for this to work you wont need Odin.

Some people also recommend formatting and not just deleting, I will even advice against this, this is the EXT4 filesystem, not some NTFS filesystem. I cannot see the real benefit of formatting.

At this stage I don't know how to wipe the phone if you are going to use the alternative Odin flashing method explained below, this I have done, tried and tested, working fine:

[Below method I use to flash my own international S3]
This is what you will be doing to install a custom rom while wiping it for a fresh install (make sure you have your titanium backups handy ):
  1. Copy your ROM inside an easy locatable phone folder by browsing to it, from your PC and copying it to your phones folder using your micro USB cable. I strongly recommend using your External SD card as some roms may wipe your internal SD card leaving you without any ROM to update.. that will be very sad.
  2. Boot into recovery (Vol up + Home + power from off)
  3. You will see a new Unix like screen appear, use volume + and - to navigate up and down, home button is enter, and soft touch back button back is back.
  4. Next we will wipe the phone (if your ROM does not have special instructions on wiping this is a standard method).
  5. Goto Wipe Data/Factory Reset -> Yes
  6. Goto Wipe Cache Partition -> Yes
  7. Goto Advance -> Wipe Dalvik Cache -> Yes
  8. Next Select Install Zip from SD Card (You may also mount External SD card and load ROMS from external SD card (I can recommend this))
  9. It will take a while...
  10. Reboot, and hope to god all is good.

I can confirm above works perfectly, I have flashed HD Revolution ROM successfully using above method.
BUT PLEASE BE WARNED: HD Revolution recommends using Super Wipe, the instructions are unclear, it says you must copy it to the your sd card, if you do this and copy it to your internal sd card all will be wiped including your images, I think you are screwed then. Rather copy them to your EXTERNAL SD card and choose zip from EXTERNAL SD card.

Or you can see a very clear example video of how to wipe data from your phone in preparation of a new rom;
Be aware, this video shows that you should UNLOCK your bootloader, some phones wont boot after this, don't do it except if you know you have to.
http://www.youtube.com/watch?v=EJUCOtX1cUk

Difficulty: Medium

--------------------------------------------------------------------------------------------
ALTERNATIVE Flashing - With Odin
--------------------------------------------------------------------------------------------
If you have not followed the wiping method and you will just be going for the stock updated rom, you should not be needing any wiping, you can just download the stock rom as linked and follow this great guide:

STOCK ROM:
http://forum.xda-developers.com/show....php?t=1646610

ODIN GUIDE
http://forum.xda-developers.com/show....php?t=1671969

Difficulty: Medium

--------------------------------------------------------------------------------------------
Restoring your data
--------------------------------------------------------------------------------------------
After you have are done with a successful flash, we want to recover our apps, but its not just a matter of recovering everything, it will be a mess if you do that.

Quote:
Many people carry out a backup before installing a custom rom and didnt really understand what kind of backup they should of carried out and have just gone with what they have seen, WRONG!!! when it comes to custom roms there is only one type of backup you can do.

Custom roms have their own system files and dont like other system files being installed over it, you will definitely have rom problems if you carry out this kind of restore from a backup over a custom rom.

When using Titanium Backup its important not to use the settings - backup all system data and backup all user apps + system data, you cant use these with a custom rom, so dont try this kind of backup, this kind of backup is to restore your phone back to its previous state, should something go wrong with the rom installation.
Read more detail here:
http://checkrom.com/threads/titanium...explained.433/

Difficulty: Easy

--------------------------------------------------------------------------------------------
Getting rid of bloatware
--------------------------------------------------------------------------------------------
If you went for a stock based ROM, you might want to get rid of all the SAMSUNG bloatware that sits in memory and really never gets used.
This is mostly all the "S" software like "S Suggest", I believe not a lot of people is going to use this for instance. And one can't simply uninstall it as it is hiden from uninstalling.
There is a very easy way if you are rooted though (another reason to root). Simply install the little greatness called "Nobloat Free" from the Play store.

Now select those bloatware you dont want and simply uninstall. But make sure it might not be useful for yourself. To give you an idea, "AllShare Play" might sound useless, however, if you have a XBMC media pc, by simply enabling "PNP" in the configuration, you can display photos and videos instantly from your G3, does not matter where you are in XBMC.

Difficulty: Very Easy

--------------------------------------------------------------------------------------------
Unrooting and getting back your Warranty!
--------------------------------------------------------------------------------------------
At some stage you might want to sell your phone or it is giving you hardware issues that has nothing to do with software. At this stage you want to reset the phone to it 100% factory state and status. It is completely possible, unfortunately it wont work to just update the rom to the stock factory rom as there are built in counters and status writes who flags the phone as modified. However, by following these tutorials, you can quickly reset your phone.

You will need the factory rom for your country, this can be downloaded here:
http://www.sammobile.com/firmware/

Then watch both of these tutorials and decide which one you feel the most comfortable with:
http://www.youtube.com/watch?v=ZEI_c...eature=related

And another approach to regaining your warranty:
http://www.youtube.com/watch?v=TEsBw...eature=related



Oops, if you are stuck on a crossroad and you think you might have bricked (term used to define the fact that you made your phone unusable) your phone, following this tutorial will help you out:
http://www.youtube.com/watch?v=ypmqJ...eature=related

Difficulty: Easy

--------------------------------------------------------------------------------------------
Thanks to everyone
--------------------------------------------------------------------------------------------
I just want to say thanks to the wonderfully smart people who makes rooting possible. It is amazing how much more fun some people can make the life for other. I truly appreciate every bit of it.
Also special thanks to xdadevelopers who keeps an awesome community together.

Odin Greatness!
CF-Root
SuperSu
CWM
CWMManager
ClockworkMod (WTF, this is omg awesome!)
Titanium Backup
Adfree


--------------------------------------------------------------------------------------------
Congrats on your new firmare!
--------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------
FAQ
--------------------------------------------------------------------------------------------

Quote:
Originally Posted by JiiNDER
Hey I want to thank you so much for your guide! It actually makes rooting a lot easier. I had one question though, if I root and a new official firmware comes out, can I still update to the latest stock rom with Kies even though I will lose my root.
It all depends what ROM you loaded, if its not the default factory ROM or based on it, you will have to follow the instructions of the CUSTOM rom provider on how an upgrade should be achieve. Else simply use the newest default rom and simply re-root, should be a very quick to do. Also, dont use KIES if you have already rooted, rather use ODIN and follow the instructions. NOTE: KIES, if left running will make ODIN behave incorrectly.
Always read the OP's of a thread and the last 2 pages before asking questions, unless there has been an update - in which case, read the last 5 pages!

nexus 5 | SlimKat | ElementalX kernel | Philz Touch Recovery

I do NOT reply to support queries over PM.
The Following 10 Users Say Thank You to rootSU For This Useful Post: [ Click to Expand ]
 
slaphead20
Old
#2  
slaphead20's Avatar
Senior Member
Thanks Meter 4740
Posts: 11,288
Join Date: Feb 2011
Location: Out there somewhere

 
DONATE TO ME
just a slight correction/heads up.... if you root with cf root then cwm recovery is installed, hence no need to use Rom manager, it's kinda outdated now imho

---------- Post added at 05:51 PM ---------- Previous post was at 05:49 PM ----------

further to that you may want to provide instructions after the rooting process on how to get into recovery and download mode
All donations to me will go to THE PICKERING CENTRE...my local cancer drop in centre, a registered charity no.1112623
http://www.pickeringcancercentre.org.uk/index.html
The Following 2 Users Say Thank You to slaphead20 For This Useful Post: [ Click to Expand ]
 
Stormlister
Old
#3  
Junior Member
Thanks Meter 67
Posts: 21
Join Date: Sep 2012
Quote:
Originally Posted by slaphead20 View Post
just a slight correction/heads up.... if you root with cf root then cwm recovery is installed, hence no need to use Rom manager, it's kinda outdated now imho

---------- Post added at 05:51 PM ---------- Previous post was at 05:49 PM ----------

further to that you may want to provide instructions after the rooting process on how to get into recovery and download mode
Thanks, I will note that above.
The Following User Says Thank You to Stormlister For This Useful Post: [ Click to Expand ]
 
musclehead84
Old
#4  
musclehead84's Avatar
Senior Member
Thanks Meter 969
Posts: 4,549
Join Date: Nov 2010
Location: Falling Waters, WV
The stock rom at the bottom goes to the international version rom. I found this thread in the Sprint version so u might want to note that. If someone were to flash that they wouldn't boot up.

Sent from Galaxy SIII
"If you cant live large look big in the coffin"
Competitive powerlifter and member of Metal Militia Virginia Chapter! Currently ranked in the top 10!
Goals: Squat- 1,000-1,050 Bench 715-800 Deadlift- 650-715.


When my ass leaves the breaking floor,
Lifting weight of such amount
That no mortal eye can count,
All of sudden on top I soar
And Realize:
To happiness there's no such bind
As a PR that's left behind!
Squat! Squat! Squat!
The Following User Says Thank You to musclehead84 For This Useful Post: [ Click to Expand ]
 
Stormlister
Old
#5  
Junior Member
Thanks Meter 67
Posts: 21
Join Date: Sep 2012
Added many corrections.
The Following User Says Thank You to Stormlister For This Useful Post: [ Click to Expand ]
 
Stormlister
Old
#6  
Junior Member
Thanks Meter 67
Posts: 21
Join Date: Sep 2012
Quote:
Originally Posted by musclehead84 View Post
The stock rom at the bottom goes to the international version rom. I found this thread in the Sprint version so u might want to note that. If someone were to flash that they wouldn't boot up.

Sent from Galaxy SIII
Could you please explain why you think it wont boot, what exactly would be different that wont make it boot. I believe it will?
The Following User Says Thank You to Stormlister For This Useful Post: [ Click to Expand ]
 
Nas Eiesefpi
Old
#7  
Member
Thanks Meter 18
Posts: 95
Join Date: Sep 2012
Location: Singapore
Great tutorial for the noobs. Would be really useful for them. :thumbup:

Sent from my GT-I9300 using xda app-developers app
The Following User Says Thank You to Nas Eiesefpi For This Useful Post: [ Click to Expand ]
 
graffixnyc
Old
#8  
graffixnyc's Avatar
Forum Moderator / Recognized Developer
Thanks Meter 4020
Posts: 5,253
Join Date: Jan 2011
Location: New York City

 
DONATE TO ME
Quote:
Originally Posted by Stormlister View Post
Could you please explain why you think it wont boot, what exactly would be different that wont make it boot. I believe it will?
Different CPU's, different kernels, different drivers, different partitions, different radios and tech (one being GSM the other being CDMA) and the list goes on...

One day some of the kids from the neighborhood carried my mother's groceries all the way home. You know why? It was outta respect." -Henry Hill

Devices:
 


Google Glass

Current Phones:
HTC One M8 Gray 32GB + 64GB SD
HTC One M7 Silver 64GB

Current Tablets:
Sony Z Ultra GPe (Phone but use as a tablet)
Samsung Galaxy Note 10.1 2014 Edition 32gb


All new members should watch this:
http://www.youtube.com/watch?v=JmvCpR45LKA


Follow me on twitter! http://www.twitter.com/graffixnyc

G+: http://gplus.to/graffixnyc
The Following 3 Users Say Thank You to graffixnyc For This Useful Post: [ Click to Expand ]
 
Stormlister
Old
#9  
Junior Member
Thanks Meter 67
Posts: 21
Join Date: Sep 2012
Quote:
Originally Posted by graffixnyc View Post
Different CPU's, different kernels, different drivers, different partitions, different radios and tech (one being GSM the other being CDMA) and the list goes on...
Thanks for the feedback man... will mark it as International Only.
The Following User Says Thank You to Stormlister For This Useful Post: [ Click to Expand ]
 
Stormlister
Old
(Last edited by Stormlister; 3rd October 2012 at 08:49 AM.)
#10  
Junior Member
Thanks Meter 67
Posts: 21
Join Date: Sep 2012
I had question regarding Odin behaving strangely, make sure KIES is stopped in your services. I have added it in the tutorial.

The Following 2 Users Say Thank You to Stormlister For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes