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

Did This Guide Help You?


  • Total voters
    158
Search This thread

Steve One

Senior Member
Jan 2, 2011
1,504
388
Hello Sir I have a Rooted, s off DNA, and using twrp recovery. My storage is showing 6 gb of other. What would I wipe in the advanced wipe section to wipe everything but the ROM I'm running. I have already backed up my pics and music to my pc. Any help with this matter would be greatly appreciated. I want my storage back.
 

cybervibin

Senior Member
Mar 18, 2012
2,513
1,677
Pallet town
Samsung Galaxy S10e
Hello Sir I have a Rooted, s off DNA, and using twrp recovery. My storage is showing 6 gb of other. What would I wipe in the advanced wipe section to wipe everything but the ROM I'm running. I have already backed up my pics and music to my pc. Any help with this matter would be greatly appreciated. I want my storage back.

Firstly wrong thread
And secondly I'll explain
System- ur rom
So except that u can wipe anything.I warn u , u may have data loss backup ur stuff

Sent from my One V using Tapatalk
 
  • Like
Reactions: Steve One

chouonrow

Member
Mar 3, 2010
8
0
Hi! Im starting with all of this and I have one question because I cant continue

On the point where I should do the backup first before flashing the ROM fastboot tells me "UNKNOWN PARTITION"

>fastboot flash openrecovery-twrp-2.4.0.0-primou.img
tition 'openrecovery-twrp-2.4.0.0-primou.img'
ot determine image filename for 'openrecovery-twrp-2.4.0.0-primou.img

why is this happening? thanks! I suppose that I cant neither flash the rom for this reason isnt it?

thank you very much
 

MameTozhio

Senior Member
Apr 27, 2013
2,456
1,365
24
Hi! Im starting with all of this and I have one question because I cant continue

On the point where I should do the backup first before flashing the ROM fastboot tells me "UNKNOWN PARTITION"

>fastboot flash openrecovery-twrp-2.4.0.0-primou.img
tition 'openrecovery-twrp-2.4.0.0-primou.img'
ot determine image filename for 'openrecovery-twrp-2.4.0.0-primou.img

why is this happening? thanks! I suppose that I cant neither flash the rom for this reason isnt it?

thank you very much

you forgot a word :)

fastboot flash recovery openrecovery-twrp-2.4.0.0-primou.img

You should flash this one though. It's newer. http://techerrata.com/file/twrp2/primou/openrecovery-twrp-2.6.3.0-primou.img
 

rohail009

Member
Apr 16, 2013
49
11
27
Mumbai
Hey guys ... i have a problem with flashing kernel .... ... i cant change my kernel for whatsoever reason .... tried hassoons toolkit , windroid toolkit , mamatozio's flashable zips too as well as flashify app ... The kernel has lost its charm now :p
 

noman_ahmed

New member
Feb 14, 2014
1
0
plz help,htc one v stuck on logo screen

hey,am a noob,
i was trying to install custom ROM to my htc one V ,for which i flash my kernel and then when i was recovering it got stuck on the logo screen even my is pc not detecting the phone ,plz plz plz help.
 

SparkyDino

New member
Mar 10, 2014
1
0
HTC EVO One V Primoc CMW Help

3. [RECOVERY] [PRIMOC/CDMA] CWM 6.0.1.5 This is the custom recovery I flashed for my One V Primoc VirgMobi phone

HTC EVO One V Primoc VirginMobile CDMA USA Version
Bootloader Unlocked, S-On, Phone is Rooted, Running Custom Rom

My problems with CWM 6.0.1.5.......
Pushing reboot simply turns off the phone
I can successfully got into recovery and create backups, but can't recover because of md5 error.
Also,the only files put into a backup are the boot,recovery, and system.ext4.dup
Do you have to factory reset and wipe cache to do a restore?



Please help!!!! I can't restore backups I assume because of md5, but also my backups only contain boot, recovery, and system.ext.dup
Sorry to post this here I can't in the CWM thread! So please please I need help with backup of current rom and how to do a restore.
 

Soutik

Member
May 8, 2013
7
1
Mumbai
Win 8/8.1 isnt supported

Does this works on windows 8.1?

Sent from my HTC One V using xda app-developers app

Nope. Windows 8 or 8.1 doesnt have the required HTC drivers to detect your phone.

The other option u have is to dual boot to Linux Ubuntu 12.04 LTS. Click
PHP:
http://www.ubuntu.com/desktop
to download Ubuntu.

Then follow my simple guide to make get adb drivers and fastboot for Linux
PHP:
http://xdaforums.com/showthread.php?p=50941399
from here!

Hope it helps! :D

Hit the like button if it did!! :)
 

xda___

Senior Member
Aug 11, 2013
266
10
help with kernel...

in cmd when flashing kernel i get:
Failed remote image error... boot magic check failed?
 
Jul 22, 2014
28
1
flashed the wrong rom on my htc one v.. phone isnt even turning on nor am i able get to the recovery menu.. any help would be appreciated.
 

s2007.ravi

Member
Oct 22, 2015
10
0
Facing problem with HTC One V. Downloaded Rom CM-11 but getting error:

E: /sdcard/Error in cm-11-20150916-UNOFFICIAL-primou Status (0)

Don't know what to do. Please help.
 

Lucky1999

New member
Mar 28, 2017
2
0
No downloads anymore

Hey the kernel download links aren't working anymore kann sb help?

---------- Post added at 02:59 PM ---------- Previous post was at 02:27 PM ----------

Hey the download links for the kernels aren't working anymore
 

monacoo

Senior Member
Jan 30, 2006
451
58
Is it possible to flash rom via pc? In recovery (I tried 2 different TWRP and one CWM recoveries) SD card is not detected, but I can access it when the phone is fully booted
 

Top Liked Posts

  • There are no posts matching your filters.
  • 72
    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

    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:
    [B][COLOR="Red"]fastboot flash recovery recovery.img 
    [/COLOR][/B]

    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.[B][COLOR="Red"]Fastboot flash boot boot.img [/COLOR][/B]
    12.[B][COLOR="Red"]fastboot reboot[/COLOR][/B]

    Flashing The Kernel[MAC] 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

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

    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)

    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
    3
    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
    3
    i think hes referring to an app which does not use the mobile data......other than spirit fm, there are no good fm radio apps
    2
    another get thanks quick scheme thread? o_O

    Sent from my One V
    2
    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