yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] erasmux:
Btw, I noticed that on your v3.3 ROM (but not on the Speedmachine v5?!) you are overwriting the default latency values complied into the kernel. Although very specifically for the 0.6.0 version I can't really blame you - like I said I messed up there - generally it is better to remove the following lines from the init.rc and let the defaults be compiled into the kernel:

-write /proc/sys/kernel/sched_latency_ns 10000000
-write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000
-write /proc/sys/kernel/sched_compat_yield 1
-write /proc/sys/kernel/sched_child_runs_first 0

This will allow different kernels to choose the parameters which are best for them.

Do note that my smart kernel updater will by default remove these lines (I think I even tested it back in the time). But:

a) As far as I know I am the only one who packs kernels with it :D

b) Obviously if you update the default kernel for your ROM this will not help (for future versions).

Of course let me know if you find that different values work better for you.
[Hero, G2 Touch Android Development] lohtse:
Damn just flashed this version and have to agree with the above comments...Jeez it damn good now....best the hero's ever been....

thank you for this and everyone should update to it..

regards

Lohtse
[Hero, G2 Touch Android Development] elelinux:
Thanks for the information :)
[Hero, G2 Touch Android Development] f_padia:
is the extra responsiveness due to hrtick?
[Hero, G2 Touch Android Development] jh71:
I still have GPS issues when using this latest las_venturax 0.6.2 : I like to use google navigation together with Amazon's Audible app to listen to audiobooks.

When I use the older kernel (currently from Floyo 1.4PRE1) I don't have issues :

Kernel Version : 2.6.29.6-flykernel-12b

Mod Version : FloyoCM-1.4pre1

If I upgrade the kernel to any Las Venturas, including this latest 0.62, my Hero immediately reboots in above situation.

Anyone else having issues with this (using GPS, then use another taxing program) ?

Erasmus, Elelinux, I would appreciate it if you keep this kernel as an option until this is sorted out ?
[Hero, G2 Touch Android Development] davrave:
I installed this kernel v 0.6.2 this morning 264-614 using "Smartass" v2 and was unable to get either wifi or data to work.

Changed to "On Demand" 264-518 using setCPU and rebooted.

Immediately, both wifi and data started working and the music app (using mixzing basic) seems fine.

No more stuttering but will test properly during the course of the day.
[Hero, G2 Touch Android Development] erasmux:
last_kmsg? (see #14 here)

Note, that I tried using meridian to play music + GPS Status to test GPS and did not "manage" to get a reboot (Floyo + 0.6.2).

Anyone else having spontaneous reboots with GPS on the 0.6.2 version?

First, please note, that changing the governor does not require a reboot, the change takes place immediately and effects should be immediate. If you need a reboot to see the difference it means the problems is not the governor. Wifi and data have nothing to do with the governor, which also makes me suspect the reboot is what fixed your problems and not changing the governor.

Personally, I get not any music skipping with 0.6.2 @ smartassV2 614/176. Is anyone else still having stuttering music with smartassV2 on the 0.6.2 version?

Thanks for the reports.
[Hero, G2 Touch Android Development] jonathanljs:
Heap with LVx 0.6.2

I probably don't know what I'm talking about, but freezes and reboots happen when I set the VM Heap in CM settings to anything above 32M. At 32, everything moves swimmingly. I have the phone pretty full of apps, so max free space at any time is 40Mb, which may or may not be connected.

Anyway, if people are having problems with music, or anything else that might be a memory problem - try tweaking the heap settings (carefully). I don't suggest above 48 or below 24, from experience.
[Hero, G2 Touch Android Development] davrave:
Thanks for the advice Erasmux. After installing LV 0.6.2 on Eles' Speedmachine v5, I had the 'phone reboot on me while I was on a call. After the 'phone rebooted, wifi and data were not available. Now I have followed your instructions and using setCPU, have set the governor to 264-518 "smartass v2" without rebooting. This has not had any negative effect on the 'phone so far so I will keep testing it today and will see what happens.
[Hero, G2 Touch Android Development] artursc:
Witch radio rom is flashed?

Try not the latest, but that xxxxxxxx15.14
[Hero, G2 Touch Android Development] davrave:
O.k tried it again at gym now on Smartass v2 and the music is interupted at least 2 or 3 times during playback.

Reverted to On Demand and the problem is not there anymore but the rom is not as responsive as it was on Smartass?
[Hero, G2 Touch Android Development] whitealien:
I can confirm that this kernel is not stable on default Sense 2.1 ROMs. I'm using currently 1.36.405.1 build and there is some weirdness going on with mount service. For example, it is not possible to listen music since sdcard suddenly unmount's for fraction of second.

Everything else I think is working fine so.
[Hero, G2 Touch Android Development] waqasr:
Keep up the good work!!

Guys I would just like to thank you for helping out Jaybob.

Now we have a working .35 kernel which was ported off of your

Hero GSM kernel, It wouldnt be possible with out your help.

Camera, GPS and USB headset all working now. WOOHOO!!!

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

Thanks a lot once again.

God bless :)
[Hero, G2 Touch Android Development] fancyhe:
Flashed kernel 0.6.2 and still having the battery drain issue. Just did some adb commands and I think I finally found the root cause.

