yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] philipswich:
Voodoo

Hello, I upgraded to froyo (JPM) using kies the other day, and have found how laggy it is.

I was using the voodoo lagfix on my previous eclair version.

Last time i installed it using the update.rar method which was nice and easy.

To install this version I understand that I have to put the voodoo file in the 'PDA' section in odin. Do I leave the other fields empty? or do I have to re-flash all the files?

Thanks In advance (cant wait to get voodoo running!

Cheers

Phil
[Galaxy S I9000 Android Development] rajendra82:
Does the voodoo5-pre3 require the use of a recompiled JPM kernel, or is it simply injecting the lagfix into the ramdisk and repacking the zImage. If it's the latter, how much longer before we on the Captivate JI6 Froyo can get voodoo5-pre3? Is there anyone working on it?
[Galaxy S I9000 Android Development] fakekullu:
Argh, sorry about the typo! I meant to say that I applied voodoo pre3 and CF's root etc. Are there any compatibility issues there?
[Galaxy S I9000 Android Development] jimyen:
Thanks a lot for your hardwork Supercurio!

Flashed successfully with my root and everything intact! Quadrant @1492 but the phone is obviously faster. I tested immediately with my gallery which contained 1000+ photos, and it loaded up like they were cached already! This never happened before with any lagfix I tried.

For those who have problem flashing, start up odin3 but DO NOT check any boxes, just flash and it should be good.

JPM I9000.
[Galaxy S I9000 Android Development] supercurio:
Ya,

About the battery drain, we have the same kernel than Samsung so in theory it won't be a problem anymore.

If this becomes a problem again.

1/ we will ask updated sources very loud and very soon

2/ Voodoo 5 already includes strong injecting-into-stock-ramdisk-strategy.

All the code is much cleaner and injecting voodoo into a ramdisk consist only of running a script.

That's a double answer to a potential problem which don't exist :)
[Galaxy S I9000 Android Development] Gambler_BE:
Just the PDA ;) You can leave all the other fields empty

https://docs.google.com/document/d/1BpoZycEkNHDr28bkUb1KdJy2xdQ7ZDowpHVMGpXheGc/edit?pli=1# here's a nice how to ;)
[Galaxy S I9000 Android Development] EarlZ:
@ supercurio

Have you determined the best 2.2 FW to use with your voodoo fix ?
[Galaxy S I9000 Android Development] the_ozyrys:
Well, few days ago, after soft reset (by holding power button)

I've got /dbdata corrupted and I was forced to format phone

since no app was working (a lot of FCs). I guess that was because

soft reset haven't given RFS chance to unmount, and filesystem

became corrupted - theoretically, it has journal, but we all know how

good RFS is written. So I would like to see all my data on more

reliable filesystem, just in case.

Maybe I've added too much "extra ideas" to it, but that's because

I don't fix what's not broken, but when fixing, I like to fix it for good.

Essentially, I would like to never see RFS again on my phone, not

because of some ideology or hate or just for the sake of not having it,

I just don't trust it. :rolleyes:

P.S. Yes, I know, there are two kinds of people, those who make backups,

and those who WILL make backups... :p
[Galaxy S I9000 Android Development] sambir:
I have the lagfix pre3 installed on my official jp6 official dutch rom. It seems to work flawlesly 1511 quadrant score.
[Galaxy S I9000 Android Development] xero2002:
I assume starting with a clean Tayatuma ROM and then just applying this shouldn't be a problem?

It doesn't have to be an untouched Samsung JPM/JP6/JPA?
[Galaxy S I9000 Android Development] supercurio:
Hello! You can inject into ramdisk if you want!

I didn't do any because of lack of time but i suppose it will work more than well.

Escpecially the compressed-smallest profile which is hardcore :D
[Galaxy S I9000 Android Development] XeCeL:
Well, nice to hear that. I gonna try your work now!!! Btw, 3 more questions

1. "Voodoo lagfix and Voodoo color – Beta 4 Update.zip" from your blog is the latest one for Eclair right?

2. From q.1, color fix also included with that one?

2. How to revert back to stock kernel, re-flash only?

(Just in case I have to contact my provider)

Sincere again. LOVE YOUR WORK !!!
[Galaxy S I9000 Android Development] Toonio:
JPM and with voodoo quadrant score is 1469. Before voodoo it was around 970.
[Galaxy S I9000 Android Development] supercurio:
No ^^ JPM seems fine especially about GPS. I cannot say much on the JP6 I installed because it lacks vibration and most sound, strange

