Flashing kernels - Samsung Galaxy Nexus

Hey just 2 quick questions in the way of Kernels.
1 what is the best kernel for saving battery available for the galaxy Nexus?
2. How would I go back to the stock kernel after flashing a custom one? (how do I revert back)
Thanks!
Sent from my GNex running gummy v0.7.0

Hydera5 said:
Hey just 2 quick questions in the way of Kernels.
1 what is the best kernel for saving battery available for the galaxy Nexus?
2. How would I go back to the stock kernel after flashing a custom one? (how do I revert back)
Thanks!
Sent from my GNex running gummy v0.7.0
Click to expand...
Click to collapse
I love Francos Kernel, and I think most people on this forum will tell you the same. For now, its the bomb diggity. As for reverting back, you should be making a nandroid backup in Rom Manager before every flash just incase something goes wrong so you dont lose anything. Flashing that nandroid back will give you your old kernel back.

No need for nandroids, if you want to revert to stock kernel, just grab stock from zip, extract boot.img
Reboot phone into boot loader/fastboot, 'fastboot flash boot boot.img', done.

Related

[Q] Kernels and restoring a nandroid backup

After flashing a kernel, they say to do a full wipe (and then reinstall the ROM?).
My question is whether after the wipe, can I restore a nandroid backup? Setting it up from scratch and just the way I like it is quite tedious if I were to do this each time, plus download the apps from the market etc. My arc is my main phone so I don't have the luxury of flashing ROMs and kernels all the time.
Do let me know if that's possible. If not, can you tell me how you guys do it?
My arc is running Stock ICS 4.0.4 with an unlocked bootloader.
I believe you got it all wrong.... you need to do a full wipe before installing a new ROM (to make sure it works properly and nothing is left from the old one).... not a kernel... You can flash kernels as often you want without any wipes. Just dont forget the WIFI-modules (only of needed by ther kernel).
xtacy! said:
My question is whether after the wipe, can I restore a nandroid backup?
Click to expand...
Click to collapse
Just think about it, it would be pointles to delete evrething and then restore it back..
P.S.: sh*t I pushed the wrong button and thanked you instead of quote....
yea..there is no point restoring the nand after flashing a kernel...full wipe and fresh installing rom is highly recommended..
Best way is to tryout a kernel..if everything is well and good then better stick to it.
afterall wat do u look in a kernel? OC,UV, good battery life and smooth UI..once you attain all these then stick to it..
btw i have tried many kernels this month without doing a full wipe..i never faced any problem as such..i just uninstall all OC, UV apps just to be safe
Thanks for the replies guys. And an extra thanks to Antochrist for his mistake. LOL!
Another reason for my question was because one of the kernel developers said to do a clean install.
Let's say I flash a kernel with additional wifi modules. Suppose I want to get back to stock kernel and its wifi modules, do I just flash the stock kernel or do I need to do anything extra to fix the wifi?
xtacy! said:
Let's say I flash a kernel with additional wifi modules. Suppose I want to get back to stock kernel and its wifi modules, do I just flash the stock kernel or do I need to do anything extra to fix the wifi?
Click to expand...
Click to collapse
yea u just need to flash the stock kernel as wifi modules are included in the stock kernel itself
xtacy! said:
Thanks for the replies guys. And an extra thanks to Antochrist for his mistake. LOL!
Another reason for my question was because one of the kernel developers said to do a clean install.
Let's say I flash a kernel with additional wifi modules. Suppose I want to get back to stock kernel and its wifi modules, do I just flash the stock kernel or do I need to do anything extra to fix the wifi?
Click to expand...
Click to collapse
I think clean install only needed for new rom, not new kernel
cmiiw
Sent from mobile
Similar issues
Happy new years everyone!
I am pretty new to using custom ROMS and kernels and have made a standard noob mistake
which was forgetting to back up all the original software (ROM, kernel, etc). I realized this quite later
and though I have found the original ROM for my GT-P5110 I seem to have trouble finding the stock Kernel
(the one it had when it left the factory; 4.0.4) I did a search and have found my search-fu to be weak.
Can anyone help me find the stock rom for the GT-P5110 (Galaxy note 2 10.1)?
And one more thing, should I get the Galaxy S3 LTE vs. LG Optimus G vs.your opinion?
(I am in South Korea btw) Is Korean version is any different or any harder to root or to
flash a custom ROM, anyone have any experience?
Many thanks
But I did not get the Right Answer...
arpith.fbi said:
yea u just need to flash the stock kernel as wifi modules are included in the stock kernel itself
Click to expand...
Click to collapse
Thanks for the info that WIFI modules are included in the kernel and no extra additions need to be made.. I Don't know abt it ..
NOW assuming u now a lot abt Linux/Android could you please answer this for me..
- Does Restoring NANDROID
- Restore 'Stock Kernel' along with 'RIL file', RAMDISK - INIT### n stuff​
Which Hyperion users need to fiddle with..
But kernel and ram disk are stored in the boot partition so does NANDROID back that up too ?
and Can you help me with RIL file related info..
Thanks
NANDroid only backs up ROM. It doesn't back up kernel. Kernel is always flashed externally, it's the same with all Android devices.
僕のLT18iから送られてきた

[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

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

Query about updating kernel

I have a GSM Galaxy Nexus and I am currently using 4.2.2 Cyanogen Mod released in April 2013.
It has the following Kernel
3.0.31-cyanogenmod-g64e9296
I have flashed ROMs many times mostly CM ROMS.
I want to try changing kernel to improve battery life and check what kernel changes actually is all about.
Since I havent done it earlier, I want answers to following questions:
1) Is it safe to change my kernel to another one? I want to install http://forum.xda-developers.com/showthread.php?t=2115590 or maybe someone can tell me a better one with focus on improved battery life.
2) What if the above kernel screws up? can I recover the old kernel back?
3) Is kernel flashing Permanent or any ROM I flash will have it's own kernel?
4) Just in case my kernel screws up, I have a full TWRP backup as well, would flashing that change my current kernel to old one that came with cyanogenmod last ROM?
Thanks.
You can pretty much flash any kernel you want. Just make sure the kernel is made for the version of Android you are on. If something goes wrong, you should be able to flash your ROM again and get back to normal. ROMs come with their own kernels so every time you flash a ROM, you will get the kernel that comes with it. But the best way to recover from a screw up is to restore a nandroid from your recovery.
jsgraphicart said:
You can pretty much flash any kernel you want. Just make sure the kernel is made for the version of Android you are on. If something goes wrong, you should be able to flash your ROM again and get back to normal. ROMs come with their own kernels so every time you flash a ROM, you will get the kernel that comes with it. But the best way to recover from a screw up is to restore a nandroid from your recovery.
Click to expand...
Click to collapse
Advanced restore should work, no need to restore the whole thing, just system.img and boot.img should do the trick.
Sent from my Nexus

Flashing kernals.

So after exploring the many roms there are for this device. I went back to using stock rom to fix battery life. I flashed Flash Kernal.
Great kernal. but I'd like to ask you guys how do you go back to stock kernal if you wanna just flash it so I can try another kernal like ElementX
You gotta flash stock boot.img from whatever update your on. You'll either have to download it from Google factory images and find which update you have maybe May and then unzip it. You'll find the boot.img in there. You'll either have to fastboot flash it or an easier way before I flash kernels I like to make a TWRP backup with especially the boot partition. It's super easy. Then when I want to revert back after flashing and kernel I can go back into TWRP and reflash my stock boot

Categories

Resources