yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] Vlad83:
Have you tried updating the ril.so in the radio thread? That seems to have done the trick for me...
[G2 and Desire Z Android Development] Vlad83:
That happens sometimes when the phone hasn't been rebooted for a while. After you reboot the battery % drastically changes... I would attribute that more to inaccurate battery reading as opposed a sudden loss of charge.
[G2 and Desire Z Android Development] G1ForFun:
....I never claimed it would make my battery life longer or better. All I said was hopefully my battery will charge quicker since the cpu won't be running as much....

and on a side note my battery % usually goes up a few percentages when I reboot and I haven't in awhile (as in 24 hours or more...)
[G2 and Desire Z Android Development] C.Flat:
Yea, mine does this too sometimes. But its usually a 10% or so drop. Not as drastic as his picture though
[G2 and Desire Z Android Development] Vlad83:
His is under 10%... 8% or so.
[G2 and Desire Z Android Development] gravis86:
No, each tick-mark is 10%. So it's more like a 15% drop.

I've had as much as a 5% drop before, but usually nothing more than 2% or 3%. I would say a re-calibration of the battery is in order.
[G2 and Desire Z Android Development] Vlad83:
You're right, for some reason I took them as 5% :eek:
[G2 and Desire Z Android Development] rajbaba2:
How do i recalibrate the battery
[G2 and Desire Z Android Development] G1ForFun:
My gps broke out of nowhere and I pushed a "gps.vision.so" from an older nightly and it works again... Logcat wouldnt show anything when I enabled GPS. Now it shows it turning on properly.

One thing I noticed was that when my gps was acting funky, the maps and location service would constantly run in Applications/Running services...which was killing my battery if I did not manually stop the service and then kill the app with the "Hold back button to kill app" option...

Maybe those who are having gps issues and bad battery life can benefit from this...
[G2 and Desire Z Android Development] androidtoy09:
reboot into Recovery - advanced - wipe battery stats
[G2 and Desire Z Android Development] klmsu19:
The maps always seem to be running until you manually close it. Seems to be an Android thing from my experience and nothing to do with the gps "bug" Google maps just doesnt seem to fully close itself.
[G2 and Desire Z Android Development] G1ForFun:
Weird, it closes properly now that my gps is functioning properly...which makes sense because if the gps is not toggling on and off properly than the service would get stuck running.
[G2 and Desire Z Android Development] gravis86:
Mine closes properly and functions fine, and I haven't changed any files.

The weird thing is I was one of the people whose GPS stopped working on the old build 39, but with the newer builds that people are having the same problem with, I don't. :confused: Oh well I'm not going to complain. As long as it works I'm good!
[G2 and Desire Z Android Development] SomEngangVar:
Haha. Weird. I've never had GPS problems. It locks within 3 seconds but I always catch maps running in the background.
[G2 and Desire Z Android Development] PJcastaldo:
what are you guys getting for battery life? I run the latest nightly and pershoot kernel and get barley 15 - 17 hours with super lite use, and about 6-8 hours if i have a few calls texts and facebook... Seems pretty bad compared to cm6.

What are you guys getting?
[G2 and Desire Z Android Development] spovat:
bout 14 hours with medium use, 10 hours heavy. I've yet to know what light usage feels like ;)
[G2 and Desire Z Android Development] gravis86:
50% after over 40 hours. In other words, great battery life!
[G2 and Desire Z Android Development] bigtrouble77:
My gps has been dead on build 7. Just flashed 8, hopefully its fixed.
[G2 and Desire Z Android Development] ajk1311:
Do you use setCPU profiles and/or pershoots kernel?
[G2 and Desire Z Android Development] Rantanplan1980:
Can I somehow switch the cyanogenmod bootanimation back to stock gb ani? Where would I get the bootanimation.zip?
[G2 and Desire Z Android Development] dekeijzer:
I'm at 22% after 48 hours and now I'm charging again :)

This is with about 20 texts and at least 3 hours of spotify listening.
[G2 and Desire Z Android Development] C.Flat:
Witchcraft I say!
[G2 and Desire Z Android Development] jayb222:
Which kernel and what's your set up? And how come you don't have a steady phone signal reading?
[G2 and Desire Z Android Development] rajbaba2:
I do over 200 texts so my battery sucks ass
[G2 and Desire Z Android Development] chris2busy:
in that case i think that trying out a different radio might benefit ya more than rom itself.btw wow..your carrier must really like u.
[G2 and Desire Z Android Development] Jonno12345:
He probably uses juicedefender or similar to cut out the phone signal.

Very impressive battery life though, I like :o.
[G2 and Desire Z Android Development] WarBird87:
I am having issues downloading from the internet...it will go through the whole download then say unsuccessful... Any ideas?
[G2 and Desire Z Android Development] Crey23:
That would be good, if Juice defender worked for GB. Ever since CM7, It cannot control signal usage. The sad thing is I paid for it not long before coming up to cm7...nutz!!! :(

At any rate...I have been getting much better battery life with CM's kernel...weird I know, but I am. on CM's kernel I am getting about 14-16 hrs, on Pershoots I get about 10 - 12. I have tried this with #2, #3, where I ran both for a few days with CM and Pershoot. Currenty on #7 on CM (flashed a few days ago) and gettim much better than #3 with Pershoot's.

Nothing beats #28 though....that I had 20 hrs on 44% left....sigh! :(
[G2 and Desire Z Android Development] chris2busy:
anyone tried running smartbench on nightly #8?

the last graphics test does not display the blue jellyfish items..just white-grey , grainy boxes..anyone else can confirm this?
[G2 and Desire Z Android Development] gravis86:
Stock kernel, and OC to 1209MHz using the CM settings, so no profiles. It's in my sig ;)

Also, I'm not using juice defender. The breaks in signal are me putting it into airplane mode since I have absolutely no reception at work.
[G2 and Desire Z Android Development] jojo_16:
What happened to nightlys??

Fly like a G2
[G2 and Desire Z Android Development] heybobitsme:
Android 2.3.3. There was some changes and they're working on merging code. Hopefully we'll see something in the next day or 2.
[G2 and Desire Z Android Development] PatrickHuey:
Has anyone wiped coming from RC1 to the latest nightly?
[G2 and Desire Z Android Development] heybobitsme:
Actually, I wiped and flashed nightly #8 just yesterday. I wanted to test it out as a clean flash.

What do you need to know?
[G2 and Desire Z Android Development] wilnotdie:
This kcm.bin file will allow you to enter numbers without having to press or hold the alt key.. For example, if your adding a new contact with the keyboard out, while adding the phone number you have to press or hold to get the number row.

This annoyed the hell outta me.

I did the same quick change for CM6, but the same file wouldnt work for some reason. Had to pull the file from CM7, modify and repush. Now works.

In case anyone else wants this option instead of the T9 layout or whatever its called.

(Simply rename the file to vision-keypad.kcm.bin) Dont not extract it.

su
mount -o remount, rw /system
rm /system/usr/keychars/vision-keypad.kcm.bin
cp /sdcard/vision-keypad.kcm.bin /system/usr/keychars/vision-keypad.kcm.bin
mount -o remount, ro /system

Oh, and might want to backup your old file first, just in case.

Thanks and goodluck.
[G2 and Desire Z Android Development] PatrickHuey:
I suppose I just wanted to know how smooth it was. I know that wiping between nightlies isn't needed, but I didn't know coming from a RC. I skipped a few nightlies from RC1 and the latest. Launcherpro is just running a little sketchy to my believe. Swiping between homescreens is a bit choppy.
[G2 and Desire Z Android Development] gravis86:
RC is no different from any other nightly, they just changed the name for release purposes.
[G2 and Desire Z Android Development] heybobitsme:
I'm using LP as well and it's been pretty smooth. I have been noticing a few issues, but they've been mentioned already in this thread. I mainly wanted to test GPS (oh no, not again) and battery. So far, though I am not seeing amazing battery life. Just this morning I went just over 3 hours on battery and went from 100% to 80% with light usage. I've been trying to find if an app is the culprit but no dice so far. Stock battery and stock radio (ver. 26.03.02.26). I've been thinking of flashing the new radio to see if it makes a difference, but I think I'll wait a bit.

Edit: Interesting thing about battery, at least to me. When I take the phone off the charger it'll be at 100% for up to about 2 hours or more depending on what I'm doing with it. As soon as it goes 99%, it starts dropping off like mad. But when charging again on AC, it'll charge to 99% fairly quickly then take about a half an hour to hit 100%. Just throwing that out there because it just seems weird to me. I've had 3 Android phones, the G1 and myTouch Slide (mistake) and those didn't do that. Weird.
[G2 and Desire Z Android Development] aegentirony:
try running #1 nightly with pershoots kernel....no OC no setcpu

as of right now on #1 with pershoots kernel NO OC NO setcpu im at 17h 14m on battery and at 79% This rom gives me the best battery life ever!

For anyone who is suffering on battery try #1 with pershoots kernel...no OC no Setcpu..im curious what others results will be
[G2 and Desire Z Android Development] EdKeys:
Mine does the exact same thing. I was thinking that because I flash a new nightly every night it was messing with the battery stats, but since there hasn't been a new release in a few days that may not be the reason.
[G2 and Desire Z Android Development] chris2busy:
Hey guys..i got a question..Wasn't gb supposed to bring hardware accelerated gui , to the table?

The lag in app launchings and especially scrolling is quite apparent,even when viewing it next my 2g ipod touch scrolling.

And one more thing..At what degree does "surface dithering" lower performance?
[G2 and Desire Z Android Development] Fallen Spartan:
Make that 3, mine also follows the same pattern
[G2 and Desire Z Android Development] aegentirony:
Anyone from the dream /sapphire days care to chat about performance settings? On the MT3G i would have No Jit, No surface, Lock home and messaging in memory, and vm heap set pretty low i think about 16....Now it seems on the G2 its reversed...Jit and surface are on..Home and messaging not locked and vm heap is at the highest value....
[G2 and Desire Z Android Development] tvdang7:
having this problem now. not sure what is up. went to sleep at 100% woke up and its was at like 40%. same thing through out school to day ive rebooted killed apps turned of set cpu and no matter what i am still awake.
[G2 and Desire Z Android Development] WarBird87:
i am deffinetly having something keepig my phone partially awake... but i dont know WTF it is... and its driving me nuts
[G2 and Desire Z Android Development] al3co:
Might be because I've not applied a new nightly for a few days, but I got the dreaded SMS wipe of all my messages for the first time with CM7 nightly 7 :-(

I've had it with Virtuous (with various combos of htc/stock/gosms/handcent/widgets on/off to try prevent it happening, but to no avail) and now CM7 :(

Found this link on code.google.com which has been going on since 2009...does anyone know if Google's issued any statement about it?
[G2 and Desire Z Android Development] Fallen Spartan:
Would it be mobile data being left on? I.e. when you turn wifi off it automatically turns on data
[G2 and Desire Z Android Development] trsanning:
Since this phone is more powerful it can run the extras. The D/S was slow and little memory so we had to set it like that.
[G2 and Desire Z Android Development] Fallen Spartan:
I know Google had an issue where a few 100,000 users lost all there emails (was in news) and they are trying to restore them.....didn't hear anything about sms though
[G2 and Desire Z Android Development] chris2busy:
go into the stock sms app>settings and make sure it isn't set to auto delete old messages.
[G2 and Desire Z Android Development] G1ForFun:
I came from a G1 and I know exactly what you are talking about....and what you have now is exactly what you should be running. JIT was never good on the G1 because of its lack of memory. The G2 takes care of the memory issue and JIT has been optimized even more in 2.3 then it was in 2.2
[G2 and Desire Z Android Development] Vlad83:
That was rumored for 3.0 not 2.3, not sure if it does though.

As for dithering, I played with it and didn't notice a difference. I think with higher end phones it's not as significant...
[G2 and Desire Z Android Development] Vlad83:
Silly question but did you check spare parts>batt history>partial wake ?
[G2 and Desire Z Android Development] al3co:
It's definitely disabled, new/old/sent/received texts just all wiped after I replied to a text and came back to my phone about 15min later :mad: Luckily had a backup from 27th but was hoping CM7 wasn't affected by the same bug I had in Virtuous :(
[G2 and Desire Z Android Development] rajbaba2:
A fourth right here and its sucks my battery literally sucks ass
[G2 and Desire Z Android Development] adrien1977:
So it happened again this morning even though i updated to the latest radio

Vision_RADIO_12.28h.60.140f_26.06.02.27_M

Now, someone said that the loss of signal probably caused the reboot based on the battery chart.

I am not sure that's the reason. The red was because i did not realized that my phone rebooted and it was waiting for my pin hence no network connection.

Is there a way to look at logs and find out what happened?

Another thing.

I am not sure that the time calculation is accurate unless it was reset after my reboot (and even that should not be true because it happened around 10am)

So it says 5h16m at 5:08pm. however i unplugged my phone at 7:15am, so it should show at least 10h not half

Something is weird....

I am still using nightly 6
[G2 and Desire Z Android Development] brfield:
On the latest nightly, 8, I do not have GPS and the light sensor is wacko.
[G2 and Desire Z Android Development] Shaquiel Harris:
I myself had that dreaded sms wipe happen to me.. whenever I got an sms I could read it in the notification bar and once I went to reply, it deleted itself. Happened using GO SMS. I will never, ever, EVER USE THAT APPLICATION AGAIN. It even screwed up the stock sms app. Once I uninstalled it using root uninstaller, the problem stopped IMMEDIATELY. Using handcent now.
[G2 and Desire Z Android Development] gravis86:
I don't know why you would be getting that random reboot. However, I have an idea of why your battery might be jumping like that. Is there a chance your phone takes a long time to boot up? Like maybe sitting at the HTC screen for an extended period of time where it would drain battery but not actually show in the battery stats since the OS isn't loaded.
[G2 and Desire Z Android Development] adrien1977:
No, not really, the reboot is pretty fast. It's not stuck. Even during the random reboot.

I've actually seen the reboot happening while i was using handcent (i now use GO SMS) and the reboot would take no time.
[G2 and Desire Z Android Development] gravis86:
Have you tried recalibrating the battery? Charge it fully, and while it's still plugged in boot into recovery and wipe battery stats. Unplug it and reboot, and then drain it all the way.
[G2 and Desire Z Android Development] adrien1977:
I will try this.

I also will update the libhtc_ril.so

We will see what happens.
[G2 and Desire Z Android Development] gravis86:
And a good way to find out why your phone is randomly rebooting is to do both of these and paste the results here. I'm sure someone will be able to decode them.

Run these in Terminal on the phone.

su
cp /proc/last_kmsg /sdcard

su
dmesg >/sdcard/out
[G2 and Desire Z Android Development] adrien1977:
next time it happens i will surely do it

thanks again
[G2 and Desire Z Android Development] louyaorong:
Weird. My GPS come back after flashing the new radio. I'm on latest cm nightly.
[G2 and Desire Z Android Development] WarBird87:
I'm not sure ill have to check but I rarely use wifi
[G2 and Desire Z Android Development] WarBird87:
Yes I did nothing out of the ordinary though... Android system some media if I am listening to music but that was about it
[G2 and Desire Z Android Development] Vlad83:
So I am stumped as to how to enable youtube app to play "adult" videos. When I try to view the Rhianna S&M video I get a pop up saying its for adults only. I checked my youtube settings and can view it fine on the pc under the same google credentials I use on my phone. I cleared youtube data but to no avail. It seems as if something is not being passed...

If anyone decides to try it, make sure to take off the adult filter in youtube app or you won't see it in search results. It is the official video posted by rhiannaVevo...

Sent from my HTC Vision
[G2 and Desire Z Android Development] mattseg:
Not sure where to ask, getting a new microSD, and I was wondering if I should format it in EXT3 or EXT4, or leave it fat?
[G2 and Desire Z Android Development] gravis86:
Leave it FAT32
[G2 and Desire Z Android Development] trsanning:
Just tried it and I get the below message. After clicking confirm it worked.
[G2 and Desire Z Android Development] gravis86:
I got the same message but it still didn't work. I was loading over Wifi.
[G2 and Desire Z Android Development] Vlad83:
Strange I didn't get that message. Did you search through youtube or browser?

Sent from my HTC Vision
[G2 and Desire Z Android Development] gravis86:
I got that message searching through YouTube.
[G2 and Desire Z Android Development] trsanning:
Through YouTube over 4g.
[G2 and Desire Z Android Development] Vlad83:
But does it play after accepting? This is the link: http://www.youtube.com/watch?v=KdS6HFQ_LUc

It plays fine in browser but if I use the app I get the you must be 18 prompt.

Sent from my HTC Vision
[G2 and Desire Z Android Development] trsanning:
You can tell there hasn't been a nightly in a few days when the topic of discussion is adult content youtube videos that shouldn't be in this fourm. LOL :)
[G2 and Desire Z Android Development] rajbaba2:
Ahhahaahha is this what it has come to
[G2 and Desire Z Android Development] EdKeys:
@aodpoe

Scroll back a few pages and see my post and link re gridlock's version. Try that.
[G2 and Desire Z Android Development] aodpoe:
Just applied the 13.4mb gapps version and did not work either, i just noticed something.... on my N1 when i apply a gapps it shows a status bar showing progress, but when i apply it on my G2 the status bar stay gray and only last for like 2 seconds and it gives me installed successfully.......... but it does not show up on my app list after rebooted :confused:
[G2 and Desire Z Android Development] dictionary:
I pray that you're using the new recovery (NOT ROM MANAGER. They are two separate things), ie 3.0.0.x which is orange. If so, try mounting /system and/data in recovery then flashing gapps
[G2 and Desire Z Android Development] aodpoe:
................OMG how the F* did i miss that?

hahaha i feel dumb now. Yep that fix the problem thanks!:eek:
[G2 and Desire Z Android Development] dictionary:
;)

10 chars
[G2 and Desire Z Android Development] vinic:
For some reason, data isn't working on my G2 with CM7+gapps installed through CW 3. Data DID work when I installed CM7 through CW 2. What's the deal?
[G2 and Desire Z Android Development] dictionary:
Have you manually added your APN stuff in? Or maybe just give it a bit. What's your exact issue? Mobile? Wifi?
[G2 and Desire Z Android Development] trock62:
Thanks that was what it was. Noob mistake!!!!!!!!!!!!!!
[G2 and Desire Z Android Development] petard:
I just flashed build 5 and it automatically restores on boot!

Thank you!

I just checked the source and this was added two days ago. Awesome. I was about to (attempt to) learn how to fix it myself, too!

EDIT: Toggling airplane mode still makes it revert to unknown. Is there an intent for airplane mode off than can make the code run again?
[G2 and Desire Z Android Development] vinic:
Mobile. I'm on T-Mobile US, and the APN settings seem intact and correct.
[G2 and Desire Z Android Development] dictionary:
Just for giggles, try this. Create a new APN, with whatever name you want. Then just add what you need for data, and save it. Switch to it, and see if it works. I've had my prefetched one not work before, and manually putting it in worked. Then you can go an either add all the old info to the new one, or try switching to the old one again, once/if the new one gets a connection.

Also, make sure T-Mobile just isn't failing tonight, lol.
[G2 and Desire Z Android Development] juanshop:
I'm pretty sure Ginger man is messing with my data, I checked on my old galaxy s and speeds where normal, but on my g2 data is weird, works and signal never goes off but I get network errors on market, and such....
[G2 and Desire Z Android Development] vinic:
Unfortunately, this didn't fix the problem, and neither did a wipe and reflash. This is unfortunate.
[G2 and Desire Z Android Development] trock62:
For info all. I flash the new radio yesterday when I had virtuoius rom and it worked great. Then later when I got home I flashed CM7 w/GAPPS got everything up nd running good. Used quickboot to go to recovery and eneded up in a Bootlooop off and on to HTC white screen. I tried reflashing the Recovery in fastboot and the eng HBOOT over. Didn't woork. Reflashed the old Radio this morning and all is well, resetting up everything. Thanks all for the help.!!!!!!!!!!

:D
[G2 and Desire Z Android Development] faylix:
So to be clear, the 26.03.02.26_M radio doesn't play nice with CM7?

Thats really too bad.. i was about to test this one out :(

- faylix / local
[G2 and Desire Z Android Development] jamesfrom818:
The screen on animation seems to be buggy. Screen doesn't power on all the time.
[G2 and Desire Z Android Development] witm01:
Seriously? Have you bothered to read anything at all here?
[G2 and Desire Z Android Development] jamesfrom818:
Well I figured if they added it into #5, they solved the problem. I mean why enable it when they previously disabled it when they discovered it was buggy.
[G2 and Desire Z Android Development] andymyrick:
these are just nightlies, there are still gonna be things that are buggy for users. it's not even an RC
[G2 and Desire Z Android Development] witm01:
Since you're refusing to look a few pages back even when prompted to, this is the reason why.
[G2 and Desire Z Android Development] Vlad83:
Lol well actually I think its a bug. I don't see why it wouldn't play a music video when I am logged in.

Serves more purpose than the GPS/Battery discussion :eek:

But seriously, is it working for you when you play it in the app?

Sent from my HTC Vision
[G2 and Desire Z Android Development] trsanning:
Yes it works through the app but I have never watched an adult video on my pc so this was the first time I tried so maybe by accepting the warning on my phone it works.

Is there a way you can clear this setting on the PC at try to reset it through the app?
[G2 and Desire Z Android Development] pawel_podgorski:
where is # 9 ?? gone ?? that's it ? no more ? dev's got a vacation ??
[G2 and Desire Z Android Development] trsanning:
No they are busy adding the newly released 2.3 into the build to make it better. Once that's stable enough for a nightly they will start releasing them agan.
[G2 and Desire Z Android Development] pawel_podgorski:
U mean 2.3.3 ?
[G2 and Desire Z Android Development] G1ForFun:
Precisely.
[G2 and Desire Z Android Development] infamousjax:
I recommend everyone switch to the Interactive governor (not available on pershoots kernel, just the stock CM)... getting much better battery life. Standby time is around 3 days and medium usage around 30 hours easy. Helps improve responsiveness too