yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] lgkahn:
i have a buffalo WHR-HP-G54

hp router upstiars running dd-wrt (g only) with a huge outdoor antenna on it.. i tested N but i get better performance with this..

speed test.. ftp... web downloads .. al get up to 3 megabytes or 24 megabit per second.. hightly recommend this setup.

that router has one external jack you can put a antenna on.. (i have an 18 or 21 db external unidiretional antenna on it dont remember which but can get you exact specs if needed) and also running ddwrt you can

up the transmitt power up to 200 mw

more info on battery usage.. seems better .. with previous f/iw whenever wifi was on and set to never go off.. the battery usage

showed running the entire time (ie the phone was not going into sleep mode) .. now at least when i checked it has been in sleep mode 40% of the time since last boot.
[Galaxy S I9000 Android Development] obicom:
On a first view it looks like that the JPA WiFi drivers consuming less battery power as the JPX. But this is my subjectiv feeling. What are your experience?
[Galaxy S I9000 Android Development] hardcore:
Me too. I was out and about town using several WiFi hotspots. SpeedMod K12C + DXJPA wifi firmware has good battery life, with the XXJPY firmware.
[Galaxy S I9000 Android Development] morphjk:
Sure looking the same way for me.
[Galaxy S I9000 Android Development] tonncha:
Same battery life for me, about 1% per minute using wifi.

Last night with turned wifi off consumed 0% for 12 hours
[Galaxy S I9000 Android Development] suua:
Hey hardcore.

I am on JPY, so how kan i flash JPA, some instraction pleas :)?
[Galaxy S I9000 Android Development] jonni3:
Put the DXJPA wifi update zip on your internal sd (not the removable sd), use quickboot to boot in to cwm recovery mode if you have it if not then use the 3 button method volume up-home key-power key @ the same time to enter cwm recovery.

