yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] Groundless:
@anon2122 & kendong2

Thanks for help! It works now.
[Hero, G2 Touch Android Development] vrmp:
Same situation:

# cd /sys/devices/system/cpu/cpu0/cpufreq
cd /sys/devices/system/cpu/cpu0/cpufreq
# cat scaling_cur_freq
cat scaling_cur_freq
245760
# cat scaling_min_freq
cat scaling_min_freq
245760
# cat scaling_governor
cat scaling_governor
ondemand
#
[Hero, G2 Touch Android Development] pulser_g2:
Settings won't stick.

@vrmp: you're running 3.2, aren't you? Have you installed anything extra? What fixes did you install too?
[Hero, G2 Touch Android Development] pulser_g2:
EDIT:

Saw your results too. Tried the same with mine now overclock widget is in and nothing's changed Settings don't stick as mentioned above. :(

You fancy trying to get to the bottom of this to try and get a fix for 3.3?
[Hero, G2 Touch Android Development] vrmp:
I can try and see if I somehow "fixed" anything. I made my own build with all the fixes applied. Maybe something has changed cause of that.

I don't have anything special installed just some random apps I use.

Only thing I can imagine is, that I just flashed it so it's completely clean. I will start to use some apps and configure them.

I'll report back in a bit.
[Hero, G2 Touch Android Development] intronauta:
ok, I see that the problem in my case was SetCPU. I don't use and was not configurated ¿?, but seems that block the cpu-freqs anyway ¿¿¿??????.

Uninstalling, rebooting and :

(scaling_min & max)

245760 &245760 in sleep mode

480000 & 528000 in wake up

:)
[Hero, G2 Touch Android Development] vrmp:
Ah ok, that could be it. I don't have anything installed CPU related :)
[Hero, G2 Touch Android Development] pulser_g2:
I don't have anything CPU related AFAIK installed. I'm removing overclock widget right now, but it didn't seem to help.
[Hero, G2 Touch Android Development] vrmp:
Could you check with the output is of the commands below?

# cd /sys/devices/system/cpu/cpu0/cpufreq/stats
cd /sys/devices/system/cpu/cpu0/cpufreq/stats
# cat time_in_state
cat time_in_state
19200 0
122880 0
160000 0
245760 182578
480000 40011
528000 37494
# cat trans_table
cat trans_table
From : To
: 19200 122880 160000 245760 480000 528000
19200: 0 0 0 0 0 0
122880: 0 0 0 0 0 0
160000: 0 0 0 0 0 0
245760: 0 0 0 0 9 0
480000: 0 0 0 0 0 609
528000: 0 0 0 10 600 0
#
[Hero, G2 Touch Android Development] pulser_g2:
# cd /sys/devices/system/cpu/cpu0/cpufreq/stats
cd /sys/devices/system/cpu/cpu0/cpufreq/stats
# cat time_in_state
cat time_in_state
19200 0
122880 0
160000 0
245760 171581
480000 4390
528000 483311
# cat trans_table
cat trans_table
From : To
: 19200 122880 160000 245760 480000 528000
19200: 0 0 0 0 0 0
122880: 0 0 0 0 0 0
160000: 0 0 0 0 0 0
245760: 0 0 0 0 2 0
480000: 0 0 0 0 0 319
528000: 0 0 0 2 317 0

That certainly sounds more promising... :)

Will a logcat help?
[Hero, G2 Touch Android Development] stephenophof:
I cannot send text messages (SMS) with VillainROM 3.2.

Receiving SMS messages is no problem, but sending them doesn't always work (sometimes it does)

It gives an error message sometimes.
[Hero, G2 Touch Android Development] wolverine_2k:
Inconsistant HSDPA speeds??

Anyone else having issues with the HSDPA connection speeds?

I ran speedtest.net and it gave me 1233kbps speed. Ran it again 5 minutes later and it gave me 75kbps speed... Just ran it again and now I got 1643kbps speed. I haven't moved location at all!

