yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] ed10000:
Just installed this on DDJG4. However, when I run Quadrant, 4 out of the 5 times I tried it crashed at I/O test 3/4 saying

"Error

Internal error during benchmark execution."

What does this mean? Something wrong with my SD card? :( The other time I got 1453.

Partition 1 - 2.8GB

Partition 2 - 1GB EXT4
[Galaxy S I9000 Android Development] ed10000:
I keep getting FCs in the Market now. Sigh :(

Edit: Clearing Market cache helped :-)
[Galaxy S I9000 Android Development] Chainfire:
As there are so many lagfixes at the moment, I am unstickying this.
[Galaxy S I9000 Android Development] qiu:
Super fast lagfix, but super battery hungery

I applied this lagfix yesterday with my JM7 SGS. It is the fastest lagfix so far (I don't have a voodoo). BUT, the battery can only last for about two thirds of the time it could last before.

This is the results from battery usage:

Display 23%

Cell standby 22%

Android OS 21%

Phone idle 16%

Advanced Task Killer 12%

Android System 4%

The display usually eats up 60%+ if I recall it right. So anybody noticed the samething? Maybe it is because the external SD is being constantly used?
[Galaxy S I9000 Android Development] Armada3000:
I am only guessing but I do not think the off button simply cuts the power to the hardware. The only reason I have to say this is that when I power off my phone, the background lights on the keys either side of the main menu button stay on for a period of time, sometimes 2 seconds sometimes as much as 10.

This leads me to believe the phone s shutting down as opposed to instantly turned off.

As for your overall point and your other comments I wholeheartedly agree.

Only issue I have is that I came across your post about 10 seconds after applying the one click lag fix! Irony....
[Galaxy S I9000 Android Development] distortedloop:
I am not guessing...

I ran logcat on the phone via adb then used the off button to initiate turning off the phone.

There is significant activity in the OS turning things off...in fact the system is still doing stuff for at least thirty seconds after the phone appears to be off based on the screen and lights going off.
[Galaxy S I9000 Android Development] shravandurga:
Can i use this fix on my samsung galaxy i5801(apollo)
[Galaxy S I9000 Android Development] rainbow ng:
I just try to odlin my zsjp4 (2.2) and after reboot , it just loop in the recovery mode.

I use 16Gb sdcard with 1.8Gb ext4 at 2nd partition

is it not possible to use with 2.2..:rolleyes:
[Galaxy S I9000 Android Development] a-son:
I have editing the files from RyanZAEXT2LagFix BETA 2-3´s lagfix to match an external sd ext2 partition instead of loop interface.(hope you dont mind RyanZa)

When running Quadrant it will stop a moment in database writes 3/4, dont know why it is so, I have just ordered a MicroSD Class 10 to see if it will be okey then.

Micro SD Class10(http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=200543271912)

Create a FAT & a ext2 partition on your external sdcard, the first partition must be fat & the second ext2 and format them.

Ive made my fat 14GB & and ext2 2GB

You must edit files with Notepad++ or in linux or they will fail!

After you have editing the files run lagfixme.bat

First boot will take several minutes!

For you who want to try do like this: Beware, im NOT responsible if you lose any data

Download RyanZAEXT2LagFix BETA 2-3-EXTERNAL_SD from

http://www.4shared.com/file/nKj4Hs6H/RyanZAEXT2LagFix_BETA_2-3-Exte.html

Run lagfixme.bat
[Galaxy S I9000 Android Development] a-son:
Well, i received my class 10 sdcard but i still have the quadrant hangs at database writes 3/4.

So thats it. no more moving dbdata to sdcard..
[Galaxy S I9000 Android Development] ragin:
Wake up son, the world has moved.
[Galaxy S I9000 Android Development] ragin:
@mimocan,

You need to update your Title.
[Galaxy S I9000 Android Development] Stevethegreat:
So my internal SD is bust. Can I use this to bypass its (my internal SD's) necessity altogether?

I think this is my last chance to make my phone operational again (it boots, but I cannot install anything, cannot save anything).

Also I have 2.2 Froyo installed, can it / will it work with it?
[Galaxy S I9000 Android Development] AbuYahya:
This is a blast from the past. And probably depracted.
[Galaxy S I9000 Android Development] glenner05:
Is this fix still recommended with jg 5 firmware? Because lag is fixed with this new firmware and my phone is already very fast now. If I should apply this fix with ext5 partition, is it worth it then?
[Galaxy S I9000 Android Development] Shinili:
still getting

can't create directory '/disk/data': Read-only file system

:(

formated my card about 10 times with Paragon Partion Manager 10 Server...

2 times with gparted live.... (on 2 different computers)

tried v3 with ext3 and v4 with ext4...

still same msg... :(

would be pretty awesome if somebody could help me... sitting here for about 5hours <.<

......\adb-windows>adb shell
* daemon not running. starting it now *
* daemon started successfully *
$ su -
su -
# mount -o remount,rw /dev/block/mmcblk1p2 /disk
mount -o remount,rw /dev/block/mmcblk1p2 /disk
mount: Invalid argument
# busybox cp -rp /data/data /disk/
busybox cp -rp /data/data /disk/
cp: can't create directory '/disk/data': Read-only file system
# mount
mount
rootfs / rootfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
/dev/block/stl6 /mnt/.lfs j4fs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
none /dev/cpuctl cgroup rw,cpu 0 0
/dev/block/stl9 /system rfs rw,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/mmcblk0p2 /data rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,ioc
harset=utf8 0 0
/dev/block/stl10 /dbdata rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocha
rset=utf8 0 0
/dev/block/stl11 /cache rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iochar
set=utf8 0 0
/dev/block/stl3 /efs rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset
=utf8 0 0
/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=
1015,fmask=0102,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,s
hortname=mixed,utf8,errors=remount-ro 0 0
/dev/block//vold/179:9 /sdcard/sd vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,g
id=1015,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-
1,shortname=mixed,utf8,errors=remount-ro 0 0
#

EDIT: posted this in modaco too

card is 8gb class 6, ext3 is 999gb, fat32 is about 7gb

fat32 is 1.

ext3 is 2.

both primary
[Galaxy S I9000 Android Development] NeoXTC:
Anyone can point me to a tutorial for partitioning the sd card while in the phone and on windows?

I've tried paragon hard disk manager but it can't do it says my sd card got 4 primary partitions already or something like that.

I've look and found a few guides but they require Cyanogen roms.

Any help would be great. I've done a search on google and xda as well already but I may have miss some so a link would be good or what search terms to use.

Thanks.
[Galaxy S I9000 Android Development] Maverick777:
Just making sure I understand this correctly.

This fix is not firmware dependant, but the OP says that ext4 is for kernel version .3x.

I think the stock phone is on kernel version .29 (the version with no Highmem support and thus only 256mb of ram is supported). I could be wrong since I don't have the phone yet.

A I just confusing myself or is this referring to a different kernel?
[Galaxy S I9000 Android Development] ObliviA:
nvm my bad :x
[Galaxy S I9000 Android Development] bigbuffalo:
This is super. Samsung is flying. JG5 with V4 Kernel using ext4 on my Sandisk 32GB Class 2 and benchmarking at 1710.
[Galaxy S I9000 Android Development] dupel:
Have been trying to install v 4 (ext4) all evening. SG5, rooted, with busybox and hands not from my ass.

Thats what I got (part of it, latest)

C:\android-sdk-windows\tools>adb shell
$ su -
su -
busybox cp -rp /data/data /disk/
busybox cp -rp /data/data /disk/
Permission denied
$ cp: can't create directory '/disk/data': Permission denied
$ adb shell
su -
busybox cp -rp /data/data /disk/
busybox mv /data/data /data/data.bak
busybox ln -s /disk/data /data/dataadb shell
su -
busybox cp -rp /data/data /disk/
busybox mv /data/data /data/data.bak
adb: not found
$
busybox ln -s /disk/data /data/data
Permission denied
$ cp: can't create directory '/disk/data': Permission denied
$ mv: can't rename '/data/data': Permission denied
$ ln: /data/data/data: Permission denied
$
C:\android-sdk-windows\tools>adb shell
su -
$ busybox cp -rp /data/data /disk/
busybox mv /data/data /data/data.bak
busybox ln -s /disk/data /data/datasu -
busybox cp -rp /data/data /disk/
busybox mv /data/data /data/data.bak
Permission denied
$ cp: can't create directory '/disk/data': Permission denied
$ mv: can't rename '/data/data': Permission denied
$ adb shell
su -
busybox cp -rp /data/data /disk/
busybox mv /data/data /data/data.bak
busybox ln -s /disk/data /data/databusybox ln -s /disk/data /data/dataadb shell
su -
busybox cp -rp /data/data /disk/
busybox mv /data/data /data/data.bak
ln: shell: Read-only file system
ln: shell: Read-only file system
$ # cp: can't create directory '/disk/data': Input/output error
# #
C:\android-sdk-windows\tools>adb shell
su -
busybox cp -rp /data/data /disk/
busybox mv /data/data /data/data.bak
sbusybox ln -s /disk/data /data/datau -
busybox cp -rp /data/data /disk/
busybox mv /data/data /data/data.bak
$ # cp: can't stat '/data/data/com.sec.android.app.samsungapps.una/databases/App
Store-journal': No such file or directory
# # busybox mv /system/media /disk/
busybox ln -s /disk/media /system/media
rebootbusybox ln -s /disk/data /data/databusybox mv /system/media /disk/
busybox ln -s /disk/media /system/media
ln: /disk/data: File exists
# #
reboot
[Galaxy S I9000 Android Development] OrionTC:
holy ****? T_T
[Galaxy S I9000 Android Development] sunwee:
what does the Quandrant benchmark?? Any real world difference?

if the lag is gone using latest firmware, then I better stick to flashing :)
[Galaxy S I9000 Android Development] GalaxyFan88:
I've got the same results using a 32GB SanDisk Class 2 Card, EXT4 and JG5.

The phone is really fast now. With LauncherPro it's a dream.
[Galaxy S I9000 Android Development] Maverick777:
This may be a dumb question, but how do I create an ext4 partition in Windows 7? I have Paragon Hard Disk Manager, but I can only create ext2 and ext3. Ext4 is not an option.
[Galaxy S I9000 Android Development] kendalfung:
I try to use Ext3 version without any Force close but market still "starting download". How to solve this problem?
[Galaxy S I9000 Android Development] Maverick777:
Ok, I've created 2 partitions on my 16gb card.

2gb for the ext3 partition

14gb (roughly) for the Fat32 partition

Both set as primary. The Fat32 is first.

My laptop running Windows 7 is unable to see the card after I've done this, but when I stick it in my phone it sees it just fine.

Is this supposed to happen? Is it because I have an ext3 partition or because I have both set as primary?

And if so, does that mean I can only transfer files with the card inside my phone from now on?
[Galaxy S I9000 Android Development] mimocan:
it seems like your fat32 partition is not formatted properly.

you can try to reformat your fat32 partition on your external sd card directly from the phone under storage settings.
[Galaxy S I9000 Android Development] Jelmer5:
Which benchmark program is used here? I want to test this on a unfixed JG5 as all the lag seems to be gone without this fix.
[Galaxy S I9000 Android Development] eX1337:
Hi,

i have some problems with mounting the ext-partition =/

I dont have "mmcblk1p2" in /dev/block/ just "mmcbl1p1" (FAT?).

Its the same on ext2, ext3 and ext4.

Also i have to format the 1. Partition in FAT16 in gparted - if i format them to FAT32 my SGS dont accept them...

Panasonic Class6

tried JG1,3,5
[Galaxy S I9000 Android Development] FromtonRouge:
I have a stupid question... When flashing a new firmware I'm used to remove the simcard because I saw this in a video. But for this lag fix do I have to do this also ?

Another question is for the pit file : I flashed the last firmware XWJG5 with the pit file s1_odin_20100512.pit. If I want to reapply the fix on this firmware I suppose I have to select this one too, am I right ?
[Galaxy S I9000 Android Development] dupel:
I did it without SIM or SD and without the PIT file as well.
[Galaxy S I9000 Android Development] dupel:
After a fresh update-flash works. SO far so good. Now we need Jit and froyo isnt need like it was =)
[Galaxy S I9000 Android Development] FromtonRouge:
Sorry you mean "without removing SIM or SD" ?

Ok so we don't need to set the pit file. thx
[Galaxy S I9000 Android Development] ObliviA:
Did you use ext3 or ext4?

Because i only can make a ext3 SD card

Thnx
[Galaxy S I9000 Android Development] NeoXTC:
everytime I create the partition. the GS will say my card is error and needs to format :( Can anyone help me how to get this formatted so that I can apply this lag fix?

Using gparted in linux.
[Galaxy S I9000 Android Development] dupel:
Used Paragon 2010 pro (or what it is called) created ext4 partition.

I removed SIM and SD and than flashed only the file from the cirst page (no PIT).
[Galaxy S I9000 Android Development] ghill55:
I managed to apply this fix, but wifi won't work for me. It's stuck on "obtaining address". My router is ok, the network works with my laptop and it also works when I flash my previous ROM. Ideas?
[Galaxy S I9000 Android Development] NeoXTC:
I can partition this with paragon hard disk manager pro :( it won't let me as it says there's already 4 partitions on there already.....which there isn't.....only gparted seems to work but then my GS can't read it. It says error so have to repatition the thing :(
[Galaxy S I9000 Android Development] NeoXTC:
wow finally got it to partition and my GS sees it properly. Steps I did was format the entire thing in windows to fat32 (not quick format). Then formated in Gparted with Fat32. Put in phone to make sure it can see it. Then take out and delete and repartition the SD and now it works :D

Yay.

Ok next step to apply the fix.
[Galaxy S I9000 Android Development] djase:
i had too plz help me

cheers
[Galaxy S I9000 Android Development] INeedYourHelp:
I recall reading earlier posts saying the partition needs to be around 1.8-2gb to prevent this.
[Galaxy S I9000 Android Development] djase:
even with sandisk 16gb ?!
[Galaxy S I9000 Android Development] DocRambone:
I have a 300MB ext 4, no problems with market.
[Galaxy S I9000 Android Development] INeedYourHelp:
Was your partition over 2gb?
[Galaxy S I9000 Android Development] astreet:
can tell where is the startup script to mount the external SD card?
[Galaxy S I9000 Android Development] djase:
yeah..............14gb
[Galaxy S I9000 Android Development] ObliviA:
My phone is DEAD after doing this :mad::mad:

Evrything was going fine until i rebooted my phone..

It won't start up again..

Any help plz?

When i start my phone I only hear sound but i don't see anything..

Tried reflashing to JG5 but I don't see a blue bar in download mode :mad:

edit: now i can't go in download mode anymore : (

edit2: it is alive i'm lucky :d
[Galaxy S I9000 Android Development] glenner05:
How can i revert this fix? Im testing it right now with the ext4 kernel. Can i get my data folder back to its original location? Have the feeling my device was slighty more responsive before the fix.....
[Galaxy S I9000 Android Development] Fredrichc:
Disappearing settings

I am experiencing some strange things after flashing V4. All seemed to go as planned and the phone feels really snappy. However, I am now not able to store settings in several programs like GPS Test and eBuddy. The settings are stored only until I reboot the phone. After a reboot its all gone.

Anyone having an idea on whats happening?

Regards,

Fredrich
[Galaxy S I9000 Android Development] bommel0815:
read about this already today. Have to try it with the ext3 v3 patch I use.

but the similarity seems to be that the Quadrant Benchmark stalls at 3/4 IO tests.

but then, my quadrant does this too, but I just tested some settings toggling and rebooting with eBuddy and it works.

maybe this variant we use here doesn't flush the ext partition?

have you tried to unmount the /disk mount by means of the terminal before you reboot?
[Galaxy S I9000 Android Development] Ariozo:
Did install JG5 and it was nice and fast then i fix the SD Fix on it after and all did feel fast, but now after a full day use every thing go So damn slow, talking 30sek or so to open simply apps and even cont/phone take 10sek or so, anyone else has see it become more slow after mutch use?
[Galaxy S I9000 Android Development] INeedYourHelp:
does rebooting it fix the lag?
[Galaxy S I9000 Android Development] Alien7:
Please help mee :(

I get everytime the Read-only file system and after the command "mount -o remount,rw /data" or anything alike, I get this:

# mount -o remount,rw /data

mount -o remount,rw /data

Usage: mount [-r] [-w] [-o options] [-t type] device directory

Please help me :(

EDIT: OK solved :)

My bench is 1500 with Ext4 kernel and SD card formatted to 500MiB with Ext3.
[Galaxy S I9000 Android Development] Ariozo:
Nope, reboot not help. Fast for few sek then back to slow.
[Galaxy S I9000 Android Development] DocRambone:
This kernel is truly impressive. With the latest I9000XWJG5 rom i get:

Cant wait for froyo :D
[Galaxy S I9000 Android Development] Rar9:
ext4 Via adb shell?

Hi Folks,

I would like to try partitionig my 8 gb sdcard as well into Fat32 & ext4.

Is there perhaps an easy way to do that via "adb shell" since my SDcard adapter broke.

look forward to your help.
[Galaxy S I9000 Android Development] ObliviA:
Whats the name of that app ?
[Galaxy S I9000 Android Development] ed10000:
Quadrant Standard Edition. Please post your results (both stock JG5 as well as with this lag fix) :)

Quadrant Standard Edition. Please post your results as well! :)

I wanted to apply this fix today btw. My phone came with the I9000DDJF3 firmware, but I can't find it anywhere to download (in case I need to reflash it at a later time for warranty purposes) :(. So haven't applied this fix yet.
[Galaxy S I9000 Android Development] ObliviA:
I have a question:

When you are applying the tar file using ODIN does your eternal SD card has to be in your phone or not?

after that you place the external SD card in your phone and run the following commands:

adb shell

su -

busybox cp -rp /data/data /disk/

busybox mv /data/data /data/data.bak

busybox ln -s /disk/data /data/data

The commands your run them in Windows or Linux or using a terminal app on your phone?

Is this the right way to do this?

Thnx
[Galaxy S I9000 Android Development] Daley87:
Running JG5 rooted with this fix and auto killer set to aggressive, this phone flies like you wouldn't believe, blows the old lag fix away, extremely fast and easy to do and the results are amazing, how Market was one of the slower apps to load and navigate etc, with this it opens instantly (as does every other app) and loads everything extremely quick, makes my old 3GS look slow. Good job to the creator of this lag fix.
[Galaxy S I9000 Android Development] damianarnold:
Just flashed JG5 and then applied Doc's slimmed down firmware mod.

I've been meaning to get a superfast SD card but just haven't got around to it, what I do have is an old 2Gb so I thought I'd give Mimocan's lag fix a shot. Well I gparted the card (1 FAT16 and 1 EXT4), flashed the EXT4 version of the kernel and then copied, moved and linked everything into place.

To my surprise, this old SD gave me a Quadrant benchmark of 1689, surprised? I bloody well am!!!!
[Galaxy S I9000 Android Development] galaxy_s:
With Doc Slimmed Down Version.7, after applying the Update.zip, do you have to reflash the speed fix kernal, or is it already implemented in Version.7?
[Galaxy S I9000 Android Development] achio1115:
Running JG5 rooted, just applied this fix few minutes ago. My Quadrant Standard score went from 815 to 1071... What can I do to further optimize my SGS? I see everyone else getting 17xx w/ this fix. :eek:
[Galaxy S I9000 Android Development] dirk1978:
Hi. Could you make this an update.zip that can be flashed using the recovery? I don't use Windows and don't have access to a Windows PC so can't use odin.

Thanks.
[Galaxy S I9000 Android Development] rewrew2:
stupid question but with this fix can i use the internal 8/16gb memory for put into data (mp3..videos..) or i'll can only use the msd memory?? both or only msd?? thx
[Galaxy S I9000 Android Development] dseo80:
This does not affect what youre talking about in any way
[Galaxy S I9000 Android Development] Ferdimage:
did any one confirm if its safe to remove the Sd Card when this fix applied...
[Galaxy S I9000 Android Development] NeoXTC:
I wonder if 1gb partition of ext4 is an overkill? Just checked my drive after a few days of use and it's only 61mb lol
[Galaxy S I9000 Android Development] Ferdimage:
whats the command to check the size used up?
[Galaxy S I9000 Android Development] FromtonRouge:
In the directory : du -sh

The /data/data directory contains all sql database for each installed application. So the size depends on the number of apps and how they use them.
[Galaxy S I9000 Android Development] Dexter666:
Is it possible to partitioning SD but when telephone mount it to be able read it from pc?

My program said that there is no SD, but PC is seeing it.
[Galaxy S I9000 Android Development] bl4ckdr4g00n:
Hi everybody. Can I use this for Samsung Vibrant?
[Galaxy S I9000 Android Development] bommel0815:
your apps will force close like crazy if you remove their data store.
[Galaxy S I9000 Android Development] Ferdimage:
Thanks i had i feeling i just had to shutdown the phone if i wanted to pull out the sd card..

cheers mate
[Galaxy S I9000 Android Development] Fredrichc:
What would be the procedure if one would like to change the SD card to a new card with this fix installed? Would it be possible just to copy the entire content on the EXT3/4-partition or should you first undo the fix, change card and then apply the fix again? I am thinking of swapping card as I have some strange issues with not being able to save settings with the current.
[Galaxy S I9000 Android Development] bommel0815:
get a new card, partition it, copy over the content from your old card?

thats all.
[Galaxy S I9000 Android Development] nop56773:
I had this problem and am using a Toshiba SD 16GB card.

I tried copying instead of moving

to fix market issues:
cp -rp /system/media /disk/
mv /system/media /system/media.bak
ln -s /disk/media /system/media
reboot

And it seems to have worked. Will it work fine like this? Won't there be any permissions problem with the files?
[Galaxy S I9000 Android Development] aciduzzo:
thanks!

stock JG5:
[Galaxy S I9000 Android Development] FromtonRouge:
I had exactly the same problem, instead of :

mv /system/media /disk

use :

busybox mv /system/media /disk

and it worked for me (don't know why....)

I have a strange behavior in Quadrant on I/O test, the "database write" test lasts 10 minutes but my final score is still a good score (1350)
[Galaxy S I9000 Android Development] nop56773:
My first test also took a long time, like yours, but my score was around 1060. Now, each time I test again, I get the same score but the write test is considerably faster. To be honest, I don't understand why the score is so low...
[Galaxy S I9000 Android Development] lenrek:
My Galaxy S seems to brick...

I followed the instructions as stated in the 1st post. Everything seems OK, until I reboot the phone. Now it has no display.

I am still able to run adb shell, and I notice the partition for the external SD card is not being mounted. Is there a way I can recovered the phone??

:(

I tried to 'su -' but this time I get permission deny. Very strange, I had granted the permission earlier and was able to run the command.

Any help would be greatly appreciated.

By the way, would flash the phone to the official firmware solve the problem?