Select install apply zip from sd card>choose zip from sd card>update -wifi-dxjpa.zip ...... remember the volume up & down buttons scroll through the options & the power button is used to execute commands in cwm recovery...
[Galaxy S I9000 Android Development] suua:
Thanxs mate i will try it now :)
[Galaxy S I9000 Android Development] suua:
Hey again, i install it but my baseband version is still JPY? i dont understand :(
[Galaxy S I9000 Android Development] nitecafe:
Actually, i believe any wifi firmware will have less battery usage that the ones in the JPY and JPX.

So they are 3 states, lets say

Off - wifi is totally off in settings

On Asleep - the wifi is on but not actually running eg when ur phone is sleeping

On Running - like when u are surfing the web.

When JPX and JPY wifi are in OFFstate, very minimal battery drain.

When in On Asleep, u would expect to have low battery drain similar to when they are in OFF state but not the case for JPX and JPY as shown in SpareParts, they continue to chew battery like no tommorow.

Thats what i thought anyway.
[Galaxy S I9000 Android Development] jonni3:
Your baseband version will only change if you repalce the Modem, your only replacing the wifi driver/firmware not the Modem so there will be no change in baseband version in about phone.....
[Galaxy S I9000 Android Development] Mangus_U*RA:
RSJP5 here:

wifi version 4.218.214.3 same as JPA
[Galaxy S I9000 Android Development] tackygr:
Hey guys,i m on Darkys v6.0 and not happy with the battery issue,wanna try to solve this but i see you talk but JPY here.Has anyone given a go on whle on JPX??
[Galaxy S I9000 Android Development] liraindon:
XXJPO is the same version as DXJPA.
[Galaxy S I9000 Android Development] INeedYourHelp:
is there any difference in wifi-signal between them? I'm on jpm atm, and I would gladly take a little battery hit for an increase in signal strength.
[Galaxy S I9000 Android Development] JJEgan:
When JPX and JPY wifi are in OFFstate, very minimal battery drain.

When in On Asleep, u would expect to have low battery drain similar to when they are in OFF state but not the case for JPX and JPY as shown in SpareParts, they continue to chew battery like no tommorow.

Thats what i thought anyway.[/QUOTE]

But on my JPY i am getting 1to 2 % battery drain over twelve hours when in On Asleep . Thats just on WiFi on mobile data and gps off phone sleeps twelve hours .

Why my battery not draining with JPY something else going on ??

jje
[Galaxy S I9000 Android Development] Shammyh:
Just thought I'd weigh in here. I'm a Captivate user, but I've been running Darky's 6.0 and 7.0 ROMs w/ my Captivate specific re-orient kernel.

I've had serious problems with battery usage in both of these ROM versions, JPX and JPY respectively. I narrowed the problem down to WiFi usage, and was lucky enough to stumble upon this thread. I loose approximately 10% of battery per hour with WiFi on, and I've checked my "time_in_state" and other CPU stats, along with wakelocks to make sure it wasn't some other app/system causing the problem. So far, with WiFi off I'm seeing respectable battery life again.

I'm going to try installing Hardcore's update.zip with the older pre-JPX/JPY WiFi firmware and see if that helps. I'll reply back here if it does help, as this certainly sounds like a reasonable fix to the problem.

Thanks Hardcore for looking into it, and thanks XyFreak for showing that the firmware is only different in the JPX/JPY/JPU ROMs (though I've only noticed this issue with JPX and JPY personally).
[Galaxy S I9000 Android Development] kara mustafa:
adb shell "dmesg | grep Firmware"

and i get

grep: not found

Write: broken pipe

i am using darky v7 but before install i had change the wifi drivers in darky's zip.
[Galaxy S I9000 Android Development] MikeO I9000:
Is this Battary Draining Issue on Stock-Roms too?

I use JPU and over Night with Wi-Fi on i lost 2% Battery. If JPU/JPX/JPU had the same Modem Drivers I don`t understand that one have a proplem and another not.
[Galaxy S I9000 Android Development] eitama:
You are missing busybox (Market)
[Galaxy S I9000 Android Development] Cezar`:
It should be like this:

adb shell <enter>

dmesg | grep Firmware <enter>
[Galaxy S I9000 Android Development] xan:
-nvm45678-
[Galaxy S I9000 Android Development] kara mustafa:
In my case it was issue with busybox
[Galaxy S I9000 Android Development] nanu_x2:
i never had any problems with battery drain...:)

rom: ultimate rom 4.5 based on xxjpy

kernel: SO 4_6 RC4

set cup..

full/charging > min:1400 max: 1400 scaling > perfomance

normal profile > min:100 max: 1000 scaling > conservative

screen off > min:100 max: 100 (not 1000) scaling > powersave

voltage control settings:

1400 - 150mv

100-125mv

battery life: 15-20 hours with heavy use at times...:)

sleep mode: almost 0% battery loss at night

everything smooth as butter...

this might not work on every device!!

good luck...(Y)
[Galaxy S I9000 Android Development] S39:
Thanks you I used your fix "update.zip" and my battery drain is more less with Darky's v7.0 Gingerbread Edition
[Galaxy S I9000 Android Development] samukele:
Well the first thing I noticed after flashing the DXJPA driver over Doc_XXJPY is that the battery indicator doesn't immediately fall to 99% or 98% after unplugging AC.

I'm sure this has nothing to do with the WiFi driver but maybe it will help someone.
[Galaxy S I9000 Android Development] SpeedsterK:
I have done my little testing with the stock version of jpy.

7 hours in flight mode = 3% battery drain.

7 hours (wifi off, gps off, most time gprs off)

I sended 15 sms, 10 minutes internet surfing with gprs, 10 min phone calls = 24% battery drain

2(!) hours with wifi on, including 1 hour surfing = 36% battery drain

So in my case wifi is realy leeching my battery
[Galaxy S I9000 Android Development] SoSJokerSoS:
That's ridiculous. 3% in flight mode? You should calibrate your battery and then test it again. Did you flash recently? Maybe your battery is miscalibrated. Try this: discharge your phone, completely; then charge it and make some bump-charges. I hope this will work, if not repeat the previous steps.

Have a try.

greez Joker
[Galaxy S I9000 Android Development] aleadam:
Or try adb shell "dmesg | busybox grep Firmware"

That's what I needed to do in my phone (no alias set to grep or tar).
[Galaxy S I9000 Android Development] zoubidou:
well I have two things different

I wanted to try gingerbread, and thus i copied the files to my sdcard, flashed cwm and finally flashed supercurio's kernel and restarted my phone.

The samsung logo flashed once (ie it did something) and then it got stack (nevermind). i reflashed your speedmode k12C and started up my phone. and oh surprise it showed immediately 7% more battery. i checked with sgs tools and it was 7% more (before 88% and after 95%), i think this has something to do with the way the kernel reads the battery info.

now to the wifi story.

I checked the inside of te folder and found several configuration files in there.

As you know especially on laptops you can set wifi power to whatever you really need as well as change other parameters.

One thing is very unclear in ANDROID (probably because its supposed to be made for noobs)

whenever you read ANDROID default (for instance in wifi settings in spare parts), nobody explains you what it really means.

In fact for wifi there is several parameters:

An important one = fast connect (it allows quasi instant reconnection)

there is no low power parameter but you can lower the emission power to save power.

there is no such thing like a wifi sleep parameter. Wifi is awake or shutoff. if it is awake it has to send a keep alife every once in a while, i think its something between 1 to 3 minutes and wait for the ack.

Obviously XXJPY is setting power to the max, whilst in most cases 50% is good enough.

So the only thing is to find how to limit the power used by wifi.

I found them in both wxjpy and wxjpa

I of them is pa0maxpwr=74 certainly interesting.

I found also wpa_supplicant.info

AP scanning/selection

1,0,2

and possibly many others.

I have not yet checked if this has any influence.
[Galaxy S I9000 Android Development] Shammyh:
Captivate user here, with the setup in my sig.

Using the older WiFi firmware "version 4.218.214.3" I get substantially better battery life when using Darky's v7 JPY based ROM. Tested both after doing a full battery calibration and fresh ROM flash.

As far as performance/signal goes, I haven't done any sort of accurate testing, but anecdotally it seems comparable to the JPY/JPX firmware version.

Either way, thanks a lot Hardcore for looking into this, and providing a simple fix!
[Galaxy S I9000 Android Development] xan:
As my test went: no matter which firmware used, wifi drain is outrageous. JPA's wifi firmware is not any better.

Wifi: off - until its fixed
[Galaxy S I9000 Android Development] g00ndu:
For me, it is the auto sync-ing of the phone. :(
[Galaxy S I9000 Android Development] SoSJokerSoS:
same problem here!
[Galaxy S I9000 Android Development] ashwinds:
Tried diff modems (JPY with JPY ROMS) ? And you sure you dont have e-mail syncing "every x minutes"? Kernel? At the moment hardcore's seem easier on the battery than trasig/voodoo kernels (69 - just trying 69-2 now..)
[Galaxy S I9000 Android Development] Onraad:
I am also experiencing a very bad batterydrain when using wifi (on Docs v6.2 JPY). I'm going to try JPA modem now. Are you not syncing your email? Just refreshing every now and then manually? I remember also syncing my mail with older/other ROMs and not having this battery drain at all..
[Galaxy S I9000 Android Development] ashwinds:
No - i set it to Push - it drains less than sync every x min.
[Galaxy S I9000 Android Development] Onraad:
Do you have background data and auto-sync on?

I'm using K9 mail and I think I have push enabled as well, but not sure how to check this. I do receive my e-mails right after I send them, so I guess that says enough..
[Galaxy S I9000 Android Development] barracoo:
Does wifi driver version have to be matched to modem version?

On Darky v7.5 battery drops like a bat with wifi on. Changed wifi driver to dxjpa ver, no diff. Changed modem to DXJPA and its looking real good right now.
[Galaxy S I9000 Android Development] ashwinds:
check cell standby

After the first reboot following flashing - check for Cell Standby - it sometimes runs up well over 50% - that drains battery as well... Fix is to switch Airport mode on and off. Basically to restart radio.
[Galaxy S I9000 Android Development] samukele:
My battery use since I loaded dxjpa is as follows;

Display 79%

WiFi 10%

Cell standby 6%

I use push email for Exchange via WiFi only (data is off).

Is this Display usage correct? Sounds a bit high hey?
[Galaxy S I9000 Android Development] gravityz3r0:
Hmm, doesnt work for me. No difference from XXJPY. Wifi still showing more than 50% usage in the battery usage section. So it doesn't sleep for me even with screen off.
[Galaxy S I9000 Android Development] gravityz3r0:
I remember that Wifi usage used to be a single digit % even if you leave it on overnight.

and i updated the JPA wifi firmware using CWM. Am i doing it right?
[Galaxy S I9000 Android Development] Rahulrulez:
Its DXJPA for me..

I got

$ dmesg | grep Firmware

<4>[14692.279316] Firmware version = wl0: Jun 4 2010 14:21:21 version 4.218.214.3

On darkys rom v7.5.. it seems darky fixed it :-)
[Galaxy S I9000 Android Development] tapanpaul:
Hi,

I am on JPY and tried to apply the JPA wifi fix through 3 button combo . It was showing 3e recovery and after applying update.zip , giving error something like "signature verification fail " and update not applied. Why was it so ? :confused:

Pls help !!!!
[Galaxy S I9000 Android Development] Jule1k:
You're comparing 15sms, 10min surf and 10min phone call (where your phone's display is off) to 1 hour of surfing (therefore screen always on) and wonder why it drains more? It sounds more like display usage and not excessive wifi battery drain.

Also 7 hour in flight mode should be 1% or even 0% usage.
[Galaxy S I9000 Android Development] SpeedsterK:
Hello,

I know that I can not compare these two states and not wondering about it. I just wanted to

show my results. I guess I really need to Recalibrate the battery.

But from a new test, I now know, that the battery drain in 7 hours (with using the phone as described above) an wifi OFF is almost as much as 3 hours with wifi ON and not using the phone.
[Galaxy S I9000 Android Development] dyallo:
WiFi Over night

Was 36% when I went to bed, and 36% when I woke up 7 hours later.

I had background data/sync off.

Also closed all running applications in task manager right before I put it to sleep mode.

Also used an application called DroidWall to block off all system related services/apps.

Pretty cool huh?

XXJPY
[Galaxy S I9000 Android Development] jgclifton:
Any chance of a signed update.zip that will work with recovery 3e?
[Galaxy S I9000 Android Development] g00ndu:
No, you can't.
[Galaxy S I9000 Android Development] :
You're right

I noticed too that my Galaxy S had a better receiving with the JPX WiFi driver. I could still use the browser 2 floors down. With the JPA driver I'm able to get a signal but I have a speed of 1 Mbit/Sec. With the JPX Driver it was 11 Mbit/Sec.

Checked it with *#*#4636#*#*
[Galaxy S I9000 Android Development] spark001uk:
Well this certainly blows it all out the water:

Readings from settings/about phone/battery usage:

Display: 89%

Cell standby: 4%

Wifi: 4%

Phone idle: 2%

Readings from *#*#4636#*#*/battery history:

Running: 24.3%

Screen on: 14.6%

Wifi on: 58.5%

Wifi running: 58.5%

Both sets of readings were of the "since last unplugged" type, which in today's case has been approx 11hrs. Running stock JPY at mo, no fixes applied.

So what's the score with the ridiculous differences?
[Galaxy S I9000 Android Development] wayne_zmh:
You have to use CF-Root to change to recovery 2e, or flash to speedmod kenell
[Galaxy S I9000 Android Development] aurorix:
It says that you have had wifi active 58.5% of the time since your phone was unplugged, and that wifi accounted for 4% of the total power used by the device.

