yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] bassmanitram:
WIFI problem

I9000 France

Updated from a 2.2 to 2.2.1 via Kies, XWJS7, then flashed Stock+Voodoo XWJS8 - now WIFI won't connect to home router (did with JS7). Scans instantaneously connects then immediately disconnects (status flashes from scanning to connected to disconnected) after a few tries disables home network entry. tried router reboot, forget connection, phone reboot. Any ideas?
[Galaxy S I9000 Android Development] Darkstriker:
No, this doesn't work with JPC. JPC is Android 2.2 and this kernel is for Android 2.1.
[Galaxy S I9000 Android Development] Project1.exe:
Nope. Froyo isnt out yet and this fix needs the kernel souce released by samsung. Im waiting for the release of beta 2 and give eclair another "chance" :p
[Galaxy S I9000 Android Development] xan:
Well... Once again. This is plain ridiculous:

THIS DOESNT WORK WITH FROYO (2.2, JP1, JP2 JPC, JPx) YET!

If someone asks this question once again [several options here]!

I just cant believe how many times this has been asked/answered. Is it that hard to read 2 pages of topic or [search this thread]?

If it will, you will know it.
[Galaxy S I9000 Android Development] BackfireNL:
It does not work with Froyo (JPC) because samsung did not release the kernel for open source use yet! we have to wait till froyo is oficially released before supercurio can adapt it
[Galaxy S I9000 Android Development] distortedloop:
"Galaxy wide" - I LOVE that.

No it won't. RFS is replaced. The hardware itself (movinand) from Samsung handles the wear-leveling you're concerned about. Any filesystem should benefit from that.
[Galaxy S I9000 Android Development] HaTeNL:
Supercurio, did you know that the color on newer devices is different then on the older ones? I have a stock JF3 device with blueish color. My sister (and a friend) has a newer one with stock JM2 which has a little more pinkisch color.
[Galaxy S I9000 Android Development] CazeW:
Not that I'm complaining and I'm looking forward to the next beta, but I couldn't see any trace of the haloing you mentioned on the webpage. And I looked hard enough to see the individual dots on the screen.

The color temperature tweak will be a welcome fix as well but there's actually a tool that does that made for Nexus One (http://xdaforums.com/showthread.php?t=745248) and there's at least one comment that it works on Galaxy S with Froyo. So instead of everyone using the same values set by this fix (lets face it, they won't be optimal for everybody) what we would need is a tool like that for Eclair.
[Galaxy S I9000 Android Development] ed10000:
Is this coming out today? 3-4 hours left until I go to bed :(
[Galaxy S I9000 Android Development] distortedloop:
What we really need is FroYo, from Samsung, with the f---ing filesystem fixed. And the colors fixed, and the

__insert your list of complaints here__ fixed

. :D
[Galaxy S I9000 Android Development] ed10000:
You forgot GPS?! :-O
[Galaxy S I9000 Android Development] CazeW:
Yeah, but getting all those fixed by Samsung is probably as likely as me getting laid tonight. AND THAT AIN'T UNFORTUNATELY HAPPENING!
[Galaxy S I9000 Android Development] distortedloop:
That's why I left a variable for your own issues. ;)

I found that on XFJM6, HVJH1 and XWJM7 that the GPS compares and performs as well as the GPS on my iPhone 4 and my Nexus One. I tested all three at the same time in the same position in my car. Tracks were very close, but each phone had a spasm or two and went off track as much as 50-100 feet occasionally. Since the GPS only promises 32 feet accuracy max, I think that's acceptable. If I had to pick a winner, though the iPhone 4 had the most accurate track, but only by a small margin, and only based on casual review, not any kind of point by point comparison.
[Galaxy S I9000 Android Development] distortedloop:
Oh, that's just sad...

:D
[Galaxy S I9000 Android Development] dakine:
I see absolutely no color cast on the 2 sgs that I own.

The lag and gps need fixing but the screen is absolutely perfect for a device like this.
[Galaxy S I9000 Android Development] supercurio:
I hope that Samsung didn't fix a software problem... by new hardware !
[Galaxy S I9000 Android Development] catanzaro27:
So nothing today, hmm, maybe tomorrow.
[Galaxy S I9000 Android Development] miticomon:
hi dude

i search and i cant find voodoo lagfix (update.zip file)

plz someone post a link for download and how to use this lagfix
[Galaxy S I9000 Android Development] cba1986:
it's not up yet.

Still waiting.
[Galaxy S I9000 Android Development] cantIntoCode:
Waiting patiently for beta 2. :D
[Galaxy S I9000 Android Development] networkdood:
so, I am running my SRE ROM with 1.2Ghz OC and unhelpful kernel - for those worried about battery life get JUICE DEFENDER - my phone now last a whole day, which is great with this ROM as originally my phone died after 8 hours of use. I am running RYANs APK OCLF and the phone is zippy until I start loading it with 250+ apps and widgets, then it does slow and multitasking does not always seem possible....looking forward to to supercurio's fix and wishing I could get a copy of VOODOO BETA 1....
[Galaxy S I9000 Android Development] TubeShaped:
hey supetcurio is logcat disabled on your latest kernel? cause i still get the audio crackling on some ui actions. i think hardcore fixed it by simply turning off debug. thaanks
[Galaxy S I9000 Android Development] bassmanitram:
WiiFi problems with JS8 flashed over French JS7 update (cont)

Just flashed back to stock JS7 from samfirmware.com and WiFi works - but, of course, no nice voodoo tweaks.

So, I humbly ask the great god supercurio if it would be at all possible to create a "voodoo + stock" tarball from JS7 since it is evident that the 2.2.1 update samsung pushed out to us French owners (at least) is not compatible with JS8 (if only for WiFi).

Your humble servant bassmanitram awaits with great anticipation the utterances of your response and promises a monetary sacrifice offered on the great PayPal altar if this request should be fulfilled (though you probably deserve such a gift whichever way your decision goes).
[Galaxy S I9000 Android Development] bub181:
Why don't you just flash JS8 using your french CSC.
[Galaxy S I9000 Android Development] bassmanitram:
Ok bub, you mean flash the full js8, including 'modem' from samsung? Weelll, that moves from the realm of 'pretty darn safe' to 'a bit more risky'. Using hiemdall how do I go about that - yeah i know plenty of doc on the web, but in one place, with comprehensive coverage?
[Galaxy S I9000 Android Development] bub181:
Hi Supercurio,

I know you must be busy, but could you please release a stock+Voodoo kernel for the new official gingerbread ROM XXJVK?

It might already have EXT4 support built-in.

Thanks!

Edit: I uploaded the stock kernel from XXJVK
[Galaxy S I9000 Android Development] bub181:
You may as well flash the new official gingerbread ROM XXJVK. There are plenty of tutorials on using ODIN as well as heimdall. Just have a look in these forums. Make sure download mode is working on your phone before trying.
[Galaxy S I9000 Android Development] Lukeenho:
Is there any way how to improve AD2P Bluetooth sound quality? I have bluetooth earphones (sony ericsson MW600) and the sound quality compared to the earphones pluged in right to the phone is really terrible. I know that the compression must eat some quality.....but I didn´t think it can be so bad

Thanks for answer
[Galaxy S I9000 Android Development] supercurio:
Yes, using Nexus S code source base when it will look good enough.
[Galaxy S I9000 Android Development] supercurio:
Okay I'll add JS7 version then, thanks for the report.
[Galaxy S I9000 Android Development] rjtkm:
Voodoo Sound for Gingerbread

Dear Supercurio,

Big Fan. Voodoo Sound for Gingerbread 2.3.3. Please. I Beg You. I will kill myself !

Cannot live without it. Please have mercy !

Yours Truly,

Big Fan...
[Galaxy S I9000 Android Development] supercurio:
take a look here! http://xdaforums.com/showthread.php?t=975349
[Galaxy S I9000 Android Development] TheVisitorX:
...But that kernel does not include voodoo-sound!? Can't live without voodoo sound, too :/. Music is okay but FMRadio is still bad. But XXJVK is really good... It only needs better sound...
[Galaxy S I9000 Android Development] supercurio:
Send a nice inquiry to Samsung opensource website and ask for source then ;)

Say hello to them from me also :D
[Galaxy S I9000 Android Development] TotallydubbedHD:
supercurio,

I was wondering the difference between 2 kernel (that have voodoo sound)

My question is only relating to the difference in voodoo sound v4 and v6

HC's k13D has voodoo sound v4

and

Dark Core/voodoo 5.5.1 has voodoo sound v6

I want to know the difference between the two.

I prefer using k13D as it is MUCH LESS battery demanding, but I would also like to have good SQ...

Thanks in advance for your help :)
[Galaxy S I9000 Android Development] Rebel2k:
Error activating wifi

Hi,

First I would like to thank Supercurio for this nice kernel and the sound improvements it brings!

I'm tortured for a few weeks by a wifi problem on a Samsung Galaxy S. I know I'm not the only one to face this issue but all topics I found about it are without any answer and I can't figure out what's the main cause.

