Kernel mods for B2G