[Samsung Galaxy Nexus] renaud:
FuguMod kernel is now available for the Galaxy Nexus.

It has been reported to work both on GSM and CDMA versions. But I can only test it on GSM version myself.

You can download them at:

http://fugumod.org/galaxy_nexus/

Source and changelog can be found here:

https://github.com/renaudallard/gnexus_kernel

IRC channel:

irc.freenode.net #fugumod

To install, just download the appropriate version for your ROM (4.0.x) and flash it with fastboot (RAW version: fastboot flash boot kernel-$VERSION.img) or flash it with CWM (CWM/zip version).

Please note that not all versions exist in CWM format.

4.0.2 version is based on official google initramfs + init.d support (is now in deprecated state, no future updates will be brought)

4.0.3 version is based on the initramfs of AOSP + init.d support. it is compatible with 4.0.4

4.0.4 version is based on the initramfs of AOSP + init.d support. it is compatible with 4.0.3

4.1.x version is based on the initramfs of AOSP + init.d support.

4.2.x version is based on the initramfs of stock kernel

4.3 version is based on the initramfs of stock kernel (use that one for CM, not reco)

4.3-reco version is based on the initramfs of stock kernel, even with install-recovery.sh enabled (so supersu can work, but if you don't have supersu, don't use it)

for experimental versions, do not flash if you are not ready for big troubles, they may not even boot, burn your phone and eat your cat.

Features:

- stackprotector

- various security enhancements

- RCU boost

- Automatic process grouping

- TUN (compiled in kernel)

- latest 3.0 linux kernel

- newer wifi driver

- gamma/color hack

- CM9 compatibility

- PaX (from r333)

- grsec (from r624)

- TouchWake from Ezekeel (from r778)

Versions

Kernels are based on the below version scheme

kernel_FuguMod_20120111_r20-4.0.3.img

20120111 is the date it has been packaged

r20 is the release number

4.0.3 is the ROM it is compatible with

Color offsets

In CM9, just use the built in function.

For other ROMs, the settings offsets are in

/sys/class/misc/samoled_color/

For example green_v1_offset

Just edit the three green red and blue color settings. Default value is 60.

It can be done on the console with a command like this: echo 55> /sys/class/misc/samoled_color/green_v1_offset

Stable vs Testing

There are sometimes kernels in testing folder. These may be very stable or may not boot at all. Be sure to have an USB cable and fastboot under the hand if you try one of these. That said, in general, if they stay into testing folder for more than 15 min, they should at least boot and work more or less. I tend to remove non booting kernels from testing folder in less than 10 min (depending a little bit on the speed testers take them), and so if you see them one hour later, you should assume they are safe enough to flash.

So, in general Stable is the safest bet, but Testing may be the best. I, myself, generally run testing one.

Deprecated folder

In general, unless you really know what you are doing, you should avoid flashing those, they are mainly there for historical reasons.

Radio drops and blueish/faded screens

Please ensure you are running the correct firmware for bootloader and baseband, like in the matrix in bottom of that page: http://source.android.com/source/building-devices.html

For those where problems persist after flashing recommended versions, try "echo 0 > /sys/kernel/debug/smartreflex/sr_core/autocomp"

OTG unmounting internal SD

Please see http://xdaforums.com/showpost.php?p=24040652&postcount=174

Mirrors

bootloaders: http://fugumod.org/bootloaders-gn/

basebands: http://fugumod.org/modem/galaxy_nexus/

Check for vulnerabilities

http://www.xray.io

Compatibility with hackish style apps

All apps which require direct memory write, access to symbols or memory offsets or modules will NOT work. And, no, don't ask they won't be supported in the future.

Security

If you want good security when your phone is stolen, in addition to encryption, don't forget to turn debugging off. Also, use enpasschanger to change your encryption password, any short PIN encryption can be cracked in a few minutes easily (for example, using my script at http://pastebin.com/Mdu06RZN)

Redistribution

As per GPL, you are authorized to redistribute this kernel with any of your custom ROMs provided you give out the source code like I do. You can link to my github in your distribution site.

However, if you modify the kernel yourself, whatever the modification is (compiling it yourself with a different compiler is a modification), you are not authorized to name it FuguMod, although you can credit me and tell the base comes from FuguMod but you cannot call the kernel itself FuguMod.

Touchwake

to enable it "echo 1 > /sys/devices/virtual/misc/touchwake/enabled"

to make it always on: "echo 1 > /sys/devices/virtual/misc/touchwake/always"

Beware, touchwake is known to sometimes produce screen locks

PGM

See "Compatibility with hackish style apps". Use touchwake instead.

Lost root

Use supersu instead of superuser from chainsDD (superuser from koush seems to work fine too). Change the setting in SuperSU to ignore CM root setting if you are running CM.

Updater app

https://play.google.com/store/apps/details?id=my.zin.rashidi.android.fugumod

root on 4.3

Currently only reco version has support for root access with supersu. Keep in mind that su access is now (as of 4.3) provided by a daemon, which may drain your battery or worse. Please think about your uses for root to see what is better fit for you.