I have noticed that the HSDPA is dropping and not sticking.

What radio versions are people using? I'm on 63.18.55.06JU_6.35.09.26
[Hero, G2 Touch Android Development] intronauta:
echo "performance" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

Setting "performance" in scaling_governor (teknoligst tweak) is the best option. Always wake up at 528000 and not at 480000 (this cause some lags)

It would be nice to have a script enabled in /data or init.d/ to play with this things :)
[Hero, G2 Touch Android Development] pulser_g2:
I'm on the absolute latest one (can't remember no.) and having no speed issues. Same as before -2mbps down, 560 kBps up
[Hero, G2 Touch Android Development] nprussell:
MMS Fix can be found here!
[Hero, G2 Touch Android Development] pulser_g2:
Sorry, who's this directed at? Is it me?
[Hero, G2 Touch Android Development] shelnes:
It's been posted in the Wiki - mms part ;)
[Hero, G2 Touch Android Development] nprussell:
I'm so behind this weekend. I'll catch up tomorrow, and implement the fix :)
[Hero, G2 Touch Android Development] pulser_g2:
I'm seeing a lot of facebook crap, so I'm gonna disable it and see if it helps...
[Hero, G2 Touch Android Development] intronauta:
XD no, no, It was just my opinion and wasn't directed at anyone in particular ;)
[Hero, G2 Touch Android Development] Smallguy17:
Is it possible for you to give us the languages to flash like the fix'es? :o
[Hero, G2 Touch Android Development] pulser_g2:
Cool. I've put it in as well to see if it helps :)

Removed my facebook account, and there's much less crud going on now in logcat. Still plugged in via usb, but all I'm seeing now is dalvik garbage collection...

Seems better though. Should at least be doing less behind my back!
[Hero, G2 Touch Android Development] Xian_2:
Tried that, but it doesn't work for me
[Hero, G2 Touch Android Development] pulser_g2:
The last line in logcat when I turn off screen is

D/ContactWidgetXL( 1775): Received intent:android.intent.action.SCREEN_OFF

Now, I know I'm plugged in, so by my reckoning it won't sleep properly, but should there not be some attempt made to sleep after that. The next line is garbage collection
[Hero, G2 Touch Android Development] salahag:
VPN & Exchange questions

These are not realted but similar in behavior.

With exchange, it only connects via Mobile connection, always fails on Wifi. Sometimes it also fails on mobile, but if I disconnect/connect it works again. What could be the reason?

With VPN (L2TP/IPSec), I am only able to connect using Wifi, never seems to work on Mobile connection.
[Hero, G2 Touch Android Development] corvus:
Battery Drain

Well... i send a pm to nprussell about this some hours ago. This is the info i get:

1) As we can see in /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state

19200 0

122880 0

160000 0

245760 301874

480000 10407

528000 2502055

we never go down of 245, so when we are in sleep mode our hero is running at only the half of the cpu speed and this is not necesary in a sleeping phone.

2) I think that never goes down of 245 because in /sys/acpuclock/acpuclk_tbl

we get:

245760,480000,528000

that are the only steps allowed in cpu scaling.

In 1.5 kernels they come from acpuclock.c in source, but we dont have 2.x kernel source, so we cant change them in compile time.

The problem we have is that perflock is changing us the cpu speed always, and when we change in this files the service change them again to the default values (the ones in /sys/acpuclock/acpuclk_tbl)

Solutions i just tried and dont work...

1) Changing all the scaling_min/max files in the same folder. As i said perflock change them again.

2) Change /sys/acpuclock/acpuclk_tbl values with the phone on. I tried it changing permissions (the file have 444) but no way.

If someone have mor info or ideas to try to fix this we are listening... :D

Corvus.
[Hero, G2 Touch Android Development] nprussell:
Corvus, I wasn't intentionally ignoring you.

I receive about 20 PMs a day (no word of a lie), so I don't get time to respond to them all. Also, I've had the weekend off. Sorry, but I needed it! ;)

Anyway, I think tomorrow evening/Tuesday will bring a very nicely improved 3.3, and we can look any remaining issues then!

I'm really happy that everyone's pulling together to get this rom sorted.
[Hero, G2 Touch Android Development] corvus:
Don't worry... i'm not feeling ignored... and we all undertand (or may) that you need more that think allways about roms, heros, and so on...

I just write the info there because the people are doing the same steps that i did and not to repeat the same failures...

Keep hard work...

Cheers

Corvus.
[Hero, G2 Touch Android Development] cbanbury:
Proximity Sensor but no auto brightness?

Hi,

Great work, think I will finally have an eclair ROM for general use.

One thing I'm confused about is how come the proximity sensor works but not auto brightness?

In other news, I found a problem with the proximity sensor the other night if you get a call when your outside at night!
[Hero, G2 Touch Android Development] intronauta:
I require reverse engineering to solve this :-P
[Hero, G2 Touch Android Development] Williz:
Can't remove facebook contacts from phone anymore, was able to do this in earlier Villain releases. Would like to be able to do this again.
[Hero, G2 Touch Android Development] pulser_g2:
I've noticed auto brightness is broken before now, but I've not found the proximity sensor feature before now... I take it this is something to do with the 'quieten ringer when I move the phone' option that I've always glanced past???

I thought it was going to use the g-sensor to do it by looking for movement, but it sounds like it uses the method developed on these forums a bit back to look at light sensor (at least I think that's what it was for...). Doesn't the droid eris have a real proximity sensor anyway, so maybe this feature is not meant to be there??? (Not tried it, not really that interested in this feature till now tbh, so please correct me if I'm wrong, which I probably am ;))
[Hero, G2 Touch Android Development] pulser_g2:
Yeah, I think herein lies the reason that 2.1 ROMs so far have had poorer battery life. I'm not going to flash back to 1.5 just to check, but I'd be interested to know what the output of said command would be on Modaco Custom ROM or something like that...

I take it there's no way to override this using init.rc in the boot image?

EDIT: New AmonRa out. Details at http://android.modaco.com/content/h...om/304087/recovery-07-03-2010-ra-hero-v1-6-2/
[Hero, G2 Touch Android Development] cbanbury:
No, this 'proximity sensor' app has been around in 1.5 ROMs for a while & uses the light sensor to gauge when you have the phone to your face.

However! Read the instructions and it even says on the 1st page to press the back button to disable it if your in a dark place...sorry for being a n00b!
[Hero, G2 Touch Android Development] :
Something werid about sleeping; when i boot up the phone an dput it into standby the sleep function works fine. 2 min awake time and 10 min up time. However, when i start and use the GPS and then shut the GPS, the phone will not go to sleep. 22 min awake time and 30 min of up time.

Is this a known issue/is this what the DMagent fix is for?
[Hero, G2 Touch Android Development] G8D:
Too many issues for my liking, not OP's fault.. Just the early Eris ROM is crap :P
[Hero, G2 Touch Android Development] miragebg:
Is it just in my case, or the light sensor doesn't work on this Rom?
[Hero, G2 Touch Android Development] pulser_g2:
Yup. This is known. It appears sleep and gps are mutually exclusive at the moment. I've chosen sleep, myself, as I rarely use gps unless I'm showing off Android to someone lol

The dmagent fix is for a logcat error that appeared every second, which obviously prevents sleep, or at least wastes battery power.

Battery is being looked into, but we really need kernel sources to do anything. Once we've got them, that's us home and dry! HTC could forget to release 2.1 for the hero, and so long ad we have current sources, we'd be ok. :p

Talking of updates, this leak has gone to pass the time till mid-march well. By the time we'll have this ROM the way we want it, hopefully there will be a nice official one to work on :)
[Hero, G2 Touch Android Development] silverstream:
Fully charged my phone last night. Woke up this morning, 7hr Uptime, 20min Wake time, left 70% batt !

This is with GPS turned off and rebooted w/o GPS.
[Hero, G2 Touch Android Development] pulser_g2:
Hold on. Just thought of something. Since apps seem to access the light sensor fine, maybe the Eris uses a different hardware sensor with different values reported. That way, our new hero drivers for sensors are getting info in to the kernel, but the software is looking for something else due to being hard coded?
[Hero, G2 Touch Android Development] pulser_g2:
Not the worst I've heard, so think yourself lucky :)

The issue seems to be that the kernel keeps the CPU running at half speed when it really should be off and asleep. This is being looked at, but I think we'll need sources to fix it...

If you look back a couple of pages, there are some commands to see how much time is spent on each CPU speed.
[Hero, G2 Touch Android Development] silverstream:
Sorry, just woke up, and had not read the past 20pages. Had anyone encounter irregularities in the phone ringing ?

I tested several times yesterday after getting a few missed calls. Sometimes the phone doesn't ring/vibrate at all, while at times, it rings on the first count. No consistency in terms of pattern.
[Hero, G2 Touch Android Development] pulser_g2:
Off the top of my head, not heard of it. If It's a regular issue, I've made a wiki page (last link in my Sig) for listing and confirming bugs. Go ahead and pop it in there if it's not there yet...
[Hero, G2 Touch Android Development] holywood:
Hi guys, just a thought on the battery drain problem.. do you think it could be possible to try the kernel from previous htc 2.1 leak with the new rom? from what i remember battery was ok on those, compared to what some report here. I am rather new to android, but from the linux system perspective i think it should be possible.. the drivers should all be there etc...

Also, great work, both, Nathan and others, providing fixes, many thanks for that!

But one more, really small, thing that bothers me with 3.2 (and did with 3.1 as well) is the 3d gallery - for me it works really slow, meaning mainly the time needed to generate thumbnail view every time i run it. The thing is, that before Nathan released his version of eris leak i used maxo's version for a bit, pushed the 3d gallery manually, and from what i remember, it worked much faster there. Could it be, that some of the optimizations resulted in some problems with the speed of thumbnail generation, or generally the speed of data access on the sd maybe?
[Hero, G2 Touch Android Development] Storken:
I can recive and send mms with htc stock and

i can recive mms with handcent but cant send

mms with handcent any1 have this problem ?
[Hero, G2 Touch Android Development] JBNAquatics:
I had another random restart today. I slipped my phone into my pants at church and felt it vibrate and then I saw the Hero logo and almost cried :(
[Hero, G2 Touch Android Development] spacecat:
If I had to go to church I would cry to
[Hero, G2 Touch Android Development] janvandusschoten:
Last night, my phone was 100% charged at 01.00, and now, 08.50 it's at 91%, so I think that in 3.2 the batterydrain is more acceptabel (at least, till now, I didn't use it yet) Like the Rom very much !
[Hero, G2 Touch Android Development] vrmp:
My battery is doing fine. Last night it was 100% full this morning when i woke up it was at 96%. Things turned on: GPS, 3G checking mail every 15minutes.

This was in a 7 hour timeframe.
[Hero, G2 Touch Android Development] juansuandi:
yaps i think after flashing the DMAgent. the battery drain is more acceptable. keep try'n on this. and will post result soon
[Hero, G2 Touch Android Development] Wiz ^^:
During I'm sleeping, so no activity by me and screen turn off, battery usage:

Activate: 3G (always-on), GPS

Deactivate: All data widget except weather clock, Facebook sync

3.1

10% in 3,5h

3.2 + all fix:

10% in 1h

3.1 + dmagent fix (no cell coverage at work before 11pm, surfing 3G between 11-12pm then sleep)

I will re test the last one because I'm surprised oO and MCR 3.2
[Hero, G2 Touch Android Development] herman3101:
Hi,

I've looked back a fair few pages and checked out the wiki but haven't seen a mention of problems I'm having with Villian 3.1 (waiting for 3.3 before I flash again).

Multitasking seems almost non-existent in this ROM. In all previous ROMs I've used I have been able to run spotify in the background over A2DP and have copilot running in the foreground. With Villian the music from spotify gets completely corrupted, possibly as a result of not getting enough CPU time to decode. Also if I ever minimize copilot to check mail, phone, spotify etc copilot closes completely and has to restart when I try to bring it up again.

As a feature request, is there any way of setting which app is launched from Navigator (I saw the bugfix to make it launch Nav). I would prefer it to launch copilot.

Very sorry if any of this has been mentioned or asked before. This is hands down the best ROM I've tried so far, couldn't believe how quick it was.
[Hero, G2 Touch Android Development] Piercy0812:
check the wiki in my signature :)

Also, nathan, i to am experiencing reboots, woke up this morning being prompted to enter my pin, i also saw it a few times yesterday.. :)
[Hero, G2 Touch Android Development] barryallott:
Thought that if GPS was on, the phone will not go to sleep, read that somewhere. try your battery tests with the GPS off.
[Hero, G2 Touch Android Development] nysos:
I had this too, twice. Woke up in the morning once and the phone was at the enter pincode for sim-screen. And another reboot during the day.

This, coupled with the horrible battery drain has forced me to stop using this ROM for the time being. I'm trying the Defiance 2.1 ROM at the moment -- so far no reboot yet and battery usage seems better (and it synced all my Facebook contacts, VillainROM only synced up to contacts which start with 'J').
[Hero, G2 Touch Android Development] barryallott:
Facebook synced fine for me. not a problem.
[Hero, G2 Touch Android Development] danlct:
*problem fixed*
[Hero, G2 Touch Android Development] ITMASTER:
This is already second release but still not good with widgets. not good rom I using now Eris clean rom 1.1 very good and stable
[Hero, G2 Touch Android Development] jonbd:
Still on 3.1 which has been working really well for me! It's really snappy and a pleasure to use, well done Nathan!! The only problem I have, (which has been a problem with every rom i've tried, from 1.5 upwards) is using a2dp bluetooth with my car stereo. it works fine the first couple of times it connects, but after that it either won't connect, or connects but gives me silence. I'm beginning to think i'm never going to get it working which would be a shame, as i'd have to sell it and go back to my old iPhone!
[Hero, G2 Touch Android Development] fabsn182:
Dolphin Browser acts weird on Villain 3.1.

Any ideas why?
[Hero, G2 Touch Android Development] H88RRY:
Has any1 resolved the Facebook sync issue yet I'm falling behind
[Hero, G2 Touch Android Development] spacecat:
Plenty of information to work on there eh
[Hero, G2 Touch Android Development] Lennyuk:
Exactly what I was thinking. Lol
[Hero, G2 Touch Android Development] fabsn182:
Sorry, posted this also in the HeroDroid thread. Forgot to add the problem :O

- The gesture recognition is really bad compared to dolphin running on 1.5 (modaco rom)

- Multitouch is *****in. It's really laggy and when zooming, strange things happen:

The font size changes. Randomly.

It scrolls down a few steps till you land at the end of the page. Weird oO

The zoom should stay while your finger are still on the touchpad but in fact the browser chooses when to reset the zoom. Kinda hard to explan:

You zoom in till you see the whole page and even though you still have your fingers on the touchpad, the zoom jumps back to "normal"​
[Hero, G2 Touch Android Development] eeww:
Is there anyone have the same problem like me??

The Google NAVIGATION not working ~!

If i press Google NAVIGATION and view map, it has not response!
[Hero, G2 Touch Android Development] robertmacnair:
Please, please read the FAQ on the first post.
[Hero, G2 Touch Android Development] eeww:
i had read it, and i had flash the update,zip, but its still have no response~QQ
[Hero, G2 Touch Android Development] djmace:
Still got the Facebook contact sync problem, had the Rom on for over 24 hours now. Has anything changd from 3.1 to 3.2 in regards to Facebook? I've noticed that te people who have it working all seen to have come from 3.1 where as I was previously running kagudroid 1.3, wiped everything and went straight to 3.2.
[Hero, G2 Touch Android Development] bonesy:
bugs ive found...

MMS Bug still a problem even with right settings (orange uk)

While typing in twitter widget phone reboots then reboots again after splash screen.

going to system updates causes a force close

Rebooting the phone in any way makes it reboot twice

Other than that its really fast and fluid!
[Hero, G2 Touch Android Development] Bamsis:
Added swedish Size Mobile MMS settings to wiki.

Verified and working by me and my collegue on two different phones.

djmace: i did like many other seems to have done in here.

Wipe

flash 3.2

if facebook was added during first time setup, delete facebook account

reboot

disable wifi and enable 3g-data

add facebook

make sure sync is enabled on facebook account after add. mine was not.

sit and watch as the contacts are slllllloooooooowwwwwwllllllyyyyy downloading.

zing!
[Hero, G2 Touch Android Development] Lennyuk:
I am not suffering any of these. Really strange.
[Hero, G2 Touch Android Development] tsyvanpe:
I think this might have something to do with the task killer tweaks. Seems that Villain has very aggressive settings for it. Try getting minfreemanager from market and try one of the presets (aggressive for example, the preset is actually less aggressive than Villain defaults).
[Hero, G2 Touch Android Development] gugi_sat:
Hi Nathan

just installed 3.2

th eproblem i am having is, I am not able to install any application, from any APK file on my SD card or from market

the error is "insufficient disk space"

Please help....

EDIT: is it due to A2SD if yes; i have ext3 partition, created using Recovery 1.5.3.1 today the way i done this

first i created normal paritition which was i believe was ext2 then i upgraded to ext3.

was this the right method

please advise
[Hero, G2 Touch Android Development] thieum la fouine:
Hi,

install the utdate from the FAQ :

http://xdaforums.com/showpost.php?p=5798051&postcount=4250
[Hero, G2 Touch Android Development] shelnes:
Look in the wiki - there's an solution to this there http://wiki.xda-developers.com/index.php?pagename=VillainRom3.2Fixes
[Hero, G2 Touch Android Development] deepinside88:
has anybody an idea when version 3.3 will be released? =) yesterday he said he has done 3.3 ^^
[Hero, G2 Touch Android Development] gugi_sat:
Thank you shelnes

yes it cured the problem for me

Regards
[Hero, G2 Touch Android Development] Piercy0812:
tonight or tomorrow he said.
[Hero, G2 Touch Android Development] salahag:
A couple of minutes after restarting the phone today I got a strange message.

Android System

The listed applications are requesting permission to access the Google Calendar login credentials for account xyz@gmail.com from Google. Do you wish to grant this permissions? If so, your answer will be remembered and you will not be propmted again.

I think all HTC applications were listed. I allowed it, but wondering why I got that message!!!

The reason I restarted in the first place was, I connected to a VPN server, opened the browser and half way downloading google.nl, the phone stopped responding.
[Hero, G2 Touch Android Development] Storken:
I dont have problem to send and recive with the orginal htc mms,

and no problem to recive with Handcent but i can not send with Handcent.

the wiki is only for setting providers that i have done.

Handcent cant send mms :(
[Hero, G2 Touch Android Development] Smallguy17:
I have lost my "Stocks" app and "nav launcher". I have flashed the nav launcher fix but nothing.

Im quite sure I had them yesterday :confused:
[Hero, G2 Touch Android Development] send2toonie:
I had this problem too. I searched around and found a fix by running the following in adb shell. It worked right after.

chown system.system /data/app

chmod 0771 /data/app