yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] JaGuR:
Just to let you know, this update, Voodoo4 has broken my WIFI again.

The only thing I have done, is to uninstall Voodoo1, then install Voodoo4.

Have not upgraded to any firmwares, still on stock.

So it is removing the WIFI sleep properies from the settings.db again.

I fixed using Root Explorer, by extracting settings.db from

/dbdata/databases/com.android.providers.settings/settings.db

and editing it with SQLiteBrowser, and then pasting back over the top of the old file

This FIX is from RyanZA, with his post and instructions below

http://xdaforums.com/showthread.php?t=774507

------------------------------------------

Some people have picked up an annoying bug - I'm not sure where it comes from, some believe it is the voodoo kernel, I think it is probably JPC firmware or similar.

The bug: When you have wifi on and you turn the screen off, wifi does not turn off like it should.

The reality: The wifi turn-off time has been reset to the android default 15 minutes. You can change this setting if you want. (I like 10 seconds myself.)

You will need:

1. ADB root shell access.

2. SQLite3 Explorer - http://www.singular.gr/sqlite/

or SQLiteBrowser - http://sqlitebrowser.sourceforge.net/

What to do:

1. shell command: busybox cp /sdcard/settings.db

2. adb command: adb pull /sdcard/settings.db

3. Open settings.db in SQLExplorer

4. Right click on gservices or secure folders**, choose 'Show Data'

5. Click on the green plus icon "Insert Record"

6. Double click on name column, insert "wifi_idle_ms" - Double click on value column and insert "10000" for 10 seconds for wifi to turn off. 30000 for 30 seconds, etc.

7. Click on the green tick.

8. Right click on the folder again, choose show data, scroll to the bottom and ensure that your change has been made.

9. File -> Close Database

10. adb command: adb push settings.db /sdcard/settings.db

11. shell command: busybox mv /dbdata/databases/com.android.providers.settings/settings.db /dbdata/databases/com.android.providers.settings/settings.db.bak

12. shell command: busybox cp /sdcard/settings.db /dbdata/databases/com.android.providers.settings/settings.db

13. shell command: chown system.system /dbdata/databases/com.android.providers.settings/settings.db

** I'm not sure if the correct folder is gservices, or secure. I believe secure is the correct one though. I just added it to both.

This is too hard:

If there are 10 or more people who have this bug but can't do the required fix, I'll make a small utility to do it for you. Let me know.

------------------------------------------
[Galaxy S I9000 Android Development] ragflan:
supercurio, thanks for Beta4! Works awesome. I have a stupid tiny request. In Settings -> About Phone, can you let it diplay the version of Voodoo installed?

Like in Kernel Version you have '2.6.29 curio@carton #666'.

If possible from Beta 5, can you also display something like '2.6.29 curio@carton #666 Beta 5' or something like that?

Or if there's another way to check which Beta I'm on (to confirm that flashing worked) please let me know. Love your lagfix. Thanks!
[Galaxy S I9000 Android Development] asgard:
Ok, so I'll be the bad guy.... lots and LOTS of people requesting the color fix be separate or have the ability to completely disable it, and I don't really see any affirmation that this is on the cards.

Appreciate your time and effort Super, Voodoo will likely be the best/final fix and the community appreciates it... now to business - is there even any plan to take the color fixes out or optional with Voodoo?

If theres not just say so, so a chunk of us can move on from this thread and seek other methods out. Thanks, and please don't thinly veil its possibility to be hinging on a "donation" - lets be clear, a donation is an optional contribution, if this is "pay per feature" just be clear about it, thanks.

All it takes is "yes this will will happen", given the volume of requests and the lack of any such statement I must at this point assume you aren't planning to remove the color hack from the lagfix. That's OK - your choice, just be clear it would be appreciated :) This thread is 3 weeks old, I don't think this "request" is suddenly out of nowhere or impatient.
[Galaxy S I9000 Android Development] Stefanauss:
http://twitter.com/supercurio/status/24495003335
[Galaxy S I9000 Android Development] MasK:
Chill.

In one of his recent previous posts, he mentioned that he's working on this request. Have faith in bro Curio :p
[Galaxy S I9000 Android Development] asgard:
Thank god for that :) Its morning here so haven't had time to sweep around Twitter etc, that update is 7 hours ago!... Good job Super, you listened! Once I got that lagfix version on my phone I will *HAPPILY* donate and post here to show I wasn't an asshole without good intention! I wonder if "soon" is before Froyo drops next week :P
[Galaxy S I9000 Android Development] mathieumeuh:
Hi supercurio,