By running "top" can see the akmd process is keep occupying the CPU at 4%...no matter the screen is on or off, auto rotation is on or off.

Any idea how to solve this?

D:\Temp\Hero>adb shell "top | grep akmd"

155 4% S 2 1816K 264K fg compass /system/bin/akmd

155 4% S 2 1816K 264K fg compass /system/bin/akmd

155 4% S 2 1816K 264K fg compass /system/bin/akmd

155 4% S 2 1816K 264K fg compass /system/bin/akmd

155 4% S 2 1816K 264K fg compass /system/bin/akmd

155 4% S 2 1816K 264K fg compass /system/bin/akmd
[Hero, G2 Touch Android Development] erasmux:
That sounds like a ROM problem.....

If you still think this is a kernel problem, try flashing the latest kernel that worked well for you and check if that solves your problem. If yes, please report this.
[Hero, G2 Touch Android Development] fancyhe:
Switched to 0.5e no change. Wiped all then re-flash Floyo1.4pre1 the problem is gone. Flash 0.6.2 the problem can't be re-created. So it's neither a kernel nor a ROM issue. :rolleyes:

Not sure how this is caused, maybe some application? Now the CPU usage of akmd is always less than 1% ("top" shows 0%, Process Monitor said 0.2%), and battery life appears much better to me.

Thanks erasmux
[Hero, G2 Touch Android Development] Pitel:
0.6.2 battery drain

I am too having faster battery drain with 0.6.2 (in comparison with lastest venturax 0.5).

I'm currently on vacation, using Ele's GB rom v3.2. On start of vacation, I used some latest 0.5 venturax version. Went geocaching, and the battery lasted the whole "day" (about 8 hours), just enough. Then I started disabling wifi and background data when going out and it was even better. Yesterday, I flashed 0.6.2 and went geocaching today. After 4 hours, battery was dangerously low, and I had to return home. Attached screenshot is taken right after I get home and pluged my phone to laptop. Note that there is no ecent update of c:geo (the geocachign app), so the fault is not there. Although, I used more maps today than before (because of more difficult terrain), so there was slightly more network traffic (edge) than before.

My min/max freqs are 176/614 and smartassV2 governor.

Also... logcat is not started on boot! I have to go to development settings and turn it off and on.
[Hero, G2 Touch Android Development] erasmux:
I suggest you try 0.6.2 for a few recharge cycles, then try to flash the 0.5 version again and then see if indeed you see a *consistent* difference between them. I would be interested to hear if you find returning to 0.5 version "restores" your battery life. Btw, which 0.5 version did you find to work well for you?
[Hero, G2 Touch Android Development] perdita2000:
Hi all,

I will like to share my experiences with LV 6.2...

1) Very Fast and "Sensible" ... Fastest I have tried ...

2) Battery life is poor... I agree people posting drain battery issues... My hero's battery always last a few days (depending on load of course but always more than 2 days..), but with LV 6.2 only have 1 day...after a full charge and wiping bat stats...so?¿?.. I use V2 smartass as sched..

3) I always have errors umounting SD card on linux... extended sd-ext and noral card...

I will back to flykernel or LV6.0 ...

Many Thanks Erasmux for Your Incredible work on HERO!!!

Perdita2000
[Hero, G2 Touch Android Development] erasmux:
What makes you think LX 0.6.0 has better battery life? Can you please switch back to it and verify this? Because I have reviewed the changes from 0.6.0 to 0.6.2 and there is no reason for any change in battery life - If you can verify that there is, I will dig deeper.
[Hero, G2 Touch Android Development] perdita2000:
In fact I don't think that there are battery differences between LV6.0 and LV6.2, didn't have LV6.0 for enough time for testing but LV 5.X.... For LV5.0 main issue for me was USB tethering...

I have reverted back to LV6.0 and I will tell you about results.

Many Thanks,