Sorry not being a Firmware-expert, it's a full time job these days ;)
[Galaxy S I9000 Android Development] tbusquet:
Install of kernel went fast and flawless on jpm. Seems to work well so far!

Conversion only took like a minute or two!

Going to test more now :)
[Galaxy S I9000 Android Development] EarlZ:
Alright, I'll go with the pure JPM firmware coz as of now im using the JPM-JP6 hybrid...

Just gonna wait for a release version and hopefully its gonna be out in 48hrs or so ^^
[Galaxy S I9000 Android Development] vvaleta28:
Applied JP6 and going great, very smooth and very fast

Thanks, good job
[Galaxy S I9000 Android Development] supercurio:
Okay I see.

If you allow me, reducing several partitions/filesystem into only one would be counter-productive for this matter.

Because if you have only 1 partition, it becomes more likely to be corrupted by frequent global writes, and then if it becomes corrupted you loose all the datas in it (or have trouble repariring it)

Instead of minimizing the risks, actually this approach maximize them.

Anyway i'm sorry about your /dbdata corruption, that really sucks!
[Galaxy S I9000 Android Development] Mrr K:
Have flashed Voodoo Froyo preview 3 onto my I9000 international and it's absolutely butter smooth!! Got so excited so that I almost soiled myself lol! Big thanks Supercurio - donation already made :o)

Was JPM Firmware + latest CF Root (didn't need to reinstal SU)
[Galaxy S I9000 Android Development] supercurio:
Hello!

You should come on IRC to analyze that ;)

Without additional info i suppose that you checked "repartition" when flashing, so you have to reinstall a full firmware now.

(and yes, Odin is very far from the perfect distribution method!)
[Galaxy S I9000 Android Development] supercurio:
Fine :)

Exactly, thank you!
[Galaxy S I9000 Android Development] EarlZ:
It wont wipe any user data right ?
[Galaxy S I9000 Android Development] supercurio:
Yes.

The only thing (it was a hard choice to make) Voodoo does now with this Froyo version is :

Install, one time, a transparrent wrapper around fat.format

This wrapper don't need to be de-installed because it degrades nicely if Voodoo's resources are not here anymore.

There should be nothing special about specific roms, even if they are badly designed :D
[Galaxy S I9000 Android Development] danamoult:
Preview 2 did this occasionally on installation, Curio found a bug and thinks he has fixed it with Preview 3. No one has reported any data loss with Preview 3 until now.
[Galaxy S I9000 Android Development] supercurio:
Nope :)

But be careful, if you install another firmware /kernel which don't support ext4 your /data will be wiped (unlike the previous protection strategy in Voodoo for Eclair)

The solution is the same as before: disable-lagfix in Voodoo in sdcard ;)
[Galaxy S I9000 Android Development] trismegistos:
hi,

after applying voodoo fix my clockwork recovery is gone...and i can not flash any roms with the new recovery mode (i am getting sig. failure). how can i get to clockwork recovery back with using the voodoo lag fix?

thx!
[Galaxy S I9000 Android Development] Mycorrhiza:
It is taking a real long time to install.

I last heard the voice like 10-15 mins ago and ocasionally the screen flashes, other than that I just see the "galaxy S" logo

I came from Tatuyama with OCLF installed, should I wait longer or abort?
[Galaxy S I9000 Android Development] wx5008:
Applied JP6 and going great, very smooth and very fast

Thanks, good job
[Galaxy S I9000 Android Development] MPodlesnik:
Hello! I would like to thx to you for your ours spet on building this!

Now one more Q. from me :

I have now CF root and 2e recovery. I would lose it after odin flash with voodoo beta 5 ?

Can i then use CF again or not?

Thx again!
[Galaxy S I9000 Android Development] supercurio:
That's why you need to deinstall/deactivate other lagfix (with giant loop, argh^^)

before installing Voodoo.

It can need long minutes to convert all this data, but.. the robot lady already said that to you after detecting the quantity of data ;)
[Galaxy S I9000 Android Development] Gambler_BE:
Did you uninstall the OCLF? Because it's said a lot of times here already that another lag fix installed can cause problems ;)

EDIT: yeah so, what curio said :p
[Galaxy S I9000 Android Development] ashwinds:
Deleted because curio posted a reply :P
[Galaxy S I9000 Android Development] clubtech:
How long should this take to install?

I have a fresh install on JPM (no 3rd party apps installed).

I flash the voodoo Kernel and i see the galaxy S logo for about 10 minutes now.

There was no audible alert then phone booted and no audible alert from the kernel itself.

I have tried to do this twice now (flashed to JPM - fresh install. it works fine) then flashed the voodoo kernel and it is just sitting there on the Galaxy S logo for a very long time and nothing else happens.

