[G2 and Desire Z Android Development] tsubus:
DISCLAIMER: I will take no responsibility if you brick your phone or if this ROM screws up your phone in any shape or form.

Credits

CyanogenMod

Andromadus

OmniROM

Dirty Unicorns

AICP

SlimRoms

Paranoid Android

Chainfire

JustArchi

If anyone has been left out, please send me a PM and you will be added. I'm getting old and I can easily forget even the most obvious things.

The Mods

Find changelog on G+ community or in post #2

Download Links

BasketBuild

AndroidFileHost (old releases)

You can also use ILWT Updater from the ROM

ILWT ROM 3.0.17 md5: 3567e66d4203cf6f5fb61af474cc3492

ILWT ROM 3.0.16 md5: c01c40b85e2895fd8b48c916c0b5329a

ILWT ROM 3.0.15 md5: 58a1df14c409c343487ec13a3795b2c4

ILWT ROM 3.0.13 md5: 5dfb7ff9e137b2caa3fe6d6067d90169

ILWT ROM 3.0.12 md5: cef400d5fa7ceb231182da926659b2b9

Installation

Simply flash the .zip file from recovery (it must support KitKat ROM, latest versions of TWRP and 4ext should work), nothing fancy needs to be done. Make sure to do a full wipe if you are coming from a different ROM.

Bug Reports

If you are going to report any bug, please do it only after a full wipe, with stock kernel, and no other modification to the ROM (especially no Xposed). Also, you

must

provide logs (logcat and/or last_kmsg). I will not look into the issue if any of these requirements aren't satisfied.

G+ Community

This is where I usually announce new releases and their changelog: https://plus.google.com/communities/107579207512244821825

[b]ILWT CM7 OP:[/b]
[B]Why am I doing this?[/B]
Ever since I mentioned the modifications I have been making to CM7 for personal use, a few people have contacted me to get the modified ROM. Because of this, I have decided to make it public, as long as I see interest in it.

[b]Credits[/b]
[list]
[*][url=http://www.cyanogenmod.com/]CM7 Development Team[/url] for basically providing the entire ROM
[*][url=http://www.virtuousrom.com/]VirtuousROM Development Team[/url] for the [url=http://xdaforums.com/showpost.php?p=14529333&postcount=5]OC Daemon[/url]
[*][url=http://xdaforums.com/member.php?u=1385883]pershoot[/url] for his [url=http://xdaforums.com/showthread.php?t=847672]pershoot kernel[/url]
[*][url=twitter.com/#!/_viperboy_]_viperboy_[/url] for providing [url=http://vipermod.tiamat-dev.com/]viperMOD[/url]
[*][url=http://xdaforums.com/member.php?u=3392360]tun4f1sh[/url] for inspiring me to add the Virtuous OC Daemon to CM7 with his [url=http://xdaforums.com/showthread.php?t=1216997]Bulletproof MIUI ROM[/url]
[*][url=http://xdaforums.com/member.php?u=3240579]kusuriurikun[/url] for the optimization of build.prop and with all his major help on GPS/radio issues.
[*][url=http://xdaforums.com/member.php?u=4231598]Dipu K[/url] for his mods on ILWT Tools and ILWT OC Daemon
[*]Many others that provided help
[/list]

[b]The Mods[/b]

[b]ILWT CM7[/b]
[list]
[*]Latest CM7 Nightly
[*]Added [URL="http://xdaforums.com/showpost.php?p=14529333&postcount=5"]Virtuous OC Daemon[/URL] or [url=https://github.com/tsubus/ilwt_oc_daemon]ILWT OC Daemon[/url]
[*]Includes a modded CM7 kernel (ILWT CM7). See "ILWT CM7 Kernel" section below for more info.
[*]Possibility to customize the ROM before flashing it. This is possible through a text file named ILWT.txt that is placed in the folder ILWT in the root of your SD card. The customizations include:
[list]
[*][B]Kernel choice:[/B] ILWT CM7, stock CM7, or pershoot. ILWT CM7 includes viperMOD.
[*][B]Google apps:[/B] installed or not installed
[*][B]Launcher:[/B] ADW, GO Launcher EX, or completely removed
[*][b]GO Launcher EX Notification:[/b] installed or not installed
[*][B]Messaging:[/B] stock CM7, GO SMS Pro, or completely removed
[*][B]Calendar:[/B] stock CM7, Jorte, or completely removed
[*][B]E-mail:[/B] stock CM7, K-9 Mail, or completely removed
[*][B]Music:[/B] stock CM7, Google Music (for users of Music Beta), or completely removed
[*][B]File Manager:[/B] stock CM7 or completely removed (for those that have paid for Root Explorer)
[*][B]Spare Parts:[/B] stock CM7 or completely removed
[*][B]T-Mobile Wi-Fi calling:[/B] installed or not installed
[*][B]build.prop:[/b] patched or unpatched. Patched build.prop will remove T-Mobile references and change some values to (hopefully) increase mobile data performance.
[*][b]OC Daemon Controller:[/b] ILWT Tools, OC/UV Beater2, Virtuous OC Daemon GUI, or not installed
[*][b]Market app:[/b] kept from previous installation or installed from gapps (don't use this option if you did a full wipe)
[*][b]Modded Gmail:[/b] installed or not installed (get Gmail from Market in this case)
[*][b]New Talk app (with audio and video):[/b] installed or not installed
[*][b]Titanium Backup:[/b] installed or not installed
[*][b]Custom apps:[/b] installed or not installed. Put the .apk files you'd like installed in a folder named ILWT in the root of your SD Card. The installer will automatically install them to /data/app
[*][b]FM Radio:[/b] installed or not installed
[*][b]DSP Manager:[/b] installed or not installed
[*][b]GPS library:[/b] stock HTC or CM7. This setting will be automatically selected for you for supported radio versions
[*][b]Google Books:[/b] installed or not installed
[*][b]Camera:[/b] CM7 or MIUI
[*][b]Stock wallpaper apps:[/b] installed or not installed
[*][b]VPN services app:[/b] installed or not installed
[*][b]Market:[/b] new or old
[*][b]Gallery app:[/b] installed or not installed
[*][b]Custom sounds:[/b] installed or not installed. Place the files in the following folders:
[list]
[*]/sdcard/ILWT/sounds/r (for ringtones)
[*]/sdcard/ILWT/sounds/a (for alarms)
[*]/sdcard/ILWT/sounds/n (for notifications)
[*]/sdcard/ILWT/sounds/u (for ui)
[/list]
[*][b]Hosts file:[/b] patched or unpatched. Patched hosts file removes ads.
[*][b]Cerberus:[/b] installed or not installed. See [url=https://www.cerberusapp.com]official home page[/url] or [url=http://www.google.com/url?sa=t&source=web&cd=8&ved=0CEIQFjAH&url=https%3A%2F%2Fmarket.android.com%2Fdetails%3Fid%3Dcom.lsdroid.cerberus%26hl%3Den&ei=LmOUTqmpOMLc0QHyr8DJBw&usg=AFQjCNE1Kuf90b0t47PnjrqP_I2n2dhLsQ]Android Market page[/url] for more info.
[*][b]OC Daemon[/b]: ILWT, Virtuous, or not installed
[*][b]Connection Icons:[/b] stock, 4G instead of H, or H+ instead of H and H instead of 3G
[*][b]GPS Fix[/b]: ntp server customizable. See [url=http://www.multiupload.com/JDP1ZEFU35]NTP.txt[/url] or [url=http://www.pool.ntp.org/en/]official NTP Pool Project[/url] for a list of servers. It is also possible to use crypted's gps fix.
[*][b]Wi-Fi Scan Delay[/b]: customizable with any number that is a multiple of 15
[*][b]Boot animation[/b]: default or customized. Place valid bootanimation.zip file in /sdcard/ILWT folder and set appropriate ILWT.txt option
[*][b]Fonts[/b]: default or custom. Place Clockopia.ttf, DroidSans.ttf, and DroidSans-Bold.ttf in /sdcard/ILWT/fonts.
[*][b]Car Home apps[/b]: installed or not installed
[*][b]NotiGo[/b]: installed or not installed
[*][b]Notification LED[/b]: stock or blinking green
[*][b]Calculator[/b]: installed or not installed
[*][b]Terminal Emulator[/b]: installed or not installed
[*][b]ROM Manager[/b]: installed or not installed
[*][b]SIM Toolkit[/b]: installed or not installed
[/list]
[*]ext3 partitions automatically converted to ext4 for better performance (no data loss)
[*]Implemented fix to fake front camera when using Google+ hangouts
[*]Implemented fix for ShootMe
[*]Various performance tweaks
[*]Possibility to personalize the installation step by step with AROMA UI
[/list]
See next post for complete changelog and Addons section for sample ILWT.txt configuration file.

[b]Notes[/b]
[list]
[*]It is possible to change kernel, as long as it is AOSP. Just make sure to adjust the frequencies found in the files at /system/etc/virtuous_oc, they have to exist in the kernel you are using. I recommend to always use ondemand governor, but especially do not use smartass or scary governor. The OC Daemon has a sleep profile which would become useless if used with either of those governors.
[*]If you are coming from a ROM that isn't a CM7 nightly, a full wipe is required. I recommend using [url=http://www.multiupload.com/U7JPZHUG1E]SuperWipeG2+ext4[/url] (ext4 version of [url=http://xdaforums.com/showthread.php?t=1044992]SuperWipeG2+[/url]). Make sure to do a Nandroid Backup of your current ROM before flashing the file.
[*]The ROM has been tested with this [url=http://xdaforums.com/showpost.php?p=22565088&postcount=1987]phone configuration[/url]
[*]By default, the OC Daemon is configured as follows (ondemand governor for wake, conservative governor for sleep):
[list]
[*]Virtuous OC Daemon:
[list]
[*][B]ILWT CM7 kernel[/B] - sleep: 245/576, wake: 245/1017
[*][B]CM7 kernel[/B] - sleep: 245/576, wake: 245/1113
[*][B]pershoot kernel[/B] - sleep: 245/576, wake: 245/1017
[/list]
[*]ILWT OC Daemon:
[list][*][B]ILWT CM7 kernel[/B] - sleep: 245/576, wake: 245/1017, temperature: >=40 245/768, battery: <=25 245/768, charge: 245/1113
[*][B]CM7 kernel[/B] - sleep: 245/576, wake: 245/1113, temperature: >=40 245/768, battery: <=25 245/768, charge: 245/1113
[*][B]pershoot kernel[/B] - sleep: 245/576, wake: 245/1017, temperature: >=40 245/768, battery: <=25 245/768, charge: 245/1113
[/list][/list]

You can adjust these values in the files found in /system/etc/virtuous_oc.
[*]Make sure to uninstall SetCPU (or any app alike), as the OC Daemon will not start if it is present (it checks every time the phone boots).
[*]I will try to update this thread after each major CM7 nightly release.
[*]ILWT CM7 is also available from ROM Manager
[*]You can find more detailed instructions on how to use the ILWT.txt configuration file here: [url]http://xdaforums.com/showpost.php?p=17528206&postcount=183[/url]
[/list]

[b]Addons[/b]
For specific features that you would like to be added or removed, please reply in the thread. If enough people would like to see that modification, I will create a flashable zip for it (or even integrate it in the ROM, if appropriate).
[list]
[*][url=http://minus.com/mqSax9YzJ#1l]Add T-Mobile Wi-Fi Calling[/url]. Flash through recovery.
[*][url=http://minus.com/mqSax9YzJ#1l]SuperWipeG2+ext4[/url]. Flash through recovery.
[*][url=http://xdaforums.com/showthread.php?t=1301250]2G/4G icon replacements[/url]. Credits to [url=http://xdaforums.com/member.php?u=335183]sino8r[/url].
[*][url=http://xdaforums.com/showthread.php?t=801160]List of custom fonts[/url]
[*][url=http://minus.com/mqSax9YzJ#1l]NTP.txt[/url]. This is a list of servers that you can use in ILWT.txt.
[*][url=http://minus.com/mqSax9YzJ#1l]Green blinking LED[/url] for notifications. Added automatically to ILWT CM7 if using led=old in ILWT.txt. The flashable zip has been tested on CM7 ROMs.
[*][url=https://market.android.com/details?id=org.ilwt.tools]ILWT Tools[/url]. App to be used to control the ILWT OC Daemon. It is in the early stages of development, please report bugs.
[*][url=http://www.mediafire.com/view/?ko2xm8u2te8893k]Sample ILWT.txt configuration file.[/url] Put it in SDcard/ILWT folder. If not present, the ROM will automatically create one with default values upon flashing.[/list]

[b]ILWT CM7 Kernel[/b]
Latest version of stock CM7 kernel with following changes:
[list]
[*]Added frequencies 576MHz, 902MHz, 1017MHz, 1507MHz, 1574MHz
[*]Removed frequencies 1497MHz, 1516MHz
[*]Slightly undervolted
[*]Exposed VDD levels to userspace, so that voltages for all frequencies can be modded at any time
[*]Added SIO scheduler and made it default
[*]Enabled swap support
[/list]
Download link: [url=https://sourceforge.net/projects/ilwtcm7kernel/]ILWT CM7 Kernel v1.8.1[/url]
v1.8.1 md5: 331e95e8f3cb4a9a60cddade7c99e779
v1.8.0 md5: ad7ba8efd08501da1cb77567c74d535c
Also available on ROM Manager.

[b]ILWT OC Daemon[/b]
[list][*]Based on Virtuous OC Daemon (all credits go to rmk)
[*]Changed name so that it isn't confused with the original OC daemon. Current GUI apps do not work with ILWT OC Daemon.
[*]Same rules apply: make sure that there is no other CPU controller running (such as SetCPU), or the daemon will stop running.
[*]Added temperature profile: when temperature gets too hot, lower frequencies
[*]Added battery capacity profile: when battery is too low, lower frequencies
[*]Added charging profile: if phone is charging, use this profile
[*]There is only one configuration file that the daemon uses upon starting. The default one is found at /system/ilwt/ilwt_oc.conf
[*]Upon starting, the daemon will also check if /sdcard/ILWT/ilwt_oc.conf exists. If it does, it will load the configuration from that file first. If the file is not present or if it is missing some values, the daemon will use the values found in the default configuration file in /system/ilwt/ilwt_oc.conf.
[*]Priority for profiles is: sleep > temperature > charging > battery capacity > wake. This means that it is better to set lowest frequencies for sleep. The wake frequencies are only going to be used if the battery is not too hot, if it has enough capacity left, and if the phone is not charging. If the screen is off, the sleep profile will always be used.
[*]Because of the way the sys files are set up, to switch between the wake profile and the battery, charging, or temperature profiles, the screen must turn off and then back on.
[*]Sources can be found on [url=https://github.com/tsubus/ilwt_oc_daemon]GitHub[/url]
[*]Devs: feel free to add the daemon to your ROM. It would be a nice gesture if you gave credits and a link to this thread, but it's ok either way.[/list]
Download link: [url=http://minus.com/msESMJXHk#1l]ILWT CM7 Daemon v1.3.0[/url]. It works on any ROM of any flavor (including Sense). All phones are supported as long as you have a kernel that is overclockable. I am not 100% sure that it is possible to use the config file from the SD card on every phone, though.
md5: b1fa8b451479f6d8ff79b8812eb4d3f6
Also available on ROM Manager.

The zip file is created with this specific ROM in mind. It will work on other ROMs also, but it will always use the configuration file for the ILWT CM7 kernel. Make sure you check that the frequencies exist for your kernel, otherwise create your configuration file at /sdcard/ILWT/ilwt_oc.conf and set the correct values. Here is a [url=http://www.multiupload.com/HSPT34WEN4]sample ilwt_oc.conf configuration file[/url].

[b]Installation[/b]
Simply flash the .zip file from recovery (it must be 4ext, CWM is not supported), nothing fancy needs to be done. I always wipe cache and Dalvik cache before flashing, just to make sure nothing gets screwed up. Make sure to do a full wipe if you are coming from a different ROM (CM7 nightlies are ok if they are not too old, no need to full wipe in that case).

[b]Download Links[/b]
kitkat: [url=http://www.androidfilehost.com/?w=files&flid=17058]AndroidFileHost[/url]
new: [url=http://sourceforge.net/projects/ilwtcm7/]SourceForge[/url]
old: [url=http://minus.com/mbjk1NuCMj#1l]minus[/url] | [url=http://www.mediafire.com/?rsgetj4rpo9sn]mediafire[/url]
[list][*][b]ILWT CM7 879[/b] md5: ab47f61e2874cbee50f2194ae1f8c110
[*][b]ILWT CM7 875a[/b] md5: f6acf1e2492df36e401c4ed5da4b9f72
[*][b]ILWT CM7 732[/b] md5: 5d9dcef80f06c6671394631ca4d9b0cd
[*][b]ILWT CM7 685[/b] md5: 4cd949029b9587c124c17d255f00a08b[/list]