yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] moreira86:
just read post number 161 and you will be able to do it, but make sure, you are rooted, have su and busybox 1.1.17 installed, also read the big faq thread, it will help you a lot
[Galaxy S I9000 Android Development] lajson:
Be patient, The OP ( and maybe others :) ) are working on the solution dude ;)
[Galaxy S I9000 Android Development] odyssey61:
Can this lag fix "wear" out the sd card?
[Galaxy S I9000 Android Development] spider_mg_zr:
got everything except busybox...if you say so ill try it ;)
[Galaxy S I9000 Android Development] matty___:
it should not because you create a file on the RFS which should handle that.
[Galaxy S I9000 Android Development] moreira86:
just be sure to be busybox 1.1.17, not the latest one, its posted the apk file on page 23 of this thread, download the file, put it in the root of your phone memory, search market for an apk installer and thats it
[Galaxy S I9000 Android Development] odyssey61:
RFS = Real File System?
[Galaxy S I9000 Android Development] spider_mg_zr:
some says that must have the latest version of busybox...and on market there are 2 apk with the name installer
[Galaxy S I9000 Android Development] myslee_ovi:
i think it's the "Reliance File System"
[Galaxy S I9000 Android Development] eeney:
Have run through this twice now, once on JM5, and then once again on a freshly flashed DTJG4 firmware. Both times with busybox 1.17 and no problems, all commands execute fine...... but after the reboot my quadrant has not changed (900) at all.

What can I check to see if I have it setup correctly - may need fairly clear instructions, it's a long time since I've been near linux.
[Galaxy S I9000 Android Development] moreira86:
me and a few others failed with busybox 1.18 (latest from market), you can try anyway, its up to you, i made it with the apk someone attached here (1.17.1), just download any apk installer program
[Galaxy S I9000 Android Development] braintheboss:
I have a question. Has anyone thought to send an email to samsung with a link to this post and a explanation of the solution? Because I doubt they read this and it is not logical that you all will do them good the bungling of samsung. If Samsung does not make them understand that they have a problem and the solution is easy, hardly going to be able to enjoy our phone.
[Galaxy S I9000 Android Development] jdrake001:
Found this faq from samsung:

http://www.samsung.com/global/business/semiconductor/products/fusionmemory/Products_FAQs_RFS.html
[Galaxy S I9000 Android Development] odyssey61:
I updated my busy box through titanium backup and it worked ok
[Galaxy S I9000 Android Development] matty___:
They forgot Q10:

"How does RFS work in real life"

A10:

"Just ask the SGS crowd"
[Galaxy S I9000 Android Development] lajson:
I don't know what I'm doing wrong but when I install stericson.busybox.apk ( 1.17.1 ) on my JM5 with SamSet_1.9b it messes up my wi-fi and every app which needs root looses root privileges.

Restoring SamSet_1.9b fixis the problem with wi-fi and root but then I'm unable to install busybox 1.17.1

any ideas ?
[Galaxy S I9000 Android Development] Tanis64:
Robust FAT File System
[Galaxy S I9000 Android Development] moreira86:
Hm, not really, i did it with a stock rom, maybe this is the problem? Just uninstalled busybox 1.18 and installed the apk, worked fine for me
[Galaxy S I9000 Android Development] meepmeep2006:
I had the same problem, i rooted the phone again with the "one click root" app and that fixed it and i was able to install busybox again.
[Galaxy S I9000 Android Development] lafaya:
This is amazing. I am getting 2200. Silly silly samsung !
[Galaxy S I9000 Android Development] nickporwal:
Got this fix working on JG4 rooted. My phone is indeed very faster in real time use. Apps are opening instantly. I read somewhere in thread that it drains the battery but i dont think so.

Ran the quadrant benchmark:-- blazing 2453 (with 60+ apps installed)
[Galaxy S I9000 Android Development] wo0ps:
Got 2205 with JPJG8 rom. Awesome!
[Galaxy S I9000 Android Development] Croak:
Did you actually use the Busybox installer apk? That did the trick for me, prior to that using Titanium Backup to install it didn't work, nor did moving the Busybox file to xbin manually.
[Galaxy S I9000 Android Development] eeney:
Yeah, used the 1.17 installer (apk) the first time I copied it manually under JM5, reflashed to DTJG4 and installed busybox 1.17 with the apk.

Just not sure why there were no errors, but also no improvement.

Am unsure what and how to check what has been setup. I can see the files in the /system/bin which were copied across (correct files), I can see the dataimg folder with the 1g size... just can't understand the rest, a tad over my head.
[Galaxy S I9000 Android Development] odyssey61:
I used Titanium Backup to update my busybox.
[Galaxy S I9000 Android Development] kalpik:
I sent an email to a guy I know is working in the Android team at Samsung India:

His reply:

So lets see!
[Galaxy S I9000 Android Development] matty___:
I so hope they make this right
[Galaxy S I9000 Android Development] jodue:
nice! i suspected that they know about the issue and are working on it but thank you for doing this and therefore confirming it!

i thing the easy solution to just repartition everything to say ex3, is not that easy for samsung because they have to build an update which will preserve all the settings and user-apps. but i'm sure they are working their butt's off as we are speaking to provide an easy fix :D
[Galaxy S I9000 Android Development] FadeFx:
ext3 is no choice for nand memory since it does not care about wearing...
[Galaxy S I9000 Android Development] RyanZA:
Good to see that samsung will get this fixed properly for us too! :D

Anyway, until they do, I have made a one click lag fixer! In ALPHA status! If you aren't too concerned about having to reflash or restore your device, check it out and tell me if it works!

http://xdaforums.com/showthread.php?t=749495
[Galaxy S I9000 Android Development] matty___:
would be the first time they care about their customers after they sold a device.
[Galaxy S I9000 Android Development] FadeFx:
as long as they still want to sell it they will for sure do, dont ask what happens if they bring their next killer android phone...
[Galaxy S I9000 Android Development] at314:
works fine with be but i have one little question how much apps i can install ..
[Galaxy S I9000 Android Development] RyanZA:
You have 1GB of space.. an app is nearly always well under 10mb, so at the very least 100 apps. Most big apps will install their data to the sdcard anyway.

If the 1GB is too small, its possible to increase the file up to almost 2GB.

Stock SGS has almost 2GB of space available for apps.
[Galaxy S I9000 Android Development] Croak:
Sadly, if you attempted this with the "wrong" Busybox, you'll need to start over from scratch for it to work...reflash or restore a backup first, then install the right Busybox, then go through the script again.
[Galaxy S I9000 Android Development] LazyLeung:
woot! ran in to some hiccups with busybox but it all worked out, 2223 on rooted 190000ZSJF7 with reverted mimocan fix
[Galaxy S I9000 Android Development] at314:
so its something like virtual file formated as ext2 and mounted ...
[Galaxy S I9000 Android Development] SYUNIXT:
What was the command to install again?
[Galaxy S I9000 Android Development] borchgrevink:
Have done this in Norway, but doubt it will have any effect...
[Galaxy S I9000 Android Development] FadeFx:
somone did, he contacted a guy working for samsungs android team, look back in this thread, its there...
[Galaxy S I9000 Android Development] RyanZA:
That is exactly what the fix is. :D

There are some different methods as to where and how to move data though.
[Galaxy S I9000 Android Development] masterfool:
First post on XDA, been lurking since I made the transition from my old crusty iPhone 3G to the SGS.

Just wanted to give thanks to ykk_five, RyanZA, bub181, raspdeep for this fix, the performance increase is amazing!
[Galaxy S I9000 Android Development] Arkymedes:
2252 here.

Works like a charm. Thanks!
[Galaxy S I9000 Android Development] FITRS:
Indeed, well done guys.
[Galaxy S I9000 Android Development] praveen6585:
Brilliant! 2150 on JM2.. and more importantly very much noticeable improvement in normal use..
[Galaxy S I9000 Android Development] cavinsoo:
Didn't work for me at all. Benchmark after this new fix is still 900.

Ok, this is how it unfolded. I had XWJM2 with mimocan fix. When I saw this post, I downloaded XWJM5, flashed & rooted my phone and tried this new fix without mimocan. Didn't work. Still 900. I'm an IT guy, I know what I'm doing. No error or what so ever.

Stressed and not happy with the result, I flashed & rooted my phone back to XWJM2. Tried the new fix, it didn't work. Still 900.

Tried again with XWJG5, didn't work. Still 900.

Now I'm back to XWJM5 again. I didn't do anything yet. Hopefully I can get some help here. Many thanks in advance.

Note: Yes, I have 1.17 busybox.
[Galaxy S I9000 Android Development] daijirok:
the new lagfix worked great for me! I'm on jm2 with mimocan fix so I do the revert instructions provided on post #195 (except for when you type

busybox rm /data/data.bak

you have tu put -r after rm) then follow the guide from post #161.

Quadrant gave me 2196, I think it's fine for a non-stock situation.

Thank you so much ykk_five, RyanZA, bub181 and everyone who made this possible!
[Galaxy S I9000 Android Development] ykkfive:
hi everyone,

attached pls find a zip file containing a simple windows batch program, which will test if ur phone's busybox and su. it's for those who r not familiar with linux, or still wondering if ur phone is capable for applying my trick. just run test4me.bat

EDIT 10 aug 1714HKT:

test4me 1.11 updated, changes:

- will look for busybox under /system/bin/ also

- will look for playlogos1, if not found, will look for other mods

sample output:

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

This will try to upload a test file to your phone and test if it contains all the files needed for applying the dirty lag fix trick.

*** to CONTINUE, press any key

*** to QUIT, press control-C

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

Press any key to continue . . .

171 KB/s (1758 bytes in 0.010s)

Validating file requirements

Checking busybox

Found busybox: /system/xbin/busybox

BusyBox v1.16.1 installed

Checking if busybox contains required function

losetup..... found

mknod..... found

mkfs.ext2..... found

mount..... found

chmod..... found

Checking su

Found su: /system/xbin/su

Checking playlogos1

Found playlogos1: /system/bin/playlogos1

it seems that your phone is capable to do the trick!!

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

test finished

------------------------------------------
[Galaxy S I9000 Android Development] ranova:
all these high quadrant scores mean nothing unless you get no lag in real world testing. Such tests can be done in the following apps: Dolphin HD browser, facebook, twitter, touchdown, k-9 email

All common applications that have serious lag on the SGS. Assuming that this method does fix I/O problems (Especially the I/O quadrant tests), there should be no lag in those apps. Anyone try?
[Galaxy S I9000 Android Development] ykkfive:
as i mentioned, with a web page containing more than 170 images, it is very smooth still for scrolling up/down, zoom in/out (default browser)
[Galaxy S I9000 Android Development] ranova:
thanks ykk_five, can you download Dolphin HD browser (Free, marketplace) and try out the following:

- opening\closing\switching tabs

- scrolling with the volume buttons

- pinch zooming

- loading multiple pages

On stock, and even mimocan's fix, it would lag horrible to the point of unusability.

The only way to make it run smoothly and quickly was to move all your /data/ to the /dbdata/ on the NAND (but limited to 130mb of app space)
[Galaxy S I9000 Android Development] nickporwal:
I have read somewhere that it drains battery faster. is it true? anyone noticed this thing?

Thanx to ykk_five, RyanZA for their awesome work.
[Galaxy S I9000 Android Development] networkdood:
How do I get my Samsung and AT&T logo screens back?

I obviously did this incorrectly and now after my i9000 screen appears, it goes black until it is ready for me to use the phone. So, how do I reverse this process?
[Galaxy S I9000 Android Development] ykkfive:
yes, my trick is mainly for nand & i;ve move them all to /dbdata & /cache

marketplace? u mean market? i don see any significant problem (which, may be due to ur carrier)
[Galaxy S I9000 Android Development] MasK:
Well,

Does your 'cp' command work correctly? Try typing cp and [enter] in your adb shell and it should execute without errors, with the correct busybox version (1.17.1) printed. If there's some kind of error, then busybox isnt installed correctly.

That's a start I would say. I had the exact same problem.. and somehow I used the busybox which was embedded in the update.zip used to root. I finally got hold of the busyboy installer apk and got it installed correctly.

Thanks to Croak for the heads up.

http://ip208-100-42-21.static.xda-developers.com/showpost.php?p=7575442&postcount=306

Good luck.

Btw, I'm getting 2130 on JM5. I don't care abt the numbers much.. but the phone does feel responsive.

Many thanks to ykk_five for the discovery and sharing.

Somebody.. sticky this as the new fix!
[Galaxy S I9000 Android Development] ykkfive:
sorry for keeping u guys waiting... and thx for u all

but i've to take care of my dog 1st, and need some time to prepare screen dumps, as well as some important issues

well, b4 i show u what has to be done, i would like to say that:

1/. dont expect too much, it's a number actually, but it really rocks

2/. it is not by oc

3/. it's 100% original stock firmware and not modified since i bought it

4/. u may be stunned for not using ext3/4

5/. i think it can be applied to many firmware, although performance may vary

6/. i'll append it to my 1st post

thx
[Galaxy S I9000 Android Development] bajica:
So it is a hack made only for benchmark?
[Galaxy S I9000 Android Development] secrethk:
i'm coming !! support YKK \^O^/ i
[Galaxy S I9000 Android Development] BackfireNL:
I'm curious! I'm in! If this is adaptable to other firmwares it should be nice!
[Galaxy S I9000 Android Development] furstrated:
op should be working for samsung

subscribed!!!
[Galaxy S I9000 Android Development] Xurok:
Wow, need someone to explain this a little more :)

Thanks for sharing the tip :)
[Galaxy S I9000 Android Development] RyanZA:
Haha, nice idea! If you can't reformat the internal SD card, just make a filesystem inside it and run off that! ;)

It should actually be pretty easy to make into a script that anybody can just run.
[Galaxy S I9000 Android Development] SquidgyB:
So, if we run with mimocan's kernel would this be even faster with an ext4 block?

I don't know if this is even possible, and I'm sadly a windows user so I won't be attempting this fix until there are step by step instructions or a script to get it done.

Nice work though OP! :D
[Galaxy S I9000 Android Development] RyanZA:
The application data partition is formatted using a samsung filesystem based on FAT32. This filesystem seems to be very slow. (not sure why, filesystem shouldn't make that much difference - the filesystem must be buggy)

What mimocans fix does is create an EXT3/4 partition on your external SD card and then creates a symlink from the data folder to the new data folder on the external SD card. This means that if your external SD card is fast enough, you get a faster system.

What ykk_five's fix appears to do (I haven't tried it) is create a normal file inside the normal data partition. He then sets up a virtual device inside that file, and formats that device as EXT2. Basically a virtual EXT2 filesystem inside samsungs FAT32 filesystem. He then does the same as mimocan, and creates a symlink from the data folder, to the data folder inside his virtual device.

This data partition runs off the internal SD card and should be faster than an external one.

So basically, this is a much nicer lagfix than mimocan's one if it works correctly! :D
[Galaxy S I9000 Android Development] RyanZA:
Yeah, should be even faster with EXT4
[Galaxy S I9000 Android Development] MOUSEY:
Interesting !

Looks promising, let me get the latest ROM and see if my linux knowledge can pull this one off or turned mine into a brick...
[Galaxy S I9000 Android Development] android53:
Really? I heard of people getting 2k+ scores on the vibrant by using a mimocan like hack that uses ext2 instead of ext4. Ext2 should be faster then 4 but more prone to data loss
[Galaxy S I9000 Android Development] furstrated:
i hope a tutorial is forthcoming.

i only got the general idea, and thats because i recognized the abbr RFS.
[Galaxy S I9000 Android Development] Shinili:
Just one question.... why isnt Samsung using ext2/3/4?

I mean... they should know about the performance-boost Oo

Or is that hard to let, for example, kies format the phones internal sd card while or before flashing? Oo
[Galaxy S I9000 Android Development] AlessandroIT:
A bit here:

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

And since Galaxy S owner loves benchmark:

http://www.phoronix.com/scan.php?page=article&item=ext4_benchmarks&num=1

I hope that everything will be fixed with froyo..or i'll be back with my N1 that is way faster (not in 3D of course..)
[Galaxy S I9000 Android Development] amir_rafie:
I hope someone write a step by step tutorial for all users....
[Galaxy S I9000 Android Development] zippokc:
that's a pretty ridiculous benchmark for eclair
[Galaxy S I9000 Android Development] GSeeker:
waiting for a simple solution i am no linux expert. thanks op!

Sent from my GT-I9000
[Galaxy S I9000 Android Development] Dopedangel:
thats what I was thinking this score is with the original kernal.

What would be the benchmark score with the latest kernal and jit.

Most people didn't even notice that:eek:
[Galaxy S I9000 Android Development] sunwee:
Damn...why wouldn't samsung use ext2/3/4 as the default file system. Then we wouldn't be talking about lag here :)
[Galaxy S I9000 Android Development] networkdood:
SAMSUNG and AT&T logo screens are gone....oops

I obviously did this incorrectly and now after my i9000 screen appears, it goes black until it is ready for me to use the phone. So, how do I reverse this process?
[Galaxy S I9000 Android Development] ykkfive:
i don think so (for me), there's no oc, although it MAY consume a bit more cpu resources
[Galaxy S I9000 Android Development] ykkfive:
u mean ur boot animation is not showing / was replaced?
[Galaxy S I9000 Android Development] networkdood:
oops...again

yeah, and now when my phone is in sleep mode, the only way to turn the phone back on is by pulling the battery out and re-inserting it....
[Galaxy S I9000 Android Development] ykkfive:
well, i think it's not in sleep mode

i've seen this b4 when something is not loaded, or cannot be found, etc

so what did u do? it's hard to tell for no further info
[Galaxy S I9000 Android Development] networkdood:
that is correct
[Galaxy S I9000 Android Development] kelvin1704:
I am now having Quadrant score of 2106 after using RyanZAEXT2Lagfix Alpha1. It is a huge increase. However, i still notice the annoying lag in CLOSING of application such as CONTACTS and PHONE. Opening of these application is also not as seemless as in Desire HTC sense which I previously own.

Can anyone tell me how to fix this?
[Galaxy S I9000 Android Development] networkdood:
Someone on here posted the method of input

C:\ANDROIDSDK>cd android-sdk-windows\tools

C:\ANDROIDSDK\android-sdk-windows\tools>adb shell

# su

su

# busybox dd if=/dev/zero of=/data/dataimg bs=1024 count=1048576

busybox dd if=/dev/zero of=/data/dataimg bs=1024 count=1048576

busybox mknod /dev/loop0 b 7 0

busybox mknod /dev/loop0 b 7 0

busybox losetup /dev/loop0 /data/dataimg

busybox losetup /dev/loop0 /data/dataimg

busybox mkfs.ext2 /dev/loop0

busybox mkfs.ext2 /dev/loop0

mkdir /data/data1

mkdir /data/data1

busybox mount -o remount,rw -t rootfs /

busybox mount -o remount,rw -t rootfs /

mv /system/bin/playlogos1 /system/bin/playlogosnow

mv /system/bin/playlogos1 /system/bin/playlogosnow

cp /sdcard/playlogos1 /system/bin/playlogos1

cp /sdcard/playlogos1 /system/bin/playlogos1

cp /sdcard/userinit.sh /system/bin/userinit.sh

cp /sdcard/userinit.sh /system/bin/userinit.sh

chmod 755 /system/bin/playlogos1

chmod 755 /system/bin/playlogos1

chmod 755 /system/bin/userinit.sh

chmod 755 /system/bin/userinit.sh

busybox mount -o remount,ro -t rootfs /

busybox mount -o remount,ro -t rootfs /

reboot

reboot

1048576+0 records in

1048576+0 records out

1073741824 bytes (1.0GB) copied, 148.658505 seconds, 6.9MB/s

# mknod: /dev/loop0: File exists

# # Filesystem label=

OS type: Linux

Block size=4096 (log=2)

Fragment size=4096 (log=2)

65536 inodes, 262144 blocks

13107 blocks (5%) reserved for the super user

First data block=0

Maximum filesystem blocks=4194304

8 block groups

32768 blocks per group, 32768 fragments per group

8192 inodes per group

Superblock backups stored on blocks:

32768, 98304, 163840, 229376

# mkdir failed for /data/data1, File exists

# # failed on '/system/bin/playlogos1' - No such file or directory

# cp: not found

# cp: not found

# Unable to chmod /system/bin/playlogos1: No such file or directory

# Unable to chmod /system/bin/userinit.sh: No such file or directory

# #

C:\ANDROIDSDK\android-sdk-windows\tools>

and at the cp part it would not function - my guess is that I am in limbo as a result of an incomplete code, so how do I reverse this - revert back to original kernel?
[Galaxy S I9000 Android Development] Arkymedes:
Hello,

If I try to install anything, there is no storage available. Weird...

Via adb, that's the message:

Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]

I still have 6.50GB on the External SD, 1.39GB on the Internal SD and 726MB on Internal Phone Storage...
[Galaxy S I9000 Android Development] networkdood:
I get this output:

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

This will try to upload a test file to your phone and test if it contains all th

e files needed for applying the dirty lag fix trick.

*** to CONTINUE, press any key

*** to QUIT, press control-C

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

Press any key to continue . . .

'adb' is not recognized as an internal or external command,

operable program or batch file.

'adb' is not recognized as an internal or external command,

operable program or batch file.

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

test finished

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

Press any key to continue . . .

Terminate batch job (Y/N)?
[Galaxy S I9000 Android Development] ykkfive:
u should ask him coz u r using his fix

i didnt try his but remains on mine
[Galaxy S I9000 Android Development] ykkfive:
sorry again, it's not provided by me, u should ask the author instead. and, i didnt test his actually
[Galaxy S I9000 Android Development] ykkfive:
the adb is included in the zip file

all 4 files should be placed in the same folder
[Galaxy S I9000 Android Development] q123123an:
So you should extract it before executing the script!
[Galaxy S I9000 Android Development] MetalWeirdo:
This is only a test to my phone, it doesnt make the magic does it ?
[Galaxy S I9000 Android Development] furt890:
So I can format my SD card back to FAT32 for storage again right ? That's a relief...
[Galaxy S I9000 Android Development] kalpik:
Yes you can :)
[Galaxy S I9000 Android Development] ykkfive:
correct, only a simple test
[Galaxy S I9000 Android Development] furt890:
Woah... Gonna try it tomorrow then... Gotta prepare for the "big day" lol, I hope Samsung will give an official fix along with the Froyo :D