Why repacked kernel needed? - HTC One X

I'm new to HTC stuff. I was confused about HOX's repacked kernel? Can someone explain me about the following questions?
1. when do i need repacked kernel?
2. Why do I need repacked kernel?
3. Can Repacked kernel for ROM A work on ROM B?
Thanks

gerrard_ss said:
I'm new to HTC stuff. I was confused about HOX's repacked kernel? Can someone explain me about the following questions?
1. when do i need repacked kernel?
2. Why do I need repacked kernel?
3. Can Repacked kernel for ROM A work on ROM B?
Thanks
Click to expand...
Click to collapse
1. When you are using custom kernel on custom rom but maintaining ramdisk tweaks to the said rom
2. as answer 1
3. i don't think so, always read the kernel developers instructions in full.

Related

kernel/modules repacking?

Hi,
I've been an avid guest on this forum for about a week now. I got the HTC One X international version running rd-miui 2.8.3 CM9 version and used this awesome forum to learn all the unlocking bootloader, rooting, and custom rom business all pretty fast. I'm trying to pick up kerneling but need some help.
1. it's my understanding that the kernel resides within the boot.img?
2. what exactly are modules (that sometimes comes along with certain kernels??) Is it absolutely necessary to install the modules in recovery after flashing the boot.img in fastboot?
3. I want to use the ncx-v.0.65 kernel with the rd-miui 2.8.3 CM9 rom but there isn't a repack for this rom. I found a nice tutorial of how to do this in windows but still a little confused on some things.
to repack the ncx-v.0.65 kernel for rd-miui 2.8.3 CM9 version --- can I just unpack my rom's boot.img, then replace the boot.img-kernel with the boot.img-kernel inside the boot.img of the ncx-v.0.65. Then repack and flash the new boot.img (with the ncx-v.0.65's boot.img-kernel inside)??
would I need modules???
4. is there a tool/app to easily repack kernels for other roms?
5. what's the best kernel out there for htc one x? Does that depend on which rom you're running? I'm mainly trying to improve my battery life but wouldn't want to sacrifice stability for it.
Thanks for your help guys.
PS. what does "OP" stand for?
Also, is anyone else experiencing problems with the volume rocker wake on RD-MIUI 2.8.3?? It would work for like 5-10 sec after phone sleeps but anytime after that it won't work...then sometimes it would work after a long standby/sleep.
misterpho06 said:
Hi,
I've been an avid guest on this forum for about a week now. I got the HTC One X international version running rd-miui 2.8.3 CM9 version and used this awesome forum to learn all the unlocking bootloader, rooting, and custom rom business all pretty fast. I'm trying to pick up kerneling but need some help.
1. it's my understanding that the kernel resides within the boot.img?
2. what exactly are modules (that sometimes comes along with certain kernels??) Is it absolutely necessary to install the modules in recovery after flashing the boot.img in fastboot?
3. I want to use the ncx-v.0.65 kernel with the rd-miui 2.8.3 CM9 rom but there isn't a repack for this rom. I found a nice tutorial of how to do this in windows but still a little confused on some things.
to repack the ncx-v.0.65 kernel for rd-miui 2.8.3 CM9 version --- can I just unpack my rom's boot.img, then replace the boot.img-kernel with the boot.img-kernel inside the boot.img of the ncx-v.0.65. Then repack and flash the new boot.img (with the ncx-v.0.65's boot.img-kernel inside)??
would I need modules???
4. is there a tool/app to easily repack kernels for other roms?
5. what's the best kernel out there for htc one x? Does that depend on which rom you're running? I'm mainly trying to improve my battery life but wouldn't want to sacrifice stability for it.
Thanks for your help guys.
PS. what does "OP" stand for?
Also, is anyone else experiencing problems with the volume rocker wake on RD-MIUI 2.8.3?? It would work for like 5-10 sec after phone sleeps but anytime after that it won't work...then sometimes it would work after a long standby/sleep.
Click to expand...
Click to collapse
1: yes.
2: They help the kernel work. They are necessary.
3: You need to flash the modules from the thread and repack the kernel, using
4: this
5: There isn't really a 'best' all round. You'd have to try each kernel and choose which one you want.
PS: OP stands for original post or original poster.
so after I repack the boot.img with the kernal I want then flash it in fastboot..then I still gotta install the modules in recovery?
just use the module from the OP even though it wasn't been repacked for my specific rom? (Do modules need repacking??)
i noticed that sometimes (not always) the module .zip contains a folder named "kernel" with a boot.img inside it.]
is that kernel folder necessary? Do the modules need to be repacked?

[Q] understand kernel repacking operation

Ok guys, I've been around for a while and now I need some help for kernel repack, please...
well...was trying to get the aosp build work with ncx kernel...
so I flashed the kernel....the rom...modules and gapps...and it stucked at bootlogo with sw buttons light on
then...I tried a repacking operation with one-click tool...I repacked the ncx kernel with the rom's ramdisk (from the boot.img in the rom) and ncx modules...reflashed everything, result: no connection, like if I haven't flashed the modules...
now, I heard that repacking's purpose is to combine custom kernel with rom's ramdisk, for compatibility problems...and the modules of course...
why doesn't work?? :/
www.nibble.cc/repack
You can't go wrong with that tool.
Just make sure to first flash the ROM and then the modules.
TToivanen said:
www.nibble.cc/repack
You can't go wrong with that tool.
Just make sure to first flash the ROM and then the modules.
Click to expand...
Click to collapse
oooouh yess!!! you're the man! many thanks, this is much better, just up the two kernels and ready to go.
+1 thx!

[Q] New Kernel

Hi
I wanted to know:
1) How do I know what my kernel?
4) Does it matter which kernel I have?
5) Does it need to be suitable to the ROM (I have VIPERX)?
6) How do I install a new kernel?
Thanks.
xdaDevHTC said:
Hi
I wanted to know:
1) How do I know what my kernel?
4) Does it matter which kernel I have?
5) Does it need to be suitable to the ROM (I have VIPERX)?
6) How do I install a new kernel?
Thanks.
Click to expand...
Click to collapse
1: flashed viper x including the boot.img then you are on stock viper x kernel. Check software settings on the phone
4: no if it works for you why change, some kernels give more tweaks. Like Alex V with pocket protection and BLN features. Just like XM !
5: it needs to be a JB sense kernel
6: search xda its easy !

Question about replacing Kernels

Bit of a noob question, but how do I replace my phones Kernel ? Is it something built into the ROM I download or can I reaplce it independant of the ROM ? I am wondering if this may fix my gyro / accelerometer problem..
Thanks
Ian
Just flash your Kernel.zip from CWM or TWRP.
Ian_4614 said:
Bit of a noob question, but how do I replace my phones Kernel ? Is it something built into the ROM I download or can I reaplce it independant of the ROM ? I am wondering if this may fix my gyro / accelerometer problem..
Thanks
Ian
Click to expand...
Click to collapse
Yes, it is something built into the ROM, every ROM has it's own stock Kernel.
And yes, you can replace your ROM's stock Kernel. Be careful though, you have to choose the right Kernel for your phone's ROM.
Not sure if changing the Kernel will fix the gyro of your phone.
Better watch a video guide about flashing kernels and rooting :/
Sent from my GT-N7100
ROM: ARHD 19
KERNEL: RedPill 1.47

[Q] Quick questions on installing a new kernel

I want to install blackhawks kernel (http://forum.xda-developers.com/showthread.php?t=2439564) but I've never installed just a kernel before.
I found a thread saying to install using a recovery, but I just wanted to make sure I was doing it right.
- Do you just flash it like a ROM?
- Can I flash a new kernel over a compatible ROM, or do I need to flash the kernel then the ROM?
I have a 210R and I'm going to use SvelteNole (http://forum.xda-developers.com/showthread.php?t=2722582)
ANY advice is appreciated!
First you flash a recovery,reboot to the new recovery,flash the new Rom,reboot to the new Rom,reboot again to the recovery and then flash the new Kernel. I have SvelteNole with blackhawks kernel !!!
You can flash the rom and kernel during the same session in recovery. Rom first, kernel second.
Sent from my SCH-I605
Thanks for the help, guys! Can't wait to try your ROM, gr8nole. =)

Categories

Resources