yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] jaffry:
I usually refer to the VR guide on calibrating batteries.

http://www.villainrom.co.uk/vBwiki/index.php?title=Calibrate_Battery
[Hero, G2 Touch Android Development] elelinux:
My personal opinion, when changing the kernel so it uses battery power, you can not measure at a time, upload your phone let it go ahead and upload it again fully when it is needed, then usually it will be good.Think you guy's have a bit of a hurry
[Hero, G2 Touch Android Development] TA123:
After some break from GB I decided to give this ROM another try. So far so good. Very smooth and fast ROM, no major issues after 2 days of use. Compared to Speedmachine v3. this ROM is a bit more battery hungry (probably because of teh kernel). With Speedmachine my phone usually lasted for 40h without recharging (though occasionally I could squeeze 3 days of use). With this ROM is it more like 30-35 hours. I had a few problems with the Market, when apps failed to install, but not massively. The phone is still slower to wake up on an incoming call compared to Speedmachine.
[Hero, G2 Touch Android Development] jaffry:
Guys, this is a little OT but is there any way to customise the app shortcut on the default launcher? I tried looking for some kind of setting, long pressed all over, etc but nothing doing.

(I want to replace the dialer shortcut with maybe the messaging app, as the Hero already has a hardware call button.)
[Hero, G2 Touch Android Development] sniperde:
Did this, even the calibration guide from Villain.

it occurs randomly, without any reboot in between. sometimes the phone does not go to sleep, then I turn on the screen, turn it off, then it goes to sleep. When I turn it on again to check my mails or sth and turn it off again, it might go to sleep but sometimes it doesn't.

It's completely random, with all kernels. Try CPUspy and have a look.. u will see, that sometimes the phone goes to deep sleep a whole day, and sometimes it does not.

In case this is an app problem I used my hero without any apps installed and the problem still occured.

As it is with all kernels (even cronos') I think it is a GB problem.

nevertheless 2.1 is fantastic :)

fast and reliable.
[Hero, G2 Touch Android Development] Habarug:
I let it charge til led goes green, turn it off, pull battery, insert battery, charge til green, let it charge 30 more minutes, boot into recovery, wipe battery stats. Read it somewhere at the villainrom forum :-)
[Hero, G2 Touch Android Development] rdejager:
The battery drain in GB is indeed a GB problem. It is here since 2.3.3 And if you look on Cronos it is spammed with people who has battery problems with it. At the moment looking in something to replace it so I don't have it that much.
[Hero, G2 Touch Android Development] sniperde:
ah ok.

nevertheless, just flashing the latest ele rom and I am very happy with elelinux work.

if the problem still occurs, I just take an usb cable with me and it's fine :)

thanx anyway for your hard work elelinux !
[Hero, G2 Touch Android Development] iHero96:
OK Thank you
[Hero, G2 Touch Android Development] mljjlm:
I'll just try again:

Is it possible to change the battery-percentage, where the led changes color from red to green, while charging?
[Hero, G2 Touch Android Development] elelinux:
Of course it is possible to change it, I will look a bit in the code and see where to change, but it will not be default only a option, cm has chosen 90% and up, green light, suppose you want to have 99% and up, green light as stock HTC
[Hero, G2 Touch Android Development] mljjlm:
That would be cool! Thank you :)
[Hero, G2 Touch Android Development] frige:
Upgraded to 2.2 in the morning. Did just dalvik and cahce wipe. Running stable up to now - good performance, camera working (with 633/2xxMHz).

Also had a first GPS test (as this was the downside from 2.1 for me with the GPS problems in screen off mode for tracking): got a fix very fast and could track with screen off for 10 minutes (had no more time for furter tests - will continue testing GPS on my way home from work)

--> thanks a lot for the new version !
[Hero, G2 Touch Android Development] iHero96:
i've some screen wake up problem
[Hero, G2 Touch Android Development] tierra:
Another problem has come up: my phone heats up with herokernel. Why might this be? I mean it heats up ALOT.

