Flashing - Nexus S Q&A, Help & Troubleshooting

So I've been flashing various roms, kernels, and radios onto my Nexus S since the release. I've never read to deeply into the exact procedure for flashing these items.
I know you are suppose to wipe device, cache, davik, ect. But then are you suppose to flash the rom, reboot the device, and then flash the kernel and radio?
What if you wiped the device and just flashed a rom without a kernel? Does the kernel you have previously take into effect or is it built into the rom?

No, Roms come with a kernel. If you don't flash a kernel you will have whatever kernel the developer uses in his/her Rom.
Sent from my Nexus S 4G using XDA Premium App

housry23 said:
No, Roms come with a kernel. If you don't flash a kernel you will have whatever kernel the developer uses in his/her Rom.
Sent from my Nexus S 4G using XDA Premium App
Click to expand...
Click to collapse
Wha? Not all ROM's come with kernels... if you flash one that does not have a kernel then you will be left with what you had before (stock).

Related

[q] my screen is black afer installling kernel!!

I just installed the [Kernel]CM7 [2.6.32.45] on my phone with CM7 already installed. when I turned on the device after the LG logo my screen turns black?!! What coulfd be the issue...I apologize if i come off as a idiot....
You installed what kernel???
From who?
From where?
Cm7 rom has a stock kernel, so you must have flashed a custom kernel, did you check to see if it was compatible with cm7??
Yes its this kernel [Kernel]CM7 [2.6.32.45]. I downloaded from XDA and it says its compatible with CM7. When i rebooted the G2x from CWM the LG logo showed up and then went to a black screen
Just enable USB connection and put a different kernel on ur phone and flash it. Ur phone obviously can't handle the kernel
Sent from my LG-P999 using XDA App
Also this happened to me when flashing an underclocked kernel from cm7. But then i flashed a different version of it and its now working perfectly i get mad battery.life.
Sent from my LG-P999 using XDA App
noobletsausecakebbq said:
Also this happened to me when flashing an underclocked kernel from cm7. But then i flashed a different version of it and its now working perfectly i get mad battery.life.
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
Which CM7 Kernels could the G2x handle fo.....Im new to the whole kernel thing & im tryna get some help & I want to get more power from my phone.
Each kernel is different for speed, battery life, experimental... so on and so on. Every chipset is different in our phones some can't handle certain kernels.
Sent from my LG-P999 using XDA Premium App
So what kernels would work on any G2x?? Thanks for the tip idk all our chip sets are different.
Sent from my LG-P999 using XDA App
Personally om using latest faux's kernel, I'm on latest nightly - cm7
http://forum.xda-developers.com/showthread.php?p=13678237
Don't forget to wipe cache, wipe dalvik cache, then flash kernel, then run fix permission, reboot, enjoy
Sent from my LG-P999 using xda premium
Sounds they are referring to Faux's Kernel...
You have to match them up properly as CM7 just went through a few kernel changes and the Custom Kernel developers have to make them compatible. I think Faux has .44 out which is supposed to work...
Then you also have 4 options from Faux: Pre-OC/UV or Stock Speeds; and CM and DS battery drivers.
player911 said:
Sounds they are referring to Faux's Kernel...
You have to match them up properly as CM7 just went through a few kernel changes and the Custom Kernel developers have to make them compatible. I think Faux has .44 out which is supposed to work...
Then you also have 4 options from Faux: Pre-OC/UV or Stock Speeds; and CM and DS battery drivers.
Click to expand...
Click to collapse
Thanks yall u helped out alot.............I just installed the WEAPON ROM with the FAUX Kernel & im using Pimp my CPU for OC & UC........Besides Faux what kernels would be good to use on all G2x phones?

After flashing new kernel device don't boot

Hey guys
I'm running SlimBean 2.8.0 ROM and when I try flash a new kernel, device not boot. Logo Google pass and there isn't nothing more. Only backlight of hardware keys is on. SlimRom's boot animation is not show. I tried a lot of kernels (Matr1x, Air, vta2...) but no one was work. I tried wipe data and then flash a new kernel - no effect. Wiped dalvik cache - no effect. I tried to make clean install of SlimRom's (without Gapps) then flash new kernel - no effect again. Before flashing each of that kernels I make a clean install of SlimRom (with its stock kernel). Now I'm using stock kernel.
I need a custom kernel for USB host mode.
Any ideas?
Make sure you are flashing a cm kernel
Sent from my Nexus S 4G using xda app-developers app
n2d551 said:
Make sure you are flashing a cm kernel
Sent from my Nexus S 4G using xda app-developers app
Click to expand...
Click to collapse
+1 for that. At 2.8 SlimBean merged CM kernel code meaning you have to now flash the CM kernel and not the All Others.
I'll try this. Thanks
Edit: It works! Thanks again!

Best stable kernels to use with stable CM10 build?

