[T-Mobile Sidekick 4G] nxd:
Bali_SK4g KJ2 kernel 20120602_nxd

Goals are security and stability. To that end, I have disabled the keystroke logger Samsung shipped in their sources. This keystroke logger is present and active on many Sidekick custom ROMs and kernels, including older Bali kernels.

You should not attempt to flash this kernel unless you are comfortable flashing kernels, and if need be, restoring using ODIN or Heimdall.

As with any custom flashing operation, there is a chance that the installation of this kernel could go all wrong and brick your device. If something breaks, you get to keep both pieces. By using this kernel, you agree that neither I nor any of the other contributors bear any responsibility.

I highly recommend you look at the other Bali/Voodoo kernel threads in the Sidekick 4G development forum. This kernel has all the same installation requirements/caveats/risks, at minimum.

It is a foregone conclusion that this kernel will only work with KJ2 ROMs. Please do not try it with KD2 or KG2 ROMs, it will almost certainly soft brick at best.

I tested this kernel on top of GenericGinger 2.0, by john_2k2.

It was found to function properly with RubiX Xcel 0.0.4. It is now included in 0.0.5. If you are using RubiX Xcel 0.0.5 or later, there is no need to flash this kernel.

http://xdaforums.com/showthread.php?t=1654684

There has been at least one report of this kernel causing a soft brick state with GingerClone v2. Please do not attempt to use this kernel with that ROM.

It may or may not work well with other ROMs; it would be wise to check with the developer of your preferred ROM before flashing this kernel. It should work anywhere other Bali 2.2-like KJ2 kernels work, but you never know for sure until you try.

Download: https://carbon.flatlan.net/nxd/Bali_SK4G_20120602_nxd.zip

MD5 6de219a41fa6739f43d6003476392728

SHA1 1ec796f8292e29e91682dce6f23e1776aa91ab1c

Dr. Honk:

Kernel sources, GPL

https://github.com/drhonk/Bali_SK4G

sduvick:

Initramfs, unknown license

https://github.com/sduvick/SK4g_KJ2_Ramdisk

supercurio (Francois Simond):

Kernel update.zip skel, WTFPL

Voodoo (red) CWM, GPL

mkasick:

s3c keypad delay patch, GPL

http://xdaforums.com/showpost.php?p=16096212&postcount=79

Modified slightly by nxd

* Disabled keystroke logger and other debug

* Enabled tun and cifs as modules

See https://carbon.flatlan.net/nxd/ for patches. Anyone who wishes is free to incorporate the patches into their kernel compiles and/or ROMs, under the terms of the GPL. As far as I am concerned, you are free to incorporate the contents of the .zip into ROMs, provided you give credit to the above contributors.

Thanks to Dr. Honk, AdamOutler, sduvick, Jax184, ayoteddy, John_2K2, Rebellos, supercurio & Project Voodoo, windxixi, Glass Echidna, mkasick, cyanogen

and the Cyanogenmod team.

[Q] What do you mean "keystroke logger removed?

[A] Open up a terminal app and get a shell on your Sidekick. Open the keyboard, type "dmesg", then press Return.

If you're running a custom ROM/kernel may see lines like this:

key Pressed : key 24 map 28
key Released : 24 map 28

Those are your keystrokes. The numbers correspond to specific keys. Any app capable of reading dmesg can get your keystrokes from the hardware keypad.

[Q] Why did Samsung include a keystroke logger?

[A] It's obvious that the key pressed/released messages are for debugging. There is no malicious intent. Samsung forgot to (or chose not to) disable this logging when they shipped the kernel sources.

However, just because Samsung meant no harm, doesn't mean no harm can be done. Do you really want any app on your phone to be able to read all your keystrokes since boot?

[Q] So Samsung is recording my keystrokes and sending them somewhere?

[A] The keystrokes are only being collected, but not sent anywhere. Unless, of course, you install an app that grabs them out of dmesg.

[Q] Is this kernel OC/UV

[A] Not at this time. If someone points me to patches to accomplish this, I'll take a look and see if I can integrate them in an optional version of this kernel.

[Q] You used my [something] and didn't give me credit!

[A] Ooops, sorry about that! Let me know what it is and I'll do my best to correct the situation.

EDIT: updated zip, patch, and checksums to fix a version number glitch.

EDIT: disclaimer, note about other Bali kernels.

EDIT: reformat, updated main credits and thanks

EDIT: correct typo on first line timestamp

EDIT: try to clarify license logic; note presence of Voodoo CWM; adjust some wording; additional warnings; remove ineffective humor

EDIT: note about inclusion RubiX Xcel 0.0.5

EDIT: note about soft brick with GingerClone v2

EDIT: 20120602 - added s3c keypad delay patch