thanks for your work. I like both your fixes (lagfix and colorfix). It's really a great idea to correct ugly defaults color settings. But if you allow me to give my opinion i'd say it would be better if the two fixes were separated.
[Galaxy S I9000 Android Development] dutchcow:
The brightness sensor stuff is really weird. I'm sitting in pitchblack, doing nothing scroll trought even-coloured desktops, and it goes from minimal brightness to pretty bright without the ambient light changing. The phone was sat on a table. Really weird.
[Galaxy S I9000 Android Development] kalpik:
"Soon" is a few hours from now ;)
[Galaxy S I9000 Android Development] supercurio:
Yes the sensor has some noise. Each second the light is read, and each time even with a constant light it changes a little (i hacked the driver to output values in logs to study it)

As long as we don't have smooth gradations between coherent brightness levels, we will always have some lights that will produce yo-yo between quite different brightness levels.

But like usual when an auto-mode don't behave like it should => manual mode, I recommend the excellent widget named Brightness Level by Curvefish. Its a very handy tool to manage auto or manual levels and switch from one to another.
[Galaxy S I9000 Android Development] Quiksilver78:
Quick question here, just to confirm:

If I wanted to upgrade to version 4, do I need to first disable version 3? or can I install version 4 over version 3 without any issues?

Thanks!
[Galaxy S I9000 Android Development] psychedelic'd:
Hey supercurio is it possible for you to put the details and download links of your fix in this thread, or maybe create a new thread? Both the Voodoo homepage and twitter is blocked here in China. I'd really like to try it out.

Thanks for your work!
[Galaxy S I9000 Android Development] dutchcow:
But the auto mode in the stock kernel work perfectly fine (atleast for me). I use switchpro for the brightness, which allows you to adjust the steps from 0-100% in 10% steps or auto.
[Galaxy S I9000 Android Development] elghouchd:
Hey Curio...I was wondering if somebody is making a version of this kernel for the samsung captivate?? If not, then do u know if it would be safe to install on the samsung captivate? Thanks
[Galaxy S I9000 Android Development] supercurio:
I'm really sorry to hear that project-voodoo.org is blocked here in China. (because of "voodoo" ?)

Didn't thought of that, i'll publish more info on xda then.
[Galaxy S I9000 Android Development] ajieboy:
can i use Voodoo beta4 for Samsung Galaxy S I9000 international edition that using Froyo XXJPC ?
[Galaxy S I9000 Android Development] supercurio:
Yes i think i will take time to do the porting myself of the standard Voodoo distribution for captivate.
[Galaxy S I9000 Android Development] dutchcow:
No. It runs only on 2.1, once Samsung releases the sourcecode for 2.2 it can be done. This has also been asked like 2039x in this thread.
[Galaxy S I9000 Android Development] arvindm:
Lagfix only version is now available for donwload! thanks curio!
[Galaxy S I9000 Android Development] ajieboy:
thanks. sorry i'm asking repost question. i try to search at voodoo FAQ web page but the statement not very clear. now it's clear
[Galaxy S I9000 Android Development] darkcloud7867:
Ok.. got the lag fix only version.. Will this install without removing beta 4 first.. And also , will it restore all colour and brightness settings to stock
[Galaxy S I9000 Android Development] DemonWav:
Looks great! I'm on a Captivate, running Tayutama's lag fix, and I love it, but when Voodoo comes out for the Captivate I can't wait to try it out.
[Galaxy S I9000 Android Development] dutchcow:
Thank you for the lagfix only version. You sure rock!
[Galaxy S I9000 Android Development] khunjj:
The lag fix only is voodoo 3, why it is not voodoo 4? or it is a name of real version (not beta version anymore) :confused:
[Galaxy S I9000 Android Development] dckiwi:
Don't know why it's versioned that way, but yes - beta4 contains voodoo 3. Beta 3 = voodoo 2.1
[Galaxy S I9000 Android Development] stfudude:
Hello supercurio.

I found one bug.

After applying beta 4, my phone suddenly can't produce sound through stock earphone. But my phone can produce sound when i unplug those earphone.

My workaround: reboot and voilla!
[Galaxy S I9000 Android Development] Draiter:
WOW, some attitude you got there. If you aren't going to do what curio asks, then I suggest you don't use his fix.....
[Galaxy S I9000 Android Development] networkdood:
Ummm, if you flash an i9000 GT ROM on your captivate, then you will be able to use the lagfix....
[Galaxy S I9000 Android Development] networkdood:
Works great on my captivate...yes...captivate...anyways, its it possible that the external SD card not being read is being caused by the voodoo KERNEL?? Other than that it works great....
[Galaxy S I9000 Android Development] Adevem:
shall try this out! looks promising. will report bugs if any :D
[Galaxy S I9000 Android Development] MasK:
I installed over beta4, and it works like a charm. Stock brightness/colour settings return!

