yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] mongoose:
Battery drain

Still have huge battery drain. "Android OS" process eats battery very quickly (see screenshot).

At first I installed pawitp's build over the latest nightly CM10 without wipe. Everything was working excellent but battery consuming was 3 times more (~8 hours) than CM10 (23-25 hours). I did wipes but no success - battery drain was persisting. Tried to flash Semaphore with no result. :(

Finally I came back to CM10 and all went fine - everything works, no battery drain.

Then I tried to switch to pawitp fresh build again and battery consuming came back.

I use gmail and exchange with syncronisation. WiFi/Bluetooth/GPS always on.

Tried to disable sync/wifi/bluetooth but nothing helps. :crying:

I remember I had the same situation with battery on early CM10 ICS preview builds and problem was gone after updating to some of next builds...
[Galaxy S I9000 Android Development] benkya:
on latest build 02122012 my wifi still not work, so i use wifi fix 01122012 i think..

rom build on 30112012 are my wifi is working without fix.
[Galaxy S I9000 Android Development] vivicav:
+1

http://xdaforums.com/showpost.php?p=34560589&postcount=347

http://xdaforums.com/showpost.php?p=34880868&postcount=730
[Galaxy S I9000 Android Development] frauhottelmann:
I am on 01 now and wifi just works. I can try it with the older wpa_supplicant this afternoon to get you some logs...
[Galaxy S I9000 Android Development] ponghk513:
thanks pawitp! :good:

i would like to ask, if there is a small upgrade of 4.2.1, i.e. 4.2.2, will u upgrade this pure version? ;)
[Galaxy S I9000 Android Development] alienextrime:
Guys please tell me how to turn on the on-screen buttons? My physical buttons broke. :) Thank you.
[Galaxy S I9000 Android Development] fraydz:
deleted
[Galaxy S I9000 Android Development] jugster:
What does better battery stats tell you?

Signature? Signature!
[Galaxy S I9000 Android Development] pawitp:
Nope, that wouldn't help.

20121202 includes a wifi fix ported from crespo, which fixes wifi for some people, but also break those that are already working. I'm trying to find an alternative fix (one must exist, wifi worked properly before!), so that has to be developed from those with broken wifi on 20121201.

Worse part is, the wifi on my device always work.
[Galaxy S I9000 Android Development] matesc:
My wifi has worked on 1130 build after WiFi fix. After upgrading to the 1202 build my wifi is still working.
[Galaxy S I9000 Android Development] Jens1969:
Hi pawit,

like on frauhottelmann's device, my wifi works on 20121201 but is broken on 20121202. Right now I have captured logcat and dmesg. Do you want me to post them? Or is it of no use, because wifi is working on 20121201 for me?

Edit: I captured a logcat and dmesg from 20121201 right now:

logcat: http://pastebin.com/wQ8qWYgz

dmesg: http://pastebin.com/xwDBSj2n
[Galaxy S I9000 Android Development] pawitp:
Unfortunately, it's not of any use.

Who here has broken wifi on 20121201 and would like to help me to debug? You should have adb on your system and should be comfortable with flashing many different fixes/debug versions repeatedly. Please quote and reply to express your interest.
[Galaxy S I9000 Android Development] fresxcv:
I have small question

It's coming with 240 dpi or less??
[Galaxy S I9000 Android Development] trut:
240 dpi

Sent from my GT-I9000
[Galaxy S I9000 Android Development] ygorigor:
About WiFi troubles

I have trouble with WiFi only if I reset my phone with WiFi ON. After power off and then power on the phone, WiFi work again. I'm on 20121202.
[Galaxy S I9000 Android Development] jasonfish1976:
Hi

Thanks for the great rom !!! I am really enjoying it

My only problem is that i have a problem mounting my sd cards on my dvd via usb

Any solution?
[Galaxy S I9000 Android Development] RlndVt:
On your dvd?
[Galaxy S I9000 Android Development] Gelidhril:
Ehh sorry if this is not the place to post this but dunno if its ROM related. The clockworkmod folder size is around 3 GB my backups folder is just 750 mb . what is this blob folder ?
[Galaxy S I9000 Android Development] jasonfish1976:
Yes,i connect my phone to my dvd to watch programs that i download

