yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] tyween:
I basically went through each frequency and found the lowest value that setcpu could run the stress test on for a few minutes.. even then it wasn't completely stable.. I had to bump up some of the values +25 and now it's been stable. I haven't had any side effects. before doing this with the screen off playing music I saw 190-200 mah on current widget.. now I see 90-110. seems like the trouble was worth it. however, we can see that not everyone's values well be the same which is why I think some people have trouble with havs. these values shouldn't be changed blindly by inexperienced users.
[HD2 Android SD Development] fallenangel408:
wifi

went back to 8.2 with froyo 2.3 with the newest kernal i could not get wifi to work?!?! anyone else having issues using the MDJ v2.4 with 8.4kernal with wifi?!?!
[HD2 Android SD Development] :
same here, gps is very fast, but wifi doesnt work.
[HD2 Android SD Development] RedWave31:
About CM6.1, changed system.ext2 with the one from Nightly autobuilds, applied root modules from autobuild then updated to 8.4 on top of that, everything works.
[HD2 Android SD Development] deeb:
Hi All,

I've accidentally turned on g-sensor calibration in Android, and it broke down.

Is it any way to repair it? Or should I reinstall Android?

I'll be grateful for answer.
[HD2 Android SD Development] CR5N:
Reinstall ;)

ROM 1.72 stock + HSPL

Radio 2.15

Build mattc1.8

Kernel Hastarin r8.2
[HD2 Android SD Development] LittleH79:
Try calibrating again face down. Like on a table just over the edge so you can still press the button.

No guarantees but I read some posts that it helped others.
[HD2 Android SD Development] hookguy:
whenever I restart my phone and put the new zImage and root folder into my /android folder, when I try and run haret it will simply stay stuck at the boot indefinitely. anyone know why?
[HD2 Android SD Development] AgeOfPanic:
I installed 8.4 by just replacing 8.3 on my clean 2.3 build. I have to say that battery life went down a lot. I'm not sure what happened, haven't changed anything else.

It might be something with the update process. I also had a couple of times that the Gmail app was unstable when closing. I think I'll try to update with a format to 2.4 and 8.4 and see what happens.

Just wanted to mention this and tell Hastarin that I hope he realizes how much we appreciate his work. Thanks.
[HD2 Android SD Development] rafpigna:
I just saw that in the build of mmcmjoon (ex darkston build) the camera is working with no autobalance bug... with this last kernel.

So there is a fix I suppose....
[HD2 Android SD Development] hastarin:
I saw that, though I haven't seen anyone confirm it and can't find a fix anywhere.

If someone finds it feel free to let me know.

There definitely haven't been any commits on the kernel side of things, so unless it's a tweaked set of libraries I'm missing...

I'll have to read the IRC logs when I can.
[HD2 Android SD Development] kitcar:
camera does not work. i copied and replaced all the patch from michyprima. I am using shub craft 2.0 build.
[HD2 Android SD Development] ikkon:
jesus...fast 2111 in quandrant on fresh install new nightlys...

2041 on old pongster build with all the bells and whistles on!!
[HD2 Android SD Development] hastarin:
Are you using an initrd with sync turned off to get that high?
[HD2 Android SD Development] ikkon:
sorry hastarin...you lost me with initrd but i turned off everything from power widget xcept signal?

and autokilled some apps for testing..

320+ free ramspace...cant really remember
[HD2 Android SD Development] vua777:
non sense version get very higher score?
[HD2 Android SD Development] ikkon:
yup...i can't break through 1700 with sense

highest was 1600+
[HD2 Android SD Development] hastarin:
initrd thing I mention is because your SD card might be mounted without sync, giving a much higher I/O score. What build are you using?

No worries, I'd love to see the breakdown from Quadrant Advanced, but it's a paid app so can understand if you can't do that. http://slideme.org/application/quadrant-advanced

I've always said it's not a great app. The free version is next to useless since you can't see the breakdown and the I/O weighting is too high. The I/O is easily fooled with tweaks. Even running it a few times over will boost this score due to file cache, which it could easily avoid by writing and then reading random data.