I just learned about the kernels for the XL and was interested in having the s2w feature. Can anyone advise the most stable build I can use with stable CM10 on the phone? I am new to kernel flashing and in a few threads, it appears the kernels are either CM10 nightly enabled (past the stable -- incompatible) or for Sense ROMs (also incompatible).
the kernels in the android development are sense only. since you want sleep2wake the only real option for you is rohan's kernel, its meant for aosp roms like cm10, and is the only kernel for jb roms that has s2w.
And for future references, if I am running on Rohan's kernel and flash a Sense ROM over it what would happen? Are you suppose to flash the kernel with a Sense kernel before going back to a Sense rom?
an_xda said:
And for future references, if I am running on Rohan's kernel and flash a Sense ROM over it what would happen? Are you suppose to flash the kernel with a Sense kernel before going back to a Sense rom?
Click to expand...
Click to collapse
Yes, non sense kernels will not work with sense roms. Reinstall stock or one of the other sense kernels when you switch roms.
Sent from my HTC One X using xda premium
Skeeterdrums said:
Yes, non sense kernels will not work with sense roms. Reinstall stock or one of the other sense kernels when you switch roms.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
I should be more clear. If I had Rohan on my phone and went to a Sense ROM before flashing a Sense kernel, would I brick my device or would the kernel just 'not work/disable itself'?
an_xda said:
I should be more clear. If I had Rohan on my phone and went to a Sense ROM before flashing a Sense kernel, would I brick my device or would the kernel just 'not work/disable itself'?
Click to expand...
Click to collapse
You would just soft brick and the phone would be stuck in boot loop. Why would you even try?
Sent from my One X using xda premium
ChefAnt said:
You would just soft brick and the phone would be stuck in boot loop. Why would you even try?
Sent from my One X using xda premium
Click to expand...
Click to collapse
So if you are on CM10, how would you flash the Sense kernel and a Sense ROM? What would the order be?
an_xda said:
So if you are on CM10, how would you flash the Sense kernel and a Sense ROM? What would the order be?
Click to expand...
Click to collapse
First make a full wipe (factory reset, all that), then flash your rom using the typical procedures, then flash a sense kernel. Same goes for AOSP, make a full wipe if coming from another rom, flash the rom, then the kernel.
utkaar099 said:
First make a full wipe (factory reset, all that), then flash your rom using the typical procedures, then flash a sense kernel. Same goes for AOSP, make a full wipe if coming from another rom, flash the rom, then the kernel.
Click to expand...
Click to collapse
No this could be wrong. I am assuming OP is on 1.14 hboot. Older hboots allow you to flash kernels. With 1.14, kernels will not flash in recovery. Either use fastboot to flash kernels or use flash image GUI app found in the themes and apps section. After kernel is flashed then flash your ROM in recovery as normal.
Sent from my One X using xda premium
Thanks folks. Just what I needed to know for future references.
What the other guy said is true, but that was actually what I was hinting at when I said "typical procedure." I'll be more specific next time... Also, your very welcome!
Sent from my HTC One XL using xda app-developers app
ChefAnt said:
No this could be wrong. I am assuming OP is on 1.14 hboot. Older hboots allow you to flash kernels. With 1.14, kernels will not flash in recovery. Either use fastboot to flash kernels or use flash image GUI app found in the themes and apps section. After kernel is flashed then flash your ROM in recovery as normal.
Sent from my One X using xda premium
Click to expand...
Click to collapse
in this process, when should you do the full wipe? before or after flashing the new kernel using the fastboot method?

[Q] Updating Kernel

Sup, so I'm still quite the noob at all the rooted stuff, like flashing etc... I have franco kernel and im running cm, when i update my kernel am I supposed to flash the kernel again or will it actually be updated?
For which phone n its not necessary to flash again n again unless u flash with custom rom
Sent from my GT-I9082 using xda premium
(But CM has really good kernel)
When flashing a custom ROM the kernel is flashed as well. Most of the time that kernel is an adapted kernel of a widely used one (e.g. Semaphore or DerTeufel), so that it can be verified in conjunction with the ROM. So yes, when flashing the custom ROM, immediately after that flash the kernel of choice. With the right app, you can even configure the kernel and play around with strings and scripts
Jopejt

Can't boot custom kernels

I'm flashing roms for a very long time, but I ran into a problem, I can not understand:
I have unlocked my bootloader.
Flashed TWRP
Formatted all the partitions in TWRP.
I have flashed AOKP nightly 02/01/2014 but whenever I trie to flash a custom kernel (tried bricked and Franco) my phone won't boot. It's stuck at the Google logo.
How come?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Caspertje19 said:
I'm flashing roms for a very long time, but I ran into a problem, I can not understand:
I have unlocked my bootloader.
Flashed TWRP
Formatted all the partitions in TWRP.
I have flashed AOKP nightly 02/01/2014 but whenever I trie to flash a custom kernel (tried bricked and Franco) my phone won't boot. It's stuck at the Google logo.
How come?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Make sure all the partitions are the correct size as well as make sure the Kernel supports the ROM. If you read the individual kernel threads and do a search, the information should be available. Its been discussed that many ROMs have switched some code in the nightlies to not being supported by some kernels while others work (such as Chaos kernel working on CM ROM while Franco kernel works stock). Depends on your preference then once you find which are supported and which are not. There is also a thread (I believe in Original Development or the other development thread) that bridges the kernel support of some to work on the newer CM based nightlies based on the CAF/nonCAF system codes that are being worked on.
Caspertje19 said:
I'm flashing roms for a very long time, but I ran into a problem, I can not understand:
I have unlocked my bootloader.
Flashed TWRP
Formatted all the partitions in TWRP.
I have flashed AOKP nightly 02/01/2014 but whenever I trie to flash a custom kernel (tried bricked and Franco) my phone won't boot. It's stuck at the Google logo.
How come?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Because you flashed a kernel that is not compatible with the rom. Re-flash the rom and then find a kernel that is compatible with AOKP.
I was coming from the nexus 4 running AOKP and they have had a poll about caf or non-caf. They decided non-caf, that's why I thought Franco kernel should work (worked on nexus 4).
But I see I have to do some searching.
I thought the decision was already made by the AOKP to use aosp kernel.
Sent from my Nexus 5 using XDA Premium 4 mobile app

Categories

Resources