This happens when I'm using the phone. If the screen is off then it cools down.

I have the kernel at 176-614 with Smartass and when the screen is off 176-264 with Overclock Widget
[Hero, G2 Touch Android Development] elelinux:
What kernel ? and if you use las_venturas what frequency ?

"TIP" for those who use las_venturas tick screen-on animation.
[Hero, G2 Touch Android Development] snydez:
missing sync after restart

Hi there,

i've experiencing missing sync of Twitter and Facebook and Whatsapp after my phone reboot or shutdown.

please advise,

thanks.
[Hero, G2 Touch Android Development] iHero96:
Las venturas default frequency
[Hero, G2 Touch Android Development] elelinux:
Well if you not have changed anything then you have cyanogemod default,change the lower value to 264000,because that you have now that frequency don't exist in LV or Herokernel,will fix that to next update
[Hero, G2 Touch Android Development] dkelley:
wow, just booting into 2.2 now after full wipe (did tit backup of user apps so will restore from there once I set this up).

nice nice work ele and reimer!
[Hero, G2 Touch Android Development] Krizp0:
Based on user experience, how's speed compared to 2.1?
[Hero, G2 Touch Android Development] elelinux:
Thanks, a full wipe of all was unnecessary, if you had read the changelog :D ,think that GPS should work better now with the last patches,so I feel it anyway.
[Hero, G2 Touch Android Development] dkelley:
yea, I read it. I just wanted to know it was a clean start for sake of bug feedback etc. there was nothing lost except for my launcher choice and widget layout.

edit: oh and I've also had past experience changing from one kernel to a distinctly different kernel and the problems that can arise from this if something in dalvik or elsewhere doesn't get overwritten correctly. I didn't want to go through that nonsense. Maybe these issues only happen to me, I don't know, but a fresh start guaranteed one less place where I could experience troubles.

ooh - I like the new mail alert sound! BEST EVER!
[Hero, G2 Touch Android Development] dkelley:
so far just as fast in general use and I've had zero keyboard slowdowns so far. just using stock settings at the moment and only had small amoutn of time with it (running from meeting to meeting and debugging code and adding new features @ my day job simultaneously).
[Hero, G2 Touch Android Development] AryanFL:
hi ele

i wipe cache and dalvik cache and upgrade to 2.2 but camera dose not work!
[Hero, G2 Touch Android Development] elelinux:
Oops you belong to perhaps the few who did not succeed in LV, switch to the Hero kernel instead, it works for you.
[Hero, G2 Touch Android Development] JBNAquatics:
Just tried the camera with the advance options. Never knew how useful it was to have volume rocker or search button as a shutter button.
[Hero, G2 Touch Android Development] dkelley:
cool camera advanced settings!

but how do you turn off the camera shutter sound? I can't use it if it's going CRICK loudly. I prefer the subversive variety of camera...

edit: hey ele, it must be nice to have rudimentary questions like this rather than "how come my gps eats my phone?" sorts of questions :-).

congrats on this rom. I notice launching gmail so far is much quicker than it was in 2.1. I get the display of emails within a second or so, where in 2.1 it often took 5 or 6 seconds on a blank white screen before the email table was displayed.

nice - dunno why this is improved (like, was it on purpose or is it a fluke), but it's very much appreciated.
[Hero, G2 Touch Android Development] elelinux:
I really love the questions :rolleyes: something I noticed very clearly with LV everything goes faster in all apps, especially CoPilot an incredible difference, it was slow as syrup before with Hero Kernel now pure racing speed.

The camera works fine with the new settings that I pushed to the cm, no fc etc
[Hero, G2 Touch Android Development] lodder:
Thanks for the great rom but i can't get a gps fix. I have tried gps status. Any idea what I can do?
[Hero, G2 Touch Android Development] llvllaster:
Just installed the ROM and runs good so far except the reloading widgets & shortcuts on homescreen. When i open an application or something else and turn back to homescreen, all the widgets & shortcuts are reloading.

I'm using the default kernel which comes with th ROM and the values are 352/576.
[Hero, G2 Touch Android Development] wooky321:
Hey thanks for all your hard work :). Installed the new rom but ended up getting a purple tint when putting the phone to sleep. This never happened with previous roms, could it be the kernal?
[Hero, G2 Touch Android Development] dully79:
Well done ele, I'm going to take my hat off to you (again) and leave it off this time.

Flashed 2.2 a few hours ago (I should have been working really) and everything is running sweet as a nut.

This rom could postpone my switch to the sgs2.

Big thank you :)
[Hero, G2 Touch Android Development] riemervdzee:
Probably yes. Try using another governor/frequencies. I can really recommend smartass 19/633mhz
[Hero, G2 Touch Android Development] huuuuuh:
unbelieveble how smooth this is :) great work
[Hero, G2 Touch Android Development] wooky321:
could be the lower frequencies it can't handle :p. Is it much faster than the last one as might just stick with this for now? :D
[Hero, G2 Touch Android Development] elelinux:
@riemervdzee

Looked a bit briefly USB tethering in your source, where can I find reference for addressing. "functions = usb_functions_rndis,"in the board hero.c, should it not be addressing with numbers instead type = 0x00000004

Here a log when try to connect

D/Tethering( 246): MasterInitialState.processMessage what=1
D/Tethering( 246): Tether Mode requested by usb0 - TetheredState - Tethered - lastError =0
D/NetworkManagmentService( 246): rsp <213 ce:5c:09:81:6d:df 79.102.139.81 255.255.255.252 [up broadcast running multicast]>
D/NetworkManagmentService( 246): flags <[up broadcast running multicast]>
D/Tethering( 246): chooseUpstreamType(false), dunRequired =false, iface=rmnet0
D/Tethering( 246): checking if hipri brought us this connection
D/Tethering( 246): notifying tethered with iface =rmnet0
D/TetherController( 195): Setting IP forward enable = 1
D/TetherController( 195): Starting tethering services
D/TetherController( 195): Tethering services running
D/TetherController( 195): setDnsForwarders(0 = '8.8.8.8')
D/TetherController( 195): setDnsForwarders(1 = '4.2.2.2')
D/TetherController( 195): Sending update msg to dnsmasq [update_dns:8.8.8.8:4.2.2.2]
D/Tethering( 246): TetheredState.processMessage what=12
I/dnsmasq ( 1368): started, version 2.51 cachesize 150
I//system/bin/iptables( 195): ACCEPT 0 opt -- in rmnet0 out usb0 0.0.0.0/0 -> 0.0.0.0/0 state RELATED,ESTABLISHED
I/dnsmasq ( 1368): compile time options: no-IPv6 GNU-getopt no-DBus no-I18N DHCP no-scripts no-TFTP
W/dnsmasq ( 1368): warning: no upstream servers configured
I/dnsmasq ( 1368): DHCP, IP range 192.168.43.2 -- 192.168.43.254, lease time 1h
I/dnsmasq ( 1368): DHCP, IP range 192.168.42.2 -- 192.168.42.254, lease time 1h
I/dnsmasq ( 1368): read /etc/hosts - 1 addresses
I/dnsmasq ( 1368): using nameserver 4.2.2.2#53
I/dnsmasq ( 1368): using nameserver 8.8.8.8#53
I//system/bin/iptables( 195): ACCEPT 0 opt -- in usb0 out rmnet0 0.0.0.0/0 -> 0.0.0.0/0
I//system/bin/iptables( 195): MASQUERADE 0 opt -- in * out rmnet0 0.0.0.0/0 -> 0.0.0.0/0

Edit : One more question "D/Tethering( 246): notifying tethered with iface =rmnet0" interface rmnet where do i find that
[Hero, G2 Touch Android Development] riemervdzee:
Could you test out the following commit?

https://github.com/riemervdzee/cm-kernel/commit/776ab12b9add4dd874099042a6530cbc6a7d679d

I'm not sure whether the functions are still numbered as in the .29 kernel. They go by string-names as it seems. It is kinda how the driver is build up nowadays (they rewrote it quite a lot actually) and this setup is commonly found at the other board files.

I got no clue where to find rmnet. It is probably a driver

Edit:

I'm pretty sure by adding the following part to the hero's init it'll work :)

android_usb_pdata.serial_number = board_serialno();
[Hero, G2 Touch Android Development] elelinux:
I looked already at the addresses earlier tonight, sure I will try but not tonight will be tomorrow, early start tomorrow morning.

Edit : Had to test the code line in init.hero.rc ...... but it did not, unfortunately,exactly the same in the log, no addressing,Good night sweet dreams :D it's a day tomorrow :D
[Hero, G2 Touch Android Development] nu_skool:
Thanks guys, ROM seems pretty nice and quick.

Camera doesn't work for me though (even with the suggested settings) - it pauses indefinitely after the first photo. (Not *****in, just informing!)

Also, is it me or has the keys on the keyboard been stretched vertically??
[Hero, G2 Touch Android Development] JBNAquatics:
Camera doesn't work with the default kernel (Las Venturas); you'll have to flash the Hero Kernel to get camera to work.
[Hero, G2 Touch Android Development] dkelley:
works for me with las venturas... :-)

still want to know how to turn off the click sound though please.
[Hero, G2 Touch Android Development] marcelin99:
Thanks for the new ROM v2.2. Quite smooth.

I flashed it last night. Set recommended parameter for the camera.

Reboot twice. I tried to use Goggles, but got a FC. But even after rebooting the phone the camera freeze after autofocus.

In addition battery life was low: Unplug battery at 7:30. At about 19:30 the phone shut down with empty battery, while v2.1 was giving me almost 2 days. Battery statistics showed 60% screen.

I will try another day Las Venturas Kernel.
[Hero, G2 Touch Android Development] swatsbiz:
Sounds like you need to "lock home in memory" you'll find this in CM Settings, under performance
[Hero, G2 Touch Android Development] TA123:
same here. 2.1 seemed to be better in terms of battery life.
[Hero, G2 Touch Android Development] nu_skool:
I get the same in 2.1 and 2.2 and I have that option selected.
[Hero, G2 Touch Android Development] dkelley:
are you using the stock launcher or a third party launcher?

if using a third party launcher then I've found that happens ulness you replace the stock launcher with the third party launcher as per my instructions a few days ago in this thread (I was describing how to do it in Launcher Pro but the same rules shoudl work for any other launcher).
[Hero, G2 Touch Android Development] puppyko:
Think it's not possible for the default camera.

You may however, modify the click sound to be softer (via 3rd party app) or delete the camera click.ogg file (inside system/media/ui I believe).

Another option, use Camera 360. This one has setting to disable sound.
[Hero, G2 Touch Android Development] ruikaka16:
Hi，Elelinux，flashed v2.2 with 2.6.35 kernel ,i found a problem that when i press the volum button,the screen display like the attachment. do not display the "media volum"or"ringing volum"?
[Hero, G2 Touch Android Development] Ciprilik:
I think the Elelinux made the volume look like that in v2.2 ... it's the same if you flash "HeroKernel-12a for Android 2.3.4" on top of v2.2
[Hero, G2 Touch Android Development] nu_skool:
I use stock launcher.
[Hero, G2 Touch Android Development] MudriGoga:
Great ROM. I have only one problem with automatically screen brightness. Am I missing something?
[Hero, G2 Touch Android Development] jaffry:
Some feedback on how my Hero is reacting to 2.2:

Battery drain still the same as 2.1, but I can deal with it.

Camera hangs after 2-3 snaps even with recommended CPU settings — going back to the other kernel tonight

I noticed the volume adjustment 'toast' screen has no labels like what ruikaka16 mentioned. Also if you look carefully, there's a '...' or something above the volume icon. But to me, it's no big deal.

All the GB Hero ROMs I have tried don't seem to run SPB TV. Anyone else have a similar problem?

Having said that, it's a pretty stable, smooth and usable ROM.
[Hero, G2 Touch Android Development] nu_skool:
Looks like battery drain for me is significantly more than 2.1. I think someone else mentioned it looks like it's not going into deep sleep at all.
[Hero, G2 Touch Android Development] bluenova:
+1, It just seems to freeze after taking the picture. You can see the frozen picture on the screen but it doesn't save.
[Hero, G2 Touch Android Development] elelinux:
For those of you who have problems with the camera, replace the kernel with HeroKernel-12a,you will found it on the first post as an option
[Hero, G2 Touch Android Development] rdejager:
I saw that aswell when I was on this rom.
[Hero, G2 Touch Android Development] nu_skool:
Have flashed Herokernel but looks like it doesn't deep sleep either :\
[Hero, G2 Touch Android Development] nomnompie:
I have an issue with 2.2 with music and video playback.. Random popping happens when listening to music, and when watching videos, they will intermittently freeze and while frozen there will be a high pitched ringing sound in the headphones.
[Hero, G2 Touch Android Development] musikenigma:
The battery in this rom run out so fast....
[Hero, G2 Touch Android Development] iknorr:
Im currently in the middle of flashing this rom from stock android on the gfs phone.

( flashed floyo a few months ago on my old hero)

Im using androot and rom manager.

Everything went smooth and im now at the stage where the phone has restarted and starting installing the rom.

The screen is showing android written in grey and silver with the silver part moving through the grey. Every minute or so the screen goes black and this android logo pops back up.

its been like this for 20 minutes.

Any ideas or is this normal?
[Hero, G2 Touch Android Development] nomnompie:
Sounds like it didn't flash correctly and you're stuck in a bootloop. Did you wipe?
[Hero, G2 Touch Android Development] iknorr:
yup. both wipe options and backed up from within rom manager.

So, any idea how i get out of this loop?
[Hero, G2 Touch Android Development] marcelin99:
Today I tried with Smartass 264/576 MHz. Battery is 10% after 9h. Very little use of phone as almost all day is training scession. Statistics Android OS 50%.
[Hero, G2 Touch Android Development] J.K Nilsson:
Have you tried lowering the camera resolution to 3M before ruling the kernel out?

J.K Nilsson
[Hero, G2 Touch Android Development] iknorr:
How do i get into recovery mode? Can seem to find a definate answer online.

Should i pull the battery?

Vol Down, home and power buttons?

HALP! :)
[Hero, G2 Touch Android Development] iop tha man:
pull battery to power off when in loop

home+power (hold from start untill you're in recovery)
[Hero, G2 Touch Android Development] emay:
Just found out that I could not use my Hero as a phone with 2.2 with the lv kernel. No sound nor talking,ringtone was fine. Flashed the Hero kernel and now it is fine again.
[Hero, G2 Touch Android Development] iknorr:
recovered.

Done the whole procedure again. Its now working fine. :)

Erm any suggestions/tips to add any other apps or tweaks?
[Hero, G2 Touch Android Development] khunjj:
Hi Elelinux,

Beside app2sd, any other different between CM7 build 64 and this Ele 2.2?

If there are some good things from CM7, can you update your ROM accordingly?

I am happy with Ele 2.2 :-)

Thanks,
[Hero, G2 Touch Android Development] Flow:
So I had pretty much all of the 1.x releases and I tried the 2.0 release... but non of these were as good as this new 2.2 release with Las Venturas kernel :)

Even on 2.0 with the patch I still had a lot of black screens and such.

I was even contemplating going back to Froyo :o

Yesterday I did a factory reset, flashed 2.2 and I've switched to GO Launcher for the first time. Which I should have done a while ago because it is way better than ADW Launcher. It's way faster and even has nice free widgets as well :)

So so far so good, I'm happy again. Thanks again a lot Ele for your time and good work! :)
[Hero, G2 Touch Android Development] dkelley:
thank you! :-)
[Hero, G2 Touch Android Development] dkelley:
agreed - it actually does bother me a bit though because the volume being changed is situation dependent. I'd like to know if it's changing the ringer volume or media volume since that isn't always apparent in use. For example I like to preventively turn down media volume before the sound comes out. some apps let you do that with volume hard buttons during startup of the app but there's no way of knowing which volume is being adjusted without it being displayed in that overlay "toast".

agreed. I love SPB TV. it hasn't worked for me in any GB rom either and I'd love to know why. it works in every other rom I've tried it with over the past year (which is many), sense, 2.1 vanilla, 2.2 roms, etc.
[Hero, G2 Touch Android Development] krispijn_s:
Same problem here: phone does not really sleep it seems. Had the LV kernel with ONDEMAND with 264/576 as well and it was flashed on top of a clean 2.1 install.

Might try HeroKernel12a in a bit to see if it is ROM or kernel related.
[Hero, G2 Touch Android Development] dkelley:
that's special. the rest of us can use it as a phone alright.
[Hero, G2 Touch Android Development] nu_skool:
I was wrong with my statement earlier: After flashing HeroKernal the CPU does now deep sleep and battery performance is greatly improved.

tl;dr kernel issue :\
[Hero, G2 Touch Android Development] dmestriner:
I can confirm battery drain. went from 100% to 0% in ~7-8 hours (did not change anything in settings since flashing 2.2).

I also had the bug where my phone vibrated on call, but no ringtone while in default profile, and when answering the phone, I could not hear the other person, and vice versa (tested again with someone standing next to me). Reboot solved this problem.

Other than that it feels very quick, smooth and snappy, and quite happy with it :) thanks again for the hard work!
[Hero, G2 Touch Android Development] rustynuts34:
Flashed last night with a full charge then went to bed leaving it off but still on charge have been at work all day today and phone has not come out of my bag once not connected to the internet at all and no calls. 8hrs 12m on battery 6% left.

Will have a little play about at home tonight just thought i would mention it because i would only forget as its not my main phone and just something to play with:)
[Hero, G2 Touch Android Development] m4g1k:
Hi,

first of all I want to thank you for whole work you've done making HERO to be up to date with system :-) Also many thanks to riemervdzee for his work on 2.6.35 kernel port.

Guys, how do you find time for all that great work you do?

I've succesfuly flashed my device with new v2.2 rom and it seems to be a little slower with Las_Venturas kernel. I did some investigation and I've noticed something strange. When screen is ON, ksoftirqd (kernel thread) is taking way to much CPU time than it shoul I think. It is OK when screen is off.

As far I know if ksoftirqd is taking more than 1% of CPU usage, it indicates the device is under heavy soft interrupt load. This can be connected with battery drain problem. Hope this information will be useful for you hackers :-)
[Hero, G2 Touch Android Development] iknorr:
Hi all, i just flashed this rom for the first time a few hours ago. I also think its a tad unpredictable.

! minute its seems to be running fine then the next it is very jumpy.

Things like the Theme Chooser does not work for me. it never changes the theme.

Is anyone having similar problems?
[Hero, G2 Touch Android Development] mljjlm:
When you select a new theme you have to reboot to make sure the theme is loaded from the beginning :)
[Hero, G2 Touch Android Development] iknorr:
Thanks.

whoops, my bad. I guess im a little rusty after being away from all this malarky for nearly a year.

Anyone got any performance tips?

EDIT: Tried that but it still hasnt worked.

Choose theme, apply, wait a minute, then reboot. nothing changes only the icons on the top of the screen -wifi, signal strenght etc.