[ROM] CM7-TG-Reloaded (Final: 03-25)

Whyzor

Well-known member
Jul 19, 2011
406
176
0
Visit site
Here's an introduction to CyanogenMod 7 for the un-initiated. This ROM is an update to the original CM7 ROM by TickerGuy. A big thank you to Isaacj87 (ikarosdev), TickerGuy, & Mantera for making this possible.

adwlauncher.jpg
robotolockscreen.png

For even more theme customizations, see the Ultimate Online Theme Kitchen

Updates since TickerGuy's final CM7 B0.8:

- Default kernel based on TheOC kernel with overclocking/undervolting options (61 Mhz - 2 Ghz). (Beware of OC risks, it's not overclocked unless you intentionally change settings)
- Improved UI response without giving up battery life by switching to Interactive governor & SIO scheduler as default (I DO NOT recommend changing these).
- Rewrote touchscreen driver for smoother & more accurate response
- Updated Adreno 205 graphics drivers (12 -> 24 FPS in Nenamark2)
- Fixed wifi & sensor event wakelocks for better battery life.
- Intentional BT wake_lock added for reliable Bluetooth when enabled.
- BT & Wifi can now be enabled together without 100% CPU usage.
- Wifi connects to hidden SSIDs also & scans faster.
- Improved camcorder video (h264@4/2/0.5 Mbps) & audio (AAC 64kbps @ 44khz) encoding & auto-focusing.
- Improved light sensor readings for auto-backlight tuning in CM settings.
- Fixed sluggish accelerometer bug after long uptime since reboot.
- Extended time for "hold back button to kill app" to 3 seconds to prevent accidental kills.
- Restored default Android lowmemkiller settings for better multitasking apps (Can still be changed in /etc/init.d/99memory)
- Disabled DEBUG mode & HDMI service startup since it's not working anyway
- ICS Roboto font default instead of DroidSans

Updates from CyanogenMod 7.2 Gingerbread 2.3.7:

- T9 predictive search for contacts in phone dialpad
- Customizable carrier label on lockscreen
- ICS Ring (+blade) lock, rotation & transition animations
- Bluetooth external GPS dongle support
- Many other minor fixes & updates such as correct EXIF camera date, options to disable bootup animation, scrolling cache , BT quickconnect, lock volume keys in quiet mode.

Known Problems (everything else works):

- HDMI does not work (Keep a Froyo backup if need to use it occasionally)
- BT or WiFi enabled will prevent deep sleep mode, this is a required hack on custom ROMs (Use built-in Notification bar widget to quickly toggle)
- Some videos in portrait mode flickers. (Enable CM settings 180 orientation & flip upside down)
- Volume sometimes low (pausing or restarting audio sometimes helps)

This ROM is STABLE and has very good battery life when BT & Wifi are off (less than 1%/hr idle when no apps or services are transferring background data). If you encounter any issues, make a NANDroid backup in recovery (DO NOT use the Titanium Backup App, which can cause more problems), then factory-reset & reflash the ROM, try to reproduce the problem BEFORE installing/restoring any Apps. Most problems are due to apps & user settings.

Download Final Build 2012-03-25
md5sum checksum: e2fa38f568af393c525cede9f6eaf025
(I recommend PC download & USB cable transfer onto phone's sdcard for reliability)

Installation:

Follow these simple instructions if you've never flashed a ROM on the MT. If upgrading from a previous CM7, need to wipe cache & advanced -> dalvik-cache in recovery mode (it keeps user data). Also wipe BOTH caches if you experience problems. Android Market/Play is not included for legal reasons, you MUST flash gapps.zip RIGHT AFTER flashing this ROM zip for the first time before rebooting, gtalk.zip (Google Talk) is optional.

Special thanks to these people for financial donations: alisonc, Ben F, Brad Z, Brian C, Claude R, Chi Sung R, Chris H, David E, Deconstructed, dsmryder, eapinto, Eddy C, Jahaziel S, Jay G, Joey M, John C, John D, John K, JohnnyRocket, Jon E, Josh B, Josh H, Kannon Y, Kevin M, klehman215, linearB, Luther P, marc12868, Matthew H, MediocreBadguy, Nicholas M, OverByter, PatrickD88, pillbug, Robert M, Sam H, sharp351, soundping, Susan B, thangfish, Tim S, Volker N, xploPR, Zach B
 
Last edited:

Whyzor

Well-known member
Jul 19, 2011
406
176
0
Visit site
Changelog

Build 2012-03-25

Includes WhyKernel 03-25:
- Enabled INPUT_GPIO in kernel config again to fix proximity sensor glitches.

Other:
- Reverted to original libaudioalsa.so and liba2dp blobs to be safe & since there were no noticeable audio improvements in last build.
- Default to 'dim' auto-brightness profile values by aricblunk

Updates from Cyanogenmod 7:
- Fixed EXIF data writing for camera
- Fixed soft keyboard appearing on dialer sometimes
- Show PIN entry even if lockscreen is disabled
- Backported "disappearing SD media" fixes from CM9
- Fixed ext4 image generation when size is exact multiple of block size
- Fix cursor repeatedly moving back to beginning of To field in MMS app
- Battery status can be shown in PatternUnlockScreen also
- Added Max SMS length option
- ADWLauncher: Added option to lock Action Buttons in main dock

Build 2012-03-04

Includes WhyKernel 03-04:
- Updated KGSL Adreno 205 graphics drivers (12 -> 24 FPS in Nenamark2)
- Ported genlock feature, needed by newer GPU drivers
- Added ZRAM kernel support
- More battery efficient LED notification blinks

Other:
- Using newer audio & Adreno 205 driver blobs from non-MT FB0 devices on xda-forums
- Added 250 ms delay to prevent accidentally swiping from screen to capacitive buttons

Updates from Cyanogenmod 7:
- Updated File Manager app that's included
- View contact by long press on dialpad T9 results
- More efficient memcpy & strlen low-level functions
- Other minor fixes & improvements.

Build 2012-03-01

WhyKernel 02-29:
- Enabled AES & SHA256 encryption support for apps that need it.
- Disabled INPUT_GPIO to get rid of unnecessary interrupt servicing.
- Touchscreen should work with other FB0 devices again.

- Fixed proximity sensor not turning screen back on during calls

Updates from Cyanogenmod 7:
- Landscape layouts for in-call screen
- Fixed screen hang after dismissing a landscape alarm

Build 2012-02-18

WhyKernel 02-18:
- Fixed occasional "event" wakelocks due to 2+ sensors active at the same time
- More touchscreen optimizations, correct button layout for other FB0 devices
- Fixed broken video from 02-16 build

Other Changes
- Using same sensors & graphics blobs as CM9.
- Added /system/usr/bi041p.idc file for touchscreen calibrations

Updates from Cyanogenmod 7:
- "CM Settings - Input" now doesn't force close (only in last build)
- Fixed side swiping notifications freezes (again)
- Fixed freeze after rotating screen when off
- Fixed stock gallery app improper image scaling
- Improved scrolling cache
- Fixed music widget transparency in landscape mode

WhyKernel 02-08
- Removed some BKLs in input processing.

Build 2012-02-02
(CM Settings - Input Force Closes in this build. It should keep settings from prev versions)

Kernel Changes:
- Proper fix for the leftover Wifi & BT wakelocks problem
- Improved MMC/SDIO stability

Updates from Cyanogenmod 7:
- 'Blade' Ring Lockscreen style option available
- Option to disable scrolling cache in performance settings
- ADB over wireless feature built-in (missing 'adbd' on the MT)
- Fixed FC on boot when lockscreen disabled
- Fixed lockscreen alignment

WhyKernel 01-31
- Fixes wakelocks problem.

Build 2012-01-26

Updates from Cyanogenmod 7:
- Fixed status bar swipe race (freezing) condition
- Customizable Carrier Label in Settings
- Bluetooth quickconnect option
- ICS rotation & transition animations.
- Option to lock volume keys in silent mode.
- Automatically restart ADB if TCP port settings change.
- Other minor fixes.

Build 2012-01-21:

Kernel changes:
- Touchscreen interrupts have dedicated workqueues now for faster processing. Removed firmware update & other non-functional code.
- Disabled Smartass & SavagedZen CPU governors. They were causing extra early_suspend processing, there are better governors available still.

Other changes:
- Bluetooth & Wifi can be enabled at the same time without 100% CPU utilization.

Build 2012-01-14:

Kernel changes:
- Default to Interactive governor & SIO scheduler (similar performance as Noop, but will give priority to UI interruptions)
- Light sensor will now report 1, 31, 61, 91, 121... values to improve average calculations for auto-backlight
- Intentional wake_lock for when Bluetooth is powered on.
- Disabled more debugging messages (cleanup devs!)

Other changes:
- Enabled AAC audio codec, videos will sound much clearer now. Also disabled continuous auto-focus hunting when recording (these small lenses have huge depth of field anyway)
- Disabled gps.conf intermediate position reporting that gave false locations until locked (problem introduced in last build)
- Updated gps.conf some more, not sure if this makes much of a difference on the MT.
- Reduced hold_back_to_kill delay to 3 seconds for those impatient serial-killas out there.
- Put RomManager back to try not to break anything, it can be removed after first boot up.

Updates from Cyanogenmod 7:
- NEW Ringlock Feature
- NEW Bluetooth GPS dongle support
- Disable Bootup animation now works
- Other minor updates such as TLS-Auth for OpenVPN & call waiting tweak.

Build 2012-01-07:

Kernel changes:
- Reverted back to the stock touchscreen driver code (used in TG's B.08 ROM) with my rewrite & optimization of isr_workqueue function. Should be more reliable and smoother.
- New fix for MMC wake-lock that prevents deep sleep when screen is off.
- Disabled debug mode/msgs in kernel.

Other changes:
- Disabled more debugging modes in DalvikVM, GPS, & kernel. Leaner & faster ROM overall.
- Using gps.conf QUICKEST FIX V1.3 By RJLM, not sure if aGPS even works on the MT according to TG, but this won't hurt anything if it doesn't.

Build 20111230:

Kernel changes:
- Based on TheOC v1.6.14 (changelog)

Other changes:
- Fix for sluggish accelerometer.
- Extended time for "hold back button to kill app" to 4 seconds to prevent accidental kills
- Disabled DEBUG mode & most messages.
- Removed RomManager.apk from package

Build 20111228:

Cyanogen changes:
- Dialpad: perform search when retrieving last dialed number

Kernel changes:
- Kernel based on TheOC Kernel v1.6.11 (changelog)
** Using original interactive governor algorithm with 20ms intervals & 95% threshold.
** Disabled some intermediate frequencies 184, 368, 652, 806, 921 Mhz, simplifies CPU scaling, Still have 61, 122, 245, 460, 576, 768, 1024, & the rest of OC)
** Disabled proximity sensor debug msgs.
- My experimental kernel fix for the occasional "can't go into deep sleep mode until reboot" bug. This should improve battery life.
- Interactive governor default instead of ondemand

Build 20111223:

First version.
 
Last edited:

Kreatur3

Well-known member
Mar 2, 2011
660
40
0
Visit site
Re: [ROM] CM7-TG-Reloaded

I guess I shall be the first to say THANKS for continuing the development. Saw you a lot in the OV forums and now in the MT. Glad to see someone picked this up after TG ended his development. :)
Downloading now.
 

Droidslayer

New member
Apr 8, 2011
1
0
0
Visit site
Re: [ROM] CM7-TG-Reloaded

I dnloaded and installed the ROM yesterday.
Installed without any problems.
I tested the WiFi and BT on at the same time and you are correct, the CPU is pegged at 100%. To get out of it I rebooted the MT. If I turn off one of the offenders will it bring the CPU to normal usage or do I have to reboot?

Thanks for continuing to enhance this ROM.
 

Whyzor

Well-known member
Jul 19, 2011
406
176
0
Visit site
Re: [ROM] CM7-TG-Reloaded

I dnloaded and installed the ROM yesterday.
Installed without any problems.
I tested the WiFi and BT on at the same time and you are correct, the CPU is pegged at 100%. To get out of it I rebooted the MT. If I turn off one of the offenders will it bring the CPU to normal usage or do I have to reboot?

Thanks for continuing to enhance this ROM.

It was reported as a known bug by TG originally as an "interrupt storm", so I never tried it, you could try turning one off and see if the CPU is back to normal (use cpu spy or something similar), if not then reboot.
 

dhwagner

Member
Feb 14, 2011
23
2
0
Visit site
Re: [ROM] CM7-TG-Reloaded

I sure appreciate your continuing the work -
It would be nice if someone could get HDMI working

Also does anyone have issues with GPS dropping?:)
 