Nearly every time I try to start the wifi (using the switch in the top bar or the settings menu) it's not starting stating "Error" as a status in the settings > wireless > wifi section. By the way, the only way to get out of this situation is to free level 2 ram within the memory manager before trying to reactivate wifi.

I investigated a bit and found that the responsible of this was a problem when loading the /lib/modules/dhd.ko module with insmod command. This command is called with arguments like that (referenced in /system/misc/wifi/wifi.conf file) :

firmware_path=/system/etc/wifi/bcm4329_sta.bin nvram_path=/system/etc/wifi/nvram_net.txt dhd_watchdog_ms=10 dhd_poll=1

and returns the following error:

ret = -1, Invalid argument

(I attached one log file where we can perfectly see it with this message)

I'm not sure it is exclusively related to the Voodoo kernel because as far as I can remember I also hasard this issue with the Speedmod kernel. I tried many different modem files and many different stock firmware (JS5, JS7, perheaps I will try JS8 too) and it is always there. Could it be related to a program ? To the number of hotspot around ? Any idea ?

Of course I'm willing to give you as much details and logs as you need and I'm free to test things. I would like to fix this issue but I would be satisfied to understand what's wrong in the whole wifi activation process above all!

Thanks for reading and hope we'll sort it out!
[Galaxy S I9000 Android Development] supercurio:
Hi Rebel2k.

Can you tell a bit more about which Kernel version do you use & show dmesg output?
[Galaxy S I9000 Android Development] dvdbos:
I have this issue too, with hardcore kernel k13b and c.

Hope it can be solved!
[Galaxy S I9000 Android Development] Rebel2k:
@Supercurio

Yes, of course :

- for kernel, I experienced the problem with Voodoo stable 5.0, 5.1, 5.4.2, 5.5.1 at least (but with Speedmod K13B, K13C too)

- for dmesg, as soon as I experience it again, I'll give you the output, but at this time, there is nothing about it. In fact, the problem is affecting the phone after a few hours of work (using several programs) and not right after the boot.
[Galaxy S I9000 Android Development] bassmanitram:
Bub: OK, assuming I'm brave enough to do this, I have JS8 from samfirmware. It has cache.rfs factoryfs.rfs modem.bin param.lfs zImage. Heimdall very helpfully has one entry box for each of these, so thats easy. There are no bootloaders so that's easier too. So, which of these do I need to actually flash to achieve what you suggest? And will I need a pit file (I've downloaded 512)?

Thanks
[Galaxy S I9000 Android Development] TotallydubbedHD:
should be 512 - if you look at samfirmware's guide at the bottom of the list of modem you will see what i mean

here linked: (you need to be logged in)

http://www.samfirmware.com/WEBPROTECT-i9000.htm

before logging in screen:

http://www.samfirmware.com/android.htm

Video used to explain (is on my guide)

also if you feel uncomfortable flashing, why not watch my guides :P (in sig)

sorry if i didn't help any further :(
[Galaxy S I9000 Android Development] Rebel2k:
dmesg.txt

@Supercurio

Here it is, this evening, after no problem at all during the day, it did it again! I saved the dmesg output in the attached file (sorry, I had to compress, it was 128 kb). We can see interesting things about the "dhd" module I think...

(I add that before trying to turn on the wifi I was in the subway for one hour, listening to music and reading a few news with many connections/disconnections due to bad network reception ; I'm not sure it has any impact, but who knows?)

Here is my analysis:

<3>init: sys_prop: permission denied uid:1000 name:wifi.interface
[...]
<4>wlan_setup_power on --enter
<7>WLAN: GPIO_WLAN_BT_EN = 1, GPIO_WLAN_nRST = 1
<7>sdhci_s3c_force_presence_change : Enter
<7>[BT] bt_host_wake_irq_handler start
<4>
<4>Dongle Host Driver, version 4.218.237.2
<4>Compiled in drivers/net/wireless/bcm4329/src on Dec 20 2010 at 15:54:46
[...]
<4>DHD: dongle ram size is set to 294912(orig 294912)
<4>dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
<4>dhdsdio_htclk: HT Avail timeout (500000): clkctl 0x00
<4>dhdsdio_dpc: FAILEDnewstatusREAD, LINE 4223
<4>dhdsdio_dpc: failed backplane access over SDIO, halting operation 1
<4>dhdsdio_htclk: HT Avail request error: -35
<4>dhdcdc_query_ioctl: dhdcdc_msg failed w/status -5
<4>dhdsdio_htclk: HT Avail request error: -35
<4>dhd_bus_stop: FAILED REGISTER WRITE, LINE 2799
<4>dhd_bus_stop: Failed to force clock for F2: err -35
<4>dhd_bus_stop: FAILED REGISTER WRITE, LINE 2822
<4>dhdsdio_htclk: HT Avail request error: -35
<4>dhdcdc_query_ioctl: dhdcdc_msg failed w/status -5

Anyway, my conclusion is :

- that could be software related (one program using the network), and I was thinking of Tweetdeck or Facebook app (do you have those ones installed?).

- that could be memory related too, because in general when you have this issue, going into the task manager and doing a level 2 RAM free solves it. But is it because more memory is available or because the guilty program has been force closed by the operation? Nobody knows yet...
[Galaxy S I9000 Android Development] androben:
hello supercurio !

May we have the chance to have voodoo kernel on samsung galaxy Ace S5830 ?
[Galaxy S I9000 Android Development] Rebel2k:
@dvdbos Just to leave any doubt I have... Do you have Skype installed on your Galaxy S? It seems it can be related to Skype (but I don't know precisely why yet)...
[Galaxy S I9000 Android Development] MPKO:
Hi and sorry that I'm commenting to this post even it was targetet to supercurio :) but I find it interesting...

I checked your log through and there is lot of things what I don't know but also things what I know like radio related stuff.

For me it seems that your phone is ping ponging between 3g and wifi, sometimes in case of 3g your pdp context is dropped and your phone has to initiate it from scratch and some times its even failing. And with wifi it seems that your phone is trying to apply an ip address, but this is also sometimes failing.

In case your phone is ping ponging between 3g and wifi all the time and you are using "allways on" applications like e.g. gtalk, fring or skype it basically means that you will end up having some strange errors, because those applications are expecting to have an "active" ip address and connection all the time and in case of ping ponging between 3g and wifi this is not happening due to missing handover functionality between these two tech. Not really knowing your enviorement where your issues are happening this is my conclusion baseb on the log what u sent.

Maybe there can be also a bug causing your problem.

Cheers!
[Galaxy S I9000 Android Development] Rebel2k:
No problem for your answer!!!! Indeed, I adressed this post to supercurio, but everybody can (and must ^^) participate! ;)

Thanks for your analysis. I agree with you and your analysis when you say my phone is "ping-ponging". Indeed, I was in the subway, so it was switching from HSDPA to 3G to Edge to No Network to Edge, etc. The problem is that when I start the wifi I'm expecting that it starts without error. Even if programs have a few difficulties to restore their state, normally, that should not impact driver loading at the OS level...

That drives me crazy!!! :)

But let's continue the investigation!

EDIT : I found also something which confirms it could be related to software problem: when the bug occurs, if I swith 2 seconds in plane mode and then switch back in "normal" mode, I can start the wifi without any problem...
[Galaxy S I9000 Android Development] MPKO:
Do u keep your wifi always on or is it off when you don't use it? If I remember right I saw in the log that your wifi was trying to connect to some hotspot on your subway trip, log also showee that once your phone was trying to access to orange network and it was of course denied even your home operator seems to be sfr.

So if you set your phone to plane mode it of course reset your modem resources what explains the success of wifi connection after that... what applications you are mainly using?

Cheers
[Galaxy S I9000 Android Development] Rebel2k:
I turn the wifi off as soon as I leave my flat, because in the subway and at work I have no wifi access. I turn it off to save my battery of course.

During my trip, I activated it manually several times, to see if it was turning on without error (which was the case). It was just for testing purposes. That's why we see some lines related to wifi starting in the logs.

Apps I use daily includes:

- Facebook, Twitter, Skype (all in my account and synchronised once a day for contacts)

- Tweetdeck

- Pulse

- Market (for updates)

- Android web browser (stock one)

- Music player (stock one too)

To my mind, that could be related to Tweetdeck or Skype maybe (but it is hard to be sure of it).

I'm more surprised about Orange connection which have been tried! Indeed, my operator is SFR normally. Will double-check it! ;)

Thanks for your help anyway!
[Galaxy S I9000 Android Development] MPKO:
Have you tried, do you get this wifi error also If you deactivate your skype? Like I mentinoed skype is allways on app and sending keep alives (empty ip packets)periodically to keep the firewalls open in the network and to be able to do this your phone needs to have an ip assigned (same ip).

In moble network you have an ip assigned from that network and as long you are connected and your pdp context is active you have same ip address applyed. When you activate your wifi, your phone has to request a new ip address because your phone is not able to use the same than before due to tech reasons. I belive something goes wrong when this is happening with the combination of allways on apps like skype... plane mode is "clearing" the situation and everything works again.

Cheers
[Galaxy S I9000 Android Development] supercurio:
@Rebel2K

Do you experience the same issue with a stock+Voodoo kernel for the version matching the ROM ?
[Galaxy S I9000 Android Development] Rebel2k:
To be honest, I've not tried stock+Voodoo kernel (and I think it doesn't exists for JS7, only JS8, and I've not yet flashed) but I like all optimizations of Voodoo kernel ! ;)

As far as I remember, I had the same problem with stock kernels on JS5 and JS7 (even if I stood not for long with stock kernel on JS7, I kept stock JS5 several days before flashing to yours). In fact, it seems to affect many kernels (Voodoo, but Speedmod too, for sure because I experienced it, and others if I believe what I found on the web) so it must not be kernel related, OR it means that it is a bug in a shared piece of code impacting many of them.

I may have another clue: it seems that when I swith wifi on from the notification bar shortcut it leads to an error more often than when I do it from the settings menu of Android. Do you think the shortcut in the bar could call the activation process in a different way than the OS wifi menu? What is called in the notification bar when you click on the wifi icon? What is the application managing the shortcut bar? Can we have debug output of it?
[Galaxy S I9000 Android Development] supercurio:
As I never experienced those kind of issue, telling me if it's the same on stock (Voodoo injected or not) kernel will help.

If there are such issues only with kernels built from sources with recent firmwares, it means we will need to request more recent sources from Samsung.
[Galaxy S I9000 Android Development] lordgoata:
Supercurio, I'm using stock Froyo JPY with Voodoo kernel, and also have the same error - but I don't think its anything to do with the Voodoo kernel, I am sure it happened on the stock one as well. It only happens to me when I am at home, where Tasker is controlling my WiFi status - it turns it off when I leave, and on when I am at home.

As the mobile signal is pretty crap, Tasker often looses the signal, so thinks I have left home, which would turn it off, moments later it would detect it again and turn WiFi back on. This would happen all night. The following morning it WiFi would be off, and the status would be error.

I was under the impression it was a bug in Froyo / WiFi driver.
[Galaxy S I9000 Android Development] Rebel2k:
I'm sure that with stock Kernel I exeperienced this problem too in both JS5 and JS7 stock.

EDIT: lordgoata confirms yes. And for me, it is also a bug either of the wifi driver or of the notification bar shortcuts program. When I see lines of the dmesg output and logs, I think it is more likely to be a bug in the dhd.ko modules (bcm4329 driver - maybe it could be a nice idea to find/compile a newer version?).

EDIT2 : I'm on the IRC channel, just in case ^^
[Galaxy S I9000 Android Development] supercurio:
Ah 'kay.

I'll have troubles to fix it if its the same on original Samsung's kernels and because the Wifi driver is a giant piece of crap!

But that's the kind of issue that would be interesting to report to Samsung engineers with the proper structure in place.

'Hope they fixed it in gingerbread kernel.
[Galaxy S I9000 Android Development] Rebel2k:
I totally agree with you.

By the way, is there any way to contact Samsung Engineers to report it and to work on it? Maybe you have some contacts there? :)

