Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,739,536 Members 53,012 Now Online
XDA Developers Android and Mobile Development Forum
View Poll Results: How is the Flashing guide?
Good. It works! 9 47.37%
Umm... Someting's missing, still good job! 8 42.11%
****! You bricked my phone! 2 10.53%
Voters: 19. You may not vote on this poll

[Best Ever][Noob-friendly] ROM Flashing Guide

Tip us?
 
cy56
Old
(Last edited by cy56; 16th June 2014 at 09:10 AM.) Reason: Rectified mistakes and added screenshots
#1  
cy56's Avatar
Senior Member - OP
Thanks Meter 45
Posts: 120
Join Date: Sep 2013
Location: Sirsa
Post [Best Ever][Noob-friendly] ROM Flashing Guide

Here I start my new thread:

Best Ever Flashing Guide!

I've started this thread to give you my own experienced flashing guide. This thread/guide will provide you easy and step-by-step tutorial to flash a ROM. If I'm wrong, please don't hesitate to correct me.

You'd say what's new in this thread? I say, "None other guide provide a deep-through guide and these type of new processes that can help you in better ROM flashing."

Before starting I'd like to say:

Anything you're doing is your own responsibility and I'm not responsible for any type of damage to you device.
(As seen on many thready, I found this interesting) If you point your finger towards me in case of any damage, I'll LOL at you!

