yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] ofsinreno:
I have been following this battery drain issue intently for the last week; and I hope the information in the prior post solves the problem. For the record here is my situation:

After installing this ROM I experienced the battery drain everyone was talking about- but once I unchecked the "use wireless networks" my drain went down to the 3-7ma that it should be for the next month. I am forced to use both WM and Android at different times. Regardless of how often I switched from one to the other I never experienced the high battery drain so many others were complaining about. Then I had to reinstall my WM ROM because I was no longer able to log into the Marketplace- and when I performed the install I used all the same settings as before; but now when I switch over to Android I get the 55-65ma drain on standby. I have tried switching back and forth between the two ROMs, I have made sure that all wireless connections are terminated in WM before switching over to Android and then initiating each one at a time, I have put the phone in airplane mode in WM and then left all connections terminated once in Android and the problem persists. I should say as well that before I run CLRCAD/Haret I disable Sense in WM- then reboot the phone, and then immediately run Android- doesn't make any difference.

Finally- I tried the fix posted earlier: turn off wifi, then GPS, turn BT on for 10 secs... etc. in the order it was posted- no difference.

It is strange that I never had the problem until I reinstalled the WM ROM. I hope we can find an update to fix this once and for all (though I know there are many who are NOT experiencing it) because I love this ROM.

T-mobile HD2

WM ROM: HD3.0 unofficial...

Radio: 2.15.50.14

Darkstone Froyo SuperRam
[HD2 Android SD Development] brainmaster:
For all of you who waited for the "Clear Notifications" button fix for my Framework - download the fixed zip files.

EDIT: I have fixed the white control buttons for playing videos. They are grey now.

Thanx to JohnCody for providing me with the SenseRAM Framework-res.apk file.
[HD2 Android SD Development] guardiantech:
freeze during lock

sorry if someone else posted about this but i searched and nothing came up....

This build as amazingly fast during use, on boot, and network wise.

But It seems like every about 5-10 time the screen times out or I lock it, it never comes back. Sometimes the button lights will come on when I press them and sometimes just nothing. I have to pull the battery. I have reinstalled about three times now and can reproduce the error even before I install or change anything.

Any help would be greatly appreciated. Thanks in advance.

Welcome back DS
[HD2 Android SD Development] Szczepanik:
Profile Switch

Profile Switch in Windows Mobile is useful for launching this fantastic darkstone SuperRAM FroYo. It can turn off Phone, Wifi, Bluetooth and Data in WinMob before launching CLRCAD & haret - all at the press of a single button. You can find [APP] Profile Switch for Phone, Wifi, Bluetooth and Data in the forum > Windows Mobile Development and Hacking > Windows Mobile Apps and Games.

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

Attached are screenshots of part of my "Android" Profile 08 showing WiFi & Bluetooth Switch Off first and, at the bottom, Start program with profile: Shortcut to CLRCAD, Shortcut to haret. Note I had to create the shortcuts to CLRCAD & haret first.

The other screenshot for your information shows HaRET: Booting Linux ... (taken with SK Tools) demonstrating that I do not use file explorer.

Less than a minute later (yes this darkstone SuperRAM FroYo really boots that fast!) you can use a similar program from Android Market: Toggle Settings | Profiles lite. This turns Auto Sync Bluetooth & Wifi on and off easily.

Using profiles, I switch quickly and easily between Windows (for travelling with TomTom) and Android (using WiFi for Dolphin Browser HD, gReader, XDA & eMail all in one). Battery in Android seems better than Windows. (See signature links for my HTC HD2 Leo ROM & Radio details). Standby is ~6mA. This thread has been very helpful - thanks! I hope this has helped to contribute back.

Cheers, Tom
[HD2 Android SD Development] EngineerMind:
Curious, what app are you using to estimate the remaining battery life?
[HD2 Android SD Development] brainmaster:
Fixed both issues. Please download the new frameworks.
[HD2 Android SD Development] TheRetroSpectrum:
So, after a lot of trial and error and reading through this thread, I've given up.

My phone continues to get hot and use loads of battery. Sometimes it won't even last 5 hours, even with everything turned off. Other times, it'll last over 14 horus, no problem, with ~20% battery life left, and with pretty much everything enabled (bluetooth, GPS, mobile data, wifi, etc).

I'm planning to switch to a NAND CM7 build for the HD2 - Is this a bad idea?

Who here has used the CM7 NAND build?
[HD2 Android SD Development] brainmaster:
I do. My personal opinion is that currently thats the best NAND build out there. Make sure to read the third post on the first page of the Nightly Builds. I did also some customizations for the Nightly CM7 Builds - frameworks, 1% battery mod, themes.
[HD2 Android SD Development] guardiantech:
Sleep of death

so no one responded to my least post yet, but ive been doing some troubleshooting and I found that pressing the back button as soon as haret begins to load seems to stop the sleep of death issue. its been a few hours now anyways and it was happening every 20 min or so. Hope this helps.

Also, I know the batt drain issue is well known but thought I would mention its happening tome too. tried all fixes listed. Maybe its related....
[HD2 Android SD Development] jcsy:
common problem after reading alot of threads from various ROM's since November 2010 and they all point to these as the battery drain issue

im still on 2.15 and i believe it issnt that problem now

I have removed the latest 5 applications and found the culprit

i can boot into Android 1000 times and always get 5-9mA drain

only for a few hours I couldnt figure out why I was getting 50-60mA drain instead

I installed Lotus Notes Traveller (company uses IBM Lotus Notes as email server app) hence this caused the battery drain to hike to 50-60mA

This application, like Button Saviour, uses Device Administrators (the only thing I found different)

I did remember I unchecked it from being a Device Administrator but it didnt reduce the drain after rebooting. Removing the app completely solved the problem and now after booting 12-15 times, its alwasy 5-9mA

much appreciated. I will definitely install this because I cant stand the default ROM's date display on notification and also the battery % indications

i have never encountered this problem

SD card block partitioning ? Radio ? Corruption prevention initgz?

Battery Monitor Widget

its better than Current Widget, monitors and outputs better files and estimates usage for you and its pretty damn accurate

now im getting 14 hours with EDGE turned on completely a whole day with 10% brightness
[HD2 Android SD Development] ofsinreno:
I just removed 6 random apps, then closed Current Widget and then re-opened it. Now my battery drain is down to 4ma, no BT on/off, no messing with WM ROM. I have to admit I don't understand, but it sends to be fine. I am going to watch it for a few days and then begin installing the apps I removed, one at a time to see what caused it. I will let you know.
[HD2 Android SD Development] dim1x:
O_o wheres the voice search?
[HD2 Android SD Development] dim1x:
Is there a chance that you'll make a "metal" skin like on the Desire HD?
[HD2 Android SD Development] duxerica:
Angry birds "Cannot install aplication" ??

I cannot install angry birds - i had it previously installed but it stopped working so i uninstalled it and tried to install it again. It crashes during the installation orr if i uninstall remaining data for angry birds in managed aplications it doesnt crash during the installation bit it says "cannot install aplication". When i reboot, the data about angry birds in managed aplications reapeares again.

I googled it but all solutions are for rooted roms. (something about unmouting sd card or deleting some file in secure android folder.)

Those anybody have a solution for this problem???

i also asked about sound problem on page 341 (#3405) bout nobody answered it. Please give me fixes for these problems.

Thanks
[HD2 Android SD Development] fflakes:
I once posted about 60mA drain that was fixed by changing the framework, and I have since switched back to brainmaster's percentage framework and drain remains at ~5mA, so maybe just changing the framework around and back may work, recreating some system file in the process.

For the angry birds, unmount your sd card before installing under settings.
[HD2 Android SD Development] fflakes:
Now for my own question -

Any way to expedite or eliminate the sd card error checking process on bootup other than decreasing number of files on my sd card?
[HD2 Android SD Development] Imperator Nick:
Hmmmm, twitter for Android app recently started to force close. No recent updates or anything just tried to refresh and it crashed, now crashes constantly. Using Tweetcaster for now, but any ideas on the problem or a possible fix? Tried unistalling, rebooting and downloading it again, no dice.
[HD2 Android SD Development] ofsinreno:
This looks great on my phone; but I keep getting force closes on google services framework. Did I do something wrong?
[HD2 Android SD Development] Omegavirus:
argh. can't get it to work.. at first boot always blackscreen & hangup or lockscreen & hangup. :(

tried with new init & data.img (1GB)

edit: want it to use with magldr 1.13
[HD2 Android SD Development] brainmaster:
Its not about Framework, your data.img is corrupted.

For me it works fine with MAGLdr 1.13. Make sure that the filename is initrd.gz and not newinitrd.gz. Have you pointed MAGLdr to boot AD SD from right Android directory?
[HD2 Android SD Development] Omegavirus:
yeah the filename is initrd.gz, the newinitrd.gz i've renamed to newinitrd.gz.bak

and yes, i pointed MAGLdr to the android directory.. what else could cause this problem? /:

while waiting for your help, i'll try another sd card..

EDIT: Doesn't work. ):
[HD2 Android SD Development] boonbing:
Thanks. Works perfectly for me.
[HD2 Android SD Development] jcsy:
Desire HD Framework for SuperRAM 1% Battery 3D Black Status Bar

downloading the file above and installing it soon, report back when its READY :)
[HD2 Android SD Development] jackchua65:
I exactly looking for this circular battery meter, can you tell me how you do it??
[HD2 Android SD Development] j_villebrun:
Touch the android to begin

First i want to thanks Darkstone for this build, it's realy the faster i've tested, as promise.

But i can't find a way to solve a problem by myself and after googling a bit, i decided to ask here if anyone knows how can i solve this ?

the problem is that after every boot of Android, entering PIN code after, the setup wizard starts with the "touch the android to begin" screen.

i rebooted 2 or 3 times but no changes, the wizard ever starts.

how can i setup the phone one time then let the phone remember that i've already been setting up the phone and never see the wizard setup after starting android ?

(i've never encounterned this kind of "bug" with any others builds i've tested)

tx for help
[HD2 Android SD Development] drkalo:
Almost same thing here - the build consumed power quite decently until one day the battery started draining completely for just 10 hours. I removed the last installed programs (the 2 versions of Angry birds in my case, Sygic Mobile Maps and Hide it Pro) and now the battery drain is back to normal. Might be that this build "doesn't like" being clogged with many apps. May be if a larger data.img is used?.... Don't know I'm happy with it now. :)
[HD2 Android SD Development] jadrobe:
I think you have to delete the root folder as stated in the first page in order to prevent doing the setup/fresh install over and over. Please check the first page.
[HD2 Android SD Development] jcsy:
i am using a 1GB data img

last night I moved many apps to SD card. I think about 20 apps there now.

when I moved them back to Phone data.img, i received the error process .com.android something vending.apk force closes :(

well, market didnt work soon after. then my data.img was giving incorrect storage readings and was unstable as hell.

so my suggestion is if you've moved an app to SD card, dont move it back to Phone memory

it will just corrupt the data.img
[HD2 Android SD Development] EngineerMind:
Basically, the framework-res.apk is really a zip file (just change the .apk to .zip to see for your self). Unzip the file and make sure to "use stored directories".

In one of the directories you will find a bunch of "status_battery_00.png" or a filename very similar to that and each file will have 01, 02, 03, ext. These are the icon for the battery percentage from 00 to 100 percent.

Just search elsewhere on this site for an battery icon set that you like, overwrite the 100 files from the original framework with your circle icons and rezip everything - remember to "store directory structure".

Then rename back to framework-res.apk and put in in the \framework folder where you got the original one from and reboot.

Thats it.
[HD2 Android SD Development] tiunilohmu:
Exceller Multiple Build Loader

Can you help me how to set it up in order to dual boot?

I have installed the Exceller Multiple Build Loader and configured the startup.txt as follow.

set cmdline “rel_path=Android data_size=1024"

i saw the loader icon in wm 6.5. Once I reboot the phone, it ran straight to wm 6.5

Any idea please help.

thanks
[HD2 Android SD Development] Choski:
Hi jackchua65

You said: "But, after a lot of research, I was able to install the HTC sense live wallpaper"

Could you please share how did you do it?

Thank you very much
[HD2 Android SD Development] j_villebrun:
Any other idea ?

As you advice, i checked the first page, looking for what do i have to delete, then i follow this instructions :

- After your first boot, make sure to delete the DATA folder on your SD card. It is stored under Android/root/data

But nothing changes

Every boot let's the "touch the android" screen running after pin code

No more idea ?
[HD2 Android SD Development] Weo:
noobs' install and battery issue fixes revisited

After reading through a LOT of pages on this thread (still haven't read them all), I have finally found the installation strat that works for my HTC HD2 (Leo), using T-Mobile and T-Mobile's updated ROM.

I am a noob, although I used some of XDA's suggestions and apps during the old T-Mobile MDA days. I previously installed DS's SuperRAM Froyo v1.5 on my HD2, but kept getting the very high battery usage in standby (around 60mA). I came across two posts in this thread (will note in a later post) on the update fix. I have to say that since using that protocol for installation and utilization, I have had 3-6mA usage during sleep, down from 60mA (using Battery Monitor Widget). Additionally, I have been able to turn on and off BT, WiFi, and Data, all returning to 3-6mA during standby (after turning off the above options).

I will post the procedure and battery drain notes from my last install later tonight (currently working on a paper and studying for a Quiz), for other noobs like me that are having issues with the install. I will also post later this week, as I try customizing and adding apps, using navigation, taking phone calls, etc. to report on any issues I have.

In the meantime:

1. Format your SD card before the install (I also disabled WiFi, Data, and BT in WinMo, but I don't know if this was necessary). I had issues with the 16GB SD card that T-Mobile put in during purchase. I experienced issues when loading large files/folders onto the SD card, such as my entire music folder. I think this issue affected my first install with the SuperRAM file (previous issues running WinMo6.5 programs stored on the SD card too; not related).

2. newinitrd.gz applied before first boot; deleted data folder before second boot. Edit: erased previous description... will comment in later post.

3. Don't forget to reboot after first boot and sync SIM contact list.

4. I should have tried using a larger data.img file, but was too busy trying different install procedures. Data image files are listed on page 175 of this thread, in post #1750 (Yellowbrother quoting atoore). Hopefully this won't be an issue for me, although I surf a lot (Cache) and use Maps, I don't use a heck of a lot of apps. I did not check to see if any of these data.img files work though. I might try one if I decide that my recent install procedure keeps the battery drain at 5mA on standby.

5. After I post my install procedure tonight, I will try to reinstall using a larger data image from the links on page 175 of this thread, post #1750, and see if everything is still working. I will post on the larger data image attempt tomorrow or later this week.

Again, I will post notes on my install procedure and battery drain stats later tonight... hopefully.

Hope this helps.
[HD2 Android SD Development] somebully:
For those of you who still got a problem getting gps fix after editing gps.conf, download GpsFix from the market. Works like a charm! Still takes ~1 minute or so though
[HD2 Android SD Development] boomboomer:
60mA possible fix?

On the 60mA bug, I've been experimenting and found that by disabling the GPS or bluetooth service

before

you exit the application that's using the service it seems to always return the radio to it's standby state and hence 3mA overall in standby.

E.g. go to settings, location and turn GPS off before you exit google maps, then exit maps and put the phone into standby. If you then check back later the phone is running at 3mA.

I've been doing this on and off all day and still no 60mA bug, anyone else care to test?

As others have posted this build/kernel seems to not reflect the true state of the radio switches, has anyone who has replaced the kernel found a fix?
[HD2 Android SD Development] benadler:
O.K. this RAM is very fast, and I had no Ram seen which is so stable.

Also new ROMS come out, but this is the only for every day used.

It's perfect and it runs under every application from Market.

What do you whant more.

Greetings

Benno
[HD2 Android SD Development] benadler:
O.K. this RAM is very fast, and I had no Ram seen which is so stable.

Also new ROMS come out, but this is the only for every day used.

It's perfect and it runs under every application from Market.

What do you want more.

Sorry but this is the best stable rom i ever used.

No Echo in voice.

Try it out.It's simple perfect for HD2

Greetings

Benno
[HD2 Android SD Development] jcsy:
anyone using dual launchers?

how do you keep both launchers in memory , permanently ?
[HD2 Android SD Development] jadrobe:
i tried installing awd and LP at the same time....it just asks you to choose when going back to the homescreen....so basically, what i did was set the other as default....
[HD2 Android SD Development] jadrobe:
what i did was set WINMO to Airplane mode, power off, then on, then boot as fast as you can to android while/even winmo is still sluggish....i think (just me) that the longer you take time in winmo, the more time the radio will "settle" there, thus giving you higher batt drain during idle...

if still getting 60mA drain, try disabling background data, wait 5 seconds, enable it again, then reboot that has always done the trick for me.
[HD2 Android SD Development] jonnyjett:
Originally Posted by jonnyjett

Help!

Everything was working well for about 3 weeks. Then I've begun getting the robot voice.

I've tried the speaker phone/hang up procedure but I'm not always able to press the Speaker button before it crashes. Then I get "Sorry, Activity Phone is not Responding" or "Sorry, Process com.android.phone is not responding" and have to force close. If I do press the Speaker button, nothing happens, except the phone freezes then crashes and I get the Sorry messages.

Afterward:

other calls made get to 27 secs and it hangs up, or it connects and instantly hangs up

no audio heard in the speaker

phone runs super slow

pressing numbers on the keypad takes a few seconds each

I loose cell reception for a about a min.

After rebooting, (after booting to Win 6.5) it hangs on the green "HTC", then I have to do a hard reboot.

Radio: 2.15.50.14

try fix permission .

1-Open terminal emulator

2-su

3-fix_permissions

4-wait until done .

I'm not sure what you are suggesting that I do. I installed terminal emulator and inputted the comands but I'm still having problems with robot voice even after using Darkstone's instructions. Can anyone help?
[HD2 Android SD Development] jonnyjett:
Anyone have an answer for this one: "Every time I swype the green unlock bar, the screen rotates clockwise 90 degrees to landscape."

And it looks like I have to use a seperate wifi tether app?

What about USB tether. Is that not possible to use?
[HD2 Android SD Development] EngineerMind:
My problem is that I need to keep the BT feature on so it will communicate with my car's BT system while driving. But when the phone goes into standby mode with BT on, it will draw 60ma in standby (even when I am not on a call).
[HD2 Android SD Development] jcsy:
Primary : ADW

Secondary : LP

i set ADW as default and created a shortcut in the dock to Launcher Pro

Home button defaults to ADW

and in Launcher Pro , a shortcut back to ADW

problem now is that Launcher Pro doesnt stay in memory , meaning after a day use of ADW for my work, when I switch over to LP for games, it loads a long long time.

any way to keep it in memory and never clear, as long as ive launched it once
[HD2 Android SD Development] boomboomer:
I looks like your installation has corrupted, format your SD card and start again, following the instructions exactly.
[HD2 Android SD Development] brainmaster:
Yes, under LP settings > General settings > Keep an memory.
[HD2 Android SD Development] Weo:
Thanks for the suggestions. Even though my install initially showed around 3-5mA upon second boot, third boot showed the high standby drain again (60mA). I tried the disable/enable background data + reboot suggested in your post, and it did the trick. Edit: Airplane mode was already set in WinMo.

I wrote that I would post my procedure, but I found that my data drops (and possibly my GPS?) after the first few seconds. I use the 3G and Maps extensively. So.... I will not post my procedure for noobs until I try a few more configurations.

The funny thing is... installing DS's original app, everything worked... in fact I tried it for a week without any issues besides the battery drain. Reading through the thread about battery drain made me realize that I should try the updates... and that's where I am now... with dropped mobile data and possible GPS issues.

I am going to read around the thread and play around with different updates/kernel patches to see what works for me. I am a relative noob, but being a scientist, I can figure it out. :)

I will post back on my success or failure, after I try a few different things. Thanks to everyone contributing to the thread.
[HD2 Android SD Development] jcsy:
turned that on and now going to see if that works