yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] cariocap:
I did a small test. I asked my son to call me twice.

In the first call I only press the speaker, finish the call and after 2 minutes my battery was back to 8mA drain.

In the second one I put the phone near my face activating the proximity sensor then I finish the call and 2 minutes later my battery is draining 68mA.

It won't stop draining 68mA until I turn off/on the phone.

It seems that the problem aren't the calls but as someone stated before here it's the proximity sensor.
[HD2 Android SD Development] reijkelhof:
I use setcpu with screen off profile (min/max 245).

Maybe the proximity sensor screws up in a call (screen goes off) and after?

Could the current problem be connected?
[HD2 Android SD Development] cariocap:
That's why I added the "In Call" profile as the first one at SETCPU profiles.

Add this profile and see if it help and let us know.
[HD2 Android SD Development] AGrigorov:
WOW... after 24h of working, but no calls or other activity (just 5 minutes browsing and couple of missed calls (I mean it was ringing and vibrating)) and most of the time in a place with low signal, the battery is at 61%. Amazing! (I forgot to add, that my batt. is 1.5h old)
[HD2 Android SD Development] dttung80:
Everything ok but have SOD for 2nd times. :(

1. After install the ACA 15Jull ( with old data.img), i make 2 restarts for make Android complete loading, after that I config Screen to 240 prop then restart, my phone turn on normaly, i lay it on the table and to to do some customer works about ~ 30 minutes, when i return to take the HD2, it have SOD ( press hard buttons manytimes but not affect. -> reject battery ).

2. After 2 days use normaly, i turn off Wifi, turn off 3G, put HD2 in my pocket, go to basement to take my motobike ( no have phone signal zone ), go to the coffee shop. At coffee soft, my phone have SOD.

End report and regards,.
[HD2 Android SD Development] sanju.b80:
Hi,

My findings and corrections here on the previous post of mine. Although the setCPU settings have removed the wake-up problem, My battery drained from 70% to 20% in offline mode overnight !!! Everything off. WIFI, BT, DATA, Screen and in Airplane Mode. And my battery drained 50% from 70 to 20 in just 6 hours.

I think i'll install SetCPU again. I'm gonna give it a try and confirm again if its because i removed setcpu.

Thanks.
[HD2 Android SD Development] warrenb213:
Sounds like we need to investigate a prox sensor issue :)
[HD2 Android SD Development] webvan:
No SIM in my HD2 so don't use it as a phone, but the drain has been pretty heavy with 0715 unfortunately, more so than with older versions I reckon. Right after the update to 0715 the drain was minimal but GPS didn't work for me so I used Tytung's v1.7 GPS libraries with GPS. He mentioned some ROMs were having a high drain problem so he released v1.8 and I updated this morning, but no change for me, still a very high drain.

To see if that helped I killed all the processes with smartbar. No change. Confusing...
[HD2 Android SD Development] prashanthm:
About time :D

Thanks Warren!
[HD2 Android SD Development] PlayStation:
Hi Warren. Yes please investigate this issue for us. I hope this could somehow also be related to the high drain with BT on so that we can finally lay the battery sucking ghost to rest once and for all. :p

Any comments about the SetCpu settings as commented above by some users?
[HD2 Android SD Development] TheNT:
Oh yea :)

Litlle bit of reverse enginering... why not ;)

maybee just sensors librarry from other build?
[HD2 Android SD Development] Cerisal:
As I stated before, I also had high drain after using bt headset, which also disappeared disabling the sensor.
[HD2 Android SD Development] PlayStation:
Thank you for the info. I am sure Warren will give it the attention it deserves.

By the way what are the immediate effetcs of disabling proximity sensor especially for those of us who put the phone to the ear..... :eek:
[HD2 Android SD Development] Harry_79:
thanks warrenb

removed data.img

I ran back and helped
[HD2 Android SD Development] rweitsz:
RAM Boost

I added this script and my phone also seems to be a lot faster.
[HD2 Android SD Development] Cerisal:
You will save money because you hang up calls;).

As soon as I am at home (in 6 hours :( ), I'll upload my changed lib for those who don't want to hexedit files. I asume it is the same for all phones (us und eu versions).
[HD2 Android SD Development] cporeaux:
For those who still want screen of, there's an app that can uses sensor instead of proximity sensor, as a patch :

Screebl lite : https://market.android.com/details?id=com.keyes.screebl.lite&feature=search_result

I didn't try it, and some find it usefull, some not...
[HD2 Android SD Development] NEO130:
Please, where I can find the 200 lcd density for screen resolution ?
[HD2 Android SD Development] uzi2:
Follow the instructions in post#1 for the 240, but edit the build.prop file to read density= 200 instead of 240

Swyped from my aHD2oid
[HD2 Android SD Development] blackhumor918:
I tried it just now, unbelievable quick fix - 3 sec from a cold boot. Of course i applied gps.conf_enable_auto_AGPS_update_every_24hr within this post.

http://xdaforums.com/showpost.php?p=15764172&postcount=1575

Thanks
[HD2 Android SD Development] geenyous:
Are your position readings accurate?

I found 1.7 much better in that regard, 1.8 is 40-50m off on gmaps for me. Also navigation with maps is jumping every 20m or so...
[HD2 Android SD Development] NEO130:
Thanks uzi2, that was very easy. :)
[HD2 Android SD Development] blackhumor918:
no, i got the similar experience with 1.7, but fix much faster than 5-10s of 1.7.

Have you applied gps.conf v1.8 of your region that AGPS auto 24h update enabled and make sure its latest updated?
[HD2 Android SD Development] AGrigorov:
And just as I expected... 6 hours later I received a call, and from 48% it went down to 10% in an hour and 20 minutes.
[HD2 Android SD Development] cariocap:
Hi Cerisal,

Have you tried to include the line gsm.proximity.enable=false in build.prop as stated here ?

I haven't tried yet.
[HD2 Android SD Development] cporeaux:
For those who disable proximity, i don't if this program can allow you to have it work, managed by the app, or if it is fully desactivated....

http://code.google.com/p/proximitytoolextension/downloads/list

i didn't write the app, but it works on mine (but with default build.prop)
[HD2 Android SD Development] d3m0n1:
I first tried that, but that didn't disable the proximity sensor, it got disabled only when I changed the sensors.htcleo.so file with a hexeditor.

B.R.:

d3m0n
[HD2 Android SD Development] cariocap:
yeap, I found that too... :)

waiting for the sensors.htcleo.so from Cerisal
[HD2 Android SD Development] d3m0n1:
Here's mine.

copy to folder system/lib/hw/

but first make a backup of your original.

B.R.:

d3m0n
[HD2 Android SD Development] cariocap:
Thanks for the file.

The battery drain has stopped after a call and now returns to 8mA.

Cariocap
[HD2 Android SD Development] Cerisal:
Yes I tried this first, but it does not work for cyanogenmod somehow as I found out after I googled it.
[HD2 Android SD Development] xuix:
Wow! wonderful script! i just put it on my phone and now it's smoother than ever! i hope all my app work as same as before! intensive test in progress :D

thx
[HD2 Android SD Development] PlayStation:
I really hope that all these fixes, scripts etc will make it in Copes kitchen to make the flavours for this weeks burger. Looking forward to hearing from Warren about the proximity sensor and possible solution for the battery drain. For now I will continue with a trusted earlier build that serves me very well as I always end up doing something stupid whenever I mess with registry editor :rolleyes:
[HD2 Android SD Development] cporeaux:
French GPS.conf and auto-dl

Hi,

For french users, the gps.conf with ntp server update (fr+europe+worlwide) + autodownload every 24H...

Extracted from my phone,and furiously good working ;-)
[HD2 Android SD Development] walidhazem:
guys i wana update to 071511 but im stuck on the dancing green android, it stays on forever and gets heated after a while....btw i forgot to mention i love the American/Canadian Androids from 071111.....thx using maglrd btw
[HD2 Android SD Development] Cerisal:
Ok here is my lib as promised.

Copy it to /system/lib/hw/ and restart.
[HD2 Android SD Development] Tubgirl:
Thanks for the file. I extracted it to sdcard\root\system\lib\hw\ while in WM and booted Android. As expected the proximity sensor doesn't turn off the display anymore.

And I have to agree with all the others that have tested this. I have yet to discover any battery drain so far. I've made a few phone calls trying to provoke it to drain but so far it looks really good. Before I would often discover that it was constantly sitting at about 70mA... that hasn't happened so far :) :) :)

Brgds... /Tubgirl
[HD2 Android SD Development] prattjo:
RAM optimization script

Can you please explain what did you put and where.

Thanks
[HD2 Android SD Development] uzi2:
How is your test going?

Have you checked that it is actually running? Unless you rename it, removing the S, it isn't going to run in this build when there is 99Complete
[HD2 Android SD Development] shamez23:
Pull the battery and try again.

Sometimes you have to try several times.
[HD2 Android SD Development] JustX:
I tried that tweak someone posted a bit back. It seems to solve my wake up problem on my old ass build. The tweak is where you set the minimum cpu threshold to 245 instead of 128 in the cpu settings under the performance tab.

so +1 to you dude/dudette.
[HD2 Android SD Development] walidhazem:
thx for ur reply i actually tried it many times but nothing helped any solution???

thx
[HD2 Android SD Development] uzi2:
Double check that you have copied the correct files from the SDMagldr directory and the extensions are correct.

Do a Diskchk on your SD card.
[HD2 Android SD Development] hensond67:
So is there a way to fix blurry picture message issue yet?
[HD2 Android SD Development] geenyous:
I also applied the script, you have to dl it at the link, copy it to system/etc/init.d and remove the S so that its called "97ramscript" and then reboot.

Don't feel a very dramatic improvement but all works very good and fast, also free RAM is roughly the same (between 120-140mb).
[HD2 Android SD Development] ^^rac:
No Market

Dudes,

Fresh install, no market?

How do i fix?

I am able to download proggies, from my browser, so not a major?
[HD2 Android SD Development] walidhazem:
thx for reply, i tried what you told me but now it freezes on dancing android instead of continuous....any solution??? thx.

and i got a question, is anyone booting from magldr??
[HD2 Android SD Development] Mark_F:
I don't think 0715 works with magldr. I can't either. Saw some posts back someone copied a file from earlier build to fix it.
[HD2 Android SD Development] shamez23:
That is the first time I hear that. There are quite a lot of people that use magldr and ACA. There would be more than one post if this was a genaral issue.

@walidhazem

Backup your SD card and format it. Completely, all partitions. Repartition it.

Only copy the Android folder to your FAT partition, leave the rest of the card empty. Check again all steps necessary for magldr use.

See if it boots properly.

If it does, copy back the stuff you had on your SD card.
[HD2 Android SD Development] redjama:
I to can confirm that disabling the proximity sensor does in fact bring the after call mA back down to between 2-6 mA. Hopefully we can gtva fix for this in the next build. Only problem I've ever had with these builds is the battery drain. I have it temporary fixed for now.
[HD2 Android SD Development] walidhazem:
i will try that...thank you for ur help.
[HD2 Android SD Development] soapbox23:
Updated to current build...it's very snappy and good but the only thing is I'm experiencing random reboots out of nowhere. Using a TMOUS HD2 with a sandisk 32gb class 4? card and dual booting with wp7. Never had a problem with past builds but now i get reboots. anyone else have this problem?

the only thing I can think of is i manually put in tytung's GPS libs into the root/system folder but i don't know if that would affect anything. any help would be great!
[HD2 Android SD Development] frumpy:
Yep, I'm also confirming battery drain after call does not occur with proximity sensor disabled.

Thanks x 1,000,000 to the person who identified this issue.
[HD2 Android SD Development] prattjo:
If you are using Setcpu, try to change the minimum CPU frequency from 128 MHz to 245.
[HD2 Android SD Development] BishopB:
First off, great ROM.. I've been using it since the beginning and periodically updating. Anyway, the only thing I would love to have is a 'standard', if you will, or better dial pad. Is there a download for a good dial pad anywhere?!?
[HD2 Android SD Development] newbietruly:
Thanks for the file, Cerisal. It works on my U.S Tmobile HD2. Battery instantly goes down to 5mA after call.

Instruction by greenyous.

I applied it but the feeling is neutral because the build was already fast for me. :D I couldn't tell the difference. Thanks anyway!
[HD2 Android SD Development] soapbox23:
thanks for the reply. very noobish but could you tell me what that would do? is it because the processor is underclocked and this would underclock it less? it would probably affect battery life wouldn't it?
[HD2 Android SD Development] oainot:
Try TouchPal Dialer on the Market. This is predict.
[HD2 Android SD Development] thekoopers:
I'm with henson67 on this one. I searched the thread and the only thing peeps say is the user agent...change to Nexus One. Did that and same result. Even when I go to my Gallery all my pics are Blurry!?...Anyone have any other suggestions?
[HD2 Android SD Development] redjama:
My mms msg's are blurry as well. I just thought it was that way because of who they were coming from. My gallery pics are as clear as they should be, just the mms pic that are blurry.
[HD2 Android SD Development] prattjo:
It will underclock less, but for me it was the solution for freezes of the phone especially while using a music player that keeps on while the screen is off. You can always try it and go back to the original settings if it doesn't help or for any other reason.
[HD2 Android SD Development] copenhagen:
just checking in.

been spending the last few days perfecting something.

just finished and have left a present for the testers in the drop box.

(wanted it to work before I reported to anyone about it)

ill leave it for them to tell you what it is. (you already know about the magldr nand version going to be released soon.. this is something else) ;)

that said..... gonna throw on a compile and see if its done in a reasonable time -- ill put up an update for you all :)
[HD2 Android SD Development] sanju.b80:
I tried the tweak too. Changed from 128 to 245 and as of now, no wake up problems. Will test it for the entire day and comment at night. Thanks for the tip.
[HD2 Android SD Development] shost:
Dialer one

Sent from my HTC HD2
[HD2 Android SD Development] naturesbless:
I've been trying to get magldr to boot the 071511 build from SD.

This is the first time I've tried doing magldr.

I did task29 and flashed magldr113.

I put the Android folder in the SD card using the USB MassStg on Magldr. I changed the rootfs.img.sdmagldr to rootfs.img and copied both the rootfs.img and startup.txt to the main directory.

The SD is partitioned to have sdext3 and linux swap.

I did not edit any of the files except to rename the rootfs.img.sdmagldr name to rootfs.img.

It gave me the following error

Booting Android from SD

from MicroSD

Load zImage

K: /zImage

SD Kernel open failed.

Any help guys?
[HD2 Android SD Development] sanju.b80:
Call silent and Send MSG option in incoming call screen.

I wish there was an option to make the call silent on the incoming call screen. Also, if there was an option to send a message to the caller like we have in other OS.

Is there anything available in market that can replace the incoming call screen?

Thanks.
[HD2 Android SD Development] sanju.b80:
Yummy... :)

I'm sure its going to be a big bang!!!

Something related to HD recording? Really wish if thats it...
[HD2 Android SD Development] hensond67:
Hey Cope, is the blurry mms fixed in the upcoming release
[HD2 Android SD Development] sanju.b80:
Did you set the android folder path in MagLDR?

Check the AD SD Dir option and set the directory to the android directory.
[HD2 Android SD Development] sanju.b80:
Dialer one is a good option. I use it too, but the only problem is it does not refresh the dialled numbers after the call is over. For example, if i am dialing X contact which is 5th in the list, once the call is over, X does not come to the top. I HAVE to close the dialpad and come back to see X come over to the top.

Other than that, its a good dialer.

Thanks.
[HD2 Android SD Development] PlayStation:
I wonder.... Might it be something related to Nand but NOT Nand??????

Let the guessing game begin!!!! :cool:
[HD2 Android SD Development] naturesbless:
For some reason, MagLDR isn't reading the Android directory on my SD when I go to the AD SD Dir option under boot settings.

Do I need to reformat my SD card?
[HD2 Android SD Development] sanju.b80:
Someone sometime had helped me out of this. Not sure but if this is the same issue.

If u had angry birds installed, you will see the angry bird directory shortname the same as android. I'm not sure of the directory name. U must be mistakenly selecting the angry bird directory. Please check this and correctly select the directory.

If it is this mistake, it would work.
[HD2 Android SD Development] naturesbless:
It's already a completely fresh install. I already formatted the SD card (according to the instructions in the FAQ on post 1).

I can't even select the directory is the problem. :/
[HD2 Android SD Development] sanju.b80:
Ok. A different problem then.

U are not able to select the directory means exactly what?

U cannot see the directory?

U can see it but it wont get selected/highlighted?

U can see and select but then it gives u the same error?

What is the exact directory name u have given? Did u recheck on your PC if the android folder name is correct and if its directly on the SD Card.
[HD2 Android SD Development] Avatiach:
Waze + TuneIn = Crash?

Hey all,

One of my common usages of my phone is listening to streaming radio via TuneIn while driving my car and using Waze for navigation at the same time.

With 7/15, I tried this combination twice, and in both cases the device just froze and got stuck until I pulled the battery out to bring it back to life.

Was wondering if anyone else is using this combination of apps successfully?

As a test, I reverted back to the 6/23 release (not new install, just overrode the Android folder, even kept the same data.img), and the problem disappeared - I can now use both programs simoultanously.

I am not sure if this is related to the build or maybe to the new GPS libs or something else. Would be grateful hearing if this combination works for anyone?

Thanks!

(single partition, WinMo boot, 2.15 radio, stock rom, clean 7/15 install)
[HD2 Android SD Development] geenyous:
GPS, Dialer2, Silence call

Apparently some users are experiencing reboots with the gps libs, though I have tested 1.7 & 1.8 and never had any reboots. I still believe the main reason for reboots is a bad quality SD card, which can be from any brand. I had 2 SanDisks and only the second one worked with ACA, the first would reboot, worked very well on Pongsters Froyo build though...

Anyway, I have attached the old gps files which I have backed up, just put the folder in your Android folder WHILE NOT IN ANDROID and reboot, try if the reboots are gone. Alternatively you can try the new lib from qwerty.

I use Dialer2, small, nice and simple, really the best dialer I have ever used!

If you press the vol down button when a call comes in it goes to silent.

Alternatively you can also buy Tasker and set an in call profile to put your phone in silence profile as soon as you flip it over (face down), with that you don't have to take it out of the pouch.
[HD2 Android SD Development] walidhazem:
So I'm guessing that no magldr user has been able to boot the 071511 build?? Right ?
[HD2 Android SD Development] p107r0:
not tested personally yet, but I've seen several apps for this in the market, check those:

https://market.android.com/details?id=com.sander.TextAnswer&feature=search_result

https://market.android.com/details?id=com.droidea.smsresp&feature=related_apps

and similar on the pages
[HD2 Android SD Development] uzi2:
This should appeal to the Swiss, but I was hoping for something for all EU HD2 owners ;)
[HD2 Android SD Development] walidhazem:
ok guys this is my bad, i didnt edit the rootfs.img.sdmagldr to rootfs.img i just copied it to android folder as is :o:o.....im testing now and ill report later....for magldr users u have to edit the files in SDMAGLRD then move them to Android...hope it works:)
[HD2 Android SD Development] sanju.b80:
I use magdlr with the latest build.
[HD2 Android SD Development] uzi2:
Perhaps I should say "I told you so", but hopefully all is working well for you now...

http://xdaforums.com/showpost.php?p=15798907&postcount=12917
[HD2 Android SD Development] geenyous:
:confused:

omg, now you really got me thinking, new cheese/chocolate theme maybe, new clock widget, you guys can finally use your phone for automated tax evasion, or I can use it to plough my field, for skiing, it fights bird/swine flu, cooks fondue or raclette, or it automatically blocks minarets from installing (not too fond of that at all, but thats what you get when you live in a "real" democracy :mad:)?
[HD2 Android SD Development] tranquillo:
:) nice answer

greetings from nachbarn aus österreich
[HD2 Android SD Development] walidhazem:
maybe you should :)...yes its working and thank you for ur help:)
[HD2 Android SD Development] p107r0:
or maybe, just maybe, a new bootanimation?

[YOUTUBE]EaMNYH5493M[/YOUTUBE]
[HD2 Android SD Development] TheNT:
Animation is NHF but... childlish...

Something simplier and more tech would be nice.

Default "android" one is better IMO.

First thing i do on new build is removing animation zip.
[HD2 Android SD Development] p107r0:
I was hoping for a real cuckoo clock, something like this: http://www.youtube.com/watch?v=z4TzXkRdKvo
[HD2 Android SD Development] uzi2:
Don't worry, it's nothing to do with the boot.anim

It also has nothing to do with cuckoos :D

Yes, I like that one more :)
[HD2 Android SD Development] prattjo:
If you are using Setcpu, try to change the minimum CPU frequency from 128 MHz to 245
[HD2 Android SD Development] sanju.b80:
Is it only for the EUs? or the Swiss?

I dont hope so...
[HD2 Android SD Development] general1977:
I'm using GO Contacts. It's free and comes with a dialer included. I also use their SMS program (GO SMS) which is also great. I just had to cancel the GO SMS notifications because they caused 60mA battery drain until acknowledged. I'm using the standard system notifications now, which is no problem.

Regards

Achim
[HD2 Android SD Development] sanju.b80:
I prefer Handcent SMS. Its great.
[HD2 Android SD Development] geenyous:
Not sure how you are implementing that but form your post I understand that you have the system sms notifs, clear them and open GOsms if you receive one?

If you simply disable the pop up and text in status bar function it will not give you 60mA drain with GOsms. You can have its notifs and directly go to the conversation once you press your notif in status bar.
[HD2 Android SD Development] sacredabyss:
Hi guys,

This is a nice build, but for the recent update there seems to be a problem with GPS location. It just keep telling me my location is currently not available forever.

I have been searching this thread but got no luck.

is there any solution at all?

Thanks in advance.
[HD2 Android SD Development] PlayStation:
Who would not wish to drive a Mercedes Benz CLK-Class ????

Here is a little info and history about this beautiful Convertible..... :D

http://en.wikipedia.org/wiki/Mercedes-Benz_CLK-Class
[HD2 Android SD Development] pwhitrow:
random? :cool: