yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] Rithina:
I haven't got any issue on this but I would suspect that the type/preparation of SD card

I am using Transcen 4GB class 6 with utunbu gpart to format the SDcard into 3gb fat32 / 768mb ext4
[Galaxy S I9000 Android Development] Onraad:
My notification sounds are also gone :(

I have no idea what went wrong, as everything went smooth and I got no error messages anywhere.. I attached a screenshot of the commands I entered in adb..
[Galaxy S I9000 Android Development] DocRambone:
Its very clear that SGS has poor IO performance... even the slow sd card gives a big boost over the stock solution. Lets hope its not a hardware limitation tho.
[Galaxy S I9000 Android Development] taapires:
Omg... Amazing fix... I just scored 1742 with a Kingston 8gb class 4.

Phone is much faster now! =)
[Galaxy S I9000 Android Development] anthonyytw:
May I ask whether this fix can be applied WITHOUT the use of Odin? (e.g. use of Clockworkmod)

Coz I had never been successful in applying the fix through Odin as I always get stuck at the "file analysis.." stage, although I am pretty sure that I have followed all the instructions correctly...
[Galaxy S I9000 Android Development] jodue:
i have had this exact problem once. then i was unable to boot the device, just got the disconnected screen. then i tried it again with the exact same options (never restarted odin) and this time it worked perfectly ...

but i would also prefer a recovery-flash-able zip file instead of an odin one!
[Galaxy S I9000 Android Development] ObliviA:
I just finished the video tutorial for this lagfix!

I hope it helps some ppl here how you do this.

Uploading to YouTube now..
[Galaxy S I9000 Android Development] aciduzzo:
pls post the results of 'ls -l /system' and 'ls -l /disk'
[Galaxy S I9000 Android Development] ObliviA:
My video tutorial:

Part1: http://www.youtube.com/watch?v=a7fDBJOzQw8

part2: http://www.youtube.com/watch?v=S26ny2UGBBU
[Galaxy S I9000 Android Development] Filgaliel:
adb shell
$ su -
su -
# busybox ls -l /system
busybox ls -l /system
-rw-r--r-- 1 0 0 277 Jul 25 17:19 CSCFiles.txt
-rw-r--r-- 1 0 0 9 Jul 25 17:19 CSCVersion.txt
-rw-r--r-- 1 0 0 260 Jul 25 17:19 SW_Configuration.xml
drwxr-xr-x 1 0 0 0 Jul 25 19:19 app
drwxr-xr-x 1 0 2000 0 Jul 25 19:19 bin
-rw-r--r-- 1 0 0 2019 Jul 23 05:05 build.prop
drwxr-xr-x 1 0 0 0 Jul 23 05:05 cameradata
drwxr-xr-x 1 0 0 0 Jul 25 16:44 csc
-rw-r--r-- 1 0 0 528 Jul 23 05:05 default.prop
drwxr-xr-x 1 0 0 0 Jul 23 07:05 etc
drwxr-xr-x 1 0 0 0 Jul 23 05:05 firmware
drwxr-xr-x 1 0 0 0 Jul 23 07:05 fonts
drwxr-xr-x 1 0 0 0 Jul 23 07:05 framework
drwxr-xr-x 1 0 0 0 Jul 23 07:05 lib
lrwsrwsrwt 1 0 0 40 Jul 25 17:23 media -> /disk/media
drwxr-xr-x 1 0 0 0 Jul 23 05:05 usr
drwxr-xr-x 1 0 2000 0 Jul 25 17:19 xbin
#

and

# busybox ls -l /disk
busybox ls -l /disk
drwxrwx--x 174 1000 1000 7168 Jul 25 22:08 data
drwxr-xr-x 2 0 0 12288 Jul 25 18:37 lost+found
drwxr-xr-x 4 0 0 1024 Jul 23 05:05 media
#
[Galaxy S I9000 Android Development] Filgaliel:
Nice tutorial.

What can I do if my laptop doesn´t have a cd/dvd drive?
[Galaxy S I9000 Android Development] IntenZeD:
Do I have to wipe if I have used pauls sdfix before I do this?
[Galaxy S I9000 Android Development] ObliviA:
Thnx!

You can try "Ubuntu Live USB creator"
[Galaxy S I9000 Android Development] sl8125:
Wecolme back.

I have a captivate. if you want i will be your guinea pig. there is a captivate kernel floating around. i think koush posted up with his recovery. here is the link if you need it.

http://koush.tandtgaming.com//test/k...-stock.tar.md5
[Galaxy S I9000 Android Development] vietphunguyen:
I have a Captivate too, I'll be a tester. Oh and broken link http://koush.tandtgaming.com//test/k...-stock.tar.md5
[Galaxy S I9000 Android Development] MarekWiacek:
Quadrant I/O test

Greetings,

I am the developer of the Quadrant benchmark. I have been told by Fredrich about the I/O issue discovered while running the app on a modded Galaxy S.

I would like to offer my help in solving the problem. What I can do is to create a custom build of the app with extra logging that should allow us the better understand the problem.

What do you think about that?

M.
[Galaxy S I9000 Android Development] hazamatic:
I don't think it has anything to do with Captivate. I had this exact same problem on an ordinary Galaxy S flashed to JM2.

The problem is using GParted to create the partitions while using the phone as a SD card reader. You CANNOT use your phone as the SD card reader! (don't know about Paragon, didn't try it).

If you partitioned your card correctly, you should NOT have to run the mount command. You should NOT get a notification on your phone asking you to reformat the SD card.

After using the SD card reader on my laptop to do the partitioning, everything worked fine. Didn't have to run the mount command or anything.
[Galaxy S I9000 Android Development] kalpik:
You mean the issue where it hangs? Sure! Give us a debugging build :)
[Galaxy S I9000 Android Development] sl8125:
I tried with paragon disk manager and didn't even mount the sd card. gonna try ubuntu. i figured gparted will def work on the partition. Perhaps its the sd card?
[Galaxy S I9000 Android Development] Sincci:
Count me in if you need some testing.
[Galaxy S I9000 Android Development] Ancient_One:
Can I partition my 2GB card in to say 500MB fat 32 and 1.5GB ext 3 or 4 or is this card to low memory wise for this.

What would be the better option 4GB, 8GB, 16GB.

32GB is to expensive for me.
[Galaxy S I9000 Android Development] kalpik:
2GB is just fine! I have partitioned the same way.. 512MB for FAT and rest is ext4.
[Galaxy S I9000 Android Development] lafaya:
would a SanDisk microSDHC 16GB Class 2 be good enough to score 1600+ on benchmarks?
[Galaxy S I9000 Android Development] Sincci:
Yes, I have scored +1800 with SanDisk microSDHC 16Gb Class 2 card, but usually around 1750. It's a good card and way faster than some of those cards that are sold as class 6.
[Galaxy S I9000 Android Development] lafaya:
thanks

going to Officeworks to buy one now! :D
[Galaxy S I9000 Android Development] hazamatic:
Same here I got about 1750 with that card :)
[Galaxy S I9000 Android Development] mcbooth:
I'm getting over 1700 with a Sandisk class 2 32gb.

It seems Sandisk cards have much better read/write rates than their class suggests
[Galaxy S I9000 Android Development] keptod:
you use ext3 or ext4? i have done the change on my galaxy s with ext3 partition, it's faster than before, but when memory drops to lower than 60MB, i still feel lag.
[Galaxy S I9000 Android Development] shaunm1989:
Well mine is only getting 1110 with a 32gb Sandisk with 2gb EXT3, if i want to go to EXT4, do i have to format the EXT3 and repartition it?

If i do that how do i get the files back on my phone to move to it, since they have been moved to my SD card?
[Galaxy S I9000 Android Development] mimocan:
can you please point me to the kernel source of captivate?
[Galaxy S I9000 Android Development] EarlZ:
What seems to be the verdict for this one, EXT3 or EXT4 .. gonna be using a Team Elite 16GB Class 6 card
[Galaxy S I9000 Android Development] hazamatic:
Go ext4 it is faster. I haven't had any problems if done right.
[Galaxy S I9000 Android Development] Brantyr:
Is this for fixing the lag when you hit the home key and it takes a few seconds to exit the app or just general lag? I'm pretty happy with performance now that I've tweaked the minfree settings except when I open a decent size app then press home - takes about 5 seconds to get back to the homescreen at times.

I'm just asking because partitioning my SD card and flashing a custom kernel seems a little ridiculous to be doing and I don't see how it's meant to help with speed? Edit: I mean because I've already run paul's fix to move /dbdata/data to /data/data so isn't this just a more compliated way of achieving the same thing?
[Galaxy S I9000 Android Development] do0fusz:
I redid the whole thing, from scratch.

Reflash with JM2 AND repartition with odin.

used the same SD card.

again,

all apps crashed, FC (forced closing) ..

simple buth effective sollution,

install ROM Mangager, and with it you get an option for "Fix Permissions"

strangly enough, after a reboot my benchmarks are up to 1500+ and NO Lagging, no stalling, no forced closing..

don't know if it's logical, buth it worked for me !
[Galaxy S I9000 Android Development] UnSkilleD:
tried it with my phone too..

but after partitioning the sd-card with gparted (under ubuntu and with live disc) the phone tells me that the external card is broken and has to be formated...

back to normal..

how did you formated your cards???
[Galaxy S I9000 Android Development] Bajo76:
Booted Ubuntu live from cd, started gparted, deleted the partition of sd, creted a new one: Fat 32 (6,5gb), second one ext3 (1,5gb).

Right now instaled jm2, applied mimocan patch. No errors with sd-card. Right now restoring my Apps with Titanium Backup.
[Galaxy S I9000 Android Development] UnSkilleD:
the only difference is that i'm trying to create and use a ext4 partition (2gb)... oO

any partition-tables or something?

hmm.. i try it with the sd-card in my phone.. with usb as connection... maybe that's my fault?
[Galaxy S I9000 Android Development] Bajo76:
Maybe, i used an usb-adapter-stick. Be aware not to partition the internal sd-card
[Galaxy S I9000 Android Development] sl8125:
I try to apply the link but it was broken before. Here in the thread Koush posted the link to his captivate kernel. it should be good since it is Koush.

http://xdaforums.com/showthread.php?t=734163
[Galaxy S I9000 Android Development] azazin:
After applying the EXT4 fix, everything is running smooth, quadrant score went from 904 to 1737 on a 8GB Class 2 microsd.

however when I connect my I9000 to the PC and try to mount the SD card I can only access the internal storage, when I try to access the FAT32 partition it asks me to format it. What should I do?

Thanks anyone! :D
[Galaxy S I9000 Android Development] sl8125:
Leave it. Why would you mess with it? is there any of the application data that gets stored in the ex-sd card? I always wondered why you would need a big ex-sd card, if you are going to run the EXT4 on it. Plus, you shouldn't take it out and mess with it.
[Galaxy S I9000 Android Development] dupel:
Format it. Though you will loose all the files on it.
[Galaxy S I9000 Android Development] azazin:
Oh okay, thanks for the tip :).

I will try it later, everything is running so smooth! Just the way it's meant to be :D
[Galaxy S I9000 Android Development] android53:
i made a post earlier about how ext3 worked but ext4 doesn't.

I got ext4 working now with jm2 and samset. i am more than impressed with this phone now, this fix has made the phone what it should be. i just wish samsung did that from the start.

Thank you for your hard work mimocan
[Galaxy S I9000 Android Development] madjsp:
I try to use gparted to do create my partitions but when i remove my phone it says the external SD card is damaged.

I tried to change the file system while it was in my phone (I have a macbook, no sd card support).

Would this be the problem? I've tried creating a massive fat32, then resizing and creating the ext3 partition.

I've also tried partitioning the fat32 at 3 gb, then the ext3 at 1 gb. still gives me errors.

There are 52 pages of stuff on here, did anyone here encounter this? 52 pages is a lot to go through.
[Galaxy S I9000 Android Development] EarlZ:
For a windows based PC, does paragon work well in making the EXT4 ??
[Galaxy S I9000 Android Development] kmrdeva:
Took the plunge upon reading and stopping after 50 pages of this thread..

Mimocan, you are da' man!! Thanks for this ultimate fix of fixes. My SGS has just jumped up from a score of 811 (XWJM2 firmware, rooted with Leshak's update.zip) to 1735!!

Some observations:

1. Data and apps were retained, also no FCs so far.

2. Phone feels quicker overall. Lag when switching/opening apps is very minimal.

3. Quadrant's benchmark tool does seem to halt a long time at I/O, but it does complete, eventually.

4. Android Market works fine for me. Just downloaded some updates and installed 2 new apps without any issues.

Thanks again! :D
[Galaxy S I9000 Android Development] Sincci:
I'd say that it is easier just to create an usb stick version of linux and use it to boot into linux. Then you can use gparted to create the partitions, remove the usb stick and reboot back into windows.
[Galaxy S I9000 Android Development] bommel0815:
yes, thats what i used and it works.
[Galaxy S I9000 Android Development] lafaya:
I wonder if the new JP1 firmware will be compatible with this fix. Anyone care to try?

Edit: Don't...:)
[Galaxy S I9000 Android Development] Ancient_One:
I downloaded the iso for gparted but it did not recognise the SDCARD.

Do you think I might be able to download UBUNTU then use this to format the SDCARD?

Any advice would be appreciated.
[Galaxy S I9000 Android Development] ipla:
I9000xxjp2

It will work on Froyo? XD
[Galaxy S I9000 Android Development] lenrek:
I don't think so.
[Galaxy S I9000 Android Development] kmrdeva:
Try plugging in the USB card reader holding the micro-SD card as soon as gparted boots from either CD or usb thumb drive. I used PenDrive Linux's Windows-based utility to create a live USB drive of gparted from my downloaded gparted-live-0.6.1-2.zip file.

http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/
[Galaxy S I9000 Android Development] sl8125:
I tried using it but it didn't partition the drive well. phone wouldn't recognize it. however, some others were successful. i just downloaded gparted and burned on the disk and ran from the disk. i also tried ubuntu. u had to install and reboot and all sorts of crap. i said fuggit and used gparted. now it detects and sd card seems to be partitioned correctly.
[Galaxy S I9000 Android Development] ipla:
So...

So... we have to do something special in order to change it to JP2 or whatever new froyo's rom? Some way to revert the process?
[Galaxy S I9000 Android Development] lenrek:
By right, we shouldn't be doing this hack, after we moved to Froyo.
[Galaxy S I9000 Android Development] aditya_t90:
I partitioned the sd card into 2 parts

Partition 1 fat32 6.7gb

Partition 2 ext3 1gb

I flashed the pda with odin and everything went fine.

All the commands executed successfully.

Once the system reboots, I get an error

"system uids inconsistent"

"I'm feeling lucky"

Then a lot of fore closes (fc's)

I dont know what to do then so i go back to a nandroid backup that I had made before.

I'm using an 8gb nokia microsdhc class 6.

Am i doing anything wrong?

Can anyone help me?

Rooted SGS ddjf3 with busybox.
[Galaxy S I9000 Android Development] Daniel.zec:
Hello,

how can i reset the fix?

I have Ext4 fix and want to reset.

I need to reflash firmware only?

Thanks
[Galaxy S I9000 Android Development] :
Why not a newer version for Froyo? Just wondering...

The Quadrant score dropped for me from 1700 (on a JG1 rom) to 963 (on JP2).

Maybe linpack also has advantages on it.
[Galaxy S I9000 Android Development] sl8125:
Not worth the switch right now. Too many issues. Look at the difference. Why would you download grade the performance of your phone? I would just stick with the fix and wait til froyo perform at its fullest.
[Galaxy S I9000 Android Development] lenrek:
This fantastic hack is meant to fix lagging problem. Unless Froyo is having the same problem, I don't think I would perform the same hack again.

Besides, this hack should be done with care, we seen too many in this thread where they face problem, and if someone perform a format to the external SD card by using the phone, it would wipe out the whole setup. So, someone like your kids, friends, anyone or even ourselves may just accidentally crash the phone due to carelessness.

I am still having people telling me, ext3/ext4 is not a good filesystem for SD card. It will shorten the card lifespan (journalise filesystem tend to have more write to storage. This mean, more write to SD card and hence reduced its write cycles).

For me, this is still a temporary solution.
[Galaxy S I9000 Android Development] FadeFx:
i second that, this is also no real fix but more óf a workarround to the real problem. but the real problem, that is bad i/o performance on the nand, needs to be fixed by samsung themselves since it is located somewhere in their drivers i guess.
[Galaxy S I9000 Android Development] DocRambone:
The froyo JP1 and2 still have the same IO issues so this fix is very much needed.

Lets hope Mimocan have time to make an update..
[Galaxy S I9000 Android Development] ash99:
So Mimocan, Any news on if you are going to implement this fix on JP1 and JP2 ?

I've downloaded these ROMS but how on earth can I install without this hack ? I'm too used to a fast phone :-)
[Galaxy S I9000 Android Development] Filgaliel:
Yeah I want to know that also. Do we format SD card using the phone and then flash firmware?
[Galaxy S I9000 Android Development] ash99:
Format the Ext4 partition and then flash the phone.
[Galaxy S I9000 Android Development] autoxer:
You can reset it by deleting the symlinks (/data/data and wherever else you did it, i.e. /system/media) and then making the directories again and copying the files back from the SD card. There's no need to flash to undo it.

A Clockworkmod backup from before when you applied the fix should also work to undo it, though it'll also undo anything else you've changed since then.

As for formatting the SD card by accident from the phone--not unless you did it in a terminal, which is hardly on accident. The phone will only see the FAT32 partition through the settings app that lets you format the card. I know, I tried it just to see if it would break it. It didn't.

btw, no updates from me on getting this working for the Captivate. Haven't managed to get a working boot image to work with. Anyone know where it's stored on the phone? I can't find it, and borked mine up using dd a bit too wildly trying to dump it. Fixed it, though, without losing anything thanks to Clockworkmod.
[Galaxy S I9000 Android Development] :
Since reading a 2 weeks before responding here at all, and testing over and over...

I get with out the "Real Fix" but with paul's fix i get the best results on JG2.

Got my SGS for 2,5 weeks now, but am since my htc p3300 (a few years ago, and reading xda-dev) in to testing/tweaking what runs fastest on the pda and used a lot of pre beta methods to see what they did cause i wanted the best and fastest on my pda.

Besides that, with a 32GB micro sdhc it could be expensive (over 100Euro), but as for me with a 16GB (just 30Euro) the costs are to overcome, "atleast for me".

Next to that i would like to have the best performance available (on the JG2 as it was on the Eclair roms), and the Ext4 mod as in the TS would be really great and super fast as it is on any Eclair rom (not just the Mflops boost tot 14K).

So the mind over matter might be in responding or who wants what..... what do you really want and do you mind the costs of a shorter lifetime of a micro sdhc card....

for me performance is "prio 1", so i hope that there will be a Froyo release of the great ;) "mimocan lag fix" for android 2.2.

Just make a note of what are the pro's and con's and let users decide to which version to choose to use, do they care about costs over performance or not.

In my case, I didn't spend over 500Euro to be happy with a bit less performance, if 30 euro lives 1/2 year or 1 year, that is on money kind of view a bad party night if that is what you can spend. (j/k on the last part with who can afford what), but just for notice what you prefer, that's for me, boost the baby hard as you can and the Ext4 mod did(on Eclair)/could do that on Froyo).

Isn't developing & testing also about getting the most juice out of everything, isn't testing about taking risks or knowing that it might cost you some sixpence......
[Galaxy S I9000 Android Development] lenrek:
As long as you aware the potential problem and know how to live with it should be fine. :D

The lagging issue is really a stability issue for me than a performance issue. Very often, my phone would lag so much that it hanged, I have to take out the battery to restart it. This never happens to me when I was using Nexus One.

By the way, one more little note. My SD card tend to get very hot if I play games, for about half hour to an hour. My SGS was rebooted once due to this. Not sure if this is a common problem, but should take note.
[Galaxy S I9000 Android Development] sl8125:
This is with the mimo can fix? I did hear it will wear your sd card faster. Iam guessing its true.
[Galaxy S I9000 Android Development] lenrek:
Yes, with this fix, my SGS is more stable now.
[Galaxy S I9000 Android Development] tschmidt84:
hey, sorry to bother you, but could you make an elaborate noob-guide out of this? :)
[Galaxy S I9000 Android Development] kennethpenn:
@mimocan - This fix looks awesome. Any chance of seeing it on the Captivate?
[Galaxy S I9000 Android Development] BackfireNL:
Hmm.. odin gets stuck on file analysis when trying to flash with the ext4 kernel? what to do?
[Galaxy S I9000 Android Development] sl8125:
unplug it. and restart everything.
[Galaxy S I9000 Android Development] sl8125:
Relax. He is working on it. He's got a hold of Captivate kernel couple of days ago. He should release it soon. At least i hope so. ;)

I am also sure once captivate kernel is ready, it could be used in vibrant. they seem to shae alot of funcions.
[Galaxy S I9000 Android Development] Piny12:
Oh my god, thanks mimocan! My phone is so much faster now!

Getting 1650 on Quadrant now!

I'm on JM2 and had 900 before. This made my phone run so freaking fast! :D

Unbelievable.

Used the ext4 version btw.

For people who have problems with Odin under Win7: Use the Windows XP (SP3) Compatibility Setting and "Run as administrator"! Everything's working fine this way. Before I had problems flashing files to my SGS.
[Galaxy S I9000 Android Development] eX1337:
We'll get some Version for Froyo-Builds? Or is it actually working?
[Galaxy S I9000 Android Development] azazin:
It's currently not working for Froyo builds, however I hope we get a fix soon! I loved this fix on JM2 D:
[Galaxy S I9000 Android Development] AndyCr15:
Apologies for not reading this whole thread now, I've done this, but the Ext3 partition was found without the need for a modified partition. If I go up to Ext4, will this still be the case?

Can an Ext3 partition be converted to Ext4 without losing data?
[Galaxy S I9000 Android Development] lenrek:
Is possible, but I don't really think there is really a need to do this. Is there anything wrong with your current setup now?
[Galaxy S I9000 Android Development] UnSkilleD:
yeah.. got it finally working with ext4 and a result of 1611 :D

thx for the work :D
[Galaxy S I9000 Android Development] AndyCr15:
Well, I only score in the 1100 region and I do have a little slow down from time to time, I just wondered if Ext4 would eliminate it totally.
[Galaxy S I9000 Android Development] heman1310:
I always get a problem when trying to do this "su busybox cp -rp /data/data /disk/".

It always says "Permission denied". Help!
[Galaxy S I9000 Android Development] bammert:
your doing it wrong.

read carefuly. your typing the wrong code.
[Galaxy S I9000 Android Development] lenrek:
I do experience some minor lag as well, though, it happens when I have more apps I installed. You should install a task manager to manage the background process.

Previously, I was using Advance Task Manager to auto kill the task, now I switched to AutoKiller, and is much better.
[Galaxy S I9000 Android Development] heman1310:
Well I know its a different code. It should be like this "busybox cp -rp /data/data /disk/", but when I do it that way I get this "cp: can't create directory 'disk/data': Read-only file system.

Edit: Finally got it working. Yey! :D
[Galaxy S I9000 Android Development] Piny12:
Did you type "su" before?