Thanks Curio.. very much appreciated.

My humble donation: 1G204097W0849624J
[Galaxy S I9000 Android Development] Johankman:
Feels like i got a brand new Phone with your lagfix!

Just donated some money to you :)
[Galaxy S I9000 Android Development] tomolewis:
I see, looking forward to it then ;)

thanks
[Galaxy S I9000 Android Development] lemmy_0:
Thanks for the V4...

Using it now and I think it works great.

The color fix may take some time to get used to but I don't think that's a problem.

I did find an issue though...

After applying this, I found some of the shortcut icons in my file cabinet have been duplicated. Has anyone else experienced this with the new build?

I'm using Launcher Pro, Tayutama's ROM and JM8.
[Galaxy S I9000 Android Development] gangstachew:
I think is launcher pro bug, i used to got it once in a while before voodoo. Just go launcher's preference, restart launcher pro will settle it
[Galaxy S I9000 Android Development] °Dexter°:
I'm on beta 2,colori fix is nice for low brightness,but color calibration at max brightness is too warm for my device...nexus live wallpaper looks "brick-color",instead of normal dark gray
[Galaxy S I9000 Android Development] bali33:
The beta 4 is really good, the phone react very well!

Ps: j'ai vu sur ton site comment désactiver le lag fix mais pas comment le desinstaller c'est a dire revenir au partitionnement initial. Une solution?
[Galaxy S I9000 Android Development] PlanetJumble:
Thanks alot for the lagfix-only release. I like your Idea with the colors and comparing 100% with 75% does show the blue tint clearly, even though you don't really notice when it is blue all the time (just like with wearing sunglasses). Even the darker "bed settings" are cool, but all this jumpiness screwed up the experience.

In auto brightness mode, it often jumped from hardly visible to very very bright and back again. And I don't mean 10% brightness, more like 50-75%, can't really tell. Now, with lagfix only, it remains much much more constant. It isn't just the much darker lowest setting making you notice the jumps more, there is something wrong with the core mechanic.

Also, only having the corrected colors at max brightness (which isn't practical most of the time) makes it feel like a sneak preview rather than a usable fix. I am looking forward to future versions, but I will stick with lagfix only meanwhile. :)

The lagfix is nearly perfect, though. The phone feels like it was supposed to do in the first place. And I have over 200 apps installed. This and minfree to 60/70/80 I consider from now on as essential.
[Galaxy S I9000 Android Development] butro:
I installed the color-less Voodoo 3.0 (beta4). The phone is running great. I previously had RyanZA’s OCLF v1.0 (great work, just as well) installed and it was working but something was still amiss. This however has proven to be smoother all around.

No problems so far. Great work curio! Bug report will follow if necessary. With things working so well, I can’t imagine what a full release will improve on. And then if Sammy doesn’t get their act together with Froyo, I will have to wait for this on 2.2 before I upgrade.
[Galaxy S I9000 Android Development] oswade:
I'd have to Agree. IMO it's a bit better than default color settings, but just a touch too warm. Somewhere inbetween would be good :)
[Galaxy S I9000 Android Development] cdmackay:
yes, I thought so; must just be how it is then. But why did Samsung set it so low?

thanks again...
[Galaxy S I9000 Android Development] vlefevre86:
To everyone complaining about automatic brightness, I might save your day...

I've just discovered an android feature that I heard of some times ago, but that never worked on my previous adroid phone (HTC Hero)... But it seems to work on my SGS :)

You can actually control the brightness whenever you want, without auto brightness...

Here is the trick : be sure to have auto brightness off, and try to slide your thumb over the notification bar. The brightness is changing !

Here you are, you can control the brightness without having to go back to the desktop, or whatever the way you were controlling it...

Give it a try, it will rock your world :)
[Galaxy S I9000 Android Development] nitramz:
battery life is terrible after this fix :(

(beta4)

hope this will be fixed... speed is just awesome!
[Galaxy S I9000 Android Development] arvindm:
Thanks a million bro, that is just wicked!
[Galaxy S I9000 Android Development] Stefanauss:
Ahah, i knew it but i never grasp the fact that it would require Autobrightness to be OFF.

Amazing :D
[Galaxy S I9000 Android Development] ludow:
Correct. First time I can see Android OS as number one concerning battery drain. I installed latest Voodoo w/o lightfix.
[Galaxy S I9000 Android Development] mircury:
That would be great! Can't wait. I donated for this.
[Galaxy S I9000 Android Development] tommy1971:
I have the same problem, seems the battery is much better with beta 2, but definitely very good job with the speed!
[Galaxy S I9000 Android Development] Ragnahgnah:
Wow! thanks!
[Galaxy S I9000 Android Development] midijunkie:
*confirm*

jm7 with jm4modem, voodoo beta 4, 35% androidsystem(cpu-time 41min) use after 3~ hours.

"workaround": killed all apps with the buildin taskmanager. androidsystem now at 29% after 4hours.
[Galaxy S I9000 Android Development] dutchcow:
To anyone reporting a bug, be sure when you report it, you have a way to reproduce it. Otherwise it is will be next to impossible for anyone to help you.

Before reporting bugs I suggest reading this: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

I'm testing the battery drain on lagfix only version right now. I calibrated the battery using the HTC method. Will report back later on.
[Galaxy S I9000 Android Development] TDO:
And the funny thing is - this feature is described in your manual of the SGS ...
[Galaxy S I9000 Android Development] vlefevre86:
Well, maybe, but nobody read those things nowadays...

"To turn on your phone, push the power button. To make a call, click on the phone icon"...
[Galaxy S I9000 Android Development] dutchcow:
One hour unplugged battery still 100%. Did a benchmark 1722, synced my calender, send some text messages. Looking good so far. I will leave it unplugged till it goes below 10%.
[Galaxy S I9000 Android Development] bilboa1:
with previous kernel the battery was better than JPC so i didn't really bother

switched to the new kernel a couple of hours ago and now the battery % is stuck to 85% (j/k ofc it's not stuck.. but seems to improve things a lot)
[Galaxy S I9000 Android Development] kindaichi24:
why is my benchmark only 892 - 900 no matter hw many times i tried? my kernel version is curio@carton #voodoo_lagfix_3.0. i used the update.zip(lagfix only) method. did smth went wrong here? jm7 here anyway. first reboot is like normal reboot not long at all?
[Galaxy S I9000 Android Development] supercurio:
the lagfix must be disabled some way ;) check into the Voodoo dir in you sdcard.

or maybe you have very little space on your sdcard, not enough for the conversion.

What did the voice told you ?
[Galaxy S I9000 Android Development] kindaichi24:
the funny thing is i nv heard any voices man :( i undo the oclf 2.3 b4 using ur lagfix. my internal memory got 1.5gb left and sd card got 5.76gb left. do i disable the lagfix and try again??

Update: okay i've found the voodoo folder and it had the disable lagfix folder in it which i used to disable previously. is it the cause of it?
[Galaxy S I9000 Android Development] kindaichi24:
thanks supercurio, i think i did it. my benchmark is around 1500-1600 now. anyway what is the file bml7-zImage-kernel-backup.img is for? how to use it? anyone can ans me pls. thanks!
[Galaxy S I9000 Android Development] mikelyon:
@Supercurio : looking at your update.zip you do 2 backup of the current kernel to the internal (and external if present) SD card.

I have an external SD but i don't have the second backup in it.

Anyway it's not important but just wanted to point it.

@kindaichi24: it's the backup of the current kernel before the upgrade.
[Galaxy S I9000 Android Development] Narcissus85:
I dont understand why after flashing and reflashing (after uninstall the voodoo lagfix 2 days ago..and a lot of data/factory reset and formats) my sgs seems more reactive and faster WITHOUT lagfixes......

I think i have some hallucinations....maybe not?

:rolleyes:
[Galaxy S I9000 Android Development] :
I'm really looking forward to seeing how the colour fix looks!
[Galaxy S I9000 Android Development] ufuuu:
which fw you flashed? jm7 ?
[Galaxy S I9000 Android Development] justcme:
Ahhh, a much more feasible reason as to why. Makes sense. :)

Although I'd hope the sources released by Samsung can be used without much modification (.config changes I presume) to build the same kernel they use in their firmware. :B

Any changes made by Samsung (and anyone else for that matter) to the kernel has to be released under GPL anyway, right?
[Galaxy S I9000 Android Development] dakine:
For those of you with problems connecting to KIES:

Try changing the usb connection method a couple times. I had to switch back and forth from usb storage mode back to kies mode a couple times and reconnect the phone. Eventually it fixed itself. I have my phone set to 'always ask' now and kies now picks it up right away.
[Galaxy S I9000 Android Development] RyanZA:
supercurio, I'm really interested in testing out native EXT2 instead of EXT4 for this, as the write performance of EXT4 seems to be half that of EXT2. No idea if it's safe though, so I'd like to get ahead on testing it by using it for a couple weeks to see if anything goes wrong.

Anyway I can do it all myself, except for one step that I don't understand:

You make a 512 byte mbr file that you dd across, that contains all the partition information for EXT4/RFS/FAT32, right?

I have no idea how you do this. Any chance for some hints? :D
[Galaxy S I9000 Android Development] BackfireNL:
I'm not having any problems with battery drainage? but i keep my wifi turned off!
[Galaxy S I9000 Android Development] jjwa:
I agree. Especially after seeing results of RyanZA's benchmark in his topic. I think it would be a really good idea to have an Ext2 side-version to try out the difference, before you start finalizing the project. Otherwise you may end up with a finished project, and an important chance missed...
[Galaxy S I9000 Android Development] Narcissus85:
JM6 ....maybe only hallucinations :p
[Galaxy S I9000 Android Development] lafaya:
I have tried the fix for about 3 -4 days now.

The phone runs a lot smoother than before and I have no lag on day to day usage. However, I will make some observations:

- the unlag fix shouldn't be in the beta2 release as that'll just stump people up

- I do notice 'some' battery drain but not as significant as what others are saying. That's probably to do with the improved performance?

- Market has no lag but there is still 'some' lag in pasting shortcuts on the homescreen. That's probably an unrelated thing though

- There was a one time issue when my phone refused to accept the touch to slide out of lock screen. That was when the phone was autosyncing. It could have been doing too many things as once but I am not sure.

I think people have mentioned all the positives about this update so there's no need for me to repeat that!

I am on the JM1Rev3.0 firmware. I have an Optus Galaxy S 16gb Phone.
[Galaxy S I9000 Android Development] Stefanauss:
On the filesystem issue and side-versions of the lagfix:

I definitely agree the (supposed) battery drain needs to be looked into more accurately before doing any "final" release. It can't be that fixing something breaks something bigger.

BTW, instead of providing an EXT2 kernel, can't journal on EXT4 just be disabled?
[Galaxy S I9000 Android Development] raspdeep:
i've test it, the quadrant score is just 100 points difference..
[Galaxy S I9000 Android Development] RyanZA:
Not really interested in quadrant score. Anyway, how did you test it? Some info on how to do the partitioning please! :)
[Galaxy S I9000 Android Development] asgard:
Ditto, I think EXT2 would be worth a look... or maybe ADB over Ryan and see if your tune2fs will support turning off the journaling on the EXT4... Did Super do that already?

