yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] KwiHa:
Hi,

I have the same Radio (it is the latest Vision_Radio_12.57.60.25_26.10.04.12)

with CM7 gps library and do not have any issues on GPS. Gmaps, Sygic and GPStest working fine. :D

---------- Post added at 06:21 PM ---------- Previous post was at 06:12 PM ----------

One more thing...

When you updated your radio, did you read the first post on Radio thread?

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

"...

Originally Posted by guhl99

Hi!

The GPS - issue (GPS searching forever, no fix, status bar does not even show the gps-icon) can be fixed by wiping the efs data.

This data is stored in partition 13 and partition 14 on the G2/DZ/DHD/MT4G.

......

To wipe the efs is general a good idea if you switched radio-firmware or the ril-libs (which might happen when you switch from one rom to another)

have fun - Guhl

So in order to simplify this wiping process AmazingLarry has created a script of guhl's efs wipe and made it flashable through recovery. You can go to his thread and download the vision_wipe_efs zip tool FOUND HERE

..."

I not copy the original link, go to the radio thread, read it and you will find it there.

I did it and do not have any problem. I think a good idea to do a EFS wipe for those folks who has issues on GPS.... and see.
[G2 and Desire Z Android Development] tsubus:
efs is automatically wiped when flashing ilwt cm7

Sent from my HTC Vision running ILWT CM7
[G2 and Desire Z Android Development] Wotan1:
Virtuous OC Daemon GUI

How I can know if Virtuous OC Daemon is running? Thanks for a fantastic job.
[G2 and Desire Z Android Development] tsubus:
open terminal and type:

ps | grep virtuous_oc

if a process shows up, then it's running.
[G2 and Desire Z Android Development] billnye1999:
What is the Adobe Flash fix that you are implementing in the next release? Is it something we can do without flashing a new version?
[G2 and Desire Z Android Development] tsubus:
it does a 'chmod 000' on the config.data file in the flash plugin directory of the browser. yes, you can do it manually from terminal too.
[G2 and Desire Z Android Development] L-ViZ:
just got a little question. what´s the function of htc synch? what does it synch? is it required or a kind of bloatware?

and when can we expect an update? xD
[G2 and Desire Z Android Development] tsubus:
I'm not really sure what HTC sync does, I know it gets installed when you plug your phone in the PC (if you have HTC Sync installed). I used to remove it but since it gets reinstalled everytime I plug it in, I just leave it now. It doesn't seem to take up any resources or do anything weird, so it should be ok.

Next release will probably be Saturday night.
[G2 and Desire Z Android Development] Wotan1:
Thanks. All is OK.

On the other hand, I do not know what is the best kernel and the best OC Daemon Controller. I have chosen the CM7 kernel and the Virtuous OC Daemon Controller randomly. What is your opinion?
[G2 and Desire Z Android Development] tsubus:
It's not easy to say which one is the best, which is why there is a choice of kernels. Try a few and see which ones works best for you in terms of performance and battery. I'm using ILWT CM7 kernel (tweaked CM7 Kernel) and the OC/UV Beater2 controller. Virtuous OC Daemon Controller may cause issues.
[G2 and Desire Z Android Development] tsubus:
Updated ILWT CM7 Kernel to v1.2.0:

changed min and max voltages allowed. This might (tested a little) fix the issue with phone freezing with high max frequencies and Virtuous OC Daemon.

removed 1516MHz and 1612MHz frequencies

added 1555MHz frequency

Link in OP. It will eventually be available in ROM Manager too but the upload service is down right now.
[G2 and Desire Z Android Development] Lazy79:
Download link: ILWT CM7 Kernel v1.3.0

the link seems to be broken?
[G2 and Desire Z Android Development] tsubus:
New release uploaded (kernel updated too), lots of changes. Updated sample ILWT.txt in OP.

ILWT CM7 228:

Hosts file is now patched in order to remove ads. It's possible to unpatch it with hosts=unpatch in ILWT.txt

Increased readahead buffer on MMC devices from 1024kb to 3072kb

Implemented fix for Adobe Flash in browsers. If you're using a browser that is not supported by the fix, please reply in the thread. Currently supported browsers: stock, Dolphin HD, Dolphin Mini, Boat Mini, Skyfire, UC Browser, Miren. The fix takes place at boot, therefore if you install a browser after flashing the release, you must first reboot the phone for Adobe Flash to be working

Possibility to install Cerberus in system partition (see Official home page or Android Market page for more info). Use cerberus=yes in ILWT.txt

efs is now only wiped if the radio has been changed or if coming from a ROM that isn't ILWT CM7 (in previous versions it was wiped every time)

GPS libraries are now automatically selected for radios 26.10.04.12, 26.10.04.03, 26.08.04.30, and 26.03.02.06 (gpslib value in ILWT.txt is ignored for those radios)

ILWT CM7 Kernel: changed min and max voltages allowed. Might fix the issue with phone freezing with high max frequencies and Virtuous OC Daemon. Also removed 1497MHz, 1516MHz and 1612MHz frequencies, and added 1507MHz and 1574MHz frequency

Included latest ILWT CM7 Kernel (v1.3.0)

Removed Tiamat kernel. It does not have the ondemand governor anymore and it causes issues with high max frequencies and Virtuous OC Daemon

Updated pershoot kernel to 10/12/11 - 8.30PM EDT version

Tweaked lowmemorykiller, vm, and oom_adj for extra performance. Credits to Juwe11

Updated to latest nightly (October 13, 1PM EST)
[G2 and Desire Z Android Development] mastergrifis:
Do I need a full wipe if coming from 225? Thank you.
[G2 and Desire Z Android Development] tsubus:
It's never needed unless I specifiy it ;) The usual cache/dalvik is enough.
[G2 and Desire Z Android Development] kusuriurikun:
If I'm reading this right, does this mean that the HTC driver fix is now default on ILWT CM7 v.228? (Basically just wanting to make sure whether it's That Darn Good, or if there's something else going on)
[G2 and Desire Z Android Development] tsubus:
It's official for the 3 radios that have been tested to work ;)
[G2 and Desire Z Android Development] tsubus:
I have never run benchmarks because I don't really believe they are very accurate or mean much, but I tried just for the hell of it. Got pretty good results :p

(ran with Virtuous OC Daemon and ondemand governor, shouldn't really matter when benchmarking though)

1017MHz:

1574MHz:
[G2 and Desire Z Android Development] yogi2010:
Got the new update up and running. Man, that ILWT.txt really helps out a lot!

Tsubus, if we are fine with the cpu settings Wake- 245/1017 ondemand and Sleep-245/368 conservative, are we ok without any cpu control app at all? And of course with the CM control set to not run at boot.
[G2 and Desire Z Android Development] tsubus:
Yes, the oc daemon controller is not needed. In fact, it's not really a controller, it's only there if you'd like to easily mess with the values. The oc daemon runs in the background with default values, it's not controlled by anything.
[G2 and Desire Z Android Development] yogi2010:
Ok cool, the simpler the better, for me. I prefer a kernel that is already set up nicely :) plus i know i can go into my system and change the values if i should want to. Do new values take effect at bootup?
[G2 and Desire Z Android Development] tsubus:
They take effect as soon as you change them (you just have to go to sleep and back to wake). They will be overwritten at each new flash though, so if you change them you might want to create a gscript or something to easily restore them ;)
[G2 and Desire Z Android Development] yogi2010:
Oh wow, interesting. I probably won't be changing them actually, haha. I like the way you have it.
[G2 and Desire Z Android Development] lazyluis32:
whats the best gov for a sleep profile using the pershoot kernal?
[G2 and Desire Z Android Development] yogi2010:
I can't see as how it would make a huge difference either way, but i would say just to experiement. Conservative seems like a logical choice tho, if that kernel has that governor :)
[G2 and Desire Z Android Development] lazyluis32:
That's the one I usually use but it isn't there with pershoot, which kernel is givin u guys the best battery life?
[G2 and Desire Z Android Development] Shadow-Nexus:
Thanks man for the freaking awesome rom!

Its fast and battery efficient
[G2 and Desire Z Android Development] frankth3frizz:
Ooohh new update! I'm like inlove with this rom, no problems, fast and awesome battery life!! I get almost 2 days with sync off and and a day and a half with sync. And yes that's with wifi/network on the whole time!thanks a lot tsubus!

Sent from my Bathroom using my Toilet
[G2 and Desire Z Android Development] SteveRiley:
Heya tsubus... I uncommented the hosts= line yet the installer still placed the blocking hosts file in /etc. Possible bug?
[G2 and Desire Z Android Development] sino8r:
Is it symlinked in data/data, may be? Could be that one remained?

---------- Post added at 03:15 AM ---------- Previous post was at 03:10 AM ----------

Tsubus, any reason why you removed 1.6ghz OC step? I know we rarely use it but just curious...

Also, you meantioned a performance increase... what was it exactly, if you don't mind? I saw that up increased the sdcard read speed... was there another one too? Thanks for all the hard work as usual!

Oppsy, I see it now... sorry!

Okay, I got some interesting results! I applied the two scripts and have seen some GREAT improvements on RAM handling and sd card speed. I don't get a freeze up on start with Launcher Pro anymore and don't seem to need to kill tasks after opening a ton of apps. I changed mine to 4096 (class 6) and got better results. Thanks for mentioning those 2 scripts and the great benchmark app. I wasn't aware of that one. Did you customize the ram/vm hack or just used the latest from 9/19/11? Nevermind, I see that it is... still though, very cool finds! Still think you could have kept the removed OC steps... oh well ;) is the kernel less undervolted now too to prevent problems?
[G2 and Desire Z Android Development] bhairavp:
Does this ROM have trackpad-wake? Thanks.
[G2 and Desire Z Android Development] coredalae:
as its CM7based. yep. and trackpad answering and hanging up calls aswell
[G2 and Desire Z Android Development] HunnyBearLewis:
Battery Usage

Hey just flashed this and enjoying it so far :)

I know that it varies from user to user and depends on what you have running...but what kind of drain are you guys getting when the screen is off? I use Better Battery Widget and check immediately after unlocking since it doesn't update right away.

I'm used to always pulling 31-32 mAh but seeing a steady 40 mAh on this rom.

Not the most important thing in the world but still curious nonetheless.
[G2 and Desire Z Android Development] Ditamae:
I can't speak to the specifics, but my battery life as been great with tsubus' ROMs. Over night, for example, when the screen is off and the phone is in sleep mode I lose approximately 5%. I don't know how to calculate how much I lose specifically when the screen is off because it's always relative to many variables.

I also always wipe battery stats after each update. And I would suggest the app Watchdog lite to keep an eye on what's using your RAM and CPU.
[G2 and Desire Z Android Development] djfoo000:
OMG Finally ShootMe works again (been not working on CM7 for few months already). The camcorder bug that plagued CM7 still exists though... =.=
[G2 and Desire Z Android Development] L-ViZ:
The desire Z is pretty strange, the mAh is never correct i think. You can leave it with wlan on and mobile connection and it shows about 30mAh and you can put it into flightmode with no connection to everything and it shows the same... so the mAh isn´t a representiv worth i think. my desire hd was more accurate i think.
[G2 and Desire Z Android Development] coredalae:
yea i dnno rly, screen off gives me 29mAh with current widget. all i rly know is it gives me great battery life :P (and i stream tons of google music) used to carry 2 batteries for a day but now i manage a day and a half :P
[G2 and Desire Z Android Development] bclark1000:
Does undervolting with OV/UV Beater really extend battery life? I've got mine undervolted across the board to -75. I'm thinking it may just be a palcebo effect.
[G2 and Desire Z Android Development] tsubus:
did you have it patched before or have an app that patches it for you? It's almost impossible that it's a bug, here is the code:

ifelse(file_getprop("/sdcard/ILWT.txt", "hosts") == "unpatch",
(
ui_print("Unpatching hosts file");
),
ui_print("Using patched hosts file");
delete("/system/etc/hosts");
package_extract_file("setup/hosts", "/system/etc/hosts");
set_perm(0, 0, 0644, "/system/etc/hosts");
);

as you see, if you put a hosts=unpatch in ILWT.txt, the script does nothing at all (which means it leaves the default hosts file in there).
[G2 and Desire Z Android Development] tsubus:
The phone was freezing with 1.6ghz OC step and oc daemon, this seems to fix it.

no, same as before ;)

the reason i deleted a couple of frequencies is because they were very close together and therefore draining the same voltage. This is definitely more efficient in terms of performance :)
[G2 and Desire Z Android Development] tsubus:
keep in mind that usually you are able to see the voltage while at sleep because you are using setcpu, which takes up to 7-8 seconds to switch from sleep to wake. with the virtuous oc daemon it is immediate, so you might not actually be able to see it. also i am not sure how accurate those widgets are ;)
[G2 and Desire Z Android Development] tsubus:
I implemented the fix a few weeks ago :P What camcorder bug are you talking about? I don't really use it much, not sure what you're talking about.
[G2 and Desire Z Android Development] tsubus:
It definitely helps a little bit, but I'm not sure how noticeable it is (which is why I'd rather keep a little more voltage in order to avoid instability). The CPU is only a small part of the drainage, the screen, the antennas, etc have a much bigger influence on the battery.
[G2 and Desire Z Android Development] tsubus:
Also yesterday I didn't realize they skipped 228, so I should've called this release 229 (it has the same commits as CM7 229). Oh well :D
[G2 and Desire Z Android Development] hispeedworm:
just to confirm ... pershoot kernel doesnt support UV profiles? i was using the ilwt kernels uptill now with UV profiles but with latest update i switched to pershoot kernel and the UV profiles tab from UV beater has disappeared
[G2 and Desire Z Android Development] SteveRiley:
Nope, no symlinks. Verified by looking in /data/data with Root Explorer and checking the output of ls -al /etc in Terminal Emulator.

Yep, your code looks clean. I had another blocking hosts file from AdAway; the reason I noticed that the ILWT installer did the patching anyway is because your hosts file is a different size and is from a different source.

Upon re-examining the code you posted here and comparing it with ILWT.txt, I'm seeing a difference. The config file line contains the word unpatched:

hosts=unpatched

However, in the code snippet above, you're checking for the word unpatch instead:

ifelse(file_getprop("/sdcard/ILWT.txt", "hosts") == "unpatch",

Looks like the bug is a simple typo :)
[G2 and Desire Z Android Development] tsubus:
My bad, thanks for reporting it, I'll fix it :D
[G2 and Desire Z Android Development] tsubus:
Not sure, but at this point I'm guessing no :p
[G2 and Desire Z Android Development] tsubus:
Updated kernel to v1.4.0. I've added the SIO scheduler and made it default. You can see the performance difference between three schedulers here: https://docs.google.com/spreadsheet/ccc?key=0ArgSs-OvAGbOdE1RZ1o3d0MwbkhYa2hQaUVxZXFCR3c&hl=en_US

(BFQ is default in CM7 kernel).

The test sample is very small (just 3 tests), but the difference between BFQ and SIO for writes is obvious.

Also, the second sheet shows why I chose a 3072kb readahead buffer.

All tests have been done on ILWT CM7 right after a full wipe and with a class 6 SD Card.

Available from link in OP and from ROM Manager.
[G2 and Desire Z Android Development] sino8r:
That's cool! I haven't tested enough in the speed department on 4096. The only reason I kept it was that it stops the crash for Launcher Pro on start up. That's good info though!
[G2 and Desire Z Android Development] tsubus:
I thought the reason was that the SD card wouldn't mount fast enough...I'll look into it. Is Launcher Pro a paid app?
[G2 and Desire Z Android Development] Ditamae:
Yes, but you shouldn't need the unlocker key for testing purposes...
[G2 and Desire Z Android Development] sino8r:
Yeah, that's the reason but strangely it mounts faster while set to 4096. Technically, that shouldn't matter but I can't explain it why it works. Launcher Pro has a free version and an unlocker app for more features.
[G2 and Desire Z Android Development] tsubus:
Alright, I'll see if I can come up with a fix later. Can I pm you the fix once I have it so that you can test it?
[G2 and Desire Z Android Development] sino8r:
Oh course! Oh, btw, you are more than welcome to use these 4G and 2G icons if you want... some might like them: http://xdaforums.com/showthread.php?t=1301250
[G2 and Desire Z Android Development] Ditamae:
Cool, I'd be interested in the icons. And I'm also willing to test the potential LP fix for you, if need be. :)
[G2 and Desire Z Android Development] sino8r:
Good we need than one to test stuff. Always helps...
[G2 and Desire Z Android Development] tsubus:
Meh, I've tried mounting the SD card much sooner, but it doesn't make a difference. It just looks like you have to let it sit for a while right after boot and then it doesn't FC.

Anyway, it looks very similar to GO Launcher EX, any major reason that I'm not aware of that makes LP better ?

edit: if you create a flashable zip for those icons I'll place it in the addons section. I'm not really a fan of the 4G icons because it's a lie, that's no 4G :P
[G2 and Desire Z Android Development] sino8r:
I'd say they are very similar too. I prefer Launcher Pro's speed, adjustable memory settings, and its widgets. Go Launcher has most of those but its not as customizable. I tried to switch to Go Launcher last week but couldn't get used to the ugly widgets and lack of customizations. Out of all the Launchers though, those two are the best by far, imo.

How did you mount the card sooner? I'd love to try it out!

About the icons: yeah its a lie but I thought they looked more simple especially doing 2G ones for EDGE/GPRS. I've actually seen a H+ icon but not sure how we could implement that. Ours stage at G/E/3G/H while the htc glacier can do e/g/umts/h/h+. That would be cool to figure out.

I might do the zip but the demand is so low. Hell, I'll probably do that this weekend. Why not ;)
[G2 and Desire Z Android Development] tsubus:
# Mount sdcard in order to try to fix Launcher PRO FC's issues
mount -t vfat -o rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro /dev/block/vold/179:65 /mnt/sdcard
sync

I placed this at the beginning of /system/etc/init.d/20userinit. Not sure if it's too soon or not. I've also looked around the forum and nobody seems to have a solution, so I'm not really sure that there is one.
[G2 and Desire Z Android Development] SteveRiley:
Yesterday I upgraded from 216 to 228 and intentionally skipped the ritual ablution of wiping cache and dalvik. And yet, everything just works. Zounds!
[G2 and Desire Z Android Development] good223:
Man I love your ROM it's really fast. Thanks so much for your hard work.

Btw, I know you just added the tweaked lowmemorykiller, vm, and oom_adj by Juwe11 but would it be better to add the beta V6 SuperCharger and beta KickAssKernelizer Tweaks by zeppelinrox instead?

Source - http://xdaforums.com/showthread.php?t=991276
[G2 and Desire Z Android Development] Shadow-Nexus:
Hey how do I know wich version of the rom I have?

EDIT: nevermind

Stewie just said that!
[G2 and Desire Z Android Development] tsubus:
I'll check it out
[G2 and Desire Z Android Development] sino8r:
Didn't we have the V8 optimizations in CM7 Nightlies a few months ago but it was removed. It seems that new ram optimizer s97 has much higher settings than v6 even lists. Not sure which is better but V6 seems to give you more options which is good but requires a lot of testing to see what runs best on the G2. Also, doesn't really explain on how to just throw it into init.d folder.

I've been getting weird battery drain. Not sure if its the ram or sd card cache thingy.

Another thing, I tried signing those stupid icons but kept getting error 6, so I used edify and no errors but nothing installed lol! I haven't made one since froyo, as you can see. Is there an easier way to make update.zips? I tried a few tools but they either mount the wrong block or don't do anything. Seems a lot of the tutorials are outdated or I'm blind, lol! This is what I get for not keeping up or doing much since froyo ;)
[G2 and Desire Z Android Development] tsubus:
I'll make it tomorrow, off to bed now :P
[G2 and Desire Z Android Development] sino8r:
Oh course, man! Its really late but I work online most of the nights primarily. Any recommendation on update.zip creators? I know its gotta be something small that I missed like

an error in my updater-script. I forgot something... I've looking and the only thing I noticed is that most were made before clockwork 5 (when GB required a new method of signing). I did the new one, edify (I think that's what its called) but must have missed something. This is embarassing, quite frankly.

To be honest, I haven't had the need to make update.zips anymore since I've done most edits/mods via rootexplorer, manually change permissions, zipsigner2.apk, and some scripts. They have spoiled me ;) I doubt I even remember how to use unyaffs, smali, or other basic tools.
[G2 and Desire Z Android Development] good223:
Well I'm no dev or anything but I've been using the v6 SuperCharger for a while now and it seemed to make my phone a little faster. I only stop using it when I upgraded to ILWT CM7 228 since I noticed the change log listed tweaked lowmemorykiller, vm, and oom_adj had been added. I decided not to use it since I didn't want the now stock tweaks to interfere with the v6 SuperCharger tweaks.

It does seem a tad bit slower when opening apps, most noticeably during the "zoom" animation of opening some apps. ie: the old market and settings

My phone is running at ~1.2ghz and no apps2sd/apps2ext.

---------- Post added at 09:50 AM ---------- Previous post was at 09:48 AM ----------

Ok thanks! :)

Making the new lowmemorykiller, vm, and oom_adj tweaks optional in the ILWT.txt would be great also.
[G2 and Desire Z Android Development] Ditamae:
I have to say, I was curious Juwe11's script a while ago... but for one reason or another I never used the file... I wish I would have. My phone has noticeably more free RAM (not a lot, but still), and transitions between apps are faster and smoother. Call it placebo effect if you want, but tsubus, every modification you make truly optimizes the ROM. Just wanted to say thanks, again.