OK cool I turned off System Panel monitoring and set Airplane mode here, ran it (latest Advanced version that I've bought) a few times and got 1861 (CPU 5422 Mem 1088 I/O 2054 2D 307 3D 433) using Smartass and overclocked to 1190 Max.

This is on a Sense build too. I don't believe CM would be that much faster on my phone. I guess I'll have to try it one day to find out.
[HD2 Android SD Development] mdskrzypczyk:
So how did you install the 8.4 kernel to get the camera working on cm6.1? I'm using shubCraft and haven't been able to get it to work. Thanks.
[HD2 Android SD Development] hd2k10:
Anyone have the default Desire Sense gallery.apk? I may or may not have deleted mine by mistake when replacing the camera -.-
[HD2 Android SD Development] ikkon:
can't replicate the 2111 anymore with linux on wince but i did get 2120 with pongster build..

Tmobile hd2

Supersport clean winmo

Smartass/OC to 1190/245 max/min

[Everyday Builds][latest linux_on_wince_htc][PPP] CM6.1+

score 2078 2091

cpu 6463 6451

mem 1107 1133

i/0 2072 2123

2d 316 316

3d 431 432

Adromedaultimate v1.3<---daily use since it came out

score 2068 2120

cpu 6278 6463

mem 1142 1139

i/0 2147 2215

2d 344 347

3d 430 434
[HD2 Android SD Development] vua777:
i just make a small experiment:

use origin build DarkStone 3.2 + kernel 8.4 + michyprima's desire camera lib + MDJ's 5MP apk => the camera is work great without green light, no special mod or tweak. so the kernel is fine.

continue testing...

* Fixed: MDJ Revo 1.6 + hastarin 8.4 camera with flash no more green!

testing camera with MDJ 6.1 kernel now...
[HD2 Android SD Development] jose makalolot:
wifi mac address

hastarin,

i tried changing the wifi mac address on r7.7 as described in http://xdaforums.com/showpost.php?p=8829970&postcount=7

still, it won't change. I need a change in mac address because we have 2 hd2 in the house with the same build. When first hd2 will be connected to wifi, second won't be able to connect and vice versa.

hope you can help me with this.
[HD2 Android SD Development] hastarin:
I suggest you try 8.4 or the eb version if you have an extended battery.

If you stock to 7.7 it probably used slightly different syntax. wifi.mac_address not just wifi.mac

Sent from my HTC HD2
[HD2 Android SD Development] ikkon:
might test this one..i missed playing with camera pro
[HD2 Android SD Development] hastarin:
Not sure how your cpu score is so high. I will have to try and find the time to try other builds.
[HD2 Android SD Development] jose makalolot:
okay. thanks for the fast reply.

I tried wifi.mac_address and it works for r7.7 but doesn't work in 8.4. Is there a specific number/letter to be used? like use 00:11:22:33:44:55 instead of 00:12:23:34:45:56 and vice versa?
[HD2 Android SD Development] moorgogel:
With your 8.4 Kernel its not possible to turn off the display automatically.

For example when i use the nightclock in gentle alarm my display should turn off the backlight after a few seconds. With your old 8.2 Kernel this was no problem but in 8.4 the display never turn off complete it still glow a bit.

But apart from that you did a really really good work. Thx for that
[HD2 Android SD Development] hastarin:
It is wifi.mac in 8.4

Use the address you see under windows mobile.

Sent from my HTC HD2
[HD2 Android SD Development] jose makalolot:
fantastic! yes it works... thanks a lot.
[HD2 Android SD Development] hastarin:
Green tint fixed!!

It seems the green tint issue, and the zoom not matching the preview, was all from overly zealous editing of build.prop!

See this thread:

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

I have a fully (minus 720p) working camera now! :D
[HD2 Android SD Development] LittleH79:
That's fantastic news!! :D
[HD2 Android SD Development] deeb:
Hi All

If I want to change system file lights.htcleo.so to another which is in hastarin's root folder, should I run some script?
[HD2 Android SD Development] projection:
I am not sure if this is written somewhere in this thread (but I did not find it).

What exactly needs to be done to:

1) Swap governors

2) Enable voltage scaling based on clockspeed

I can find this information on my own, but it will take me quite a bit of time. Could you please give the filenames to change?

If not, I'll find the info myself and post it here...

EDIT:

I guess I need to pull your GIT branch, set up a toolchain and build a new zImage...
[HD2 Android SD Development] hastarin:
You can swap governors with SetCPU

SAVS is already used. Each speed gets a different voltage. If you want to tweak them you can use a shell to do it, link in first post changelog has more info.

Just a note that I've been testing smartass lately and I might follow mdeejay's lead and make it the default in my next kernel.
[HD2 Android SD Development] Goaprinz:
im using your Kernel with mdjs 3.2 evo sense. everything works quite well but my cam didnt worked. i thought it is because the new libs in the kernel (as you mentioned it). so i tried to install the new camera app. this cam doesnt work too (i think because i dont have the correct lib files: there ar ejust desire and nexus). so how can i get my cam to work? are there any evo lib files for desire cam?
[HD2 Android SD Development] francescozanghetta:
undervolting and performance

Hi hastarin,

i just want to thank you for your great job and for the time that you give to us.

I have a question?

Is undervolting increasing the performance?

I am asking that because i scored 2200 with oc at 1190. After i undervolted the cpu and i scored 2937.

Thanks in advance
[HD2 Android SD Development] projection:
Thank you. Easier than I thought then.
[HD2 Android SD Development] birkoffsjunk:
Hi hastarin,

It would be cool if we were able to set the govs via startup.txt instead of setcpu.

Sent from my HD2
[HD2 Android SD Development] fyuecd2:
prove it....

Is this a Quadrant score?
[HD2 Android SD Development] francescozanghetta:
Yes, it's quadrant score.

In my personal test when i undervolt the cpu, the total score is higher. On undervolting condition, specisecly the cpu score is lower but i/o score is higher compared to normal volting condition. I don't know why, i'll still check. I need to remove all variables to be sure about it.
[HD2 Android SD Development] jcsy:
using 8.4 hastarin and downloaded the HTCcamera.apk, placed it as per above

do i need to place the camerafixes for Nexus builds? I am on a Desire build..

still getting blank camera

(seriously, a post on how 2 fix the camera in the WARNING needs to be posted... i had to search for 30 minutes on loads of irrelevant posts)
[HD2 Android SD Development] Diem:
Would it be possible to make an kernel 8.2 UVOC with the G-sendor workaround ?

I can't use the cam in 8.3 but loving the G workaround :D
[HD2 Android SD Development] tyween:
undervolting does not improve performance. all it will do is make power consumption lower. I don't know why you think this but it is impossible. try it on your pc lol...
[HD2 Android SD Development] Ambious:
Whoops, just had an unexpected restart.

This didn't happen with non-UV builds, and with 8.x-8.2.

Are you sure this isn't undervolted?
[HD2 Android SD Development] Wrathlon:
There is Nexus libraries and Desire libraries but I'm using an Evo kernel and I just get a black screen with either set when I open my camera. Is there an Evo library set available at all?
[HD2 Android SD Development] francescozanghetta:
i thought like that just because the only thing i change during the test was the voltage.

Thank for your explaination. I'll try to figure out what makes differenze between the two scores

:):):):):)
[HD2 Android SD Development] jmmmmm:
Doesn't look like. Some folks have gotten it working with the libs, but it's no guarantee with us evo users.
[HD2 Android SD Development] ChrisM001:
I tried half of the day to copy the 99complete file to system/etc/init.d. I was not successful: not with root/sytem... and reboot, not with droid explorer, not with sufbs. File is empty after copying. Please help!
[HD2 Android SD Development] geukhanes:
By changing the system file of linux on wince's latest build with the system file of phireMOD CM6 v1.4b, and adding Hastarin 8.4 kernel on it, I got everything working, except the green tint when using the camera with flash.

I made phireMOD CM6 v1.4b work fine for me

No more screen freezes,

5 - 6 - 7mA power consumption while screen off,

Camera ok, 5MP,

Wide screen video ok,

GPS works great by adding libgps.so under the lib folder,

Wifi ok,

Data ok,

3G ok,

Changes between 1600 - 1700+ quadrant score with no OC,

Very smooth and fast,

Google accounts sync works great to restore apps,

Everything else that I used and tried so far, just works fine.

And I have long press volume keys to skip songs while screen off, thanks to phireMOD's system file :D

Thanks a lot for your hard work Hastarin! TS freeze was a pain in the neck for me..
[HD2 Android SD Development] tyween:
I think it has to do with something wrong with quadrant with our builds. When I run it I get 1700 on the first run, 2000+ on the 2nd run. I think some part of the program gets cached and it runs faster the 2nd time. If you totally quit out of quadrant this does not occur.
[HD2 Android SD Development] jcsy:
yeah i usually run 3-4 times to see the actual results

anyways, how 2 fix the camera? the main post needs to be fixed to show how 2 fix the camera man..

ive put htccamera.apk into /root/system/app and ... camera still is a fail
[HD2 Android SD Development] hd2k10:
You need to download the libraries in the second link on the first post and then copy the root folder to your Android directory and reboot.
[HD2 Android SD Development] Forsh:
Hi, thanks for your hard work. Unfortunately i've got a bug report for you, but hopefully you'll find interesting and useful!

I'm using [13.11.2010] HD2ONE 0.3.1 [CM6.1][Multi-kernel][RMNET+PPP][FM][Clean&Stable] - the Flexable 0.3.1 build with radio 2.12.50.02_2. Latest 6.5.5 OzRom WM.

Never had any issues with any android build and i've been using them from the start with pretty much the same setup as I have now.

Started off with the MichyPrimaR11 kernal, which worked perfectly but decided to give yours a go. I copied the zimage folder onto my SD card and changed the startup.txt to run your kernal (as build instructions dictate). Runs smooth, feels a little more snappy and glitch free than other setups i've had .. but ...

1- People who call me get echo. I can't hear it, sounds perfect to me. They just tell me its really distracting!

2- The phone will run fine 90% of the time but at random times will start running really hot and the battery drains like mad. 40% in about an hour just out of nowhere, while sitting in my pocket locked. Never had this before with any other build/ kernal.

If you need any more details from me just give me a shout. Not sure how often i'll check this thread so if I don't reply you might wanna pop me a PM.

Cheers!

Forsh
[HD2 Android SD Development] thelooti:
Some problems

First, thank you for developing this, its running awsome in my HD2. Its interesting that it runs more smooth than in native android devices!!!

However, there are some problems Im facing (im a newbie). Even though i tried most of the stuff about the battery, it still goes down to zero very fast. If i play around with the phone for some 10 mins, it goes 2, 3% down immediately. Would be great if those small fixes if you could incorporate in kernel/rom ?

Second, how come google maps is not installed. In addition, i search in the market, it doesnt find it? strange. or for example nook for android, it says doesnt find even though i get it from nook website...

Can you please advice?

thnx a lot.

thelooti
[HD2 Android SD Development] tyween:
I'm not trying to be a **** but these issues have been covered in tons of theads.. It is a known issue with CM based builds, you have to delete /etc/firmware/default.acdb, and /system/etc/firmware/default.acdb to fix the echo problem. It is in several build and faq threads. I am answering just because I am sick of seeing posts like this. However, it is a little rude of you to ask a question and then say hey.. can you PM me because not only could I not search the forum.. You won't even bother to check the thread you posted the question in.. The epitome of laziness. About the battery.. battery drain is fine with this kernel, in fact with undervolting it is the best kernel I have used. It is also not a "kernal." lmao. I feel better now.
[HD2 Android SD Development] jmmmmm:
Really...?
[HD2 Android SD Development] drewestate:
Battery Drain

Ok...on 8.4 i have seen a lot of different comments about batter drain issues...

For me I came from 8.2 with normal drain...6-8ma. Initially with 8.4 every thing seems all good with similar drain. However, after the system is up for a couple hours, something happens and drain jumps up to around 60ma and never comes back down. This is obviously with bluetooth, gps, and wifi all off. If you reboot this odd cycle starts over.

This defiantly appears to be an issue with this particular kernel as when I loaded up MDJ's 6.1 to compare, i am getting a consistent 5ma drain in standby under the same conditions.
[HD2 Android SD Development] hutc:
Battery drainage

Kept it overnight with wifi and data off with 100% battery and in am after 7 hrs had decreased to 84% this was the highest i had with any build , i dont know something is wrong with this kernel ,its consuming battery more than before.INSPITE OF ME USING SET CPU, IAM GOING TO CHANGE THE SAMPLING RATE TO 50000 AND SEE WHAT HAPPENS.
[HD2 Android SD Development] Caramel:
Hi !

A simple question, i paste all the files all is ok, but what to do with the HTCcamera.apk ?
[HD2 Android SD Development] hookguy:
noone?!??!!
[HD2 Android SD Development] edding7:
Thanks Hastarin.

You resolved my boot crash

In the last kernel 8.3 my cpu dies on the line:

"acpuclk_set_vdd_level got regulator"

now on this kernel i have a succesfull boot!

my boot trace is here:

http://pastebin.com/7eabcRWP

I have no words to thank you.

PD: now, i'm intrigued to know what happened in 8.3b. You mentioned something related to extended voltage.
[HD2 Android SD Development] curiousGeorge:
Yes, I'm reading a lot of these comments too. And I've finally started to experience these cycles. Boot up: all is fine. Stays fine for hours. Suddenly, large constant 60mA drain. I kill all tasks -- still there. Hmm. I've swapped memory cards, switched to using hastarin's recommended bootloader with 3 second timeout in addition to ensuring the keypad lights are lit and airplane mode on when haret starts loading (these are all of the known "battery drain" solutions). We'll see how it goes.
[HD2 Android SD Development] dbh369:
My understanding is that your phone caches some of the Quadrant tests after the first run, hence the better speed on later runs...
[HD2 Android SD Development] dbh369:
Caution, Quandrant data is cached between runs so later runs appear 'faster'...
[HD2 Android SD Development] Forsh:
Theres no need to be rude. If you're going to be like that, just don't say anything at all - keep your attitude and poor social skills to yourself. Posts like yours have a negative impact on the community. Your comment about me calling it a "kernal" is not constructive in any way and is purely to insult me, its very petty. I just don't see the need for it. The intention was to communicate something and that communication was obviously made.

That aside, thanks for telling me about the fix. (i'm not being sarcastic, thanks for taking the time. You could have just insulted me but you did add useful information)

I think you've misunderstood. I'm not asking for help, i'm offering the developer some information in case it helps. I just thought it unusual that in 3 months of Android use i've only ever experienced those bugs when using this kernel.

I'm not asking for a PM to answer a question i'm asking but suggesting it as an easier method of communication. I didn't mean it to disrespect anyone or work being done. I just know that i'm overworked at the moment and I could easily forget about my post. (Why the assumption of laziness?)

To clarify (for everyones sake), i'm not experiencing constant poor battery life - the battery with this kernel is pretty good! But I get strange intervals where for a few hours the phone gets really hot and the battery goes right down, then it returns to normal again. In 4 kernels, 5 builds and 3 radios i've never had that before. A quick search shows that a few people have had these random intervals with this kernel and I haven't spotted a solution yet. Current fixes for similar problems just aren't working. Maybe with my post a pattern can be found and maybe a fix?
[HD2 Android SD Development] tyween:
I was in a bad mood earlier and because you actually read my response and replied I apologize. I am not experiencing these issues you are having however. The issue with the echo is caused by that file on cm builds using evo based kernels with cm builds. You were using a non evo based kernel which is why you didn't have problems before.
[HD2 Android SD Development] slbenz:
Hastarin,

Again, thanks for letting us know about the green tint flash fix. Worked on my new Mdeejay Froyostone Sense Clean 2.4 build with your 8.4 kernel. Working zoom with camera/camcorder and no more green tint to flash! With a very low battery drain on standby and during use. Now I feel I have my perfect daily build! Thanks! :)

P.S. Multiple normal reboots is key.
[HD2 Android SD Development] curiousGeorge:
Same here. The culprit (like expected) is always "system," which begins using just enough CPU to prevent idling -- hence the 50-60mA "periods" which can last quite a while.
[HD2 Android SD Development] hastarin:
Sigh

Apart from changes to the governors I can't see anything in the commits that might cause this.

It turns out I've seen this issue myself overnight (phone and WiFi on for a change) running Smartass governor so personally I'm now back to trying the defaults to see if I can catch it happening and find the cause.

It would be handy if people would post some more information regarding what governor you're using, if you're undervolting/overclocking, if you've tried the autobuild kernel (LIKE I ASK IN THE FIRST POST) and see the problem there, if you'd tried using System Panel/similar to see if a particular process was using CPU, if you'd run a dmesg/logcat to see what was happening when this happens, etc

If you need a fix, try asking the guy that makes your build. This is NOT a kernel issue.

I mean what exactly what did your last slave die of? I've provided more information than anyone else on this. I've pointed out builds that work without having to change anything. Would you like me to come to your house and fix it for you while I'm at it? :rolleyes:

Because using SetCPU is just too hard? It's easier than editing a startup.txt!

If you want it that badly find me a patch that lets you do it and I'll consider including it.
[HD2 Android SD Development] hastarin:
I'm glad to see someone can help themselves a bit. :p

If you can catch it doing this and get me some output from "dmesg" and "logcat" it might help track down the issue.

Intermittent bugs are seriously evil and annoying.
[HD2 Android SD Development] chn110:
Same here. Getting constant 60mA drain in standby with VoIP registration over 3G and no wifi, never lower. With MDJ's s6.1, it was 6-9mA with interactive governor.