yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] XxhovaxX:
I just updated to 8.2 and now my wifi doesn't work it just says error when I try to start, is it something with the modules from the FAQ?
[HD2 Android SD Development] noellenchris:
You did something wrong, because WiFi works with these modules. Try copying them again.
[HD2 Android SD Development] XxhovaxX:
ok so after i put modules into the file i try to toggle the airplane setting but the screen freezes and i have to remove the batt to do anything has any one heard of this ?
[HD2 Android SD Development] WCENIGHTCRAWLER:
With 8.2 Screen freezes when trying to turn off phone by using end button anybody has this problem ?
[HD2 Android SD Development] XxhovaxX:
im having that problem as well i thought it was when i tried to put into airplane mode but its not
[HD2 Android SD Development] Downy:
YEAH!!! :) Great Hastarin, beside the fact that you have a "bad news" in your post, your whole post is absolutly a great news for me! I am absolutly confident that you will bring us extendend battery support for the future :)

I'm not at home this weekend and therefore need my extendend battery (will need much power:cool: ) but as soon as I am back I'll try to gather you some data with my standard battery (will have to find out where its lying around first :) )

I'am regulary checking your thread for some news and today is definitly a good day :)

Thanks for your effort and for keeping us informed!!
[HD2 Android SD Development] hashnon:
My out put.
[HD2 Android SD Development] atticus182:
Hey hastarin here's my result from the script, hopefully you can use it!

93

94

95

96

98

