One of the annoying things about being S-ON on an HTC EVO 4G LTE with the latest firmware is the inability to flash kernel modules unless you’re using Dumlock, Flash Image GUI, or some other workaround method. But yesterday, xHausx provided kernel developers a nifty little script that gets around these limitations, allowing S-ON devices to flash a kernel the same as an S-OFF device.

The way the script works is this: when a kernel module is flashed, it writes instructions to flash the kernel in the ROM’s bootup script that then tell it to push the new kernel to the device. Thus, the kernel is flashed in Android mode and not in recovery, where kernels are prevented from being flashed.

From a non-developer’s standpoint, it looks like it’s very much like what 4EXT does with Smartflash on the EVO 3D.

For users of the HTC EVO 4G LTE, there’s nothing you need to do. Kernel developers will have to slap this 11-line script in their distributed kernel packages. That should be significantly easier than them having to explain the hoops to jump through based on various HBOOT and baseband versions. As on the EVO 3D, S-ON and HTCDev-unlock limitations have been taken down by a few lines of code that enable the updates to be run in the proper location (Android mode).

[xda-developers]