yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] yogi2010:
might as well, ey? if you can point the system to look in there...

I had one question about the daemon: sometimes I bump my wake max. speed up to 1113, but when I check the CM cpu settings, it reads 1024. why is this? I know that 1024 has been either added or removed from the stock kernel...?
[G2 and Desire Z Android Development] tsubus:
I've noticed that too once, but I've never seen it again. I would not trust that screen though, if you want to check which frequencies/governor are being used by the system use the following commands in terminal/adb shell:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

That's where the kernel goes to read which settings to use.
[G2 and Desire Z Android Development] yogi2010:
ok sounds good, I remember checking that way before too. I have also noticed that the 1024 in CM cpu settings seems to change to (for me) 1113 after a short while. strange
[G2 and Desire Z Android Development] hispeedworm:
ohhhh thats so cool and so nice of you .... thanks alot tsubus .... your the best :D 2 thumbs up for your quick reply and support
[G2 and Desire Z Android Development] tsubus:
This is pretty smart, I'll incorporate a solution that does the same thing in the next release (without any extra app).
[G2 and Desire Z Android Development] Ditamae:
This has been happening to me also... and just to confirm 1113600 is still a value, correct? For some reason when I tired using the ilwt_oc.conf file on the SD card, my wake max value (1113600) wasn't recognized. And then when I tried manually adjusting this value after flashing, my wake max remained 1024 in CM settings and in Antutu benchmark. Very strange. I've now updated the ROM (238) with the ILWT OC Daemon and I'm about to try a manual wake max change again.

edit: all seems well now... of course, the moment I post about it, it's resolved.
[G2 and Desire Z Android Development] tsubus:
Please show me a logcat of this happening. Do this (after you see the issue):

1) Open terminal emulator

2) Type the following:

su
logcat | grep ILWT

Show me that output.

Also, while you are seeing the issue, type this:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

You can also do this from adb if you have it installed in your PC.
[G2 and Desire Z Android Development] Ditamae:
I changed wake max to 1113600 manually thru the ilwt_oc.conf, and checked this frequency thru the terminal and 1113600 was recognized. A few minutes later I checked again and it was back down at 1017MHz. Granted now it's showing an actually frequency (not 1024MHz), it is still strange. I'm not sure this is still useful, but here is the output of logcat | grep ILWT:

export PATH=/data/local/bin:$PATH
$ export PATH=/data/local/bin:$PATH
$su
# system/cpu/cpu0/cpufreq/scaling_max_freq
1017600
# logcat | grep ILWT
I/ILWT_OC ( 1236): Setting sleep profile.
I/ILWT_OC ( 1236): Setting CPU Params: Governor=conservative min_freq=245760
max_freq=368640
I/ILWT_OC ( 1236): Setting awake profile.
I/ILWT_OC ( 1236): Setting CPU Params: Governor=ondemand min_freq=245760
max_freq=1017600

EDIT: Just to clarify, my problem is that after I've manually adjusted the ilwt_oc.conf file in /system/etc/ilwt_oc it appears to simply revert back to 1017MHz a few minutes later. I haven't made any other adjustments other than wake max to 1113MHz.
[G2 and Desire Z Android Development] kara mustafa:
the same thing with my phone. my highest freq in awake profile is 1017600 but i didnt do anything with config file.

Ups. i just check that everything is OK:D it is just a default config.
[G2 and Desire Z Android Development] dixxa:
Well my ilwt_oc.conf from sdcard isn't read at all just the one from system :s so this is not so cool any things I missed ?
[G2 and Desire Z Android Development] tsubus:
i'll try to reproduce it later on my phone. just to be clear, which file are you modifying?

also, that logcat is not showing the entire daemon log, try to get it earlier after a reboot

Sent from my HTC Vision running ILWT CM7
[G2 and Desire Z Android Development] tsubus:
@dixxa: you probably simply configured it incorrectly or placed it in the wrong folder. remember you have to reboot for changes to take effect.

