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
View Poll Results: Did This Guide Help You?
yes 125 88.65%
no 16 11.35%
Multiple Choice Poll. Voters: 141. You may not vote on this poll

Post Reply

Flashing a Recovery,Kernel and Rom[FAQ'S][NOOB FRIENDLY]

OP cybervibin

16th November 2012, 10:52 PM   |  #1  
cybervibin's Avatar
OP Recognized Contributor
Flag Pallet town
Thanks Meter: 1,634
 
2,437 posts
Join Date:Joined: Mar 2012
Donate to Me
More
Easiest guide to flash a custom ROM and custom kernel

Lets accept it,we all have been here,confused what should do after i root/boot unlock
we think i know enough so lets get this going but then, we get stuck in the splash/welcome screen and we think **** this was such a bad idea
SO i created this thread for anyone who ever is confused,lost,seeking help.
IF YOU FIND THIS THREAD HELPFUL, BE SURE TO RECOMMEND IT TO OTHERS AND PRESS THE THANKS BUTTON :d

Thread Contents

Quote:

1.Common terms/Android Slangs
2.Basic Requirements
3.Download links for Recovery Images for PRIMO U/ PRIMO C]
4.How To flash recovery
5.FAST BOOT FILES(download links) : HTC ONE V DRIVER (DOWLOAD LINKS)
6.How To Back Up Your Current Rom
7.Installing Your ROM
8.Choose Your Kernel(download links)
9.Flashing The Kernel[windows]
*Flashing The Kernel[MAC]
10.people who have already flashed a ROM and are confused how to upgrade it
11.Upgrading KERNEL
12.Stuck in Bootloops, Cant Pass the HTC welcome Screen
13.Some tips from me



Hope u have successfully rooted and boot unlocked

Common Terms/Android Slangs

a small guide on some of the android terms my Diablo67

Bootloader:This small program's only job is to load other data and programs which are then executed from RAM.Often, multiple-stage boot loaders are used, during which several programs of increasing complexity load one after the other in a process of chain loading.

Fastboot:A diagnostic protocol used primarily to modify the flash filesystem in Android smartphones from another computer over a USB connection. It is part of the Android Debug Bridge library.
Utilizing the Fastboot protocol requires that the device be started in a boot loader or Second Program Loader mode in which only the most basic hardware initialization is performed. After enabling the protocol on the device itself it will accept any command sent to it over USB via a command line. Some of most commonly used fastboot commands include:

•flash - Overwrites a partition in flash with a binary image stored on the host computer.
•erase - Erases a partition in flash.
•reboot - Reboots the device into the either the main operating system or the system recovery partition.
•devices - Displays a list of all devices (with Serial #) connected to the host computer.

Flashing:The ROM memory used in smartphones and tablets etc. is often same as flash memory found in SD cards and USB flash drives, simply optimized for better speed and performance while running the operating system.

Kernel:A kernel is a layer of code that allows the OS and applications to interface with your phone's hardware. The degree in which you can access your phone's hardware features depends on the quality of code in the kernel. The homebrew (rooting) community for HTC has made several kernel code improvements that give us additional features from our hardware that the stock kernel does not. When you flash a custom ROM, you automatically get a kernel. But you can also flash a standalone kernel ROM on top of the existing one, effectively overwriting it. These days, the difference in custom kernels is less about new features and more about alternate configurations. Choosing a custom kernel is basically choosing one that works best with your ROM.

Nandroid:To backup the current running rom.

Recovery Mode:A small separate operating mode you can boot your device into, used for device administration. Two popular custom recovery modes are Amon Ra and Clockwork.


Basic Requirements

1.A Boot-unlocked and Rooted HTC One V
2.Charge it till above 75% battery
2.A PC(this guide is for now only for windows)
3.usb cable
4.HTC driver download here or HTC SYNC
5.FastBoot Files[ click here>>> download them and put in a folder in c drive ]
> example c:\fastboot or c:\android
6.A recovery image(for image scroll down)
7.A Rom(thats ur choice)
8.boot image(scroll down)
9.put the rom(.zip file) in sd card



Here Are The Recovery Images

Recovery Images[PRIMO U/GSM]

1. CWM 6 by Lloir
2. TWRP 2.6.0 <<Ill Recommend [very user friendly]
3. CWM v5 Touch Recovery


Recovery Images[PRIMO C/CDMA

1. [VM/PRIMOC][RECOVERY] CWM Recovery
2. [VM/PRIMOC][RECOVERY] TWRP2 Recovery
3. [RECOVERY] [PRIMOC/CDMA] CWM 6.0.1.5


How To flash recovery

HOPE U HAVE THE FAST BOOT FILES
[IF NOT]

click here download them and put in a folder in c drive
example c:\fastboot)

>>Now enter Fast boot(power button +volume DOWN(for 15 + sec))<<<
u might have arrived at Hboot boot mode>>> now move up down by pressing the volume buttons and select fastbootwith the power button

Flash it via cmd(command prompt)
Enter these commands

Code:
fastboot flash recovery recovery.img 
How To Back Up Your Current Rom



(must for first time flashers)(nand=backup of current ROM)

1. Once the CWM/TWRP recovery installed:
  • Now enter Fast boot(power button +volume DOWN(for 15 + sec))
  • now move up down by pressing the volume buttons and select fastbootwith the power button


2. Once you are in the RECOVERY menu:
  • click backup and restore
  • click backup
  • the backup process is running. It will be a max 20 minutes to complete.
(optional step just to be sure)

3. once complete, check whether the backup is successful
  • click backup and restore
  • click restore
  • you will see your backup files, for example 2012-11-27 11-7
  • it should complete with in a span of time

4.Now if that is over go back to the previous menu
  • use the back button
  • click reboot system now to boot your device


Installing Your ROM

5.just do a factory reset and wipe cache, then click on install from sd card

6.flash it(the ROM in ur sd card shud be in a .zip format)

7.NOW.DON'T REBOOT UR PHONE GO TO FAST BOOT MODE (VOLUME DOWN+ POWER BUTTON)(or there will be a option to reboot into bootloader)

Choose Your Kernel



9.download whichever kernel u want

[CDMA/PRIMO C]

[GSM/PRIMO U]







Flashing The Kernel[windows]

8.HOPE U HAVE THE FAST BOOT FILES (if not click here download them and put in a folder in c drive)
  • rename it boot.img and put it in the folder as the fastboot files
  • GO TO FAST BOOT MODE (VOLUME DOWN+ POWER BUTTON)(or there will be a option to reboot in recovery)


10.flash it via CMD
Enter these commands
Code:
11.Fastboot flash boot boot.img 
12.fastboot reboot
Flashing The Kernel[MAC] by kalaker

Quote:
Originally Posted by kalaker

  1. Go developer.android.com and download the SDK & move it to your home directory ("~" or /Users/<username>)
  2. Go to <sdk-location>/tools and launch "Android"
  3. Download the platform tools
  4. Open terminal
  5. Open Finder to <sdk-location>/platform-tools
  6. In terminal, type "sudo cp"; drag adb from the Finder window into the Terminal window; type "/usr/bin/"; hit enter
  7. Enter your password
  8. Repeat the above three steps, but drag "fastboot" instead of "adb"
  9. Close terminal
  10. Open terminal (it sounds weird, but just do it)
Now, and forever, do this to install a kernel:
  1. Download kernel
  2. Connect phone to computer
  3. Make sure USB Debugging is enabled (Settings>Development>USB Debugging)
  4. In terminal, type "adb reboot bootloader"
  5. In terminal, type "fastboot flash boot"; drag in the kernel from finder; hit enter

Examples:
Code:
sudo cp /Users/Username/android-sdk-mac/platform-tools/adb /usr/bin/
sudo cp /Users/Username/android-sdk-mac/platform-tools/adb /usr/bin/
adb reboot recovery
fastboot flash boot /Users/Username/Downloads/boot.img


13.enjoy
First boot takes some time have patience......be sure to ask questions or doubts

Ok For people who have already flashed a ROM and are confused how to upgrade it

Upgrading ROM

1.download your needed ROM
2.put in SD card
3.boot into recovery
4.no need to wipe everything,wipe caches(and if the dev says to full wipe do it)
5. (Unless u come from a different ROM eg.From Amazing Sense To CM10, in this case a factory reset i needed
6.flash the ROM
7.reboot
8.flash GAPPS
9. enjoy

Upgrading KERNEL

1.boot in bootloader
2.do the required steps(as mentioned above)
3.wipe caches
5.enjoy

Stuck in Bootloops, Cant Pass the HTC welcome Screen

ok, calm down, everyone has this problem while flashing, i get it so many times, they can cause by the following reasons

bad flash
wrong rom
you forgot to flash the kernel
wrong kernel
messed up the order in flashing

ok,

1.Bad flash-this occurs if the .zip file is corrupted
solution:= re flash the ROM, if still no, download the file again and try

2.wrong ROM- u may have downloaded a ROM that is not for ur device or a ROM which is of not ur description
for example u might me a PRIMO C device/CDMA and u downloaded a PRIMO U/GSM ROM

3.Wrong Kernel-Kernel is the link between ur software and hardware, if u flash the wrong one like the case mentioned above , download the correct one and re flash

4.[ FLASHING YOUR KERNEL SHOULD BE THE LAST STEP][UNLESS U HAVE A S-OFF DEVICE]

Ok Some Tips Which May Help You

Quote:

1.Battery Draining fast?
-----get an app called BetterBatteryStats,run it over night.then next morning open it and check whats waking your device

Quote:

2.Can i use scripts?
-----Your wish, the rom works perfect,running a script can ruin it in some cases(chill,even i run some)

Quote:

3.Good/best/recommended ROMS?
-----all roms are good in their own way, but i can give u a list of recently updated roms
-----1.sphongle(4.2.2) 2.Slimbean 3.Cm10

will add more cheers

Hope this helps u
Last edited by cybervibin; 14th July 2013 at 08:07 PM. Reason: added HTC DRIVER and HTC SYNC LINKS
The Following 70 Users Say Thank You to cybervibin For This Useful Post: [ View ]
17th November 2012, 01:29 PM   |  #2  
paarthdesai's Avatar
Recognized Contributor
Flag mumbai
Thanks Meter: 1,164
 
3,269 posts
Join Date:Joined: Jun 2012
Donate to Me
More
another get thanks quick scheme thread? O.o

Sent from my One V
The Following 2 Users Say Thank You to paarthdesai For This Useful Post: [ View ]
17th November 2012, 02:57 PM   |  #3  
rockstar_26's Avatar
Senior Member
Flag 'Between a rock and a hard place'
Thanks Meter: 427
 
650 posts
Join Date:Joined: May 2011
More
Quote:
Originally Posted by paarthdesai

another get thanks quick scheme thread? O.o

Sent from my One V

LOL
The Following User Says Thank You to rockstar_26 For This Useful Post: [ View ]
17th November 2012, 03:41 PM   |  #4  
cybervibin's Avatar
OP Recognized Contributor
Flag Pallet town
Thanks Meter: 1,634
 
2,437 posts
Join Date:Joined: Mar 2012
Donate to Me
More
no i plan to help!
Last edited by cybervibin; 23rd November 2012 at 02:50 PM.
The Following User Says Thank You to cybervibin For This Useful Post: [ View ]
18th November 2012, 05:37 AM   |  #5  
Account currently disabled
Flag Anonymous
Thanks Meter: 155
 
1,092 posts
Join Date:Joined: Jul 2012
More
My works
You call that work ??
Those are just tips
The Following User Says Thank You to donhashem.dh For This Useful Post: [ View ]
18th November 2012, 06:32 AM   |  #6  
cybervibin's Avatar
OP Recognized Contributor
Flag Pallet town
Thanks Meter: 1,634
 
2,437 posts
Join Date:Joined: Mar 2012
Donate to Me
More
Y do u have a problem with that

Sent from my One V
The Following User Says Thank You to cybervibin For This Useful Post: [ View ]
18th November 2012, 06:43 AM   |  #7  
Account currently disabled
Flag Anonymous
Thanks Meter: 155
 
1,092 posts
Join Date:Joined: Jul 2012
More
No but that work word is pissing me off ..... For using it in a inappropriate place
The Following User Says Thank You to donhashem.dh For This Useful Post: [ View ]
18th November 2012, 07:56 AM   |  #8  
cybervibin's Avatar
OP Recognized Contributor
Flag Pallet town
Thanks Meter: 1,634
 
2,437 posts
Join Date:Joined: Mar 2012
Donate to Me
More
Quote:
Originally Posted by donhashem.dh

No but that work word is pissing me off ..... For using it in a inappropriate place

Don't read it

Sent from my One V
The Following 2 Users Say Thank You to cybervibin For This Useful Post: [ View ]
18th November 2012, 08:54 PM   |  #9  
served24's Avatar
Senior Member
Thanks Meter: 24
 
409 posts
Join Date:Joined: Oct 2012
to clarify, step 6: "flash" should be edited to say " install ROM from zip" to avoid the "flash" misconception associate with flashing kernels
The Following 2 Users Say Thank You to served24 For This Useful Post: [ View ]
19th November 2012, 05:05 AM   |  #10  
paarthdesai's Avatar
Recognized Contributor
Flag mumbai
Thanks Meter: 1,164
 
3,269 posts
Join Date:Joined: Jun 2012
Donate to Me
More
more detailed work should be there.. like you said install cwm or twrp.... give a link to where they are embedded in the words will be good...
and the above goes for the flashing rom part also...embed the link to the dev section
make it easy and tidy instead of all those ugly looking clutters you did

Sent from my One V

The Following 3 Users Say Thank You to paarthdesai For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
faq, haters gonna hate, noob dislikers, parth soham :s screw u, we are all noobs
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes