yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] materoprodutions:
battery drain after reboot

build is great, yesterday everything perfect and great battery drain about 6ma for the whole day even after calls. I applied all the patches from previous posts, including 1.8gps NA uodate evry 24hours and the disable for proximity.This morning i turned off to calibrate, I erased the battery stats and all of the sudden i'm back at 64ma, even without any calls, I don't understand why!

what I did was

after charging all night it was at 100% charge and current widget to 0ma, then I erased the battery stats with the battery calibration app

I shut down the phone keeping the cable connected. Rebooted from windows mobile, and when in android again and current widget to 0ma I disconnected the power. Since than I never got back to the "normal" level...this thing is driving me crazy....

thank you.. this build for everything else is perfection!!!!
[HD2 Android SD Development] cariocap:
If you're using BT, disabled it and check battery drain in a few minutes.
[HD2 Android SD Development] materoprodutions:
:(

not using BT never turned on...
[HD2 Android SD Development] luk1:
Yes, i've read the instructions (they are pretty simple, but didn't work in my case). Actually the current build Cyanogen CM7.1 start working after i put to its folder data.img file from another version of Android (2.3.1 i think) :)

Thanks!
[HD2 Android SD Development] xavierh:
I restore the file that I backed up in the 19, rebooted.....NO ROTATION.....this is the weirdest thing. Times like some how it got stuck. There is no accelerator function ( tested with GPS Status). I can live with this because the battery life is so much better
[HD2 Android SD Development] ramsyst:
So far best build I used;)..But the market seems to force close on me .

I'm using July 15th build. Thx in advance
[HD2 Android SD Development] dttung80:
Friday................................. waiting for the beautiful burger. :D
[HD2 Android SD Development] Indianer:
Battery drain by Facebook Widget

@All: I found out that the latest Facebook Update here in Germany causes high Battery drain too.

So if anybody after all have problems with this you can fix it by deinstalling the Facebook Update.
[HD2 Android SD Development] p107r0:
maybe try to close it and clear data:

Settings / Applications / All applications / Market / Clear data

sometimes - in light cases - it helps
[HD2 Android SD Development] sanju.b80:
I really really really hope if the sensor issue is resolved here... Or at least if an option is provided in CynogenMod Settings to enable or disable proximity sensor.

:)

Thanks.
[HD2 Android SD Development] TheNT:
pfff i'm hungry :)

I could eat some spicy sensors...
[HD2 Android SD Development] diwa_sen:
Hi,

Thanks for this excellent build.

I am facing an issue while accepting a call and the phone will freeze. I just tried uninstalling skype and everything worked fine.

Did anyone come across this kinda issue?

Thanks,

Diwakar
[HD2 Android SD Development] rweitsz:
Proximity sensor temp fix

Hi

Installed this file from Tubgirl and my rotation still works. Proximity sensor is dead. I will see how my battery drain goes during the day.

View attachment sensors_htcleo_modified.zip

Thank you
[HD2 Android SD Development] hecatombercm:
i dont make voice calls but my sensor works fine for skype calls
[HD2 Android SD Development] Bazzz66:
+1 on working rotation and GPS, used also the file from Tubgirl :D

Batterylife has increased with 100% for me !!!
[HD2 Android SD Development] uzi2:
I thought skype caused all sorts of problems on the HD2 - freezing, loss of all sound etc...

Any tips and tricks?
[HD2 Android SD Development] RAMBO29:
Is it a good idea to disable proximity sensor?

If we disable the proximity sensor wouldn't the screen be on when making calls there by using even more battery?
[HD2 Android SD Development] sanju.b80:
Right.

However, the amount of battery drain happening right now because of the sensor problem is higher than the amount of battery drain happening because of the screen being on while on a call.

Plus, because there is 'no' sensor now, the screen times out after a particular amount of time. For example, i have set the timeout for screen to 10 sec. So after some time on a call, the screen automatically turns off.

Why need a sensor then?? :) :)
[HD2 Android SD Development] rijaviaemo:
I also have the problem with skype crashing my phone process. Messaging gives me FC. Build 7/15
[HD2 Android SD Development] beetle:
I tried to install the fix with Root Explorer and now the rotation works!

Thanks to all!

Great fix for a great rom!
[HD2 Android SD Development] p107r0:
during the call yes, but it should be offset by the lower battery drain in standby, of course depending on the proportion of the time spent in standby and in calls
[HD2 Android SD Development] RAMBO29:
Thanks for the info.

2 questions:.

My proximity sensor is working.Checked with Androsensor app.However the screen does not turn off. Is it a problem with some settings?I never isntalled anything to disable the sensor.

Can we change the Kerner to something else by flashing like we do for Radio?I would liek to use one which can control the voltages.

Thanks
[HD2 Android SD Development] geenyous:
FAQ, Skype, Viber

Unfortunately the FAQ is a bit outdated in most of the topics, the root to .root was implemented not too long ago by cope and is not mentioned in the FAQ. This would not be too much of an issue if it was mentioned that you must be in wm or have your sd on pc, which isn't the case.

skype works here, but I only use it after I get a text, then I log on, make a call and log off again as the drain when skype is online all the time is quite bad.

For a few days I am using viber now, running in background all the time, consuming no additional battery and works quite well over 3g and wifi and also has tons of iphoneys on their network. Usefull voip at last.
[HD2 Android SD Development] uzi2:
Splashscreen

With the nand versions coming soon, I am sure this topic will come up.

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

My WM6.5 ROm has the Energy logo on the initial splashscreen and this is fine while using the SD build, but looks completely out of place when booting directly.

mskip has provided a good selection of alternatives in the above thread, but it would be nice to have something that would blend seamlessly into pwhitrow's ACA splashscreen.

Another challenge for pwhitrow... ;)
[HD2 Android SD Development] uzi2:
So the short answer to have avoided "seven conflicting replies" would have been "follow the instructions in the FAQ, but remember to boot into Winmo or use a cardreader". That would have saved a few pages of this thread.

You can make skype quit without logging off, by using one of the many hacks that have appeared in XDA. You may also be lucky and get video call to work. I did, but as with the official version, it screwed up the dialler, so next time you get a call - no sound :(
[HD2 Android SD Development] sanju.b80:
1. The modified file is meant to turn of the proximity sensor. If u have used the file, they the proximity sensor should not be working. If the screen does not turn off during the call, it means the proximity sensor is not working. or at least doing the job we wanted it to do. If u have not installed anything to disable the sensor, it might be a minor malfunction that happens sometimes. Sometimes the sensor stops working and then starts automatically. A reboot should be able to fix it.

2, About kernel, i have not idea. I dont trust myself so much to replace kernels and expect them to run good. I'm not that techie. In fact, i prefer not touch the things i dont understand.

Why do u want teh kernel to be changed.
[HD2 Android SD Development] RAMBO29:
At present our kernel does not supprot voltage scaling. With my experience in laptops this can be the best way to increase battery life and make the device cooler. Hence i want to use a kernel which supports voltage scaling with an app than can undervolt it for more battery life and to run cooler.
[HD2 Android SD Development] geenyous:
Yep, but I only arrived once the mess was already there and I find that chinese saying of the fish and the man very convincing :D

So with that skype you would stay online aka available all the time?

Thats kinda cool, and if I don't try to mess with video I wont mess up my dialer, right? btw, are you referring to phone or skype dialer, do you have to reboot to get sound back?
[HD2 Android SD Development] sanju.b80:
Ok. How much of a battery life are we talking about?

I mean with the sensor problem tweaked and resolved, we all are hopefully getting a good battery life. Today would be my first day, but i'm already happy with the drain. Some other user has also mentioned that his HD2 is at 30% after 40 hours. Thats actually a miracle, unless he was completey offline all the time and did not touch the phone at all.

What is the battery life u think will HD2 have with the voltage scaling thing?
[HD2 Android SD Development] uzi2:
My reference to the FAQ wasn't aimed at you specifically, just a general observation.

I thought"give a man a fish..." was attributed to Haille Salassi...

No you still need to quit skype to save your battery, it just saves having to log in every time you want to use it. All versions of skype mess with my phone dialler and I have to reboot to get the sound back.

Swyped from my aHD2oid

Edit: here are the links to the skype threads

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

http://xdaforums.com/showthread.php?t=1153285
[HD2 Android SD Development] RAMBO29:
I don't have a number per se. Depending on undervolting I won't be surprised of a 20-25% increase. It makes a much more impact than underclocking if the mechanics are as same as the laptops which I believe it to be.Also not to mention reduced heat from less voltage.
[HD2 Android SD Development] geenyous:
Not really, never heard that before?

Would also be quite a big and wise insight for a early "western" placed dictator in the mid east...

Its a good 6000 years older. Not much of a proof, but google it and you will find chinese written all over it :)
[HD2 Android SD Development] Tubgirl:
You're very very optimistic. Not only would you have to undervolt the CPU by 20-25% which would render it unusable but you would also have to undervolt the GSM/3G radio, LCD display etc... since the CPU is only one part of many that's using the battery. Also undervolting the CPU will cause stability issues in general... on some HD2s it's obvious because the phone will totally freeze. On others it might come in the shape of FCs, spontaneous reboots and so on. I want my phone to be rock stable so IMHO undervolting the CPU is just not worth it.

Brgds... /Tubgirl
[HD2 Android SD Development] georgefayad:
Booting Android by HaRet.exe gets stuck on "Jumping to Kernel".. and i haven't found any definite fix. Any suggestions? Please Helpp!
[HD2 Android SD Development] RAMBO29:
It is for sure very dependent on individual chips.

Unstability for sure is an over statement. Too low voltage perhaps but undervolting not. We can already control the LCD so it is out of qn.There are many apps for Samsung phones around and they work very well.

There are many things which can also create FCs,reboots etc if you do not know how to use it.Even CPU settings in Cyanogenmod can make the phone freeze if you use wrong setting.

Anyways I am hopeful there might be some who is willing to look into this field.
[HD2 Android SD Development] RAMBO29:
Have you tried using an Android loader?
[HD2 Android SD Development] pwhitrow:
I do so love a challenge! Will take a look :)
[HD2 Android SD Development] prashanthm:
Which version of Radio do you have?

Also, what is the size of your Android folder?
[HD2 Android SD Development] Tubgirl:
Exactly... we all have different chips and what might be a good level on my processor may be useless on yours (I've tried undervolting and it totally messes up my HD2 so I don't want to do it again). Therefore I think that no undervolting at all should be the default setting so that EVERYBODY can enjoy these fine ACA builds. I prefer running at full voltage knowing that any problems I encounter on my HD2 is not related to undervolting. I wouldn't mind though if there was a way for people to experiment with undervolting as an option.

Maybe there's a way for WarCope to supply different files to be copied to the root folder similar to the "240buildprop" folder concept. Maybe "NoUndervolt"/"MediumUndervolt"/"MassiveUndervolt" :-)

Brgds... /Tubgirl
[HD2 Android SD Development] uzi2:
It looks like he may have quoted it and the Rastafarians then made it his.
[HD2 Android SD Development] PlayStation:
Anybody feeling airie.........!!!!!!!! :rolleyes:

Here is Culture's Addis Ababa:

There is a land far far away

It's called Addis Ababba

There is a land far far away

It's called Addis Ababba

The ruler of the land

Which is far away

His name is King Selassie

King of Kings and Lord of Lords

The ruler of the land

Which is in the East

His name is King Selassie

There is a land far far away

It's called Addis Ababba

There is a land far far away

It's called Addis Ababba

Babylon them

They want to take away

The Ark of the Covenant from yard

The Ark of the Covenant

Cannot be taken away

From Addis Ababba

Respect!

There is a land far far away

It's called Addis Ababba

Here me when I say

There is a land far far away

It's called Addis Ababba

King of Kings and Lord of Lords

Ruler of Creation

His name is King Selassie

Mussolini tried to invade Ethiopia

But the Conqueror

His name is King Selassie

Rule and respect

There is a land far far away

It's called Addis Ababba

There is a land far far away

It's called Addis Ababba

Wonders of the world

The great River Nile

Is found there in Africa

The great treasure of Axum

Axum of Zion
[HD2 Android SD Development] shost:
GPS Zone

Cope & Warren

Attached is my script for modifying gps.conf according to parameter gps_zone=...in startup.txt

In mine I have this line:

set cmdline "rel_path=Android gps_zone=cz nand_boot=0"

Wold You consider including it in You wonderfull ACA?

Who wants to test it, archive is prepared for unpacking in Android folder on SD card. Do it in Windows or using card reader, not in the phone running Android!
[HD2 Android SD Development] RAMBO29:
How have you tried undervolting before?

And just because some people do not know how to use something why should everyone be denied?It's like saying block all the BIOS's in all computers because I messed it up in past.
[HD2 Android SD Development] d3m0n1:
Maybe THIS can be built in into the kernel, and everybody can experiment with their own CPU Vdd settings.

I have used it a lot, back when hastarin implemented it in his kernel. I wrote a simple script that I ran at every statup to set my Vdd levels to all the frequencies that the CPU was using. But to be honest I did not experience any battery life improvements, but that could be because at that time builds were still in a very experimental state. With ACA we could actually see some improvements with undervolting ;-)

brgds

d3m0n
[HD2 Android SD Development] p107r0:
would be nice to try, although frankly speaking, I'm not convinced there's much to be gained with display being the main battery eater (also been trying to prolong my laptop's battery life with uv, and the savings were far from spectacular)
[HD2 Android SD Development] Tubgirl:
Did you even read my post?? I clearly write:

"I wouldn't mind though if there was a way for people to experiment with undervolting as an option.

Maybe there's a way for WarCope to supply different files to be copied to the root folder similar to the "240buildprop" folder concept. Maybe "NoUndervolt"/"MediumUndervolt"/"MassiveUndervolt" :-) "

In the past I've tried undervolting when beta testing kernels for both Hastarin & Michyprima and on my HD2 it really sucked. A couple of weeks ago i discovered that the ACA kernel was undervolted too much since it rendered my HD2 useless. After Warren kindly enough upped the voltage I could use newer ACA builds again.

Brgds... /Tubgirl
[HD2 Android SD Development] RAMBO29:
Great.In past with undervolting there was absolutely no improvement in battery life or temperature what so ever?
[HD2 Android SD Development] geenyous:
really, is display the main battery eater on your device?

It never is here, at least it never appears in the top 3 of drainers.

After my phone died on me again yesterday evening I decided to stop givin a %&*# if my battery will loose durability and decided to have the phone docked all the time as long as I am near a power source. Lets see if it negatively affects battery, but all that drain watching and going out with 40% hoping you'll make it through the evening is definately not worth the 30 $ for a new bat...

sounds about right after they "recognised" him as a descendant of Jesus... ;)
[HD2 Android SD Development] Tubgirl:
In addition I think 3G/GSM usage drains a lot of battery. Try streaming internet radio for a couple of hours and see what it does to your battery. Also keeping the data connection active all the time and push email will drain battery... so undervolting your CPU a few percent won't do much to improve your battery life.

Brgds... /Tubgirl
[HD2 Android SD Development] p107r0:
that's the beauty of our batteries, living with a cord attached and on the constant lookout for power source; anyway, from what I've read on LiOn batteries, it's healthier to not discharge them too much, instead using more frequent and shorter charging cycles, so maybe it'll work for you

I agree, simple checking for market updates can drive the current to 600-ish mA level, shame on me having somehow "forgotten" to mention the radio usage, maybe because my device works mainly as book reader / portable cinema, with much less emphasis on data connections (given a choice I prefer to use PC)
[HD2 Android SD Development] sanju.b80:
Market downloads into HD2 from PC.

Hi Guys,

One good thing i noticed when i came to android was that when i wanted to have an application from the market, i could select it from the PC and click on Install. If my phone was online, it would immediately download the application on the phone and install it. That doesn't happen for some of the last builds.

Anybody else missing it?

Thanks.
[HD2 Android SD Development] hagba:
The latest version is greatest,just one personal problem!!,the entire layout,icons texts and everything else is too small,and since I am almost 77,its getting really annoying,I looked around for any settings might help me ,but couldnt find any,so my question is the obvious,IS there any way to make everything larger???.

thanks and keep up the good work.
[HD2 Android SD Development] p107r0:
Check the first post, there should be some info on how to apply the 240 in build.prop.
[HD2 Android SD Development] PlayStation:
Since you are a senior citizen I will make it easier for you. Open the folder called 240buildprop and copy the folder called root and paste it inside Android. Do this while your card is connected as Mass Storage Disk while booted in Winmo or using your PCs card reader. You could also copy and paste root while booted in winmo without even needing to connect your device to the Pc. Now boot your device back to Andoid and you will have standard size icons that will not cause pain to your eyes...... ;)
[HD2 Android SD Development] sids8065:
Small Lockscreen issue

Hello. I have a small issue with the lockscreen. Not issue per-say but little annoying. The lockscreen the sliding tab is towards the center of the screen and not at the position where it is supposed to be. Seems like the lockscreen dose not extend to the dimensions of the screen. However the lockscreen wallpaper stretches the entire screen. Is there some setting I can tweak to fix this. Thank you
[HD2 Android SD Development] hagba:
Thank you very much,wonder how I missed that,The world looks much better now.
[HD2 Android SD Development] Robbie P:
Its always a good thing to help out senior members;)
[HD2 Android SD Development] materoprodutions:
patches clarification

I got kind of lost with all the patches and updates, can anybody confirm this?

actually the patches and updates not included in the build are:

RAM SCRIPT: S97ramscript that needs to be renamed to "97ramscript" an goes into

system/etc/init.d/

AGPS update NMEA 1.8 that goes into system\lib (as the folder structure in the downloaded file)

AGPS 24h update north america (or your region) that goes into \system\etc\gps.conf

PROXIMITY SENSOR DISABLE: goes into system\lib\hw\sensor.htcleo.so

Did I miss something? Are all of this patches and locations correct?

I just want to be sure and make sure that there is no confusion.

Thank you
[HD2 Android SD Development] xuix:
Same issue here, before it was working, but now not working... in website it's write installed but nothing in the phone.
[HD2 Android SD Development] dyval:
May I know how you installed it? I think it will also benefit ACA users.. thanks
[HD2 Android SD Development] uzi2:
The answer is 2 posts above yours ^^^

I've been using this and it appears to have a beneficial effect on battery drain. Nothing I can quantify, but I don't think I'm imagining it...
[HD2 Android SD Development] dyval:
I'm currently using ACA build on my signature, using setCPU without any SOD or other problems
[HD2 Android SD Development] dyval:
you can download the LCD DENSITY app in the market for free. I'm using it without any problem. You can easily set screen resolution with that app.
[HD2 Android SD Development] dumbquestion:
circular battery?

I have searched everywhere but where the answer lies... hoping for some direction. I had about a week ago, downloaded an apk file that added nice % circular battery icon, now can't find it since doing a fresh & clean install. several of the alternatives I have found on other device forums and around the net just freeze my device or don't even get started. Anyone got a working apk?
[HD2 Android SD Development] newbietruly:
Easily solvable with button savior to turn screen off
[HD2 Android SD Development] uzi2:
See post#3
[HD2 Android SD Development] daniel_kiefer:
Quick/dumb question. I'm away from my computer right now and can't remember how to set the screen density manually. Was hoping to do it to Jag's MIUI rom.

EDIT: I figured it out.
[HD2 Android SD Development] dumbquestion:
I'm not that "quick" or I would have looked at post # 3 for my battery icon question like uzi suggested. thanx uzi.
[HD2 Android SD Development] Nemesis2k9:
Do you a blue line running through high lighted options? I really want to get rid of it but don't know how.
[HD2 Android SD Development] Tarheel:
knucklehead

I cannot find the files you are talking about either on my sd card while using card reader or in in my android folder these directions seem so simple but apparently not simple enough for me
[HD2 Android SD Development] shamez23:
We are talking about patches. That means you add something (a file) to your system, that wasn't there before or you change a file that is already in your system or you exchange something that is in your system by a newer or changed version.

The files

sensor.htcleo.so

gps.conf

are there, they need to be changed.

The other files are not there, you have to copy them to your device.

Use ES file explorer from Android market, give it root rights in settings.

Click on the sd card icon. It will change to a house icon. Now you look at the system, not the files on your sd card.

Get the patches and apply them, if you think that will help.

I for one don't use those patches but rather stick with what cope and warren give me.

Maybe you should do the same.
[HD2 Android SD Development] orangekid:
I'm pretty sure the next update will have any gps libs incoporated into it.