Cant or dont know how to flash a kernel? - Verizon HTC One (M7)

Hello everyone. I am new to the HTC One (m7wlv) but not new to htc or rooting/flashing etc. I am s-off and my bootloader is unlocked, and i am running the stock rom rooted and debloated. I want to get a custom kernel on here, but i cant seem to get any to stick. By that i mean i have tried several, and they all flash with no errors. But when i reboot, the kernel is still stock and unchanged. I have tried all three different recoveries, ive tried regular flashing and flashing with htc dumlock. What am i missing here? Can you not use a custom kernel with a stock rooted rom? Any help would be greatly appreciated.

cmlusco said:
Hello everyone. I am new to the HTC One (m7wlv) but not new to htc or rooting/flashing etc. I am s-off and my bootloader is unlocked, and i am running the stock rom rooted and debloated. I want to get a custom kernel on here, but i cant seem to get any to stick. By that i mean i have tried several, and they all flash with no errors. But when i reboot, the kernel is still stock and unchanged. I have tried all three different recoveries, ive tried regular flashing and flashing with htc dumlock. What am i missing here? Can you not use a custom kernel with a stock rooted rom? Any help would be greatly appreciated.
Click to expand...
Click to collapse
can you link the rom and kernel you are trying?
welcome to the One. i remember your avatar from the OG Inc days i believe. ^_^

cmlusco said:
Hello everyone. I am new to the HTC One (m7wlv) but not new to htc or rooting/flashing etc. I am s-off and my bootloader is unlocked, and i am running the stock rom rooted and debloated. I want to get a custom kernel on here, but i cant seem to get any to stick. By that i mean i have tried several, and they all flash with no errors. But when i reboot, the kernel is still stock and unchanged. I have tried all three different recoveries, ive tried regular flashing and flashing with htc dumlock. What am i missing here? Can you not use a custom kernel with a stock rooted rom? Any help would be greatly appreciated.
Click to expand...
Click to collapse
The rom is just the ota 2.10.605.1 that i rooted and debloated.
obone http://forum.xda-developers.com/showthread.php?t=2539041, is the latest kernel ive tried. I tried a few others i found, but i cant remember which ones. Not to many kernels to choose from on sense 4.3. Any other kernels you know of that i could try?
Yes i was pretty active on the incredible. Unforrunatley it took a crap finally so i decided to go for the one. Thanks for replying.

cmlusco said:
The rom is just the ota 2.10.605.1 that i rooted and debloated.
obone http://forum.xda-developers.com/showthread.php?t=2539041, is the latest kernel ive tried. I tried a few others i found, but i cant remember which ones. Not to many kernels to choose from on sense 4.3. Any other kernels you know of that i could try?
Yes i was pretty active on the incredible. Unforrunatley it took a crap finally so i decided to go for the one. Thanks for replying.
Click to expand...
Click to collapse
You need an insecure Boot.img in your current rom, to allow it to be overwritten.
My Stock rom has an insecure Boot.img in it.
You could fastboot flash that Boot.Img and then flash the custom one.
You should be able to just fastboot flash the new kernel, if it is packed into a Boot.Img.(most custom kernels aren't)
If it's packed in Anykernel style, then you will have to repack it into a Boot.img from your rom, or do what I suggested above and then flash it.
Essentially you are on an unrooted, secure stock Boot.Img that will not allow for the kernel to be overwritten.
Chances are, that the modules did flash though and you probably ended up just breaking wifi...and maybe more.

How are you going about flashing a kernel?

santod040 said:
You need an insecure Boot.img in your current rom, to allow it to be overwritten.
My Stock rom has an insecure Boot.img in it.
You could fastboot flash that Boot.Img and then flash the custom one.
You should be able to just fastboot flash the new kernel, if it is packed into a Boot.Img.(most custom kernels aren't)
If it's packed in Anykernel style, then you will have to repack it into a Boot.img from your rom, or do what I suggested above and then flash it.
Essentially you are on an unrooted, secure stock Boot.Img that will not allow for the kernel to be overwritten.
Chances are, that the modules did flash though and you probably ended up just breaking wifi...and maybe more.
Click to expand...
Click to collapse
Couldnt have said it better myself. tank you santod.
i would recommend backup up user data and flash Santod debloat stock 4.3 and everything should be good from there.

Thank you guys. Im off to try it out now.

Thanks again guys. I fastboot flashed the boot.img from your rom, and then the kernel and it worked. Time to tinker with some settings.

Related

[Q] Some clarification

Ok, I have the play, r800ra, i flashed the r800a stock modified rom to it. Now I am assuming from everything I have read since I have a locked bootloader there is no possible way for me to get to cm7. I cant flash a custom kernal or anything like that. I have to stick to the stock roms. Or can I flash custom kernals and then flash custom roms? Any help is appreciated.
Snakethis69 said:
Ok, I have the play, r800ra, i flashed the r800a stock modified rom to it. Now I am assuming from everything I have read since I have a locked bootloader there is no possible way for me to get to cm7. I cant flash a custom kernal or anything like that. I have to stick to the stock roms. Or can I flash custom kernals and then flash custom roms? Any help is appreciated.
Click to expand...
Click to collapse
With a locked bootloader,you can't flash anything.How did you even flash the modified ROM anyway?
Anyway,its best if you flash kernels,then the ROMs,in my opinion.
Sent from my R800i using Tapatalk
I just used that flash utitlty and flashed the rom I downloaded. Gave me the erickson generic rom.
Snakethis69 said:
I just used that flash utitlty and flashed the rom I downloaded. Gave me the erickson generic rom.
Click to expand...
Click to collapse
Hmm I couldn't flash anything when my bootloader was locked so I just had to use SEMC for stock updates and with a locked bootloader I couldn't do anything else but root.
Sent from my R800i using Tapatalk

[Q] What Custom ROMs can I use without new kernal?

Hi all,
I'm planning to start installing custom ROM's and haven't yet installed CWM. I don't plan on changing the kernal, as I hear issues about battery drain etc, and I just wanted to know which Custom ROM's I can use without flashing anything extra, as in just going on CWM, and installing a .zip?
Thanks in advance!
Anyone? :/
Under the heading stock based ROMs from here:
http://forum.xda-developers.com/showthread.php?t=1294129
Its not a complete list and you should still always read to make sure you don't need to flash a kernel along with it. If you flash a ROM that requires a custom kernel on locked bootloader you will brick your phone, so read carefully.

Is a custom kernel necessary for a custom rom?

Hopefully my title didn't confuse anyone lol.
I was told the main reason for flashing a custom kernel is entering recovery mode, well if that's the case, I have an app called x-parts, it allows me to boot my xperia play in recovery mode without flashing a custom kernel. so....would I be able to flash a custom rom via x-parts WITHOUT having to flash a kernel?
IM HAVING THE HARDEST TIME TRYING TO GET CM7/CM9 ON MY PHONE, ANY HELP WOULD BE APPRECIATED!
Xperia Player said:
Hopefully my title didn't confuse anyone lol.
I was told the main reason for flashing a custom kernel is entering recovery mode, well if that's the case, I have an app called x-parts, it allows me to boot my xperia play in recovery mode without flashing a custom kernel. so....would I be able to flash a custom rom via x-parts WITHOUT having to flash a kernel?
IM HAVING THE HARDEST TIME TRYING TO GET CM7/CM9 ON MY PHONE, ANY HELP WOULD BE APPRECIATED!
Click to expand...
Click to collapse
I'm pretty sure you can use the same kernel for a CM7 ROM since stock and CM7 are the same Android version, basically.
However, to use an ICS based ROM, flashing a custom kernel is necessary.
Solar.Plexus said:
I'm pretty sure you can use the same kernel for a CM7 ROM since stock and CM7 are the same Android version, basically.
However, to use an ICS based ROM, flashing a custom kernel is necessary.
Click to expand...
Click to collapse
It means that i can flash CM7 on stock???? Without flash a custom kernel??? If that is true then CM7 works on locked bootloader....
No. You must have a custom kernel for a custom ROM. Any ROMs that can be flashed on locked bootloader will say so explicitly. CM7 is not one of those.
Thanks for the info guys just curious to see how kernels tried into roms

Kernels

I have a T-Mobile Galaxy S2. Rooted it withe hercules tar kernel on Android 2.3. When I upgraded to JB the kernel no longer worked (couldn't root). I tried flashing Cyangoen 10.0 and 9.0 but neither wokred (Waited 20 minutes and nothing). Is there a kernel I need to flash with ODIN?
Also, looking for a good place to learn abot kernels in genral.
Many thanks.
FezK
FezK said:
I have a T-Mobile Galaxy S2. Rooted it withe hercules tar kernel on Android 2.3. When I upgraded to JB the kernel no longer worked (couldn't root). I tried flashing Cyangoen 10.0 and 9.0 but neither wokred (Waited 20 minutes and nothing). Is there a kernel I need to flash with ODIN?
Also, looking for a good place to learn abot kernels in genral.
Many thanks.
FezK
Click to expand...
Click to collapse
Kernel is causing the problem. Flash only kernel which is made for specific rom/android version. follow this if you want to flash via Odin. I recommend you to install CWM because its easy,safe and time saving.
Installed CWM Recovery, tried to flash Cyanogen 9...now it keeps rebooting back into CWM...can't access the Recovery menu. I downloaded the updated kernel. How do I get it flashed?
I was able to connect via ODIN. Can't get recovery-clockwork-touch-6.0.3.1-hercules.tar to flash.
restart your computer log back in and use a different USB port and make sure you have all the DRIVERS for the phone plug it in flash the ODIN CWM file then you should flash an ICS ROM then flash JB to avoid any hiccups 2.3.4 is a big jump to JB might be giving you errors and you are rooted correct ?
Thank you. Yes I'm rooted an runnning smoothly with Juggernaut ROM for now. Want to change to Cyanogen 9.0. I'll flash the ODIN CWM file as you recommend. Where can I find a good ICS ROM and JB? Didn't know the jump from 2.3.4 to JB would be so big.
Many thanks.
what do you prefer the more stocky looking approach or you into AOKP/CM if you like stock then anything from PTMR and JAMISON904 are on point and very stable if you want some options and custom stuff look into the CM/AOKP around here in the development forums since you are rooted i would download a nice ICS you wont be on it long so doesnt matter lol and then finally jump ship to JB give it time for the battery to settle in becuase there was nothin like GB as far as the battery life goes this one guy who has amazing work and dedication http://goo.im/devs/Cl3Kener anything on there will do you justice when you get to the JB stage good luck and happy flashing!!
C13Kener DOES have some amazing stuff. Thanks. I see that he has a nice ICS stock ROM (Samsung-Stock-4.1.2-Tiberius-Kernel-1.1.zip). Can I just flash that from recovery or do I need to flash a new kernel via ODIN beforehand? Apprecaite your patience and help.
FezK said:
C13Kener DOES have some amazing stuff. Thanks. I see that he has a nice ICS stock ROM (Samsung-Stock-4.1.2-Tiberius-Kernel-1.1.zip). Can I just flash that from recovery or do I need to flash a new kernel via ODIN beforehand? Apprecaite your patience and help.
Click to expand...
Click to collapse
I think there is some confusion here. A ROM is not the same thing as a kernel.
I think thats where I'm having trouble. I have an older kernel (recovery-cwm-hercules.tar) and need to upgrade it before I can flash an ICS ROM. Don't know where to find kernels for the ROMS I want to flash. I thought some ROMs came with the kernel embedded in their zipfile, but finding thats not the case. ODIN is fairly easy to use, but I don't know where to find the right kernels for ROMs like Cyanogen.
FezK said:
I think thats where I'm having trouble. I have an older kernel (recovery-cwm-hercules.tar) and need to upgrade it before I can flash an ICS ROM. Don't know where to find kernels for the ROMS I want to flash. I thought some ROMs came with the kernel embedded in their zipfile, but finding thats not the case. ODIN is fairly easy to use, but I don't know where to find the right kernels for ROMs like Cyanogen.
Click to expand...
Click to collapse
Recovery is a tool used to flash ROMs and do backups.
TWRP and CWM are recoveries.
ROMs are the operating system of the phone. They come with a kernel. The kernel is what boots the phone into the OS. You can flash a different kernel if it matches the type of ROM you are on. I hope that clears up some of the confusion.

[Q] rumrunner s-off Day 1 Unlocked

I got my phone on day one and unlocked it via htc dev. I played around with some roms etc. Anyways now the s-off exploit is out, great, but you have to be stock. Searching through the thread I found this post:
Okay, finally got it to work. I downloaded Andy's DEODEXED rom and used this instruction. Everyone kept saying use the odexed rom but I wasn't able to flash it and its frustrating because there aren't any stock ROMs available. I tried Andy's bonestone using this instruction but doesn't work.
Use this method if you did HTCDev unlocked first day like myself. Sorry to sound like a whiner but it was frustrating to do all this after 4-5 hrs of trying. Feel free to PM me if you need links to the deodex vzw rom/boot.img/stock recovery that I used.
Flashed stock deodex vzw rom
Flashed stock boot img
Flashed stock recovery
Made sure usb debugging was on
Made sure verifying apps was off
Made sure fastboot was off
Made sure no lock screen was selected
I'm trying to recreate these steps. I flashed andy's stock deodexed rom. I'm stuck on the next two steps though
Where can I acquire boot.img?
Where can I acquire stock recovery?
Thanks and if anyone has a better way please let me know.
http://forum.xda-developers.com/showthread.php?t=2416038 <--- Boot.img
http://d-h.st/sdg <--- Stock Recovery
To the other question. It's kind of difficult to get any easier than this... If you are having issues with it I think you may want to not flash roms. This is as easy as it gets. Never ever EVER use a one click solution.
kinglime said:
I got my phone on day one and unlocked it via htc dev. I played around with some roms etc. Anyways now the s-off exploit is out, great, but you have to be stock. Searching through the thread I found this post:
Okay, finally got it to work. I downloaded Andy's DEODEXED rom and used this instruction. Everyone kept saying use the odexed rom but I wasn't able to flash it and its frustrating because there aren't any stock ROMs available. I tried Andy's bonestone using this instruction but doesn't work.
Use this method if you did HTCDev unlocked first day like myself. Sorry to sound like a whiner but it was frustrating to do all this after 4-5 hrs of trying. Feel free to PM me if you need links to the deodex vzw rom/boot.img/stock recovery that I used.
Flashed stock deodex vzw rom
Flashed stock boot img
Flashed stock recovery
Made sure usb debugging was on
Made sure verifying apps was off
Made sure fastboot was off
Made sure no lock screen was selected
I'm trying to recreate these steps. I flashed andy's stock deodexed rom. I'm stuck on the next two steps though
Where can I acquire boot.img?
Where can I acquire stock recovery?
Thanks and if anyone has a better way please let me know.
Click to expand...
Click to collapse
These things can be found in the RUU.
Here is the boot.img
There's also a stock full odexed .10 ROM in the dev section.
Flash that and you will be stock rooted, with a secure stock boot.IMG.
Should be all you need to run rumrunner...
Sent from my HTC6435LVW using Tapatalk
santod040 said:
There's also a stock full odexed .10 ROM in the dev section.
Flash that and you will be stock rooted, with a secure stock boot.IMG.
Should be all you need to run rumrunner...
Sent from my HTC6435LVW using Tapatalk
Click to expand...
Click to collapse
Yeah I flashed that stock rom because I like stock and it is debloated also.
I like it and it runs great.
Sent from my 4G LTE HTC One

Categories

Resources