yashsingh1/xdaforums huggingface dataset:
[Vibrant Android Development] jad3675:
GPS Fix?

I think we need this change for the p990 modified and merged into the Vibrantmtd stream.

http://review.cyanogenmod.com/#change,6455

Yeah, I know, I could do it; problem is I'm not very familiar with gerrit and I'd probably push the changes to the Nook or something.

Background:

Our slow locks with the GPS disappear when there is a valid lto.data file in the /data/gps directory. I've verified this by running the get-gps-lto script manually. 10+ minutes locks with no file, down to 5 seconds with the file while using the gpsd binary from trigger12. Unknown if this fix works with the gpsd binary that is in nightly #59.

Fix:

Modify init.aires.rc to contain the following:

## Manual download of long term orbit data

service gpslto /system/bin/get-gps-lto

user system

group net_raw system

oneshot

disabled

## Try updating LTO whenever glgps or wifi comes up

on property:init.svc.wpa_supplicant=running

start gpslto

on property:init.svc.glgps=running

start gpslto

Add get-gps-lto into the stream....profit?

John
[Vibrant Android Development] hitman818:
This is weird. When was charging my phone it said it was 100% then when I took off the usb it said 100%. Then I went tovrecovery to wipe battery stats. The phone rebooted and it said 76%.
[Vibrant Android Development] Infoport:
still a little flaky, but when it works it works WELL.

hope for some stability, but I am staying and looking toward daily driver.
[Vibrant Android Development] Phateless:
Lol I meant messaging. Oops.
[Vibrant Android Development] Phateless:
Open browser and settings in there. Probably just default settings of stock browser.
[Vibrant Android Development] barribow:
So, let's say we want to install a nightly and then a kernel, let's say glitch, then how should these steps be modified.
[Vibrant Android Development] t1h5ta3:
Known issue. 100% on cm is about the same voltage as 75% on oem roms.

Now if we had a range from 4.2v-3.2v we could get awsone life rather than the current 3.9-3.6....
[Vibrant Android Development] geoffcorey:
Between flash gapps and wait 10 minutes, add flash kernel.
[Vibrant Android Development] hitman818:
Can the kernel get updated? Im sure if it does to the latest ine it wont have the wifi disconnecting problems.
[Vibrant Android Development] lolobabes:
I agree random reboots on b58 and new market app having FC, reverted to backup

Edit: I hope its fixed on b59
[Vibrant Android Development] numberoneoppa:
Errr... no.
[Vibrant Android Development] ipetloudog:
Man, you flash addicts really love these nightlies, huh?

Yea, im gonna stick with redux.
[Vibrant Android Development] GameOver69:
i have installed angry gps and the new gpsd file. Quite the improvement with locks!

My question is, does angry gps need to be running all the time for gps to work or get a lock?
[Vibrant Android Development] gamikzone:
lol yeah when i look at the changelog i just cant resist its enough i try to hold myself from flashing every build i try do only do evens right now im waiting on 60 :D

this is the only rom that gets updated almost everyday so why not flash like crazy?
[Vibrant Android Development] barribow:
Thanks! I don't see the thank button anymore. The layout has changed.
[Vibrant Android Development] gamikzone:
build 60 says there is improvments on OMAP isnt that a gpu or something? :confused:
[Vibrant Android Development] jrod33084:
I'm running nightly 56 right now. My android os is constantly at 26% in battery use. And life has shortened. Is this suppose to be that high? I didn't do any changes from the previous nightly I had except try the GPS fix which didn't work for me...:(
[Vibrant Android Development] nedlog:
Running #60 no issues so far.
[Vibrant Android Development] gamikzone:
try charging it to 100 then wipe ur battery stats in recovery and unplug your phone when done that usually takes care of the problem
[Vibrant Android Development] jay661972:
do cm7 have a separate locksreen wall paper?
[Vibrant Android Development] ginzberg:
The key here is unplug.

Once you plug in your Vibrant on CM7, it will never go back to low cpu utilzation state again until you reboot. You can reproduce this in System Panel very easily. Try charging your phone fully, unplug, reboot. See how your battery performs after that.

I agree that resetting battery stats helps when all other factors are resolved, but this is a major issue that I have found. I look forward to the next RC so that I can report the issue with logcat.
[Vibrant Android Development] Jasonhunterx:
60# battery is beast right now
[Vibrant Android Development] Phateless:
It does for Glacier, not sure if this feature has made it to Vibrant yet.
[Vibrant Android Development] Cesarp 24:
#54 has really good battery life. Solid

Sent By My CM7 Monster
[Vibrant Android Development] OPTheory:
Beast. Beast as in it's battery hungry, or your phone is like a beast now because of the battery life?

Also, #56 for me (with the GPS fix), while very quick, is not good on the battery life.
[Vibrant Android Development] Jasonhunterx:
No my battery is good had 5hrs so far at 15% had 50 or so gonna post screenshot gonna see how long I can go :D
[Vibrant Android Development] Cesarp 24:
Birg had made a .apk a few pages back that changes the name of the GPS internally and turns if gpsd or something like that. I have it and it works. Saves tons of battery. I don't use GPS.

Sent By My CM7 Monster
[Vibrant Android Development] gamikzone:
but if u just flashed it, it wont always be accurate im running 58 and i lost 60% in 7 hours
[Vibrant Android Development] CzarDestructo:
Using nightly 58.

I figured out the cause of the random rebooting! Every single time I hold my phone sideways and manually turn off the screen (by pressing the power button) it reboots. If the screen turns off via time out while its sideways, it won't reboot. It's also fine if I manually turn it off while upright.

That said, this is my first Cyanogen experience since putting Cyanogen 5 on my old G1. I'm floored at how awesome this runs. It's buttery smooth and finally, FINALLY the bluetooth quality is fantastic. I've been jamming out blissfully via stereo bluetooth in my car the last two days and loving it!
[Vibrant Android Development] Jasonhunterx:
Well pic in a couple battery is nice :D better than froyo for me most of the times
[Vibrant Android Development] Cesarp 24:
Somebody already pointed that out. :/

Sent By My CM7 Monster
[Vibrant Android Development] gamikzone:
even though battery life isnt all that great cm7 is one of the best roms out there in the android world :D
[Vibrant Android Development] Jasonhunterx:
Yup can't wait for CM8 an its great for other phones just not us :(
[Vibrant Android Development] Jasonhunterx:
My battery keep going up by 1% an its not on charger from 4 to 5 but I'm not mad about it lol
[Vibrant Android Development] Jasonhunterx:
Go to style in lockscreen options an it will say background in there I think
[Vibrant Android Development] iwillkillyou:
My accelerometer doesnt work on games, any idea how I can fix this?
[Vibrant Android Development] Jasonhunterx:
U think its good battery?

Is this good this is some of best i ever got an it is heavy usage :D lovin 60# started with 65%
[Vibrant Android Development] xriderx66:
9 HOURS IS YOUR BEST?

holy ****.

some of you need to go back and try out nightly #39, I would stick with it if it had unmute/mute fix.

that had battery that lasted me 18+ hours on moderate to heavy usage.
[Vibrant Android Development] Jasonhunterx:
Nah one of my best on froyo had 18hrs I listen to music alot an game so don't get greatest on battery an plus started at 65% if it was 100 no telling what I could have got an that's 2nd best on CM7 got 12hrs once
[Vibrant Android Development] DAKIDD236:
If you're on nightly 58 and up you can. Just go to Settings > CM settings > Lockscreen > Style options and you will find it on the bottom.

Also, i'm getting awesome battery life. I haven't charged my battery since 7 am this morning and my battery is at 40%!
[Vibrant Android Development] gamikzone:
how good is battery on 39? i dont even if the gps fix would work for that :confused:
[Vibrant Android Development] xriderx66:
It has been the best battery life i ever had, better than some 2.2.1 roms i've tried.

It wasn't just me either, alot of people said it had really good battery life.

I and a few others stayed with 39, until the unmute/mute issue was fixed later in the 40's(?)

I just want the mute/unmute fix that i can install manually, then i will go on 39 and do it. and stay there until CM7 can make me coffee in the morning.
[Vibrant Android Development] gamikzone:
lol i like the way u think if it is possible to have mute/unmute be fixed on 39 i would use it and does anyone use gps on 39? even if mute/unmute dont work i probably will still try this for battery life
[Vibrant Android Development] xriderx66:
Try it out, doesn't hurt, it gave me best battery life.

Unfortunately

Unmute/mute issue > Battery life for me right now.
[Vibrant Android Development] cyberpyr8:
I have been running video podcasts and using this thing heavily today and 14 hours later I am still running. I am on #59.

Sent from my hacked Samsung Vibrant.
[Vibrant Android Development] gamikzone:
alright do u have a mirror the orignal link is dead? :confused:
[Vibrant Android Development] Jasonhunterx:
I'm gonna try to beat that lol luv competition wanna see picture of display time
[Vibrant Android Development] :
ok guys, I want to leave miui for cm7 as I am looking for good battery and ok gps, what nightly is recommend?

thanks
[Vibrant Android Development] gamikzone:
39 is the best for battery but i cant find any mirrors for it right now
[Vibrant Android Development] te_quiero_forever_girl:
i heard about the random reboot issue with recent nightlies. Does it appear on #60 ?
[Vibrant Android Development] gamikzone:
no this is only on 58 and im on it and its not that bad unless u turn the screen horizonatally and turning your screen off
[Vibrant Android Development] roffee:
my battery drain is same as froyo, why looking for so old version with lots of bugs.you need to find your problem first.
[Vibrant Android Development] gamikzone:
no its that alot of people have been saying 39 has great battery life its not a problem related with my setup its the thing where the phone doesnt sleep while the screen is off
[Vibrant Android Development] xriderx66:
I have the file but have not uploaded its almost 1 here in Texas so ill catch some sleep and upload and pm you the link tomorrow ;)
[Vibrant Android Development] jwleonhart:
Just out of curiousity why hasn't the GPSD file been update yet for the one with the GPS fix? It would be great if I didn't have to keep reapplying it and it would help for newbs if it was included in the new nightly.
[Vibrant Android Development] Phateless:
I was able to get a lock this morning without the gpsd file switch. Try it.
[Vibrant Android Development] hefelfury:
Battery Life

After being on battery for 20 hours, I was at 35% charge, with what I would call moderate battery usage.

This is on build #59.
[Vibrant Android Development] barribow:
did anybody see this?
[Vibrant Android Development] Threat Blvd:
I tried it. Did not make any difference for me.
[Vibrant Android Development] jwleonhart:
I have to agree, I tried it, and even fooled around with it, and it made no difference.

What I can say has made a noticeable difference is installing the Glitch kernel. My battery life has nearly doubled at this point..

I've managed to safely overclock to 1300mhz undervolted all the frequencies as well and everything is running well.

I used to be lucky to get 8-10 hours of use if the battery was fully charged... Mind you I don't play games or do anything heavy on the phone besides having a live wallpaper cuz they are coolz.

Now i'm getting pretty much a day from full to dead, I can definantly say thats an improvement. You might want to give it a try for yourself.
[Vibrant Android Development] roffee:
but my phine can sleep
[Vibrant Android Development] asatnik11:
How long did it take for that first lock and are you using msbased or standalone mode? Did you ever do the cm7 angrygps and trigger gpsd swap fix before? I found that the GPS mode (msbased) setting sticks between nightly flashes and that helps a ton with the initial lock since it downloads satellite info to help speed the lock. Otherwise standalone could take around 12 minutes since we don't have LTO downloads turned on for our gpsd yet. Someone posted the code to fix this several pages back but I'm not sure anyone is planning send a push request to integrate it. I would but I'm not exactly a programmer......I would consider myself more a nightly addict and a forum Lurker.

I had a lot of trouble with the cm7 gpsd being unstable and not working after the first few locks. The gpsd from trigger seems to behave a bit better. Has anyone had any luck with the gpsd being more stable in recent nightlys?

For those of you that tried the cm7 GPS fix, had GPS working well in froyo and still can't get a lock: turn off your wifi. It seems that msbased mode doesnt download the satellite data when connected to wifi.
[Vibrant Android Development] DAKIDD236:
I actually think 58 - 60 is the best for battery life. I charge my phone once a day and I'm good for the rest.
[Vibrant Android Development] numberoneoppa:
Agreed. That and the phone works much better with the new ROMs, too...
[Vibrant Android Development] Phateless:
This is with stock gpsd file and msbased setting from angrygps.

The first lock takes quite awhile every morning. I have done the fix before but it needs to be reapplied after flashing each nightly. I'm using msbased.

It's been maybe 5 or 10 minutes this morning and gps status says I have a lock with 4 out of 8 satellites but the navi icon still hasn't turned blue yet.

EDIT - there it is.
[Vibrant Android Development] archie53:
Wow, mine takes maybe 30 seconds to a minute for 7 out of 10 with 5m accuracy. Just shows you how bad these devices were made.
[Vibrant Android Development] Phateless:
Wow, if I got those results I might make the Vibrant my daily driver.

My mt4g (glacier) is still my daily driver because it has the flash, ffc, 50% more ram and it takes about 3 seconds for a solid lock every single time. It's freaking amazing...

Just flashed 61 on the Vibrant and now getting absolutely nothing. It really seems like once the GPS chip gets hot it just stops working completely.

On a separate note, has anyone else noticed that picasa will not stop syncing lately? Nothing has changed so wtf is it synchronizing?

It's doing this on both glacier and Vibrant.
[Vibrant Android Development] gatorbob:
The advice that was posted a few pages back about rebooting your phone after taking it off the charger does seem to work for me. The phone is properly deep sleeping and I'm at 79% after almost 5 hours off charger. I had noticed using CPU Spy that phone does not deep sleep after charging overnight, sitting at 100 mhz most of the time.
[Vibrant Android Development] atinm:
Install whatever - the May one just changed GTalk for video support, the rest were the same.
[Vibrant Android Development] junglerumble:
How's the battery life?
[Vibrant Android Development] I7oobie:
Mine does this too. Just click the power button, and you're screen should pop on. It seems like you're having a lot of troubles with CM7, maybe a different ROM would do you better? :eek:

Edit: Re-reading your problem, does your screen wake up? Mine doesn't seem to, until I hit the power button...
[Vibrant Android Development] GameOver69:
Upon installing the latest nightly, i lost the stock VIDEO Player app?

am i the only one?
[Vibrant Android Development] apollo15rover:
Mine seems to be working ok..
[Vibrant Android Development] Hung0702:
I agree. What's the advantage of showing the true physical characteristics of the battery? Is it more consistent (i.e. no unexpectedly fast drop-offs, then unrealistically long stagnation at a certain percentage)? Unless it is, I would prefer 100% being symbolic of the max charge.

Although, to be honest, don't care.
[Vibrant Android Development] wyvernwaddell:
Might want to redownload and make sure the md5 is right. No weird ring problems here..
[Vibrant Android Development] brian(::
do we have to flash the new initial file ?
[Vibrant Android Development] boothten:
Ah, ok thanks for the quick reply!

It matched for me.

:)
[Vibrant Android Development] cojonesx:
no, if you are already running cm7 you flash the upgrade file
[Vibrant Android Development] Tynen:
Now that I"m running CM7 I don't have drivers for my phone in Windows. It sees it as a nexus s. I can't use ADB commands without drivers.
[Vibrant Android Development] scrizz:
get the Nexus s drivers then...

:)
[Vibrant Android Development] iynfynity:
just install the nexus s drivers.
[Vibrant Android Development] mulcahyd:
Anyone still having issues with data but wifi works.
[Vibrant Android Development] Tynen:
I did. now ADB works, but it won't boot into download.

\

adb reboot download

simply reboots the device back into OS.. this is getting frustrating.
[Vibrant Android Development] cojonesx:
it wont work like that, get into download mode using the button combination

reading EVERYTHING on the install page helps http://forum.cyanogenmod.com/topic/...d-7-for-samsung-galaxy-s-phones-experimental/
[Vibrant Android Development] Tynen:
Right.. I always hold power and volume down, I forget that it's up and down:

1.) Take out battery, SIM, and Memory card
2.) Connect phone to the computer
3.) Put battery back into phone while holding down up and down vol buttons
[Vibrant Android Development] ytv:
Rom is running great; odin back to stock and everything is running fine. The only problem I have is incoming calls sometimes don't have a ring tone. Anyone have any idea why that is?

Thanks in advance if anyone can help. Good stuff with the rom hope I see more great things to come.
[Vibrant Android Development] nickmcminn60:
Are you using mp3 based ringtones or the stock .ogg ones?
[Vibrant Android Development] neobuddy89:
Happens sometimes when we keep it for charging....
[Vibrant Android Development] gamikzone:
yea im running trigger redux build 14 which is based of 60 and the battery is pretty good
[Vibrant Android Development] xriderx66:
for people who wanted to try out #39 this is a nightly that was leftover on my phone that i like to keep.

http://www.multiupload.com/9ROISY9VB6

uploaded it for people who want it.

-WARNING-

does not have unmute/mute fix, or GPS, and no screenshots

those were all implemented AFTER 40
[Vibrant Android Development] jad3675:
Odd. I'm running #55, and CPU Spy reports that it does sleep after I pull it off the charger - both wall and computer.

5 hours off charger and I'm at 82%.

John
[Vibrant Android Development] Droidicus:
Psh. Overnight (about 7 hours of idle time), starting at 100%, went down to 72%. System panel tells a story of 1-3% constant cpu use by the system.

On nightly #60. Clean wipe install. Very few apps.

ON A SIDE NOTE - found an old nokia candy bar phone to give to my 8 year old yesterday...that thing will last at least a week. *sigh* I miss those days. ;p

I posted this before and I'll post it again I would GLADLY give up gps (vibrant never had it to begin with) for decent battery life. Its not even noon and I have to charge my phone...just got the 15% message. Only texting so far today. Little web browsing. That's it...
[Vibrant Android Development] Droidicus:
As far as cpu spy goes. Its telling me 70%, or 8 hours 45 minutes in deep sleep. Riiiiight...
[Vibrant Android Development] Jasonhunterx:
Use KB5 an use glitch kernel an undervolt an use conservative an that will give u like 1 day or guarantee it :D

Edit:Profile on set CPU for screen off 800-100 powersave
[Vibrant Android Development] Droidicus:
Awesome. will give it a try. Wait. glitch hl, ll or what?
[Vibrant Android Development] Jasonhunterx:
Start with Ml if its not stable go to Hl an if that's not great ll
[Vibrant Android Development] jad3675:
Deep sleep doesn't preclude a process holding a wakelock. That may cause your cpu utilization to hover around 1-3%

FWIW, my phone (glitch kernel) deep sleeps, and System Panel shows the occasional CPU spike to 3%.

John
[Vibrant Android Development] xriderx66:
ARG!!!!!!!!!

I JUST ODIN'D - sorry caps-

nd lost all CM settings

can someone lead me to where i can check and enable so when i long press back it kills the application?
[Vibrant Android Development] phantomsniper773:
Settings->Applications-> Development
[Vibrant Android Development] jwleonhart:
I switched the the glitch kernel the otber day and my battery problems have finally stopped. Im using the HL... running overclocking and undervolting tests i got the best stability from that of the 3.

I can say my battery life has doubled to a full day pretty much. Before i was lucky to see 8 hours. Im overclocked to 1300 and undervolted and so far so good.

Gps still works and everything.
[Vibrant Android Development] Andy0682:
hi guys,

quick question...i rooted and flashed the latest nightly onto my co workers vibrant...went through fine, however market seems to be gone.

suggestions on how I can get it back on his phone please...thanks!
[Vibrant Android Development] beren28:
READ THE OP.

ACTUALLY R.E.A.D. IT.

Thank you.
[Vibrant Android Development] krazie1:
You have to flash the Gapps. The link to Cyanogenforum is in the OP go there and towards the bottom of the cyanogen page is a link for gapps.
[Vibrant Android Development] gatorbob:
Not sure, but I'm now at 64% and 8 hours off charger. Considerably better than I was at same point yesterday before I did the reboot after charge.
[Vibrant Android Development] Jasonhunterx:
How do u calibrate battery if u can't charge while ur phone is off does it work the same way if on?
[Vibrant Android Development] gamikzone:
what are ur UV settings? i tried to undervolt but whenever i do i keep rebooting im running the stock kernel right now my phone has used 30% in 6 hours thats alot better than before :)
[Vibrant Android Development] droidfan77:
I'm currently running Build 60 and the battery for me is just as good as it was during build 39 and 40. These screenshots are after moderate usage. I don't play many games on my phone, but I read a lot of emails and RSS feeds.
[Vibrant Android Development] gamikzone:
nice theme which one is that called? and this is my battery i have 71% after around 6 hours and moderate usage
[Vibrant Android Development] droidfan77:
Thanks. The theme I'm using is called Dark Horse. If I remember correctly I found it in the Theme Chooser Themes thread on here. Wow, how are you getting such great battery life? Are you running a different kernel?
[Vibrant Android Development] Relikk356:
Im still on 54, im at 73% after 10.5 hrs. Light to moderate usage; played a little bit of angry birds when I was on the throne. lol. Standard 3 or 4 emails, maybe 20 text messages, read android news, checked the weather, blah, blah, blah....

I have the gps off, and the file renamed so it will not work per Burgers app he posted a few pages back. I'm also running on edge network only. Makes a huge difference for me. I'm constantly switching from 3g to H if i don't check 2g only.

I also did the radio fix someone suggested a few threads back. I will link it in an edit shortly. Not sure if it helped though.

http://xdaforums.com/showthread.php?p=15775222#post15775222
[Vibrant Android Development] gamikzone:
no thank you :D and i just always reboot after fully charging my phone and i have my setcpu set on 1000/100 ondemand, (ondemand seems to save more battery than conservative) and im running trigger redux build 14
[Vibrant Android Development] S1Cool:
Hi, I flashed this rom but i have a lot of trouble trying to get Market Place APK working.. i installed like 8 differents versions but nothing! click on market and just a blank thingy then close...

Someone have a clue how to get it working? Im frustated!:(

Thanks
[Vibrant Android Development] geoffcorey:
Have you installed gapps?
[Vibrant Android Development] S1Cool:
I tried to install it from ROMManager, its reboots but nothing appears..

Would it be the problem?