yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] turt:
Hello hastarin,

First of all thank you for providing us with this kernel, I love it!

I have a problem though, I'm not sure if this is related to your kernel or the build I'm using (Froyostone 3.2), but it's about My Position.

I installed your kernel yesterday. When I started my phone in Android today, "My Position" still remembered the last position I was at (it was a whole different city). So I updated the weather, thinking it would update my position to my current one (which it does in WM), but it didn't.

Then I went to Google Maps, and when I clicked at "My position" in Google Maps, it said my position was unavailable.

I then tried to uncheck, then check again the localisation button in the settings menu, and confirmed that yes I would allow the phone to check for localisation. I think it did the trick because as far as I remember it did update to my city, but an hour later I was in another city and "updating the weather" didn't do the trick, nor did the "check/uncheck localisation button". So my phone still considered I was in my previous city.

I went into Google Maps again, but now there was no more message that my position was unavailable: it just constantly said that I was in my previous city, even though I was clicking again and again on the "My Position" button!

Now here's my observation: switching on/off the wifi toggle, even without connecting to any network in the area, instantly updates my position!

So I'm guessing it has something to do with a parameter that doesn't refresh, and that toggling the wifi on/off somehow has an effect on this refresh...

Do you think it's kernel related and that you can fix this, or let the other programmers know of the problem so they can fix it?

Thanks!
[HD2 Android SD Development] hastarin:
I've used Google Navigation (brut mod) to navigate and even without that my position updates all by itself.

You're not the first to complain though.

It may be there is some issue with the kernel and certain builds. But it's not one I'm aware of.

Search the forums you might find something. Here is a thread I'd previously posted on:

http://xdaforums.com/showthread.php?t=809012
[HD2 Android SD Development] hendr1k:
@Hastarin

is it possible to use RMNET in EVO Kernel? or its PPP only
[HD2 Android SD Development] cortk:
I was using HyperDroid Ultimate with the Milchyprima kernel and decided to give this a go. I got everything else working except for the data. It stopped working after I replaced the kernel so I tried using an updated htclib file, but that didn't work either. Does anyone have any idea what I'm doing wrong?
[HD2 Android SD Development] noellenchris:
Hyperdroid is a RMNET data build, you loaded a EVO Kernel that only supports PPP data, so if you didn't update your init.rc file to point to the ppp ril wrapper then you will have no data. You need the changed init.rc file to support that, search in Pongster's thread for the ppp patch and you'll find the info there. Otherwise you'll have no data.
[HD2 Android SD Development] karluk:
switched back to alternative version because off all the reboots (seems to be more as before)
[HD2 Android SD Development] elgrego4:
Well after finally getting round to listening to some music with froyostone 3.2 and hast 7.6 kernel, BLOODY STUTTERING MUSIC AGAIN! Throw in ppp is still crap and you have an unhappy person :(
[HD2 Android SD Development] shree.cse:
Can anyone help me please? I am currently using mdeejay's glacier build with hastarin's latest kernel. But I am facing SOD with now, It takes atleast 5secs to recover. May be the problem is somewhere with my device, I am not having my keypad lights on at startup, just getting a vibration but not the lights on at the time,

Can any one help me!

Thank you
[HD2 Android SD Development] cortk:
It took me a bit of searching, but everything's good now. Thanks!
[HD2 Android SD Development] veryxcit:
I absolutely noticed the exact same scenario, apparently no one else is bothered by this LOL. If the light sensor is set on Auto, the backlight will remain ALL THE WAY OFF until you direct a reasonably bright light toward the sensor. Makes you think its dead, but its not. This happens every time the backlight calibrates itself from a dark/shut off screen.

What's the fix?? Is 7.6 the 1st iteration that this is happening at?
[HD2 Android SD Development] plotzkella:
For the music stuttering problem there is a workaroud here. :)
[HD2 Android SD Development] anhtin:
Hastarin,

so what should i do now? wait for the new release or go back to previous build? It's been great with v. 4.1

Do I need to tweak something in the setting to so i dont have to go back to previous build? I like the fully working camera, and many other updates on the new kernel.
[HD2 Android SD Development] anush.isaac:
Light sensor possibly not working and causes screen to blank in a dark room in r7.6

Hi.. Its a great you happened to share this, yesterday I got up from sleep and was talking suddenly my Phone screen went blank, I was kinda worried, I thought the screen froze, but the led's in the physical keys worked so what you guys are speaking makes sense.. I did not try getting the screen back pointing at a light source So clearly is a problem with the ambient light sensor in r7.6... Good catch guys, I see this happening for the first time in Hastarin's kernels have used the phone in the dark b4 but did not have this issue.. I am sure Hastarin will look into this issue... This might be build specific but I can confirm this happens only in r7.6 for my mattc Leo1.8..
[HD2 Android SD Development] tyween:
You have to set the lowest level of the blacklight to 30. This doesn't happen once you do that. The value it is set to is too low.
[HD2 Android SD Development] bob@radventures.com:
This worked perfectly- thank you!
[HD2 Android SD Development] bob@radventures.com:
It took a little doing, but this worked perfectly for me. Android Commander was too hard to figure out how to use, with all the different programs, etc. I suspect there is an easier program to use, but couldn't find it. Instead, I used a Terminal Emulator and inputted the commands manually- (i found them on the internet). Ran the script and was done.

Thanks very much!
[HD2 Android SD Development] jmmmmm:
Mine is set at 55 so its not that
[HD2 Android SD Development] veryxcit:
Well if you set Automatic Brightness on, then you don't haven an option for a 30% backlight, or a minimum. Now, maybe there's a way to set a range for the backlight, but I don't think its part of the regular Android settings. I'm not sure where to look for that.

Now, the workaround is obviously keeping a steady 25, 30, 40, 75, 100% backlight, and avoiding the Auto setting. If you keep it on a specific intensity, everything works as intended. I usually rotate through the Power Control brightness switch and try to avoid leaving it on Auto.

This is fine, I can almost deal with this, but it just seems like there's an easy fix here, right? :)
[HD2 Android SD Development] tyween:
In Cyanogenmod settings for automatic backlight make the first level 0-10 and brightness 30. Then set your other ones accordingly.
[HD2 Android SD Development] anush.isaac:
I am really sorry guys, I am totally lost!!! :confused:v:confused: kindly explain to me which brightness levels you are talking about?? I have my Automatic brightness control under display settings as off and I am using the second level of bright ness (if thats what you mean by 20).. I did not see this in other Kernels so has gotta be something with the Kernel right?? I could be wrong but jus my opinion... Some1 please explain jus a little lost.. :confused:
[HD2 Android SD Development] thehumble1:
Ahh, well I knew it would make it take a bit longer, but it seems about twice as long. I just installed the same kernel and build on my Wife's HD2 and hers takes about 2-3 minutes less than mine. I'm going to hunt for what else could be going on during the install and work on that a bit. I'm really not worried about the boot time though, because everything else is working great! Thanks so much.

I'm also checking into a build issue, because it is build-specific I think, but I'm getting 58-70mA at standby, even with everything off (Data, WiFi, etc). The battery data shows that my display is using 60% of the power usage, so something must be using display GPU cycles or it's an error with reporting. I'm using HyperDroid 1.7 but also got it with 1.6. With Bangsters 1.5 I'm getting about 7-10mA.
[HD2 Android SD Development] anush.isaac:
Hi I too see a solid 58mA on mattc Leo 1.8 with everything off on Stand by.. I haven't been able to figure out what is wrong.. I used to get 7-10mA with an Older Kernel, so I am going to try that out and I will let you know.. No Camera Fix for me though :( :( but a better battery is surely better than 5MP camera pics..
[HD2 Android SD Development] anush.isaac:
I guess I got a reasonable answer to my battery issues

Hi this is what I observe...

To get a decent battery drain (5-7mA) on Stand by is only by physically turning of data (mobile connection), maybe I was the one who was making the mistake all this while thinking we get 7mA drain with data (E/3G/H) turned on but in idle that also explains y I have high Cell Stand by/Cell Idle percentages from the Battery settings in Android..

I am a person who doesn't use a lot of data but I surely need data as an integral part.. It is kind of irritating to turn on/off the mobile connection each time you put away your cell but if I can get good battery life I am willing to wait till this get worked on...

On the whole loving the Android experience on my HD2

Thanks you all the Devs and the forum guys for your help..

Waiting for a NAND boot :p :p

Guess this solves my issue of battery drain..
[HD2 Android SD Development] thehumble1:
I have the phone on Airplane mode (nothing on, no Wifi, no Data, no communication). Still at 58mA.

Maybe on this I shouldn't run SetCPU. I don't run a task killer in the background. I make sure SetCPU is set to throttle down with the screen off. With michyprima's R11 I'm getting 5mA and mostly stable.
[HD2 Android SD Development] jmmmmm:
The problem is that the sensor does not reach 0 until you place in front of a light source. It sits at -1.

Check yourself (if your using a CM6 version) ...

1. Turn off phone.

2. Go into a completely dark room.

3. Turn on the phone.

4. Goto Settings -> CyanogenMod Settings -> User Interface -> Automatic Backlight

5. Check Use Custom

6. Goto Edit Other Levels...

7. Look at the Sensor value. It will read -1 / -1

8. Place the phone in front of a light source and watch the value change.

The sensor does not initialize until it detects a light source.
[HD2 Android SD Development] LondonTownGuy:
It's worth once in a while to rebuild your data image as corruption occurs and some problems maybe due to bad data and not the kernel. Eg. If having problems rename your current image to data.img.bak and let android build a new image. If problem still exists then you can go back to previous image without having to load all your settings,apps etc. I had some lag and freezing during calls with 7.4 and it seems to be gone now.
[HD2 Android SD Development] otaku888:
Good tip. Thanks.
[HD2 Android SD Development] leaskovski:
I updated to 7.6 and for some reason now, I cannot connect to the device with Andriod Commander. Anyone else seen this?
[HD2 Android SD Development] hastarin:
I don't have this problem. I've tried turning the phone on in a blacked out room, or even rebooting it. I am guessing this is related to particular builds, and I'd presume CM6. Search your build thread.

No idea sorry. All I can say is I haven't seen the issue with my current build so you could perhaps try other builds, but like I said it may be I haven't been long enough between reboots.

If you have WiFi on the Location service uses nearby WiFi SIDs to triangulate your position. Try leaving the GPS option turned on otherwise.

I usually have one or the other turned on.

I've seen people mention you can compile an EVO kernel with RMNET support but I've yet to verify that and haven't seen anyone do so. So for now I consider it PPP only. Mine is definitely PPP only.

That's not SOD. SOD = Sleep of Death = the phone never wakes up.

You're getting a delay on wakeup. I've normally seen this when someone has set a Screen Off profile in SetCPU that doesn't allow the phone enough CPU time to do what it needs to, so it has to "catch up" when it wakes up.

So if you're using SetCPU try disabling any Screen Off profile to see if that helps. AXI will lower the clock speed when the screen is off, you don't need to do it via SetCPU and if you lock the CPU too low (eg using the powersave governor) it may not be able to keep up with what it needs to do.
[HD2 Android SD Development] leaskovski:
I sometimes have a delay when waking the device. I am pretty sure I dont have SetCPU installed.

I am using mattc Leo + Froyo w/Sense 1.8
[HD2 Android SD Development] hastarin:
RMNET Test

It's been suggested to me that RMNET builds should be able to use an EVO kernel built with RMNET support as long as they're MTU is set to 700. They may also require gauner1986's latest rilwrapper.

Either way here is a link to a test kernel based on the one I'm currently using but built with RMNET support and without PPP support:

http://www.multiupload.com/KQWQEO1NDY

If anyone out there is on an RMNET build and wants to try it feel free to give it a go and let me know how you go, but I can't offer any help/advice/support for getting this running.

If it does work I'll see if I can release an RMNET version as well when I release a new kernel.
[HD2 Android SD Development] countersv:
@hastarin - I've tried your new kernel on Bangster 1.5 with RMNET settings, but in my case neither normal kernel with ppp nor the new one gives me ANY data. I'll install aLogcat and see more details. Maybe other ppl will have more luck.
[HD2 Android SD Development] morpheus1982:
Seemingly no data drops since updating to 7.6 a few hours ago.

Hopefully it will stay that way.

Good work.
[HD2 Android SD Development] plotzkella:
Thanks for the kernel, hastarin. I will test it soon. :D

I think this is an absolutely right decision to release a rmnet-based kernel for testing purpose because there does not seem to be any progress with the stability of ppp for weeks. :mad:

Does this kernel have the same core-features / functionality as your current ppp-kernel?
[HD2 Android SD Development] edding7:
Thank you very much for support non undervolt version!

There are phones that hangs on boot becouse of undervolting.
[HD2 Android SD Development] ccristal:
smd_tty?

Hastarin,

I've been monitoring my battery consumption using System Panel, as you suggested a few posts back. Following the same suggestion, I also removed setcpu. I've never installed any task killer.

