[HTC Sensation XL] Lexmazter:
​

[highlight]This kernel is deprecated, no more progress will be made on this thread as i changed my phone and i don't own a SXL anymore, my work was continued by other great devs so check anders' kernel thread. Thank you![/highlight]

I am glad to present my first real-deal creation to you :) - LTX Kernel!​

Features:​

- [highlight]JB[/highlight] - Updated to latest 3.0 linux kernel tree: 3.0.71.

- [highlight]ICS[/highlight] - Updated to 3.0 linux kernel tree: 3.0.61.

- Overclocking up to 1.8 Ghz.

- Compiled with Linaro 4.7.3 (since LTX 0.7.6)

- Big frequencies table.

- Undervolted lower frequencies.

- VDD Stats (voltage control).

- SWAP.

- KSM.

- ZRam.

- Memory management optimisations.

- Loads of other optimisations.

- Increased performance.

- Increased battery life.

- Stable.

Governors:​

- Revamped Conservative Governor (ON by default)

- Ondemand Governor (with 2 phases)

- Interactive Governor

- InteractiveX Governor

- Agressive Governor

- LagFree Governor

- Lazy Governor

- SmartassV2 Governor

- Lionheart Governor

Schedulers:​

- SIO scheduler

- BFQv5 scheduler

- ROW scheduler

- CFQ scheduler

- NOOP scheduler

- Dead-Line scheduler

​

Buglist:​

- Since v0.6 - Stock task/memory managers will not detect the amount of RAM used by apps.

As a workaround, use any task manager from Google Play.
​

How to install:​

--On S-OFF devices--

-Flash the zip via recovery! (twrp or cwm)

-Reboot :)

--On S-ON devices--

-S-OFF your device, then use above steps!

(Yes, i highly recommend to S-OFF before using any custom made things!)

or

-Extract the boot.img from the .zip.

-Get in fastboot and flash via [highlight]fastboot flash boot boot.img[/highlight].

-Reboot into recovery.

-Flash the zip via recovery.

-Reboot :)

[highlight]The same thing applies if you update to a higher version or if you downgrade to a lower version of the kernel.[/highlight]

​

README!​

- JB Versions recieve OTA updates over Goo Manager!

-Do a nand backup before testing!

-[highlight]Test[/highlight] versions are for testing, therefore expect bugs and please report them in detail.

-Beware that you use this at your own risk and please provide feedback in order to get it stronger/better/bla bla bla :)

-The versions of kernel for ICS Sense around here should work on all OFFICIAL ICS 2.31.401.2 RUU based roms, and the official one of course, so if you use a different firmware, make sure you make a backup as there are BIG chances it will not work.

-The versions of kernel for JB will work only on AOSP based ROM's like Cyanogenmod, Paranoid, PAC, AOKP and so on, version 4.2 and up!

-The JB build already have this kernel included as it's the only one right now to support JB for our device, but here you can get the latest changelogs and eventually updates for the kernel if not available otherwise.

-[highlight]ION[/highlight] versions of kernel are for ION versions of ROM's, don't use it if you don't know what that means!

-[highlight]DO NOT USE JB KERNELS ON SENSE/ICS ROMS![/highlight]

-Use SetCPU or CPU Master Free(<<my personal choice) in order to activate OC or other Governors and Schedulers, can be found on market

What i say here is just my opinion for the best freq usage possible:

-Stock: Conservative 245 - 1500 Mhz

-Battery friendly: Conservative 149 - 1200 Mhz

-Balanced: SmartassV2 149 - 1497 Mhz

-Kickass: Ondemand 245 - 1800 Mhz

--Best Graphics score: 1497 Mhz

--Best CPU score: 1800 Mhz (you don't say?)

(1497 Mhz was introduced in LTX since 0.7.6)
​

Download links:​

JB - AOSP

[highlight]Test:[/highlight]

-none-

[highlight]Latest stable:[/highlight]

LTX Kernel JB v1.2 - Linux Kernel Version v3.0.71

(Or use Goo Manager from phone, hit compatible ROM's > runnycm > kernels > latest version + changelog included.)

[highlight]Archive milestones:[/highlight]

LTX Kernel JB Archive
​

ICS - Sense

[highlight]Test:[/highlight]

-none-

[highlight]Latest stable:[/highlight]

LTX Kernel v0.7.8 - Linux Kernel Version v3.0.61

[highlight]Archive milestones:[/highlight]

LTX Kernel v0.7.6 - Linux Kernel Version v3.0.57

LTX Kernel v0.5 - Linux Kernel Version v3.0.16
​

Changelog:​

[highlight]JB - AOSP[/highlight]

v1.2 - Added battery indicator fix by anders3408 + Updated 2 way recording + Small other optimisations.

v1.1 - Updated to 3.0.71 + Completely new GPU drivers, backported from jb2.5.1 CAF branch (3.4.0 version of kernel).

v1.0 - Updated to 3.0.70 + Completely new WiFi driver, pure Google/CAF one, bye bye HTC + Small block updates + Fixed multi-touch issue.

v0.9 - Updated to 3.0.69 + Wifi PM_FAST during screen off + Added BPF Jit + KSM support + ZRam support + others.

v0.8 - Lots of KGSL (video drivers) optimisations and improvements + Swap.

v0.7 - Updated to 3.0.66 + Added ION support.

v0.6 - Lots of ARM optimisations + LZO compression (faster boot).

v0.5 - Updated to 3.0.63 + Changed the GPU drivers to CAF ones + loads of vsprintf optimisations.

v0.4 - Fixed the BT for good.

v0.3 - Added some preparations for BT.

v0.2 - Fixed Random Reboot problem.

v0.1 - First bootable JB kernel.

[highlight]ICS - Sense[/highlight]

v0.7.8 - Updated to 3.0.61 + Interactive, InteractiveX, Lazy, Lagfree, Agressive Governors + Jellybean 4.2.1 Support

v0.7.7 - Updated to 3.0.58 + ROW Scheduler + Loads, i mean LOADS of changes and optimisations

v0.7.6 - 149 Mhz to 1.8 Ghz and more freqs, 1.9 and 2.0 were useless anyway + Some optimisations + First version compiled with Linaro 4.7.3.

v0.7.5 - Added more freqs + OC now from 149 Mhz to 2.0 Ghz.

v0.7.4 - Updated to 3.0.57.

v0.7.3 - Tons of optimisations (Github/Commits for detailed changes) + Fixed the random "not boot" bug.

v0.7.2 - Updated to 3.0.56 + Check Github.

v0.7.1 - Added BFQv5 scheduler + Other changes.

v0.7 - Fixed some UI glitches + VDD stats + Increased compatibility over all sense based ROMs.

v0.6 - Aded SmartassV2 + Updated to 3.0.51.

v0.5 - WiFi working + Stock governor set to Conservative + Battery Tweaks !

v0.4 - Third public release - OC just to 1.8Ghz as to 1.9Ghz is not stable.

v0.3 - Testing version - Messed with drivers and different device configs.

v0.2 - Second public release - Significantly inproved performance - no WiFi !

v0.1 - First Public release - OC 1.9, Stable, Lionheart governor, SIO Scheduler.

Tutorials:​

[highlight]2 Way Recording:[/highlight]

Download Call Recorder, for best experience use as source phone line, highest quality, mpeg4 format, works great on me!

[highlight]KSM:[/highlight]

Kernel Samepage Merging, more info here.

To activate it in the kernel just do:

echo 1 > /sys/kernel/mm/ksm/run

[highlight]SWAP:[/highlight]

To activate swap, find a init.d script or use Kernel Tuner to set it up.

[highlight]Dynamic FSync:[/highlight]

Activate it by using this command:

echo 1 > /sys/kernel/dyn_fsync/Dyn_fsync_active

Sources:​

For a more detailed Changelog check the GitHub repo!

As the source-code may help others, or if you simply want to see what the code looks like, here it is the gihub link of my kernel, it will be updated as soon as changes are made on it, enjoy the open-source creations!​

FAQ:​

Q: How can i use SWAP?

You need to find a script or to activate it manually, check the xda forum for a init.d script for that.

Q: Will battery last more with this kernel?

On stock values yes, it can be improved by changing VDD voltages and Underclocking.

Q: Will performance be better with this kernel?

It also depends on the ROM you are using, but YES, performance will be better.

Q: What are all the terms around here about?

Check this beautiful and plentiful GUIDE!

Q: Why should i use this kernel?

Because it's better than stock, don't believe me? Try it! :)

Q: Will you port this or that kernel for our device?

No, but i can include features, just ask for them :)

Q: With what Toolchain is this kernel compiled?

This kernel is compiled with official Google toolchain version 4.6.3

Q: Why don't you use this or that toolchain to compile your kernel?

Because there is no difference, check this thread for details.
​

Fanbar:​

As now the kernel has a little personality, i decided to make a fanbar :)
​

Special credits:

-CodefireX Team (synergy)

-HTC One V Community (maxwen, Kumba, Lloir, simmons and more!)

-FXP

-Ezekeel

-francisco.franco

-faux123

-AdiPat

-Coolexe

-DevChun

-[vertigo]

-Code Aurora Forum (CAF) (for being so awesome!)

-Linus Torvalds (for the original ideea of the whole Linux)

-XDA Forum for great materials.

-Google for being a great search engine and for Android.

-Github for sources i got inspiration from.

-Other great people!