Flashing Stock Kernel - One (M8) Q&A, Help & Troubleshooting

Hi,
I am currently running the 5.1 version of the Digital High GPE rom and would like to flash the stock kernel. I looked some on htcdev but all I found was the kernel source. Is there any place that I can find a flashable zip that will install the stock kernel? Thanks!

neilmopar said:
Hi,
I am currently running the 5.1 version of the Digital High GPE rom and would like to flash the stock kernel. I looked some on htcdev but all I found was the kernel source. Is there any place that I can find a flashable zip that will install the stock kernel? Thanks!
Click to expand...
Click to collapse
http://forum.xda-developers.com/htc-one-m8/help/reverting-to-stock-gpe-kernel-using-ruu-t3074577

neilmopar said:
Hi,
I am currently running the 5.1 version of the Digital High GPE rom and would like to flash the stock kernel. I looked some on htcdev but all I found was the kernel source. Is there any place that I can find a flashable zip that will install the stock kernel? Thanks!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2708589
You can find a firmware zip there with the stock boot img included.

obtained said:
http://forum.xda-developers.com/showthread.php?t=2708589
You can find a firmware zip there with the stock boot img included.
Click to expand...
Click to collapse
Awesome! So I extracted the boot.img from the zip file. Now, just to confirm, all I have to do is use the command "fastboot flash boot boot.img" and I should be set with the stock kernel? Thanks!

neilmopar said:
Awesome! So I extracted the boot.img from the zip file. Now, just to confirm, all I have to do is use the command "fastboot flash boot boot.img" and I should be set with the stock kernel? Thanks!
Click to expand...
Click to collapse
That would be correct.

Don't forget to flash the matching stock modules too !

Mr Hofs said:
Don't forget to flash the matching stock modules too !
Click to expand...
Click to collapse
Which is why extracting the boot.img from the GPE ROM as I stated in the thread that I linked to is the better option.

xunholyx said:
Which is why extracting the boot.img from the GPE ROM as I stated in the thread that I linked to is the better option.
Click to expand...
Click to collapse
So if I flash the boot.img from the stock rom like you stated, do I also have to flash the modules?

Related

[Q] Stock rom with custom kernel

Hi guys,
Is it possible to flash a custom kernel with stock rom (4.0.2) that is rooted?
Thanks in advance.
The kernel will have to be 4.0.2 compatible, but yes you can do it.
I have some question on this thread, If I flash the custom kernel to stock rom, when the new stock rom update launch, How do I got the update.
thanks,
mirageromeo said:
I have some question on this thread, If I flash the custom kernel to stock rom, when the new stock rom update launch, How do I got the update.
thanks,
Click to expand...
Click to collapse
You will have to flash it manualy.
Diger36 said:
You will have to flash it manualy.
Click to expand...
Click to collapse
As you told manually flash, you mean do follow like this http://forum.xda-developers.com/showthread.php?t=1419170 post right?
mirageromeo said:
As you told manually flash, you mean do follow like this http://forum.xda-developers.com/showthread.php?t=1419170 post right?
Click to expand...
Click to collapse
No. You will have to flash back the stock kernel for the update to install automatically.
efrant said:
No. You will have to flash back the stock kernel for the update to install automatically.
Click to expand...
Click to collapse
I found only custom kernel on this site, Please tell me where can I find the stock kernel.
thanks.
mirageromeo said:
I found only custom kernel on this site, Please tell me where can I find the stock kernel.
thanks.
Click to expand...
Click to collapse
The stock kernel is part of the boot.img file in the factory images. Extract it for the version of Android that you are on, and flash it.

Use toolkit

Can i use toolkit to flash BOOT.IMG files required for running custom roms???
By placing them in "KERNEL" folder and renaming it...
Yes... as long as the boot.img is renamed as boot.img
ckpv5 said:
Yes... as long as the boot.img is renamed as boot.img
Click to expand...
Click to collapse
But the toolkit says its only meant for kernels.
and shud i flash a non-stock kernel for cm9??
When we talk about kernel, we are talking about boot.img
ckpv5 said:
When we talk about kernel, we are talking about boot.img
Click to expand...
Click to collapse
Thanks dude