Sent from my HTC Vision running ILWT CM7
[G2 and Desire Z Android Development] dixxa:
I copied the sample file in the right folder the one with .bin files in it "/sdcard/ILWT/ilwt_oc/"

I've just changed ondemand to interactive and to test it i've copied this file to /system/etc/ilwt_oc/ilwt_oc.conf and it works like magic :)

it simply don't read my file from sdcard
[G2 and Desire Z Android Development] tsubus:
post a logcat please.

Sent from my HTC Vision running ILWT CM7
[G2 and Desire Z Android Development] dixxa:
# logcat | grep ILWT

logcat | grep ILWT

I/cm ( 1187): Welcome to Android 2.3.7 / ILWT-CM7-20111023

I/ILWT_CM7( 1243): No overclocking apps detected; enabling ILWT_OC

I/ILWT_OC ( 1244): Starting service.

I/ILWT_OC ( 1244): Reading config from SD card.

I/ILWT_OC ( 1244): No config file in SD card.

This is what I get when I boot .

and what I have

# pwd

pwd

/mnt/sdcard/ILWT/ilwt_oc

# ls

ls

ilwt_oc.conf

#
[G2 and Desire Z Android Development] tsubus:
I think I know what the issue is: the system is mounting the SD card after the daemon has already started, which means that it does not see the config file. Try this, if you have time:

su
killall ilwt_oc
/system/xbin/ilwt_oc
logcat | grep ILWT

and post the results.
[G2 and Desire Z Android Development] dixxa:
It works ! :)

# killall ilwt_oc

killall ilwt_oc

# /system/xbin/ilwt_oc

/system/xbin/ilwt_oc

# logcat | grep ILWT

logcat | grep ILWT

I/ILWT_OC ( 4307): Starting service.

I/ILWT_OC ( 4307): Reading config from SD card.

I/ILWT_OC ( 4307): Found wake_min_freq=245760

I/ILWT_OC ( 4307): Found wake_max_freq=1017600

I/ILWT_OC ( 4307): Found wake_governor=interactive

I/ILWT_OC ( 4307): Found wake_min_freq=245760

I/ILWT_OC ( 4307): Found wake_max_freq=1017600

I/ILWT_OC ( 4307): Found wake_governor=interactive

I/ILWT_OC ( 4307): Found sleep_min_freq=245760

I/ILWT_OC ( 4307): Found sleep_max_freq=368640

I/ILWT_OC ( 4307): Found sleep_governor=conservative

I/ILWT_OC ( 4307): Found battery_temp=400

I/ILWT_OC ( 4307): Found battery_temp_min_freq=245760

I/ILWT_OC ( 4307): Found battery_temp_max_freq=768000

I/ILWT_OC ( 4307): Found battery_temp_governor=conserv

I/ILWT_OC ( 4307): Found battery_cap=25

I/ILWT_OC ( 4307): Found battery_cap_min_freq=245760

I/ILWT_OC ( 4307): Found battery_cap_max_freq=768000

I/ILWT_OC ( 4307): Found battery_cap_governor=conserva

I/ILWT_OC ( 4307): Found charge_min_freq=245760

I/ILWT_OC ( 4307): Found charge_max_freq=1113600

I/ILWT_OC ( 4307): Found charge_governor=interactive

---------- Post added at 01:39 AM ---------- Previous post was at 01:36 AM ----------

Well another issue resolved !

i'm off to bed thanks again for being so damn fast xD !

and good night !!!!!
[G2 and Desire Z Android Development] tsubus:
Alright, I'll see if I can mount the SD card before the daemon starts, at least until it gets the values. I wonder if the mounting of the SD card is the same on every phone, though, otherwise I'll have to make a different flashable zip for every phone and that would suck.

I'll get to work, I'll post the results in a while.
[G2 and Desire Z Android Development] Ditamae:
I am modifying only:

wake_max_freq=1113600

I made this change in the file ilwt_oc.conf

After I apply the wake max freq change, I rebooted and ran the commands you suggested. Here is the output:

$ export PATH=/data/local/bin:$PATH
$su
# system/cpu/cpu0/cpufreq/scaling_max_freq
1024000
# system/cpu/cpu0/cpufreq/scaling_min_freq
245760
# system/cpu/cpu0/cpufreq/scaling_governor
interactive
#logcat | grep ILWT
I/ILWT_OC ( 1236): Setting sleep profile.
I/ILWT_OC ( 1236): Setting CPU Params: Governor=conservative min_freq=245760 max_freq=368640
I/ILWT_OC ( 1236): Setting awake profile.
I/ILWT_OC ( 1236): Setting CPU Params: Governor=ondemand min_freq=245760 max_freq=1113600
[G2 and Desire Z Android Development] tsubus:
Where is that file located? There can be 2: one in the SD card, one in /system.
[G2 and Desire Z Android Development] sino8r:
Tsubus or anyone, it is safe to delete the oc.config file and just use SetCpu, correct? I already did it and it seems to work okay so far. Its just easier especially when I wanna crank the cpu up quickly for an intense 3D game like Quake 3 or Dead Space... am looking forward to an official GUI! Tsubus is getting up there with the greats! Amazing work! The latest is killer!
[G2 and Desire Z Android Development] Ditamae:
It is in: /system/etc/ilwt_oc

Using the file on the SD also did not work for me. Probably due to the card not being read first, as you said on the previous page. So I have deleted the ilwt_oc.conf from my SD card.
[G2 and Desire Z Android Development] tsubus:
I am not seeing the entire log, so please do this from terminal:

su
killall ilwt_oc
/system/xbin/ilwt_oc

Play around till you see the issue, then do this:

logcat | grep ILWT

I am about to upload a flashable zip that should fix the issue of the SD card not being mounted fast enough.

edit: here it is http://www.multiupload.com/04W7SKCRTT
[G2 and Desire Z Android Development] human-being:
Can SuperWipeG2+ext4 be used on Desire Z?

What is the different between using this superwipe and doing full wipe (wipe all data + cache) in recovery?

Thanks.
[G2 and Desire Z Android Development] Shadow-Nexus:
Hey if anyone is interested in getting the almost perfect look of ICS

Here is a cm7 theme tha is freaking AWESOME!

http://xdaforums.com/showthread.php?t=1310925

NOTE: It was not made by me!
[G2 and Desire Z Android Development] tsubus:
Superwipe also wipes efs. Depending on what recovery you are using, some format the partitions as ext3, while SuperWipeG2+ext4 formats all the partitions as ext4. And yes, you can use it on the Desire Z too.
[G2 and Desire Z Android Development] tsubus:
That's very nice looking, thanks!
[G2 and Desire Z Android Development] G1ForFun:
Heh grab the lock screen and the galaxy nexus boot animation from that same section while your at it. :)
[G2 and Desire Z Android Development] sino8r:
Yeah, man... I've been playing with that one since alpha 1. Sonny said that he is working on battery percentage and when that's fixed... I'm jumping to it full time. Between that theme, new font, new lockscreen, and launcher pro theme... I'll be running a perfect look-a-like ;) I was starting to work on the network icons for that theme but sonny just fixed them. I'll still add the H+ to it. Anyways, back to the rom ;)
[G2 and Desire Z Android Development] HunnyBearLewis:
Hey in the OP it mentions a fix implemented to fake the front the camera for Google Hangouts - what is the fix and should it work for Skype?

I can't seem to get it working but don't know if its just the wrong modded version of skype or not...
[G2 and Desire Z Android Development] Ditamae:
Ah, I think your zip fixed it. It appears that the SD card is now read before the script starts. :) Now I don't have to mess with it after each update either. Thank you.
[G2 and Desire Z Android Development] darkspadez:
Tsubus I must say this rom is awesome best battery life, memory, and speed compared to any other I've used for past year.
[G2 and Desire Z Android Development] tsubus:
You can fix it by creating android.hardware.camera.front.xml. I'm not sure if it works with Skype, try it out and see for yourself :)
[G2 and Desire Z Android Development] tsubus:
Good :) If you see that issue again, you know what to do ;)
[G2 and Desire Z Android Development] tsubus:
I'm glad you're liking it :D
[G2 and Desire Z Android Development] Nshih422:
Tsubus, it looks like the dev for the oc/uv beater 2 app posted his source code, that might help with the dev of your GUI. Just a thought.

