Kernel's? - Nexus S Q&A, Help & Troubleshooting

Can someone explain to me how kernel's work and if I flash one will I be able to get rid of it? Say flash a stock one? Someone please explain.

Make a nandroid before flashing the kernel

Darrien13 said:
Can someone explain to me how kernel's work and if I flash one will I be able to get rid of it? Say flash a stock one? Someone please explain.
Click to expand...
Click to collapse
The kernel provides the subsystem on which the OS itself operates. It is the interface to the physical hardware, handling access to physical devices as well as memory management. An optimized kernel can make a significant difference over a "vanilla" configuration.
Make a nandroid before you flash any kernels to go back easily. Otherwise you could reflash the full 2.3.3 rom.

thank you guys

If you're using CM7 and want to flash a kernel over it. You can just reflash CM7 without wiping anything and it would override your kernel with stock. CM7 includes stock kernel in it.

Yarr when I upgraded from 2.3.2 to CM7 RC1, my netarchy 1.2.5 resetted back to stock as I lost my Overclock. I just wasn't sure it was a stock kernel or a modified one specifically for CM7 that happened to not have an OC.

Aria807 said:
Yarr when I upgraded from 2.3.2 to CM7 RC1, my netarchy 1.2.5 resetted back to stock as I lost my Overclock. I just wasn't sure it was a stock kernel or a modified one specifically for CM7 that happened to not have an OC.
Click to expand...
Click to collapse
its stock. if you use SetCPU and check the info, its labeled as google.com
or about phone it says #google

Related

Phone wont bootup on Imoseyon kernel

Just flashed imoseyon's kernel on my rooted thunderbolt and now I'm stuck in a bootloop...any advice? I've running stock rom.
It's the lean version of his kernel and thats the only thing I flashed. I cleared cache + davik cache before flashing.
I was able to do a restore, but I want to use this kernel
It sounds stupid, but try again. Clear cache and dalvik
I've tried 5 times Even tried uninstalling setcpu and unfreezing all the bloatapps that I had frozen. Still get stuck on boot
I've also tried re-downloading the kernal file in case it was corrupt...no luck still.
Which Imoseyon kernel are you running?
Could it be that your particular Tbolt won't handle the lower voltage? Also you might want to check the md5sum again.
Good luck.
brenick said:
Which Imoseyon kernel are you running?
Could it be that your particular Tbolt won't handle the lower voltage? Also you might want to check the md5sum again.
Good luck.
Click to expand...
Click to collapse
I said its the lean version, and he doesnt post md5sum so I have nothing to compare to. But thanks for using my thread to +1 your post count....
wifi is broke and my data is stuck on 1X only now after doing advanced restore-->reboot only.
Did you flash the GB Sense kernel instead of the Froyo kernel?
I used this 1... http://forum.xda-developers.com/showthread.php?t=1021404 It says Froyo... where can I find the stock kernel that you get after rooting? I need to get wifi/data working again now.
I mount the phone as disk drive on my computer, and I can only view the SD Card...ugh whats going on, so many issues after flashing this kernel
I did a factory reset now and I still cant connect to wifi/3g/4g...I think I need to flash the stock kernel to fix it. Can someone point me in the right direction please?
Flash another rom such as BAMF, whenever you flash a rom it flashes the kernel that is included in the rom as well.
I'm using his kernel just fine. Can you check your radio version?
Sent from my ADR6400L using XDA App
radio 1.16.00.0402, and Im on the stock ROM, dont want to use a special ROM...
Flash a rom or the stock rom that should get you on another kernel. Also, my TB couldn't handle some of the kernels. I was never able to get it at 1.92ghz. I can only use the normal version. Try one of the other versions. Best of luck!
Sent from my DROID PRO using Tapatalk
make sure the kernel is not oc'd to 1.92.................most phones can not handle that.

Issues with installing certain ROMS [SUCCESS!!!]

Some of the user's here, myself included, have been having issues installing any ROMs/ kernels built by Faux. What I'm trying to do is pinpoint the exact cause of this and hopefully rectify the issue.
I'm currently downloading all available ROMs and will install each to determine which are flashable and which are not.
Flashing Procedures
0. Boot into CMW Recovery: External with EXT 4 support using volume down + power method
1. Wipe Data
2. Wipe Cache
3. Wipe Dalvik
4. Format /System
5. Flash ROM
6. Select Power Down from CMW Menu
7. Power on phone without wall charger plugged in
ROM List:
Bionix- Confirmed as working
EagleBlood GB- Confirmed as working
EagleBlood FR- Confirmed as working
Ultimate- Confirmed as working
Light&Sinister- Confirmed as working
Dark&Sinister- Confirmed as working
Faux AOSP-NOW WORKING!!
CM7- Confirmed as working
LG Stock- Confirmed as working
Observations:
Bionix converts /system and /data to ext3. I figured that if the issue we were having with Faux was due to format errors then I could just flash Faux over Bionix and it would boot. In testing, it seems like Faux gets further when flashed this way but still refuses to boot. Before I would only get the initial LG screen and then it would black out. Now I can get to the second LG screen with blue background but it hangs there. Will run logcat to see what is causing the freeze once I get logcat running again.
My current theory is that there is a difference in the boot.img that Faux has built for his ROM that will not boot correctly. I have the same issue with his kernels as well. They boot to the first LG splash screen and then the screen shuts off. Still struggling with my logcat issue so I'm at a standstill until that is fixed.
Development:
I was finally able to get pure AOSP to boot by flashing Faux's AOSP and then flashing Morfic's CM7 kernel. I personally believe this definitely proves that there is something in Faux's boot.img that doesn't function properly on all devices.
At Faux's suggestion, I flashed his Stock Voltage kernels in order to see if I could get the phone to boot.
Kernel:
[ Start @ 1.0 GHz, Stock Voltage, Max @ 1.2 GHz ]
(Official LGE/Tegra Voltage Values, Same as STOCK LGE Kernel)
CM7 Kernel Version 0.1.9- Boots to second LG splash screen then freezes.
CM7 Kernel Version 0.1.9 With EXT4-Booted fine but still displayed Morfic boot animation for some reason. Kernel version shows as Faux's in about phone, though.
I want to flash my first ROM, any suggestions on which one is the most stable and better with battery life than the Stock ROM?
Mikeglongo said:
I want to flash my first ROM, any suggestions on which one is the most stable and better with battery life than the Stock ROM?
Click to expand...
Click to collapse
I didn't test any of the ROMs for quality but I would personally stick with a Froyo based ROM for now. Gingerbread is simply too buggy and missing a lot of features.
[B][U]SUCCESS!!![/U][/B]
I was finally able to get pure AOSP to boot by flashing Faux's AOSP and then flashing Trinity's CM7 kernel. I personally believe this definitely prooves that there is something in Faux's boot.img that doesn't function properly on all devices. That would explain why I am unable to flash any of his kernels, either.
Most likely scenario is that you have a "weaker" chip which cannot handle the default OC to 1.1 and Under volting. Because of your case and a few others like you with the "weaker" chips, I have decided from next version on to include LG STOCK VOLTAGE version of my kernel as default kernel for the ROM and it's up to the users to install the OC/UV version themselves afterwards.
My solution is while in CWM, after you flashed the ROM, before you reboot, FLASH my STOCK VOLTAGE (SV) version of the kernel, then reboot. You should have NO ISSUES with STOCK VOLTAGE kernels.
So far for MT4G and G2x, I have been lucky with my phones. Both phones I can Undervolt and overclock AT the SAME TIME with very aggressive settings and remain stable with multiple runs of stress tests and benchmarks.
faux123 said:
Most likely scenario is that you have a "weaker" chip which cannot handle the default OC to 1.1 and Under volting. Because of your case and a few others like you with the "weaker" chips, I have decided from next version on to include LG STOCK VOLTAGE version of my kernel as default kernel for the ROM and it's up to the users to install the OC/UV version themselves afterwards.
My solution is while in CWM, after you flashed the ROM, before you reboot, FLASH my STOCK VOLTAGE (SV) version of the kernel, then reboot. You should have NO ISSUES with STOCK VOLTAGE kernels.
So far for MT4G and G2x, I have been lucky with my phones. Both phones I can Undervolt and overclock AT the SAME TIME with very aggressive settings and remain stable with multiple runs of stress tests and benchmarks.
Click to expand...
Click to collapse
The only problem with that theory, Faux, is that Morfic's kernel undervolts as well. Flashing his kernel on top of your ROM is the current workaround that I've found.
hiko36 said:
The only problem with that theory, Faux, is that Morfic's kernel undervolts as well. Flashing his kernel on top of your ROM is the current workaround that I've found.
Click to expand...
Click to collapse
I don't know what Morphic is doing with his under volting, theres no source code to compare. My source is based on CM7 with my tweaks added and its available via github for inspection.
faux123 said:
I don't know what Morphic is doing with his under volting, theres no source code to compare. My source is based on CM7 with my tweaks added and its available via github for inspection.
Click to expand...
Click to collapse
Please don't view my opinions as doubting your ability. This has just been a frustrating journey for a lot of us because we want to use your kernels/ROMs. I couldn't find anywhere where this had been addressed so I decided to take it upon myself. At this time, the two options we have are flashing your stock voltage kernel or Morfic's. Now that it's booted and running, I can say that you've built a beautiful ROM and I hope you continue to support it. Amazing work.
hiko36 said:
Please don't view my opinions as doubting your ability. This has just been a frustrating journey for a lot of us because we want to use your kernels/ROMs. I couldn't find anywhere where this had been addressed so I decided to take it upon myself. At this time, the two options we have are flashing your stock voltage kernel or Morfic's. Now that it's booted and running, I can say that you've built a beautiful ROM and I hope you continue to support it. Amazing work.
Click to expand...
Click to collapse
I took NO offense of your investigation or posts. I am actually glad you did all these. You have provided me reason for using stock voltage kernel as default. I was contemplating about this change a while back, but since your post, I decided to do it so more people can try my ROM without having random reboots or issues due to UV/OC combination.
I am simply posting what I can and cannot do. I can do only what I can read and see.
faux123 said:
I took NO offense of your investigation or posts. I am actually glad you did all these. You have provided me reason for using stock voltage kernel as default. I was contemplating about this change a while back, but since your post, I decided to do it so more people can try my ROM without having random reboots or issues due to UV/OC combination.
I am simply posting what I can and cannot do. I can do only what I can read and see.
Click to expand...
Click to collapse
Glad I could help and especially glad I finally figured out a way to boot your ROM. I was feeling left out haha.
Doh! He said rectify lol
Sent from my Xoom using XDA Premium App

[Q] Looking for stock kernel

Could one of my fellow G2x fans direct me to a download of the stock Kernel? I searched and did not find it. I have made a nandroid backup and titanium backup and want to play with Faux's kernel. Instead of restoring a complete backup if I want to remove it, I would rather just flash the stock kernel. Is this possible or am I misunderstanding something?
Thanks
I doubt you will find a complete stock original kernel, faux kernel for froyo is based on stock. Use faux froyo kernel you won't regret it, the best froyo kernel out! Stable, fast, good on battery, your phone will never be the same.......
Suprah..."no cyanogen, rom manager still fake flashes the roms thats y for nvidia phones we have to use nvflash"
fcisco13 said:
I doubt you will find a complete stock original kernel, faux kernel for froyo is based on stock. Use faux froyo kernel you won't regret it, the best froyo kernel out! Stable, fast, good on battery, your phone will never be the same.......
Suprah..."no cyanogen, rom manager still fake flashes the roms thats y for nvidia phones we have to use nvflash"
Click to expand...
Click to collapse
Thanks for the response. I tried a couple different versions and ran into some issues and had to restore back to stock. The ext4 version messed with the black taskbar I have loaded and the ext3 with no overclock was half the speed of the stock kernel acording to several benchmarks I ran. I wanted to continue to experiment but wanted a simple solution to move back if I needed to without doing a complete restore of a backup.
I agree Faux is a terrific developer and I am sure my issues are of my own making. I wonder if he could upload the base stock kernel. I think I will pm him.
Still on the hunt for the stock kernel. Any dev's out there that can help?
You will receive excellent karma for helping me out. I promise.
Edit. I think I will try this. I am going to restore my phone to stock and use the following extract method.
http://forum.androidcentral.com/epic-4g-rooting-roms-hacks/41381-how-extract-kernel-rom.html
I will post the stock kernel if I am able to get this to work.

[Q] How do I OC in Infused?

I've been figuring out how to install custom roms and kernels lately, and was wondering if it is possible to combine an Infusion kernel with an Infused rom, and what the best procedure for that would be.
I tried Infused 2.1 and then loading the 1.8 Infusion kernel but was met with bootloops. Would it be more stable perhaps to install Infused 1.6 and Infusion 1.5.1/2 ?
And just to be sure, would I install the Infused rom, then the Infusion kernel, and then root + load rom manager backup image? Or would titanium be a better option to recover with? I have both of them backed up.
AntiCommon said:
I've been figuring out how to install custom roms and kernels lately, and was wondering if it is possible to combine an Infusion kernel with an Infused rom, and what the best procedure for that would be.
I tried Infused 2.1 and then loading the 1.8 Infusion kernel but was met with bootloops. Would it be more stable perhaps to install Infused 1.6 and Infusion 1.5.1/2 ?
And just to be sure, would I install the Infused rom, then the Infusion kernel, and then root + load rom manager backup image? Or would titanium be a better option to recover with? I have both of them backed up.
Click to expand...
Click to collapse
woah... you are WAY off on absolutely everything.
first and foremost, you need to be rooted before you can do anything that you are attempting to describe. figure out how to root in the "development" section.
as for flashing things, this guide is for a tablet, but same general process applies to the infuse: http://www.androidtablets.net/forum...m-manager-nandroid-backup-custom-kernels.html
and then as for the kernels you are referring to - as a general rule (few exceptions), you may only flash froyo kernels with froyo ROMs, and gingerbread kernels with gingerbread ROMs. you can find out what kind of ROM/kernel you are attempting to flash by reading the title of the thread, or the original post.
research everything THOROUGHLY, so that you know what you are doing before you do this!
AntiCommon said:
I've been figuring out how to install custom roms and kernels lately, and was wondering if it is possible to combine an Infusion kernel with an Infused rom, and what the best procedure for that would be.
I tried Infused 2.1 and then loading the 1.8 Infusion kernel but was met with bootloops. Would it be more stable perhaps to install Infused 1.6 and Infusion 1.5.1/2 ?
And just to be sure, would I install the Infused rom, then the Infusion kernel, and then root + load rom manager backup image? Or would titanium be a better option to recover with? I have both of them backed up.
Click to expand...
Click to collapse
You could not use the 1.8 kernel because it is a froyo kernal and infused 2.1 is gingerbread.
If you want both flash infused 2.1 and then infusion kernel 1.6 for gingerbread.
Sent from my SGH-I997 using xda premium
I've already rooted my phone, got the modified 3e recovery, and flashed the update.zip from CWM.
Now, I've downloaded infusion-GB.1.1.zip and am downloading update-infused-v2.1.0-full.zip.
Now, to my understanding I would go about installing both of these by first using Rom Manager to install update-infused-v2.1.0-full.zip (and clearing user data/cache), thus installing the GB rom. Then I would use CWM (getting to it via two volume buttons plus power button) and pressing the update option on the list.
Can anyone point me as to where I might be going wrong with my logic? If this rom and kernel are not compatible (even though they both clain to be GB) then should I instead use the Infusion 1.5.1/2 kernel and update-infused-v1.6.0-full.zip files?
Also are backups from FROYO roms incompatible with GB Rom Manager?
AntiCommon said:
I've already rooted my phone, got the modified 3e recovery, and flashed the update.zip from CWM.
Now, I've downloaded infusion-GB.1.1.zip and am downloading update-infused-v2.1.0-full.zip.
Now, to my understanding I would go about installing both of these by first using Rom Manager to install update-infused-v2.1.0-full.zip (and clearing user data/cache), thus installing the GB rom. Then I would use CWM (getting to it via two volume buttons plus power button) and pressing the update option on the list.
Can anyone point me as to where I might be going wrong with my logic? If this rom and kernel are not compatible (even though they both clain to be GB) then should I instead use the Infusion 1.5.1/2 kernel and update-infused-v1.6.0-full.zip files?
Also are backups from FROYO roms incompatible with GB Rom Manager?
Click to expand...
Click to collapse
those are compatible. no need to clear anything when installing the kernel, only the ROM - just go into red CWM, using the buttons like you said, and flash the infused ROM zip, and then the infusion kernel zip.
once you're done with that, get voltage control or setCPU from the market, and you should be able to adjust the maximum frequency to 1.6, although it may not be stable.
I managed to get it all working. I followed all the steps from this post and after doing those steps I used red CWM to update the kernel meaning that my cetCPU can OC and manage the cpu up to 1.6ghz.
Thanks all for info and help! Much appreciated
Now, while we're still here... can anyone recommend a good icon/theme changer for Infused? It'd be nice to have icons like what gtg465x has on the screens in the link I posted.
P.S. I didn't restore my apps/data with my backups simply because in his post, gtg465x said not to use them unless absolutely necessary.
i have infused 2.1 installed on my infuse and i was wondering which kernel you used to get it all working
i also wanna know how you oc ur phone
e0mandaniel said:
i have infused 2.1 installed on my infuse and i was wondering which kernel you used to get it all working
i also wanna know how you oc ur phone
Click to expand...
Click to collapse
You'll want to use the Infusion 1.0/1.1 kernel for Infused 2.1. You must use gingerbread kernels with gingerbread roms. You can download Voltage Control or Setcpu from market to be able to OC/UV. Once you've downloaded either, set your max to 1.6, you can go through the setting and set what you like as far as speed and volts. I use Voltage Control, my setting are:
Cfq scheduler ondemand Governor
200-1600mhz
200, 400, 800, 1200, 1600mhz enabled. dont use more than 5-6 settings.
UV
1600-75
1200-75
800-50
400-50
200-50
I know you can UV more than what I am using, but I dont like to push it to its max UV.
what is cfq
---------- Post added at 05:13 AM ---------- Previous post was at 05:12 AM ----------
oh and any suggested rom?
e0mandaniel said:
what is cfq
---------- Post added at 05:13 AM ---------- Previous post was at 05:12 AM ----------
oh and any suggested rom?
Click to expand...
Click to collapse
Cfq is a setting for the scheduler in voltage control, I believe it means completely fair queuing. You can use the ROM infused 2.1.0 with that kernel, its what im running.
Sent from my SAMSUNG-SGH-I997 using XDA App
Nevermind i read on and on

how can I revert flashed kernel settings

so I, for the first time, flashed that new kernel on the front page of this discussion which overclocks the cpu. I have the newest version of jellybean installed so I considered that a stock based rom and thought it would work. in power svae mode the screen would go all crazy, balanced mode it was aalright except it would crash after a while. peformance mode would crash even sooner. so I found a stock based kernel and flashed that. Everything is fine now except the previous kernel changed some settings on the screen rresolution or something with the gpu which increased screen size I guess cause now my custom Hubs GUI is all spaced out which I had previously and meticulously spaced before hand. it caused smaller screen titles and smaller widgets basically making things look out of proportion. is there a way to revert those settings? it seems since the stock kernel doesnt innately change gpu settings that it didnt revert the settings initially set by the first kernel. the kernel I flashed to fix it was a stock kernel slightly modified from cleanrom to do something dpi and some other unimportant thing so it isnt the completely stock kernel but it is stock based. does anyone think If I flash a true stock kernel it will get fixed? if so can I get a link to said kernel or will I have to extract it myself from a stock rom
spidasense said:
so I, for the first time, flashed that new kernel on the front page of this discussion which overclocks the cpu. I have the newest version of jellybean installed so I considered that a stock based rom and thought it would work. in power svae mode the screen would go all crazy, balanced mode it was aalright except it would crash after a while. peformance mode would crash even sooner. so I found a stock based kernel and flashed that. Everything is fine now except the previous kernel changed some settings on the screen rresolution or something with the gpu which increased screen size I guess cause now my custom Hubs GUI is all spaced out which I had previously and meticulously spaced before hand. it caused smaller screen titles and smaller widgets basically making things look out of proportion. is there a way to revert those settings? it seems since the stock kernel doesnt innately change gpu settings that it didnt revert the settings initially set by the first kernel. the kernel I flashed to fix it was a stock kernel slightly modified from cleanrom to do something dpi and some other unimportant thing so it isnt the completely stock kernel but it is stock based. does anyone think If I flash a true stock kernel it will get fixed? if so can I get a link to said kernel or will I have to extract it myself from a stock rom
Click to expand...
Click to collapse
You can't use custom OC kernel with stock rom. You need to flash custom rom like Cleanrom and you can flash what ever kernel you want that designed for CleanRom.
buhohitr said:
You can't use custom OC kernel with stock rom. You need to flash custom rom like Cleanrom and you can flash what ever kernel you want that designed for CleanRom.
Click to expand...
Click to collapse
ooh I see. the kernel I flashed was the clemsyn kernel and I just saw that it was for clean rom. damn ok lesson learned. anyway to revert the setings it changed on my gpu?
p.s. can I flash roms on my tablet without losing app data or settings or my hub UI settings? im on 4.1.1
spidasense said:
ooh I see. the kernel I flashed was the clemsyn kernel and I just saw that it was for clean rom. damn ok lesson learned. anyway to revert the setings it changed on my gpu?
p.s. can I flash roms on my tablet without losing app data or settings or my hub UI settings? im on 4.1.1
Click to expand...
Click to collapse
You should able to flash cleanrom without losing any data, during the install there're options for many kernels, I suggest try the "_that stock kernel" first
spidasense said:
ooh I see. the kernel I flashed was the clemsyn kernel and I just saw that it was for clean rom. damn ok lesson learned. anyway to revert the setings it changed on my gpu?
Click to expand...
Click to collapse
Anyone else with an unlocked bootloader uses a custom ROM that sets the display dpi. This has nothing to do with the GPU, it's just a setting that tells Android the display resolution so that it can scale UI elements accordingly.
To get your 240 dpi back, either install CleanROM Inheritance, or the first kernel in this thread:
http://forum.xda-developers.com/showthread.php?t=2106689
that is actually the kernel Iflashed to ttry and fix the dpi. thanks for informing me on that, I had a hunch dpi had something t odo with the problem I was having. I only tried one of them I guess theother one (ill have to check my sd card to find out which one ) will fix it.
and to be clear, I can flash clear rom inheritince and not lose app data or settings?
Sent from my ASUS Transformer Pad TF700T using xda app-developers app

Categories

Resources