Looks like the process responsible for most of the CPU usage is something called smd_tty, which is a system process. I have no idea what that is, but maybe you can shed some light on that, or suggest additional investigations that I may be able to perform... Any idea?

Should it be of any help to you, I'm using your 7.5 kernel.

Thank you!

ccristal
[HD2 Android SD Development] kaiserlein:
Didn't work for me on Core Droid 0.5 and O2 Germany. Phone won't connect :(
[HD2 Android SD Development] naps1saps:
I was using 7.6 for the first time. my extended battery was installed. I was finally able to see the percentage. I let it charge overnight. It powered on when i unplugged it like normal so i turned it off.

then when i got to school i tried turning it on and it wouldnt come on so i reset the phone. now everytime i boot it boots to a black screen instead of the "desktop" and crashes without buzzing. Ive tried a standard battery and extended battery and both have the same outcome. I've tried reloading the build to no avail.

Is there a config file that got saved somewhere and is messed up? I am not going to format the sd card.

I am trying the non overclocked version now to see if that is the culprit.

*edit*

No it does not work. The boot screen kind of fades to black like it's going to go to the desktop. keypad lights up and goes off but no screen ever. I'm running shubcraft 1.5 and froyostone 3.2
[HD2 Android SD Development] bob@radventures.com:
Instructions

OK. So, when my Wifi didnt't work. I followed the step by step instructions for manually copying the tun.ko and bcm4329.ko files to the system/Lib/Modules folder, and ran the script. This worked!

This leaves me with 2 questions-

1. What do I with the tun.ko and bcm4329.ko files which are in the sdcard/Android/Root/Lib/Modules folder?

2. I am using HTCLEO and in the lights file in the System/Lib/HW folder is called lights.qsd8k.so. I read something about how these files need to have the same(??) and I have 2 questions about this:

a. Am I supposed to rename the file in the System/Lib/HW folder to lights.htcleo.ko, or leave it alone? By the way, in this folder, I also have copybit.qsd8k.ko and gralloc.qsd8k.so. Do I need to do anytyng with these?

b. WHat, if anything, should I do with the lights.htcleo.ko file which is in the sdcard/Android/Root/system/Lib/HW folder

I'm sure my lack of programming knowledge is coming through with these questions, but I want to get it right.

Thank you again,

Bob
[HD2 Android SD Development] hastarin:
My only thought is perhaps you had auto-backlight set and the phone is on just with no backlight. I haven't seen that in Sense, but it's possible. Try putting the phone under a light globe.

1. Since you manually copied them in you can safely delete them from there.

2. a) No, backup your existing file (lights.qsd8k.so) and copy in the one I provided as the same name.

b) Once you've copied in as in (a) you can delete it.

Yes, as I said, it's the same as I'm running on my phone just built with the RMNET option instead of PPP.

Yeah so far it's not looking promising. :(

You can use the Dalvik Debug Monitor to further debug things if you know what you're doing.

In my case I've done that via Android Commander (Tools/Run DDMS) and found system_server.ProcessStats was stuck in an endless loop throwing exceptions but I still couldn't figure out how to fix it.

Just FYI my smd_tty process has very little CPU usage. It doesn't even show up in System Panel.

Thanks. It seems it's not a simple fix then.
[HD2 Android SD Development] bob@radventures.com:
Big Problem- Help

OK- so I tried to copy the lights.htcleo.so file to the /system/lib/hw folder. I am pretty sure I forgot to use the "SU"command and the file did not copy. Unfortunately, I moved the current lights file out of the /system/lb/hw directory.

When I rebooted, my phone froze when the screen changed to the white HTC screen and as it started to scroll the text "quietly" The word "Brillient" never makes it- my screen goes blank (although it is back lit). This is as far as I get.

Without access to Android, I don't know how to edit the Android folders. I'm dead in the water at the moment.

Also, I can't fgure out how to use Android Commander. I find installing this program very complicated and confusiong.

Is there any other way to either edit the /system folders from windows mobile, or my PC, or start from scratchan re-install Android to fix this.

Thank you si very much
[HD2 Android SD Development] Spirit81:
BUMP!

btw.

I try to change

radio from 2.12 -> 2.14

wm rom vbn and ozdroid

droid rom Mdeejay eVo Sense 1.7 and phireMOD SkinnyEVO v1.5

p.s. that problem for me exist only with Evo roms

thx for help
[HD2 Android SD Development] slackersink:
Decided to give the rmnet 7.7 a shot on mdeejay's desire hd rom and it wouldn't connect. In that forum a guy said it was working ok, but he mentioned wifi. :p 3G wouldn't work. Wish it would, rmnet never had an issue with my phone.
[HD2 Android SD Development] voltaje:
Hastarin 7.6 has bad battery drain, I switched back to hastarin 7.5 kernel and battery life is really good again. It's because of a little change they did on the official evo kernel in which they increased the driver current.
[HD2 Android SD Development] clio94:
The code *#*#4636#*#* doesnot work on evo roms.To switch 2g-3g download from market the app Network from phillip mangelow http://androidapplications.com/browse/developers/1158/philipp-mangelow
[HD2 Android SD Development] hastarin:
You could copy the system.ext2 file back from the build. That should at least get you up and running again.

That's a PPP build, so there is no point trying the RMNET kernel on it.

7.6 battery drain should not be THAT much more. The TS driver gets an extra 6mA

I guess if you're using your phone heavily that might make some difference but I can't say I've noticed a huge difference.
[HD2 Android SD Development] jmmmmm:
ALCON,

There is a ppp patch that get BT working with a CM6 build.

http://xdaforums.com/showthread.php?t=769026&page=632

I can confirm that it works.
[HD2 Android SD Development] bob@radventures.com:
Perfect advice once again. Thank you Hastarin
[HD2 Android SD Development] polo735:
Thanks for this, it worked for me on bangsters 1.5.
[HD2 Android SD Development] RobertsDF:
Just gave it a try on androidmedaultimate and its a no go. I used the 9/28 wrapper was well but just noticed there was an update to it today 10/23. I/m not sure if it would make any difference. I don't have access to a linux setup right now to compile it, maybe you could and I'll give it a try?

http://gitorious.org/htc-hd2-android-libraries/libhtc_ril_wrapper
[HD2 Android SD Development] hashnon:
In fact the latest libhtc_ril_wrapper.so might be main problem with that.

I've tryed to use it with shub8i's 1.5 PPP and with it and with or without changes to init.*.rc files the data connectoin wouldn't start at all.

Try use the old one which came with your build initialy.
[HD2 Android SD Development] naps1saps:
I did some more tinkering. the phone comes on now but just shuts off like the normal zimages when i have the extended battery. Sim card pin appears then Buzzzz, shuts off.

*edit*

the standard battery is now working which means my extended battery is "overheating". So I used battclock in WM and my extended battery is reporting 95C degrees when cold. Looks like the temperature sensor has either switched to farenheit, lol, or the sensor went bad. Just kidding the sensor went bad.

It only happened after charging the phone overnight from 75%. I don't know if the new zimage had anything to do with it or not, but just a heads up. And BTW it is a genuine HTC extended battery.

Makes me really disappointed because I've only used it once since I got it, lol. Time to contact HTC for a replacement. I hope.
[HD2 Android SD Development] xlanhackerx:
Hey I like this type of Kernel because it has all the Function which I needing.

BUT THERE ARE SOME WRONG PERCENTUAL CALCULATION ON THE LAST VERSION !!!

Informations from the hastarin- Branch:

--Commit 1c8a054c330b85597248d2f36477c6cbc1d3d9d2

Now my Battery doesnt charged right with the Release r7.6 Version!! .. If I used the Original zimage from official Git-Branch the Battery (Normal one, not the extended one) worked !!

Hoped that HASTARIN fixed this in the near of future because I need this type of driver for extended Battery and some other Stuff !!

Greetz
[HD2 Android SD Development] veryxcit:
This may be distribution related, I'm not sure. I'm using shubCRAFT (CM6 based) and lastest hastarin. Every time I edit stuff (or remove) in the /etc, it reverts back to default on reboot :/. I need to apply this fix http://xdaforums.com/showthread.php?t=805002, and I can't .. .since it always goes back to default :). Any ideas wtf is going on?
[HD2 Android SD Development] hastarin:
Actually it is a bug in the main tree. If you look at the dates of those commits this is from me experimenting trying to find a fix after 7.6 was released.

If you check my FAQ you will also see I cover a workaround.

Sent from my HTC HD2
[HD2 Android SD Development] hastarin:
Sorry to hear that.

Make sure all your pins are contacting. If one of them is having trouble you might get this problem.

I have not heard of any such issues from other extended battery users.

Sent from my HTC HD2