Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,739,915 Members 43,117 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] How to flash roms/kernels

Tip us?
 
Khizar
Old
(Last edited by Khizar; 16th May 2014 at 01:22 PM.)
#1  
Account currently disabled - OP
Thanks Meter 7767
Posts: 6,890
Join Date: Feb 2012
Post [GUIDE] How to flash roms/kernels

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. Backup EFS
2. 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(if flashing an AOSP ROM)
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. Backup EFS
2. Make a nandroid backup in recovery
3. Wipe cache
4. Wipe dalvik
5. Flash ROM
6. Flash gapps(if flashing an AOSP ROM)
7. Flash 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.

NOTE - If you dont know how to Odin the stock FW(firmware), read this guide.

NOTE - Make a backup of your internal sdcard and save rom/gapps/kernel/etc on external sdcard.

1. Backup EFS
2. Make a nandroid backup in recovery
3. Odin the stock FW(firmware) for your device, the phone will boot into the OS
4. Boot into download mode and flash a custom recovery, I recommend TWRP
5. Wipe internal storage
6. Wipe data/factory reset
7. Wipe system
8. Wipe cache
9. Wipe dalvik
10. Flash ROM
11. Flash gapps(if flashing an AOSP ROM)
12. Flash kernel(optional)
13. Reboot
14. Wait 10 mins, then do another reboot
15. Enjoy


Sent From My SM-N9005 To All You Wonder Nobodies!!
The Following 8 Users Say Thank You to Khizar For This Useful Post: [ Click to Expand ]
 
Khizar
Old
(Last edited by Khizar; 16th May 2014 at 01:24 PM.)
#2  
Account currently disabled - OP
Thanks Meter 7767
Posts: 6,890
Join Date: Feb 2012
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 SM-N9005 To All You Wonder Nobodies!!
The Following 2 Users Say Thank You to Khizar For This Useful Post: [ Click to Expand ]
 
fahadali2315
Old
#3  
fahadali2315's Avatar
Senior Member
Thanks Meter 5026
Posts: 2,675
Join Date: Sep 2013
Location: Nottingham

 
DONATE TO ME
Finally, the easiest and most important thread Imo.
Keep up the good work mate.

Sent from my SM-N9005 using XDA Premium 4 mobile app
The Following 2 Users Say Thank You to fahadali2315 For This Useful Post: [ Click to Expand ]
 
Khizar
Old
#4  
Account currently disabled - OP
Thanks Meter 7767
Posts: 6,890
Join Date: Feb 2012
Quote:
Originally Posted by fahadali2315 View Post
Finally, the easiest and most important thread Imo.
Keep up the good work mate.

Sent from my SM-N9005 using XDA Premium 4 mobile app
Thanks for your support bruv.

Sent From My SM-N9005 To All You Wonder Nobodies!!
The Following 2 Users Say Thank You to Khizar For This Useful Post: [ Click to Expand ]
 
antique_sonic
Old
#5  
antique_sonic's Avatar
Recognized Contributor
Thanks Meter 1088
Posts: 2,096
Join Date: Aug 2009
Location: Corner of the earth

This is a long typo on note 3.
Can't imagine, with 289dpi some more

Sent from somewhere under the sky, at the corner of this rounded earth.
~WJ~
Learn.... Learn.... & Learn
Learn till you die, and you will die a happy man



Q & A for XNote Galaxy S5 (All Questions about X-Note Galaxy S5 PORT) :
[Q&A]X-Note G900F S5 PORT
The Following 2 Users Say Thank You to antique_sonic For This Useful Post: [ Click to Expand ]
 
Khizar
Old
#6  
Account currently disabled - OP
Thanks Meter 7767
Posts: 6,890
Join Date: Feb 2012
Quote:
Originally Posted by antique_sonic View Post

This is a long typo on note 3.
Can't imagine, with 289dpi some more

Sent from somewhere under the sky, at the corner of this rounded earth.
Haha actually I typed most of this on PC but emailed it to myself as I was leaving but wanted to edit it some stuff...So the end product was posted by cell.

Sent From My SM-N9005 To All You Wonder Nobodies!!
The Following 2 Users Say Thank You to Khizar For This Useful Post: [ Click to Expand ]
THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes