Hi!
I have couple of questions regarding boot.img, kernels and how they relate to ROMs.
1. I believe every ROM comes with a kernel. Am I right?
2. Say I'm running CM10 and decide to flash beastmode bricked kernel and later flash Viper OneS. Do I still have beastmode kernel in Viper or has the kernel now been replaced by Viper's kernel? (Answer to q 1 might also answer this one...)
3. I believe boot.img is where the kernel is in a ROM. Am I correct?
4. What else does boot.img actually contain? The name atleast refers to some stuff needed for booting...
Thans !
Sent from my HTC One S using xda app-developers app
1. Yes, most likely. All ROMs Ive flashed has come with a kernel, either in the rom.zip file or as a separate download.
2. You will have to reflash the kernel if youre on hboot 1.14+ at least. If you are updating a ROM, as in not wiping anything, the kernel does not have to be reflashed.
In some cases you still have to fastboot flash it to get the updated rom to boot though.
3. Yes, Im quite sure it is. That has been the case with the ROMs Ive flashed at least.
4. It contains the ramdisc, which is pretty much everything related to the booting process, some settings and some other modules.
Goatshocker said:
1. Yes, most likely. All ROMs Ive flashed has come with a kernel, either in the rom.zip file or as a separate download.
2. You will have to reflash the kernel if youre on hboot 1.14+ at least. If you are updating a ROM, as in not wiping anything, the kernel does not have to be reflashed.
In some cases you still have to fastboot flash it to get the updated rom to boot though.
3. Yes, Im quite sure it is. That has been the case with the ROMs Ive flashed at least.
4. It contains the ramdisc, which is pretty much everything related to the booting process, some settings and some other modules.
Click to expand...
Click to collapse
Thanks for your answer! That cleared alot.
About the question 2... So if I have a kernel other than that which came with the ROM, I just have to fastboot flash boot.img of the ROM to revert back to the ROM's own kernel?
I am on hboot 2.15.
Sent from my HTC One S using xda app-developers app
zaak00 said:
Thanks for your answer! That cleared alot.
About the question 2... So if I have a kernel other than that which came with the ROM, I just have to fastboot flash boot.img of the ROM to revert back to the ROM's own kernel?
I am on hboot 2.15.
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
Yep that right.
Related
First of all, I heard that Google had an API error in 4.1.2 that causes the mobile data or internet data to consume twice as fast. Which means you use 2x more data compared to normal. Is this true? and has it been fixed in CM10?
Secondly, if I am going to flash a new ROM, do I have to flash the ROM first then flash the boot.img separately? Or just flash everything together in the recovery? When should I flash the boot.img separately? I am kinda new to this new phones I so don't know about much these things.
Sent from my One X using xda premium
You only need to flash boot.img separately if you are on hboot 1.14 or higher. Otherwise, it will just flash in TWRP automatically when you flash the ROM.
Don't know about your other questions.
That's "tons" of questions??? That's just 2!
CalamitySir said:
First of all, I heard that Google had an API error in 4.1.2 that causes the mobile data or internet data to consume twice as fast. Which means you use 2x more data compared to normal. Is this true? and has it been fixed in CM10?
Secondly, if I am going to flash a new ROM, do I have to flash the ROM first then flash the boot.img separately? Or just flash everything together in the recovery? When should I flash the boot.img separately? I am kinda new to this new phones I so don't know about much these things.
Sent from my One X using xda premium
Click to expand...
Click to collapse
Where did you hear that? Seems like bs because your carrier measures the amount of data on their servers
If you have hboot 1.14 then you have to flash the boot.IMG separately after you flash the ROM
Otherwise you flash everything in recovery all at once
Sent from my One X using Tapatalk 2
superchilpil said:
Where did you hear that? Seems like bs because your carrier measures the amount of data on their servers
If you have hboot 1.14 then you have to flash the boot.IMG separately after you flash the ROM
Otherwise you flash everything in recovery all at once
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
Then how do I downgrade the hboot?
Another question is that when I tried to flash 4.1.1 ROMs when coming from 4.1.2 Roms, it stuck in the boot logo.
Sent from my One X using xda premium
You'll pretty much have to flash boot.IMG seperate every time... Or it will boot loop.
Sent from my One X using Tapatalk 2
InflatedTitan said:
You'll pretty much have to flash boot.IMG seperate every time... Or it will boot loop.
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
ok now the question is, do i flash the boot.img first then flash the rom or flsah the rom first then the boot.img??!! The latter method was reccomendded by devs in the HOX section and the former one was used in ours?
I tried ROM then kernel on my cousins phone... Bootlooped.. Started fresh, flashed kernel then ROM and works perfectly every time
Sent from my One X using Tapatalk 2
Another question is the ss below, the total amount of data doesn't add up correctly....is this a bug or was it already predetermined like this?
Sent from my One X using xda premium
CalamitySir said:
Then how do I downgrade the hboot?
Click to expand...
Click to collapse
Tool here (but requires a Linux machine): http://forum.xda-developers.com/showthread.php?t=1982442
The total amount of data doesn't add up. Is this a bug in CM10?
Sent from my One X using xda premium
I'm still not seeing the "tons" of questions.
iElvis said:
I'm still not seeing the "tons" of questions.
Click to expand...
Click to collapse
maybe u cna help me answer the question regarding the data in page one, i have 2 screenshots for that.
Another question is how do i flash the b6 kernel for cm10? flash like normal in twrp or flash the boot.img? i am messed up!
CalamitySir said:
maybe u cna help me answer the question regarding the data in page one, i have 2 screenshots for that.
Another question is how do i flash the b6 kernel for cm10? flash like normal in twrp or flash the boot.img? i am messed up!
Click to expand...
Click to collapse
I have heard only that there may be a bug in CM that makes your data usage appear to be worse. That's all I know.
I have never used CM so I can't help with the kernel. If you're on 1.14 you have to flash it separately in fastboot.
iElvis said:
I have heard only that there may be a bug in CM that makes your data usage appear to be worse. That's all I know.
I have never used CM so I can't help with the kernel. If you're on 1.14 you have to flash it separately in fastboot.
Click to expand...
Click to collapse
ok. does fastboot makes me unable to downgrade the android version, i tried to flash 4.1.1 from 4.1.2, i did it separately and it didnt work, stuck at bootloop... any idea?
Well you have to flash the boot.img from the 4.1.1 rom. Maybe try flashing the older gapps http://goo.im/gapps/gapps-jb-20120726-signed.zip I would also wipe cache, dalvik and system. Use flashimagegui for kernel flashing so you dont need to use fastboot and a pc http://forum.xda-developers.com/showthread.php?t=1963896
Here's what I do and I have flashed every ROM in this section without a single boot loop.
Flash boot IMG in fast boot
Reboot to recovery
Wipe dalvik and cache
Wipe system
Factory reset
Flash rom and gapps or just ROM (sense)
Reboot system
Do I do steps I don't need? Perhaps. But the results are hard to argue
Sent from my One X using xda app-developers app
smolck said:
Here's what I do and I have flashed every ROM in this section without a single boot loop.
Flash boot IMG in fast boot
Reboot to recovery
Wipe dalvik and cache
Wipe system
Factory reset
Flash rom and gapps or just ROM (sense)
Reboot system
Do I do steps I don't need? Perhaps. But the results are hard to argue
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
do i have to follow this sequence to wipe everytime?
Usually if its same rom u dont need to factory reset[wipe data] but ive been wiping system alot each time though.
Whats this problem with the boot.img?
So to flash a rom, I need to flash the boot.img using the boot installer tool, then I put the rom on my SD card and flash it?
Do I also have to flash the boot.img to restore my phone from a previous recovery? I heard this somewhere and was a bit confused,
Just download a ROM from the phone itself. Use flash image GUI. Using flashgui app, Navigate to ROM you downloaded, click. It'll automatically flash kernel. Immediately after boot into recovery, flash entire ROM, then flash gapps if necessary... Profit
Sent from my One X using Tapatalk 2
CollegeProfesor said:
Whats this problem with the boot.img?
So to flash a rom, I need to flash the boot.img using the boot installer tool, then I put the rom on my SD card and flash it?
Do I also have to flash the boot.img to restore my phone from a previous recovery? I heard this somewhere and was a bit confused,
Click to expand...
Click to collapse
There are a couple of roms that are hboot 1.14 friendly right? Doesn't viper have the ability to flash the kernel upon install?
Sent from my HTC One XL using xda app-developers app
I'm not really into sense ROMs, but I know viperxl and cleanrom 5.1 you can flash ROM in recovery.. they're definitely good to have on your SD card as a safety net in case something goes crazy and there's no way to fast boot...
Sent from my One X using Tapatalk 2
Hello this will be my first post, although I have been a forum lurker, I have been doing it for awhile. Now my problem is that I want to switch ROM's but i have had problems in the past, I successfully rooted and unlocked the Bootloader with Xfactor exploit. My first time flashing a rom on the hox, I did something wrong and found out that when I did my nandroid backup it failed (Yes I know i'm ashamed I made such a nooby mistake). Luckily I had a friend who knew his way around phones a little better, and flashed it to Nocturnal ROM, It's nice and all but I have had my eyes on Paranoid Android. This time I know for sure I have a nandroid backup and I have a copy on my computer, but I want to make sure there is nothing else wrong if I try. Can I get a line of steps to sort of follow? I did flash ROM's on my HTC Inspire, but it just isn't the same case her obviously. I know you have to seperate the boot.img from the ROM files but that is where my last ROM flash screwed me over.
Try using viperxl Rom , its awesome. If you use twrp there is no need to flash img as twrp does it auto for ya
Sent from my HTC One XL using xda premium
---------- Post added at 12:53 AM ---------- Previous post was at 12:50 AM ----------
http://forum.xda-developers.com/showthread.php?t=1671237
Here is a good link to always keep handy
Sent from my HTC One XL using xda premium
DESERT.TECH said:
Try using viperxl Rom , its awesome. If you use twrp there is no need to flash img as twrp does it auto for ya
Sent from my HTC One XL using xda premium
---------- Post added at 12:53 AM ---------- Previous post was at 12:50 AM ----------
http://forum.xda-developers.com/showthread.php?t=1671237
Here is a good link to always keep handy
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
Which HBoot are you? If you are on 1.14 you need to flash the boot image either via command prompt of flashgui.
Fastboot is easier in my opinion.. Download PA on your phone.. Plug it in and COPY rom to your computer. Extract rom, drag and drop boot.Img inside your adb/fastboot folder. Enter Fastboot on phone. If on windows 7, right click on adb folder and choose "open command prompt here"
Command is fastboot flash boot boot.Img
Success. In bootloader, choose recovery. Flash entire PA zip, flash gapps.
Profit!
Sent from my One X using Tapatalk 2
cpttrippa said:
Which HBoot are you? If you are on 1.14 you need to flash the boot image either via command prompt of flashgui.
Click to expand...
Click to collapse
Not with viper. It flashes it for you
Sent from my HTC One XL using xda app-developers app
Alright I feel a little more ready to switch, but there is no way this could fail right? Having a backup on my phone and computer? I'm just being over protective haha
Edit: and yes I am above 1.14
InflatedTitan said:
Fastboot is easier in my opinion.. Download PA on your phone.. Plug it in and COPY rom to your computer. Extract rom, drag and drop boot.Img inside your adb/fastboot folder. Enter Fastboot on phone. If on windows 7, right click on adb folder and choose "open command prompt here"
Command is fastboot flash boot boot.Img
Success. In bootloader, choose recovery. Flash entire PA zip, flash gapps.
Profit!
Fast boot is also more reliable. A few times I flashed kernel thru flash GUI and it didn't take. Had to fast boot it.
Sent from my HTC One XL rocking Jelly Bean.
Click to expand...
Click to collapse
area51avenger said:
Not with viper. It flashes it for you
Sent from my HTC One XL using xda app-developers app
Click to expand...
Click to collapse
It's good info.... But he wants to try paranoid android... Not viper
Sent from my One X using Tapatalk 2
How does viper get around fastbooting kernel?
Sent from my HTC One XL rocking Jelly Bean.
If Viper has made it so you don't have to flash a boot.IMG they have made a pretty big breakthrough and I'm sure that would of been news, just saying. Anyways on topic, is there any other precautions I should take before trying to flash it?
Sent from my HTC One XL using xda app-developers app
Alphacall2 said:
If Viper has made it so you don't have to flash a boot.IMG they have made a pretty big breakthrough and I'm sure that would of been news, just saying. Anyways on topic, is there any other precautions I should take before trying to flash it?
Sent from my HTC One XL using xda app-developers app
Click to expand...
Click to collapse
?? It's true, no need to flash boot.img separate with Viper or CleanRom. Just go into twrp, wipe everything and do a factory reset INSIDE twrp and then flash. Follow Aroma Installer and choose your options.
Those are the only "precautions" I'd say. Obviously ensure you have a backup on your phone to go boot from in case there's an issue. That would be the best precaution to take.
ATT HOX Premium App--Stock is fine but modded is Creative
I think you guys are mistaken a little with hboot 1.14 it just doesn't change your kernel when you fkasha new Rom so of course if your going from the non jb viper to clean Rom you won't have a problem since its still a sense kernel but going from aosp to sense is a different story if you were to go from aosp to viper either viper you would have to flash the boot img and same with viper jb to a non jb sense Rom....do you see how that works?it just doesnr change your kernel and if your going to a similar Rom you won't have a problem with it it'll just stay on that kernel since it works with that Rom
Ics version of Viperxl will flash the kernel for you automatically.. 2.4.0
Jellybean version 3.0.0 does NOT flash it for you, it has to be done via fastboot or flashgui app. It is an alpha version, turge will include this is further builds but he's working on ironing out the wrinkles...
A few tips for 1.14 hboots.........
If you UPGRADE a rom, you usually won't have to flash boot.Img separate as it will most likely use the same kernel as the previous build, but it's always best to ask before flashing just in case they modify the kernel
If you switch from aosp to sense, or vice versa you WILL have to flash it separate. No matter what.
Or you can boot into Linux and downgrade your hboot but that's not for the faint of heart
Personally, I'd flash kernels through fastboot as you can pretty much guarantee it will stick and be good to go
Sent from my One X using Tapatalk 2
InflatedTitan said:
Ics version of Viperxl will flash the kernel for you automatically.. 2.4.0
Jellybean version 3.0.0 does NOT flash it for you, it has to be done via fastboot or flashgui app. It is an alpha version, turge will include this is further builds but he's working on ironing out the wrinkles...
A few tips for 1.14 hboots.........
If you UPGRADE a rom, you usually won't have to flash boot.Img separate as it will most likely use the same kernel as the previous build, but it's always best to ask before flashing just in case they modify the kernel
If you switch from aosp to sense, or vice versa you WILL have to flash it separate. No matter what.
Or you can boot into Linux and downgrade your hboot but that's not for the faint of heart
Personally, I'd flash kernels through fastboot as you can pretty much guarantee it will stick and be good to go
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
I have a question, so I'm pretty new to android scene with kernals and roms but I have a basic sense on how everything goes now. I tried the new CM10.1 nightly with JB4.2 and it was great but still unstable for a daily driver. I switched to cleanrom and everythings fine so far but I had some problems with my SD becoming unmountable but I ended up just reformatting it which I don't know if it was a smart idea or not. Luckily, nothing bad happened yet and everything seems to be working fine. I have CleanRom 5.1 and Element 3.2, underclocked and undervolted. Realized that I didn't need this much battery so I'm planning on checking out Viper. (13 hrs and I still have 75% haha)
Problem is, since I switched from an aosp back to a sense based rom I want to ensure everythings fine. I want to flash boot since I don't remember doing it once just to make sure viper installs nice and clean. How would I go about doing this? I pretty much know how to flash it in cmd etc, I just need to know where to get the actual boot.img file and which folder should I place it in. Thanks. Better safe than sorry.
As a side note, between switching roms I did a complete wipe. Just didn't flash boot.img. Oh and I have hboot 1.09 and am using TWRP 2.3 Recovery.
thanks again
crisjed said:
I have a question, so I'm pretty new to android scene with kernals and roms but I have a basic sense on how everything goes now. I tried the new CM10.1 nightly with JB4.2 and it was great but still unstable for a daily driver. I switched to cleanrom and everythings fine so far but I had some problems with my SD becoming unmountable but I ended up just reformatting it which I don't know if it was a smart idea or not. Luckily, nothing bad happened yet and everything seems to be working fine. I have CleanRom 5.1 and Element 3.2, underclocked and undervolted. Realized that I didn't need this much battery so I'm planning on checking out Viper. (13 hrs and I still have 75% haha)
Problem is, since I switched from an aosp back to a sense based rom I want to ensure everythings fine. I want to flash boot since I don't remember doing it once just to make sure viper installs nice and clean. How would I go about doing this? I pretty much know how to flash it in cmd etc, I just need to know where to get the actual boot.img file and which folder should I place it in. Thanks. Better safe than sorry.
As a side note, between switching roms I did a complete wipe. Just didn't flash boot.img. Oh and I have hboot 1.09 and am using TWRP 2.3 Recovery.
thanks again
Click to expand...
Click to collapse
You good to go bro! Hboot versions 1.09 have no bounds. You can flash roms, kernels, splash screens, radios etc. There is no need for fastboot whatsoever as long as your on 1.09! :thumbup:
Don't worry about formatting your SD.. I do it every Sunday night to keep my phone on a diet LOL.
I always install roms clean, so I wipe everything in twrp and never do a titanium backup or restore to ensure there's no bugs being caused by me.
Hope I helped lol
Sent from my HTC One XL using Tapatalk 2
InflatedTitan said:
You good to go bro! Hboot versions 1.09 have no bounds. You can flash roms, kernels, splash screens, radios etc. There is no need for fastboot whatsoever as long as your on 1.09! :thumbup:
Don't worry about formatting your SD.. I do it every Sunday night to keep my phone on a diet LOL.
I always install roms clean, so I wipe everything in twrp and never do a titanium backup or restore to ensure there's no bugs being caused by me.
Hope I helped lol
Sent from my HTC One XL using Tapatalk 2
Click to expand...
Click to collapse
Okay cool, thanks! installing viper right now, any other, roms, kernals etc you want to recommend. Im pretty new and I feel like there's a whole lot to experience!
crisjed said:
Okay cool, thanks! installing viper right now, any other, roms, kernals etc you want to recommend. Im pretty new and I feel like there's a whole lot to experience!
Click to expand...
Click to collapse
I'm on Viper 2.4.1 with ElementalX kernel and its awesome, stable and fast. Battery life can be optimized with the built in CPU manager or something like SetCPU. You can get kernel suggestions right inside Venom Hub app on your new Rom.
ATT HOX Premium App--Stock is fine but modded is Creative
Man there's a whooollleee bunch of awesome roms.. just flash one every other day till you find what you like lol.. there's some nice sense roms, but I'm more into aosp roms. They all offer something unique and each dev brings something new to the table
Sent from my HTC One XL using Tapatalk 2
Hey I thought I would stop by to say that i successfully flashed paranoid android, one problem the keyboard keeps crashing. What are the solutions for this? A simple cache clear just isn't doing it.
Edit: Scratch that alot of things are crashing. help?
Super mega edit: I learned that i had the incorrect gapps downloaded I flashed the correct ones and it is still happening so that is out of the question
Sounds like there could be a few problems so were gonna go with the most popular ones lol..
1. Sounds like you didn't wipe everything in twrp before you flashed. Make your you always wipe cache, dalvick, factory reset, and system. Then flash Rom followed by gapps.. then reboot
2. Have you restored from a titanium backup? If so, make sure next time its ONLY user apps.. if you restore system apps and data, think of your system settings from one Rom clashing with the system files from your new Rom. They won't play nice together. Only backup and restore user apps+data
3. If the above steps were taken correctly, I would delete the Rom.zip from phone. Maybe download using a different browser. Chrome browser is notorious for corrupting roms.. you could have had a bad download
Sent from my HTC One XL using Tapatalk 2
delete
danasht said:
Hey guys!
I just unlocked and rooted my HTC one s today and wanted to install a custom rom.
I've tried so many roms but none of them boot up.
CM10 booted up once but the keyboard kept crashing so I tried installing other ones like viper and cm10.1 and trickdroid but none booted. then I tried to install CM10 again and that wouldn't boot either
What am I doing wrong?
Click to expand...
Click to collapse
You flashing the wrong roms make sure you flashing a S3 rom.
After you flash the ROM from recovery, you must flash also proper boot.img for your new ROM. Normally you can find boot.omg inside of ROM archive.
Good luck!
Sent from my HTC One S using xda app-developers app
I know you guys hate this, but I need help.
I have an HTC One S, unlocked. I am in Canada, it's unlocked for Mobilicity, but not sure where it came from originally.
How do I know what exact version phone I have, and how do I go about getting a newer android version on it. 4.2.2 or at least 4.2.
AW: [Q] Complete Help
What do you mean with "version"
Look under settings->phone information or sth like that. Latest official version for the one s is android 4.1.1.
If you mean which model, check how your CPU frequency is, 1,7ghz is the C2/S3, 1,5ghz is the C1/S4.
If you want android 4.2.2 flash a custom recovery and follow the instruction for flashing a custom rom (cm10.1), you will find it in the development section
Sent from my HTC One S using xda premium
Ok, so I want to install
http://forum.xda-developers.com/showthread.php?t=2051865
Not sure how. I have 1.06 band and 3.08-01575 kernel version.
hboot 1.14....what do I need to do to get this installed. It says something about aroma installer, but have no idea how to use that.
AW: [Q] Complete Help
Aroma installer is a GUI for the installing progress.
Wipe everything twice before flashing the Rom.
Extract the Boot.IMG Form the flash zip.
Flash the Boot.IMG via fastboot ("fastboot flash boot boot.img" there are flashing guides in the forum)
Clear dalvik cache
Flash the rom and everything should work fine
Good luck
Sent from my HTC One S using xda premium
NQNH said:
Aroma installer is a GUI for the installing progress.
Wipe everything twice before flashing the Rom.
Extract the Boot.IMG Form the flash zip.
Flash the Boot.IMG via fastboot ("fastboot flash boot boot.img" there are flashing guides in the forum)
Clear dalvik cache
Flash the rom and everything should work fine
Good luck
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
I don't see any boot.img inside the zip file?
I am reading all you do is extract the zip, but I don't see the boot.img once that is done? Help please.
AW: [Q] Complete Help
Sry my fault, didnt read the thread carefully, you dont need the boot.img
You cam flash the Rom the usual way
Sent from my HTC One S using xda premium
NQNH said:
Sry my fault, didnt read the thread carefully, you dont need the boot.img
You cam flash the Rom the usual way
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
So wipe it twice, then install from zip? That's it?
AW: [Q] Complete Help
I think so
Sent from my HTC One S using xda premium