Perdita2000
[Hero, G2 Touch Android Development] erasmux:
Actually I would prefer if you went back to LV 0.5.0 and verified that without any other changes, you see a dramatic difference.

Which ROM are you using? And what battery life do you get with LV 0.5.0 vs. LX 0.6.2 in what usage?

As far as I know all battery complains are only with GB ROMs. Personally I have always had bad battery life with GB ROMs and as far as I know those who use the 0.6.2 release on Floyo have the usual excellent battery life. I hope you see where I am going with this.... But I am not sure of anything, and would like to hear more detailed info from those who are suffering from this problem.

If indeed you are sure battery life is good with 0.5.0 but bad on the 0.6.2 and that the kernel alone is the difference, would be great if you could find where it broke (0.5a,0.5c,0.5d,0.5e,0.5f or 0.6.0). In any case keep me posted of your findings, so that if I have time I can dig into the changes in the code....

Note that USB tethering support for the .35 kernel is a ROM level switch, the fixed files I posted will fix it also with LV 0.5.0.
[Hero, G2 Touch Android Development] jh71:
I had the phone reboot on me yesterday, this time it took longer then previously :

- google navigation was on

- Amazons Audible was running at the time.

This time, the problem happened after aproximately 15 minutes on the road.

This is with Floyo 1.4PRE1 without the map fix and LV 0.6.2.

I have the last_kmsg file attached as requested, I hope it is of any help.
[Hero, G2 Touch Android Development] puppyko:
Here's my little feedback after using LX0.62 on SpeedMachine v5 for the last few days (SetCPU at 576/176 smartassV2).

No major issues using this kernel in general. Responsiveness was ok (already using a fast ROM), battery usage didn't feel any better from default kernel.

However, I had experienced phone reboot twice on different occasion. Both time was launching GPS Status trying to get a lock on satellites and then got rebooted. After the reboot, GPS was working again.

This is a minor issue, as most other time I have no problem using GPS or GPS Status.

Also, music playback was fine for me using Winamp playing music with my GPS Tracking app (Buddy Runner).

Thanks Erasmux for the hardwork.

Now flashed Flykernel 13 for 'another' different experience :)
[Hero, G2 Touch Android Development] jh71:
Yes, I forgot to mention this, at the time of the last reboot there was a major storm front passing through the area, and GPS was loosing its lock frequently.
[Hero, G2 Touch Android Development] dcmedia:
Likewise with me.
[Hero, G2 Touch Android Development] eben80:
This is what I did:

I had 0.6.0 which worked fine.

Flashed 0.6.2(clear dalvik & cache) and did the reset battery stats routine.

Performance was good but the battery drain was very noticable. Couldn't find what was causing it with System Panel.

Flashed 0.6.0(clear dalvik & cache) and did the reset battery stats routing.

Battery was back to what it was before 0.6.2.
[Hero, G2 Touch Android Development] erasmux:
Are these GPS reboot problems also present with LV 0.5.0?

I will prepare some test kernels to try and isolate the issue as soon as I have time (unfortunately this will not be before tomorrow night).

In the meantime, may I ask for some further details:

Under what usage did you "test" the battery life? What battery life do you get with each kernel?
[Hero, G2 Touch Android Development] stefpaul:
Battery life is good:)))...damn i use the phone with OMFGB and 0.6.2 and don't have problems...and i never calibrated the battery or things like that....

btw: if you leave the data connection open all the time the battery will drain in a day.

My phone settings: default processor settings and brightness @ 30%...and i use the phone normal, and don't get drains:)

ps: with this kernel i scored 53.3 FPS in neocore and as i mentioned...no oc settings;)

Stefan:)
[Hero, G2 Touch Android Development] Habarug:
I have got an issue lately using the LX 6.2 and the I Elelinux Speedmachine both with ondemand and smartass v2, stock speed. I'm not sure wether it's a rom or kernel problem or if it's something I've messed up mysef. When my device sleeps it doesn't seem to update time, so when I turn the screen on it takes a few seconds before the time updates in the statusbar. Because of this, the alarm doesn't work until I manually wakes my device, then it will start to ring. It worked in the beginning, so it might be something I messed up, but I haven't got any more time testing it. I don't have time now, but later I will try to recreate the issue and fetch a logcat.
[Hero, G2 Touch Android Development] dcmedia:
I haven't use it, but i have the same issue before with Ele's Speedmachine v4 and GB-Rom with their included kernel.
[Hero, G2 Touch Android Development] puppyko:
Had LV0.5.0 for almost 48hrs already, still on SpeedMachine v5. CPUSet at 576/352 Ondemand (got wake up problem few times with min 176 or 245).

