Im using a custom rom and considering to change to a new one. Do I have to do anything special or just flash it like I did for the first time?
You should first back up your current one (search for nandroid back up) and then full wipe/factory reset before flashing your new ROM.
Not doing a full wipe before flashing a new ROM can (most of the times) cause LOTS of trouble. remember to flash the boot.img included in the ROM .zip file if you have S-ON (mostly you do) using cmd (fastboot flash boot boot.img) and then you can flash the ROM normally from recovery
If ROM doesn't work or you didn't like it you can always restore your previous ROM (which you backed up) from recovery but you have to flash that ROM's boot.img so it can boot
I hope I helped.. and sorry if my English is bad..
Related
Hi, sory for newb posts. But this all got a bit more complicated since my HTC days!
I managed to get cmod7 working (remove apk to stop looping on boot!).
But what can I flash now with the CM kernel I have?
Or how/what kernel to flash and what ROM for best/stable device?
I see and have the Mooded rom, but do i need to flash kernel first? And baseband etc.?
All gone strange since i last flashed devices!!
Thanks !
there should be a list of suitable kernels in any rom thread. download the ROM zip to your SD card, use fastboot to boot the kernel, enter cwm and wipe data(if necessary), and flash the zip and any modules if required.
sinkster©
I see that many custom ROMs require flashing boot.img prior/after flashing he ROM itself. I am about to update my HOX's ROM, but before doing it, I've got some questions:
1. Does flashing boot.img have any consequence to handset operation? Is any data being deleted by doing it?
2. Do the two operations (boot.img flashing and ROM flashing) have to be done in sequence, or not? What is I only flash boot.img, and don't proceed with ROM flashing?
3. How do I do (if possible) boot.img backup?
Excuse my ignorance, I don't do this daily, and love My Precious too much to mess with it...
:silly::angel:
[email protected]|-|oR said:
I see that many custom ROMs require flashing boot.img prior/after flashing he ROM itself. I am about to update my HOX's ROM, but before doing it, I've got some questions:
1. Does flashing boot.img have any consequence to handset operation? Is any data being deleted by doing it?
2. Do the two operations (boot.img flashing and ROM flashing) have to be done in sequence, or not? What is I only flash boot.img, and don't proceed with ROM flashing?
3. How do I do (if possible) boot.img backup?
Excuse my ignorance, I don't do this daily, and love My Precious too much to mess with it...
:silly::angel:
Click to expand...
Click to collapse
Every custom Rom has a boot img
Every kernel has a boot img
Failure to flash boot img will cause your phone not to boot
You have to flash the Rom and boot img
Or kernel & its boot img
.... unless you don't want your phone to boot.
Flashing boot images doesn't effect any data.
---
Just make a note of your OS version prior to flashing any roms.
Also, don't flash anything on a battery less than 50% to stay safe.
Sent from my HTC One X using Tapatalk 2
This was fast!
Thanks, mate.
My phone is already rooted and has a custom ROM in it (RENOVATE 3). Since I joined XDA I saw there are many updates to thiss ROM available (I downloaded 5.3.0 the other day).
I was wondering what damage I can make if I do one of the two steps (flash boot.img, but not ROM). But as far as I can see from your explanation - it wouldn't be smart, right?
I guess I'll take some time during the weekend and just do it. :fingers-crossed:
Thanks again!
Cheers!
[email protected]|-|oR said:
I see that many custom ROMs require flashing boot.img prior/after flashing he ROM itself. I am about to update my HOX's ROM, but before doing it, I've got some questions:
1. Does flashing boot.img have any consequence to handset operation? Is any data being deleted by doing it?
2. Do the two operations (boot.img flashing and ROM flashing) have to be done in sequence, or not? What is I only flash boot.img, and don't proceed with ROM flashing?
3. How do I do (if possible) boot.img backup?
Excuse my ignorance, I don't do this daily, and love My Precious too much to mess with it...
:silly::angel:
Click to expand...
Click to collapse
1 boot partition is a separate partition flashable by fastboot only as long as we have s-on. Data partition is not affected.
2 every rom has its own specific boot.img. Flashing the rom and not the boot.img will result in bootloops. Order is not important since they are flashed to different partitions. Just remember to full wipe when switching to different ROMs. Also do a Fastboot erase cache After flashing the boot.img
3 when you do a nandroid backup from recovery, everything including currently running boot.img gets backed up to your sdcard.
Sent from my HTC One X using xda premium
Thank you too, eyosen. :good:
I guess I'll have to bite the bullet and go for it. I hate doing all the home screen and other settings, but I hope it's worth it!
Do you - by any chance - know why mwilky included this new boot.img since version 5 of his ROM? It was not mandatory until this version...
He must have done some changes to the kernel or ramdisk. I use cm10, so have no clue whatsoever about the changes involved. But if his instructions are to flash the new boot.img, you better do it. Just a nandroid backup of your current system before you start.
Sent from my HTC One X using xda premium
ive swapped between many custom/stock kernels without erasing any data (except the cache)
Extract Rom and grab the boot.img
Make a Full Wipe (Factory Reset,System,Cache,and Davlik Cache)
Install ROM
Fastboot flash boot boot.img
REBOOT
Enjoy!!!
With these instructions *i've never flashed a rom before* I should download the rom, extract the boot.img where I have the fastboot.exe on my computer, do full wipe, put the zip file on my sd card and install in recovery, reboot and go into fastboot mode and flash the image, and then reboot again right? Or am I missing something? Sorry, as I said i've never done this before.
Yeah that's right but flash the kernel (boot.img) first ...because you may get stuck in a bootloop ...so flash kernel first
Ya too bad each step has very specific things you need to do and it takes quite a bit of time sifting through these forums to understand just wtf is going on.
This might help flashing if you've rooted already:
http://www.youtube.com/watch?v=qNR84FST1KQ&feature=plcp
donhashem.dh said:
Yeah that's right but flash the kernel (boot.img) first ...because you may get stuck in a bootloop ...so flash kernel first
Click to expand...
Click to collapse
atonz said:
Ya too bad each step has very specific things you need to do and it takes quite a bit of time sifting through these forums to understand just wtf is going on.
This might help flashing if you've rooted already:
http://www.youtube.com/watch?v=qNR84FST1KQ&feature=plcp
Click to expand...
Click to collapse
Thanks for your help. I actually went ahead and tried mine first, to see because i'm impatient and it worked totally. Thanks everyone!!!
Ok, I'm having issues with this installing ROMs/kernels.
I entered fastboot
I flashed the boot.img for the kernel I want
I toggled to hboot
I went into recovery (twrp 2.2.0)
I did wipe -> Factory Reset, Cache, Dalvik Cache, System
I installed the zip for ROM I want to use [found here]
I flashed the zip for the kernel I want to use (to install the libs) [found here]
wiped dalvik/cache again
reboot system
Now my phone just bootloops. Not sure what I did wrong.
I should mention I did get it to boot once back when I first installed the ROM because I did a normal reboot not a reboot into fastboot (was doing the install the ROM then the boot.img approach at the time) and hadn't installed any boot.img (still had the stock) but ever since I overwrote it all i get is bootloops.
Also, I even tried the same steps using the boot.img included with the ROM as opposed to the other one.
To make things worse, backups are almost useless because with the phone being S-ON even if the boot.img is being backed up, it not getting restored. A point made extremely obvious by the fact that it still bootloops after restoring my backup.
I am currently running the RUU but am hesitant to try and install any ROMs without some idea of what I did wrong.
Any help is appreciated.
-----EDIT------
Ok, I think the problem was the recovery I used. I installed the CDMA TWRP from the OneV tool, and one linked in the cdma development thread and a couple CWM version found there as well. But what seemed to work was getting TWRP straight from the source. After running the RUU I installed version 2.3.1.0 and repeated the steps using the boot.img included in the ROM and it worked. If I'm feeling adventurous later I'll try my luck with the other kernel lol.
My HOX is stuck on the HTC logo.
I tried to install the ICJ rom based on Android 4.2.1 and followed the instructions. But failed...
I can still get into the recovery and reflash. My own backup didn't change anything so I also tried to download a nandroid from:
http://forum.xda-developers.com/showthread.php?t=1975140
matching the information from this command.
$ ./fastboot.exe getvar version-main
version-main: 3.14.401.31
I have used 'fastboot flash boot boot.img' with the boot.img from whatever ROM/nandroid I tried to install. Both before and/or after the rom is flashed.
I have also tried to flash other roms like: CM10, CM10.1 and VipertX_2.6.0. I have tried with both CWM and TWRP.
The only thing I can think of that I have not tried is RUU, but those are hard to come by...
Anyone have any idea how to proceed with this? Or am I screwed?
Have you full wiped before flashing ROM?
Sent from my One X
Yes.
In CWM I did factory reset, wipe dalvik and format everything except sdcard. Everything I could find. Battery stats too.
Just in case I also copied everything from the sdcard and reformated that one too.
Just try another rom.
But do not forget to flash also the corresponded boot. Img.
Regards.
BLADE Team Member
Can you recommend a rom with a higher success rate in these situations?
I've already tried three roms, my own nandroid and a stock nandroid.
do you tried stock by revolution?
Not yet. Downloading now...
BTW, which one do I install? odexed or de-odexed?
your nandroid restore failed ? did you flash the boot.img from the nandroid ? i recommend flashing the boot.img from original rom.zip
EDIT: Your phone might be affected by the read-only partition problem, caused by one of Trip's kernel/rom.
Yes, my nandroid failed. No error message, just stuck at boot logo when I reboot.
And yes, I always extract the boot.img from the rom/nandroid I want to install and use fastboot to flash it.
I've seen different suggestions on when to use fastboot. Some say before and some say after the installation of the rom. I've tried both variants with no luck...
I never downloaded Trips ROM. The download links were already removed when I started to look for roms.
How do I check if I have that problem? Shouldn't I have seen some read only error message in that case?
what i meant you shouldn't use boot.img from nandroid backups(they dont work for some reason), only use from rom.zip
Edit: they dont work for me (stock sense roms)
Vcek said:
what i meant you shouldn't use boot.img from nandroid backups(they dont work for some reason), only use from rom.zip
Edit: they dont work for me (stock sense roms)
Click to expand...
Click to collapse
Good to know. Thanks!
I just assumed I needed to do it the same way for the nandroids. Strangely enough i did'n use fastboot the first time I tried to restore from nandroid. That time it also failed....
WOW!! Something happened!
Thanks Sensitivity! You made my day! After flashing the stock rom you referred to my HOX came to life again!
Thanks everyone for your help!!:laugh::laugh:
So after exploring the many roms there are for this device. I went back to using stock rom to fix battery life. I flashed Flash Kernal.
Great kernal. but I'd like to ask you guys how do you go back to stock kernal if you wanna just flash it so I can try another kernal like ElementX
You gotta flash stock boot.img from whatever update your on. You'll either have to download it from Google factory images and find which update you have maybe May and then unzip it. You'll find the boot.img in there. You'll either have to fastboot flash it or an easier way before I flash kernels I like to make a TWRP backup with especially the boot partition. It's super easy. Then when I want to revert back after flashing and kernel I can go back into TWRP and reflash my stock boot