I'm using R8 because that's most stable for me :)
[HD2 Android SD Development] hastarin:
Thanks for the values folks. Based on what I'm seeing we can't rely on these values for determining the battery used. :(

If you're using 8 then 8.2 should be fine. It might even be a little less prone to memory issues.
[HD2 Android SD Development] supermegastef:
is there one radio with more stable ppp-connection in germany? provider. eplus/blau? i'm using stock windows mobile with radio 2.14.50
[HD2 Android SD Development] angelofskies:
Thanks hastarin for your great job.

Here mine.
[HD2 Android SD Development] Blades:
What makes you think this is code related? At most, its kconfig related - a quick glance reveals that you replace a file or two on your phone.
[HD2 Android SD Development] hastarin:
Just a note that I've released an undervolted and overclock enabled version of 8.2 for those that want to risk sacrificing stability for a bit more battery life and the ability to overclock things.

Personally I won't be running it myself just yet but I figured I may as well make it available and leave it up to users which they want to use.
[HD2 Android SD Development] dbh369:
Battery IDS

Here you go
[HD2 Android SD Development] Pedro78:
Hi Hastarin,

nice job. Would it be possible to include taintdroid in the next release ?

That would be a must have

Regards
[HD2 Android SD Development] hastarin:
I've been asked about this before, and simply put, no. All it does is show you if an app has already sent certain data that you've given it permission to send in the first place. It doesn't actually stop it sending it.

If you want to prevent the information getting out pay closer attention to the permissions you grant apps and don't use something you don't trust.
[HD2 Android SD Development] rafpigna:
Anyone could clarify this?

It's enough to put the "root" folder under the Android folder BEFORE booting up and then the system will do the "change" or I have to put the new files (lib and modules) in the \system folder DURING Android running via an app like root exploer?
[HD2 Android SD Development] jose makalolot:
1st one should work. If not then do it manually.
[HD2 Android SD Development] hastarin:
You should be safe to leave it charge with 7.7/8 or 8.x It shows charging in that image but it actually just supplies power to the phone once fully charged.

If you check on the phone you will see the battery indicator doesn't show charging anymore just solid green when it his this state. On the build I use anyway. Not sure how others might indicate this state.

Sent from my HTC HD2
[HD2 Android SD Development] gokkko:
Hello Hastarin,

many thanks for your great work.

I really love your kernel (V8.2) for the speed and stability, but my problem is, I am not able to get the ppp 2g or 3g connection working. Could you please give me some advice. Currently I'm only able to get a connection via WIFI- switching WIFI of no network connection is possible.

rmnet is working here with no problem (Cyanogen 6.1 on o2 in germany with the newest radio)

Do you have any idea ?
[HD2 Android SD Development] silverbluem:
Hi Hastarin,

Just stop by to say great work on this Kernel!!!!

it's amazing! i tried MDJ Kernel but just keep getting lagging wakes and slow system respone , i cahnge to 8.2 NO OC and all just work perfect!!

so again thanks!
[HD2 Android SD Development] hastarin:
My kernel, and in fact any recent kernel, is PPP only sorry.

AFAIK Notification LEDs are currently broken. They fill flash on briefly, but that's it. The LEDs work for charging indication, but not for notifying of a missed call, SMS received, etc
[HD2 Android SD Development] m4f1050:
Any reason why you don't use this version? Thanks!
[HD2 Android SD Development] s7even.tsai:
Can you fix the gsm / wcda only issue? I am not able to stay in gsm only . Always approach cdma 1st. I think maybe because EVO is 4g version . There is no gsm on it.
[HD2 Android SD Development] XxhovaxX:
So I fixed my screen freezing issues the problem for me was the time and zone were wrong in my Wm Tom I fixed that then it changed my android time I fixed that and now I am running good
[HD2 Android SD Development] hastarin:
Quite simple really. My battery lasts the day just fine without undervolting, and I don't overclock, so there is no real need for me to use it.

There is also a chance (however small) that it makes things less stable too, so while I'm still trying to identify/fix issues I prefer the more stable option.

Are you sure that's not a build issue?
[HD2 Android SD Development] curiousGeorge:
Best kernel yet. Incredibly responsive and overclocks well with not a choke yet. It receives higher benchmark scores than MDJ's kernel as well (by nearly 200 points).
[HD2 Android SD Development] rafpigna:
I dont know why, but the WiFi fixer app doesnt not work anymore... my WiFi still keeping disconnect after some minutes of "idle" when the screen is off :(

I tried reinstalling, I tried at least other 3 apps from the market, but nothing works...

It's a REALLY ANNOYING bug :(
[HD2 Android SD Development] curiousGeorge:
2mA on standby? 2 friggin mA?! I almost want to take a picture to show you this incredibleness. It's connected to the normal cell network, too. (No wifi though, heh.)

This is, for lack of better terms, incredible. I'm using the same Android build hastarin is using (mdeejay Froyo Sense v2.3 Clean) with his r8.2UVOC kernel and setCPU for a "245/245 Powersave on screen off" profile.

Just incredible. In past kernels (7.7 and 7.8), it would dip as low as 3mA, but 2mA is new to me. I know it's not a huge deal for most people, but good grief -- this is really something. Try this out, folks!!
[HD2 Android SD Development] the_scotsman:
Am I right in saying that Android will downclock the processor when it is not being used? So when in standby, the cpu will still downclock anyway, so the only benefit of your UV kernel is that the voltage is slightly lower?
[HD2 Android SD Development] Danation:
Not at all. First of all, Android will downclock it as it sees fit, which could be as low as 245... or as high as 998 if it wants. But with SetCPU, you can force it to use less CPU in standby. In my experience, the way Android does it is acceptable. However, I prefer to customize it myself for the best performance for my uses. The undervolting also helps with battery.

Also, you can set profiles so that if your battery gets low or the temperature gets too high, you use less CPU.

In addition to that, you can overclock it for situations when you want extra performance.

In summary, I definitely appreciate the added features. Thanks Hastarin :)
[HD2 Android SD Development] the_scotsman:
Yep, I was using SetCPU for months, but only recently stopped using it after hastarin suggested it's not needed.

From what I have seen, the CPU does downclock to 245 for the majority of the time it's in standby, so this is good enough for me :)
[HD2 Android SD Development] curiousGeorge:
Think about it this way. Power is proportional to the square of voltage. 1050mV to 925mV (the "normal" versus the "UV" 245MHz) is not just a 13.5% decrease in voltage. It's also a (nearly) 30% reduction in power draw. Remember from simple physics that P = V^2 / R, R a static constant inherent to the processor architecture.

Also, you say "majority" of the time. If this means it scales down to 245MHz for 80-90% of the time the screen is off, assuming the other 10-20% is spent at, say, 998MHz, that's easily 1 or 2 whole hours of a 10 hour "idle" at 998MHz. This is certainly NOT negligible. (Of course, if you keep your system properly configured, the real figure is a lot higher than 90%...)
[HD2 Android SD Development] hastarin:
I'm not sure about your calculations there CuriousGeorge. I don't think I lost 30% of my battery life by using a kernel that isn't undervolted. In realistic terms, and from my calculations based on observed differences in current drain, I suspect you will see an advantage of closer to 10%, say 1-3hrs extra usage with the undervolted kernel.

The_Scotsman is correct, the CPU will only run at the higher frequency long enough to get whatever it needs doing done. Particularly with the Interactive governor, it is very quick to switch gears so to speak.

I do NOT recommend locking to 245 in sleep with Powersave governor (or otherwise) as it may actually create a bottleneck of work that needs doing and you'll get a slow wake up. I had done this myself in the past and confirmed (via system load with uptime) that this was the cause.

If you want to save power when the screen is off then I'd suggest trying the Conservative, and lower the max speed, but still leave it some room to move if it needs to. Though I still suspect the saving this would actually give could probably be measured in minutes of battery life.

The reason I'd locked the last few kernels from tampering is too many people think they know what they're doing, but actually manage to make matters worse for themselves. But I figure now, that's their problem and I'll just ignore any such issues as I'm now pretty well aware of what's the kernel's fault, and what's build or user related. ;)
[HD2 Android SD Development] Danation:
Yeah, I agree that the savings aren't extreme. But for some people, like me, 1-3 hours extra will help a lot. I've had several days where I came up just barely short.