http://xdaforums.com/showthread.php?t=1207546
[G2 and Desire Z Android Development] tsubus:
Thanks for the heads up, that will definitely help. I'm still in the beginning stages of the learning curve right now though, don't expect the GUI too soon. I like to do things well, so I'm not going to start coding it until I really know what I'm doing :P
[G2 and Desire Z Android Development] Nshih422:
That's the way things should be done :) just thought I would try and help. :D
[G2 and Desire Z Android Development] sino8r:
Yeah, coding is a real ***** ;) You have quite a bit of experience with scripts and others so it won't be a HUGE learning curve for ya. Can't wait to see the end results!
[G2 and Desire Z Android Development] Ditamae:
Quick question... I move in & out of wifi range frequently and I'd like to lower the wifi scan interval somewhat. Do I need to lower it in certain increments, or more specifically, can I lower it to 60 or 90?
[G2 and Desire Z Android Development] HunnyBearLewis:
Aha, thank you sir I'll give it a go. :)
[G2 and Desire Z Android Development] tsubus:
That's fine

Sent from my HTC Vision running ILWT CM7
[G2 and Desire Z Android Development] aM-:
Hello. wonder if I can set 3G network scan for HSDPA 900 / 2100 only. any idea to setting like that?
[G2 and Desire Z Android Development] human-being:
Thanks!

So if I am using 4EXT Recovery, is "wipe | format -> format all partitions (except SD)" doing the same thing as SuperWipe?

The filesystems of system, data, cache shown in the recovery info saying they are all ext4.
[G2 and Desire Z Android Development] tsubus:
It doesn't wipe efs partitions.
[G2 and Desire Z Android Development] Czechton:
Just wondering if anyone else is having problems with the market connecting to google. Whenever I open the market it says "No connection".
[G2 and Desire Z Android Development] bombadier:
Sorry anyone having problems with adobe flash 11? Works in browser but in an app get audio but no picture,only fix I found was for 10.2 changing permissions which did not help,any ideas?

Installed flash 10.2 and all working now
[G2 and Desire Z Android Development] Shadow-Nexus:
Hey if anyone is using the ring lockscreen style and is interested in change the style of the rings follow this link and you'll be taken to a magical thread that has a lot of different types of rings

They are FREAKING AWESOME!

Click here to go!

NOTE: These werent made by me

NOTE 2: I know its in the droid incredible forums but the mods work well on the g2

ive tried a few and they work great!
[G2 and Desire Z Android Development] aM-:
doesn't work for me. using CWM 3.0.2.4.
[G2 and Desire Z Android Development] Shadow-Nexus:
The're not flashable zips they are metamorph zips didn't you read the OP?

Dont forget to thank me if i help you!
[G2 and Desire Z Android Development] aM-:
oh! my bad. sorry for that
[G2 and Desire Z Android Development] kusuriurikun:
On v.238 with the new T-Mobile radio, working like a dream as always--the new radio DOES seem to be better at battery life in my short testing, and the GPS fix works as usual with stock gps.vision.so (Tsubus, you actually beat me to that for the new radio :D).
[G2 and Desire Z Android Development] convolution:
Tested it out. Battery life is amamamazzinggg!

I came to this one from CM7 BBQ 7.1.

Keep up the good work =D
[G2 and Desire Z Android Development] MrEzzzkiel:
I've made a copy of ILWT.txt and put it in the ILWT-folder on the sd-card... I then removed some of the # to make it use that setting... I save and when I flash it, it's all default... What am I doing wrong here?

---------- Post added at 03:49 PM ---------- Previous post was at 02:51 PM ----------

Okay.... So the ILWT.txt goes to the root of the sd-card?

Am I misinterpreting something here? :)
[G2 and Desire Z Android Development] tsubus:
That's for next release, I have already changed the OP because I'll make it later today. For now, just place it in the root of your SD card (it will be moved automatically in the next release). Sorry about the confusion.
[G2 and Desire Z Android Development] MrEzzzkiel:
nevermind that, i got it working now so it's all good... Thx for this rom! :D

I love that we get the option to customize the rom before flash! great idea, bro!
[G2 and Desire Z Android Development] tsubus:
Updated ILWT OC Daemon to v1.1.0.

Changed location of configuration files: they are now at /system/ilwt/ilwt_oc.conf and /sdcard/ILWT/ilwt_oc.conf (you must manually move the file on the SD card if you are flashing the ILWT OC Daemon zip. Once I come out with the new release later today, the file will be moved automatically).
[G2 and Desire Z Android Development] kazuki1:
Wow dude great rom! And your putting out updates very fast! Keep up the good work man!
[G2 and Desire Z Android Development] tsubus:
New release, which is now finally available on ROM Manager again :D Some stuff changed, so please read the changelog below.

ILWT CM7 241:

ILWT OC Daemon: little fix

Fixed issue with SD card being mounted after the OC daemon has started. Now the SD card configuration file can be used successfully

Possibility to set the GPS server to use. Use gpsfix=name.of.ntp.server.com in ILWT.txt, where "name.of.ntp.server.com" is a real ntp server. This is the same thing that FasterFix does, without the necessity of having an app installed and having to run it after every flash. See NTP.txt file in OP for a list of servers that you can use.

Configuration file is now read from inside ILWT folder instead of root of SD card (/sdcard/ILWT/ILWT.txt). The configuration file will automatically be moved from the root of your SD card if you have it there (and not in the new location)

Apps for custom apps installation are to be placed in /sdcard/ILWT/apps folder now

Changed the installer: it won't output any of the customizations to screen. Instead, it will create a log file at /sdcard/ILWT/logs/ILWT.log

Possibility to set the delay of the wifi scan. Set wifiscan=number in ILWT.txt, where number is a multiple of 15.

ILWT OC Daemon: changed location of configuration files: /system/ilwt/ilwt_oc.conf and /sdcard/ILWT/ilwt_oc.conf (they will be moved automatically from old location).

Added latest ILWT OC Daemon (v1.1.0)

Possibility to use a custom boot animation. Use bootanimation=custom in ILWT.txt and place a valid bootanimation.zip file in /sdcard/ILWT.

Updated to latest CM7 Commits (October 25, 4:15PM EST)
[G2 and Desire Z Android Development] Ditamae:
Awesome additions, tsubus. Love the ability to use my custom boot animation, and wifi scan interval. :) Thank you!
[G2 and Desire Z Android Development] tsubus:
The wifi scan delay option was based on your suggestion :p

Also, I have completely changed the installer, which means that problems might arise. I have tested it for quite some time but I can't test every possible combination, so if anybody sees any issues, please report them. Thanks:D
[G2 and Desire Z Android Development] tsubus:
I have a question for you: does RIL matching improve the signal at all? I'm not seeing any issues without matching RIL's, but I have never investigated it. I'm sure you have :p
[G2 and Desire Z Android Development] comat0se:
Think you released 241 just a few minutes too soon... 138 commits! Ah well, next one...
[G2 and Desire Z Android Development] tsubus:
The HTC Vision has a Snapdragon CPU, so the OMAP commits should not make any difference at all.
[G2 and Desire Z Android Development] Ditamae:
Okay... I will have to wait until after my microbiology class to try it out, but I will definitely report how it goes. Thanks again. :)
[G2 and Desire Z Android Development] aM-:
just a suggestion. since lots of people like to use custom font, would you like to make option for custom font on customization. i think its enough if change DroidSans.tff only. :D
[G2 and Desire Z Android Development] Shadow-Nexus:
hey man thanks for the update!

I really like the new changes you did to the customization text!
[G2 and Desire Z Android Development] theone10:
@tsubus

How can I install your upadated deamon when. I have the orginal (virtuous oc) installed?

I tried the zip from recovery nothing happened ( and somehow the zip fail signature verify, even if disable that still the same)

I figure you can install yours and disable the other by removing the excute permission but the zip will not install

I am using bulletproog miui latest version
[G2 and Desire Z Android Development] HunnyBearLewis:
Quick question,

I've always just left the build.prop option as unpatched without any problems at all - anyone patch it and have better/worse/same results?
[G2 and Desire Z Android Development] Shadow-Nexus:
OFF topic: Isn't it weird that tsubus has the same number of thanks as the number of the update?

EDIT: It was
[G2 and Desire Z Android Development] tsubus:
It's actually 3 files. I'll include it in the next release.

See here for a list of fonts: http://xdaforums.com/showthread.php?t=801160
[G2 and Desire Z Android Development] tsubus:
You have to delete virtuous_oc from /system/xbin (you have to mount /system as rw to do so).
[G2 and Desire Z Android Development] theone10:
I deleted it still no go. The itwl is nowhere to be found.

Edit : I installed manually. It works. Thanks
[G2 and Desire Z Android Development] EdKeys:
Tsubus, for those of us who elect to match radio rils, would it be possible to add that option to the ILWT.txt file in the next release? I believe you're matching the gps.so file to the radio now so maybe you could add in the rils?
[G2 and Desire Z Android Development] tsubus:
If matching RILs is proven to improve performance, I'll add it for everybody, otherwise I won't include it. No point in including extra stuff that doesn't do anything.
[G2 and Desire Z Android Development] HunnyBearLewis:
/system/etc/virtuous_oc is nowhere to be found :(

I've been using this ROM for a while now and never had a problem, it was always there...then I used SuperwipeG2+ext4, flashed 241, went to virtuous_oc to change it to my usual settings and nothing.

This is how I have the relevant lines in my ILWT.txt

#ocdaemongui=virtuous

#ocdaemongui=none

ocdaemon=virtuous

That should mean it's using the Virtuous OC Daemon with the OC/UV Beater, right? or am I blind and confused?
[G2 and Desire Z Android Development] tsubus:
Please post your ILWT.log file found in /sdcard/ILWT/logs on pastebin and post the link here. I re-wrote the entire installer so it is possible to see this kind of issues.
[G2 and Desire Z Android Development] EdKeys:
Debate on that turned out to be an open can of worms! I get about 10 % faster download speeds over 4g at home and at work and I see faster switching between wifi and data when moving from one to another but that is the extent or non-extent of any testing that I've done. I'll move them manually so its not that big a deal.

On another note, my notification power widget brightness button stopped working and I noticed that I had to go into settings and select new values for it, so if anyone else has a problem the settings have changed and become more configurable.
[G2 and Desire Z Android Development] HunnyBearLewis:
Here you are: http://pastebin.com/n3d3Gwbr
[G2 and Desire Z Android Development] tsubus:
Just to make sure: you're not seeing virtuous_oc folder in /system/etc and no Beater2 app installed, correct?

edit: nvm, found the issue in the code...little bug that I overlooked...I'll make a "fix release" and upload it as soon as possible.
[G2 and Desire Z Android Development] HunnyBearLewis:
It probably doesn't matter but yeah, no virtuous_oc folder and the Beater2 app IS installed just not working.

btw, thanks for being so awesome and helpful, tsubus.
[G2 and Desire Z Android Development] tsubus:
Alright, I'm uploading the new release right now...give it a little time :P I'm removing 241 for now...
[G2 and Desire Z Android Development] theone10:
The deamon does not apply the values on start up if the battery is low or charge the phone unless you turn the screen on and off. Unless there is a delay I don't know about

I also suggest it has a setting to put the clock on boot up