yashsingh1/xdaforums huggingface dataset:
[Motorola Milestone Android Development] antonyfl:
Heres something that might help your battery life:

0.5) Go into terminal and type "su" and then "rm /data/system/batterystats.bin" Then reboot.

1)Charge to max capacity normally.

2)While still plugged in, removed the battery. (make sure this is the wallcharger and not the usb computer charger)

3)Wait until the screen has a giant battery with a questionmark on it

4) Put it in again and let it charge. It Should say some kind of number that isnt 100% This should charge it to its full capacity and have great battery life. Do this after everytime you flash a new rom. It has worked for me
[Motorola Milestone Android Development] brenobf:
Thank you.

I will try it tonight (gmt -2).

Finally something tangible instead of blablabla.

Regards.
[Motorola Milestone Android Development] cbstryker:
Cool. Can't wait to get home tonight and try this out! I never thought to think that my battery might not be hitting full capacity.

Also, anyone have the stock motorola camera app?
[Motorola Milestone Android Development] lazywahwah:
have a question,

at step 0.5 - go into terminal, do you mean the terminal in Openrecovery? or terminal emulator? besides, can i just use RootExplorer to delete the said file?
[Motorola Milestone Android Development] Aenima462:
Sweet my battery method is catching on :p

I'm still having with services being killed after a few hours of use, and smartass governor is only using 3 frequency steps instead of 4
[Motorola Milestone Android Development] The Solutor:
I'm highly sceptical about this.

Tough I' haven't dived on the source code, i suppose that batterystats.bin is just... well a battery stats file.

A file that can be read by some app to inform the user, not the kernel, about the battery usage statistics.

BTW I will try just to see if I'm wrong
[Motorola Milestone Android Development] afadel:
A

You can use any method to remove the file.
[Motorola Milestone Android Development] cathacy:
Cool!! after trial, my milestone show me 60% only!!! and charging now
[Motorola Milestone Android Development] afadel:
Apparently the system uses this file to stop charging the battery. It is calibrated once (by measuring how gastos the battery is charging and if it starts to increase the voltage too slow then it stops) and then uses this file to know when to stop charging.

At least this is my understanding, if someone knows I'm wrong, please do correct me.
[Motorola Milestone Android Development] The Solutor:
Clearly Froyo has something wrong on the battery charging side, as I said some posts ago it's phisically impossible what happens on froyo (charge from zero to 100% in less than 1h) but I guessed an incorrect info due to a kernel bug.

BTW I'll try asap the delete file way to see if something changes.
[Motorola Milestone Android Development] juandpineiro:
Exactly, that's what I mean. Some bugs and issues are not present in every phone. And every user gives them a lot different usage. Your carrier signal and coverage also has a lot to do with battery life.

What I just can't stand is that some people pretend that there are "magical" ROMs while they are based on the same thing... And to top it off to compare them and ask "hey, could your ROM be like that one?" C'mon give them a break...

In my opinion the best we can do about battery life is wiping batterystats and some other advices, doing a full charge, and just pray to get some good 2 days of medium usage. That's until we get official Froyo, if that solves anything at all.

It's like: Do you ACTUALLY use your phone?? or are you trying to break a World Record on Motorola Milestone Android 2.2.1 leaked... battery life :D
[Motorola Milestone Android Development] brenobf:
Right,

First, I didn't say in any moment there was a "magical" ROM or whatever you mean. But you say I can't compare?

So can YOU explain to me how Cronos is just fine about battery draining and CM6 wasnt?

No? So you gimme a break ok?

And that's it.
[Motorola Milestone Android Development] brenobf:
It worked fine for me.

Now it seems it is "really" charging.

Regards
[Motorola Milestone Android Development] milestonefail:
does anyone have any idea why the alarm clock doesnt vibrate for me for the past 2 updates?? i have to replace the app with an old DeskClock.apk from a previous update (dec 04 i believe). does anyone else at least have this problem too?
[Motorola Milestone Android Development] SophT:
From the clock screen press the menu button and go to settings. Then enable vibrate. I think it's a app level setting, not a per-alarm setting.
[Motorola Milestone Android Development] ps2p:
In step 4, after putting the battery back in do I turn it on right away or leave it turned off with the led color yellow.
[Motorola Milestone Android Development] Aenima462:
leave it on the 'off' charging screen (the one that shows the big battery) until it hits 100%
[Motorola Milestone Android Development] The Solutor:
Ok, I just tried and seem a trick to fully charge a froyo milestone.

But it has definitely nothing to do with batterystats.

Just try to do the battery pull w/o deleting the file and your (apparently) fully charged phone will charge form 60%, and this makes sense (is impossible to charge the 1500mAh mileston's battery in about 1h, as happens with the froyo roms) 60% is a reasonable value for that amount of time.

My opinion is still the same, it's a kernel bug, the batterystats deletion does basically nothing.

The battery pull does the trick, but you have to do it every time you charge the phone, and you have to charge with the phone powered off to reach the true 100%.
[Motorola Milestone Android Development] ps2p:
Is the big battery still displayed on the screen after showing the not 100% number? I just have a black screen with a yellow led. When I press the lock/power button, the led turns off and the phone is still off. If I press it again it turns on.
[Motorola Milestone Android Development] Aenima462:
when the battery is in, and the phone is off and charging. it should show that battery screen right? pulling the battery will make it reboot, and then show the same battery with a question mark. Placing the battery in will show 60%, and will charge until the battery's actual voltage rating. It will show 100%, which is when you reboot with the cord in, and delete the stats.
[Motorola Milestone Android Development] cbstryker:
0.5) Go into terminal and type "su" and then "rm /data/system/batterystats.bin" Then reboot.

1)Charge to max capacity normally.

2)While still plugged in, removed the battery. (make sure this is the wallcharger and not the usb computer charger)

3)Wait until the screen has a giant battery with a questionmark on it

4) Put it in again and let it charge. It Should say some kind of number that isnt 100% This should charge it to its full capacity and have great battery life. Do this after everytime you flash a new rom. It has worked for me

So doing this trick I also got 60% showing when it started to charge, but I will see tomorrow if I get any better battery life. I will let everyone know how long I was able to last.... I mean my phone.... how long my phone was able to last.
[Motorola Milestone Android Development] ps2p:
Is the phone supposed to be off when I pull the battery? I assumed it would still be on from the reboot in step 0.5 and charge to max in step 1.
[Motorola Milestone Android Development] afadel:
All you guys with the battery issue, what is the voltage level shown in spareparts right after you plug the phone off the charger? It should be around 4200mV.
[Motorola Milestone Android Development] antonyfl:
To clarify:

-Yes when you pull the battery then plug it back in, it should show about 60% or something less than 100%. Leave it be and charge it until full. Then you can be free to turn it back on

-Deleting batterystats.bin : may or may not do anything. I did it for good measure. Seems to be a trick that people since the G1 have been trying

- I Personally testify the good battery life. Woke up at 10am this morning, sent a couple texts, went to work (so standby for about 5 hours) and checked my phone, was still 80%. After a couple of calls, texts, browsing (medium usage) it is now 10:30 pm and i am at about 60 percent.
[Motorola Milestone Android Development] Ok_Kaleidoscope5109:
regarding battery issues,

I took my phone to the Sierra Nevada mountains this weekend. Probably 20F or so (sub zero in celsius), and my phone went whacko. I remember tweeting on the lift and the battery went from 80% to 20% all of a sudden.

A reboot failed, but I pulled the battery at lunch and waited 30 seconds and it said 60% on boot. After 5 min of use it dropped to 20% again.

Odd. So I decided to do a battery pull AGAIN at the end of the day, and I jumped back to 50%. Shrug.
[Motorola Milestone Android Development] duytrum444:
When will you release new rom again? I'm looking forward to your rom? more than a week now you do not have any more copies?
[Motorola Milestone Android Development] chungtau:
I have problem with the signal, it aways showing full bar?
[Motorola Milestone Android Development] eybee1970:
did you flah you country specific radio files?
[Motorola Milestone Android Development] brenobf:
For those who are still saying "there are no differences between ROMs"

https://docs.google.com/document/d/1kPiAl-rIchk5ELHvm4ilZ5GKDBOqCJ-RFhYFxz-ur_g/edit?hl=en&pli=1#
[Motorola Milestone Android Development] keunhuvac:
That guide is for noob!

Everyone should know how to do some settings to saving battery life.

:p
[Motorola Milestone Android Development] brenobf:
What? I am talking about the research lol
[Motorola Milestone Android Development] chungtau:
I able to get call in and out. Just the signal bar keep in full, even out of coverage !:confused:
[Motorola Milestone Android Development] Lollipop_Lawlipop:
Seriously, if you are so dissatisfied with CM6's battery life (which is, btw, pretty much the same as Cronos) then use something else. Stop pestering this thread telling us which is better. We can decide ourselves.

Those trying the batterystats.bin method, did you actually observe better battery life? As far as I know, his file does not affect battery life. Rather, it just helps show how much you have.
[Motorola Milestone Android Development] brenobf:
I'm already using Cronos in one of my devices.

I just shown for those who was wrong, got it? There are differences between Roms. That's it.

Or should I draw it for you?
[Motorola Milestone Android Development] cbstryker:
I'm sure he's waiting for a main cyanogen build based on gingerbread, then he'll build the port for the milestone. I don't doubt he's still working on stuff and I bet we'll get a super huge massive update.
[Motorola Milestone Android Development] The Solutor:
I agree, deleting batterystats, in the worst case doee nothing, but also breaks nothing.

I have also to add that the trick works also w/o reaching the 100% (what froyo thinks is 100%).

You can unplug the battery when it is @60%, you will get 30/40% after the battery is plugged again.
[Motorola Milestone Android Development] cbstryker:
So it's 2:15 right now, I did the whole deleting the batterystats file and charging while unplugged trick and for good measure I did it again in the morning. I unplugged it at 9am and like I said it's 2:15pm and I'm at 60% battery. I don't think I did anything wrong, but maybe I did.

So ultimately I'm not seeing any battery life with the pulling the battery trick.
[Motorola Milestone Android Development] The Solutor:
I'm charging my milestone right now.

After about half hour, the battery is showing 70%.

This is in line with the 2,5 h needed to fully charge a 1500 mAh battery @900mA (the current provided by the milestone's wall charger).

Btw I haven't deleted the battery stats file, maybe this makes the difference ?
[Motorola Milestone Android Development] Lollipop_Lawlipop:
Thanks for the new release!
[Motorola Milestone Android Development] kabaldan:
I had to deal with >real life< issues recently, sorry for the lack of updates and presence.

New build uploaded ;).
[Motorola Milestone Android Development] Caz666:
Come on man. I dont know if you intentions are good are not, but sticking around a thread just to to prove that ANOTHER rom is better is starting to look a lot like trolling. Asking if ppl need a picture to understand something is awfully close to insulting.

I dont know who is right, but i suggest you relax a bit before you get a bad reputation.

For what its worth, i humbly suggest that you ask the cronos folks EXACTLY what they did or code they changed to fix the battery.

That would be proof.

Until then we have a hard to reproduce bug that is semi random with anecdotal evidence by both camps.

And the plural of anecdotes is NOT data.
[Motorola Milestone Android Development] foreman31:
You can all forget the battery issue as it is across all android phones from time to time,

I have three batteries for my Milestone 1 and the original is the best, lasting the longest.

Also, some days it is better than others without changing anything and some intsalls of the same rom with the same settings give better battery life.

We need to wait for Google to optimise Android for battery life (could take years)

In my family there is a Nexus One, a Samsung Galaxy S, a Huawei Ideos U8150 and Milestone 1 & 2.

All of them have to be charged at night so forget the battery on Milestone
[Motorola Milestone Android Development] Caz666:
Thanks for all your work. Its sometimes hard to remember that you probably have a life outside your milestone builds!

Is there a 'beer' or 'donate' button anywhere for you?
[Motorola Milestone Android Development] nikosblade:
Awesome work nadlabak! One small request is that new keyboard, includes all languages except Greek. Could you add Greek language on a later release? Thnx in advance.
[Motorola Milestone Android Development] sayapedr1234:
Hey guys. Was wondering if it was possible to theme this with 2.3 Gingerbread and how? I seen some on google (search android 2.3 gingerbread theme cyanogenmod and it's the first link) for the htc hd2 but I'm not sure that that cyanogenmod theme will work with this one :S I need some help guys as I really want the microbes live wallpaper and other cool animations! Thanks!
[Motorola Milestone Android Development] vigos:
sayapedr1234 the microbes live wallpaper can be downloaded from this forum, and if you want a theme that will work with thid rom just google GingerStone... you might need a bit of spanish, but that's it!
[Motorola Milestone Android Development] chungtau:
Any black themes for new CM6, as Revolution Theme is not working for this update!
[Motorola Milestone Android Development] kalagas:
***My Mixed theme updated to latest nadlabak's release update-cm-6.1.1-0.04-10.12.22

Look HERE...
[Motorola Milestone Android Development] TheFluffyOne:
Could you please clarify exactly which 'research' you're referring to and how you used it to arrive at your conclusion? I guess you're referring to the data you graphed in that document, but I don't see how that led to your current statements.

Thanks!
[Motorola Milestone Android Development] hefonthefjords:
yay! the gingerbread keyboard works properly now.

good stuff nadlabak, cheers for keeping the updates flowing.

edit: awww boo, the zoom in video recorder is gone :(
[Motorola Milestone Android Development] milestonefail:
from the clock screen, menu gives the options: alarms, add alarms, and dock settings

- dock settings has nothing about vibrate

in alarms, menu gives the options: desk clock, add alarm, settings

- settings has nothing in it about vibrate

editing an alarm has a vibrate checkbox (i always have it checked), menu button does nothing.

any other ideas?
[Motorola Milestone Android Development] max_3000:
I know this has been discussed but I just want to make sure:

When I update CM, I don't need to wipe anything right? And do all my settings stay the same (IE DSP manager EQ and various apps settings)
[Motorola Milestone Android Development] milestonefail:
not if you're updating from a 0.04 update. you probably should wipe dalvik cache and normal cache, but sometimes i dont and its fine. all your settings will stay the same (the update only changes the system part, not the data). titanium backup and nandroid backup if you want to be extra safe
[Motorola Milestone Android Development] darklipslide:
Yup, your settings should remain intact.

The Gingerbread keyboard so far has been pretty nice, it will take a bit of time for me to get used to it but the first impression has been solid, although the long press takes just a little too long. I wish it had the ability to adjust the longpress time, like a lot of aftermarket keyboards
[Motorola Milestone Android Development] zeRONY:
thx for this new updated..

but this Gingerbread theme- For Milestone (http://xdaforums.com/showthread.php?t=864300) is not working for this update! :( :(
[Motorola Milestone Android Development] darklipslide:
Hey gang, any one have luck getting the new market to work?

I've seen people on CM6.1 get it to work, but not specifically for the milestone
[Motorola Milestone Android Development] lalit79:
that theme is not compatible with the latest cm6.1 version. Sorry
[Motorola Milestone Android Development] brenobf:
I agree in totally with you.

I have stopped talking about it a couple of posts (take a look), but ppl keep addressing answers to me.

And no, they are not beeing polite.

I'm finished.

Regards
[Motorola Milestone Android Development] antonyfl:
What are your settings like? I leave my wifi and gps off, and brightness set to lowest. And how heavy was your usage?

Just as an added step to my 0.5-4 part battery cycle:

After deleting batterystats.bin, use up ALL the charge on the phone, until it turns off by itself. Then reboot it (while battery is STILL LOW) to drain a bit more. THEN Do the battery pull trick to charge.

*Note: I have not tried this yet and found that my battery is fine without doing this. It will shorten the batteries lifetime if I do this so I generally avoided it*
[Motorola Milestone Android Development] mardurhack:
With previous versions I got a memory issue. Don't know if someone already talked about that (in this case I'm sorry) but many times apps seem to be closed even if there is much free memory! Try to restart the phone then open the stock browser (the less resources-leaker), press Home and see how much free memory there is, then try to reopen the stock browser and you'll notice it had been killed by the system! Has it been solved now?
[Motorola Milestone Android Development] Paitor:
Hi, I finally took the step and tried a modded firmware. Everyting went fine except that I can't get wifi working. Is this a known bug or is it possible to fix?

The steps for installation was as follows:

flashed: vulnerable_recovery_only_RAMDLD90_78

applyed: Open Recovery Version 1.46 for Milestone

applyed: Disable_recovery_check_by_OTA.zip

applyed: update-cm-6.1.1-0.04-10.12.22-Milestone-signed.zip

made a data wipe/factory reset

later I also added the google apps
[Motorola Milestone Android Development] shadowofdarkness:
Until recently I could compile the source but lately I suddenly can't with nothing, except updated repo sync, changed on my system

The compile fail after giving the following errors a few times.

external/stlport/stlport/stl/_new.h:47:50: error: usr/include/new: No such file or directory

external/stlport/stlport/stl/_cwchar.h:28:50: error: usr/include/cstddef: No such file or directory

I am running Ubuntu 10.10 64bit and the repo is stock with no changes.
[Motorola Milestone Android Development] kabaldan:
shadowofdarkness: in the platform dir, make the following symlink:

mkdir prebuilt/ndk/android-ndk-r4/linux
ln -s prebuilt/ndk/android-ndk-r4/platforms prebuilt/ndk/android-ndk-r4/linux/platforms
[Motorola Milestone Android Development] vladstercr:
remove /data/misc/wifi/wpa_supplicant.conf

should do the trick!
[Motorola Milestone Android Development] zeppelinrox:
I haven't updated to 6.1.1 yet, but on 6.1.0 that trick didn't work for me.

I managed to get it working by changing my router from WPA2 to just WPA encryption.

It connected right away.

At my brother's house, it wouldn't connect either. He was using WEP encryption.

So, as far as I can tell, it will only work with WPA.

I haven't tried with an Open network to see if it works.

On another note, regarding themes.

Is it possible to install themes by putting the zip file in the update folder or do you have to use the cumbersome/mysterious install/restore theme menu in AOR 3.3?

A nice theme installing app would be nice... clockwork borked my recovery mode... goddamitsomuch...
[Motorola Milestone Android Development] tisungho:
is there anyone suffering battery problem?

There's a fault battery report or something like that. After a few hours of usage with full charge the phone says the battery is running out. When I plug in the charger for a while and unplug, it gets back to full.

I hope this will be fixed soon
[Motorola Milestone Android Development] F_R_I_T_Z:
I'm starting in DROID kingdom.

Being someone try to understand and read the git before ASK.

Sometimes i'm in little trouble to.

Do not know if already is done. ( last time I saw, if i'm not wrong. no), at last put a TAG in all GIt REPOS when doing a release compile. Or a common commit in all repos with a COMPILED VERSION.

Do more easy for everyone.

If something come wrong with a new sync, we always can revert back and sometimes find by ourself he glitches.

Please.. I'm not trying to rule or teach nothing. I'm an dust in this garden where you dudes do an amazing work.

But if we understand what are being doing, we can help more, to. No just ask..

:-)

And thank you, for all

Great work.
[Motorola Milestone Android Development] Paitor:
Nope, it didn't change anything.

It is stuck on cycling between scanning... connecting... Disconnected

nope didn't work with wpa or open network
[Motorola Milestone Android Development] max_3000:
Hey kabaldan - wouldn't it be better if the next release would replace ADW with LauncherPro? It just seems so much faster and responsive.
[Motorola Milestone Android Development] vladstercr:
+1 same experience here!
[Motorola Milestone Android Development] zeppelinrox:
Maybe a battery pull will help?

/former blackberry user... lol
[Motorola Milestone Android Development] Paitor:
Think i will try cronos
[Motorola Milestone Android Development] The Solutor:
All the froyo roms have battery problems, be shure to reboot the phone after charging it to avoid the usb bug (it not always happen), and follow the instructions to fully charge the battery (look @ my messages few pages back).
[Motorola Milestone Android Development] kabaldan:
I'm forking only the repos that essentially need to be forked for Milestone (or when I have a special need to make some changes to something not so essential ;) ), but I don't have control over all the repos the CM is built from. When someone from the CM team screws some repo not forked by me, then there is a problem... I can't tag everything, as I need to keep the forked repo number as low as possible to be able to keep on the track - the CyanogenMod is evolving very fast...

There's no Milestone stable/final build possible yet anyway, it's all nightly/experimental/beta build :P
[Motorola Milestone Android Development] petard:
Alarm works fine on 12/22 build! Thanks!
[Motorola Milestone Android Development] @ns:
try changing the channels..I have this issue previously and by changing the channels fixed the issue..

Go to Wi-fi settings>advance>Regulatory domain
[Motorola Milestone Android Development] Lollipop_Lawlipop:
Those of you wondering just how quickly CM is evolving, take a look at this twitter feed: http://twitter.com/cmsrc
[Motorola Milestone Android Development] shadowofdarkness:
Thanks the symlink worked.