yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] sullitf:
Does anyone know the actual voltage used when running at the various frequencies? I wouldn't be surprised if it wasn't as big a difference as it seems it would be.
[G1 Android Development] sputnik99:
downloading and flashing now :-))

No, just kidding.

On 3.9.5 calendar issue is still there (not syncing) BUT with the new battery gauge it shows me, that calendar is consuming 77% of battery time.
[G1 Android Development] dt3k:
Since updating to 3.9.3 the wifi-tether app crashes instantly upon opening. Running 3.9.5 now with the same result. anyone else have this problem? should i just try to reinstall the app?
[G1 Android Development] ogwilson:
Just a quick suggestion/question:

Is it possible for the power manager widget to use the "Sync" toggle to turn off auto-sync rather than background data?
[G1 Android Development] xdviper:
The HTC IME and the physical keyboard are still interfering with each other. How do we fix it? Or is it fixed already?
[G1 Android Development] juniormarco:
Thanks Cyanogen for 3.9.5!

My G1 is getting faster than 3.6.8.1! for sure! This version Rockz

I upgrade to this experimental build because i see it has tweaks on browser

however, is there any tweaks that stop browser from being reload after switching few apps in G1?

It is quite annoying to have browser to reload every time i want to use it

I hope Cyanogen to fix this that really great for everyone!

:) Thanks!
[G1 Android Development] pinetreehater:
That would absolutely be the first thing to do....many apps don't make it through a flash...even one without a wipe.
[G1 Android Development] dwang:
There's already a fix for this. Use compcache or a swap. post in one of the compcache threads.
[G1 Android Development] sullitf:
Try clearing the cache from Settings->Applications. After that uninstall and reinstall.

I'm currently still on 3.9.3 and am having no problems with wifi tether.
[G1 Android Development] JanetPanic:
Try running fix_permissions or uninstall then reinstall. Wifi tether for root users works for me.
[G1 Android Development] richpadg:
Just flashed 3.9.5 and can't seem to find the fuel gauge app. Any help with where to find it?

Edit: Nevermind, found it.
[G1 Android Development] JanetPanic:
Go to settings => about phone => battery use

EDIT: Since this post is a wash... Is it just me or is the new fuel gauge stuff basically just a better formatted subset of the data you get in the spare parts => battery history?
[G1 Android Development] EpedemicOptikz:
so cyanogen, what is your major plan with 4.0? You have anything big planned to go with 4.0 or are you just going to make it super stable?
[G1 Android Development] shotad:
i'm using the wifi tether right now, and it works perfectly good for me. but uninstall/reinstall would be the FIRST thing I would do.
[G1 Android Development] antirock:
For anyone having battery issues with 3.9.4, calibrating the battery works like a charm.
[G1 Android Development] ogwilson:
how do you "calibrate" the battery?
[G1 Android Development] Gimpeh:
Any word on Power Drain issue? I know its noted as being a possible fix in this update.
[G1 Android Development] Kainous:
This is from running adb logcat

Even after flashing to 3.9.5 the HTC IME error continues.

Also some issues with twidroid (Didn't reinstall yet).

Tried running fix_permissions from terminal and no luck.. Hope this helps ya cyanogen
[G1 Android Development] joshtheitguy:
What I did yesterday was charge my phone to 100% then go to the terminal app and then issued the following:

# rm /data/system/batterystats.bin && reboot

When my phone came back up the battery was only at 74% but when it charged to 100% it drained much slower.
[G1 Android Development] andrew richardson:
I had a rather depressing thought. I know according to the HTC site, the radio has to be updated for each code base, can Cyan's build have diverged from base 1.5 enough to being causing issues with the radio? We have a new WiFi driver. I have noticed erratic behavior with my power drain using 3g aggressively, at work with good signal, it uses less power than at home with poor signal. I have had phones in the past that dynamically changed power to the radio to boost signal on poor connections, could this be a factor in the varience we have been seeing between different people, their coverage is probably varying.
[G1 Android Development] inportb:
Looks like you just answered your own question...
[G1 Android Development] billc.cn:
You see that because cyan forgot to include the keystore service and several related initialization steps in init.rc

There's also a related service called racoon, but I didn't see it in the source code.

Credential Storage is an encrypted storage area to protect your VPN password, certificate, etc. with a password. It is inadvisable to store these information as plain-text, esp. for Dev Phone and root users, so such a Store is needed. But what I don't understand is why this can't be unlocked by a pattern, etc.

They UI actually tells us it needs 8 chars, but you'll have to supply a short password first :S

The bigger problem is that the service is not there, so the UI code is working in an unknown state. In this case, it didn't print the R.string.cstor_first_time_hint_from_action string which tells the user what to do and dialogue displayed is wrong as well.

Edit:

I think VPN is still broken (as of 3.9.5). The racoon service is needed for L2TP over IPSec VPN. PPTP seems to be working, but I can't get authenticated.

I think the VPN part of the code is actually below alpha quality. You can see this from the large chunks of unimplemented code. I just hope the community could work on this fast.
[G1 Android Development] DavidChill:
Everything is running great!

So far, I've been testing every update you've posted since you've opened this thread and I've never had one issue. I loving all the new features your adding from Donut, and the battery status you added in settings is awesome, it's helping me manage batt life better. ^.^

As always, keep up the great work, i'm always impressed with what you do and can't wait to see what 4.0 looks like.

** Minor thing I've noticed since 3.9.8.1, flashing themes over the basic build does cause some issues with certain apps, mostly apps that run in the background constantly and also slows the loading of the homescreen when bouncing from app to app. After loading 3.9.5 and having no theme, everything is clean, efficient, no lag and better battery life.
[G1 Android Development] pinetreehater:
That would absolutely be the first thing to do....many apps don't make it through a flash...even one without a wipe.

Edit: talk about a server hiccup...this post was made over an hour ago!
[G1 Android Development] pinetreehater:
For quite a while, my handset has had trouble connecting to the internet (even though it shows the connection is there, just no data throughput).

I had to replace a speaker, and got to thinking that perhaps I had bent one of the contacts that lead to the antenna. So took it apart, and re-bent the connection just a little to improve contact...and snapped it right off.

Great. Thinking this was the cause for my poor connection, I took the one out of my other G1. Thing is, I still have spotty connection (usually after wifi use...and it is always correctable by turning airplane Mode on and off---resetting connection).

Anyway, the moral to this story revolves around a post that was made just a second ago....is it perhaps possible the radio needs to be reflashed?

EDIT: Heck, I can't even find the radio update....is this it? http://code.google.com/p/sapphire-port-dream/

and are there any dire consequences to me reflashing this radio...it's the one I have on there from when I went to Rosie

If anyone has more information about the need to reflash the radio after an updated ROM (ie the validity of this statement), please chime in.
[G1 Android Development] zimphishmonger:
Tried to open the extended settings of the launcher and it had a FC (the one without the wait command, so launcher actually crashed) Triedon both 3.9.4 and 3.9.5. Log collector file should be attached. Thanks for your help, Cyan!
[G1 Android Development] xidominicanoix:
you have the same issues i had a while back

1 way to solve it is to uncheck vibrate when pressing keys

the way to actually solve it ;) is to uninstall it and then reinstall it

ill look for the code and then edit this post :D

EDIT: quoted by cyanogen here: "Looks like your packages.xml is screwed up. Grab the HTC_IME.apk file out of the update, run "adb uninstall com.htc.android.htcime" then "adb install HTC_IME.apk" and it should reset the correct permissions."

Hope this helps :D
[G1 Android Development] cavz903:
force close issues

Just flashed 3.9.5 from 3.9.3. keep getting home.process force closes. And I have no apps in my drawer. I had this problem with 3.9.3 but if i left it alone the apps would eventually appear. not the case for this version. they just dont show up. its completely empty.
[G1 Android Development] xidominicanoix:
You seem to have problems with TaskKiller and Bartender

try running fix_permissions and if that doesn't work try uninstalling those 2 apps to see if your problems go away :D
[G1 Android Development] Amdathlonuk:
Did you notice the battery didn't drop for 30 mins or so? then it just fell away.

I have not conducted any 'tests' as such, however............

I notice that when playing music my battery lasts a lot longer than doing anything else with the phone.

I could even lose around 25% just overnight while sleeping.

I have loaded a different 'make' of ROM 2 days ago, and I have gone all day without running out! this is truly a first for me, I unplugged at 1am and it's now nearly 8pm, so in total 19 hours of average use (music 2 hours, 2 phone calls, I even downloaded Cyanogens 3.9.5 when it was released straight to the phone and I have around 30%.

So in my OPINION, it is the Cyanogen ROM that is using the battery more than it should. However it's still the best and fastest and I'm just about to load 3.9.5. :)
[G1 Android Development] oldsk00lz:
More 3.9.4 test results.....

First a quick FYI... It was mentioned terminal emulator wasn't included in 3.9.3 and 3.9.4. This is true for the app drawer, but if yiu had a homepage link like me, then it would survive the flashes. Though exit doesn't seem to close the window, only the session.

battery testing

Yesterday, I had the phone fully charged, then turned it off and completed the charge to green. This took longer than usual. Possibly with 3.9.4 people were not getting their full charge? Anyways, it took an extra 15min. :O

I went 5 hours with a little music, but mostly non-usage and drained the phone to 80%. Then in 1.5 hours with a little wifi browing, it drained to 45%. Then 3 more hours of non-usage took it to 30%.

I am looking forward to testing 3.9.5 today. Maybe the wifi will help. Though, I did see issues last week on 3g as well. Maybe andrew's post (#2000) regarding the radio could be accurate in that the radio needs to be tweaked along with firmware updates.

Now onto some more responses...

What I like about this test is that you verified that the reading of the battery power was the same on two devices. I just can't test that with one G1... :)

I think its even harder than that. You can have the same G1 and perform nearly the same exact tests and still have erratic results. With a multi-threaded, living, breathing, super-powered android device, chances are a lot of different types of things may be going on. Maybe it's hard to be granular enough with the tests over 8+ hours.

Anyways, I like the where the battery thread discussion has gone and think some interesting ideas have come out of it.

I am running wifi, and the drainage occurred more when I was browsing. Usually 2g would not drain near as much. 3g was a big drainer for me, sometimes. Could have been the browser rendering (cpu power) or bandwidth (high # of bits being browsed) that helped contribute.

I will test out the new build and compare wifi versus non-wifi.

-oldsk00lz
[G1 Android Development] TheShoura:
I just started using the CyanogenMod firmwares after a friend recommended them to me.. looking forward to using it and helping out where I can

I do have a question although I read in the OP it said not to ask here.. regarding Market Apps not updating. All I have installed is this extra firmware (rooted of course)

Should I do an ALT+W to wipe the phone or what?

Also I've found that when the battery gets low, the phone does not seem to use GPS or 3G internet... is this a feature or was my phone going nuts?

Im also having issues with SMS taking forever (20 minutes) to get through.. but that could be network related
[G1 Android Development] cyanogen:
The keystore is definitely enabled. I tested the vpn stuff with poptop.
[G1 Android Development] arjaythomas:
anyone else not able to hear anything when playing music or vids
[G1 Android Development] xidominicanoix:
nope everything fine here .. even tried out the FLAC support (awesome :D)

post a logcat maybe? ;)
[G1 Android Development] Paul22000:
How did you get that 98.4% idle time in top?

Mine doesn't show that.
[G1 Android Development] pep1t0:
Language request

Could you implement spanish in the keyboard dictionary...
[G1 Android Development] aceo07:
For everybody reporting fast battery drains, how are you charging the phone? Through USB to computer or the HTC USB charger?

I haven't tried 3.9 yet, but I've noticed on various builds that if I charge through USB/computer it will charge faster but it also drains faster. If I charge with USB power adapter (from Motorola) it charges slower but it lasts longer.

I loaned out my HTC USB charger, so I can't compare with it. I can say the Motorola Razr USB charger does look better.
[G1 Android Development] farmatito:
I use a self compiled version of busybox. Attached. ;-)

copy it to /data

chmod 755 busybox

chown root.shell busybox

busybox top
[G1 Android Development] zimphishmonger:
I believe this is because the included AC power adapter is known as a quick charge or fast charger, while the USB trickle-charges the device. The USB will take longer to charge but the charge should last longer as well. On another note, slower charge means less heat, and heat is the natural enemy of battery chemistry. The cooler the battery, the longer it will last. Someone please correct me if I am mistaken.....
[G1 Android Development] Paul22000:
Ahh, no wonder hah.

How do I install it?
[G1 Android Development] xidominicanoix:
here :D 10 chars
[G1 Android Development] makethetick:
Had a quick search but couldn't find anything.

I'm now on 3.9.5, I've been flashing the updates as they've been released and each of the latest updates seems to reset the exchange email settings so I have to set up the account again.

Haven't wiped or anything, just updated.

Anyone else experiencing this?
[G1 Android Development] oldsk00lz:
Okay, was testing 3.9.5, and can say that the battery gauge is pretty cool. Screen on had a sligh lead over cell on my stats. Work email was really low. Can't wait to take a closer look after some real data has been accumulated.

So the browser seemed to be more responsive. Particularly when the page is loading, I was able to start viewing and had better ciontrol of the browser. It's not a huge difference, and I may just be my wishful thinking, but did seem to be a little smoother of an experience. Other than that, I haven't really seen new features. Guess I will need to read up.

On a sadder note. When initially writing this post, my G1 recycled. I was not doing a logcat at the time.

I'll report back once I have ran this ROM for awhile.

-oldsk00lz
[G1 Android Development] uberingram:
I, too, was surprised that my screen was eating more juice than the antenna even with 3G on. Granted I wasn't downloading anything big but still surprising.
[G1 Android Development] Gimpeh:
There was a report on the magic forums that .5 is still a bit power hungry.
[G1 Android Development] simms22:
i was playing with dev tools...

i turned on show cpu . to my amazement , scrolling on the screen in browser , swiping the home screen back and forth , openening the app drawer , etc .. took up the most cpu
[G1 Android Development] MrBlueEyez:
Compass

Hey i've noticed strange behaviour with the internal compass. Already complained about it yesterday.... Today i had a lock up on my G1, had to reboot by removing battery... Did nothing strange afterwards...

My compass was really strange. Moved to another location, GPS status said i had to draw for 8 seconds to calibrate. Did it, was dizzy, but it worked. Only to have it 180 degrees of. Afterwards, at another location, and right now, its working again normally... Strange;)

Some thoughts on this... Just listen...

Every program as an update frequency, am i right? Like GMail, e-mail, especially GPS and programs using the compass. Now, with the compass, it refreshes the state of this thing a few times every second. For some programs this isn't a problem. But for others, i guess, it is. Especially Street View. When u use it, point at a certain location, you see the image moving rather fast. Pointing at something, and you see the image moving very unstable. Can be annoying... So my question is: Can the update frequency regarding the compass be less, or maybe variable (e.g. using a slider)? Especially, using Street View or something like Layar or Wikitude, you want it to be more smooth and less responsive...

Any thoughts on that? (not only you Cyanogen, any others as well?)

Just a thought that came across my mind... Still on 3.9.2, might flash 3.9.5 tonight. See that issues gave been solved. Nice work and congrats on year 6 ;-)
[G1 Android Development] roxthiaguin:
I`m really perplexed D:

After hearing a man that uses the CPU at 528/528 and the battery lasts longer than normal, I tried that..

Well...it`s working that good oO`

With 528/528, I went to sleep...unpluged the phone at 10am and back to sleep..when I woke up at 3pm, the battery was at 90% oO`

I`m really impressed!

After that, I started to use a lot....flashed to 3.9.5...turned wifi on...now it`s sleeping..

now it`s 5:42pm here in Brazil, and it`s on 55% of battery! :eek:

I think the change of freq really kills the battery!

I`ll test 384/384 another time to see if it gets better
[G1 Android Development] grenness:
Exchange calendar?

I'm currently on 3.9.4, and really satisfied with the inclusion of HTC's Work Email which gives me an ActiveSync email solution that actually works with my company's Zimbra server.

Any plans on also including Exchange/ActiveSync calendar support?

I've tried the Exchange solutions included in Magic, but they don't work with Zimbra, but the ones in Hero works (which I'm guessing the Work Email app is from).

--

Thanks,

Christopher
[G1 Android Development] Ronnymes:
It's lagging a bit, when you are browsing on the internet and then go back to the homescreen.

Found the same lag in 3.9.4

But it's a great ROM, realy fast!
[G1 Android Development] bootleg16:
i found that my sim card has a few years to it. yesterday upon flashing 3.9.4 my sim card went dead and i thought it was 3.9.4 causing it.

lol

got my new sim card.

=]
[G1 Android Development] cjsimokat:
I have noticed this also-- starting with 3.9, but to a lesser extent. When I browse the internet for a couple of minutes, then go back to home, the screen will black out for 2-3 seconds, then the home screen will load. I hit the app drawer during this time and noticed the various icons slowly repopulate.

I can only reproduce this immediately after using the browser.
[G1 Android Development] Thats BS:
I had the same. Asked cyanogen and he said it's most likely bugs in the new launcher. This rom has it also, so it would seem he's right.
[G1 Android Development] dwang:
I think its because the new launcher uses more RAM than the stock launcher. So when you use the browser, the system will kill the launcher to free up more memory for the browser.

The stock launcher doesn't take up as much RAM so the system doesn't need to kill it as often to free up RAM.

The 2-3 second lag is because the system has to load the launcher from flash again.
[G1 Android Development] cjsimokat:
Thats odd. I was playing with Soulife's Rogers 2.9.1 ROM that includes optimizations from Cyanogens 3.9.2 and its doing the same thing. This was with HTC Launcher.

I hope it's not my sd card clonking out.
[G1 Android Development] dwang:
Try pushing the old launcher from one of the older builds and see if that fixes the issue.

All these new features that cyanogen is adding to his ROMs come at a cost, namely less RAM for user applications.
[G1 Android Development] isikh:
You, my man know your science! =)
[G1 Android Development] webgrafix:
OK... I apologize if this is not the right forum to ask... but I would love some advice.

1st: Do I need to install the userinit.sh in this script for companche to work.

On the first page Cyan wrote:

2ND: If I don't need to install (push) this script... how do i check to see if its working (compression ration)?

Previously i was using:

But now I get a "File not found" error.

Thanks for any input.

-------------------------------------------------------------

Followup to my post(s) yesterday about having issues with my radio not working properly:

-I went to Tmobile store and got a new SIM. That still did not fix it.

-A call to Tmobile tech support... they had me switch off "3G" in the setting... and the phone runs like a champ with EDGE only right now. We are still not sure if it's a Tmobile issue or an issue with my handset.
[G1 Android Development] dwang:
Yes you need to enable compcache in userinit.sh for it to work.

PM me and I'll send u mine.
[G1 Android Development] uwonsum:
This is not to be offensive or derogative; 528/528 defies common sense and makes absolutely no sense if your intent is to save power. Just think about it for a second. 384/384 compared to 528/528 will save more power but performance will lag. I have explained and detailed how to get maximum power efficiency to highest performance ratio here with 128/528. I won't discuss this topic on this thread any longer unless prompted by the OP.
[G1 Android Development] ubernicholi:
The faster tabs switch in the browser is very nice.

+1 for awesomeness
[G1 Android Development] piercednevins:
Loving the updates to the browser! seems a bit more responsive, switching between "windows" is a much faster transition, the fastzoom (or whatever you call it) seems more responsive, and thus a little more useful. I think the modded launcher is laggy...I may try going back to the standard launcher. will report if it seems to help.
[G1 Android Development] dwang:
There is some logic to it. The thinking is that the power it takes to go from 245 to 528 and back down offsets any powersavings that throttling provides. So maybe its better just to use a straight 528/528 setting or even 384/384.

Obviously if u are doing some continuous activity like streaming music, setting the cpu to 528/528 will cause faster battery drain than say 384/384, but most people use their phone in short bursts (which causes the cpu throttling to go up and down quite often) so in this case, using a constant cpu speed setting may work better.

Maybe your tuning will fix some of that, I don't know.
[G1 Android Development] roxthiaguin:
Yeah man! I agree with you..

Is that...In this same topic I was discussing that topic.

I was using 128/528....My battery was dropping to 0 in 12h or less

So, a man came and said that he was using 528/528 and his battery was lasting 24h. We all find it very strange, but I made that to test! Maybe if the cpu don`t have to change everytime the freq would use less battery.

And what I`m seen right now is that this is happening!

I`m really confused! How can 528/528 be better for battery than 128/528

it makes no sense to me too man! No sense at all! But, it`s here! my phone is the prove that it`s happening D:
[G1 Android Development] xidominicanoix:
well i see it like this ... what wastes more gas? driving up to 100 and then going back down to 40 and doing this over and over again .. or just maintaining a constant speed of 100?

or i could be completely off ;)