yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] k0rner:
Small patch to disable Garbage Collector spam

Here is a small patch for this ROM which supresses garbage collector spam in logcat output, e.g. the following:

D/dalvikvm( 214): GC_FOR_MALLOC freed 23425 objects / 1120920 bytes in 189ms
D/dalvikvm( 578): GC_EXPLICIT freed 1113 objects / 68344 bytes in 72ms
D/dalvikvm( 530): GC_EXPLICIT freed 2184 objects / 192664 bytes in 71ms

The purpose is to save a few CPU cycles (and battery) on every garbage collection (which happens quite often) by not printing this to the log buffer.

Also, it makes reading logcat output a bit easier.

The patch in update.zip form: View attachment disableGClog.zip

It has been built from CM 6.1 sources, so can be applied to any Froyo (2.2.1) CM 6.1 based ROM.

To restore original settings, flash the following: View attachment enableGClog.zip

Also, here is the Dalvik VM source code patch if someone wants to integrate it to the ROM: View attachment disableGClog.patch.txt

EDIT: Added the files as attachments.
[Hero, G2 Touch Android Development] sabers105:
dear k0rner,I can't download disableGClog.zip. Please check it. Thank you!
[Hero, G2 Touch Android Development] k0rner:
Added files as attachments to the post - that should fix download issues.
[Hero, G2 Touch Android Development] anooz:
Thanks for this great ROM. I have tired lots of ROM, eclair to GB, but I couldn't find the great speed and smooth experience in any of these ROMs. I don't want lagging especially when switching to home screen. I tried this Speedmachine ROM for speed but its also lagging. Most of the time I have around 25-30MB RAM free and about 125MB free ROM. I have downloaded about 50 apps. After installing fresh ROM, it has quite good speed for few days but then it starts lagging. I use APP2SD and most of the apps are on SD card. I frequently clean cache. I don't why is this happening.

Any solutions regarding this problem ? I need speed and smoothness.
[Hero, G2 Touch Android Development] elelinux:
The rom is updated and this is the last update,read changelog before installation,enjoy :D
[Hero, G2 Touch Android Development] keyra74:
gonna try it :)
[Hero, G2 Touch Android Development] nightm:
Fantastic! Thanks for a great ROM.
[Hero, G2 Touch Android Development] squeeish:
Hi elelinux,

I'm gonna use this ROM because I'm tired of the disappearing menus bug in CM7.

Question is, do I use this if I want the stock Android look? Or can I just flash a theme for it?
[Hero, G2 Touch Android Development] elelinux:
No you can not flash any theme to this rom, if I have time maybe I can create an android stock theme but can not promise anything
[Hero, G2 Touch Android Development] squeeish:
That'll be really sweet but it's ok... I'm getting used to the layout already. :)

Thanks! This is refreshing and calming after my adventure with CM7.
[Hero, G2 Touch Android Development] lynx2k50:
Nice one. Rom feels very nice.

Thanks for the great update, all workin and fast Rom.

Sent from my HTC Hero
[Hero, G2 Touch Android Development] snah65:
Nice update, the rom feels smoother, I'll test it tomorrow. So fat so good. I was using v2 already from the start. I like the rom because its fast and above all reliable!

Thanks!
[Hero, G2 Touch Android Development] troublecro:
Wow,that runs cool.....

one advice,home screens seem much more fluid when I replaced default launcher with GoLauncher.

And,since I've been using setCPU or OC widget,which settings in Cyanogen menu must be set for onscreen to use max freq(710 im ny case) and when offscreen to use lowest cpu speed?

Thnx
[Hero, G2 Touch Android Development] dikabuzz9447:
nice ROM..

Thanx
[Hero, G2 Touch Android Development] Janzomaster:
Hi,

I'm currently trying to move some apps from the ext to the internal memory but can't seem to get it done.

Can you give me an advice from which source folder I need to move the apks to which target folder?
[Hero, G2 Touch Android Development] lodder:
Thx great rom V3 keep up the good work
[Hero, G2 Touch Android Development] marcero:
/data/app -> /system/app

Maybe you are not able to update after move, try it out
[Hero, G2 Touch Android Development] Janzomaster:
Actually, I can't find a folder named /data/app. I tried moving from /sd-ext/app to /system/app but this broke the apps.
[Hero, G2 Touch Android Development] marcero:
Are there different structures between froyo and gingerbread? All my apps from market are in /data/app
[Hero, G2 Touch Android Development] elelinux:
No difference at all :D
[Hero, G2 Touch Android Development] Janzomaster:
Ok, it's estrongs file explorer that doesn't display the /data/app folder - strange.
[Hero, G2 Touch Android Development] DjoeN:
Moved back to this rom,

CM7 Stable for the Hero is 1 crappy build. Froyo is more stable and faster then Gingerbread on the Hero. Think i'll stick to this till i got my new Android phone and then the good old Hero will be sold.
[Hero, G2 Touch Android Development] guroid:
Hi Ele, Great work. Returning back to v2 due to battery drain. And phone with v3 has been stuck at HERO logo during reboot twice. Wiped all. reflashed. the same symptoms. Anyway v2 - the best froyo based rom I've ever used at Hero. regards.
[Hero, G2 Touch Android Development] snah65:
Hi Ele, I am enjoying you're rom from V1! I stopped GB rom's because there were way too many problems.

This one is very stable and I like it!

I am using radio version 63.18.55.06PU_6.35.15.11

Is this the best version or do you recommend another version?
[Hero, G2 Touch Android Development] Beaverman33:
Hi,

I've just upgraded from Elelinux-6.2.0-Hero-Speedmachine-v2 to Elelinux-6.2.0-Hero-Speedmachine-v3 and noticed that one of my favourite features is now missing - the compass mode map that enables the map to orientates itself to your direction of travel (rather than always pointing north). Is there a way to fix this?

Thanks
[Hero, G2 Touch Android Development] rdejager:
You need to figure that one out yourself :P For every phone and every network that is different.
[Hero, G2 Touch Android Development] elelinux:
Will add a option for that
[Hero, G2 Touch Android Development] elelinux:
Have added 3D Maps as a option for v3 in the first post
[Hero, G2 Touch Android Development] marcero:
Is changing the gl version in build.prop from 65536 to 165537 the only important change for this?
[Hero, G2 Touch Android Development] elelinux:
Yes ,the rom include open gl 1.1
[Hero, G2 Touch Android Development] riemervdzee:
After fighting a little with GB nightlies I reverted back to froyo, this ROM.

Really runs smooth :)

Is there a way you could put in the WiFi tether app into it? (the original oasp app, that is) That is something I wish to get available for testing the .35 kernel. Many appreciated :)
[Hero, G2 Touch Android Development] rustynuts34:
My main phone is no longer my beloved hero but my arc ,but I'm trying out more roms now as I have no worries about missing stuff but it always ends up running this by the end of the day. Cheers matey :-)
[Hero, G2 Touch Android Development] elelinux:
I can add an option such aNetshare, but build something in the system takes too much time, unfortunately,is it work at all in GB ?, usually I use aNetshare in GB.
[Hero, G2 Touch Android Development] elelinux:
Have added an option Android Stock Theme, and if you repent, you have to flash the rom again to get back to the Speedmachine theme.
[Hero, G2 Touch Android Development] Beaverman33:
Big thanks from me for this - just downloading and flashing now
[Hero, G2 Touch Android Development] vrooden:
Crash/Reboot when Google Maps 5.3.1 update from market

I tried multiple times to install Google Maps 5.3.1 update from the market and when "Installing..." the Hero always reboots. It's not a complete reboot, the "HERO" logo is not shown.

I'm not sure wether this is related to the ROM or a general problem, but since in this thread there was a patch, I think it MIGHT be. Was this patch only for v2? I haven't applied it to v3 yet. Might that help?
[Hero, G2 Touch Android Development] Janzomaster:
Have you tried deleting the cache of the market?
[Hero, G2 Touch Android Development] vrooden:
Ran "CacheMate", no manually. Also deleted all temporary apks from /sdcard/Download.

Hmm, might it be caused by me using Titanium's "Integrate Update into ROM" after last Google Maps upgrade to 5.3.0?
[Hero, G2 Touch Android Development] elelinux:
Quite possible that you say TB has created some concern at times, I personally had uninstalled all the updates for maps from the market and then updated it again
[Hero, G2 Touch Android Development] kaiowas82:
Flashing the android stock theme, is possible then to use lcd density changer on this rom? actually it doesn't work, and it's the only reason why i don't stuck with this rom :(
[Hero, G2 Touch Android Development] TA123:
Have a strange problem with this ROM: every time I try to install Angry Birds the phone reboots although it starts straight from Elelinux Froyo 2.2 message, not from Hero as it usually does when rebooted manually. I tried to install both from the Market and from Titanium Backup. Any idea why it happens?
[Hero, G2 Touch Android Development] marleyfan61:
Hey Ele, after trying pretty much all the GB roms for the Hero I have landed back here. I like the GB roms a lot but there are still too many issues for me to stick with one yet. So I have come back to the Speedmachine. It is smooth and reasonably fast, but most of all, stable as a rock. Everything just works. And that's all I really want in my rom. Thanks.
[Hero, G2 Touch Android Development] Hige:
That's working here, but i didn't flashed the stock theme..

Kind weired that the auto dim is not working with you..

but i don't think ele could help you out, because that doesn't seem to be an ROM issue..
[Hero, G2 Touch Android Development] adisan2002:
And the battery lasts longer than other ROMs, at least for me!
[Hero, G2 Touch Android Development] marcero:
I am back here too, maybe going one step more to eles 2.1 because my eduroam connection just connect once and the next day it does not let me in. I have to delete the known wlan spot and add it again. Therefore i have to enter everything again... will try if it happens in 2.1 too. In 1.6 it works perfectly, do not know why.
[Hero, G2 Touch Android Development] rdejager:
Hero never had 1.6 it had 1.5 and then went to 2.1
[Hero, G2 Touch Android Development] adisan2002:
I'm really excited about this rom... stability, speed, long-lasting battery, great look...

That's all I need :)
[Hero, G2 Touch Android Development] marcero:
Ah you are right. Then 1.5
[Hero, G2 Touch Android Development] rdejager:
Yea I made that mistake aswell

Going back to this, needs stability aswell
[Hero, G2 Touch Android Development] Janzomaster:
My eduroam connection works flawlessly with this rom.
[Hero, G2 Touch Android Development] marcero:
With CA cert and everything?
[Hero, G2 Touch Android Development] Marsou77:
My battery is down too fast... I listen music less than 30 min and I loose 20%... any help ? I am on Smartass governor with 245 to 576MHz.

Thanks :)
[Hero, G2 Touch Android Development] adisan2002:
change the battery ;)
[Hero, G2 Touch Android Development] vrooden:
Same here, see above my "Google Maps" issue. Some apps won't install from market, causing reboot. Sometimes after trying again (and again) it works, but not always. Currently only GMaps is still permanently causing problems, also ADB install or from SD card doesn't work. Others worked fine after retrying.
[Hero, G2 Touch Android Development] TA123:
Does Bluetooth work for you guys? I can't connect go my in-car Jabra hands-free :(
[Hero, G2 Touch Android Development] wbervoets:
no problem here connecting and calling with my ford audio BT
[Hero, G2 Touch Android Development] marleyfan61:
Mine works fine. Actually I did a nand of this rom and had flashed feeyo's 2.2 rom (recently updated) to try it out but was having freeze problems and bluetooth connection problems. While driving home today I did a reboot to recovery, wipe and nand restore of this one and my bluetooth connected immediately.
[Hero, G2 Touch Android Development] squeeish:
I noticed my battery drained pretty quickly and checked my logcat. Every 5 seconds I was getting this:

E/Tethering( 199):attempting to remove unknown iface (usb0), ignoring

Some rogue app?

EDIT: A reboot solved this.
[Hero, G2 Touch Android Development] DjoeN:
Haven't done a logcat but my battery is draining also quick, need to charge it every day, even when i didn't use it for anything.

Normally i just charge every 3 days with normal usage.
[Hero, G2 Touch Android Development] alexflash:
My battery drained very quickly (10-15% an hour), Spare Parts showed that phone never sleeps. Then i went to Preferences-CyanogenMod-Perfomance-CPU Settings and set Ondemand-264-672, and it became ok (maybe 1% an hour).

Perhaps, may be a conflict between SetCPU and CyanogenMod settings? (I didn't see perfomance settings, and installed SetCPU after installing Elelinux)
[Hero, G2 Touch Android Development] TA123:
Thanks. It was Jabra's problem. Probably because I changed from Ele's 7.0 ROM to this one some weeks ago.
[Hero, G2 Touch Android Development] TA123:
My battery life on this ROM is just amazing. It may last for two days. However, I did the following:

1. disabled "push" on my emaill accounts (I've got three plus Gmail)

2. keep 2G connection most of the time

Mind, if I use Internet it drains the battery like mad. The music player also drains the batery quite significantly. But all in all, it is the best ROM for me in terms of battery life.

The downside of good battery life I guess is that the phone sometimes takes too long to wake up and launch apps.
[Hero, G2 Touch Android Development] TA123:
I wonder if it is something to do with APP2SD.
[Hero, G2 Touch Android Development] vrooden:
Oh... just realized "/data/app" is now linked to "/sd-ext/app". Was wondering lately why my "/data" had so much space free, now that's the reason! :p

Well, it could be, but I'm pretty sure I

was

able to upgrade Maps to 5.3.0 with Speedmachine v3, it's "only" Maps 5.3.1 that won't update and is driving me mad :mad:
[Hero, G2 Touch Android Development] Serial12:
Question, could someone plz tell me why I am not able to download anything from the market using this rom. Default browser also is not anle to connect to the net.. Plz help.
[Hero, G2 Touch Android Development] squeeish:
Serial12, which radio are you using? Did you do a full wipe before installing this ROM?
[Hero, G2 Touch Android Development] Serial12:
To answe your question.

I did a full wipe. I am using radio version pu_6.35.15.11
[Hero, G2 Touch Android Development] Serial12:
I installed opera mini and dolpin browser mini using an apk file. With those two programs I am able to connect to the net. Even using this xda app I can connect.. :-{
[Hero, G2 Touch Android Development] Janzomaster:
Lately I've been having problems with the music player. For two times now I had my system become unresponsive while listening to music and after a minute or so rebooting. Always screen off and the playing became sluggish before too.

The music player has crashed a few times recently too with screen on, no reboot though.
[Hero, G2 Touch Android Development] TA123:
When I install a new app or update an existing I often get a message something like "This is an app2sd app, would you like to move it to the SD". I thought that it would happen automatically.
[Hero, G2 Touch Android Development] vrooden:
In your case, since you mention "screen off", could it be CPU settings clocking the CPU too low?

Generelly: I also have unresponsitive screen resulting in reboot (not completly, "HTC Hero" is not shown, only "Elelinux") often lately. Often even just after rebooting after a few minutes it reboots again and again 2-3x. Might be a memory problem, played with autostart manager, uninstalled some memory hogs (WhatsApp i.e.), removed some widgets, ... seems to be running more stable now, but still occasionally it freezes and reboots. Haven't logcat'd now, will do so soon.
[Hero, G2 Touch Android Development] Janzomaster:
Well, I tried setting the CPU higher, didnt change a thing. I think it's memory related too, as today I was putting quite some strain on my phone: data, gps, music, 2 fitness-recording apps all running at the same time - reboots every 5 minutes.

This makes the ROM rather unusable for me :( I'll try to get a logcat of the reboot, perhaps that helps...

btw, what's the best way to record a logcat?
[Hero, G2 Touch Android Development] Janzomaster:
Ok, I provoked the reboot with using a ****load of apps. Here is the logcat:

http://pastebin.com/1sp8u5Q3
[Hero, G2 Touch Android Development] nechmadi:
edited due to other problem :(

when i try to add my facebook account, i press add account-> facebook and its goes back to account & settings where i can press add account again

and also when try to reboot from the power menu the phone stuck on hero screen
[Hero, G2 Touch Android Development] elelinux:
You guys have weird errors, have tried most things and not successful with what you do, can it be that you are using TB and backs up system settings ?
[Hero, G2 Touch Android Development] Janzomaster:
Hi there, I'm about to wipe my existing install of this rom and reinstall, hoping to resolve some issues.

Now I want to add some apps to the rom and remove others - is it as simple as removing and adding apks in the zip-file and resigning it or is there more to it?
[Hero, G2 Touch Android Development] nechmadi:
yes it's simple like you said..
[Hero, G2 Touch Android Development] nechmadi:
if i will backup only the apps without system data with TB you think the problem wont happen?
[Hero, G2 Touch Android Development] swatsbiz:
try just restoring the apps and not the system data, from a clean flash of the rom.

Don't create and flash update.zip with TB, otherwise you'll get all your problems back again
[Hero, G2 Touch Android Development] nechmadi:
didn't created update.zip from TB. when i try to restore only the apps from TB the phone reboots in the middle and every time i try to install app (not with TB) the phone reboots
[Hero, G2 Touch Android Development] swatsbiz:
Sounds like the sd card is corrupt, if you use AmonRA's recovery, you could do a repair ext on the sd card - that often fixes the problem.
[Hero, G2 Touch Android Development] dkelley:
huh, been a small increase in the number of posts related to sd card corruption in recept rom threads....

just thinking out loud.

just popped in for a sec and popping back again

hi all

:-)
[Hero, G2 Touch Android Development] squeeish:
Hey elelinux, how come I can't disable the pop up for keyboard? :)
[Hero, G2 Touch Android Development] vgkeeper:
Hello

I test this rom , but the bluetooth connection with my car dont work correctly

i try many time , reinstall , appaire and desappaire , no way

an idea ?
[Hero, G2 Touch Android Development] vrooden:
Regarding my frequent reboots: Currently my Hero is running quite stable.

What I did:

Disabled many animations (no longer "all")

Currently did not apply density 140, use default 160

Changed max VM heap from 16 to 24

I think it's the VM heap that had the most impact. Free RAM was constantly about 35-40MB, even after killing unused processes and applying autostart blocking. So at first I tried lowering max VM heap to 10 (in Settings >> Cyanogen >> Performance), but after rebooting the phone didn't much respond at all, even simple actions caused lags. So I just tried the other way, raising the max VM heap to see if this could solve some propably occuring memory problems. And voila, phone's running smooth and stable.

I even just recently chose "Update All" for 8 apps in market which formerly was a guarantee for reboot, but not now. I also could charge the phone, which also strangely caused the phone to reboot 3-4 times during charging.

Might be worth a try for others, too...
[Hero, G2 Touch Android Development] dkelley:
what's truly bizarre is how froyo roms on the hero never had any random reboot issues in early versions way back when. it's when all of the cm stuff gets pushed to the hero that it always seems the hero gets less reliable.

Makes one think that the cm hero dev (who no longer exists of course) has missed something somewhere along the way. but man there's so much that goes on in developing these rom modifications and porting them to different phones it's amazing we get anythign at all.

So not complaining, just whining :-)

it's possibly almost better to use one of the older roms that has zero issues but might be missing a few features or might be less compatible with some of the later apps.

Of course that's easy for me to say - I'm using elelinux's latest gb rom ;-)

do what I say, not what I do, as the saying goes.
[Hero, G2 Touch Android Development] bosch23:
My widgets disappear after reboot and then I can't get them back. They are not listed in the widget list. Anyone else seeing this?
[Hero, G2 Touch Android Development] BrZ!:
i've got this way-back.

wipe everything and format your sd card en flash and reinstall everything again.

that was the only solution for me.
[Hero, G2 Touch Android Development] bosch23:
Thanks. Took me all freakin day!
[Hero, G2 Touch Android Development] dkelley:
interesting. I had that with ele's gb rom a coupel days ago and said screw this LoL. so now I'm on a stripped sense rom (no sense launcher or widgets but all of the better sense features) because it's reliable and has nice UI animation framerates, although ti's only 2.1 which is unfortunate.

One day the ultimate rom will exist - I hope :-)
[Hero, G2 Touch Android Development] FlanFlinger:
Excellent

I've been using this rom for almost 2 days now.....

It's great ! :D

I've overclocked to 710 and set the min at 176, governor set to "performance". Compcache disabled, JIT enabled and VM heap 24.

Not a single FC, black screen, white screen, widget loss or anything untoward.

The only thing I've changed is the radio firmware to the latest.
[Hero, G2 Touch Android Development] elelinux:
Glad to hear that someone is happy with rom :D
[Hero, G2 Touch Android Development] dkelley:
haha, it's the next rom I'll try, I haven' used v3 yet. just the gb one gave me sudden issues is all and they jived with some issues I read on here.

I'm sure this rom's awesome dude - those gb sources will keep your hands tied though I think with never ending irritating bugs to squash.

have fun with your cm 7 task but don't stop the cm6 based roms like this one please!
[Hero, G2 Touch Android Development] TA123:
I guess everyone is happy with this ROM. Despite a few glitches it is great! Thanks a lot again!
[Hero, G2 Touch Android Development] squeeish:
How's your battery life?
[Hero, G2 Touch Android Development] Matuna!:
Number of dock icons

Hi,

the ROM is great so far but for customization I can't change the number of dock icons. I used to know there was an option with the previous version or am I wrong?
[Hero, G2 Touch Android Development] FlanFlinger:
About 17-20 hours with wifi on, 3g on even though I live in a 2g area, it's not far off the same as my Galaxy S is, but I always put the phone on charge every night
[Hero, G2 Touch Android Development] vrooden:
Similar here, but I keep WiFi off most of the time.

Furthermore I'm running JuiceDefender Ultimate and Green Power Pro (one at a time, trying to figure out with both suit me best), which really pushes battery life a few hours more.

Still can't get more than 24-26 hours, which still is fine for me. I am charging the phone in the evening, unplug when fully charged plus about half an hour.

I'm fine with it, battery wasn't better, even worse in the good ol' times with Sense or other Froyo ROM (CM6 plain IIRC), since I'm using quit a few widgets and online stuff (RSS, Twitter, Facebook, 3 Mail Accounts, Market, Weather, and so on).

EDIT: And since I found a way to nearly avoid reboots (see above, setting VM heap to 24MB), Speedmachine v3 is running very stable, so: THANKS a lot Elelinux for this superb ROM!!
[Hero, G2 Touch Android Development] FlanFlinger:
I'm going to try a day of the speed wound back to 518Mhz and see how that goes :cool: