I have recompiled the current CM7 kernel from nightly 14, what's the experiment you saw in the topic,
Well... I have enabled the optionsCONFIG_ZTE_SUSPEND_WAKEUP_MONITOR=y CONFIG_SCREEN_ON_WITHOUT_KEYOCDE=y
and fixed up the mis-spelling as per css171's post in another thread in relation to rpcrouter...
The above switches are enabled in the existing froyo releases, and seemingly battery drain is better on the froyo than the CM7, despite sharing the same kernel version 2.6.32... I am also hoping it fixes up wakelocks, AFAIK and from previous discussions with Tom_G, that its specific to the ZTE Blade... so....
Please do try it out and report here, whatever you do, PLEASE DO NOT bug the CM7 crew, nor HDCRJacob nor Tom_G on this... I am responsible so bug me instead... and refrain from posting in the other thread in respect to the RC2 nightly otherwise Victor will not be pleased to see nonsensical postings unrelated to RC2
The attachment when decompressed is boot.img and its md5 checksum isd3a27ce2285fb7e8eebe50ac574841c0 boot.img
BEWARE: that's a bad one.. wait... its missing modules...
Have phun and do report!!! \o/
Okey dokey... now sleepies time for moi!
Edit #2: (Heads up!)
Thanks to wbaw.. make sure you do the following: tick "Always use proximity" in call settings.
Update. 10th March, 2011, 21:00
Heads up, this is a refresh, all debugging/unnecessary logging is stripped out of it... (heh! all your logging
basebelongs to us )
so I would be inclined to think it should speed it up slightly...
Once we get satisfaction from users on their experience with this update then we'll use this as the base configuration to fix up other issues, and perhaps integrate andorko's FM radio .....
Now, a simple matter of flashing t0mm13b_update2.zip via clockwork and all should be good to go...
Thanks to fonix232 for his guidance in helping me create the flashable clockwork script and to the gang in #zteblade! You know who you are
Update. 10th March, 2011, 23:00
Weird! have not changed the CONFIG_LOCALVERSION for the kernel and for some reason it will not load the wifi driver hence failure... fonix232 alerted me to it... I will look into the configuration again - perhaps I put the kernel on a very intensive dieting program to shrink it down from 3.2Mb to 2.7Mb .... Have withdrawn the zip file for the moment, investigating and recompile is on the agenda!
Update. 12th March, 2011, 14:21
What a compile/test cycle I have been running there is definitely something weird going on with that darn wifi module ar6000.ko, which has exhibited a dependency on some kernel feature that I have switched off, have been recompiling at least 10 times tweaking the configuration, build the kernel, generate the clockwork script, reboot handset into clockwork, install, test... wash, rinse, repeat effectively, the wifi module requires the debugging features for some obscure reason which resulted in a breakage of the module load. Pity, that the ar6000 module cannot be recompiled, the date/time stamp on the wifi module is 1st August 2008... so that's saying something there...
I am still compiling quite literally as of now and will post out an update now that I have diff'd and merge'd the RC2's kernel configuration back into the tweaked kernel config - fingers crossed.
If this works, then rejoice! I will attempt to recompile the ar6000 module (the sources are something I would not be confident about) have tried to recompile it only for the compiler to complain and end the build of the module prematurely...
Will keep you all posted!
Update. 12th March, 2011, 16:00
w00t! working... here's the attached clockwork flashable update...
The source code for proximity/sensor data check can be found here via google code. For benefit of others, I have included the apk zip also so that you can check. Place the thumb near the sensor, it should say 'NEAR', take away the thumb, it should say 'FAR'. Then all should be go
Make sure you do the following: tick "Always use proximity" in call settings.
Experimental kernel update 21st March 2011:
- FM Radio with Andorko's RDS patch supplied ... (BIG BUT!!! CM7 sources have dropped the fmradio support for some reason... it's there in codeaurora's sources - froyo to be exact) will be experimenting a few things there myself to see if I can rip out the sources from there and rebuild the android base framework code....
- Wifi integrated into the kernel, no module...
- Kallte Kaffe's patch for the headset
- USB OTG... (anyone has the actual adapter for USB otg....?) this part is untested....
Edited by t0mm13b, 21 March 2011 - 01:52 PM.