Is there any possibility to compile or take the wifi (dhd.ko) driver of another repository or phone with a newer version? (or just the bcm4329 firmware or nvram file?)

If you're ready to check some wifi stuffs I'm ready to help and test everything! ;)
[Galaxy S I9000 Android Development] Dr. Strange:
it maybe a good idea to update the OP

First I'd like to say thank you to Supercurio for all the incredible work. I hope you keep working on/improving Galaxy S.

I was thinking that it may be a good idea to update the OP. As of right now 5.1 is no longer the latest version, but it is the first thing you see when you come to the thread for the first time.
[Galaxy S I9000 Android Development] MPKO:
We should find out the root cause of the problem. For example I haven't seen this probem in my daily usage... I belive some apps what you are using are not well behaving which is then causing this issue...

Cheers
[Galaxy S I9000 Android Development] Rebel2k:
Yes, right. I should uninstall a few apps, but the problem is I'm using them! :D

If I restart the phone and don't start any of those apps, would it be enough to see if it is ok or not? Are you using Tweetdeck? Skype?
[Galaxy S I9000 Android Development] Taomyn:
I think they have as I always had issues with JPY where Wifi would simply refuse to switch back on (especially using my Profiles app), eventually showing as Error, even after trying it several times. With JVK I haven't seen it happen once, although the signal does seem a little weaker compared to JPY. Don't seem to have it all sometimes - they fix one thing and break another.