Nothing ridiculous about that.
[Galaxy S I9000 Android Development] spark001uk:
Yeah other than it's not made clear whether it's %time or %battery!

Ok, so- if that's the case, my WiFi was running for just under 6 and a half hours and only accounted for 4% of the battery drain, and that's on my "standard" JPY that I haven't tampered with. So does this mean not everyone with JPY is suffering from this problem then?
[Galaxy S I9000 Android Development] spark001uk:
I actually think it might be the screen you know, it's taking almost all the battery %, could they possibly have altered the auto brightness in this firmware?
[Galaxy S I9000 Android Development] spark001uk:
Check this out - i complained to samsung about this firmware battery issue the other day, and today a new battery has arrived in the post!!
[Galaxy S I9000 Android Development] Mumps:
Nice battery is much better now with Insanity 0.4.0 (just flashed 0.4.1) with JPY and JPE MODEM. And it could be a placebo effect but Dropbox through wifi seems to go waay faster, can it be?

Pressed THANKS but limit reached, will do tomorrow for sure. THANKS!
[Galaxy S I9000 Android Development] d3ck4rd:
Is this fix still needed if I'm running darkys v8 and the latest speedmod kernel? Or is this fix now incorporated in either the kernel or rom?
[Galaxy S I9000 Android Development] dneill2006:
This fix is incorporated into Darkyys v8 :cool:
[Galaxy S I9000 Android Development] pigrew:
The stock 2.1 captivate firmware has a bug where under certain circumstances, the phone will crash and restart itself. I believe that this is related to having two WPA enterprise (802.1x) networks in proximity to eachother with the same ESSID. I flashed the Cognition 3.02 ROM (which has the JPA version wifi firmware) and the problem still existed. I then flash the JPY version of the wifi firmware and the problem seems to have gone away.