Finally, had my phone rebooted a while back, almost similar pattern as LX0.62 when launching GPS Status.
[Hero, G2 Touch Android Development] Janzomaster:
What do you recommend - ext2, 3, or 4?
[Hero, G2 Touch Android Development] erasmux:
4.

See also FAQ #9 here.
[Hero, G2 Touch Android Development] windg3:
big problem of 0.6.2v for my htc hero

my hero is running ele 3.3 rom .

After flashed 0.6.2 v, i used SmartassV2 governor ,the min frequence is 264, the max is 576. i also killed all processes, but the normal cpu occupation still stayed around 80% ,and the phone heated very much. so the speed and reaction very slow.

When i back to 0,6.0, apply same governor and without foreground process, all these problems are gone. the cpu occupation is down to 20%, just a little bit of hot.

Anyone happen to these problems?
[Hero, G2 Touch Android Development] 1ceb0x:
Hello erasmusx and good luck with your development.

I have a quick question: does your kernel 'Las_Venturax-0.6.2' works on cronos X gingerbread for Hero? Cheers and TIA
[Hero, G2 Touch Android Development] erasmux:
Theoretically, yes. Practically, I have no idea. I think someone has reported that the cronos ROMs take it very personally if you change their kernel....

If you decide to try it, make sure you have an update to date nandroid backup before you do.
[Hero, G2 Touch Android Development] iHero96:
Yes Las Venturax works on CGX but Cronos kernel is a bit better because it has some optimization for Cronos X Settings....
[Hero, G2 Touch Android Development] fancyhe:
Want to report some strange behavior I observed about Las_Venturax-0.6.2, still about the battery drain.

Today I wiped all then flashed ele's Speedmachine v5, everything works fine then I upgraded the kernel to 0.6.2 (the built-in kernel is 0.6.0+). After some usage the battery was noticeable leaking fast. Then checked the active processes, found akmd process keep using 10% of CPU. Tried reboot but doesn't help.

Then I reboot to recovery again and re-flashed v5 without any wipe. Everything is fine again, the akmd keep 0% CPU. Started some applications and found Map app (such as Baidu Map) can cause akmd to ~4%, however after app exit it down to 0%.

Flash 0.6.2 kernel update again with no wipe, while ROM booting I start to monitor akmd and saw it was kept at ~10% of CPU.

d:\Temp\Hero>adb shell "top | grep akmd"

177 0% S 1 776K 280K fg compass /system/bin/akmd

177 0% S 1 776K 280K fg compass /system/bin/akmd

177 0% S 1 776K 280K fg compass /system/bin/akmd

177 5% S 2 1816K 340K fg compass /system/bin/akmd

177 9% S 2 1816K 340K fg compass /system/bin/akmd

177 11% S 2 1816K 340K fg compass /system/bin/akmd

177 9% S 2 1816K 340K fg compass /system/bin/akmd

177 11% S 2 1816K 340K fg compass /system/bin/akmd

(...)

No app was launched, akmd keep using that level of CPU consistently. I launched Map app again, found akmd dropped to 4%. Exited the app, akmd stay at 4%.

Going to switch back to 0.6.0+ default kernel now. I suppose 0.6.2 is not the only cause of high CPU usage of akmd (since did saw 0% CPU of akmd with 0.6.2 before), but something combined with it can cause problem. Is there any method to troubleshoot more?
[Hero, G2 Touch Android Development] lohtse:
Am sorry to report but my battery life like others using Las_Venturax-0.6.2 is extremely poor... Around 5 hours of general usage between recharges. gone back to 0.60 and all's well getting 6-8 hours wiith heavy usage and 14 or so of general and light usage...
[Hero, G2 Touch Android Development] davrave:
+1. Have tried a few roms with this kernel and must report that Flykernel 13 gives me much better battery life. About 20-30% more.
[Hero, G2 Touch Android Development] Ciprilik:
I can say that too ... The phone's battery life with Flykernel is way better than LV 0.5/ LX 0.6/ 0.6.2.
[Hero, G2 Touch Android Development] erasmux:
I am quoting the unreasonably long "story" I wrote on the flykernel thread. it applies to LV/LX users who are suffering from either bad battery life or spontaneous reboots and want something done about it:
[Hero, G2 Touch Android Development] Ciprilik:
@erasmux ... I've sent you a PM regarding the test u want us to do. You want the test to take place under "normal" usage or "extreme" usage?
[Hero, G2 Touch Android Development] erasmux:
Ok thanks for the info (in the PM), would be interested to hear your results - feel free to post them here on the thread so others can also address them.

More generally, any information would be welcome, both under "normal" usage and "extreme". Do note that like I detailed my usage is very light and one could say my battery life reflects "standby" usage. I would guess that such usage (say leaving the phone overnight with wifi, data, gps, BT all off) should be similar to what I have - even for those effected by the "bad battery drain". This could also be something to test. If indeed "standby" battery life is good but heavier usage is the problem I can try to test it myself especially if you isolate what is causing the battery drain (i.e. screen on or wifi on or etc.).
[Hero, G2 Touch Android Development] J.K Nilsson:
I do notice that the screen doesn't always fall asleep. I can put the phone on the table with screen on, leave the room for up to an hour come back and the screen is still on and it have decharged more than 50 % battery.

J.K Nilsson
[Hero, G2 Touch Android Development] lohtse:
Referring to erasmux post #1127....

I understand where you are coming from and accept what you are saying but even having said this to some degree I am unwilling to accept that it may not be a kernel issue with regards to LV and battery due to following..

With LV0.60 to 0.62 I get approx 6-7 hours of battery life but with Flykernel 13 I get 10-11 hours of battery which is a huge difference.. These times are based on the following general setup and use

430 apps and widgets installed

oc is 276/691

30-40 mins of calls

20 texts send (heck of alot more received as get twitters sent via text too)

1 hour of internet/email/mp3 and ebook usage.

and about 30mins of other gen usage.

plus data always on screen brightness to medium, volume high..

this doesn't change between kernels..

I know this will not help that much in identifying a problem bu hope may serve to show the difference in battery life... As even with the odd spontaneous reboot with flykernel13 it is far out weighed but the battery life am getting with it hence staying with it till issues (if any) are identified with LV...

And I know this may seem counter productive but I do appreciate the work and support from erasmux....I get far more out of the HTC hero as a result.. So as always THANK YOU!!!!

regards

Lohtse
[Hero, G2 Touch Android Development] erasmux:
How about LV 0.5.0? Is that one any better (battery life wise)?

Additionally I am still waiting for your last_kmsg logs from flykernel-13 (if possible please post them on the flykernel thread).
[Hero, G2 Touch Android Development] Ciprilik:
@erasmux sorry I can't continue the kernel testing for some time as I broke my Hero's touch screen. I've dropped my Hero and the touch function is not working anymore and I've sent it to be repaired after i flashed the original RUU. Hopefully I will have it back next week.

For now I only tested Flykernel 12a with smartass Governor, 176/614 MHz. Rom used: Floyo 1.4-pre1. I've flashed the rom, the kernel and left the phone to charge to 100% turned off and then I wiped battery stats. The results after EXTREME usage on games (no wifi, data, gps) : 3h and 20 minutes from 100% to grave. (i think that's good)

Gonna be back soon to test the other kernels.
[Hero, G2 Touch Android Development] lohtse:
sorry for not getting logcat too you for flykernel... had been running battery tests and forgot to do it and also hadn't had a reboot since mentioning it...as to LV 0.50 no haven't tried it as yet but will do...
[Hero, G2 Touch Android Development] lohtse:
Done a quick test with LV 0.50 .full charge then 12hours test no change to device setup so same as mentioned in an earlier post... Battery is good 10 hours+ but had the reboot issues mentioned by others when using it.Going back to FlyKernel13 For now till possible bugs in LV sorted...
[Hero, G2 Touch Android Development] puppyko:
It appears that most users find Fly13 to have better battery than on LX0.62.

So is there any users find any performance gain from using LV/LX kernels than Fly13?

BTW, LX0.62 also broke my WiFi now that I'm using HeroLatteV0.9 (No problem with Fly13).
[Hero, G2 Touch Android Development] lohtse:
Performance for me was great..a much snappier,responsive and speedier hero..Just the battery issues is stopping me from sticking with it... FlyKernel is great both in performance(but not as good as LV) and battery is best ever(for me so for) on the hero.. SO when lv is (if indeed it does need) get sorted then will move back... But till then Flykernel for me.
[Hero, G2 Touch Android Development] jonathanljs:
LV.6.2 was fine for me for a few days, then ADW provided for Ele 3.3 went into a tailspin and began to go into FC loops. I could have tried reinstalling, but who has time to redo the layout of the screens? So I just flashed Fly13, and since then - stable as a rock. Occasional restarts of ADW, everything else fine. Two weeks and counting! Can only recommend Fly13 for all those who want performance near that of LV AND stability!
[Hero, G2 Touch Android Development] mikarbach:
The same for me with LP+. So, I am also back to Fly13!