In place: tune2fs -O ^has_journal <dev>

At Creation: mkfs.ext4 -O ^has_journal <dev>
[Galaxy S I9000 Android Development] supercurio:
ext2 won't save the world, it's just an archaic filesystem that look a bit faster on stupid benchmark.

Random benchmark results that doesn't mean anything.

http://www.delltechcenter.com/page/A+Comparison+of+Ext2,+Ext3+and+Ext4+Performance

@RyanZA : ext2 = double of the write speed of ext4 ? come on, that's absurd !

I will NEVER build or distribute an ext2 version of Voodoo lagfix, and will cast the worsts Voodoo spells on any guy who will

Did I make my point ? :D

RyanZA, please stop spreading such misinformation, this is silly.
[Galaxy S I9000 Android Development] RyanZA:
From your link:

Totally different from our SGS, I would think. As for EXT2 being archaic - so is HFS+ used in the iphone. Sometimes embedded stuff needs archaic. Anyway, I'm in no way asking for you to do anything - I'm just trying to work out what tool I would need to change the partition. You don't seem to be in much of a helpful mood though, so I guess I'll have to look elsewhere. :(
[Galaxy S I9000 Android Development] Ferdimage:
@supercurio

is there a way to clear the data from the ext4 voodoo kernel, as it tries to load all my previous apps and settings etc after i flash another FW then apply your voodoo kernel...

Thanks
[Galaxy S I9000 Android Development] supercurio:
Sometimes user data need a non-archaic filesystem to prevent user data loss.

Ooops did i say Sometimes ? NOT ! Anytime !

That's probably the reason because Apple use HFS+ in their iPhone, which is a modern file system, journaled for data reliability since... 2002....

It's not a question of mood, this time it's a question of not making stupid choices nor influencing people towards stupid decisions. Sorry to be so abrupt but about ext2, you really need to think again.