yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] eddyhsline:
Hi, I use root Explorer (from Market) If you can"t use wifi, download with your next G (Root Explorer worked for me, easy to use)

if you haven"t already made a new folder called new modules (or really anything you want, and will remember) make one, and copy and paste the 2 files and place in folder

Next, boot into Android, open Root Explorer, scrool to sdcard, open, then scrool & open the folder (new modules) click on & hold on one of the 2 files, then options will open, click copy, now click back button on phone, till you go back to start (where you can see the sdcard folder) scrool down to system, open, scrool to Lib, open, scrool down to modules (3rd from bottom) open, (will see the 2 files) click on the highlighted paste option, will ask to replace file, click yes, file replaced, click back button again, till you go back to where you can see system folder, scrool back to sdcard folder, open, and do the same as you just did with the first folder, after click back all the way to get back to close Root Explorer, re-boot, then turn wifi on, all should be good, I use Root explorer, should be a similar to others. (this is as easy as I can explain)

Good Luck :)
[HD2 Android SD Development] bangsters:
using it now... BT on't even turn on :(
[HD2 Android SD Development] hastarin:
Update - EB temps and new kernel soon

Pity. :(

I'll probably release a minor update with this, and other changes to the maintree, along with a tweak to my extended battery temperature calculations later today.

Extended Battery Temperatures

I've gone with a "quick and dirty" approach to the extended battery temperature by applying a simple linear scale to the eb raw values to pull them in a similar range to the normal battery. Unfortunately the relationship appears to be non-linear but I don't have the data, time, or energy, to bother figuring out the exact relationship at the moment.

My "quick and dirty" approach results in lower temperatures reporting higher than they should and higher temps reporting lower. Though it appears to only be a margin of about 2 degress Celsius, which is better than what I had so I figured I'd get it out there for now.

All the data I've used is available in this spreadsheet which is compiled from the people that responded to my request for help with it, excluding a few results that were obviously outside the norm. So if anyone wants to do a better job of things they're quite welcome. ;)
[HD2 Android SD Development] hastarin:
Just a quick note that r7.2 is now available. See first post for links.

Release r7.2 - 09/10/2010

- Merged main tree again

- Change to the extended battery temperature reporting

(http://xdaforums.com/showpost.php?p=8532097&postcount=732)

- Made the interactive governor the default (I've been using it via SetCPU for weeks now)

- Changed initrd.gz to one from FroyoStone 3.1 (simple HTC logo on black screen)
[HD2 Android SD Development] chungkai:
then ,you will have supposed to fix BT for non Sense builds kernel soon???thank
[HD2 Android SD Development] interfreak:
Just installed with Mdeejay's FroYo HD v.3.4. Working fast and flawlessly! Battery sits at 6-7mA in standby. :)

Thanks for your efforts hastarin!
[HD2 Android SD Development] plotzkella:
Did you include the headset patch from here?

Thanks.
[HD2 Android SD Development] 12aon:
Whooo headset patch! Anybody try it on the previous kernel? Will it work with the newer kernel as well? :cool:

12aon
[HD2 Android SD Development] hastarin:
No I forgot about that. Hopefully someone can get in touch with the main devs to get it reviewed and a fix committed to the main tree.
[HD2 Android SD Development] v-b-n:
@hastarin : Just was testing something out and comparing ppp data throughput between custom kernels (not only yours) and standard evo kernel is huge (atleast for me)

Using speedtest, custom ones give me 300-400kbps down/20-100kbps up and very jerky

On the other hand the untouched one from netripper repo gives smooth and fast 1000-1400kbps down/300-600kbps up

Is this known amongst you kernel cooks :D ??
[HD2 Android SD Development] pack21:
can you add this link of patch to first page, for ppl who dont know.

thanks
[HD2 Android SD Development] hastarin:
There is little point since it requires knowing how to build a kernel and would just confuse the average user.

The best idea is for someone to catch the core devs on IRC and make sure they are aware of it.

Sent from my HTC HD2
[HD2 Android SD Development] noellenchris:
Just posted it on IRC for LeTama, I will also try to get it to Markinus......thanks!
[HD2 Android SD Development] g2tl:
I'm still using #37 (don't know which "version" it was) because all the recent ones make the touch screen erratic, rendering typing experience nothing short of horrible

I haven't tried 7.2 yet, but looking at the change log, there doesn't seem to be anything related to the touch screen. I also see some others have this issue. Any word on this?
[HD2 Android SD Development] Downy:
Using 7.2 now with Desire HD 3.4 without any problems. Its running very smooth, my extended battery temperature seems to be as correct as neccessary. No doubt again the best kernel available.

Thank you very much, keep up the excellent work please!
[HD2 Android SD Development] dortok:
the LED notification lights don't work with this release. Can you post the old liblights file?
[HD2 Android SD Development] dallasjim:
IT WORKED!! Thank you!!

By the way, Root Explorer ROCKS!!! I so owe you eddyhsline!!!
[HD2 Android SD Development] luca_3_93:
I test on Desire HD Beta 2 by Darkstone but don't work, phone reboot.
[HD2 Android SD Development] dubie76:
New kernal seems smooth and snappy. BT does not turn on. Thats a bust for me. Going back to old kernal.
[HD2 Android SD Development] Downy:
Read first line in startpost about "nandboot=0" in startup.txt. This might solve your problem. Reading all notes from the devs before trying new kernel is always a good idea.
[HD2 Android SD Development] Reignzone:
Yeah, commenting on the "erratic screen" issue... the latest release, along with 7.1 have caused some kind of "minor lag" in which the screen is responsive, but has a noticeable delay in reaction time.

I'm using HTCClay's SuperDesire build, but regardless... I've been able to recreate the same issue on several other builds. I'm not sure why there is on-screen delay, when everything else "operates" quickly at the clock-speed I use. :confused:

Maybe that's why some builds have been using RC 4.1, rather than his latest in their builds...?
[HD2 Android SD Development] memin1857:
Deleting or renaming AK8973Prms.txt to get compass working with r7+ AS stated in post 1 may introduce more touch screen/g-sensor freezes with games/sensor apps. (Since a new one will get created with zero values)

Check this thread:

http://xdaforums.com/showthread.php?t=803242
[HD2 Android SD Development] Vermik:
I don't have this problemes yet
[HD2 Android SD Development] hastarin:
I don't get touch screen lag, and as I've said before I compile this for my use and make it available. If you care to test it, or the Alternative version (some have suggested AXI is responsible for the lag, though I can't see how, more likely the undervolting), feel free. Otherwise why bother posting?!

I got it from the IRC logs. You can find it there, or in the older kernels (eg #4.1).

I'm not sure either. I don't have it. I don't have the g-sensor issues people complain about. I don't have the stuttering music issues some people complain about either.

BT doesn't work under CM6 at all anyway does it? I mean you may have got it to turn on but using it is another matter.

Cass seems to be using BT with a kernel from the same base on a CM6 build but not sure what else he's done to get it working.

Thanks for the warning. All I can say is it worked for me and the suggestion came from the guy who fixed the compass (Rajko).
[HD2 Android SD Development] g2tl:
Uh, because I appreciate the work you do and assume you'd have more knowledge than I do?

It was a simple request for input, and whether you intended or not, you did give your input which is sufficient for me. Thanks.
[HD2 Android SD Development] Azrel37:
Actually, I just ran like 7 SpeedTests and the results are AMAZING! I'm using your VBN Reloaded 2(3.14), the new WM radio(2.15.50.xx), and MIUI v1.0 and check out the results. I live in the Greater Houston area in Texas btw. All results are kbps of course :)

1st 1691 down 437 up

2nd 3863 down 382 up

3rd 3184 down 148 up

4th 3307 down 929 up

5th 2429 down 1195 up

6th 2579 down 615 up

7th 3096 down 406 up

Only things not working are wifi hotspot and led's.

Loving the VBN Reloaded 2 ROM with Hasterin's 7.2 and pretty much any Android flavor. I'm really liking MIUI v1.0 though :) Oh, and I'm using SetCPU and running processor at 806 max :) Not sure if that matters for results or not.
[HD2 Android SD Development] jmmmmm:
Hey any plans to fix the camera flash on this kernel
[HD2 Android SD Development] tinuz97:
Nevermind......can be removed
[HD2 Android SD Development] memin1857:
Why is the hastarin kernel is much less responsive just after bootup when homescreen appears? (compared to stock evo kernel and with lots of htc widgets) After you give it some time and it stabilizes, no more performance problems though.

Stock evo kernel has crash problems with network that is fixed with hastarin. But I want the more responsive bootup of stock. I should try non axi version and report back.
[HD2 Android SD Development] famewolf:
The 4.1 kernel lights.htcleo.so seem to work fine with the 7.2 kernel. To save folks time I'm attaching them to this post. Hasterin, I have one of the generic ebay extended batteries so I didn't participate previously when you wanted only the real htc batteries but I'm willing to run/report whatever if you think results from the generic's would be of use to you.

I had previously replaced libhtc_ril_wrapper.so with the 09/29 version to see if it would help with ppp issues. Will that version have any conflicts with the new 7.2 kernel? I don't notice any conflicts but on other hand I haven't been able to get 3g to kick in since I upgraded either so I figured better safe to ask.
[HD2 Android SD Development] aussiebum:
Does 7.2 include the camera / pmem fixes that was merged into the main tree yesterday? thx
[HD2 Android SD Development] Frakatchoo:
Anyone can help me to measure the battery drain (in mA), what application do you use for that ?
[HD2 Android SD Development] CR5N:
CurrentWidget from market.

Sent from my HD2
[HD2 Android SD Development] hastarin:
I won't be looking to support any other batteries. Even the official HTC extended battery is not as well supported as I'd ideally like, but it will have to do given my time constraints.

No idea on the wrapper sorry.

I just ran a quick Speedtest (via WiFi) and got 7959 down and 848 up. I ran a similar test on my PC (hard wired) and got similar numbers (faster download).

So yeah, things seem fine to me.

Sure, when someone fixes it in the main tree I'll happily merge it in. :p

No idea. If you're using 7.2 it might be the Interactive governor at fault. Have you noticed this with my previous kernels?

No. You can always check what I've merged in here:

http://gitorious.org/~hastarin/linux-on-wince-htc/hastarins-linux_on_wince_htc

Though sometimes that may show stuff I haven't released yet.
[HD2 Android SD Development] kaelthos:
Guys I need a little advice (sorry for my english).I used the currentwidget app and it showed a consumption about 300mA...Is that even possible or is that a mistake in program ?

I'm using DarkStone V3.1 kernel hastarin 7.2
[HD2 Android SD Development] RobertsDF:
If your using the phone it can be that high , especially if you have gps and WiFi on. When the screen is off though, you should be getting less then 10 mA.
[HD2 Android SD Development] kaelthos:
Thank you , but in that case I've got a problem 'cause when I've got my screen off and than I look in the log it showed me that consumption was around 150 mA and that seems extremly high for me.
[HD2 Android SD Development] :
thanks for another great kernel however i am still getting scrolling lag that has been present from all releases after 4.1. Hopefully this can be resolved in the future :D.
[HD2 Android SD Development] mfish123:
I just tried the 10/10 main git release of the evo kernel and unfortunately the camera flash problem still exists. maybe they tweaked some other camera issue.
[HD2 Android SD Development] famewolf:
Oh I wasn't asking for specific support...I just thought the generic battery might give you more results to aggregate with the ones you already had and figure out a closer match for temperature/voltage. If their results matched closely to the HTC ones then you'd have a larger test pool to work with and with the ebay batteries only costing around $14 shipped more people might be willing to test it.
[HD2 Android SD Development] memin1857:
I saw new lights.htcleo.so 10-Oct-2010 10:28

at

http://htcleo.noobhands.net/gauner1986/?C=M;O=D

Anyone tried? (there is also new libhtc_ril_wrapper.so file)

AND ALSO,

Hastarin packages lights file with the kernel. Isn't the lights file have different names depending on different builds? Maybe we are only updating lights driver of some specific builds only, as other builds may be looking for a different filename.
[HD2 Android SD Development] tinuz97:
Current widget on the Android market.
[HD2 Android SD Development] hastarin:
I have no idea you would have to check with gauner or one of the builders might know.

Sent from my HTC HD2
[HD2 Android SD Development] hastarin:
I just noticed it may be easier to see when I've merged versus the main tree via this URL:

http://gitorious.org/linux-on-wince-htc

I also thought I'd mention I'm currently trialling running without SetCPU or Autokiller (mainly to see how things are for a "normal" user and determine how useful they actually are, or aren't) and have updated the first post to reflect this and posted a screenshot based on my usage over the last day.

So far I tend to wonder if it's worth bothering with either of them. Though I have noticed the phone being a little less responsive when I need to unlock it so may enable Autokiller again to start for today to see if it helps with that.
[HD2 Android SD Development] Nismo300zx:
what setting do you use for auto killer memory manager?...i always use extreme and works great for sense builds...non sense i use aggressive
[HD2 Android SD Development] dallasjim:
Thank you hastarin. Vast improvement!!
[HD2 Android SD Development] interfreak:
Hastarin, I've been using your kernel without setCPU, task killer or any other tweaks with Mdeejays HD builds and have noticed no difference in usage or battery drain. I still get 6-10 mA in stand by and easily a full days usage with moderate use.
[HD2 Android SD Development] hastarin:
I'd been using Aggressive but since I have noticed I've been "mostly" OK without it I am trying it on Optimum for now.

Just after posting the previous post above I had the phone start using 100% CPU for a few minutes. It was a system process doing it (I do love System Panel for finding that sort of stuff out) and may have sorted itself out but I just chose to restart the phone. NOTE: Enabling Autokiller DID NOT help resolve it.

I do wish I knew a way to cleanly restart without using a Desire HD build with the Restart option in the power menu. Having to shutdown and then reset the phone is annoying to say the least and at the moment I'd rather have the camera for a Desire based build than the few extras of the Desire HD build.

Thanks for the feedback.

Yeah, in theory the SetCPU settings I was using should add VERY little to the battery life, which is why I'm just trying things without them.

Autokiller really shouldn't be necessary either. Apps that aren't actively running aren't going to consume power since their threads just sleep. They will use memory but even with the default memory management settings (ie without Autokiller) I'd rarely noticed the out of memory manager kicking in. I'm sure it was but the fact I didn't notice it means it was doing it's job just fine.
[HD2 Android SD Development] LondonTownGuy:
I use a program called quick boot from market, there is a re-boot option, combined with exceller's loader in auto mode it completely reboots with a couple of screen taps.
[HD2 Android SD Development] idevmag:
Hi Hastarin,

I am using 7.1 since a week and notice that it just consumes 9mA when not in use. But I found that charging is very slow even when phone is ideal. when I m saying SLOW, it means very slow takes 6 to 8 hours. It takes 3 to 4 hours in WM6.5 energy Rom with 2.14 radio.

Thanks

iDev
[HD2 Android SD Development] hastarin:
Thanks I've tried QuickBoot, but the Reboot option just reboots the phone, it does not do a clean restart and there is the risk of corrupting files (though ext3 and fsck usually cover you).

Ideally I want a feature like the Desire HD builds have with a TRUE (safe) restart.

You can see the charge time I'm seeing (from a wall charger, not from USB which is SLOWER) in the third screenshot in my first post. In short my phone charges from 25% to 100% in about 2hrs. So I'm not sure why you're seeing that.
[HD2 Android SD Development] adioph:
yup, id updated the modules. maybe modules are incompatible.
[HD2 Android SD Development] hastarin:
1. It is based on the new EVO kernel with the changes shown in the diff file. I haven't done extensive testing of the g-sensor but in my experience it is a LOT better in the EVO kernel but it is still not 100% for me, but then this may be due to dropping my phone a few times, I don't know. I typically leave Auto-rotate off and turn it on when needed. I don't disable the G-Sensor completely like I used to though.

If you're using the latest (release #2) of my kernel you might like to try using SetCPU to switch to the interactive governor and see if that helps you. It should be more responsive for games.

2. You don't need to put the diff files anywhere. They are included for other kernel developers, or anyone that wants to reproduce what I've done.
[HD2 Android SD Development] adioph:
is light sensor working in this kernel?
[HD2 Android SD Development] pongster:
which .so files must I change to make BT compatible with this kernel? I build off CM6 Nexus One as my base.
[HD2 Android SD Development] frits141:
The whole system is now fast and smooth. Benchmark 1455 but that says not so much. Fast, smooth and stable is more important for me.

Thanks!
[HD2 Android SD Development] hastarin:
I have no idea sorry.

Yes. As much as it's working in any other. :)

Possible. The only other thing is to make sure you set the permissions correctly on the modules.

I run the following via GScript after updating modules/firmware:

chown system.system /system/lib/modules/*
chmod 755 /system/lib/modules/*
chown system.system /system/etc/firmware/fw_*
chmod 777 /system/etc/firmware/fw_*
[HD2 Android SD Development] GDT:
How can I apply the update modules over my Desire HD Beta Build? I can't find the usual /root/system directory
[HD2 Android SD Development] hastarin:
Personally I'm using Android Commander to copy them in to /system/lib/modules and then run the attached script (also below) in gScript Lite.

chown system.system /system/lib/modules/*
chmod 755 /system/lib/modules/*
chown system.system /system/etc/firmware/fw_*
chmod 777 /system/etc/firmware/fw_*
[HD2 Android SD Development] pongster:
@hastarin

which builds does your kernel work with BT? Desire based ones? would you be able to attach 3 BT specific files so I can test if it will even work with my Nexus based CM6?

libbluedroid, libbluetooth, libbluetoothd

OR could you try compiling it with Nexus BT support enabled? (as desire builds seem to have a whole other BT stack and all)

Testing Feedback:

HyperDroid (Unreleased Test Build) based on latest CM6 Passion Nightly

G-Sensor Related Freezes: (Fixed)

Shifting from WiFi to 3G OR 3G to 2G do not cause hard freezes on this kernel! Great job on this end!

Scroll Lag/Wake-up Lag/SOD: (Fixed)

Great job on this too!

Calls/Volume/etc.: (Good)

I can hear the person I'm talking to very clearly but the other line hears their own voice "ala Echo syndrome"

I remember the Nexus tree having this problem way back... I'm sure it'll get fixed when it will. :)
[HD2 Android SD Development] hastarin:
I'm using it on the Desire HD Beta 2 build. I've had people tell me they had it working on mattc 1.7, but I have no idea how well they tested it.

Do any other EVO kernels work with BT for you?

I'd have no idea how to compile it with Nexus BT support sorry.

I'll PM you a link to those files.
[HD2 Android SD Development] pongster:
those are both desire builds.. which mean the EVO kernel is probably compiled with the Desire BT Stack in mind...

Some HyperDroid users mention michyprima's R11 EVO Test (don't think his diff is out there yet... and I won't even go there :)) and the Sept. 19 Autobuild to work with BT... (I don't use BT myself.... just testing since some users need it. :)
[HD2 Android SD Development] hastarin:
You'd have to catch gauner1986 on IRC and ask him about it then. The changes I haven't fully reviewed are all in the diff from him, though I can't see anything that would affect bluetooth. The only change to the driver I see in there seems to be to enable 802.11 n by default.
[HD2 Android SD Development] pongster:
Got the files, thanks!

But still no dice... seems like it should be supported in the kernel during compile...

here's the logcat just in case: http://pastebin.com/Hdw8NFHs
[HD2 Android SD Development] pongster:
hmmm... in your working desire build could you get the following file from /system/bin :

bluetoothd

maybe that's what will finally make it work... :) worth a shot:)
[HD2 Android SD Development] aussiebum:
Assume that this compile doesn't have netfilter included? If not, would you be able to add it in? :)

Would like to try this kernel but don't want to give up Droidwall firewall support via iptables that's available on nexus one-based kernels :p

Thanks!
[HD2 Android SD Development] tinuz97:
I have that problem to with the desire darkstone build......no such pad as in post 1 like normal builds...:confused:
[HD2 Android SD Development] RippieUK:
Has anyone tried this kernel with [UPDATED][BUILD][21.09.2010][mattc EvoLeo v1.0.1][Kernel: 2.6.32.15 #5] ???

http://xdaforums.com/showthread.php?t=787999
[HD2 Android SD Development] hastarin:
Based on the .config for the build it looks like it does have netfilter. If that doesn't work though I can't really help.

Feel free to try it and let others know.

Please see my other response, search the thread, or go back a few pages.
[HD2 Android SD Development] hastarin:
It should work fine with that since he's using the autobuild that this is based on atm.
[HD2 Android SD Development] tinuz97:
Yeah i found that,you type:

Personally I'm using Android Commander to copy them in to /system/lib/modules and then run the attached script (also below) in gScript Lite.

But how do i copy them to lib/modules.....this directory does not exist in the darkstone build.....in other builds like bangsters,hyperdroid etc etc i can copy the files files to the dir you type,in the desire beta this directory is not avaiable...
[HD2 Android SD Development] galapogos01:
I installed 7.2 to FroyoStone 3.1 and found I couldn't get idle battery drain under 98ma. I was getting 8ma with the stock kernel with the same power settings. Deleting the lights kernel modules (FroyoStone comes with the qds8k one, same size as the one with 7.2) didn't help. Any ideas?
[HD2 Android SD Development] dj_ghosie:
Hi Hastarin,

Is it possible to change the black htc static bootup screen with animated one similar to the CM6?

Cheers!