(For me) JPY seems to fix a very annoying bug on my phone, so I'd suggest that it should be preferred.
[Galaxy S I9000 Android Development] spark001uk:
Well from my readings JPY is making my screen cane the battery, not the wifi. Screen has gone from about 50% battery drain to 92% since JPY!
[Galaxy S I9000 Android Development] Tyxerakias:
I tested both versions, and I couldn't see a noticeable difference in drain; they are about the same. Tested for 2 days each, when idle or surfing, and the drain is very comparable.. 1% difference either way in 24 hours is not worth the trouble, imho...
[Galaxy S I9000 Android Development] Cezar`:
Do you have wifi sleep policy to turn wifi off while screen is off? The main purpose of this driver is to give your phone that capability, to switch from wifi to mobile data while screen is off. Jpy drivers simply don't do it. No 2.2.1 driver does it. At least in my tests.
[Galaxy S I9000 Android Development] gothfebrio:
XWJS3 using the same wifi firmware version as XXJPY?
[Galaxy S I9000 Android Development] Sysiphus1981:
but thats only a problem when u have a buggy wifi accesspoint, which as no proper implementation of sleeping states. it prevents the wifi of the phone to get into powersaving but stay connected. google it and u will find lists of falty firmwares and accesspoints.
[Galaxy S I9000 Android Development] mstrandbo:
After updating to JS3 I noticed that Running time/awake time has gone from like 20% to 40-50-60% .. Under Partial awake time, I only find Android, with like not much.. like max 1 hour, and that's after a day.. So from JP6 I've gone from 48 hours standby to about 24 hours.. So something's up with the rom.

I'll try turning off wifi now for a couple of hours and see how it goes. I want my phone to sleep, but I like to have wifi always on.
[Galaxy S I9000 Android Development] hardcore:
Yes, same version.
[Galaxy S I9000 Android Development] dude_uuk:
Hi guys sorry for my ignorance, but how can I know the version of my wifi? can anyone advise I can access my wifi version...thanks in davance guys...
[Galaxy S I9000 Android Development] daigoro64:
From 1st post:

1. Find out your Wifi firmware. Turn on your Wifi, then do:

adb shell "dmesg | grep Firmware"
[Galaxy S I9000 Android Development] dude_uuk:
daigoro64, thanks for the quick response. actually i already saw that reading from the begining but really do not know how to do adb shell "dmesg | grep Firmware".

Sorry because I am really new to the android world. :)
[Galaxy S I9000 Android Development] Mumps:
You need to download the Android SDK:

http://developer.android.com/sdk/

Then go to the folder where it's installed and just do that command:

adb shell "dmesg | grep Firmware"

ADB is an interface to control your Android from the computer, like a Terminal with some more things.
[Galaxy S I9000 Android Development] chuby007:
I try to see my version but I get this:

# dmesg | grep Firmware

dmesg | grep Firmware

<4>[ 2053.433797] Firmware version = wl0: Jun 4 2010 14:21:21 version 4.218.214

.3

<4>[ 2787.680723] Firmware version = wl0: Jun 4 2010 14:21:21 version 4.218.214

.3

so what does that mean ?
[Galaxy S I9000 Android Development] dude_uuk:
Thanks mumps...
[Galaxy S I9000 Android Development] Farkonian:
I get no output from dmesg at all... no error message, nothing... it just returns me to the prompt. Thoughts? Thanks...
[Galaxy S I9000 Android Development] oversim:
R U using K12Q ?
[Galaxy S I9000 Android Development] Farkonian:
Yes....
[Galaxy S I9000 Android Development] ashwinds:
You will have to enable logging from CWM recovery -> Tweaks. 12Q's main change is disabling logging by default.
[Galaxy S I9000 Android Development] hristo2000:
Hi,

I have installed Speedmod K12K over Darkys v8.0. All run very smooth, exept the WIFI. I have noticed that i have constantly changing wifi signal and due to this i can not streem video any more from my next room. When i am close to the router i have no problem!

Please recommend me which WIFI firmware should i use to fix that problem?

Any help will be appreciated!

Thanks!
[Galaxy S I9000 Android Development] Darkorz:
Hello hardcore!

I've been having a quite high wifi battery usage so I decided to try out DXJPA in order to get an improvement.

The thing is, after flashing it through CWM with your attached zip, whenever I check my firmware it still says XXJPY is my Phone firmware. Is this intended or DXJPA ain't getting flashed properly? If so, any possible fix?

Thank you for your time and hard work!
[Galaxy S I9000 Android Development] ashwinds:
Baseband doesnt change. Only the wifi drivers change. So its normal. The only way to check is to turn wifi off and on and then immediately run:

dmesg |grep Firmware

if the update worked you will see the version read 4.218.214.3
[Galaxy S I9000 Android Development] Darkorz:
Thank you for your reply.

I've tried using that adbshell command and it's not returning any message.

Yes, I've turned wifi off and on and I've enabled logger notifications on TWEAKS.

Any ideas? :/
[Galaxy S I9000 Android Development] ashwinds:
maybe the tweaks doesnt re-enable kernel/dmesg log but only logcat... anyway if you ran the zip file and it was error free, chances are that it got deployed fine - dont worry about it :) You could go to /system/etc/wifi and see the timestamps of the files (e.g. bcm4329_mfg.bin) - I think the JPY firmware files would be date stamped in December 2010. The jpa files from hardcore's zip fix are from November 2010.
[Galaxy S I9000 Android Development] Darkorz:
Aye, the flash was error free so I assume it's just fine

Anyways, the stamp on these files is 1/August/2008, kinda weird!

Thanks again :)

Edit: so far my battery life seems much better - 1% on 50 mins with wifi enabled ofc! ^^
[Galaxy S I9000 Android Development] Tyxerakias:
Sorry it took so long to answer, I forgot about this thread.

Of course the JPY drivers do it, and I have it activated and it works fine. I can see it happening everytime I turn my screen on. As I said, I saw no difference...sorry.
[Galaxy S I9000 Android Development] borchgrevink:
So the conclusion is that changing wifi driver doesn't help?