Now let's start with part 1:
Backing-up: When you're switching to a new ROM it's better to back-up your important apps that you need in your new ROM. Because if you don't do this, you've to re-download your apps which is time, data & battery consuming. Here you need a File Explorer such as MiXplorer or ES File Explorer or Root Explorer (Get 'em by clicking on names). Now follow these steps:
  1. Open your File manager and goto Root directory.
  2. Head to "data" folder and then open "app" folder. Here you can see all your installed apps. These are 'User Apps'.
  3. Now select the apps that you want to backup.
  4. Now press "Copy" button to copy you apps.
  5. Head to your SD Card. (You can find "sdcard" folder back in root directory.)
  6. Just paste them wherever you want.
That's it! You've backed-up you apps!
 








Now let's move to part 2:
Pre-flash initial wipe: Yeah! Pre-flash wipe! This means that you're wiping your installed apps' data. Sometimes in flashing instructions of some ROMs, it is not given to wipe \data because that wouldn't install your new ROM. SO here's the manual way:
  1. Open you file manager.
  2. In your SD Card, there's a folder named "Android". Just delete it!
  3. Now head back to "data>app" select 'em all and delete 'em! (As you've backed-up, don't fear to delete 'em.)
 







Part 3:
Pre-flash final wipe: This is the final step of wiping manually. CAUTION: After this wipe you MAY NOT be able to use your phone, so before this, finish your any other precious work then head to this part. Now follow these steps:
  1. Open your file manager and again head to Root directory.
  2. Now goto "data" then again "data" folder. Here you'll see lots of folders.
  3. Just select 'em all and press "Delete". SOME FOLDERS MAY NOT BE DELETED as they are currently in use.
 





Now Reboot or power-off your phone! (If you're unable to reboot/power-off, just pull-out your phone's battery)

Part 4:
Flashing Kernel:Before Installing/flashing a ROM you must install a Kernel otherwise you'll get error in Flashing ROM or get bugs in installed ROM. You can get the kernel to flash inside you ROM's zip. (Just open the ZIP file and extract boot.img) Here are the Kernel Flashing instructions:
  1. Open FlashTool. If you don't have FlashTool, get it here!
  2. Click the Lightning Icon and choose Fastboot mode.
  3. Click Select Kernel to flash and choose your kernel. (if it is .elf file choose .elf format from dropdown menu and if it is .img file choose it from same.)
  4. Before clicking Open, Turn-off your phone. Wait at-least 5 sec. press and hold vol+ (volume increase) button and simultaneously insert data cable into your phone.
  5. A Blue LED will light-up and here you can remove finger from the button. (On some Xperias that light will glow-up in the Illumination bar). Now Press Open by clicking on your kernel.
  6. It'll flash kernel to your device in just 3-5 seconds then you can reboot and Install your desired ROM.
 









Part 5:
Flashing ROM: This part relates to your respective ROM's flashing instructions. Some important points here can help you:
  • Most of the Stock, Stock-based and CyanogenMod10, 10.1 ROMs use this wiping precess in Clockworkmod Recovery:
    1. Wipe data/factory reset.
    2. Wipe cache partition.
    3. Goto advanced and wipe dalvik-cache.
    4. Install ROM.
  • Most of the CyanogenMod 9 ROMs use this wiping procedure:
    1. Install ROM
    2. Install GAPPS
    3. Wipe data/factory reset.
  • Most of the CyanogenMod 10.2 ROMs use this wiping procedure:
    1. Wipe data/factory reset.
    2. Wipe cache partition.
    3. Goto mount & storage and do a format system.
    4. Install ROM.
  • Most of the Kit-Kat 4.4 ROMs use this wiping procedure:
    1. Wipe data/factory reset.
    2. Wipe cache partition.
    3. Install ROM.

IMPORTANT: Some ROMs have different wiping procedure, please follow them. This is just for reference purpose if wiping procedure isn't provided in the ROM's thread. Also, DON'T FORGET TO FLASH THE KERNEL every time before you Install a ROM.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-06-06-14-46-31.png
Views:	1094
Size:	50.2 KB
ID:	2801174   Click image for larger version

Name:	Screenshot_2014-06-06-14-48-13.png
Views:	1089
Size:	90.0 KB
ID:	2801175   Click image for larger version

Name:	Screenshot_2014-06-07-23-10-42.png
Views:	1065
Size:	62.0 KB
ID:	2801176   Click image for larger version

Name:	Screenshot_2014-06-07-23-12-41.png
Views:	1064
Size:	61.0 KB
ID:	2801177   Click image for larger version

Name:	Screenshot_2014-06-07-23-13-28.png
Views:	2086
Size:	62.6 KB
ID:	2801178  

Click image for larger version

Name:	Screenshot_2014-06-07-23-13-40.png
Views:	1094
Size:	66.5 KB
ID:	2801179   Click image for larger version

Name:	Screenshot_2014-06-07-23-14-16.png
Views:	1047
Size:	119.0 KB
ID:	2801180   Click image for larger version

Name:	Screenshot_2014-06-07-23-14-33.png
Views:	1046
Size:	64.0 KB
ID:	2801181   Click image for larger version

Name:	Screenshot_2014-06-07-23-14-51.png
Views:	1049
Size:	90.5 KB
ID:	2801182   Click image for larger version

Name:	ft 1.PNG
Views:	1042
Size:	23.0 KB
ID:	2801226  

Click image for larger version

Name:	ft 2.PNG
Views:	1039
Size:	26.3 KB
ID:	2801227   Click image for larger version

Name:	ft 3.PNG
Views:	1041
Size:	28.8 KB
ID:	2801228   Click image for larger version

Name:	ft 4.png
Views:	1036
Size:	24.3 KB
ID:	2801229   Click image for larger version

Name:	ft 5.png
Views:	1043
Size:	46.4 KB
ID:	2801230   Click image for larger version

Name:	ft 6.png
Views:	1045
Size:	52.2 KB
ID:	2801231  

My Device: Xperia U
Tech Specs: Rooted & Unlocked Bootloader
ROM using: Hanomi MoonWalker HD v3.5
My Works: [Best Ever][Noob-friendly] Flashing Guide.
REMEMBER to hit THANKS if I helped you!
The Following 22 Users Say Thank You to cy56 For This Useful Post: [ Click to Expand ]
 
paxy97
Old
#2  
paxy97's Avatar
Senior Member
Thanks Meter 496
Posts: 829
Join Date: Apr 2012
Location: Belgrade
For most Xperia Devices the fastboot key is vol+ not vol-. Vol- is for flashmode which is for flashing a stock ftf firmware.
My Works:
HalOmni for the Xperia V


(I don't take credit for the picture)
The Following 2 Users Say Thank You to paxy97 For This Useful Post: [ Click to Expand ]
 
gandalf_grey91
Old
(Last edited by gandalf_grey91; 14th June 2014 at 12:38 AM.)
#3  
Senior Member
Thanks Meter 28
Posts: 193
Join Date: Dec 2011
No mention of unlocking bootloader or how to do it, can't flash a kernel without unlocked bootloader. No mention of losing Bravia Engine/X-Reality and DRM keys if bootloader is unlocked. No mention of backing up TA partition. No mention of installing recovery. No mention of the fact that specific versions of recovery are required to flash Kitkat ROMs. Most custom ROM instructions I've seen have the user flashing ROM before kernel.
Sony Xperia Z1 running monxDIFIED v6.02
Motorola Atrix (x2) running Nottachtrix 1.3.1 (DeBlur-ed, running Ubuntop v.1.1.1) and Neutrino 3.02
HTC Incredible S running VivoKat (ART)
Sony Xperia SP (LTE) (x2) both running heavily customised stock ROM (4.3/4.2.2)
Samsung Galaxy Tab 2 7.0 running CM11
Nook HD+ running dual boot (CM11 (ART) / Stock 2.2.0)
HTC Desire running RSK ORIOLA Xperia Z 3.0 (CM10)
ZTE Skate running CM10
ZTE Blade running CM10
The Following 2 Users Say Thank You to gandalf_grey91 For This Useful Post: [ Click to Expand ]
 
The Sickness
Old
#4  
The Sickness's Avatar
Recognized Contributor
Thanks Meter 8068
Posts: 3,896
Join Date: Oct 2012
Location: Somewhere in Texas

 
DONATE TO ME
On #4 you need to add...

Advanced/System

Sent from my SGH-M919 using XDA Premium 4 mobile app
 
Levered
Old
#5  
Levered's Avatar
Recognized Contributor
Thanks Meter 1442
Posts: 1,534
Join Date: Feb 2012
Location: Malaysia

 
DONATE TO ME
1. Backup data - Better backup using PC Companion or Backup and Restore app (Sony has include this app in stock fw)
2. To enter fastboot mode must be hold volume up (+) not volume down(-) [Flashmode]
Btw nice tutorial for noob

The Following User Says Thank You to Levered For This Useful Post: [ Click to Expand ]
 
cy56
Old
#6  
cy56's Avatar
Senior Member - OP
Thanks Meter 45
Posts: 120
Join Date: Sep 2013
Location: Sirsa
@paxy97 @Levered Oops! Well.... I read this post many times before posting but can't find this mistake. Though I did the flashing procedure hundred of times, I made mistake in writing. Thank you both. Rectifying it now.
My Device: Xperia U
Tech Specs: Rooted & Unlocked Bootloader
ROM using: Hanomi MoonWalker HD v3.5
My Works: [Best Ever][Noob-friendly] Flashing Guide.
REMEMBER to hit THANKS if I helped you!
 
cy56
Old
#7  
cy56's Avatar
Senior Member - OP
Thanks Meter 45
Posts: 120
Join Date: Sep 2013
Location: Sirsa
Quote:
Originally Posted by gandalf_grey91 View Post
No mention of unlocking bootloader or how to do it, can't flash a kernel without unlocked bootloader. No mention of losing Bravia Engine/X-Reality and DRM keys if bootloader is unlocked. No mention of backing up TA partition. No mention of installing recovery. No mention of the fact that specific versions of recovery are required to flash Kitkat ROMs. Most custom ROM instructions I've seen have the user flashing ROM before kernel.
Cool man cool! This proposed that the person coming to this thread had already done that and basically and specifically, this is a 'Flashing Thread', not a complete thread..... Chill and Enjoy XDA!
My Device: Xperia U
Tech Specs: Rooted & Unlocked Bootloader
ROM using: Hanomi MoonWalker HD v3.5
My Works: [Best Ever][Noob-friendly] Flashing Guide.
REMEMBER to hit THANKS if I helped you!
 
cy56
Old
#8  
cy56's Avatar
Senior Member - OP
Thanks Meter 45
Posts: 120
Join Date: Sep 2013
Location: Sirsa
Quote:
Originally Posted by The Sickness View Post
On #4 you need to add...

Advanced/System

Sent from my SGH-M919 using XDA Premium 4 mobile app
Where? I can't find. Can you please copy-paste the line where the mistake is...?
My Device: Xperia U
Tech Specs: Rooted & Unlocked Bootloader
ROM using: Hanomi MoonWalker HD v3.5
My Works: [Best Ever][Noob-friendly] Flashing Guide.
REMEMBER to hit THANKS if I helped you!
 
The Sickness
Old
#9  
The Sickness's Avatar
Recognized Contributor
Thanks Meter 8068
Posts: 3,896
Join Date: Oct 2012
Location: Somewhere in Texas

 
DONATE TO ME
Quote:
Originally Posted by cy56 View Post
Where? I can't find. Can you please copy-paste the line where the mistake is...?
I'm on my cell at the moment...In TWRP there is a Advanced tab, which allows you to wipe System.



Sent from my SGH-M919 using XDA Premium 4 mobile app
 
cy56
Old
#10  
cy56's Avatar
Senior Member - OP
Thanks Meter 45
Posts: 120
Join Date: Sep 2013
Location: Sirsa
Quote:
Originally Posted by The Sickness View Post
I'm on my cell at the moment...In TWRP there is a Advanced tab, which allows you to wipe System.



Sent from my SGH-M919 using XDA Premium 4 mobile app
Oh! That's for CWM not for TWRP..... As most of users use CWM, I've written instructions for TWRP. Also, TWRP doesn't supports 2.3 & 4.0 ROMs ans CWM has total support for all Android versions, that's why....
My Device: Xperia U
Tech Specs: Rooted & Unlocked Bootloader
ROM using: Hanomi MoonWalker HD v3.5
My Works: [Best Ever][Noob-friendly] Flashing Guide.
REMEMBER to hit THANKS if I helped you!

Tags
flash guide, flashing guide, install guide
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes