yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] luxin:
v3.9.5 - Battery at 0%

I tried v3.9.5 yesterday and today my G1 is reporting that my battery level is at 0% even on a fresh battery. I cannot restore via fastboot, I get the message:

fastboot flash boot boot.img

sending 'boot' (2560 KB)... OKAY

writing 'boot'... FAILED (remote: low battery)

Any suggestions?

Thanks!
[G1 Android Development] stellarman:
Fully charge your phone.

Open the terminal emulator.

su
rm /data/system/batterystats.bin
reboot

OR from ADB

adb shell
rm /data/system/batterystats.bin
reboot

See if that helps.
[G1 Android Development] Canesfan22:
I tried that suggestion for the fast battery dying and it worked AFTER letting the battery to charge to 100 first. maybe on to something thar
[G1 Android Development] zimphishmonger:
Just wanted to post my results with 3.9.5.

I love the speed and the new battery app, however, I have noticed a huge drop in my battery life moving from 3.9.1\3.9.2 to 3.9.5 (not sure about 3.9.3, wasnt on the build long enough to fully test it). I usually take my phone to work (limited use, occasional text or twitter, couple minutes of phone calls) and leave with at least 40ish percent left on my battery. Today, I noticed that after 8 hours of the same-style of usage, my battery was at 20ish% :eek:.

I also checked the new battery menu in settings, and it stated that cell radio was using 90ish percent of my battery (8 hours 34 minutes it stated for cell radio time). Not sure how, as I didnt make more than 1 phone call which lasted no more than 10 minutes.

I posted my battery meter CSV data, but it looks very strange. Seems that it stopped checking the battery for several hours, and the results drop from 96 to 24. Any ideas? Thanks for your advice and to cyan for his excellent rom~!

Did this last night...any reason that would cause this?

Output from Battery Meter CSV file

2009 Aug 03 07:48:10	100
2009 Aug 03 07:53:10	100
2009 Aug 03 07:58:10	100
2009 Aug 03 08:03:10	100
2009 Aug 03 08:08:10	100
2009 Aug 03 08:13:10	100
2009 Aug 03 08:18:10	100
2009 Aug 03 08:23:10	100
2009 Aug 03 08:28:10	100
2009 Aug 03 08:33:10	100
2009 Aug 03 08:38:10	99
2009 Aug 03 08:43:10	98
2009 Aug 03 08:48:10	98
2009 Aug 03 08:53:10	97
2009 Aug 03 08:58:10	97
2009 Aug 03 09:03:10	97
2009 Aug 03 09:08:10	97
2009 Aug 03 09:13:10	97
2009 Aug 03 09:18:10	96
2009 Aug 03 09:23:10	95
2009 Aug 03 09:28:10	95
2009 Aug 03 15:54:55	26
2009 Aug 03 15:59:56	25
2009 Aug 03 16:04:56	24
2009 Aug 03 16:09:56	24
2009 Aug 03 16:14:56	24
2009 Aug 03 16:19:56	24
2009 Aug 03 16:24:56	24
2009 Aug 03 16:29:56	24
2009 Aug 03 16:34:56	24
2009 Aug 03 16:39:56	24
2009 Aug 03 16:44:56	24
2009 Aug 03 16:49:56	24

My userinit.sh script (32mb SD swap with swappiness set to 20)

#!/system/bin/sh
##adb push userinit.sh /system/sd/

uname_r=`uname -r`
moddir=`find /system/modules -type d -name $uname_r`

echo 20 > /proc/sys/vm/swappiness;

# Experimental settings
echo 1 > /proc/sys/vm/page-cluster; # default: 3 Changes Page clustering from 8 to 2.
echo 5 > /proc/sys/vm/laptop_mode; # default: 0 Helps keep SSD from getting worn.
echo 5000 > /proc/sys/vm/dirty_expire_centisecs; # default: 3000
echo 800 > /proc/sys/vm/dirty_writeback_centisecs; # default: 500
echo 10 > /proc/sys/vm/dirty_background_ratio; # default: 5
echo 16 > /proc/sys/vm/dirty_ratio; # default: 10
#

#swapon /dev/ramzswap0;
swapon /dev/block/mmcblk0p3;

#Over Clock CPU when in use, puts at lower freq when idol. # if you don't want it.
echo 128000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq;
echo 528000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
[G1 Android Development] robpet2:
^^^ wow thats crazy.. im gonna see how long it last without recharging tonight...
[G1 Android Development] luxin:
Thanks for the first suggestion, I tried removing the batterystats.bin and rebooted but phone still says 0% on a fully charged battery...
[G1 Android Development] Kwincy:
Wow this ROM is fast! Coming from 3.6.8.1, the new email client and native wpa2 enterprise was awesome. I can't send calls via Google voice, only receive, so its back to 3.6.8.1 for me.

Copilot GPS software was superfast, BTW.
[G1 Android Development] ubernicholi:
Do this instead and report back about battery life
[G1 Android Development] daveid:
So I had the craziest thing happen today. It was my first day running my phone upgraded to 3.9.5, everything was going great... until......

My battery was getting pretty low after listening to music for several hours, and I got a phone call. I thought, sure I have enough time to talk before the battery dies out on me.. But I was wrong. The phone shut off mid call, and havoc was wreaked. Upon rebooting, any attempt to make a call (via direct action, or contact selection) caused com.android.phone to Force Close (no wait option given). Having no time (at work) and needing to return the call ASAP, I restored my 3.9.2 backup, and it went fine.

I have since re-upped to 3.9.5, and have rebooted several times to test, and it still works (as a phone...) ;). I don't know if some system file could have been open at the time of the call, and thus corrupted, or what happened. I don't have a log, didn't think to use the log collector, I just had to get my phone working again.

So.. I guess, let this be a warning to you all... If you battery is *****ing about running out, don't push your luck.
[G1 Android Development] ubernicholi:
Works for me. Uninstall and reinstall. Then run the google voice app to set it up again
[G1 Android Development] G1-evolve:
Flashed, Wiped.. and keep getting market download fail issues. tried installing apps via usb and I get "unable to parse file"
[G1 Android Development] Freedomcaller:
hmm last time i lost my pictures it was only from the DCIM folder, this time it was DCIM and the 2 newest pictures in my downloads folder. but ive never noticed anything missing besides images. maybe its a bug in the gallery app. culd it have been caused by unplugign the USB without unmounting?
[G1 Android Development] stellarman:
Cyanogen:

Would you consider adding these Manup widgets to the next build? I know I can just install them separately. But, I thought you might like them. They have found their way into several themes in the past few days.
[G1 Android Development] zimphishmonger:
I pulled the cpu settings from my userinit.sh just to test it out, and I'll let cyan handle the cpu optimization\tweaking as I believe he is working on that for the next build. Just wondering, I have been reading all the discussion that the state changes use power, but how would a higher idle clock help out w/ battery? Thanks!
[G1 Android Development] ultra spikey:
I waited a couple days before I said anything about battery life on 3.9.5, and my conclusion is the same as yours. 3.9.2 had good battery life, but I could definately feel the lag, mostly when scrolling through the home screens or browser. 3.9.5 scrolls very smooth, but the battery seems to die a little faster. Doesnt bother me though, I'll the take speed over battery.
[G1 Android Development] zimphishmonger:
I would be willing to accept speed over battery if I knew it couldnt be improved, but I know for a fact (:D due to this forum, Cyanogen, and the versatility of this device) that some tweaking can significantly improve the battery life while maintaining a good level of performance.... we just gotta do some testing :cool:
[G1 Android Development] iflyabeech:
I have searched and searched on this to no avail...so bear with me..

I had tried updating to 3.9.2 from 3.6.8.1 without wiping....it was very slow, so I went back to 3.6.8.1....Now I have tried 3.9.5 and I can't do anything on the phone...I have at least 10 various Force closes whenever my phone boots, and then acore forcecloses when ever I go to the home screen or try to open the app menu...I have done fix_permissions from recovery and also repair ext filesystem...I really don't want to wipe the phone...Has anyone had this same problem...I can't really tell from the posts I have found....Any fixes for this?

Thanks!
[G1 Android Development] cyanogen:
Regarding battery.. I'm running 245/528 with powersave_bias at 200 and that constantly updating lockscreem removed. My battery lasts and lasts now :)

Also, lots of donut crumbs coming in the next build.. The VPN stuff is all working, including cert import.
[G1 Android Development] 4treyu:
Nice man! I wish I knew how to replace the lockscreen only, but i can just wait for your next release :D
[G1 Android Development] sonny82:
i flashed this rom i was eager 2 see sherpa but i dont see it. any help?
[G1 Android Development] sonny82:
nevermind i see it
[G1 Android Development] kbrighton:
Sherpa's in the Market now, so he removed it from the image.
[G1 Android Development] 4treyu:
Sherpa is not included in 3.9.5 because it's now available free in the market.

Edit: ooops kbrighton beat me to it xD
[G1 Android Development] Janis:
IDK if this is the ROM

This is the first time/ROM I've seen "Network Error" popups in Market. I haven't been browsing much because i've has a PC handy most of the time, but I haven't seen it in the browser. I notice I don't see the Wifi icon in the titlebar (status bar, whatever) for a second, but I've got a lot of download notifications up.
[G1 Android Development] uwonsum:
You know, if you keep this up...you can monopolize the ROM market share here where everyone will start using your ROM, then you can stop doing it for fun and start charging a fee. Of course you are only charging for packaging :p

Don't flame me, just kidding...:D
[G1 Android Development] dan0zone:
I had these to ,, but mine came up as 'network sever error' but i just kept hitting retry till it went away ,, have not seen it since then .. might be on google's end , who knows.
[G1 Android Development] Paul22000:
Any update on USB Ethernet tethering? :)
[G1 Android Development] cyanogen:
No, sorry.
[G1 Android Development] keele8:
No apps on first couple reboots?

Cyanogen, I upgraded to your latest rom, 3.9.5. I have experience something that I don' think anyone else has mentioned yet. On first boot everything went fine but when the phone was done booting up none of my application icons showed up and when I pulled up the app tray the only app that was there was the market app. Thought maybe it was just still booting so I waited about 20 minutes but no luck. Rebooted, everything came up fine, no issues. After playing with the number of homescreens option rebooted again, and same thing happened, no apps, only market app in tray icon. Rebooted and everything fine again? Don't know if this is a phone issue or the rom, but wanted to report in case it was a bug or something that would help out since the point of this thread is to help you test out this rom. No other problems, and I love all the changes. Let me know if you need anything else if you want to look into this issue. (by the way, no themes or anything, just your rom as posted)
[G1 Android Development] oldsk00lz:
Okay, quick response on my battery tests. Using no wifi or 2g, and listening to music for 1 hour, it took me down about 20%. Then when enabling 3g afterwards, it went down even faster.

Anyways, I have now moved on to do testing of 384/528/200 (min/max/powersave).

Cyanogen, have you compared performance of the 384 versus the 245? I wonder if farmatito (and uwonsum) has a point regarding voltage?

Nice.... looks promising on performance. Now you have me curious about the donut mods. Have you been able to get the gesturing to work? I saw that feature on a google employee's phone a while back and it was pretty cool.

-oldsk00lz
[G1 Android Development] zimphishmonger:
Just flash a theme...some of those have battery meters.
[G1 Android Development] hotweiss:
You can use Azilink:

http://code.google.com/p/azilink/
[G1 Android Development] oldsk00lz:
NTLM support.... (in 3.9.5)

YES!!! The new browser mods include NTLM support! Sweet!

Now we can log into Sharepoint or other sites that require an NTLM Auth Challenge! That is a nice and very useful feature. I am pretty sure this is new as of some recent builds, as I have randomly been checking every now and then.

Pardon me while I scream in excitement again.......YEEEESSSSSSSSSSSSSSS!

Okay, let me take it down a notch. Just did some more testing. I was able to get to a sharepoint server I previously didn't have access to, and supply credentials successfully to browse the sharepoint site. Nice. BUT it looks like I still having some issues (401.2 due to server config) accessing some other websites that require NTLM authentication. Hmmmmm...

-oldsk00lz
[G1 Android Development] aryndar:
password

Since moving from 3.6.8.1 to 3.9.5, I have not been able to re-log onto sites which require username/password...

Really limits my browsing...

Anyone else?

Suggestions?
[G1 Android Development] uwonsum:
I have seen that error before, but can't remember what build though. It might have been when I tested hero. I don't know if you did a wipe/install or not, but most of the time, the issues I see posted here are related to not doing a clean install. I can understand why some folks just want to upgrade--and keep their settings. I think the best way to test an "experimental" ROM is by doing a clean install--this way, we know what works and what does not, instead of wondering whether it was a carry over or conflict from a previous build.
[G1 Android Development] AtreyuY2K9:
t-mobile my account v2

well if i open t-mobile my account app it says "phone model not supported" any way to fix this?
[G1 Android Development] borodin1:
Look here for answer.

FYI... search button still works, there are at least 4-5 mentions of this issue in this thread alone

Good luck
[G1 Android Development] tekkitan:
I can't log in to babbler either, keeps retrying i think. Maybe has to do with the same issue as I think it uses the browser to first authenticate when setting it up.
[G1 Android Development] cyanogen:
Babbler isn't working for me, but I'm able to log into sites. At least on 3.9.6 that is (which is coming shortly).
[G1 Android Development] G1-evolve:
shortly as in tonight? Less then an hour?
[G1 Android Development] tekkitan:
Perhaps it is something different then *shrug*

Worked in 3.9.4 so I am not sure if it is facebook or what. I'll troubleshoot a bit more.

Thanks.
[G1 Android Development] tekkitan:
Forgive me if people posted some, but what sites are people having issues logging into specifically?

Anything that everyone can try logging into? For example, a bank web site (which I saw someone post earlier) we probably won't be able to test :)
[G1 Android Development] All~G1:
I've also am experiencing this. It happened when I tried to reload my "ALL" from "backup for root users". A list of what I have done and haven't to try and solve the problem

Haven't done:

Format fat32/ext3

Flash back to a JF build

Erase Dalvik

Have done:

Wipe

Re-download

Re-flash

Erase Dalvik-cache

Run "fix_permissions"

I am currently running the 3.8.6.1 build because its labeled as the most stable build and for some reason on 3.9.5 along with all the "ANR's" I can't fully access the market like others are reporting. I'm sorry if I fall a little short on my knowledge which may hinder me from helping myself on the 3.9.x series of ROMS (or any experimental ROMs), but I just thought I'd share my experience.

Hope this helps... If I'm wasting space and post I understand.

Here is the log... http://pastebin.com/m2e2c7951
[G1 Android Development] cyanogen:
3.9.6 is up. You should see significantly better battery life on this build, better speed, lots of things fixed, and lots of donut crumbs.

First post for info, second for changelog.
[G1 Android Development] 4treyu:
I would say there are server-side issues with facebook, I had problems with bloo all day long.
[G1 Android Development] cyanogen:
Compcache was updated to 0.6 in this build. Your current scripts wont work.

Here's how to enable it:

modprobe ramzswap
rzscontrol /dev/block/ramzswap0 --init
swapon /dev/block/ramzswap0

To get stats:

rzscontrol /dev/block/ramzswap0 -s

No more compcache talk now :)
[G1 Android Development] dan0zone:
It was in a long loop ( about two mins )"connecting to facebook" but then it connected , all seems well from my end .....
[G1 Android Development] innerspace:
Very excited for the new release, donut crumbs... hmmmm... time to start poking around! And time to start posting in the compcache thread too!

Thanks, will edit this with anything weird I find.

EDIT > bummer - stuck on G1 screen, can get into adb shell but cannot get logcat. Figure this is my existing userinit.sh/user.conf files messing with stuff but when I cd /system/sd there are no files present... gonna flash back and see what happens when I kill those files first.
[G1 Android Development] pshadey:
@cyanogen:..... do you plan on adding the new search feature that donut offers into you builds....."that would be awesome".....and maybe the gestures....THANKS FOR YOUR DEDICATION AND HARD WORK....
[G1 Android Development] lazaro17:
no idea how you're still managing this but each build as of late seems to keep getting faster.

would you like to give us a hint or two on the donut crumbs?
[G1 Android Development] NeoBlade:
Been out of the game for some time, nice to see more people adding extra info in their sigs too in an organised manner. Makes life so much easier. Great work as always Cyanogen, going to make the jump up to this to aid testing as I have some spare time now. Will also help out with troubleshooting where-ever possible.

This probably isn't the thread though to speculate heavily about donut and what may and may not be included. Isn't there a thread out already that deals with it? After all, anything form the branch right now should be a nice welcome suprise ^_-
[G1 Android Development] Nedlinin:
Well, going from 3.9.5 to 3.9.6 and my phone gets stuck on the G1 splash.

Unable to logcat as it hasnt booted far enough for the PC to recognize it.

I thought it might be another userinit.sh problem so I mounted the sd and renamed the userinit.sh to userinit.bak and attempted to reboot. Been sitting at the G1 screen for about 8 minutes since then :(

Guess I'll see if wiping helps at all - Any other suggestions?
[G1 Android Development] uwonsum:
I was using a theme with 3.9.5 then upgraded without wiping to 3.9.6 for testing sake. No issues, but the night is still young. Normally, I wipe.

Just for the record, I feel dirty.
[G1 Android Development] pshadey:
In terminal i type in and get in return

#modprobe compcache:

modprobe: module 'compcache' not found.

wtf!
[G1 Android Development] 4treyu:
heheheh I've never wiped going from:

3.6.8.1 ---> 3.9.1 --->3.9.2 --->3.9.4 --->3.9.5

and using a theme in each case. Never had a single issue with that. Maybe I was lucky, of course :D
[G1 Android Development] truck2:
Exact same problem here. I've never used a custom userinit.sh, and am not currently using a theme. I wiped but it does not seem to have made a difference.
[G1 Android Development] cyanogen:
Sorry, it should be "modprobe ramzswap". I'm tired :)
[G1 Android Development] yukkio:
cyanogen, just noob question. Back swapping is possible in this version?

Testing testing...

Thank you man.

BR.
[G1 Android Development] pshadey:
Thank you that was it, and i don't expect any apologies from you......THANK YOU FOR ALL YOUR HARD WORK...now go to sleep:-)
[G1 Android Development] cmg1:
Same here. I had been using a userinit.sh, but deleted it before the upgrade.

(I know "me too" posts are not usually useful, but it seems like the fact that this is at least somewhat widespread may be important)
[G1 Android Development] cyanogen:
Yes, use the -b argument to rzscontrol.
[G1 Android Development] anon1ski:
same here.

i havent wiped since 3.9 and switch between themes and stock constantly with no problems at all. apparently there just really stable... hmm who would've guessed:p
[G1 Android Development] cyanogen:
Two suggestions.. Check your sdcard for errors with your pc, or try erasing boot with fastboot and reflashing.
[G1 Android Development] anon1ski:
ok. like a dumbass i spoke too soon and shoved my foot in my mouth. im stuck at the g1 screen now too. going to flash (first time in weeks though so cant be mad) and will see..
[G1 Android Development] acidwashg1:
http://compcache.googlecode.com/hg/sub-projects/rzscontrol/man/rzscontrol.html

^ compcache manpage

##compcache with 24000kb backingswap##

rzscontrol /dev/ramzswap0 --backing_swap=/dev/block/mmcblk0p3 --memlimit_kb=24000 --init

according to manpage: compcache will use up to 24mb in above case. once memory compression exceeds memlimit amount, the backingswap is used.
[G1 Android Development] DownloaderZ:
Same here haven't wipes since 3.6 or something. Was going from 3.9.4 to .6 and stuck @ g1 screen. Tried flashing again, same

redownloading the update and seeing if that will work.
[G1 Android Development] uwonsum:
Please don't reply to this comment as this is not the right place to discuss the topic. But if you have more questions as to how to use one of the newer/updated features, read the manual here, it tells you all you need to know. You could also check this thread which will be updated soon.

Thanks
[G1 Android Development] mattrophy:
this latest 3.9.6 keeps me stuck at the tmobile-g1 screen.

I can boot the 1.4 recovery console, but booting this rom never

gets farther than the tmo screen. I was on 3.9.5 before.

:(

Matt
[G1 Android Development] 4treyu:
Wow that's starting to become worrying. I flashed 3.9.6 with no wipe coming from 3.9.5 + He-Aero Theme. there were no problems at all, and right now I'm just doing my usual tweaks. Let's hope my problems won't start later. This rom is fast just like 3.9.5, now I'll be monitoring for battery consumption.

Edit: After reading newer posts, I would agree that userinit.sh could be the culprit (I thought that script would get wiped with a flash), or anything related to app2sd as I'm not an app2sd user myself, nor I'm planning to be.
[G1 Android Development] ZilverZurfarn:
Here's another one stuck at the first splash. Redownloaded, reflashed - same thing. Just like 3.9.4(?) where userinit.sh was the culprit. But now I have no userinit.sh - maybe that's the problem?

<edit>Reflashed 3.9.5 and that at least got me back in business...</edit>

/Mats
[G1 Android Development] sianaka:
same problem as others...

I have been out of town the last week and so I am updating from 3.6.8.1 to 3.9.6 and I am also stuck at the g1 screen. I guess I'll go back to my backup and wait and see what happens tomorrow.
[G1 Android Development] innerspace:
still stuck...

ok, restored 3.9.5 via switchrom.sh (godsend). deleted userinit.sh and user.conf from system/sd

flashed 3.9.6 and still stuck at G1 screen, killing BOOT via fastboot to see what happens... and... fastboot erase boot keeps me at <waiting for device> and does nothing...

not too sure whats going on here.
[G1 Android Development] pascanu:
Nope. I have userinit.sh and still stuck at G1.
[G1 Android Development] anon1ski:
i use a2sd (only on since switching to cyans roms almost full time because i saw how he did it and wasnt really comfy with other methods untill then)

i dont use compcache or linux-swap. just fyi, dont really know if it makes a difference in this exact problem.
[G1 Android Development] ggrant3876:
Same thing here, deleted userinit on second try, still at G1 screen about 10 minutes now. Nandroid back and wait to here from the boss.
[G1 Android Development] Nedlinin:
Tried both of these and still seem to be stuck :( -- Wiping (as others have rebooted) also had no effect.
[G1 Android Development] cmg1:
No luck with either idea. Wiping didn't work either.
[G1 Android Development] anon1ski:
*from what i hear* its not booting enough to even recognize devices via fastboot
[G1 Android Development] tekkitan:
well if you aren't using apps2sd then that is probably why you aren't seeing the issue.

i remember quite a while ago when i first came to cyan's rom I had an issue where i was stuck at the g1 screen as well. i ended up having to format and redo my sdcard to get it to work.

people having the problem, what happens if you power down, remove your sdcard, then power on? does it boot then?