How to update?

Hello,
I have One X CID 102, rooted, TWRP with XM-Kernel and I got an update for 3.18.401.1
How do I update? Just confirm the download (I am on stock ROM)?
Thanks
ArielElia95 said:
Hello,
I have One X CID 102, rooted, TWRP with XM-Kernel and I got an update for 3.18.401.1
How do I update? Just confirm the download (I am on stock ROM)?
Thanks
Click to expand...
Click to collapse
Yes. Just confirm it. OTA will update on its own. It's a small package, too, so the update should take short time.
[email protected]|-|oR said:
Yes. Just confirm it. OTA will update on its own. It's a small package, too, so the update should take short time.
Click to expand...
Click to collapse
Yes but is it ok to do it when I have XM-Kernel, other recovery and root?
You need stock htc kernel and recovery
Mr Hofs said:
You need stock htc kernel and recovery
Click to expand...
Click to collapse
Ok so how do I install the stock recovery?
The stock kernel I just flash it regulary right?
You need the stock kernel and modules too ! But the stock recovery is flashed like any other recovery
Mr Hofs said:
You need the stock kernel and modules too ! But the stock recovery is flashed like any other recovery
Click to expand...
Click to collapse
I have the stock .img, where do I get the modules?
Where do I get the stock recovery from?
And then I install the kernel and modules like installing XM-kernel, and after that I install the recovery, update, and then install TWRP and XM right?
ArielElia95 said:
I have the stock .img, where do I get the modules?
Where do I get the stock recovery from?
And then I install the kernel and modules like installing XM-kernel, and after that I install the recovery, update, and then install TWRP and XM right?
Click to expand...
Click to collapse
You don't need modules, as you are on stock ROM. Recovevery is available in xda (sorry, can't post you a link at the moment). Make sure it matches your base (it should be 3.14).
About the sequence - you are right.
However, the easiest way for you might the the nandroid. And I would recommend it to you.
Also, once you update, and before installing custom kernel/ROM, make one backup for yourself. It will make your life much easier in future.
If you flashed the XM kernel + modules you need to put back the stock kernel AND the stock modules

Stock GPE L kernel

Anyone know where to get it? to flash in twrp?
malteasers said:
Anyone know where to get it? to flash in twrp?
Click to expand...
Click to collapse
Try getting it from here: http://forum.xda-developers.com/showthread.php?t=2706441
Download the whole rom and unzip it, you'll find a file call boot.img
Extract it out and flash that to your device in fastboot by using fastboot flash boot boot.img
Bobbi lim said:
Try getting it from here: http://forum.xda-developers.com/showthread.php?t=2706441
Download the whole rom and unzip it, you'll find a file call boot.img
Extract it out and flash that to your device in fastboot by using fastboot flash boot boot.img
Click to expand...
Click to collapse
you are forgetting the modules !

Stock Kernel?

I'm playing around with a number of configurations on my phone and need to get a hold of a stock kernel. I'm bouncing between 4.16.1540.8 and 4.16.401.10. I do have a system dump of 4.16.401.10 - not sure if there's something in there I'm not seeing.
Any ideas?
This what you're looking for?
https://drive.google.com/file/d/0B-5KYf7UQ2lZUkNVUkVYaFdualU/view?usp=sharing
No, don't think so. Believe this is the bootloader
diceman725 said:
No, don't think so. Believe this is the bootloader
Click to expand...
Click to collapse
boot.img is the kernel not the bootloader. If you open any rom around here you will find the boot.img included
Nice. Ok. Thanks
TempestZ said:
boot.img is the kernel not the bootloader. If you open any rom around here you will find the boot.img included
Click to expand...
Click to collapse
What about the stock kernel modules?
Aren't they in the ROM?
Bobbi lim said:
What about the stock kernel modules?
Aren't they in the ROM?
Click to expand...
Click to collapse
Yes of course they are, the "kernel" in its completeness exists of the :
Boot.img file and the kernel module files which are indeed inside the rom.
Thought you would know that as you released a rom on the HTC one X ?

Categories

Resources