yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] peelsky:
The drain does not affect everyone but only some users. Apparently it's a CyanogenMod issue. Ninpo probably has localized the issue in CM. The same case was discussed on villain forums: http://www.villainrom.co.uk/forum/showthread.php?2401-Battery-Expectations

Almost everyting was tested: the drain happens whenever user turns screen on. Battery goes down around 30% per hour when browsing. It was tested on various kernels, with and without apps, newsest, older radio, different SPLs.

I'm only syncing gmail, wifi was mostly off, no rogue apps installed, autokiller memory optimizer set to aggressive, screen brightness set to auto with custom levels. Screen dim level 5, allow light decrease, decreae hysteresis:10%; accelerometer rotation off; 2g when not syncing.

Services running in the background: whatsapp, battstatt, tajm, 3g watchdog, juice plotter, pure messenger widget, setcpu, genie, google services framework but tested these for battery drain before.

SetCPU set to minmax 576-352 when screen off, 480-245 minmax when screen off. After 4 minutes of talking/temp goes from 26,4*C to 35,4*C and higher. Screen tends to cause around 60-90% of battery drain even it was on for only a few minutes.

The drain happens only when using screen. Wifi, sync, bacgkround data, gps with screen off does not drain battery more than on Eclair.

Will provide more info (even tho there's plenty of useful info on villain forums) if needed.
[Hero, G2 Touch Android Development] sakli:
real test

testing....
[Hero, G2 Touch Android Development] ziggy1001:
This is my default keyboard and settings
[Hero, G2 Touch Android Development] jason4656:
Thanks sometimes a bit hard reading all on phone will give it a go and report back, if you can lose my lag will have a lifetime fan lol
[Hero, G2 Touch Android Development] erasmux:
First of all how why are using autokiller?! I highly recommend you let android manage the memory. If you want you can tweak the internal memory manager as described here: http://xdaforums.com/showthread.php?t=622666

Please, at the very least, don't report problems that may be caused by such "evil" programs like autokiller which drive the system crazy (it closes application in such a way the system just reopens them and it closes them and so on).

If you are willing to seriously investigate this battery drain problem: Lets start with something very basic: you say its the screen that "drains" your battery. So I suggest the following (you can do this only for the test and then restore a backup or something):

1. Full wipe

2. Install ROM (Floyo 0.8) and nothing else

3. change display off to 30 mins, touch it after about every 20-30 mins but other than this don't use the phone just let it do nothing with screen on.

How much does the battery go down? For me it goes down ~10%/hour (down from 95% to 85% and I think I even had wifi open) in such a scenario. This might be worst than eclair did not quantify it on eclair.

What results do you get?
[Hero, G2 Touch Android Development] erasmux:
Been skimming a bit through the battery drain post on the villain forums. There might be a more psychological side to this than I had originally thought, take this post for example by tara on page 22:

This sounds like not spectacular battery life but definitively not a "battery drain". I would say I get a tad better battery life from my ROM but these numbers are in the correct ball park. Screen was on for 5 hours straight and she lost 60%, 20% of which was while using the phone "moderately" duing the first hour, and after that it fits with my 10%/hour just-the-screen-on-number from the post above. The screen takes a lot of power from the hero there is nothing to do about this. Sorry.
[Hero, G2 Touch Android Development] liljom:
there is something you can do about screen battery usage

look at the picture!

black uses less energy than colors or white

it is elegant and the most important things are there.

-black background

-transparent background power widget

-FlipClock Simple Dark (http://www.appbrain.com/app/factory.widgets.FlipClockSimpleDark)
[Hero, G2 Touch Android Development] rionline:
i have to say...for my daily use the battery life is more than enough even more - in my subjective little world - same as other good or official ROMs .... luv this ROM, keep up the good work and thanks! btw. using the phone in any way needs energy...so if you want no batterydrain at all, turn your device off! :P
[Hero, G2 Touch Android Development] Matri}{:
Yersteday I've read this thread about I/O hacks

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

And this is Desire DEV thread http://xdaforums.com/showthread.php?t=859419

So, can we expect that yummies for our Floyed GSM Heroes? :)
[Hero, G2 Touch Android Development] eeVoskos:
Hey, great ROM! I've been using it for ...well, one whole day now and it's super fast and stable. 2 questions though:

1) I want to replace the ADW Launcher with LauncherPro. I installed LauncherPro from the market and into the internal memory, but before flasing your "Replace System Launcher 1.0" fix (see post #1 of this thread) I was wondering whether I will still be able to get LauncherPro updates from the market if it is moved to the system memory.

2) Have you done any stats from the Floyo users on the speed/stability/battery life tradeoff when tweaking the kernel speeds? If so, which is the "best" speed , I am using the default kernel that is bundled with FLoyo 1.2.0 and while the speed is good and I have no stability issues, I'm not really satisfied by the battery. Of course, I will run long-term tests and report in the kernel thread. Sorry if this is a bit off-topic.
[Hero, G2 Touch Android Development] erasmux:
1) I think so, not sure cause I don't really use it.

2) First, reboot your phone, and recharge it over night to full charge (not just 100%), then test it over a few days under your normal usage.

Then, please report what exactly is the battery life you are getting with what settings and usage and what battery life are you use too (if you say its bad - bad compared to what?). Detail as much as possible. Not much I can do with a "bad battery life" report. For me battery life is good enough (usually 3-4 days without recharge).
[Hero, G2 Touch Android Development] treesurf:
I can confirm that Launcher Pro will update properly from the Market after flashing erasmux's replacement zip.
[Hero, G2 Touch Android Development] invinciblervd:
3-4 days of battery life ?? That's insane. I get only 8-9 hours of battery life. I leave phone for charging overnight but still don't get any better batter life..In fact I've switched my phone to 2G use only, coz on 3G my phone dies in 6 hours, even on normal use.

What wrong I am doing to get such a pathetic battery life compared to yours ?

I am running Floyo 1.2.0 and Gingerbread theme 2.2..

Radio being 15.14.

Can you advice.
[Hero, G2 Touch Android Development] GZFan:
Well, 3 days is a long time, but for me, I can use my phone 2 days, with google, facebook, twitter, news, weather synced...

So, the batterylife is much better in this ROM compared to many others...

Did you do a full wipe?
[Hero, G2 Touch Android Development] thegodfather13:
work fine , the best rom ever seen thanks !!!
[Hero, G2 Touch Android Development] erasmux:
I think my secret is I have low usage of the phone :D Don't have a data plan, so data is ALWAYS off, wifi also off unless I need it which is usually seldom. I it mainly as a development device - but then its connected to the PC so no battery problems there :p. Secondly, I also use it as an actual phone, phone calls, SMS, etc.. Finally I also listen to music with it occasionally. For example, even listen to music with screen off (low frequencies) because of smartass eats the battery quite fast....

You can also try the new pre3 kernel, which hopefully improves battery life a bit. Note that I might release pre4 kernel soon, am working on this damn, screen unlocking flickering.
[Hero, G2 Touch Android Development] Capitan Trueno:
EDIT: I have reflashed the ROM and it works again: SOLVED!

Hi all,

I am testing this ROM on my Hero and I found a little issue with camera app. When I try to make a photo, the app freezes and I must reboot phone to make it works properly again. Has somebody come across this problem?

I can post a logcat if you want it and it serves to kwow problem's cause.

Regards.
[Hero, G2 Touch Android Development] XuperLugia:
Posting this also here since the CM 6.1 post seems a little bit frozen:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[Hero, G2 Touch Android Development] treesurf:
It's possible that your battery may just be getting old after so many charge cycles.
[Hero, G2 Touch Android Development] Neo Cortex:
Still running 1.1.9 and, apart from one reboot in 6 weeks, I have had no issues at all. Everything works perfectly. Battery life, after starting off quite poor, seems to have improved drastically. I was surprised yesterday when the new style market just appeared.

So is there any compelling reason to upgrade to 1.2?
[Hero, G2 Touch Android Development] treesurf:
That's interesting. Has anyone else had the new market appear for them without doing anything?
[Hero, G2 Touch Android Development] duoxx:
I haven't got the new market, though my friend who has the desire HD's market just got updated.

Do we need to do something to get the new market?
[Hero, G2 Touch Android Development] davrave:
Yes! you can install the .zip file "market226-signed.zip" Don't know how to post it in this reply but I'm pretty sure that if you do a search of this site or Google it, you will find the file. Just copy it to the SD card and install from recovery or using the method of your choice.
[Hero, G2 Touch Android Development] torkel_b:
Yep, I got it yesterday "just like that"!
[Hero, G2 Touch Android Development] desean:
here you go: http://villainrom.desean.net/misc/market226-signed.zip

i had packed it for FV 1.7 but it should work fine on Floyo.
[Hero, G2 Touch Android Development] ferfecir:
keyboard

How can I install

or

How can I activate ?
[Hero, G2 Touch Android Development] Matri}{:
Long tap on the text box and select Input Method
[Hero, G2 Touch Android Development] andybello:
htc hero with floyo

hi,can someone help.Have htc hero with the original firmware want to change to floyo,how do i do it?how do i flash the Latest floyo and its features.what do i need.thanks.
[Hero, G2 Touch Android Development] merlin699:
http://xdaforums.com/showthread.php?t=645253
[Hero, G2 Touch Android Development] duoxx:
Thanks desean! Using new market now
[Hero, G2 Touch Android Development] marleyfan61:
A couple of questions. I'm currently on Floyo 1.2. Just wondering people's opinions of Floyo vs FV 1.7.2 vs Ele's 2.2.1. They all seem good (although I haven't tried FV 1.7.2 yet.

Second. I just bought a new SD card. When I format it should I use ext2 or ext4? Or does it depend on which of the 3 ROM's I choose?
[Hero, G2 Touch Android Development] erasmux:
I can't help you with the ROM choice, from a developers view point, all the above ROMs you mentioned are very very close. From a user standpoint, after comparing Floyo with Floyo, I think Floyo is the best :) I am totally objective ;)

Regarding, the ext partition, it is directly dependent on which ROM you choose. In the past I had prefered ext2, but today, after doing some further testing, I think ext4 is better, because ext2 can develop data loss over time. Then only problem with ext4, is that some kernels - i.e. FlyKernel 11c and older - do not support it. Note that specifically for app2sd the ext partition is written very very little so the difference between ext2 and ext4 are very minor.

If you decide to go with ext4, I suggest you flash my latest flykernel-12 (only "pre" versions for now) before you reboot to ensure support for it. i.e. Froyd 1.7.2 does not support ext4 out of the box, but if you flash it and before the first reboot flash flykernel-12pre5, it should be fine. Floyo 1.2.0, does support ext4 out of the box (flykernel 12pre2 included).
[Hero, G2 Touch Android Development] marleyfan61:
Thanks Erasmux. I decided to try ext4. Any guidelines on the parameters for formatting? I have a 4Gb card. Is setting the ext4 partition to 1Gb and the swap file to 8** ok?
[Hero, G2 Touch Android Development] lynx2k50:
Oh mate. Flashed the same but i only have FCs :(

@erasmux

Have you a working market for me? Please as an update.zip!
[Hero, G2 Touch Android Development] erasmux:
Well, regarding swap, as far as I know it is not recommend for our heros, so I would set it to 0. The ext4 partition, I assume, would only be used for app2sd, so unless you really have an obscene amount of apps, then 512M should suffice for it leaving more space for the main partition :)

Sorry don't have an update.zip for the original market. You can unpack the Vending.apk from system/app in the original Floyo-1.2.0.zip file and then push it with "adb remount" and then "adb push Vending.apk /system/app/" and then reboot - this should fix your problem.

If you don't mind getting ALL google apps (not just those that come with the original floyo release), you can use the update zip for the "full google apps" on the first post, this should reset your market as well.
[Hero, G2 Touch Android Development] lynx2k50:
Thanks mate. Flashed gapps and everything is working now :D
[Hero, G2 Touch Android Development] wapz:
Is anyone able to get the new Maps 5.0 working with full 3D features as discussed here? That would be great!
[Hero, G2 Touch Android Development] gocegi:
Best rom ever. Period !!!
[Hero, G2 Touch Android Development] wapz:
I've just enabled compcache, is there an app that can display the actual amount that I should be able to use, or does that depend on how well a specific item can be compressed? I can't see the difference with OSMonitor.

Or at least something that can show me the differences somehow? Performance-wise it feels exactly the same.
[Hero, G2 Touch Android Development] erasmux:
adb shell free
[Hero, G2 Touch Android Development] jaychou8899:
i can't receive mms.when a mms comes,i tap download but it notifiy that unsuccessful.what can i do?i try 3g and wifi but i can't download mms
[Hero, G2 Touch Android Development] jessgade:
Try rebooting the phone - that helps for me
[Hero, G2 Touch Android Development] freshmeat143:
can i do the SD partition after I flash the ROM? Or i need to redo everything again? kidnly advise me. thks :confused::confused::confused:
[Hero, G2 Touch Android Development] treesurf:
Has anyone using Floyo1.2 received an automatic update to the new Market yet? So far I have only seen FV users reporting this, so I'm wondering if the two ROMS use different versions of gapps or something...
[Hero, G2 Touch Android Development] jaychou8899:
You install applanet and find in it's market.acttually i don't like the new market.i prefer old version
[Hero, G2 Touch Android Development] jaychou8899:
i tried but nothing happen.:(

3g is normal.why mms??
[Hero, G2 Touch Android Development] erasmux:
Yes, there is no problem to create the partition only after you installed the ROM, the apps should move to it on the first boot after you create the partition.

Please be careful, repartitioning will lose all the data on your SD (back it up before, and restore it after). If you already have an ext partition and are repartitioning all its data will also be lost, in this specific case, you need to do a nand+ext backup before and restore it after.

Check your MMS/APN settings - best to copy them exactly from a ROM where it does work for you.
[Hero, G2 Touch Android Development] freshmeat143:
will try it now. thks.
[Hero, G2 Touch Android Development] kastraverde:
Does anybody have problems with camera? I've tried both the standard application and the Camera magic one and 1 case out of 5 I managed to actually take a shot. Usually this happens: a) standard camera app acts as shooting but nothing happens, b) phone reboots when taking a shoot with camera or camera magic, c) phone freezes and needs a restart.

I also have problems with ADW launcher: sometimes the dock disappears and it's replaced by a section that has a plain gradient and no button. Reloading the theme, no matter the theme used, fixes it this but it's annoying.

Yes, I wiped all before installing Floyo.
[Hero, G2 Touch Android Development] erasmux:
First, regarding the ADW launcher, I think what your talking about is feature not a bug :) If I pull the dock bar upwards in a swipe it will disappear (showing only a grey shadow). For some reason to bring up again, your need to reverse the swipe direction: swipe from the area the dockbar is suppose to be in downwards.

Anyone know an option to disable this "interesting" feature?

Now regarding the camera, thats very weird. May I ask, just to be sure, does the camera work for you on other 2.1/2.2 ROMs?

Please also share your last_kmsg (use for example "adb pull /proc/last_kmsg" to get it). This is a log of the last kernel crash, so if you have had non-camera related spontaneous reboots :eek:, first recreate the problem and only then pull this file (otherwise you can probably just pull it now).
[Hero, G2 Touch Android Development] skedone:
just had to say THANKYOU as this is the first rom in a long time that just bloody works i have tried so many as most people will know on here lol i mean i have flashed my phone 6 times in last 3 days, and this rom just works and i mean everything, not found one bug so far its fast responsive and never acts up (well so far)

so congrats on being the first to get it all right and working mate
[Hero, G2 Touch Android Development] skedone:
forgot to say also i charged the battery to 60% yesterday and with wifi on and reading book on kindle all night ect i still have 52% now so what ever u did has made the battery amazing
[Hero, G2 Touch Android Development] ueikap:
The "interesting" feature is really usefull. When the dock bar with the menu button disappears, you have a "new" dock bar. You can drag and drop icons on it and then this "hidden" doc bar will make some application icons available on all the screens.

Then, swiping up and down you will be able to switch between the dock bars.
[Hero, G2 Touch Android Development] erasmux:
Wow, thanks, didn't know that. Thats actually quite cool, the hidden dock bar has unlimited space - it scrolls :D.
[Hero, G2 Touch Android Development] kastraverde:
Thanks. erasmux. You are right about the dock: it's not a bug, it's a feature, even it's a strange one. I've attached my last_kmsg file as a .zip .

View attachment last_kmsg.zip
[Hero, G2 Touch Android Development] ruudud:
Fix for enabling USB storage mode after tethering

Just thought I'd share a fix for the problem when trying to go back to USB storage mode after using USB tethering:

echo 1 > /sys/devices/platform/msm_hsusb/usb_function_switch

The source of the problem is that when clicking 'Mount' in the USB connection popup, the following does not change:

$ cat /sys/devices/platform/msm_hsusb/usb_function_switch

usb_mass_storage:disable
adb:disable
diag:disable
serial:disable
ether:enable
modem:disable
nmea:disable

The solution is retrieved from http://code.google.com/p/android-wired-tether/issues/detail?id=21.

It would be great to actually have an option for this somewhere in the menus, or yet better; fix it completely.
[Hero, G2 Touch Android Development] abucan:
ADWSettings > General Behavior > Swipe down actions > none

ADWSettings > General Behavior > Swipe up actions > none
[Hero, G2 Touch Android Development] erasmux:
That does disable the "regular" swipes but still the "new dockbar" swipes remain active.

The correct option was easy to find once I understood this feature: Turning off the "dockbar" option under the "UI Settings" will disable this behavior. Personally, now that I understand it, I actually like it and have started using it :)
[Hero, G2 Touch Android Development] erasmux:
That last_kmsg log is clean and is missing the boot so can't even tell from when is it. I suggest you reboot the phone, and then try to recreate the problem of spontaneous reboot. After the spontaneous, try to get the last_kmsg log again.

Also you haven't answered my question about, does the camera work for you on other 2.1/2.2 ROMs? If so on which? The reason I ask is because someone contacted me, quite a while ago, about a problem in some specific hero devices where the camera only works on 1.5.
[Hero, G2 Touch Android Development] erasmux:
Thanks for the detailed info. Will be fixed in the next version of flykernel (12pre6 still does *not* include the fix).
[Hero, G2 Touch Android Development] mdon874:
wow erasmux this is a fantastic ROM ...yes similar to FV and ele's but after trying them all this is my favourite.

thank you for putting the work into this and your kernels ... it is very much appreciated.
[Hero, G2 Touch Android Development] freshmeat143:
after i partition my sd to ext2, how do i check my apps will go to sdext partition? any apps can check? how to check the total disk space for the sdext+phone memory? thks:confused::confused:
[Hero, G2 Touch Android Development] freshmeat143:
thks for ur apps. from e drive watch, is shows my phone total disk space as below:

Internal: 165.7MB

SD: 7067.1 MB

Apps2SD: 170MB

I did my SD partition as

ext2: 512MB

swap: 32MB

Fat32: --

why my APPS2SD only showing 170MB??

:confused::confused::confused:
[Hero, G2 Touch Android Development] kastraverde:
Hello erasmux. Camera worked in Floyo 1.1.9 and some older FroydVillain, even in official 2.1. I've tested right now and the camera worked perfectly.

P.S.

I've received a message and, when trying to read that SMS, my phone rebooted. I am trying to pull last_kmsg but it has the same content as the file I've previously updated here.
[Hero, G2 Touch Android Development] invinciblervd:
Erasmux,

I know its a long shot but can you in anyway, hack the People app from HTC sense and possibly port it to your rom ? The way it works to sync all the contacts is amazing. I still can't get the stock app work as smoothly as People app can as far as syncing is concerned.

Cheers

RD
[Hero, G2 Touch Android Development] erasmux:
Something is very very wrong for you. If floyo 1.1.9 worked for you, so should 1.2.0. The difference between these releases is very small.

Try to do a full wipe (data, cache and ext partition), install only the Floyo 1.2.0 update and nothing else, then reflash the latest radio, then test it before you install anything else on the ROM - this should really work. If it does not, repeat the process with 1.1.9 - if 1.1.9 works and 1.2.0 does not, I can't explain it but I guess you stay with 1.1.9, the difference is really not that big.

First I don't think that it is so easy. You would probably end up with a ROM which is much closer to a sense ROM than a CM ROM and probably much much less stable than either. If you prefer sense use a Sense ROM :)

For me, there is also no reason to even want this. For much less effort (by my guessing), you can fix the stock contacts app because its open source. With the short commings of HTC sense you are stuck because its closed source.
[Hero, G2 Touch Android Development] abucan:
For me the sync of the stock ROM is better than one from Sense.

I have 1000 exchange contacts that I sync with my Hero. On Sense 1.5 I would get duplicate contacts on sync but that was a problem with third party backup solution with Microsoft Exchange. On 2.1 the duplication of contacts disappeared. I also had problems with ringtones. They would reset to default after a couple of days of sync. The other problem was with default numbers. Sometimes, they would default to landline instead of mobile number.

One time Sense deleted the birthdays of all my gmail contacts. Luckily I had a backup.

I've spend hours correcting these mistakes. Now with stock exchange contacts sync, everything works. When I dial, the prompt asks me what number to dial, landline or mobile. No more ringing a person to his landline and wandering why he doesn't answer :)