[Q] Kernals and Roms - HTC One X

I'm looking to root my HTC One X but I'm a bit confused by Kernals and Roms
I'm aware that a Rom is essentially the Android distro that the Phone will run of such as Cyanogen Mod or Viper, however I don't really understand the use of a Kernal and what it's function is.
Also How would I go about flashing Kernals and Roms via Clockworkmod Recovery?
Thanks in advance for the help
(it's a lot more complicated than flashing with the Desire)

This may help
OKay lemme see how much i can explain though i am not very good at this.
Suppose ur phone is a car..then the rom is tthe body of the car but the kernel is the engine.
The kernel(AKA Boot.img) tells the phone what to do how to interact wid applications etc.
Now to the flashing part.When u have rooted the Phone and installed clockwork recovery u copy the ROM files to ur SD card(Extract the Boot.img of the ROM using Winzip).
Till the time ur using the stock boot.img of the ROM(Which i recommend for begineers) u just need to flsah the boot.img using fastboot and then install ROM using recovery but if u wanna use a custom Kernel then u have to flash the boot.img and the modules also.
Anything else Do let me know

Or you can go to this place
http://forum.xda-developers.com/showthread.php?t=1832891
And check things out, read a lot first so you know where to begin and understand what you have to do exactly ... and in what order
Help is always around the corner

I can't thank you two enough, the explanations are really clear and I actually understand it now!

Related

[Q] Q about what to do after downgrade?

Hi all.
I was talking to someone yesterday, that also got a DHD like me, and he show me a lot of this that his phone could, and he told me about this website and talked about that i had to downgrade my phone to update it again to something else that i cant remember.
But anyways i found a guide on the net how to downgrade it to 1.32.405.6, and i succes with that, but now is the Q how do i update to something else? Eks this http://forum.xda-developers.com/showthread.php?t=1020637 can i put this kernel to the sd card and its updatet ?
well welcome to the ROOTed WORLD!, its beautiful here!
anyway, make sure you have ClockworkMod recovery. If you dont, the simplest way is to download ROM Manager and Flash the recovery (first option).
After that go into recovery (vol down + power button) and do a backup (also known as nandroid) so if anything goes bad, you can restore your ROM.
After that you can flash certain things, ROMs, Kernels, Mods, etc...
I personally havent flashed any Kernels over my ROMs kernel, because i believe that the Kernel for my ROM is the perfect one, so i dont know what will happen exactly if you flash the Kernel to your ROM.
But dont worry, if anything goes bad, you can flash a ROM/Kernel back to your phone (or restore your nandroid) and it will be fine (unless your phone is bricked! - in that can, im sorry!)
EDIT: That kernel is for CM7 ROMs only!!!!, so if you want that kernel, make sure you flash CM7 first!

[Q] Flashing Roms, Recovery help

I got my Xperia Play R800x yesterday. Since then I have rooted, unlocked the bootloader, and installed crash team racing. I have been reading through the forms before and after getting my phone. But Im still confused on the whole flashing process. From what I could gather if I want to flash either a kernel or rom I must use fastboot. Which is a program you run on your computer while the phone is in fastboot mode (black screen, blue led). My problems are I have yet to find a DETAILED process on how to do this. I also am wondering if I were to install clockwork recovery if I could just flash roms and kernels through it. I know everyone on the form says they you cant but they all have locked bootloaders. The final thing Im confused about is flashtool. What is it used for? In one form is sounded like someone used it to unbrick there phone but Im still unsure. Any help that can straiten this up for me would be GREATLY appreciated.
Edit: If this helps you help me I have recently come from a droid X and HTC Eris. Both devices I know my way around them.
Oh and thanks for the people who posted in my last thread. THIS PHONE IS SICK!!!!!!!!
Dont have any answers for you since most of them are in the forum ; but a thing to point out is that since you have a r800x the amount of roms you can flash are limited.
Nabeel_Nabs said:
Dont have any answers for you since most of them are in the forum ; but a thing to point out is that since you have a r800x the amount of roms you can flash are limited.
Click to expand...
Click to collapse
Could I at least get some links. I have been digging around for a weak and still haven't found anything. Like I said I have an idea about everything I just need some help clearing it all up.
Ok, I finally found a form that explains flashtool and how to use it. But I still would like to know about the clockwork recovery.
BrownEye02 said:
Ok, I finally found a form that explains flashtool and how to use it. But I still would like to know about the clockwork recovery.
Click to expand...
Click to collapse
You can flash roms through clockwork mod. But you can not flash kernels, the reason for this is both the kernel and recovery are held on the same partition /boot/, obviously flashing a kernel overwrites /boot/ partition so CWM cannot write to the same partition is it running from.
You can flash nandroid backups from CWM recovery
Your selection is limited tho because this phone has limited people working on it lol.
Yeah I know the CDMA rom department hasnt developed yet, but it will.
But you two are saying two different things. Can I only flash nand backups with the clockwork recovery or can I flash a rom. Thanks for clearing up the kernel part though.
BrownEye02 said:
Yeah I know the CDMA rom department hasnt developed yet, but it will.
But you two are saying two different things. Can I only flash nand backups with the clockwork recovery or can I flash a rom. Thanks for clearing up the kernel part though.
Click to expand...
Click to collapse
You can flash standard rom.zip's from recovery too, Not trying to show off but i created one of the first roms flashable from recovery
http://forum.xda-developers.com/showthread.php?t=1250873
AndroHero said:
You can flash standard rom.zip's from recovery too, Not trying to show off but i created one of the first roms flashable from recovery
http://forum.xda-developers.com/showthread.php?t=1250873
Click to expand...
Click to collapse
Nice!!
Now when you say you were the first to make a rom that was flashable in clockwork recovery. Does this mean that the rom has to be specially made to be flashed with the clockwork recovery or is this just because everyone uses flashtool to flash roms?
BrownEye02 said:
Nice!!
Now when you say you were the first to make a rom that was flashable in clockwork recovery. Does this mean that the rom has to be specially made to be flashed with the clockwork recovery or is this just because everyone uses flashtool to flash roms?
Click to expand...
Click to collapse
To be flashed from recovery, a rom has to be in a certain format, and contain an update script and binarys that tell recovery when to mount and unmount partitions, what partitions and directories to copy the files to and what permissions need to be given to certain files/folders
AndroHero said:
To be flashed from recovery, a rom has to be in a certain format, and contain an update script and binarys that tell recovery when to mount and unmount partitions, what partitions and directories to copy the files to and what permissions need to be given to certain files/folders
Click to expand...
Click to collapse
Alright, thanks for clearing all this up for me!

boot loop pliz help fast dont have alot of battery!!!

hey. just now i unlocked my device and want toflashe rom cm10 in this forum,i didnt do root ,i flashed the kernal faux 0010b4 and flashe the rom and the gapps,i did all this ,iand not its in boot loop alot of time,i tried to restore to hwat i backed up- ,and still in boot loop... what i can do? pliz help.
Can you get into recovery? You can charge it there.
Sent from my HTC One X using xda app-developers app
you sure?
you sure in that? because i dont see red light when i am in recovery...
bardahan123 said:
hey. just now i unlocked my device and want toflashe rom cm10 in this forum,i didnt do root ,i flashed the kernal faux 0010b4 and flashe the rom and the gapps,i did all this ,iand not its in boot loop alot of time,i tried to restore to hwat i backed up- ,and still in boot loop... what i can do? pliz help.
Click to expand...
Click to collapse
Did you repack the kernel for the ROM.
Dude, I got to where you are a couple of weeks ago and I panicked. 10 minutes later I was sorted.
Download the rom and kernal again (prolly best to use a kernel already packed for the ROM you want to take a variable out of the equation). May I recommend Tripndroids CM10 ROM and the kernel that comes with it. This will be fast to flash before your battery dies and I am very familliar with flashing it so I'll be able to help more easily. You can always start again when you've charged. Alternatively, Use the boot.img from any ROM you like. Stick to a matching ROM and kernel for now as it saves the repack and a couple of steps in flashing.
Copy ROM zip to your SD (using ADB is easy: adb push yourfile.zip /sdcard/yourfile.zip)
Extract the boot.img from the rom zip (on your PC)
Go into fastboot and connect USB
fasboot flash boot boot.img
fastboot erase cache
Full wipe in recovery
erase cache and dalvik in recovery
Flash the ROM in recovery
Reboot - First boot will take a while.
very ty
hey, ty for the good explain ,now i tried another kernal and its worked,mabey the kernal just was fail,but now the phone is work ,very ty.
just 1 question,which rom is good and stable? and if good life battery that you can tell me? because i saw all the roms in this forum and i dont know which one is the best
ty for the help
bardahan123 said:
hey, ty for the good explain ,now i tried another kernal and its worked,mabey the kernal just was fail,but now the phone is work ,very ty.
just 1 question,which rom is good and stable? and if good life battery that you can tell me? because i saw all the roms in this forum and i dont know which one is the best
ty for the help
Click to expand...
Click to collapse
That's very subjective but I like TripNRaVeRs CM10 Endeavour Unleashed. It comes with a completely stable 2.x kernal and there is an almost totally stable 3.x kernel and an experimental (not at all stable) 3.x kernel. All cna be flashed without the re-pack.
BTW. If you ever get to panic stations again you can charge by going into fast boot and choosing power down. Then you can charge for a while before starting again.
BTW agian, there is a thanks button. You could click it if you wanted!
if you want to use other kernel (faux, ncx) than the one supplied in rom you should always repack it using online repacker http://nibble.cc/repack/
if not you will be 90 % stuck in bootloop

[Q] Install a custom ROM - How to?

Hi, guys and girls.
I know this question sounds stupid, and someone might say: "Duuuh, use the seach-function!" - Well, I have, but as a new member it's pretty hard finding the things that I need when there's so many sections and such.
Now for my question:
At Christmas I recieved a Samsung Galaxy Gio. The phone is cool, and I like it a lot. However, I do wanna use a custom ROM. Can anybody tell me (step by step, please) how to do so? I have read the "Big thread For New Users", but somehow I managed to get lost in all of the fine new words.
I have done it before on my HTC Touch Diamond, (but I dropped it and now it won't start again) but I really can't figure out how to do so this time - and it would be sad to ruin my new phone by doing stuff I don't know anything about.
So, could anybody please be nice and tell me how to install a custom ROM? And please keep in mind that I'm a huuuuge newbie
I'm using Android 2.3.6
Thanks in advice.
Dennis
P.S. Would I be able to "revert" everything back to how it is now? Is there a way to "unroot" (I know there is, just not how to), and can the default ROM from Samsung be found anywhere?
okay so first DON'T use Rom Manager because it bricks your gio.
if you want to flash a custom rom you need to flash clockwork recovery. after that download "ext4 formatter" and flash it with cwm recovery (install zip->choose zip). download a custom rom and flash it in the same way as "ext4 formatter". wipe data and restart your phone... (clockwork mod recovery, ext4 formatter and custom roms can be found in development section)
if you don't like all these custom roms you can install the stock rom by downloading a stock rom on sammmobile.com and flashing with odin.
Sorry for my bad englisch
You made it sound so easy
Please keep in mind that I'm at huuuge newb. I don't know what half of the words you mentioned means. Could you please explain it a little more detailed?
Thanks,
Dennis
DennisHermannsen said:
You made it sound so easy
Please keep in mind that I'm at huuuge newb. I don't know what half of the words you mentioned means. Could you please explain it a little more detailed?
Thanks,
Dennis
Click to expand...
Click to collapse
You don't to be a delevoper if you want to flash your phone. It's really very easy if you read a few infos about this. One post above you have a list of things that you have to do but it's easy. You can do this in about 10 minutes. Very important is: you must know what you do. And do this ! Here you can view a lot of tutorials and links of roms, recorecys etc. :
http://forum.xda-developers.com/showthread.php?t=1623393
Ok, so I guess this is what I'm gonna do:
1. Doing a hard reset of my phone (wipe).
2. Root my Gio using this guide.
3. Downloading and flashing a custom ROM (I'm very unsecure on this step, please give a detailed "guide").
4. After flashing (is flashing the same thing as installing?), I start up my Gio and I'm gonna do a hard reset.
Is this the way to do it?
DennisHermannsen said:
Ok, so I guess this is what I'm gonna do:
1. Doing a hard reset of my phone (wipe).
2. Root my Gio using this guide.
3. Downloading and flashing a custom ROM (I'm very unsecure on this step, please give a detailed "guide").
4. After flashing (is flashing the same thing as installing?), I start up my Gio and I'm gonna do a hard reset.
Is this the way to do it?
Click to expand...
Click to collapse
1. Not needed to do before flashing but it doesn't hurt either
2. No need for ROOT if you plan flashing a custom rom. 100% of custom roms have root pre-installed.
3. Download the file, put it on your SD card (do not put it in any folder, just on your sdcard), go into recovery mode, chose install zip from sdcard, navigate to the file, chose it, chose Yes and wait for it to finish, do wipe data/factory reset and wipe cache partition from CWM and you're done!
4. Yes, start it up (it takes quite long time to boot it for the first time) and you may do the hard reset but i have never done it and my Gio is still working perfectly. And yes flashing and installing is basically the same thing.
P.S I know how you feel exactly atm. When i got my gio and learned about flashing custom roms and rooting, I was scared as well but now i have installed many roms and now it is like a normal thing for me. Have fun and DO NOT USE ROM MANAGER!
Don't forget to click thanks if it helped
DennisHermannsen said:
Ok, so I guess this is what I'm gonna do:
1. Doing a hard reset of my phone (wipe).
2. Root my Gio using this guide.
3. Downloading and flashing a custom ROM (I'm very unsecure on this step, please give a detailed "guide").
4. After flashing (is flashing the same thing as installing?), I start up my Gio and I'm gonna do a hard reset.
Is this the way to do it?
Click to expand...
Click to collapse
The first two steps are right. after that you are downloading the clockwork mod recovery (also called cwm) and the ext4 formatter from this thread http://forum.xda-developers.com/showthread.php?t=1421650. now you are entering the stock recovery. turn off your phone and restart it but hold the power and home button at boot. now flash the cwm zip file (in the thread is all explained how to do). restart the phone and enter the cwm recovery by holding power and home button at boot. go to "install zip" -> "choose zip" and choose the ext4 formatter zip file. okay now wipe data. download a custom rom and install it in cwm like the other zip files. wipe again data. now restart your phone.
and tadaaa it should work
ps: if you are from Germany (i think so because of your name) you can write me a pn if you need help and i can explain it in German
Sorry for my bad englisch
Hi,
Thanks for both of the answers - However, there is something that I'm confused about now. Jyrx, you say that I don't need to root if it's a custom ROM, because custom ROMs already have done a root. But emyaz tells me that it should be done. Aren't most ROMs from xda custom? Fx. this: http://forum.xda-developers.com/showthread.php?t=2062676 (CyanogenMod 10.1 [BETA 2.5]) - is this a custom ROM? If it is, I don't need to ROOT, right?
emyaz, unfortunately no - I'm Danish, and I know very little German
DennisHermannsen said:
Hi,
Thanks for both of the answers - However, there is something that I'm confused about now. Jyrx, you say that I don't need to root if it's a custom ROM, because custom ROMs already have done a root. But emyaz tells me that it should be done. Aren't most ROMs from xda custom? Fx. this: http://forum.xda-developers.com/showthread.php?t=2062676 (CyanogenMod 10.1 [BETA 2.5]) - is this a custom ROM? If it is, I don't need to ROOT, right?
Click to expand...
Click to collapse
Yes, like I said every custom rom has root. I think what emyaz thinks is that root is essential and if you don't install a custom rom you should root your phone. And your example has root and it doesn't need to be rooted.
EDIT: On XDA yes, there are basically only custom roms. If a rom isn't a custom rom or doesn't have a root then it is most certainly said in the topic.
You need to root your device before you start flashing roms. But is it nessesary to flash an ext4 formatter. I didn't do it. I do not have any problems. Where do you need it for?
Ardee - Sent from my Gio using xda premium app
Now I'm confused. One says that I don't need to flash, but others says that I need to.
I didn't root my phone before flashing roms. And I also haven't used ext4 formatter and it is working fine. So I don't know about that really.
---------- Post added at 12:29 AM ---------- Previous post was at 12:27 AM ----------
Well I think for safety, root it. If you don't probably nothing will happen but I'm not sure, but if you do then nothing bad will happen either.
Half of the people answering give the wrong answers.
- root
- install custom recovery
- backup
Flash ext4formatter (cleans all partitions and mounts as ext4, no wipes needed, only use this first time installing a rom or after using ODIN to restore to stock)
- install rom
-reboot
Sent from my GT-S5660 using xda app-developers app
what i mean was that you need to root your device to install the cwm recovery. so the first step is to root your device and then install cwm recovery. sorry if i confused you
all custom roms are rooted...
Sorry for my bad englisch
Half of the people answering give the wrong answers.
Click to expand...
Click to collapse
Yep, I think I just bricked my Gio...
DennisHermannsen said:
Yep, I think I just bricked my Gio...
Click to expand...
Click to collapse
It won't boot or is the boot animation reloading?
Jyrx said:
It won't boot or is the boot animation reloading?
Click to expand...
Click to collapse
There's two boot screens next to eachother
Haha, oh God, I think I'm gonna wait until I have researched a little bit more...
When I tried to unbrick it, I flashed a wrong stock ROM (somehow Odin let me do it )
I need a really detailed guide on how to do it (install a custom ROM).. I've been trying to unbrick my phone for the last 1½ hours
Fortunately it all works fine now. I just need a detailed guide or something so I don't **** up
it wasn't bricked, thats the most wrong used term here on XDA.
voetbalremco said:
it wasn't bricked, thats the most wrong used term here on XDA.
Click to expand...
Click to collapse
Potato, potato - It wouldn't get past the to bootscreens, so I just took a guess.
U flashed ext4-formatter.zip?
Sent from my GT-S5660 using xda app-developers app

Please help. Think I have bricked it!

So, I was relocking my HOX in order to get the OTA JB update from carrier (H3G) in order to use the new Viper ROM.
All went well and managed this. Got re rotted and installed CWM ans Super SU.
However, I read that before installing the JB Viper ROM it was important to do a full wipe. Using CWM i did this. Specifically I did the wipe data/factory reset, wipe cache partition, wipe dalvik cache and format system.
Now my phone is stuck on the white HTC screen. Please help.
Thanks
You formatted system, which basically wiped the rom. Reflash and don't format system.
Sent from something that's BETTER THAN YOURS
You should probably read what bricking your phone means.
Sent from my HTC One X
And don't forget to flash the boot.img file !
Thanks for the quick response and apologies for the basic and wrongly termed questions. Just panicking a little.
How do i get the ROM and boot.img on to the fone? Because it sticks at the white screen the pc doesn't seem to detect it.
Last time i used a stock RUU and followed that process. Will i be able to flash the new Viper ROM instead?
thanks
The boot.img is supposed to be flashed from the PC. To get the Rom into the phone you need to go back to clockworkmod, go into mounts and storage and press the mount usb thing
Edit - to flash the boot.img find a thread about fastboot. Don't worry you'll get there
To get the ROM on the phone boot into cwm and GOTO mounts & storage
Then mount USB storage
It should now be detected as a drive on your PC and you can copy the ROM back over
Sent from my HTC One X using xda app-developers app
Thanks. I did as you guys suggested and was able to install the Viper ROM (used the tweaked stock kernel as recommended in the download).
So have a ROM now but I have no service with my carrier and when I try to connect to wifi it says 'error'. Have I missed or done something wrong?
Cheers
columbo67 said:
Thanks. I did as you guys suggested and was able to install the Viper ROM (used the tweaked stock kernel as recommended in the download).
So have a ROM now but I have no service with my carrier and when I try to connect to wifi it says 'error'. Have I missed or done something wrong?
Cheers
Click to expand...
Click to collapse
While installing the rom, did you choose at the kernel question to keep the stock kernel and modules
Sent from my GT-P5110 using xda app-developers app
Mr Hofs said:
While installing the rom, did you choose at the kernel question to keep the stock kernel and modules
Sent from my GT-P5110 using xda app-developers app
Click to expand...
Click to collapse
Got it resolved. I had used the tweaked kernel and assumed that this was not standard, so when asked about which kernel i was using i said it wasn't the viper one.
So i went back to basics and used the kernel that came with the ROM zip and just flashed both. Working fine now. The only question is whether I could have used the tweaked kernel and answered yes to using the viper version?
Thanks for your help. Felt like I have learned a fair bit in the last 12 hours though!
Well if you flashed a different custom kernel you can answer that with the question so it won't load the stock modules but backs up the custom modules from the custom kernel. This way it won't mess up functionality.
When you use a boot.img without it proper modules it can mess up those things you experienced. Hope i make my self clear
Mr Hofs said:
Well if you flashed a different custom kernel you can answer that with the question so it won't load the stock modules but backs up the custom modules from the custom kernel. This way it won't mess up functionality.
When you use a boot.img without it proper modules it can mess up those things you experienced. Hope i make my self clear
Click to expand...
Click to collapse
Ye, perfectly. cheers
Looking at this thread, makes me realize that there are still a lot of polite helpful guys out there :thumbup:
Sent from my Bladed One X. Blade v5.0.0 is here. Based on RUU and with OTA.

Categories

Resources