Whyzor

Well-known member
Jul 19, 2011
406
176
0
Visit site
Re: [ROM] CM7-TG-Reloaded

[Guide] How to fix GPS

I think this needs to be in the next version.

Your welcome!

I think this is a placebo effect. I looked at that zip file, it places a /system/lib/libgps.so file, but the MT doesn't have that file, it also places hw/gps.bravo.so, hw/gps.htcleo.so, and hw/gps.leo.so, which also has nothing to do with the MT.

On the latest build of this ROM, if I turn off 3G & wifi, it takes a little over 1 minute for me to get initial lock, then disable gps, quit the app, and relaunch it, it'll lock on quicker, all without this flashable zip.
 

Whyzor

Well-known member
Jul 19, 2011
406
176
0
Visit site
Re: [ROM] CM7-TG-Reloaded

ya but with this zip it is locking faster.

There's no evidence that it would work, unless you can point me to somewhere that says that the MT is looking for a non-existent /system/lib/libgps.so file and putting this in there helps with that. Right now I'm getting 1-2 min on initial cold GPS lock, and a few seconds after initial lock, so that's pretty good already.

BTW, updated post #1 & #2 with new build release info.
 

Whyzor

Well-known member
Jul 19, 2011
406
176
0
Visit site
Re: [ROM] CM7-TG-Reloaded

Where do you disable bootanimations?

In the Settings - CM Settings - Performance, but it may be broken on our device anyway (it's a CM7 update for all devices). You could just remove /system/media/bootanimation.zip or rename it too.

Render effect should save, I have it disabled and it's always been disabled when I reboot. Try re-wiping & reflashing, following installation directions carefully. This is the first time I've heard of this issue.
 

Whyzor

Well-known member
Jul 19, 2011
406
176
0
Visit site
Re: [ROM] CM7-TG-Reloaded

I think 4 seconds is way too much for the stop app via long press. 2 seconds would be great.

2 seconds is what it was before, I may go to 3 seconds in a future release. Killing apps is not something that should be done often (it can corrupt data), so a little extra delay is for good measure.
 

Trending Posts

Forum statistics

Threads
942,379
Messages
6,913,758
Members
3,158,384
Latest member
FarajWala800