[Q] Kernel related question - Samsung Galaxy Nexus

I have never flashed any kernels, just custom roms. From what I have read it goes down the same way, just flash the zip from SD in recovery and wipe cache. Correct?
Also, if I want to go back to stock kernel can I flash back to a JOP40C ( this one http://forum.xda-developers.com/showthread.php?t=1992483 ) even though my build is JOP40D ?

Robert00001 said:
I have never flashed any kernels, just custom roms. From what I have read it goes down the same way, just flash the zip from SD in recovery and wipe cache. Correct?
Also, if I want to go back to stock kernel can I flash back to a JOP40C ( this one http://forum.xda-developers.com/showthread.php?t=1992483 ) even though my build is JOP40D ?
Click to expand...
Click to collapse
just flash it in your recovery(if its a flashable zip). dont wipe a single thing, dalvik and cache have nothing to do with kernels. worst case scenario, it doesnt boot. then just reflash your rom in your recovery to fix it.

simms22 said:
just flash it in your recovery(if its a flashable zip). dont wipe a single thing, dalvik and cache have nothing to do with kernels. worst case scenario, it doesnt boot. then just reflash your rom in your recovery to fix it.
Click to expand...
Click to collapse
Ok thanks. Yes its a flashable zip, im going for the franco kernel.

Robert00001 said:
Ok thanks. Yes its a flashable zip, im going for the franco kernel.
Click to expand...
Click to collapse
franco is a good kernel. but most his kernels are in a img form, need fastboot for that. if its a zip, then flash it in your recovery, dont wipe a thing.

simms22 said:
franco is a good kernel. but most his kernels are in a img form, need fastboot for that. if its a zip, then flash it in your recovery, dont wipe a thing.
Click to expand...
Click to collapse
Yes I am sure this is a flashable zip. I found the img files and the zip files on the franco thread.
What about going back to stock? I just want to know if something goes wrong. Does flashing my rom get me the stock kernel back?

Robert00001 said:
Yes I am sure this is a flashable zip. I found the img files and the zip files on the franco thread.
What about going back to stock? I just want to know if something goes wrong. Does flashing my rom get me the stock kernel back?
Click to expand...
Click to collapse
It gets you whatever kernel was originally in the ROM.

063_XOBX said:
It gets you whatever kernel was originally in the ROM.
Click to expand...
Click to collapse
Okay thanks for the replies.

Robert00001 said:
Ok thanks. Yes its a flashable zip, im going for the franco kernel.
Click to expand...
Click to collapse
Even the .IMG files are easy enough to handle, OK so perhaps it might cost you a little money but within the Franco app (I don't know about others as not tried them) but you can simply just choose to restore a .IMG kernel file be it stock (which I have a copy of if you wanted it?) So you can swap and change as you wanted and the plus side of flashing this way is that you avoid the long reboot time dues to catch building again due to ram disk changes. I really think this is the best way of flashing kernels and certainly the easiest way if you wanted to carry on back to the OTA update route from Google.
For instance, I'm running stock takju rom 4.2.1 rom with Franco kernel and I have the stock boot loader and baseband and recovery and to install an OTA I just need to delete just one file and restore back to stock kernel that OTA update will install without troubles
Sent from my Galaxy Nexus

Related

[Q] Download CM9 kernel?

Is there anywhere I can download the CM9 kernel or backup the current one? I want to try out different kernels. I like the CM9 kernel, but miss the tweaks like usb fast charge. I would prefer not to have to backup the whole rom as the method in case I have to restore it a week later rather then just re-flash back the kernel. Thanks !
frigidazzi said:
Is there anywhere I can download the CM9 kernel or backup the current one? I want to try out different kernels. I like the CM9 kernel, but miss the tweaks like usb fast charge. I would prefer not to have to backup the whole rom as the method in case I have to restore it a week later rather then just re-flash back the kernel. Thanks !
Click to expand...
Click to collapse
All you have to do is reflash the ROM to get back to the stock kernel, doesn't hurt since it's a no wipe flash.
You could also take the boot.img from the CM9 zip and flash that via fastboot.
Sweet. Thanks!
CMNein said:
All you have to do is reflash the ROM to get back to the stock kernel, doesn't hurt since it's a no wipe flash.
You could also take the boot.img from the CM9 zip and flash that via fastboot.
Click to expand...
Click to collapse

Reflashing stock kernel

hello.
so, if I recently flashed a custom kernel (franco) by installing from .zip through cwm, and I wanted to restore the stock jb kernel,
do i just restore the boot.img on cwm or do i have to restore system.img (or any other image) as well?
thanks!
Only boot.img
Sent from my Galaxy Nexus using xda premium
zephiK said:
Only boot.img
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
thanks! i was just confused because there were other files in franco's .zip besides the boot.img and was wondering what those were for? do they change anything else?
or reflash your JB rom
maatae said:
thanks! i was just confused because there were other files in franco's .zip besides the boot.img and was wondering what those were for? do they change anything else?
Click to expand...
Click to collapse
they are apart of the modifications that franco did (such as the sdcard binary)
but +1 to what acloh said... best thing to do is just reflash the base ROM. if gapps are needed then flash gapps right after you flash the ROM as well.
zephiK said:
they are apart of the modifications that franco did (such as the sdcard binary)
but +1 to what acloh said... best thing to do is just reflash the base ROM. if gapps are needed then flash gapps right after you flash the ROM as well.
Click to expand...
Click to collapse
I see. Thanks! Stupid question...how do you reflash stock rom? I tried installing the original ota zip i used updating takju to jb but got a status 7 error. As of now I've just done a full restore of a cwm backup I did right before flashing Franco. Help?
maatae said:
I see. Thanks! Stupid question...how do you reflash stock rom? I tried installing the original ota zip i used updating takju to jb but got a status 7 error. As of now I've just done a full restore of a cwm backup I did right before flashing Franco. Help?
Click to expand...
Click to collapse
You should always look inside the kernel zip and see what files it's going to modify. Then back up those files before flashing it.
If you've restored your nandroid (pre-franco), then you should be good to go for the OTA (assuming you didn't change anything else...)
efrant said:
You should always look inside the kernel zip and see what files it's going to modify. Then back up those files before flashing it.
If you've restored your nandroid (pre-franco), then you should be good to go for the OTA (assuming you didn't change anything else...)
Click to expand...
Click to collapse
so even if I'm already on the version I want (4.1.1) after the restoration, I should still reinstall the takju4.0.4 ->4.1.1 OTA.zip?
Also, are there any recommended caches I should clear after changing kernels?
Thank you.
maatae said:
so even if I'm already on the version I want (4.1.1) after the restoration, I should still reinstall the takju4.0.4 ->4.1.1 OTA.zip?
Also, are there any recommended caches I should clear after changing kernels?
Thank you.
Click to expand...
Click to collapse
?? Not sure I understand. If you restored 4.1.1, then you obviously do not need any update.
No, you don't have to wipe any caches.
efrant said:
?? Not sure I understand. If you restored 4.1.1, then you obviously do not need any update.
No, you don't have to wipe any caches.
Click to expand...
Click to collapse
Ok, thank you. I guess my main question was whether or not I have to wipe caches in between kernel switches. Again, Thanks!

Stock Kernel (JRO03C) ?

Hi all,
i´m testing francos kernel for now. But if i want to get back to Stock, where i can download it ? Searched all thru but found nothing.
Thanks for help!
peste
peste76 said:
Hi all,
i´m testing francos kernel for now. But if i want to get back to Stock, where i can download it ? Searched all thru but found nothing.
Thanks for help!
peste
Click to expand...
Click to collapse
If you want to go back to stock, either reflash the stock ROM, or extract the .zip file and then use fastboot to flash boot.img in it "fastboot flash boot boot.img"
kyokeun1234 said:
If you want to go back to stock, either reflash the stock ROM, or extract the .zip file and then use fastboot to flash boot.img in it "fastboot flash boot boot.img"
Click to expand...
Click to collapse
ahh, boot.img - how noobish from me Thanks a lot.
Yes boot.img. If you want to go back to stock... If you want ONLY kernel, you should search it up, because I don't know which file does that...
Let me explain it a little bit more. boot.img is ramdisk+kernel. There's another file I believe that only handles kernel. But if you want to go back to stock, you'll need to flash ramdisk too (Since Franco uses its own ramdisk). I hope that helped you
boot.img = ramdisk+zImage
zImage = kernel
thanks kyokeun1234.
One thing you guys need to keep in mind is that some custom kernels (like franco's) change some files on your ROM (i.e., system partition), so flashing just the stock boot image is not going to be enough. (Don't ask me which files, as I can't remember right now, but there is a few, i.e., 1-3.)
efrant said:
One thing you guys need to keep in mind is that some custom kernels (like franco's) change some files on your ROM (i.e., system partition), so flashing just the stock boot image is not going to be enough. (Don't ask me which files, as I can't remember right now, but there is a few, i.e., 1-3.)
Click to expand...
Click to collapse
Yeah, I always forget that, but actually I am aware of some kernels tweak/place init.d scripts, for example, and that could conflict with stock or any other kernel.
I'll be sure to add that to the usual procedure, making a mental note. thanks efrant.
efrant said:
One thing you guys need to keep in mind is that some custom kernels (like franco's) change some files on your ROM (i.e., system partition), so flashing just the stock boot image is not going to be enough. (Don't ask me which files, as I can't remember right now, but there is a few, i.e., 1-3.)
Click to expand...
Click to collapse
So basically flashing the whole Rom is the only choice
Swyped on my Galaxy Nexus running AOKP with Franco Kernel, overclocked to 1.4GHz
You can use franco's app to restore your stock kernel without re flashing your rom.
Sent from my Galaxy Nexus using Tapatalk 2
kyokeun1234 said:
So basically flashing the whole Rom is the only choice
Swyped on my Galaxy Nexus running AOKP with Franco Kernel, overclocked to 1.4GHz
Click to expand...
Click to collapse
It depends on the kernel. What I would do personally is: before flashing a custom kernel, open up the file that you are flashing, and see which files it is replacing (aside from boot.img). Then I would back those up. That way, if you ever want to go back to stock, you just have to replace those files.
Sent from my Galaxy Nexus using Tapatalk 2
efrant said:
It depends on the kernel. What I would do personally is: before flashing a custom kernel, open up the file that you are flashing, and see which files it is replacing (aside from boot.img). Then I would back those up. That way, if you ever want to go back to stock, you just have to replace those files.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Oh thanks! It's been long time since I've learned a new thing I'll keep that in mind!
Swyped on my Galaxy Nexus running AOKP with Franco Kernel, overclocked to 1.4GHz

[Q] S3 4.1.1 Kernel

I can't seem to find this kernel on XDA or google.
Im on my SGH I747M 4.1.1
with kernel 3.0.31-538866 [email protected]#1
Where can I get this kernel to flash?
Reason why I'm asking is i'm trying to flash new kernels and want this as a back up to have it stored so i can restore it.
Unless....TWRP recovery images can recover the kernel when you restore that image?
Thanks!
mikoal said:
I can't seem to find this kernel on XDA or google.
Im on my SGH I747M 4.1.1
with kernel 3.0.31-538866 [email protected]#1
Where can I get this kernel to flash?
Reason why I'm asking is i'm trying to flash new kernels and want this as a back up to have it stored so i can restore it.
Unless....TWRP recovery images can recover the kernel when you restore that image?
Thanks!
Click to expand...
Click to collapse
When you restore your backup, it will restore the kernel as well.
and where to get the last kernel for my SGH-I747M.... ( shows this kernel 3.0.31-274808 [email protected] # 1 ) this kernel came with a rom called Hiperdrive RSL11...
but I need to reinstall the kernel to fix something wrong, for that reason I ask for the last or the better kernel for my Samsung galaxy S3 ???
thanks for your help
boni7010 said:
and where to get the last kernel for my SGH-I747M.... ( shows this kernel 3.0.31-274808 [email protected] # 1 ) this kernel came with a rom called Hiperdrive RSL11...
but I need to reinstall the kernel to fix something wrong, for that reason I ask for the last or the better kernel for my Samsung galaxy S3 ???
thanks for your help
Click to expand...
Click to collapse
It's in your ROM zip. Named zimage. Extract that file and you can flash it using Odin.
You can also dirty flash the ROM (without wiping) and it will reflash it.
Btw, reinstalling the kernel doesn't do anything if it's already on your phone. It won't fix anything. If you flashed another kernel though, that's another story.
May we know what you're trying to fix?
BWolf56 said:
It's in your ROM zip. Named zimage. Extract that file and you can flash it using Odin.
You can also dirty flash the ROM (without wiping) and it will reflash it.
Btw, reinstalling the kernel doesn't do anything if it's already on your phone. It won't fix anything. If you flashed another kernel though, that's another story.
May we know what you're trying to fix?
Click to expand...
Click to collapse
look what this member write in the Hiperdrive RSL11 rom :
Venom0642 said:
I would reflash the rom again clean make sure in aroma you chose full wipe system/data and make sure you don't select S Note and flash again once you do that don't reboot from aroma take check mark off aroma so you don't reboot then in recovery flash your kernel which ever your going to flash after that wipe cache davik then reboot do not set up Google account let it sit for 5 to 10 mins after that reboot one more time then let it sit 5 more min after that then start setting up your google account you should not get that popup or any other issues.
Click to expand...
Click to collapse
how to do and flash via odin, if I cant leave the installing rom, because that say Venom in his post ???
this its the post:
http://forum.xda-developers.com/showthread.php?t=2176793&page=113

[Q] Switching Kernels

I flashed Paranoid Android 3 and kept that same kernel for awhile. I tried to branch out and try other kernels such as "Franco" and "AK Rubik", and am displeased with both (most likely because I don't know what I'm doing). How do I get back to the kernel Paranoid Android 3 had?
Thankyou in advance!
Oh I did a Nandroid backup using cwm, but that file got messed so I cant recover.
extract boot.img from the PA3 zip and fastboot flash it.
Zepius said:
extract boot.img from the PA3 zip and fastboot flash it.
Click to expand...
Click to collapse
How do I go about doing that?
Just flash the ROM again. It should give you the kernel that comes with it.
EDIT: Just to clarify...boot into CWM, wipe cache and dalvik (just to be safe), flash PA, reboot. You MIGHT need to flash gapps again. I dont know how PA works. Might as well flash them too just in case. You shouldnt lose anything.
jsgraphicart said:
Just flash the ROM again. It should give you the kernel that comes with it.
EDIT: Just to clarify...boot into CWM, wipe cache and dalvik (just to be safe), flash PA, reboot. You MIGHT need to flash gapps again. I dont know how PA works. Might as well flash them too just in case. You shouldnt lose anything.
Click to expand...
Click to collapse
Thankyou! I thought I'd mess it up again if I reflashed it. Do you think I should factory reset the phone just in case the other Kernels didnt leave anything on the phone. (Also, should I delete the kernels if I'm not going to use them?
Osyris214 said:
Thankyou! I thought I'd mess it up again if I reflashed it. Do you think I should factory reset the phone just in case the other Kernels didnt leave anything on the phone. (Also, should I delete the kernels if I'm not going to use them?
Click to expand...
Click to collapse
Nah. You should be fine. When you flash a ROM, it usually replaces what needs to be replaced. Unless you start seeing issues down the line, I wouldnt worry about it. And no need to keep the kernel files on your phone if you arent going to use them.

Categories

Resources