I'm also considering underclocking it to 700 or so as the maximum for normal use, and manually moving it up when I need it.

Options are always a good thing, so once again, thank you :)
[HD2 Android SD Development] curiousGeorge:
Responses in bold.
[HD2 Android SD Development] hastarin:
Slow wakeup (locking it too low without realizing the consequence), random reboots (because they're overclocking and their phone can't handle it), and probably more I could think of if I could be bothered.

Someone that knows what they're doing, such as yourself, is going to be fine, but there are plenty of people that just think they do. :p

Anyway, I've released it now so it's a moot point anyway.
[HD2 Android SD Development] rafpigna:
Hastarin.. seems that I found how to have full working LEDs... just by case, I noticed that if I boot Android having the charger pulled in to the phone, when Android is booted and I pull off the charger, LEDs works fine.

I'm wondering WHY? :confused:
[HD2 Android SD Development] the_scotsman:
Are you talking about the charging LED, or LED for new SMS or missed call?

The charging LED works fine...it's only for other notifications that it doesnt work for at the moment.
[HD2 Android SD Development] rafpigna:
I'm talking about Missed Calls/SMS/Emails....

This is definitively WEIRD

I just tryed a couple of time more... I can confirm: If I start my phone whit charger plugged in and I plug out once Android is booted on Home Screen.. LEDs works.. :confused:

side notes: I updated my build to hastarin 8.2, I changed lights.htcleo.so to lights.qsd8k.so and put it in the Android/root folder PRIOR to boot up.
[HD2 Android SD Development] hastarin:
Wow thanks! I'll let the guys know on IRC. Maybe we can figure out why and get it working all the time! :D
[HD2 Android SD Development] rafpigna:
hope so! :D

p.s.

I still have no joy for Wifi to not go in standby.. I tried all the apps on the market.. but nothing.. wifi fixer worked just on MDJ S2 kernel.. :(
[HD2 Android SD Development] hastarin:
Another extended battery update

Sorry to hear that. It seems to work for me most of the time. Sometime it still drops out but when I wake the phone it reconnects fast.

On another note, after chatting with Markinus it looks like he'll be going back to the old battery driver for now.

It's 2:17am here so I need to sleep for work tomorrow, but if he goes ahead with that then in the next few days you can expect an 8.3 with the old driver and therefore extended battery support again! I may even throw in the Smartass governor (not as default) so people will be able to try it in the UVOC version.
[HD2 Android SD Development] stumbleine:
Now I understand why my notifications had always worked fine. I normally start android with the charger connected cause I normally run out of battery.

It fits what you comment.

I'm still using 8.1 as it's nearly perfect for me. I get 8-12 hours of intensive use and some push email accounts turned on.

The only issue by now are the screen freezes while walking. It's quite annoying using the keyboard or with streetview.

Apart those little things everything else is just PERFECT.
[HD2 Android SD Development] kayroccs:
@hastarin idk if you've notice but there is a permanent fix to the g-sensor that was released today. You could implement it in the 8.3 kernel with the uvoc n is it possible for you to oc to 1228 MHz in your build? Just a suggestion
[HD2 Android SD Development] mb:
In a related story, I found today that if I fully charge in Windows Mobile, then boot into Android (with the green fully charged light on), unplug the charger when booted, I get a very small drain on the battery compared to not having the charger plugged in.

This is the case for me with 8.1 and phireMod stock.
[HD2 Android SD Development] vtruth08@yahoo.com:
Can anyone post a link to

R8 WITHOUT 7z format, I'm not by a pc and I wanna test this
[HD2 Android SD Development] LordDeath:
"AndroZip File Manager" is available for free on the market. It should be able to handle 7zip archives. ;)
[HD2 Android SD Development] vtruth08@yahoo.com:
Omg! Bout time :) every other app I tried even on wm wouldn't work, will test that app. How are the data drops and which ril wrapper is everyone using?

*EDIT app works great
[HD2 Android SD Development] stumbleine:
Could you link where have you found that?

Thanks in advance!
[HD2 Android SD Development] vtruth08@yahoo.com:
Just updated to new kernel now contacts fc anybody else?
[HD2 Android SD Development] themadproducer:
Hastarin...and fellow geeks :D,

LED Notifications,

I can confirm rafpigna's clever discovery.

I placed my HD2 in the charger cradle while performing a full reboot. Doing this...blinking LED notifications for missed calls and SMS are definitely NOW working. This solves an intermittent mystery from the near past...where I knew at one point in time, it was working for me, but most of the time it wouldn't. I let the missed call blink all night and it did not cease nor did it flake out in anyway. I have tried several popular 3rd party apps with some success but even they would start misbehaving after several hours of blinking. I checked my CURRENT log for the night and battery drain did not suffer either. The blink rate was ON for about 1s and off for about 4-5s. I vaguely remember setting this SPECIFIC BLINK RATE value in one of the 3rd party apps I had tried so I wonder if those rates are left over from that?

Charging RED and Fully Charged GREEN led’s have always worked for me consistently. Wish the missed calls LED would over-ride the CHARGING led. I used to have this with my TD2 and WinMo.

NOTE: Make sure to enable LED NOTIFICATIONS within Android settings. (in my case, SMShandsent notifications also had to be turned on) Try my setup below as an experiment if you are using different roms/builds/kernels etc. That way you will know if it is at the very least, POSSIBLE?

By the way, HUGE thank you to guys like you Hastarin. Can't tell you how much I appreciate your efforts. There would be no use for me to have this HD2 without guys like you, Froyostone (sad to say goodbye) and Mdeejay.

My setup (below), which I also worked diligently to perfect is running extremely well and stable.

PS My 2 bits about BATTERY DRAIN guys!

If your not getting between 5 and 10 ma (or for some even LESS than 5) drain in standby (not including high peaks during auto syncing or app background activity), then from my experience and all the hundreds of pages I have read, you need to start from scratch with a bare bone KNOWN GOOD setup and test before you add or modify anything. You need to use a troubleshooting method that eliminates as many factors as possible. Case in point, Hastarin's 8.1 or 8.2 kernel with NO Undervolting or Overclocking. Use something like CURRENT WIDGET app set to log every second and disable as many hardware and software elements as possible incl auto SYNC and see if you get low numbers. Reboot if necessary as all OS's misbehave once in a while. Try my KNOWN GOOD setup below (maybe not the sdcard but everything else) I started my HD2 Android quest making wicked mistakes and total OS hiccups everywhere...and today I have a very happy phone...loaded with tons of apps, all in harmony! I kept lots of notes and ALWAYS BACKED up my setup....which is so EASY to do with the SDcard. Preaching session complete.;)

- ChuckyDroidROM-HTCFrameworkEdition

- Radio_Leo_2.15.50.14

- Mdeejay_FroYo_Sense_v._2.3_Clean_#15

- hastarin_r8.1

- Kingston 16gb Class 10

- Telstra HD2
[HD2 Android SD Development] the_scotsman:
Quite often I have my phone plugged in when I reboot, but my notification LEDs have never worked.
[HD2 Android SD Development] rafpigna:
did you already tried to change the name of the lights.htcleo.so to lights.qsd8k.so in your ANDROID\ROOT folder before booting?

Could also be a ROM problem.. wich one are you using?

I tried the solution with other people and for all of them it worked fine.
[HD2 Android SD Development] the_scotsman:
Yep, renamed the lights file and have tried on several different builds.
[HD2 Android SD Development] hastarin:
Well on the combo in my signature, this workaround, is definitely working. I've tested Google Talk, Email, SMS, and missed call notifications. All worked fine.

The following are the steps I'm taking:

Reboot

Once the phone has vibrated to indicate the reset, plug in the charger

Leave the charger in while things boot (in my case using EBL with 3 sec timeout)

Once booted, unplug the charger
[HD2 Android SD Development] the_scotsman:
Yep, seems to be working now thanks...just doesnt flash as often as I thought :)
[HD2 Android SD Development] Danation:
Yeah, it really doesn't flash frequently. I wonder if there's a way to change that...
[HD2 Android SD Development] terranceye:
Great for battery life! I put the R8.2 in darkstone's FroyoStone Sense - V3.2 and got 4mA at standby consistently. Amazing!
[HD2 Android SD Development] m4f1050:
Has anybody used this on MDJ Evolution 1.6?
[HD2 Android SD Development] CrAzY_CbR:
Battery life with R8.2 UVOC (CM base tested):

Log

2010/11/14 23:50:41,-6mA,58%
2010/11/14 23:52:21,-6mA,58%

[B][FONT="Arial Black"][SIZE="3"]1% 5h[/SIZE][/FONT][/B]
2010/11/14 23:54:02,-5mA,57%
2010/11/14 23:55:42,-8mA,57%
2010/11/14 23:57:22,-5mA,57%
2010/11/14 23:59:02,-39mA,57%
2010/11/15 00:00:39,-39mA,57%
2010/11/15 00:10:36,-5mA,57%
2010/11/15 00:15:55,-7mA,57%
2010/11/15 00:21:16,-3mA,57%
2010/11/15 00:31:09,-5mA,57%
2010/11/15 00:41:02,-5mA,57%
2010/11/15 00:43:51,-5mA,57%
2010/11/15 00:45:04,-3mA,57%
2010/11/15 00:51:16,-5mA,57%
2010/11/15 01:01:09,-5mA,57%
2010/11/15 01:11:01,-3mA,57%
2010/11/15 01:20:54,-5mA,57%
2010/11/15 01:30:46,-5mA,57%
2010/11/15 01:40:38,-3mA,57%
2010/11/15 01:43:52,-5mA,57%
2010/11/15 01:51:17,-5mA,57%
2010/11/15 02:01:09,-3mA,57%
2010/11/15 02:11:01,-3mA,57%
2010/11/15 02:20:54,-5mA,57%
2010/11/15 02:30:47,-5mA,57%
2010/11/15 02:40:39,-7mA,57%
2010/11/15 02:43:51,-3mA,57%
2010/11/15 02:51:17,-3mA,57%
2010/11/15 03:01:10,-5mA,57%
2010/11/15 03:11:02,-5mA,57%
2010/11/15 03:20:55,-6mA,57%
2010/11/15 03:30:47,-5mA,57%
2010/11/15 03:40:40,-5mA,57%
2010/11/15 03:43:53,-8mA,57%
2010/11/15 03:51:17,-5mA,57%
2010/11/15 04:01:09,-5mA,57%
2010/11/15 04:11:02,-3mA,57%
2010/11/15 04:20:55,-5mA,57%
2010/11/15 04:30:47,-3mA,57%
2010/11/15 04:40:40,-5mA,57%
2010/11/15 04:43:53,-5mA,57%
2010/11/15 04:51:18,-5mA,57%

[B][FONT="Arial Black"][SIZE="3"]1% 2h[/SIZE][/FONT][/B]
2010/11/15 05:01:11,-5mA,56%
2010/11/15 05:11:03,-14mA,56%
2010/11/15 05:20:56,-5mA,56%
2010/11/15 05:30:49,-5mA,56%
2010/11/15 05:40:42,-5mA,56%
2010/11/15 05:43:53,-5mA,56%
2010/11/15 05:51:18,-5mA,56%
2010/11/15 06:01:10,-3mA,56%
2010/11/15 06:11:02,-5mA,56%
2010/11/15 06:20:55,-5mA,56%
2010/11/15 06:30:48,-7mA,56%
2010/11/15 06:40:40,-9mA,56%
2010/11/15 06:43:53,-6mA,56%
2010/11/15 06:51:18,-5mA,56%
2010/11/15 07:01:10,-3mA,56%

2010/11/15 07:11:02,-5mA,55%
2010/11/15 07:20:55,-5mA,55%
2010/11/15 07:22:30,-3mA,55%

Awesome Hastarin!!

Thanks!!

(Sorry for my english :rolleyes: )
[HD2 Android SD Development] bountygiver:
Using MDJ Sense Revolution, while using his kernel camera working wifi not working, use your kernel wifi working camera not working... how fix?
[HD2 Android SD Development] lacusxharo:
same here. this kernel + mdj sense revolution = not working camera, and slightly higher standby power usage (~8mA, vs 3-4mA when stock kernel from that build)
[HD2 Android SD Development] bigx86:
Anyone beside me got problems with sms? I cant send sms now but can recieve. Do someone know whats wrong? How can i fix it? This happened after i updated to R8.2 and i tried to reverse but the problem is still there.... :S
[HD2 Android SD Development] curiousGeorge:
Is it just me or does it look like the graphics drivers could use a little tweaking? Watching the FPS dip below 10 in the Quadrant "game" rendering (regardless of CPU speed) was a bit disheartening. :)
[HD2 Android SD Development] dbh369:
I wanted to just add my voice to limitations of SetCPU. I had ~500 set for max in screen off mode, but I often like to go running with both Rhapsody and SportyPal running, which turn the screen off. This would crash the phone about half the time until I took that limitation off.
[HD2 Android SD Development] PlayStation:
Hastarin,

I hope you have seen this thread about fixes to the G-sensor and screen freeze..... :cool: http://xdaforums.com/showthread.php?t=803242

i can smell the sweet aroma of 8.3 in the air..... :D

Edit >>>> http://xdaforums.com/showpost.php?p=9194473&postcount=140
[HD2 Android SD Development] asphaltkiller:
i vot 5ma in sleep with setcpu set between 245 and 1152mhz using interactive governor radio 2.15 vbnrom and andromeda build
[HD2 Android SD Development] katux:
good job

Tested since yesterday. Good job, consumption is low, no reboot, no data disconnexion, with the uvoc. Set cpu seems to have good action.:)
[HD2 Android SD Development] Agoattamer:
If you looked through that thread (I guess you did now) you would have seen that Hastarin has already supplied a modified 8.2 in that thread. And let me say it works great. I shook the hell out of my phone trying to get the touchscreen to freeze.