Any idea?
[Galaxy S I9000 Android Development] supercurio:
10-15 minutes is not shocking if the files moved are really big.

But yeah if the screen "flashes" that's strange.
[Galaxy S I9000 Android Development] XeCeL:
Again, "Beta 4.0" is the latest update for Eclair right?
[Galaxy S I9000 Android Development] danamoult:
1) Make sure you don't have the 'disable lagfix' file in your Voodoo folder.

2) Make sure you do not change any of the settings in Odin - do NOT tick repartition. Only load up the Voodoo file as PDA, plug in your phone, and click start.
[Galaxy S I9000 Android Development] supercurio:
Oh i have an idea, you're eligible for a debugging session :D

or you can try to re-download it and re-flash it to check for install file corruptions
[Galaxy S I9000 Android Development] supercurio:
Yes and it probably will stay unless somebody interested back-port the new voodoo to Eclair (which is totally possible)
[Galaxy S I9000 Android Development] danamoult:
That also brings the colour fix with it. If you want the lagfix only you should go for the Lagfix-only version 3 (NOT preview 3).
[Galaxy S I9000 Android Development] Gambler_BE:
pretty sure it is yeah ;)
[Galaxy S I9000 Android Development] Mycorrhiza:
Is it possible and / or sensible to install OCLF or any other lagfix after Voodoo?
[Galaxy S I9000 Android Development] MPodlesnik:
I forgot, i have JP6 :) Anyone?
[Galaxy S I9000 Android Development] clubtech:
I am going to try flashing JPM again, do a factory reset and then try the Kernel again.

So far i tried twice and it is getting stuck on the galaxy S logo and after 15 minutes i just get a blank screen.
[Galaxy S I9000 Android Development] the_ozyrys:
Haha, thanks, you are right, as always! :)

But I wouldn't be sad with those friends:

/dev/block/stl9 /system rfs rw,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/stl10 /dbdata rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/stl11 /cache rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0

getting converted to EXT4 in some future version. OK, now I know everything,

no more bothering you (at least, until I "develop" some new "smart" questions)... :p

Cheers!
[Galaxy S I9000 Android Development] tra33372:
Hi

I leave everything default and did not touch anything except choosing PDA file and clicked start. That's all.

After I pressed "Start" it took only 6 seconds for the process then reset.

Then the screen shows "Galaxy S" screen > a rainbow strip (seem like errors) appear for .05 sec > "converting data..." voice > reset and repeat the same process.

Now I still can flash the original JPM kernel back and everything works fine as usual, no data loss or else (the same status before flashing voodoo kernel).

*I also removed ext2 tools from OCLF before flahing voodoo

*I also removed micro sd and sim card before flashing voodoo

Thank you

I9000 International model/ JPM and already removed OCLF
[Galaxy S I9000 Android Development] supercurio:
Yes this is possible but no this is not a good idea ^^

It would be like.. adding Ketchup into a glass of the most famous French Vine :)
[Galaxy S I9000 Android Development] Darkimmortal:
First time user of Voodoo here (on 2.2), and it is definitely faster than OCLF on either 2.1 or 2.2, and the text rendering is considerably better.

Will send a donation your way shortly :)
[Galaxy S I9000 Android Development] supercurio:
1 answer : Welcome to IRC :)
[Galaxy S I9000 Android Development] Ganfas:
maybe this is a stupid question but here it goes:

can i flash this kernel: http://xdaforums.com/showthread.php?t=788108 to root my phone on top of voodoo lag fix?
[Galaxy S I9000 Android Development] justcme:
Nice find. :) Could be very useful, if we have more info about the mount options as well as filesystem usage behaviour on android.
[Galaxy S I9000 Android Development] supercurio:
Bonnie++ produces almost unreadable results: typical example of the ultra-synthetic-but-not realistic-benchmark.

It may exist a degree alone to learn how to interpret Bonnie++ results :)

Reiserfs 3 is now an unmaintained filesystem and has a long history of unrecoverable errors even without any power outage.

Probably the unsafest Linux filesystem EVER.

Obviously if you omit reiser4 which was never released because the author got locked in jail.

reiserfs = endless list of failures.

ext4 without journaling is no good either because a simple "adb reboot" consist of cutting down power without any prior unmount.

ext4 without journaling will not stay clean and require fsck.
[Galaxy S I9000 Android Development] supercurio:
Not at all : pure invention. Ext4 optimizations against Ext2 are not HDD or PC specific.

Did you read Ext4 documentation ?

I suggest again reading the Wikipedia Ext4 page.

You see, this is why I have to fight against some ideas RyanZA publish, because these are absolutely wrong and lead other people to a more global misunderstanding.

Assuming that Ext2 is faster than Ext4 exist only because of tons of wrong informations propagated previously, based on speculation and benchmark results that we all know flawed.

I won't test Ext4 vs Ext2 because Ext2 is not an acceptable choice since 2001.

Yes, I care about user's data safety and consider irresponsible for a developer not to.
[Galaxy S I9000 Android Development] gshklover:
Question: There seems to be an (implicit?) assumption that SGS has Samsung's MoviNAND used for its internal SD (with HW wear leveling that is). Does anybody have a link to some concrete specs/info on this?
[Galaxy S I9000 Android Development] supercurio:
Not yet, your analysis is welcome ;)
[Galaxy S I9000 Android Development] huetson2:
supercurio,

i have used RyanZA lagfix and never had issues with it, where can i download your voodoo fix so i can try it out/compare?
[Galaxy S I9000 Android Development] dutchcow:
So what do other phones use for /data like the Nexus One or HTC?
[Galaxy S I9000 Android Development] gshklover:
Found an answer:

1. Tear-down analysis here: http://www.phonewreck.com/2010/08/19/samsung-galaxy-s-teardown/ shows KLM8G4DEDD Samsung chip to be used for the memory.

2. From here: http://www.samsung.com/global/business/semiconductor/products/fusionmemory/Products_MoviNAND.html there is part number decoder document, saying that this part is memory (K), with contoller (L), moviNAND (M), 8G, Nand4 + microcontroller (4), MLC (D), 3.3VCC (E), S3C49VDX01 controller (D), 5th generation (D).
[Galaxy S I9000 Android Development] DavidX_07:
how to disable beta1 ? I haven't any file disable-lagfix in /sdcard and makeing directory disable-lagfix even makeing .zip file disable-lagfix do not disable lagfix
[Galaxy S I9000 Android Development] dutchcow:
Create an empty file called disable-lagfix and copy that to /sdcard?
[Galaxy S I9000 Android Development] mekwall:
Never benchmarked file systems myself so had no idea. I've only done some throughput tests with dd. That's how much experience I got :)

I do know that it's unmaintained and that the author is in jail for killing his spouse, but had no idea about the unrecoverable errors. I used reiserfs 3 on my netbook ssd a couple of years back and never had any problems, but I guess I was lucky ;)

Well... You aren't really supposed to use "adb reboot" in everyday usage, and I tink you're rarely forced to reboot the phone due to freezing (actually never happened to me when using non-OC kernel). When low on battery it will do a clean shutdown as well. So this ain't a deal-breaker.

I rather stick with non-journaling system and run fsck every now and then, then shortening the lifespan of the internal SD-card (which you cannot replace?). Also, a positive side-effect is that it's a tiny bit faster as well.
[Galaxy S I9000 Android Development] oskariunit:
+1, indeed someone is out of line here. RyanZA keep up the good work.

“Progress is impossible without change, and those who cannot change their minds cannot change anything.” - George Bernard Shaw
[Galaxy S I9000 Android Development] DavidX_07:
With what enlargement ?
[Galaxy S I9000 Android Development] mekwall:
I found this: http://www.mobiledia.com/news/57355.html

It's old news I know, but according to the info I would ask the oppostite question. Why wouldn't Samsung use moviNAND in SGS? :)

52 megabytes per second is impressive to say the least, but I wonder if we will ever see that kind performance on the SGS...
[Galaxy S I9000 Android Development] mekwall:
Good find! According to the teardown we should have 1GB RAM available? Also, what is the other 2GB RAM used for? ...
[Galaxy S I9000 Android Development] supercurio:
Indeed :) dd is a good benchmark tool because... it's comprehensive (and it's easy to understand it's limitation^^)

Well to be fair you weren't unlucky ^^

Verifying if the ext4 partition is unmounted cleanly on standard shutdown is on my TODO list actually.

I don't know yet exactly how the shutdown scripts work.

But i can tell you that "adb reboot" style of shutdown is used extremely frequently by some people.

Some of them are developers (and they count) but many other are users of the reboot Widgets.

Journaling is here to keep the filesystem consistent.

Fsck is here to repair an unclean filesystem. When you Fsck a filesystem, it's already too late.

Because of that, running at each boot a complete fsck on a journal-less fs is not equal to the consistency of a proper journaled filesystem. You can very easily have zeroed or truncated files even if your fs is not dead.

Stock configuration use an under-performer filesystem but at least it's journaled.

Changing this to a non-journaled filesystem is called a regression.

And i'm pretty confident in the fact that a regression is not what hope Galaxy S users for their Phone :)

PS: the storage used provides hardware crc and wear-leveling. unless Samsung sell us defective units, your phone will be recycled long before the memory dies in it.
[Galaxy S I9000 Android Development] alphadog00:
This teardown explicitly states that the Captivate uses the 16Gb MoviNAND chip

http://content.techrepublic.com.com/2346-13625_11-456848-40.html?tag=content;leftCol
[Galaxy S I9000 Android Development] supercurio:
Lol yeah, the original parge is here : http://www.samsung.com/global/business/semiconductor/products/fusionmemory/Products_MoviNAND.html

Personnal measurements :

Max Read speed: 17.3MB/s

Max Write speed: 9.41MB/s
[Galaxy S I9000 Android Development] glio1337:
Let's drop the filesystem debates and focus on helping supercurio bug test this 'Voodoo' project.

The guy is spending vast amounts of his own time to create a really awesome tool for everyone and some people are now trying to argue with him over his own project. Which, I might add, is not even complete yet being in beta still and is still only a few weeks old.

At this point, if I were supercurio, I probably would have stopped development at this point. People are acting like he's an employee and questioning his development practices. Let him finish the damn thing then we can all speculate and debate about why your idea is better than a guy's who clearly knows what he's doing.

Also, RyanZA, I get that you want to test his methods with other filesystems, and I also get that you contribute a lot to this community, but cut him some slack. At least let him finish hammering out the code so that it's at a point he feels comfortable with before jumping into pouty faces because he won't play ball with you at the moment. supercurio sounds more than willing to share all his code once he's ready to. Just be patient.

supercurio, keep up the great work. I've been following this project closely and have to say I am impressed with your enthusiasm for this project and your attitude. Keep plugging away, we're all excited to get hexed by your Voodoo.
[Galaxy S I9000 Android Development] lyno:
They had pretty much stopped....
[Galaxy S I9000 Android Development] supercurio:
Hello !

You don't need to. Install Superuser.apk from market and you'll have root.

If you install a non-Ext4-voodoo-aware kernel beware, your data will be most likely wiped
[Galaxy S I9000 Android Development] Liemannen:
Hi supercurio, is it possible to root voodoo whit [CF-Root v1.2] and get su+bb+2e recovery?

And how is it going whit voodoo sound?

thx 4 all your work :D think we should call our phone

Supercurio Galaxy S
[Galaxy S I9000 Android Development] Mycorrhiza:
Samsung knew this day would come! The "S" in "Galaxy S" actually already stands for "Supercurio" ^^
[Galaxy S I9000 Android Development] supercurio:
>> FUTURE work :)
[Galaxy S I9000 Android Development] supercurio:
Wow good one :)
[Galaxy S I9000 Android Development] trismegistos:
yes you will, i lost both :(
[Galaxy S I9000 Android Development] clubtech:
@supercurio

Can you help me troubleshoot why pre-3 is not installing?

I have the i9000T running a freshly installed JPM with no other lagfix and no 3rd party apps.

I then flash pre-3 with repartition NOT selected.

the phone reboots, i see the Galaxy S logo and that's it. no audible tones, nothing.

It just stays there forever.

I have tried repeating the process 3 times now.
[Galaxy S I9000 Android Development] Mull1s:
Im really looking forward to use this, however i am abit afraid with flashing/installing stuff that is beta or pre-release.

I know that you have worked very hard lately but are you far from a stable release? Is there any major bugs at the moment?

I will absolutely donate for the awesome work you have put in making Voodoo :)

cheers
[Galaxy S I9000 Android Development] hardcore:
Just tried Voodoo 5 pre3 Froyo using Odin. I'm using JP6 on a 16GB SGS.

It kept looping at the Galaxy S boot screen with the cool voice 'converting partition to optimize ext4'...

Flashed back to stock JP6 kernel and *phew* the phone works and no data was lost.

Wonder what went wrong?
[Galaxy S I9000 Android Development] mike.sw:
wow supercurio i must say i'm amazed that you have so much time to answer personaly for so many questions... some of the devs here become too busy after a while ;)

thanks for all the great things you do for the sgs, maybe one day you going to fix the gps as well (yea it's better but not perfect ;))

and the sound bounty is waiting for ya!
[Galaxy S I9000 Android Development] pele78:
Omg...........I'm trying to understand how this works, installs and so on and I'm like..where do I start lol...it feels like I'm starting out trying to learn unix language all over again lol.

O_o
[Galaxy S I9000 Android Development] pele78:
Haha!