[Q] Extract Kernel from Rom To Another Rom - Sprint HTC EVO 4G LTE

How do I extract a kernel from one rom to another rom?
I did do a search and from what I have read you can download both zips and extract the boot.img from one rom and put it in the other rom. Is this correct, a step by step on PC or phone would be nice. Or just extract boot.img from one rom then install the other rom and flash the other boot.img in TWRP on top of that rom. Again a step by step guide would help me. If I could get the source is there a easy way to make a flashable zip? Or if there is another method.
EDIT: I'm S-Off and 3.16 without touchpanel and trying to take one CM10 kernel from a rom and place it in another CM10 rom then flash.

headpiece747 said:
How do I extract a kernel from one rom to another rom?
I did do a search and from what I have read you can download both zips and extract the boot.img from one rom and put it in the other rom. Is this correct, a step by step on PC or phone would be nice. Or just extract boot.img from one rom then install the other rom and flash the other boot.img in TWRP on top of that rom. Again a step by step guide would help me. If I could get the source is there a easy way to make a flashable zip? Or if there is another method.
Click to expand...
Click to collapse
Have you tried this? : https://play.google.com/store/apps/details?id=com.joeykrim.flashimagegui
Are you s-on?
If so, after extracting boot.img got to your folder that has your fastboot and adb exes in cmd and put your phone in fastboot usb and place your boot.img then issue the command: fastboot flash boot boot.img
Good luck!
Sent from my EVO using xda app-developers app

Yes I am S-Off. Also with the program you linked to it looks like it is for S-On and most of the instructions that I find are for S-On. If I am wrong could you point me in the right direction with a guide for Flash Image GUI.

headpiece747 said:
Yes I am S-Off. Also with the program you linked to it looks like it is for S-On and most of the instructions that I find are for S-On. If I am wrong could you point me in the right direction with a guide for Flash Image GUI.
Click to expand...
Click to collapse
If you are s-off you can use the same commands or flash custom kernels, depending on the rom version you are using you just need to place the zip in your sd card and flash through twrp... Can you give more details of your setup and what kernel rom are u using or which one are you trying /want to flash?
For 3.16 you can use either thicklizard's Arc Reactor Kernel or flas2's Bulletproof... And depending on the rom you are running overclock/underclock - change schedulers or change voltage values using scripts or apps like setcpu, android tuner, etc...
Sent from my EVO using xda app-developers app

jocarog said:
If you are s-off you can use the same commands or flash custom kernels, depending on the rom version you are using you just need to place the zip in your sd card and flash through twrp... Can you give more details of your setup and what kernel rom are u using or which one are you trying /want to flash?
For 3.16 you can use either thicklizard's Arc Reactor Kernel or flas2's Bulletproof... And depending on the rom you are running overclock/underclock - change schedulers or change voltage values using scripts or apps like setcpu, android tuner, etc...
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
He's using AOSP, so those kernels won't work.
Sent from my EVO using xda premium

FinZ28 said:
He's using AOSP, so those kernels won't work.
Sent from my EVO using xda premium
Click to expand...
Click to collapse
My bad I didn't read the edit...
Sent from my EVO using xda app-developers app

jocarog said:
My bad I didn't read the edit...
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
No sweat
Sent from my EVO using xda premium

jocarog said:
If you are s-off you can use the same commands or flash custom kernels, depending on the rom version you are using you just need to place the zip in your sd card and flash through twrp... Can you give more details of your setup and what kernel rom are u using or which one are you trying /want to flash?
For 3.16 you can use either thicklizard's Arc Reactor Kernel or flas2's Bulletproof... And depending on the rom you are running overclock/underclock - change schedulers or change voltage values using scripts or apps like setcpu, android tuner, etc...
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
I am trying to take the Evervolv kernel from its rom and put on the ChameleonOS. Thanks for the replies.
Used your sig to give more info:
Device: HTC EVO 4G LTE
ROM: ChameleonOS by TroNit
Kernel: Stock ChameleonOS
Radio: 1.12.11.1210
PRL:25014
HBOOT: 2.09
S-OFF: DirtyRacun

What did you end up doing?
Sent from my EVO using xda premium

I just gave up for the time the being tried all the CM10/AOSP roms on here and Evervolv kernel/rom is only rom that bluetooth on my vehicle like the Sense roms I used. I tried to use Flash Image GUI and it extracted the kernel I think but it put ChameleonOS on boot animation and would not load. Then I took the boot.img out of the Evervolv rom and replace it in the ChameleonOS and flashed and it would not load so it is either not compatible or I am doing something wrong.

Sounds like they aren't compatible.
Sent from my EVO using xda premium

headpiece747 said:
I just gave up for the time the being tried all the CM10/AOSP roms on here and Evervolv kernel/rom is only rom that bluetooth on my vehicle like the Sense roms I used. I tried to use Flash Image GUI and it extracted the kernel I think but it put ChameleonOS on boot animation and would not load. Then I took the boot.img out of the Evervolv rom and replace it in the ChameleonOS and flashed and it would not load so it is either not compatible or I am doing something wrong.
Click to expand...
Click to collapse
Did you check the Linux version? I'm using komodo with cm10.1 inverted rom from tronit without any issue, I've flashed the kernel stabilizer as well...
Sent from my EVO using xda app-developers app

I tried Komodo with Jellybam and the bluetooth was the same so I abandoned it but I think I will try to flash the boot.img from Evervolv again with this a see if it does anything.

headpiece747 said:
I tried Komodo with Jellybam and the bluetooth was the same so I abandoned it but I think I will try to flash the boot.img from Evervolv again with this a see if it does anything.
Click to expand...
Click to collapse
And what's wrong with your bluetooth?
Sent from my EVO using xda app-developers app

The bluetooth pauses every few seconds and the audio is sped up.

Related

[Q] Is there a way to install kernels by just using the phone?

[Q] My pc broke down lastnight and am not able to use adb. Is there a way to install kernels by just using the Thunderbolt?
If you can point me in the right direction I would appreciate it sooooo much. I'm just a basic user so I don't know much about installing kernels besides using adb.
Thanks in advance....
Sent from my ADR6400L using XDA App
Install clockwork recovery after installing rom manager
Sent from my ADR6400L using XDA App
klisp said:
[Q] My pc broke down lastnight and am not able to use adb. Is there a way to install kernels by just using the Thunderbolt?
If you can point me in the right direction I would appreciate it sooooo much. I'm just a basic user so I don't know much about installing kernels besides using adb.
Thanks in advance....
Sent from my ADR6400L using XDA App
Click to expand...
Click to collapse
which kernel are you trying to install?
there is a new kernel, that you can flash through recovery, all the older kernels out there must be pushed through ADB.
nosympathy said:
which kernel are you trying to install?
there is a new kernel, that you can flash through recovery, all the older kernels out there must be pushed through ADB.
Click to expand...
Click to collapse
I'm trying to install Adrynalyne's 2.6.32.21 [Latest Version 1.8] [Updated 3-29-2011]. I thought that all kernels had to be pushed by adb or installed threw amon_ra because of scripts. I'm glad these new kernels don't have to be pushed anymore. Thanks for help nosympathy!
Sent from my ADR6400L using XDA App
klisp said:
I'm trying to install Adrynalyne's 2.6.32.21 [Latest Version 1.8] [Updated 3-29-2011]. I thought that all kernels had to be pushed by adb or installed threw amon_ra because of scripts. I'm glad these new kernels don't have to be pushed anymore. Thanks for help nosympathy!
Sent from my ADR6400L using XDA App
Click to expand...
Click to collapse
adryn also packaged the old kernel as a pg05img to install via hboot
two_cents said:
adryn also packaged the old kernel as a pg05img to install via hboot
Click to expand...
Click to collapse
Thanks for the information! Would we put the PG05img in the root of our SD card or in our / root directory?
Do these kernals need to wipe the data like installing a ROM did?
Sent from my ADR6400L using XDA App
azbryan3 said:
Do these kernals need to wipe the data like installing a ROM did?
Click to expand...
Click to collapse
Nope. Just install and go! As a heads up: It's usually preferable to make a backup using ClockworkMod Recovery/ROM Manager before installing anything.
Well I have a backup of my stock ROM already. Should I let it back up my custom ROM as well? Will that erase the stock backup?
Sent from my ADR6400L using XDA App
azbryan3 said:
Well I have a backup of my stock ROM already. Should I let it back up my custom ROM as well? Will that erase the stock backup?
Sent from my ADR6400L using XDA App
Click to expand...
Click to collapse
yeah you should prob take a backup of your current setup. the whole idea is that anytime you install something, you should have a backup in case the install goes bad (rarely does though). having a backup of your stock ROM is fine in a last resort kinda way. but i'm sure you'd rather restore right back to your custom ROM should something happen.

Flash gui

Is flash gui able to flash a full rom through the app?
Sent from my PG86100 using XDA App
In my experience, only kernels and recoveries.
bman55 said:
Is flash gui able to flash a full rom through the app?
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
tailsthecat3 said:
In my experience, only kernels and recoveries.
Click to expand...
Click to collapse
Yup, only kernels and recoveries. the Flash Image GUI thread is the best place for information on the app.
Unfortunately, there is no way to duplicate the current ROM flashing method while in the standard Android mode ... wish there was!

How Do I Remove a Kernel?

i got a rooted phone. how do i remove a kernel from my phone without flashing another rom?
Flash another kernel.
why do you remove kernel??
if you remove it must be brick.
You mean "change" kernel??
Sent from my SHW-M250S using XDA App
ragepekr said:
why do you remove kernel??
if you remove it must be brick.
You mean "change" kernel??
Sent from my SHW-M250S using XDA App
Click to expand...
Click to collapse
well, i want to install the unity v9 kernel on my rooted phone running virtuous unity. in case something goes wrong with this kernel, i want to be able to remove it. but since you say you can only change it, how can i revert back (or change) to the kernel i had previously on my rom?
Make a nandroid backup so if you want to revert to your previous setup just restore the backup. You could also download the original kernel that came with your rom so you can flash back.
jr67 said:
Make a nandroid backup so if you want to revert to your previous setup just restore the backup. You could also download the original kernel that came with your rom so you can flash back.
Click to expand...
Click to collapse
hi jr67... i got a question.. i already installed the unity v9 kernel. so how can i adjust it?
binlad said:
hi jr67... i got a question.. i already installed the unity v9 kernel. so how can i adjust it?
Click to expand...
Click to collapse
What are you wanting to adjust? The only way to adjust a kernel is ti do it when its compiled from source code.
You cant remove a Kernel. You can ONLY change it.
Make a nandroid backup of your current kernel and flash a new kernel.If anything goes wrong just revert it.
ragepekr said:
why do you remove kernel??
if you remove it must be brick.
You mean "change" kernel??
Sent from my SHW-M250S using XDA App
Click to expand...
Click to collapse
If i remove my kernel how work my arc s ?
Flashing the rom over itself (without wiping data) will keep your user apps intact and restore the kernel that came with the rom.
In the future it's a good idea to do a backup any time you flash a new rom or kernel. You can always delete old backups to save space.
Supersonic Evo 4G | MIUI | Tapatalk
If you're talking about overclocking, undervolting, governors, etc. read the Unity v9 Kernel thread. I also recommend reading droidphile's excellent cpu tweaking faq/tutorial:
http://forum.xda-developers.com/showthread.php?t=1369817
2 kernels
Hi all.. I hve flashed siyah 6.0 kernel and the rom is alliance jb. my prewive kernel is dorimanx after flashed siyah kernel I have checked the kernel in setting about phone it shows 3.1.0- r57-siyah-dorimanx v7.38-ics-jb-sg2-pwr-core... if check using cwm it shows dorimanx kernel only... I need siyah kernel wht to do now
nexus4
hello! i am using PA3.99 n i flashed a franco kernel over it......so i want to go back to my PA rom kernel.....how should i?
muzaffarkhan95 said:
hello! i am using PA3.99 n i flashed a franco kernel over it......so i want to go back to my PA rom kernel.....how should i?
Click to expand...
Click to collapse
Extract kernel out of parom.zip, then flash in fastboot
fastboot erase boot
fastboot flash boot.img
Sent from my Nexus 4 using XDA Premium 4 mobile app
Nexus 4
demkantor said:
Extract kernel out of parom.zip, then flash in fastboot
fastboot erase boot
fastboot flash boot.img
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
sorry can u please please explain me in detail...i dint get you!
muzaffarkhan95 said:
sorry can u please please explain me in detail...i dint get you!
Click to expand...
Click to collapse
Take the ROM you originally downloaded and use 7zip to extract the contents. Inside here you should find the kernel (boot.img) but not always in .img format so if you don't see it let me know.
Then use fastboot to flash this kernel to your phone, more info on that here
http://forum.xda-developers.com/showthread.php?t=2277112
Sent from my Nexus 4 using XDA Premium 4 mobile app
Nexus 4
demkantor said:
Take the ROM you originally downloaded and use 7zip to extract the contents. Inside here you should find the kernel (boot.img) but not always in .img format so if you don't see it let me know.
Then use fastboot to flash this kernel to your phone, more info on that here
http://forum.xda-developers.com/showthread.php?t=2277112
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
cant i flash that PA kernel in CWM recovery?
Sure if there is a recovery flashable .zip out there, you'll have to search for one or create your own. If you search my other threads i have one on creating flashable .zips but it will be more work than just flashing in fastboot.
Let me know if you need a hand either way
Sent from my Nexus 4 using XDA Premium 4 mobile app
Nexus 4
demkantor said:
Sure if there is a recovery flashable .zip out there, you'll have to search for one or create your own. If you search my other threads i have one on creating flashable .zips but it will be more work than just flashing in fastboot.
Let me know if you need a hand either way
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
see i have extract files from the rom i am using, in my pc! so i got a file name boot....u can see it in the image
Good, at this point the fastest/easiest way is to flash with fastboot
Sent from my Nexus 4 using XDA Premium 4 mobile app

[Q] Can' install Kernel

I have reinstalled cm10 JB but can not get a kernel i think. How can I install a new Kernel for this rom.
Thanks
Download komodo in thicklizards thread.
Just wipe caches and flash. If your s-on make sure to download the right version
Sent from my EVO using xda premium
Thanks. But I downloaded the file and installed it but the ROM will still not install. I have tried several other ROMs and the kernels for still no install. I get to recovery and boot loader but something is amiss.
Sent from my EVO using xda app-developers app
Did you install the kernel separately? This thread helped me out.
http://forum.xda-developers.com/showthread.php?t=1937949
Some people like me have to flash the voltage stabilizer with the kernel. Its also available at thicks download section
Sent from my EVO using xda premium
The voltage stabilizer made a big difference for me, highly recommended.
corcgaigh said:
Some people like me have to flash the voltage stabilizer with the kernel. Its also available at thicks download section
Sent from my EVO using xda premium
Click to expand...
Click to collapse

Trying to flash CM 11

So I managed to S-OFF and root my droid dna along with getting clockwork mod installed and I wanted to get the nightlies CM 11 to get android 4.4. I was about to write a new thread because I thought I was stuck on recovery when rebooting, but I am currently restoring my phone from the backup I was told to make (thank god ) but I need to know how how to push the cm 11 file with adb into the internal storage. I need someone to help me with basic instructions on pushing the cm 11 into /sdcard so I can flash it.
You can either sideload the Rom from computer to your phone or you can download the Rom on your phone. Be sure to follow instructions. Download Rom and gapps. U can flash it through the recovery
Sent from my dlx using XDA Premium HD app
lucky_strike33 said:
You can either sideload the Rom from computer to your phone or you can download the Rom on your phone. Be sure to follow instructions. Download Rom and gapps. U can flash it through the recovery
Sent from my dlx using XDA Premium HD app
Click to expand...
Click to collapse
I actually tried plugging my phone into my pc and put the .zip into the internal storage of the phone and I went to clockwork mod and found that .zip, attempted to flash that, and it didnt work. It gave me an error and I forgot the error code. If you want I can retrieve it again but if you know what to do without it, what now?
lucky_strike33 said:
You can either sideload the Rom from computer to your phone or you can download the Rom on your phone. Be sure to follow instructions. Download Rom and gapps. U can flash it through the recovery
Sent from my dlx using XDA Premium HD app
Click to expand...
Click to collapse
When you say I can download the rom on my phone do you mean to download the rom from my web browser and have it saved in my downloads folder and flash?
Yes that's correct. It will automatically go to your downloads folder
Sent from my dlx using XDA Premium HD app
mx98station said:
When you say I can download the rom on my phone do you mean to download the rom from my web browser and have it saved in my downloads folder and flash?
Click to expand...
Click to collapse
You have to use CWM 6.0.4.4 or higher to flash 4.4+ I'd say that's your issue. If you are rooted you will have to flash root after CM 11
Sent from my HTC6435LVW using Tapatalk
Ok well I believe I might have a lower version of cwm and I need to know how to update my version of cwm to the version you are talking about. How do I replace my current version of cwm?
Sent from my HTC6435LVW using xda app-developers app
mx98station said:
Ok well I believe I might have a lower version of cwm and I need to know how to update my version of cwm to the version you are talking about. How do I replace my current version of cwm?
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
Download the new version and flash it in fastboot.
Another few questions. One, from what I understand the highest version of cwm specifically for my droid DNA does not go up to 6.0.4.4, but rather 6.0.3.1. Is there a way to get this working or do I have to wait for a newer version. Also, how would I update my cwm to this version; what do I do to update it IF I get that 6.0.4.4 update. One more thing, you said I need to flash root after cyanogen mod 11. How do I do this?
Sent from my HTC6435LVW using xda app-developers app
mx98station said:
Another few questions. One, from what I understand the highest version of cwm specifically for my droid DNA does not go up to 6.0.4.4, but rather 6.0.3.1. Is there a way to get this working or do I have to wait for a newer version. Also, how would I update my cwm to this version; what do I do to update it IF I get that 6.0.4.4 update. One more thing, you said I need to flash root after cyanogen mod 11. How do I do this?
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
The 4.4 threads should have a link to a compatible version of CWM. Flash it in fastboot just as you did with the prior version. As far as superuser, you shouldn't need to flash it in recovery since its already rooted and has superuser. I believe flashing superuser was required for the new Sense 5 update until developers released prerooted ROMs.
orangechoochoo said:
The 4.4 threads should have a link to a compatible version of CWM. Flash it in fastboot just as you did with the prior version. As far as superuser, you shouldn't need to flash it in recovery since its already rooted and has superuser. I believe flashing superuser was required for the new Sense 5 update until developers released prerooted ROMs.
Click to expand...
Click to collapse
Do you think maybe you could supply me a link to this compatible version of cwm 6.0.4.4 or whatever it is that works with kitkat for me so I don't screw myself over?
Sent from my HTC6435LVW using xda app-developers app
There is a direct link to it in the op of the cm11 thread http://forum.xda-developers.com/showthread.php?t=2558758
Sent from my Droid DNA using Tapatalk Pro

Categories

Resources