It worked on other roms
[Galaxy S I9000 Android Development] Nick0703:
If I remember the "Blob" contains your data. If you delete it, your backups will be messed up. But I might be wrong. Can someone else check this?
[Galaxy S I9000 Android Development] pawitp:
Anyone else comment on this? (Only those with troubles on 20121202, of course)

Can you also attach a dmesg of wifi working and not working?
[Galaxy S I9000 Android Development] wingg:
I had problem with not working Wi-Fi on 20121201, but Yours wi-fi fix test 20121201 solved it.(something related with lib/modules)

Could try to help -only if I manage to install adb on my system(8).

But there is a bit time difference in beetwen -6hours- and on normal days i've more free time after 10-11pm. only and on weekdays bit earlier around 1-4pm.

Regards

Edit on 20121202 version everything as about Wi-Fi works -even thethering works.

//-->
[Galaxy S I9000 Android Development] ygorigor:
dmesg with working WiFi http://pastebin.com/wH3pSGsT

dmesg without working WiFi http://pastebin.com/GNKWvwpQ . WiFi not work only if data is disabled before reboot
[Galaxy S I9000 Android Development] saszseb:
https://plus.google.com/103583939320326217147/posts/L5aVZe7C9vg
[Galaxy S I9000 Android Development] dafabsl:
wow this rom is awesome! it's fast and smooth! only the battery drains a bit fast..

does somebody know what sirfacelinger is? it took 58% of the battery..
[Galaxy S I9000 Android Development] Paulroberts:
no wifi on biulds after 20121125

dmesg galaxysmtd_aosp_jb42_20121202.zip

http://pastebin.com/raw.php?i=cwt80eNq

dmesg galaxysmtd_aosp_jb42-20121125.zip working wifi

http://pastebin.com/raw.php?i=vTBGvrET

happy to help debug.
[Galaxy S I9000 Android Development] rkaede:
try to reflash it. battery usage is better than ics for my case. android os and system under 10%. did u install maps?
[Galaxy S I9000 Android Development] mindire:
Hey, I've been a silent user of all kinds of different roms out there.

First of all I love the new 4.2 version it's so much smoother then all the 4.1.x roms out there.

What I've noticed is that Google Play (music, not playstore) can't properly load my music from my external microSDHC samsung cl4 16GB.

I've my music partly on my external SD (14GB) and another 5GB on the main storage room (got the 16GB version).

So when ever I'm listening to google play, it sees all the songs but just says "Can't play the requested number" when it wants to play a song from the external.

I hope you can do something with it.

Thanks in advanced!
[Galaxy S I9000 Android Development] benkya:
At last.. find the trouble maker..

Just flash new modem.. :D

To solve my youtube disconecting from server.. now everything perfect.. thnks

Sent from my GT-I9000 Galaxy S

Rom : AOSP JB 4.2.1 Preview By Pawitp
[Galaxy S I9000 Android Development] abazz:
This is an AOSP rom . Does this mean that "Settings->Developer options" is NOT part of AOSP or has it been and google have removed it for 4.2?
[Galaxy S I9000 Android Development] NIMBAH:
Just go to about phone and tap 'build number' a few times and it'll appear.
[Galaxy S I9000 Android Development] SGSHB:
now i can set the animator to NIL:D
[Galaxy S I9000 Android Development] Jens1969:
Except that I don't know exactly, how to reset my phone, it did not work for me.

What I did in detail: from 20121202 with 3rd party kernel and working Wifi, I switched Wifi off, powered off, booted into CWM, flashed 20121202 (and nothing else!), rebooted system (Wifi was still switched off after booting was finished), powered off again, powered on again, switched on Wifi -> same problem as before. Phone is stuck in "switching on...".
[Galaxy S I9000 Android Development] pawitp:
Those with wifi issues on 20121202, please post a dmesg with the following kernel:

http://goo.im/devs/pawitp/galaxysmtd_aosp42/fixes/20121202_wifi-debug.zip
[Galaxy S I9000 Android Development] benkya:
i do realy want to help pawitp.. i have wifi issue on 20122012... but how can i get dmsg ? now flashing your kernel...

Edit :

Flasing kernel wifi debug 02122012.. wifi works... but my youtube broke again.. "conection to server disconnect".

Pawitp i think on your kernel make my youtube connection not work.. to make it work before i had to reflash modem.
[Galaxy S I9000 Android Development] yadavjpr:
adb root
adb shell dmesg > dmesg.txt
[Galaxy S I9000 Android Development] benkya:
Sorry look like i can't do it. can't help..

Adb root

"Device not found"

Sent from my GT-I9000 Galaxy S

Rom : AOSP JB 4.2.1 Preview By Pawitp
[Galaxy S I9000 Android Development] frauhottelmann:
I will do it later today...
[Galaxy S I9000 Android Development] Jens1969:
Here my dmesg: http://pastebin.com/ueRS4dM5
[Galaxy S I9000 Android Development] dhurk:
In this rom,sound volumes is higher than Cm10.1 or i miss something with that,am i wrong?
[Galaxy S I9000 Android Development] yadavjpr:
You have to enable USB debugging in Developer option.

Tap seven times on Build number for enable Developer options
[Galaxy S I9000 Android Development] drshafi:
Pawitp bro, why you removed wifi fix link from OP?

Sent from my GT-I9000 using Xparent ICS Tapatalk 2
[Galaxy S I9000 Android Development] yadavjpr:
Here is link:
[Galaxy S I9000 Android Development] or150:
I thought i was imagining that.

Looks like it is higher :)
[Galaxy S I9000 Android Development] drshafi:
??? I am talking about wifi fix patch not the wifi debug kernel.

Sent from my GT-I9000 using Xparent ICS Tapatalk 2
[Galaxy S I9000 Android Development] pawitp:
Because it has been integrated into the latest build
[Galaxy S I9000 Android Development] idCyber:
I've wiped everything and did a format on /system. Flashed 20121202 with gapps 20121130, wifi works and network data but I have only one problem : When I make or receive a call and answer it , after 10-20 seconds of talking, I can't hear the other person and he can't hear me but the call is still active. I've tried to fix permissions but the problem persists. Anyone else experienced this? My modem/radio is XXJVT . On CM10 I don't have any problems. For now I've returned to CM10 but will give another shot tomorrow with a new download of the rom and gapps.
[Galaxy S I9000 Android Development] frauhottelmann:
OK, updated to 02, installed the debug kernel -> dmesg -> no wifi by the way...

OK, flashed back to 01 and now I've no WiFi at all...yeah

I don't know if I am reading the dmesg wrong, but in line 1003 it says:

<4>[ 4.015542] Broadcom Dongle Host Driver: register interface [wlan0] MAC: 00:90:4c:11:22:33

-> that's not the mac address of my wifi...

BTW I flashed back to 01 to get wifi back aaaaand it didn't work :D I wiped and installed Gapps aaaaand no wifi, then I wiped again -> no gapps aaand there was my wifi. I then restored my backup (only data) and wifi was still there...
[Galaxy S I9000 Android Development] jacksita:
pawitp I corrected the error settings gallery.apk this is the fix Gallery2.apk_Fixed
[Galaxy S I9000 Android Development] mirfahd:
connectify me

does this rom connects with connectify me ? :rolleyes:
[Galaxy S I9000 Android Development] trut:
Any issue for me weak wifi signal but this same in cm10 roms all others work perfect so far best rom for me.

Sent from my GT-I9000
[Galaxy S I9000 Android Development] Bejda:
What kind of fix is it? Why the photosphere lib?
[Galaxy S I9000 Android Development] Paulroberts:
you can also do it on the phone
[Galaxy S I9000 Android Development] dhurk:
Im on cm10.1 now and volumes are too low,i cant hear the phone
[Galaxy S I9000 Android Development] Paulroberts:
wifi works for me with this kernel

http://pastebin.com/raw.php?i=w6LVjjfz

btw i just noticed the internal sdcard is not mounting to pc only the ext sdcard is avaliable.
[Galaxy S I9000 Android Development] olarf:
Did you check if your internal SD is availible generaly? Mine was unmounted in the phone 2 times. Seems with sema kernel its mounted always in the phone and also in PC once it is connected.
[Galaxy S I9000 Android Development] pawitp:
Those having wifi problems on 20121202, can you try this patch? This compiles wifi as a module and load it later to hopefully avoid some race conditions.

http://goo.im/devs/pawitp/galaxysmtd_aosp42/fixes/20121202_wifi-test.zip
[Galaxy S I9000 Android Development] UsualSuspectReaL:
working for me :) nice job !
[Galaxy S I9000 Android Development] yadavjpr:
This is not CM10.1 thread. If you have downloaded CM build from any other thread, Please don't post your problem here.
[Galaxy S I9000 Android Development] ygorigor:
Now WiFi work like it should.
[Galaxy S I9000 Android Development] SiriusCybernetik:
Ahaha...

This is a candidate for the sentence of the year award. :D:D

I totally agree with you. It doesn't hurt staying on the same version for longer than a couple of days, as long as it's stable.
[Galaxy S I9000 Android Development] cieffe54:
+1:confused:
[Galaxy S I9000 Android Development] pawitp:
New build uploaded, hopefully fixing wifi for everyone.
[Galaxy S I9000 Android Development] haseoxth:
Thanks for update, pawitp.

For me from the 20121202 version, wifi works well.
[Galaxy S I9000 Android Development] Jens1969:
It works!

Thanks, Pawit! :laugh:

Edit: WiFi of the new ROM works also for me!
[Galaxy S I9000 Android Development] fraydz:
can't tell about new build, wifi already worked for me.. Btw pawitp do you have any idea what's happening to the sim keyboard ?
[Galaxy S I9000 Android Development] pawitp:
Just live with it. Google didn't take older devices with smaller screens into account when the designed the new lockscreen, so everything looks odd.
[Galaxy S I9000 Android Development] frauhottelmann:
WiFi is working for me.

Just as a reminder: I had working WiFi in 01 and not working WiFi in 02...
[Galaxy S I9000 Android Development] andoceo:
Just a question, why the GPS icon is not in the status bar advanced menu (or when you toggle it with 2 fingers)?
[Galaxy S I9000 Android Development] sgw99:
Yes, works for me (didn't with earlier builds).

Thanks!
[Galaxy S I9000 Android Development] 99x:
It only shows when an app is using GPS, have you got such an app open?
[Galaxy S I9000 Android Development] suzeta_mecanica07:
How can i add a google account in settings? I need to get my account in and get my contacts from google. I can only see corporate and email account. (i need the blue G account).
[Galaxy S I9000 Android Development] cspiby:
Thanks loads for this, works beautifully.
[Galaxy S I9000 Android Development] ygorigor:
Install gapps.
[Galaxy S I9000 Android Development] albertobom:
If you guys install my Rosemary font the font issue vanish.
[Galaxy S I9000 Android Development] x10isrooted:
Does anyone know why the wifi strenght is so week since JB? If i compare it with ICS or even GB the wifi reception was much more stronger. Its horrible to use. When im 4m away from my wifi router i only have 1 bar left.
[Galaxy S I9000 Android Development] fraydz:
thank you but i was thinking about a more "stock" solution. in fact only SIM keyboard is doing that, lock PIN keyboard is shown properly.
[Galaxy S I9000 Android Development] rajeshbabushrestha:
:laugh:Flashed 05112012 AOSP 4.2.1 Build followed by GApps-30102012 and Everything is working flawlessly:good:... Waiting Impatiently for the CM 10.1:fingers-crossed: Builds frm Pawitp... Thankx a lot:o
[Galaxy S I9000 Android Development] alexovy:
delete please
[Galaxy S I9000 Android Development] jugster:
I have less bars but faster speeds, which one is most important to you?

Signature? Signature!
[Galaxy S I9000 Android Development] andoceo:
Yes, whatsapp to send the location
[Galaxy S I9000 Android Development] fresxcv:
i can't get only T9 Dialer?
[Galaxy S I9000 Android Development] kfheaven:
pls read op,if need T9 go for cm
[Galaxy S I9000 Android Development] everlethal:
Pawitp are you going to open new thread for CM or this will become CM thread?
[Galaxy S I9000 Android Development] ramas123:
Had no problems with wifi, but this build is super speedy.

By the way, it works "pick up the phone without touching a button" feature implementation from Stratosk on your kernel. Killar combo! Thanks!
[Galaxy S I9000 Android Development] pawitp:
I will open a new thread.
[Galaxy S I9000 Android Development] albertobom:
We're ready for the new thread now ;)
[Galaxy S I9000 Android Development] eruur:
Thanks for everything !

Wi-Fi is now working on my device. Just out of curiosity, what was the issue ?
[Galaxy S I9000 Android Development] pawitp:
MMC race condition, I'm not sure of what exactly was causing the issue, but I avoided it by loading Wi-Fi way later in the boot process.
[Galaxy S I9000 Android Development] gitch101:
Pawitp are you going to continue this rom as the cm10.1 nightlies are released?
[Galaxy S I9000 Android Development] msri3here:
In the latest build, is the Wipe battery stats option removed from CWM?

or is it moved to another sub-menu (I couldn't find it anywhere though)?
[Galaxy S I9000 Android Development] kretex:
Everythink work fine on 20121205 ;) let's get ready to cm10.1 :D:cool:
[Galaxy S I9000 Android Development] pawitp:
I guess so, there's no point to wiping battery stats anyway, all it does it clear the "battery usage history" screen saying which app used what, all other affects are just urban myths.
[Galaxy S I9000 Android Development] rkaede:
was on 2dec build with no problem. now updated to 5dec build with no diff also. i guess we're good to go.:D. next stop cyanogen!!!

nb: is simtoolkit included with this build? it was listed on the titanium. also stk.apk on the system/app. but nothin in the app drawer
[Galaxy S I9000 Android Development] pawitp:
STK is included and I've verified it to work. The icon will only show if your sim supports STK. If you've verified that your SIM supports STK in another phone and it does not show up, let me know.
[Galaxy S I9000 Android Development] albertobom:
Does anyone manage to know where the battery drain comes from? I can't figure it out.

My phone doesn't "sleep".
[Galaxy S I9000 Android Development] saszseb:
Are you on stock kernel?
[Galaxy S I9000 Android Development] wingg:
20121205 version Wi-Fi works as should (installed after full wipe).

Rom is fast and stable just from a first run.

Thanks.

Regards

//-->
[Galaxy S I9000 Android Development] benkya:
STK showing and working here
[Galaxy S I9000 Android Development] pxrave:
sometimes more lags as cm10

but i think its the new version or?

other who have more lags as cm10?
[Galaxy S I9000 Android Development] patrcost:
Not really having a drain but a bit of a strange thing happening.

I'm not able to take a screenshot but having this as a battery reading:

android system 88%

screen (%

mobile standby 4%

This after 7 hours on battery and still 73% left; so no drain
[Galaxy S I9000 Android Development] vivicav:
Found a cause to battery drain

I installed the new version of the 4.2 ROM today and I still have a huge battery drain. I talked about this issue in these posts: http://xdaforums.com/showpost.php?p=34560589&postcount=347 and http://xdaforums.com/showpost.php?p=34880868&postcount=730.

I have found out that Bluetooth keeps the Android OS process active all the time. When I turned off the bluetooth and restarted the phone, Android OS didn't keep the phone awake at all times anymore.*

I need to use Bluetooth regularly because I use the Bluetooth earphone when I'm at work. Also, WiFi and Exchange Mail are always on, but they don't seem to cause any trouble on any other ROMs.

*If I just turn off the Bluetooth and don't restart the phone, Android OS is still running.
[Galaxy S I9000 Android Development] mdacic:
What was wrong with the direction arrow in Google Maps?

I'm still on 2nd December version and I can see my orientation, so the compass is showing me direction. I don't understand what was wrong with it?
[Galaxy S I9000 Android Development] supergeorg:
Is it possible that you fix the SIM screen? Buttons are very small.

Also will it be possible to add photosphere to our camera? Would really appreciate it.

But it's a good ROM and I'm waiting for cm10.1 nightlys.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] Paulroberts:
read back a couple of pages

there's no gyroscope, so it will take forever to process.
[Galaxy S I9000 Android Development] albertobom:
Thank you. I just disable the Bluetooth and my phone went to deep sleep. :)
[Galaxy S I9000 Android Development] sergiish:
+1 no problem with direction arrow.
[Galaxy S I9000 Android Development] wogfella:
Read the OP - it's fixed in the 5th December build

---------- Post added at 08:23 AM ---------- Previous post was at 08:20 AM ----------

Can you get some logs from before you turn on bluetooth, after you turn it on and it's still on, and after you turn it back off but you still have drain?

I found a similar thing but couldn't work it out, if this is the cause then I'll do the same.

Is bluetooth controlled by Kernel? Can't remember but I think it is.
[Galaxy S I9000 Android Development] vivicav:
I would definitely do that if I knew how. Can you explain it please?
[Galaxy S I9000 Android Development] mdacic:
That's my concern. What was fixed if nothing was broken? (speaking about google maps arrow)
[Galaxy S I9000 Android Development] Abyv:
Untick avoid poor connections in advanced.
[Galaxy S I9000 Android Development] edgardurao:
So,how do you classify battery life with this ROM aosp?

Seems that it last some more than cm10... But probably is just a placebo effect. Opinions?
[Galaxy S I9000 Android Development] rkaede:
confirmed!! my bad. didnt know those feature are sim dependant. thanks.
[Galaxy S I9000 Android Development] LoqOs195:
In my phone the lockscreen widget take a little time to react for my swipes, I have to keep doing it for about 3-5 times to make it responsive, it is a hardware limitation or need a little more optimization for our device?

Enviado desde mi GT-I9000 usando Tapatalk 2
[Galaxy S I9000 Android Development] Samtan4326:
for screenshot valume down + power "Need to hold for 1 sec"
[Galaxy S I9000 Android Development] Dr.69:
I got a much better battery life with this rom. Try for your self. :)
[Galaxy S I9000 Android Development] drshafi:
First time flashed this build, i can say blazing fast and smooth. Few things i am missing in this rom

1) Theme chooser ( I am very fond of themes)

2) Power widgets.

3) No built in file manager.
[Galaxy S I9000 Android Development] patrcost:
Can't take a screenshot the way you are described. Must be doing something wrong I suppose... Keep having high use of Android system. Now 57% after two hours of use.

Verstuurd van mijn GT-I9000 met Tapatalk
[Galaxy S I9000 Android Development] or150:
Press them simultaneously.
[Galaxy S I9000 Android Development] yadavjpr:
These are CM features not AOSP.
[Galaxy S I9000 Android Development] elitevet:
How can avoiding a connection improve reception? Just think about it for a second...

sent from AOSP 4.2 powered SGS
[Galaxy S I9000 Android Development] mark26:
2) install power toggles from play store
[Galaxy S I9000 Android Development] haseoxth:
I can definitely say you don't read OP.
[Galaxy S I9000 Android Development] pawitp:
Note that I've checked on a friend's galaxy nexus and Bluetooth prevents the device from going into deep sleep there too.
[Galaxy S I9000 Android Development] albertobom:
Thanks pawitp. I hope you guys can solve this little issue fast ;).

---------- Post added at 10:20 AM ---------- Previous post was at 09:36 AM ----------

Great pawitp can you tell us if the cm10.1 will have fm radio working? Thanks so much for your time.
[Galaxy S I9000 Android Development] mdacic:
Thanks for power toggles. Great app. Added just what was lacking in AOSP :) Now this rom is perfect :)

And for file manager I can recommend Total Commander :)