yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7 General] efjay:
MS should eventually update WP7 to be compatible with all the Exchange Activesync security policies which will give you the capability to achieve what you want. Additionally they have said they will add features so that enterprises will have the ability to lock down devices as they choose so if you are using Exchange already you may want to wait and see what MS produces. And you could always contact MS and see if they will let your company know what is coming down the road so you can decide whether to wait or not.
[Windows Phone 7 General] kaisersolo:
efjay Or anyone - Where at MS should I enquire about this, is there a email address for these type of enquires.
[Windows Phone 7 General] ceesheim:
to lockdown marketplace (disable totally) you simply have to mod "LKG_Tuner_Config.xml"

and there would def be a reg mod to disable facebook

maybe this (I am looking for more :)

[HKEY_CURRENT_USER\Software\Microsoft\Facebook\{A27A1782-535E-8F2D-9B81-4B6BA08FC179}]
"AccountState"=dword:3

[HKEY_LOCAL_MACHINE\Software\Microsoft\Facebook\Your_email@hotmail.com\Auth]
"State"=dword:[B][U]1[/U][/B]

[HKEY_CURRENT_USER\Software\Microsoft\GameFoundation]
"XboxLiveEnabledFlags"=dword:3

after you did that you can relock the phone and off you go :)
[Windows Phone 7 General] kaisersolo:
Sorry I'm New to this

To change the registry would you have to unlock the Phone?

Can you confirm that You can unlock and lock a WP7 Phone?

What are the implication of doing this ?
[XPERIA X8 General] epi pongi:
i've firstly root.ok.n then xrecovery.ok..but then when i want to enable JIT following this thread http://xdaforums.com/showthread.php?t=877565,

my phone suddenly can't connect to wifi.and then the xrecovery cant be perform...and other things,how can i perform this operation?

(1: enable JIT (in a termnial or adb shell)

cd adb

adb shell

su

cd /sdcard/JiT-toggle-0.1

sh enable_jit.sh)

i connect the phone to pc an enable debug mode,run cmd,but pc says cant detect..watsoever..

can anyone help me?
[XPERIA X8 General] Redpik:
If you followed all instructions for JIT and your wifi doesn't work means it wasn't the correct version of Busybox. I recommend you to install Titanium Backup hit Problems? and install busybox. Then, when you copy all files for JIT, don't copy busybox, because you have already the latest one. It should work. It happend to me, too. The nasty part is that you need to repair your Android with PcCompanion/ SEUS.
[XPERIA X8 General] epi pongi:
do i need to repair my phone first with pc companion or repeat again the step?

n how to run cmd?do i need to enable debug?i dont know how to do this instruction,1: enable JIT (in a termnial or adb shell)

cd adb

adb shell

su

cd /sdcard/JiT-toggle-0.1

sh enable_jit.sh
[XPERIA X8 General] Redpik:
Well, if you have your phone rooted with superoneclick, then you got adb.exe. You need to access that folder into cmd. ex : c:\superoneclick\ and then with the phone connected (usb debug enabled) you can enter commands like adb shell and su. Try it. But wifi and xrecovery malfunctions are symptoms that something went wrong. Eventually repair with PcCompanion. Good Luck.
[XPERIA X8 General] epi pongi:
when i run the command prompt,it says 'adb' is not recognized as an internal or external command,operable program or batch file..is this because i didnt rooted my phone well?
[XPERIA X8 General] Redpik:
Do you have adb.exe? Or superoneclick for root?
[XPERIA X8 General] epi pongi:
yeah.i have both.i downloaded superoneclick and inside ithave adb.exe..but when i click adb.exe,nothing happened.just a temporary command prompt about 2second and then its appeaered..
[XPERIA X8 General] Redpik:
now open start-run->cmd and go to that folder. And only there you can run "adb shell".

So, in cmd you must be in that folder in order to input all commands.
[XPERIA X8 General] epi pongi:
go to that folder?what do u mean?open cmd from the folder?or open cmd and click to the folder?

sorry for the noob question..
[XPERIA X8 General] Redpik:
This should look like. using commands like " cd .." to exit folder and use ' cd "name of folder" ' to enter one. it should work.;)
[XPERIA X8 General] epi pongi:
thank god.finally i know how to run command.thanks a lot redpik:-)
[XPERIA X8 General] epi pongi:
guys..help me.how am i to solve this command error?View attachment 506594
[XPERIA X8 General] Redpik:
Please follow this thread http://xdaforums.com/showthread.php?t=877565 .

If you connect your phone to computer, make sure not to mount the sdcard. So, click on USB CONNECTION and select TURN OFF from the status bar. Make sure you have SUPERUSER application installed to grant access.

If it helps you, please consider pressing Thanks button.
[XPERIA X8 General] epi pongi:
sorry redpik..

i got big probs.. my homescreen and apps icon become smaller and i dont know whats going on.

is it brick or something else?

i try to use pc companion and seus,but it keep saying no update for my phone..

seriously,this small icon thing make me crazy..
[XPERIA X8 General] Redpik:
I don't know what's with the screen, shouldn't have happened. Seus says no update, but Repair button is active so you can make it brand new. Then try again rooting and jit.
[Desire HD General] CitizenLee:
Great post! I'm sure this will come in very handy for a lot of people!

Here's a tip that you might want to add:

If you go to the dialler and press *#*#4636#*#* this will take you to the same battery information pages as Spare Parts does, meaning you don't have to install yet another app ;)
[Desire HD General] BorisDeviant:
You're right, thanks. Added the tip to relevant part of the Guide. ;)
[Desire HD General] billy_overheat:
a very nice guide! wiping is everything before flashing a new ROM is a must! after doing that, my device is actually making its life longer than before.
[Desire HD General] katem:
it's very very useful thread you saved me battery alot

thank you very much

this thread must be pinned to help others like me
[Desire HD General] bagiabanmaybay:
Sorry to ask but just to be clearer

I have rooted my phone and have not been able to calibate my battery due to Clockmod work bug.

Regarding the statement, is it correct in order to boot my phone, I need to fully charge,then delete the mentioned file and its done after reboot?

Btw, very handy thread, thanks mate

1.2- Calibrating the battery

Then, you should fully charge your battery. Not plug it off when the led turns green, but when Current Widget stops reporting a charge (it slowly decreases). You will see that it takes sometimes more than 1 hour after the green led, to fully charge your battery. If your phone is rooted, delete the file ‘data\system\batterystats.bin’ with a file explorer to reset your battery calibration, and reboot.
[Desire HD General] henk_j:
if that would be the case then rebooting in cwm would be the solution right away cause in advanced you can wipe your battery stats also.
[Desire HD General] BorisDeviant:
I don't think charging while shut down is really necessary. THe most important is to keep your phone in charge until CurrentWidget displays 0. It means no more current is being transferred to the battery = it is really fully charged.

Then, yes, you can delete the mentionned file and reboot. Your battery stats are now reset, you can consider your battery calibrated. ;)
[Desire HD General] igor.tonky:
just go with official cyanogenmod recalibration advice.
[Desire HD General] BorisDeviant:
Hmmm. I think draining completely a Li-ion battery is unuseful, if not harmful. That kind of battery do not have any memory effect like the old Nickel batteries.

Fully charging (regardless the % of battery left) as previously mentionned, and resetting battery stats (in CWM or by deleting the batterystats.bin) should do the trick.
[Desire HD General] igor.tonky:
AFAI understand, the point in full discharge is not to train the _battery_, but to tell _software_ what is the lowest voltage battery can handle before shutting down, so it would display percentages correctly, based on highest and lowest voltages it has seen from battery.

and i've read, that in the phone the battery won't go as low, while discharging, to damage itself, and it shuts off before dangerous voltages are reached.

so if the battery is drained and recharged shortly afterwards(1-2 days, while self discharge won't put it _under_ dangerous voltages) - no harm to it will happen.
[Desire HD General] BorisDeviant:
Ok, thanks for the explanation. But I maintain it's not necessary to down the battery to 0 % to get a 'good' calibration. I never did this way, and my battery % is displayed 'correctly' (ie no % jumps, sudden discharge / magic recharge)
[Desire HD General] victoryo:
So when it's fully charged delete the file with the phone plugged in? And than plug it off and reboot? or still let it plugged in until reboot is done?:rolleyes:
[Desire HD General] leith51:
Can someone enlighten me on the snap shot I took for battery drain so many ppl reporting up to 2 days charge I'm lucky to get 16 hours help

E=Mc2
[Desire HD General] BorisDeviant:
Could you please post an extract of your log file instead ?
[Desire HD General] Trifidw:
I've been doing what the OP says for a couple of weeks now. My battery life was very inconsistent, going a whole weekend using only 40% of the battery (OK, it was a test and I didn't use the phone other than to check my email, still had my sim card connected though) to needing to charge my phone at work as it wouldn't last a working day (9 hours).

I did a fresh wipe on Leedroid 1.5.1 and then restored my phone using Titanium Backup and surprise surprise the battery life was terrible again. Think it used 10% of the battery in an idle hour. On Sunday I did another fresh wipe but didn't restore my phone and I've gone over 44 hours on a single charge with 1/3 of the battery left still. :)
[Desire HD General] ringrover:
i did this :

If your phone is rooted, delete the file ‘data\system\batterystats.bin’ with a file explorer to reset your battery calibration, and reboot.

but i did not finish all steps .... what will happene:eekd ?????:eek:
[Desire HD General] robE9:
Noob question: i know that the phone is fully charged when there shows 0 MA on the widget? ;s
[Desire HD General] BorisDeviant:
Not a problem. You may only end up with a incorrectly calibrated battery. You do not risk bricking your phone !

Yes.
[Desire HD General] mr1029x:
I fully charged my phone at about 11pm. I went to sleep and when I woke up (9am),the battery percentage was 80 or 79. Does that call battery draining? :)
[Desire HD General] hccssn:
see that :)

with approximately 3-4 hour 3G internet, half hour WIFI and half hour call, so it is very very good :p
[Desire HD General] Axiol:
Hum... I've made the test, the consommation is always about 4mA, but it has decrease of about 2-3% per hour...

Isn't it a bit too much ? :/
[Desire HD General] cyberde:
Eh no? That's actually pretty darn good!
[Desire HD General] Axiol:
It would make about 20-24 hours max with some utilisation :/ It's weird because on MIUI, I can go to 40-48 hours quite easily :/
[Desire HD General] cyberde:
I had 3ma an hour and mine lasted for three days!
[Desire HD General] Axiol:
During the test, I've lost 8% in 2h30, I would never make three days :(
[Desire HD General] Dyonas:
I hadn't paid much attention to this as I thought my phone was fine but earlier this week I went out with my phone having just been unplugged before leaving and it was down to <10% by the time I got home a little over three hours later. I had taken quite a few pictues (no flash) and those were uploaded to Google+ using instant upload but for me that was a massive sign I needed to check what was going on.

Normally I don't do much with it. The phone is mainly a PDA with phone and internet to me so I tend to use Twitter and other social network stuff with a little light browsing. This was the first real heavy use I've done with it.

After reading through the first post I put CM7 on my DHD, charged to full and went through what it said to do. Imagine my surprise when I found out that Maps was being quite the hog and running in the background keeping the phone in a partial wake. Specifically it was the Maps location service so I immediately knew what it was and I've stopped it (Lattitude and location updates). I'm going to wait for the battery to drain before I test again and see if this is any better.

The time it drained fast I was using a Sense ROM but if I can get it to be decent in CM7 then I'll consider moving back to Sense and troubleshooting there using the same guide.
[Desire HD General] xybadog:
After trying the method in the first post and leaving the phone on sleep for a few hours when I come to view the stats I can't even open the .bin file :mad:

I've used File manager, ES File Explorer and File Expert, tried opening as a text file but get an error everytime.

Can anyone suggest how to open it please?
[Desire HD General] Dyonas:
Bin file? Why are you opening a bin file instead of the log file? Currentwidget.log is the only one you should be trying to open or what ever name you changed it to.
[Desire HD General] xybadog:
I know :o I realised when I re-read the first post earlier today. Doh!
[Desire HD General] Dyonas:
lol.. we all make silly mistakes, at least you can read it now :)
[Desire HD General] CzarDestructo:
Is this program really accurate? This is what my log file looks like, according to my calculations @ 1500mAh with an average consumption of 280mA my battery should only last 5.3 hours. How is everyone measuring 4mA? :confused: I mean, I certainly USE my phone, these aren't all idle numbers but my lowest recording ALL DAY is -125mA.

How is it even measured, is it a long running average integration?

8:12:48 AM	-212mA	100%	4.053V
9:00:47 AM	-133mA	95%	4.038V
10:00:51 AM	-60mA	89%	4.017V
11:00:58 AM	-693mA	85%	3.825V
12:00:01 PM	-541mA	70%	3.777V
1:00:15 PM	-263mA	62%	3.813V
2:00:30 PM	-45mA	57%	3.828V
3:00:47 PM	-301mA	48%	3.741V
[Desire HD General] rddocke:
Thanks for the tips very helpful although I can't exactly figure out how to stop my juicers from.turning.on all the time. And also the only thing that us using my CPU is android system. I'm doubting if there's anything I can do about that

Again thanks for then thread

---------- Post added at 06:02 AM ---------- Previous post was at 05:58 AM ----------

Ps

My CPU usage looks like your image reasonable but I'm still having a hard time keeping my battery running longer than normal. What's the average time for people running WiFi?

I'm really interested in this topic and wanna get the maximum amount of time out if my device, I love seeing that 100 in my bar ;)
[Desire HD General] boldt_action:
Running Current Widget on Sensation ARXE 3.6.1 can't seem to get 0mA in widget. It's been over 9 hours now.

When the little green icon goes off in the widget i assume that it is not actually charging, is that correct?
[Desire HD General] mcvigo:
Fml battery

My battery sucks. 10 hours with light use maybe 1 hour screen time. Have tried multiple roms and gotten more or less the same effect. Right noe have CM7 with talon ace and that script that is on development homepage. Havent run current widget on CM but on prevous roms it would go well over 10mah, like 70 on a brand new rom. Also my battery reads 3.8 volts off charger. Since i bought the phone used i bought 2 new batteries and charger from anker, amazon reviews says its equal or better to stock battery. Hopefully the previous owner ****ed up the battery and a new one will fix this. This battery life is dissapointing, i dont even dare to play games
[Desire HD General] ching1206:
humm

a lil help...

im on ARHD 614

kernal 2.6.35.14

basdband 12.62.60.27u_26.13.04.19_m

charged at 100+ (overnight charged..)

restart the phone make sure everything is freash...no apps opened

unpluged n logged....in the morning...went back to sleep...woke up few hrs later check the log

oh WIFI n sync is on tho...cuz wifi is 24hr on for me....

phone been going at 65-80mA every Min(log go by 60sec)

screen was off....(sleep)......

battery seem to went bad after a few new app games installed....

but i checked with 4636*

usage stats.

HTC Sense had the most...the rest looks pretty normal....

(had sense acc deleted in sync already be4 the log)

should i clean wipe again>???
[Desire HD General] delevic:
Same for me . I have -3 to -10 only first day . but later it's start to show -30,-80 .... I didn't install nothing new :)
[Desire HD General] Black1982:
Posted long time ago but.. Use a shorter interval like 5 minutes. Yours is now 1 hour. Hard to analyse anything.

Wait for the battery to drain totaly and the phone turns itself off. Then recharge untill 100%. When the battery is not calibrated yet. these readings are not reliable.

I myself have problems with WIFI drain on standby on 3.0 and 3.5 Sense ROMs. I'm afraid I have no solution yet. Do you also have a high drain in standby with 3G/G? I'd turn auto sync off, that drains a lot in my experience and I don't really need it. Whatsapp/mail working normally.
[Desire HD General] delevic:
With wifi or 3g, consumption is the same

I really don't know whats happening :) I am using battery monitor widget pro, and I just install Catlog, and i will see if I can conclude something from log .
[Desire HD General] Black1982:
In that case you can also use Betterbatterystats http://xdaforums.com/showthread.php?t=1179809. Very handy program that can tell you what is keeping your phone awake.
[Desire HD General] delevic:
Thanks mate, I didn't know for this app. I hope it will help :)

rep+ added
[Desire HD General] delevic:
The problem was in battery wiping. I installed new runny v4.0, and restore all my app, but i didn't wipe battery status again, and every thing is fine now. I tested it again , and it is , before wiping status, the phone shows that spending 3-15 mA and after I wiped status it shows 25-70mA. Why , I don't know :)
[Desire HD General] leith51:
Wild guess its the app that's the problem its power hungry contact the dev of the app
[Desire HD General] futur1sm:
Should the drain when on WiFi be roughly the same as when on 3G/H with WiFi disabled? I find that the standby drain is massively different (samples below). Radio/RIL is the latest 12.62 and ROM is Runny 3.3 with Kernel 11.1

Here is a small sample from CurrentWidget this morning after taking off charge and only having 3G/H on (screen was off after unplugging the whole time):

2011/11/17 08:45:01,0mA,100%,4.184V
2011/11/17 08:47:47,-2mA,100%,4.174V
2011/11/17 08:48:48,-6mA,100%,4.174V
2011/11/17 08:49:48,-201mA,100%,4.174V
2011/11/17 08:51:14,-102mA,100%,4.174V
2011/11/17 08:55:48,-6mA,100%,4.174V
2011/11/17 08:57:29,-134mA,100%,4.174V
2011/11/17 08:58:34,-143mA,100%,4.174V
2011/11/17 09:00:13,-5mA,100%,4.174V
2011/11/17 09:01:15,-154mA,99%,4.126V
2011/11/17 09:02:25,-153mA,99%,4.126V
2011/11/17 09:03:51,-152mA,99%,4.126V
2011/11/17 09:05:20,-151mA,99%,4.126V
2011/11/17 09:06:20,-149mA,99%,4.126V

Now here is later that day after I got home and reverted to just using WiFi for a bit (again, screen off for whole time during this part):

2011/11/17 18:03:21,-6mA,23%,3.689V
2011/11/17 18:04:26,-6mA,23%,3.689V
2011/11/17 18:06:58,-9mA,23%,3.689V
2011/11/17 18:09:27,-5mA,23%,3.689V
2011/11/17 18:11:10,-2mA,22%,3.757V
2011/11/17 18:13:14,-6mA,22%,3.757V
2011/11/17 18:14:26,-6mA,22%,3.757V
2011/11/17 18:17:52,-39mA,22%,3.757V
2011/11/17 18:18:52,-8mA,21%,3.73V
2011/11/17 18:22:21,-6mA,21%,3.73V
2011/11/17 18:24:27,-3mA,21%,3.73V
2011/11/17 18:26:15,-6mA,21%,3.73V
2011/11/17 18:27:49,-17mA,21%,3.73V

Surely just being on mobile data should drain that much in standby? :(
[Desire HD General] leith51:
You need to find the app that's running all the time its a known fact 3g drains battery faster than WiFi due to connection to your network as I can only get 2g at work but 3g at home its down to signal strength what apps you got syncing and how often etc etc etc..... Try back tracking radios and ril I did due to latest one not playing nice with my network ...
[Desire HD General] futur1sm:
I have Facebook/Twitter for HTC Sense both set to 12 hours and just tend to refresh as needed. They both synchronized outside of those times today. I do use the GMail app rather than the HTC Mail though if that could make any difference. I don't see much data usage at all when it's in standby. It never seems to go up by much at all hour to hour unless it happens to fall on a sync time or I download a new app or something.

The only reason I moved to the 12.62 radio was because I had the same issue on mobile network with the 12.54 radio before it. Never used the two inbetween yet as those were test ones I think. I will try it again when I full wipe and update to Runny 4.0 in the next few days but I am fairly confident it is not an app using the data. As far as signal strength goes, I have a decent HSDPA connection at home as well as at work. There may be a minute or two when I am travelling to/from work it switches over to 2G. I realise mobile data will use a little bit more consumption, but surely not at the disparity I am seeing in those samples? :)
[Desire HD General] alireza_simkesh:
Hi DarkAdrien,

Here is my current usage over the last 1.5 hour:

And this is with just bluetooth, GPS and data on (WiFi was off). So there is definitely something wrong here. So i took these shots of my CPU, Sensor and partialload usages:

So i guess CPU usage is fine right? and i am thinking the only think thats weird is my censor usage....Do have any opinion?

Btw, im running on Faux kernel and stock ROM.

Thanks!
[Desire HD General] RedHeadMan:
16hrs and running heck yeah thanks!!
[Desire HD General] bloodhunter112:
How are you able to keep it under 10ma? If I turn ebuddg once its at 157ma
[Desire HD General] schadow1:
Great guide!
[Desire HD General] trust-no-one:
very informative guide... sort of unsure about the drain on my transformer, so will give this a shot just to make sure.

will take this on board with my new sensation... dont want to lise my house or my family XDXD. just out of interest, any ideas why it does? whats it checking with htc all the time that is so important?
[Desire HD General] BorisDeviant:
This would give your 24h+ battery life which is considered "normal".
[Desire HD General] RED_:
Yup i just checked everything using the spare parts app and everything looks normal. Good stuff! Thanks for the great info.
[Desire HD General] mark_ozon:
hey guys,

thank you for the thread! if i type *#*.... i get this extra menu, but there is now option for battery history... and the app from the market doesnt workt too. it always crashes after clicking the history!

what can i do to find the culpit?

thx :)
[Desire HD General] flippy:
+1

same result as above
[Desire HD General] ferincr:
Sorry for the edit but I'm finding the pertinent info as I catch up with the reading...
[Desire HD General] ferincr:
Done with the reading...

For those with problems with Spare Parts or battery history (like I had) there seem to be a common ocurrence and there arelinks for other options in post #154 and #171 by Stuart0001 http://xdaforums.com/show....php?t=1031124

Great info all around.

I still need to find the proper way to paste the log so it scrolls...

Question....

I don't really understand how the battery calibration works so here is a question that I haven't seen posted...

Is it the battery that we calibrate throught this process or is it the phone that we calibrate to let it "learn" how much battery there is????

The reason I'm asking is because I have a couple of extra batts and want to know what would happens if once you calibrate you swap batts?

Should I go through the process again or once it's done it's done for any batts?

Thanks,
[Desire HD General] suxelexus:
Looking forward to giving this a go. Thanks a million for the post