yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] wapz:
Trying now. For people that cannot access the website (I can only visit through UK proxy).

People *****ing about battery life:

Every time you flash a new ROM you need to calibrate your battery. The battery meter in the OS (Android in this case) is generated based on the battery stats file.

Battery stats is erased when you flash a new ROM.

Easiest method of battery calibration when you're intending on flashing a ROM:

Ensure battery is fully charged according to the OS. Switch phone off, unplug charger and plug back in. Once light is green, leave charging for another 30 minutes (light goes green at approx 95% charge).

Switch on, flash ROM. Allow first boot to complete.

Shut phone off. Disconnect charger. Remove battery. Replace battery. Place on charge, light green, leave charging another 30 minutes, yadda yadda. Switch phone on, boot immediately to recovery. Wipe battery stats.

Boot phone up. Now would be a good time to install JuicePlotter. Use as normal. Do not charge, let the battery run down completely. When the phone shuts itself off, power it back on. Repeat process until it won't switch on anymore.

Remove the battery. Put the battery back. Turn the phone on. Repeat until it won't turn on anymore.

Now charge the battery on the mains to 100% while the phone is off, keep charging for 30 minutes after light goes green. Power on. Voila, fully calibrated battery.

The last part, run until completely dead and charge only needs to be done once in a while (this is calibrating the battery innards, not the battery stats).

Or when already installed:

Start from "Shut phone off. Disconnect charger. Remove battery. Replace battery. Place on charge, light green, leave charging another 30 minutes, yadda yadda. Switch phone on, boot immediately to recovery. Wipe battery stats."

People say that can do one or two days with the battery after this, amazing.
[Hero, G2 Touch Android Development] alekp:
If u miss it. Try using droid essentials, it is free on the market.

Has a notifications for low & full battery levels.
[Hero, G2 Touch Android Development] croques:
No false modesty here then...

08-16 14:23:34.155: INFO//system/xbin/busybox(65): +++ "We, are considerably greater, than HTC."
08-16 14:23:34.425: INFO//system/xbin/busybox(65): +++ Welcome to Villain's FroydVillain1.2.1 / Froyd-1.2.1-Hero
08-16 14:23:34.875: INFO//system/xbin/busybox(65): --- Checking filesystems

Does that remind you of anyone?

I think, blossoms, you may be standing on the shoulders of HTC.
[Hero, G2 Touch Android Development] Lennyuk:
Well seen as ninpo has managed to fix so many problems that HTC have had for a long time now, in a short space of time, I would say he is entitled to say what he wants :)
[Hero, G2 Touch Android Development] Hacre:
When it comes to building Android for the device and getting bugs fixed not only in the kernel but in the Android tree itself, when it comes to providing Froyo for Hero owners and when it comes to actually making full use of the Hero's CPU capabilities, you're damn straight We > HTC. Any particular reason you choose this to comment on, but not the boot animation?

The only HTC thing we're standing on, is the hardware. If we were in the business of distributing handsets, you'd have a point.
[Hero, G2 Touch Android Development] kwira:
Awsome

I am fixed now at froydvillan.

It fast and do all the important things that i need it.

Keep Up Good Work.

Ninpo are you Aries sign?
[Hero, G2 Touch Android Development] danny_christ:
hello,

how can i install my apk apps on my hero with froydvillain. i dont have wireless network to install a file manager (to install from sdcard) and if i connect my phone to the pc, htc sync does not recognize my here!?!?!?!?!?

also this froydvillain has launcherpro oder launcherpro plus??? how can i uninstall launcherpro to install plus?

thanks for you help
[Hero, G2 Touch Android Development] stoney73:
You can't get htc sync to work because that requires htc Sense, which is

not

included in froydvillain 1.2.1

if you copy the apk onto your sd card, You can install it using either root explorer, or astro, or estrongs. all of which you can get from the market or androlib.com

astro
[Hero, G2 Touch Android Development] Hacre:
Haha glad you're happy with it. And no I'm Scorpio. Not that I put any value in such nonsense.
[Hero, G2 Touch Android Development] danny_christ:
i know, the astro from the market, but i need wireless internet for that! what i dont have.

is there another sync app to install apk directly to the phone??

or any other way?? or with the terminal emulator????
[Hero, G2 Touch Android Development] stoney73:
I thought you could hook the hero up to the pc?
[Hero, G2 Touch Android Development] alekp:
Just use AndroidCommander 0.7.9.6

u can do whatever u like with the tool and it is easy.

Also enable Unknown sources in the settings.
[Hero, G2 Touch Android Development] dkelley:
cool, yea I'm not familiar with corgal that's why I was asking.

cheers
[Hero, G2 Touch Android Development] Hacre:
Check your OTA update apps guys (VillainROM Updater), 1.2.2 OTA update just hit.
[Hero, G2 Touch Android Development] dkelley:
I've experienced this since day one of froyo on the hero (test0 build). it's very annoying, I agree.

however one of my radios does perform better in low signal areas, but it's the radio that is also known to work best with my telus network so it might not work for you. also it's really only a little bit better, the weird 0/50%/100% switching every few seconds seems to be a froyo thing on the gsm hero in poor reception areas for now.
[Hero, G2 Touch Android Development] dkelley:
easier method (for those of us who flash roms every day typically):

make sure your phone is fully charged and on the charger when you flash a new rom.

done!
[Hero, G2 Touch Android Development] danny_christ:
yes i have a wired internet here with my pc.

yes i can connect my hero to my pc.

i can not install on my hero my apk's using htc sync.

i can not install from my sdcard my apk's because there is no default file manager in froydvillain.

i can not download a file manager because i dont have wireless internet.

any idea how i can install my apk's??
[Hero, G2 Touch Android Development] pmicho:
No updates found.
[Hero, G2 Touch Android Development] veef13:
updated! All good so far

changelog?

love this rom hacre... can you recomend a radio for Uk heros? one you test with?
[Hero, G2 Touch Android Development] stoney73:
Someone already gave you a solution:http://xdaforums.com/showpost.php?p=7697333&postcount=329

Hacre: thanks for the OTA updates. Nice work dude.
[Hero, G2 Touch Android Development] alekp:
Ninpo, no update what so ever for me. I will try from home ISP.

Thanks for the great work.
[Hero, G2 Touch Android Development] pmicho:
Update done...after many tries. Thank you very much.
[Hero, G2 Touch Android Development] pulser_g2:
If you don't get any updates, try refreshing a few times in case there's an issue. Failing that, we'll need to post the direct URL.
[Hero, G2 Touch Android Development] wapz:
http://www.villainrom.co.uk is definately NOT reachable from The Netherlands. OTA update also not found. When I connect to a UK proxy on my PC however it does work.

Not Acceptable

An appropriate representation of the requested resource /viewtopic.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache Server at villainrom.co.uk Port 80
[Hero, G2 Touch Android Development] wapz:
I just did the long route and my battery life didn't improve at all. My battery reported 4.227v @ 100% and within notime it dropped to 4.00v. I guess my battery just needs replacing pretty badly. I use Battery Indicator in the tray to see this information, I like the app.
[Hero, G2 Touch Android Development] zorxd:
use adb

or download a file manager over your mobile data connection

or go to a wifi hotspot
[Hero, G2 Touch Android Development] vido.ardes:
I presume I'm supposed to reflash my preferred kernel after the update? The max is now 614 MHZ (or something close to that anyway) when I had the 768 kernel before the update
[Hero, G2 Touch Android Development] genich1971:
kernel 352-729

Hi

The 1.2.2 OTA comes with a 352-614 kernel.

for othe frequency, may i use the kernels from the first thread? or you intend to post other kernels for the update?
[Hero, G2 Touch Android Development] pmicho:
Hi, I dont play games. I mostly use the browser and news apps, email, phone and take pictures now and then.

My cpu is able to go 700 and over. But MY MAIN GOAL IS TO HAVE THE BEST BATTERY LIFE.

What kernel should I use?

Thanks in advance for your help.
[Hero, G2 Touch Android Development] Hacre:
Not quite. While that helps the accuracy of the software battery stats, the hardware in the battery itself should still be calibrated semi frequently. I've lost the link to the paragraphs upon paragraphs of the whys, but there's registers in the battery that are kind of like a hardware based battery stats.

Same reason the phone should periodically receive an overnight charge when switched off, so that the battery actually charges to 100% (never does while turned on).

HTC sync only works with HTC roms.

adb install <package> after you download the package to your PC. Having no data available to your phone at all is a minority case and not something we can really anticipate.

We don't provide a file manager because we already get people *****ing about the apps we -do- include. People have many different favourites when it comes to file managers.

Changelog is in the top of the OP. As for radios, I personally use the latest one, PH_6.35.15.14.

It is possible as well that yes, there is an issue with the battery. Especially if you've calibrated and done a full to 100% charge with the phone switched off (leave it charging another hour after light goes green).

Because all the kernels got updated yes we updated the default kernel in the OTA. You can select your preferred kernel from the OTA app by enabling Experimental updates.

See above.
[Hero, G2 Touch Android Development] krispijn_s:
No OTA here either (NL, vodafone), not even with the "display all rom updates" and "experimental roms" options on. :confused:
[Hero, G2 Touch Android Development] wapz:
There must be a problem with the server, http://www.villainrom.co.uk gives a 406 error from NL. With UK a proxy I can reach the site fine.
[Hero, G2 Touch Android Development] zorxd:
actually it's a 19-614 kernel, with 123 and 352 as intermediate frequencies, but configured by default with min=352 max=614
[Hero, G2 Touch Android Development] seshmaru:
I'm in NL and OTA worked fine, on Telfort.
[Hero, G2 Touch Android Development] dkelley:
good info, thanks for that. and for the "let's answer everything in one post so I can get the f*** back to real work" thing... I love it :-)
[Hero, G2 Touch Android Development] Hacre:
Yeah we're having issues with the server, something got changed it seems. We're trying to sort out a direct download link for you now along with direct links to the new kernels.
[Hero, G2 Touch Android Development] sjauquet:
The update gives "signature verification failed - installation aborted" when trying to flash...

any idea ?
[Hero, G2 Touch Android Development] krispijn_s:
I just had a brainwave: I could reach the site fine with my isp (online... no really.. that's what it's called), so I hooked up the phone to my wifi and guess what... it works fine now.

It seems some dutch (mobile) ISPs have issues with accessing villainrom.co.uk. Odd.
[Hero, G2 Touch Android Development] btdag:
Yea I can get the update on WiFi but not on 3G :)
[Hero, G2 Touch Android Development] wapz:
What traceroute do you get from "online"? Try to do tracert from cmd.exe.

Tracing route to ns1.prohost.no [178.63.53.120]

over a maximum of 30 hops:

1 <1 ms <1 ms <1 ms x

2 <1 ms <1 ms <1 ms x

3 1 ms <1 ms 1 ms nl-ams05a-ra2-f-1-0-0.aorta.net [213.46.252.142]

4 1 ms 1 ms 1 ms nl-ams02a-ra1-ge-1-0-7.aorta.net [213.46.161.121]

5 2 ms 2 ms 2 ms 84.116.132.218

6 2 ms 2 ms 2 ms adm-b2-link.telia.net [213.248.103.253]

7 2 ms 2 ms 2 ms adm-bb2-link.telia.net [80.91.253.168]

8 8 ms 8 ms 8 ms hbg-bb2-link.telia.net [80.91.250.135]

9 13 ms 13 ms 13 ms ffm-bb2-link.telia.net [80.91.249.88]

10 13 ms 13 ms 13 ms ffm-b2-link.telia.net [80.91.248.102]

11 14 ms 14 ms 14 ms hetzner-ic-134650-ffm-b2.c.telia.net [213.248.92.82]

12 21 ms 21 ms 21 ms hos-bb1.juniper1.fs.hetzner.de [213.239.240.242]

13 30 ms 30 ms 29 ms hos-tr2.ex3k8.rz12.hetzner.de [213.239.228.169]

14 31 ms 31 ms 30 ms eu-cp02.prohost.no [178.63.53.79]

15 20 ms 19 ms 21 ms ns1.prohost.no [178.63.53.120]

Trace complete.
[Hero, G2 Touch Android Development] cambria83:
I downloaded and installed the OTA just fine. After the reboot I launched Co pilot live to test the GPS and my hero rebooted itself. After that reboot I opened it again and (after a couple of minutes) did get a GPS fix so all appears to be good. The fix was instant on Maps after that too.

Another thing I'm still having that issue with apps disappearing from my Downloads section when I update. After the Co Pilot update today it has disappeared and won't even reappear after I install other updates? Is no-one else getting this problem? If it's Google's fault do I just have to wait for them to resolve the issue? I was hoping it might magically reappear after the OTA update but no luck :(
[Hero, G2 Touch Android Development] wapz:
Update works now on Vodafone 3g, dwnloading with 180kb/s :)
[Hero, G2 Touch Android Development] Hacre:
Download the update again.

Yeah, as I said in the OP there's still some issues with the GPS which are being worked on. It's affecting all phones based on the MSM7xxxA architecture, not just the Hero. This fix somewhat improves it though, it seems to only happen with initial fixing.

As for the Market stuff, blame Google. We do absolutely -nothing- with regards to how Market works so if it's being weird, it's Google being weird.
[Hero, G2 Touch Android Development] fatefearfighter:
Batterylife looks great after using it today, only a few 25% lost in 10 hours!

A new issue, very strange; my USSD-code to check data usage doesn't work anymore... (Mobistar, Belgium; USSD-code #5580#)

Can I blame the ROM, or should I blame someone else?
[Hero, G2 Touch Android Development] aroaros:
Thanks for the info :)
[Hero, G2 Touch Android Development] greatdain:
GPS

Once again, thank you so much for another fantastic ROM.

I applied the OTA update and suddenly my GPS would not get a fix when using google maps (left it on a chair in my garden for 30 mins - still nothing). As I normally use my phone with GPS off, I decided to switch it on and re-apply the update. Google maps had a fix in less than 30 seconds and all is perfect.... I love it!

Hope this helps... :)

PS: 3D gallery works perfectly for me and even though my CPUSpeed is now at 123 - 614 - I cannot see any difference in performance from when I was using SetCPU and 691.
[Hero, G2 Touch Android Development] tbman1996:
Hey, the new update looks good.

I would like to know before flashing, however, have the kernels been changed not to support a screen-off frequency, or is it just in the CPUSpeed app?

I would still like to use screen-off settings for now (I use SetCPU). This would be a deal breaker for me I'm afraid.
[Hero, G2 Touch Android Development] zorxd:
Only cpuspeed

I tought about changing the governor to conservative while the screen is off. I agree in part with Hacre however: there is no point in fixing a low frequency while screen is off.
[Hero, G2 Touch Android Development] tbman1996:
Thankyou. What a relief - and I have my reasons for controversial overclock settings ;) *devil*

EDIT: waitwaitwait.. Which kernel is included in the update, as in speeds? Or am I being an idiot and it's possible just to update certain files of the existing kernel?
[Hero, G2 Touch Android Development] jwwd:
Hi

I installed the OTA 1.2.2 and now my GPS is not working. I have tried GPSstatus but it wont connect.

When I open Google Maps it looks for my location - and then I get a FC.

Im running 19-691 Mhz.

Best regards,

Henrik
[Hero, G2 Touch Android Development] croques:
Such extreme hubris is simply against the culture I grew up with and in my circles simply not classy. Let others say it for you by all means.The only place I think something like this is justified would be on a CV or resume.

I do not wish to denigrate your skill and native cunning. Hats off to you and welcome back.

Ah! And the bootscreen - funny once but quickly bores so replaced. (it's in

/system/media folks if you want to do the same). I don't suppose you made the bootscreen though.
[Hero, G2 Touch Android Development] croques:
+1 .
[Hero, G2 Touch Android Development] Hacre:
Are you using a custom dialer? USSD codes are working ok for me, but I have to use the stock phone app for them.

Just CPUSpeed. Please read what I said in the OP again though. A -lot- of testing and sifting through the kernel code happened before this decision was made. It wasn't just done on a whim or a hunch.

Yeah. Honestly. Let Interactive do its thing. If there's an app that hammers your CPU, we can take it up with the developer. Working around this buggy crap, doesn't get it fixed and its just detrimental to the overall use of the phone.

Ok try something for me.

adb pull /system/etc/gps.conf

Open the file in a text editor, preferably not notepad, wordpad would be better or a more advanced text editor that doesn't screw up line endings.

Change the lines starting XTRA to have nothing after the = symbol. So:

XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin

Becomes

XTRA_SERVER_1=
XTRA_SERVER_2=
XTRA_SERVER_3=

Then push back to the phone with:

adb remount
adb push gps.conf /system/etc/
adb shell chown root:root /system/etc/gps.conf
adb shell chmod 644 /system/etc/gps.conf

Reboot the phone and see if that helps. Let me know if it does.

If you don't have adb or have no idea what I'm talking about, enable USB debugging in Menu - Settings - Applications - Development and download the Android SDK. adb is in the tools directory.

Well I am neither part of your culture nor your circles. I'm honestly not all that interested in what you consider to be classy or not. It's hidden away in a logcat, it's hardly shoved in your face with a wallpaper.

Given how disgusted I am at the amount of crippling that HTC have done to the Hero throughout its life cycle, I feel entirely justified to place a dig about it in a ROM I created. If it bothers you that much, you have a variety of choices:

Change it. /system/etc/init.d/00banner

Don't use FroydVillain

I'm honestly perplexed at you making this such an issue. I took a dig at HTC after discovering just how badly the Hero has been under utilised. Big whoop.
[Hero, G2 Touch Android Development] Ganii:
Now a second OTA Update available.
[Hero, G2 Touch Android Development] sffsi_pete:
quick question, is there a way to disable the 270º rotation?

btw, amazing work with this rom!
[Hero, G2 Touch Android Development] dkelley:
agreed, but FWIW I don't think that there is, yet. not until "villain menu" comes out in a future major-increment version.
[Hero, G2 Touch Android Development] Ganii:
Possible with CyanogenMod,I have included it at my Froyd Villain 1.2.2 ;)
[Hero, G2 Touch Android Development] stoney73:
Care to tell us how ?;)
[Hero, G2 Touch Android Development] dkelley:
how?????? what do I do to get it too? I thought the flashing or pushing or whatever took advantage of the "hacre settings garbage exploit" LoL where he left in a broken link with strange numeric title?

if your method works in the new version then please a quick description and/or link to your original post's instructions would be cool here.

I REALLY want my cm settings here, hate the default rotation, want my battery percentages..
[Hero, G2 Touch Android Development] blackplatypus:
push Settings.apk, CMParts.apk and CMPartsHelper.apk to /system/app thats it. You can find them for e.g in the CM6 nightlies (http://mirror.kanged.net/cm/nightly/hero/) or in my attached zip archive.
[Hero, G2 Touch Android Development] dkelley:
ty, very helpful! :p
[Hero, G2 Touch Android Development] tbman1996:
Strange.. I get signature verification failed. Running latest ClockworkMod and downloaded directly through OTA app.
[Hero, G2 Touch Android Development] Hacre:
redownload the update, looks like we might have a bad mirror.
[Hero, G2 Touch Android Development] pulser_g2:
See ninpo, I told you we should include the md5 in the filename to make it more fun. Specially if you don't tell them the md5, and don't use the download.php that makes it easy. :D

Don, hope you like your 2 minutes of fame :) I tested this ROM with about 80 apps and it's fine.

But still, I think someone should make a launcher that caches the thumbnail and name of each app, to make it faster to boot.

Launcher Pro Plus (Lightning Edition) anyone? I'll talk to the app dev some time :)

Cheers

P
[Hero, G2 Touch Android Development] c0mputer:
another trick is here to find the link

hmm i m bond... james bond ...dhichkyau dhichkyau..phoo
[Hero, G2 Touch Android Development] ~David:
You guys are such party-poopers.
[Hero, G2 Touch Android Development] c0mputer:
did some one say party ..hmm

let me get my beer and stop admiring this post and flash my hero to this one ..

brb right now .cheeers to beers now ..yummy
[Hero, G2 Touch Android Development] dkelley:
yep, loving it

and I agree fully about the launcher icon caching. same with android's applications manager, and same with the frickin file managers I use. every damn one has issues with speed due to stupid icons and so on.
[Hero, G2 Touch Android Development] dkelley:
nice work on this rom.

:-)

still installing my apks... probably double your # Pulser but I have no doubt that it'll handle them better.

cheers!
[Hero, G2 Touch Android Development] skedone:
Will flash before i leave the house today and oh my god you have got to write a book that WAS THE FUNNIEST POST EVER!!!!!!

Will try this just for the comedy of your musings mate.

And yeah i can never tell if she is a very ugly man or a attractive sea horse ;-)

anyway looking forward to more of your posts never mind the rom lol
[Hero, G2 Touch Android Development] RaduG:
@Hacre

Nice work mate! Cheers
[Hero, G2 Touch Android Development] tl883:
Awesome post mate!!

Downloading it right now :))
[Hero, G2 Touch Android Development] ZeppeMan:
This is just awesome! Froyo 2.2 on the Hero :D

Beat that HTC :D

Everything just works, very fast, very stable, good performance,...

Keep up the good work!

EDIT:

- Linpack @ 691Mhz -> 4.916MFLOPS :D

- Neocore without sound -> 32.2fps

- Benchmark 1.03 -

Graphic -> 154.76886

CPU -> 421.9536

Memory -> 150.62962

Filesystem -> 37.937378

Very good benchmarks too!