yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] AllGamer:
it depends, this process involves an External microSD card.

unless you have your personal data on that external SD card, then you will not lose anything.

if you do, then backup your sd card data to your PC/MAC and then do the format partitioning as described on page 1.

insert your SD card back, and set the settings as per page 1

done,

now you ca copy back your data to your SD card if you had any.

this process does not involves the internal 8gb/16gb flash drive of the phone so your programs/data are unaffected, unless you format your phone by mistake.
[Galaxy S I9000 Android Development] Monkey101:
All i can say is WOW!!

Great fix, its like having a new phone again!!

Thank you mimocan!
[Galaxy S I9000 Android Development] Kil:
Ah ok.. I thought after this process the programs would be installed on the External SD instead of the internal. So my guess was that i would have to uninstall everything from internal memory, and re-install it on the SD.

Thanks!
[Galaxy S I9000 Android Development] sunriu:
Holy cow!! I just got the fix done and did a quadrant test. I got a result of 1795 with firmware XWJM2. I cant wait for Froyo on this phone.
[Galaxy S I9000 Android Development] lenrek:
Did you undo the moving of media? Did you move it back to system before you did the ext4 fix?
[Galaxy S I9000 Android Development] iammichel:
Unfortunately this is what I forgot to do; realised it right after formatting my sd card, so I am aware of this mistake. Right now I can conclude that I lost the contents of the /media/ folder and should get looking for a way to recover this...

I am even more confused when it comes to the data fix. I believe I did everything correctly (disk/data is full with data and the link to data/data is working), but still there are inconsistencies in the output and no lags fixed...

Ps: It might be nice for someone to post the correct actions to undo the fix (either for purposes of going back to original settings, for switching etx3 and ext4, or for re-applying the fix on a new sd card)

Edit: I found "lrwsrwsrwt root root 2010-07-24 14:44 data -> /disk/data" in my data/data folder. If I am not mistaken, this should have been in the /data/ folder itself. Perhaps I accidently messed up the data to disk link...?

Edit2: Normally I would simply do the entire process over again, but there are two things that stop me from doing this right now. First, I (obviously...) do not know how to undo the fix so my phone will no longer rely on the data on the sd card and I could thus safely format the card. Second, I already tried repeating previous steps to a point where I found my data&settings partially lost (most likely because of my first point).
[Galaxy S I9000 Android Development] Nassi:
I might be wrong, but if you really wanna undo the fix, the first step should be unlinking the data to the sd, because otherwise the copy action would fail.

So in my opinion the correct way should be:

adb shell

su -

busybox unlink /data/data

busybox mv /disk/data /data

busybox unlink /system/media

busybox mv /disk/media /system/media

reboot

Didn´t try it myself, but i think it should work this way (in the first step you remove the link, in the second you copy the all the content from the sd to the original folder)

Can anybody confirm this way?
[Galaxy S I9000 Android Development] ObliviA:
I also did this fix + JM2 and i gives me a score off 1800+

I'm making a video tutorial how you apply this fix because some ppl have troubles doing this..
[Galaxy S I9000 Android Development] Devjam:
It works for me :D

Thanks a lot ^^

Cheers
[Galaxy S I9000 Android Development] Mark-Ryden:
Hi guys,

would it make a different if I use a faster memory card?

I now have a class 2 microSD and could install a class10.

would i feel a difference?
[Galaxy S I9000 Android Development] Moving:
Really nice spend 1,4 GB from my 32gb card.

Benchmark say 1791 ;)

Thanks
[Galaxy S I9000 Android Development] Monkey101:
I have a problem now :-/.

Every time i mount my memory card to copy files onto it windows picks it up as an unformatted partition. If i then unmount it the phone says its damaged.

What do i do??
[Galaxy S I9000 Android Development] soraxd:
here are my current benchmarks
[Galaxy S I9000 Android Development] sundappen:
Video would be great!

Looking forward to the video. I haven't started this process yet, and would love to see it on tape :cool:

The difference in performance is obviously staggering..

Thanks!

Regards T:Dm
[Galaxy S I9000 Android Development] kwf1:
hi everyone...i am new to this..so please dont laugh at me~

i actually have a couple question that may be off topic here but i m just gonna throw them out anyway and would appreciate it if anyone can help me figure somethings out..~

1st off...i have done alot to my sgs i9000 and its only been a since i bought it...~ and was wonder is there some how a way where i can get everything....and i mean everything even on the systems and phone's "internal INTERNAL" memory cause i feel that there still some scraps left inside the phone itself and not just he sdcard internal memory that we all see...~

2nd...i have done this fix on jg5...jm1 and now jm2...but everything seems okay except for some little bugs which i noticed that only i have...for example...i am on JM2 now and can run quadrant just fine right after i flashed it...and had a result of 92X...then i went ahead and rooted my phone...and did the ext 4 fix...but find that i can no longer run quadrant anymore...~ any suggestions as to why this might have happened? and i also find that some apps like adw launcher will force close and i have to use adb to manually remove the damn thing cause i set it to automatically boot when i was in jg5...(thus i want to really reset all the data...absolutely all the data reset)

3rd...i hvnt noticed much difference with the ext 4 lag fix...but i see that i have mounted it to the phone and it is in sync...but as per ram usage wise...i dont get much improvement...~ perhaps can anyone post all the codes that i need to enter into adb when i install the kernal?? (sorry for being an adb noob)

*side note...i was wondering if any other users of JM2 notice that flash is not working....or is it just me again?? sigh....if it is...FML
[Galaxy S I9000 Android Development] kwf1:
oh and if this helps...i noticed that during the quad benchmark....my phone stops at the section

I/0 3/4

and sorry for asking so many questions on my first post on xda :P
[Galaxy S I9000 Android Development] andeeroid:
One n00b question here, if I wanted to get rid of mimocan's kernel and go back to original state, Would a factory reset do the trick?
[Galaxy S I9000 Android Development] Fekke:
I got it to work.

Installed JM2 and ext4. And things are floating!

thansk!
[Galaxy S I9000 Android Development] EddiJoJo:
Meh, been a long time since I partitioned a disk, and I cant seem to get Partition Disk Manager to do what I want :(

Edit: Got it!

But I am unable to run su -

That only gives me a permission denied, alltho Busybox clearly states that the phone is rooted and good to go! Any hints would be greatly appriciated!

Edit 2: managed to solve that aswell :)
[Galaxy S I9000 Android Development] Jamesoow:
Maybe a little stupid question, but if I install JM2 (from samsung-firmware site) now .. Will I lose root access ? I'm coming from Modaco's JG1 ROM.

Thanks!
[Galaxy S I9000 Android Development] Sincci:
Yes, you will lose it, but the update.zip from "[REF] Howto root your SGS I9000 the easy way (keep all your data) (all firmwares)" guide is still working just fine (sorry, as a new user I'm unable to give direct link into that thread :( )
[Galaxy S I9000 Android Development] Jamesoow:
Thanks alot anyway!!

.. I partitioned my ext. sd card. (1.8 ext3 and 5.7 FAT32) but now when I plug the sd card in the phone and the phone on the pc (like usually), my pc doesn't recognize the ext. sd card.. it asks to format it but then it gives me an error that he couldnt format it?

But when I plug the sd card in the pc (without the phone in between) it recognizes it like normal..

---------------- GOT IT WORKING USING RE-PARTITION! ----------------

And now, trying to flash JM2, I just got an error in the recovery saying:

E:Can't mount /dev/block/stl10

(Invalid argument)

E:copy_dbdata_media:Can't mount DBDATA:

copy default media content failed.

---------------- GOT IT WORKING USING RE-PARTITION! ----------------

I'm not a programmer lol can anybody tell me what I could do?

Thanks in advance!
[Galaxy S I9000 Android Development] iammichel:
So, after having messed up upgrading from ext3 to ext4 and not being able to recover I decided to upgrade from JG3 to JG5, losing all data and settings, and immediately root and apply ext4 fix.finally my phone is now performing very well and my benchmark is now 1740 (vs 1400 with ext3 and jg3).further, I managed to recover most data and settings using titanium backup without problems!

A little note: I was unable to undo the fix.neither was I able to remove the links to the disk via the mentioned commands nor via other linux commands googled.I hope there will be more clarity on undoing the fix cause I will change sd cards soon...
[Galaxy S I9000 Android Development] Kil:
Hmm, i'm on XWJM2 and i got 1138 @ quadrant, not anywhere near the 1800 like others, am i doing something wrong?
[Galaxy S I9000 Android Development] chunga:
I got 1700 but it depends of your card speed, maybe yours is class 4
[Galaxy S I9000 Android Development] dupel:
Nah, class speed doesnt influence this one,. I have sandisk class 4 ultra (quickest card right now, according to tests) and I still get the same results as everyone.

My guess - he has a lot of programs running that actively use cpu.
[Galaxy S I9000 Android Development] gcrutchr:
Ok, got ext3 working great. Quad result: 1430

But..had a few problems. The sd card I originally formatted according to page 1 in ext4 format.

After following instructions and rebooting, system could not load anything - all kinds of error messages.

So tried ext3, same results.

After re-flashing JM2 for the 4th time, I looked at the root directory after flashing the ext3 kernel fix. I noticed the /disk folder had no permissions for group or other:

drwx --- ---. So I set the attributes to 771 (drwx rwx --x) and it worked okay.

Are these the correct permissions for /disk ?

Probably won't go to ext4 until the Samsung rom release. But, still, it runs pretty fast!

Thanks mimocan!! :)
[Galaxy S I9000 Android Development] Kil:
I have nothing running at all, I hard-reset'ed my phone, thén flashed jm2, thén did this fix. So the phone was totally empty when i ran Quadrant.

My sd is a Transcend 16GB C6.
[Galaxy S I9000 Android Development] Kil:
btw, where should i see this?

"when booted you should see your 2nd partition of your external sdcard is mounted on /disk and your program database in residing in it."

Because i can't see that partition anywhere.

Still nothing on totally undoing this fix? I guess a hard-reset won't undo it? I would like to completely undo it, and then try again, maybe i did something wrong in the process.
[Galaxy S I9000 Android Development] m1ti:
Can some please help?

I tried to busybox and got $ cp: cannot create directory '/disk/data': Read-only file system.

Also tried to mount /dev/block/mmcblk1p2 /disk but still can't write the /disk/data/ directory.

Formatted 2nd partition as ext4 using gpartedlive

Thank you

C:\androidsdk>adb shell
$ su -
su -
Permission denied
$ su -
su -
busybox cp -rp /data/data /disk/
busybox cp -rp /data/data /disk/
Permission denied
$ cp: cannot create directory '/disk/data': Read-only file system
$ mount /dev/block/mmcblk1p2 /disk
mount /dev/block/mmcblk1p2 /disk
Usage: mount [-r] [-w] [-o options] [-t type] device directory
$
[Galaxy S I9000 Android Development] Filgaliel:
When doing this : busybox cp -rp /data/data /disk/

I get this : Can´t create directory '/disk/data': Operation not permitted..

What am I doing wrong ?
[Galaxy S I9000 Android Development] Kil:
did you do su before that?
[Galaxy S I9000 Android Development] Filgaliel:
adb shell

su -

busybox cp -rp /data/data /disk/

Can´t create directory '/disk/data': Operation not permitted <--
[Galaxy S I9000 Android Development] Kil:
Strange.. i got "can't create directory" and a re-flash of ext3 fixed that..
[Galaxy S I9000 Android Development] android53:
What worked for me:

Format sd Fat32/ext3 (ext3 800mb)

Flash JM2 Pit 512

Flash ext3 (not 4!)

Root

Do not install the new version of busybox, use the one that comes with the root update.zip (not sure if this made a difference)

use busybox commands as per guide, and market fix

reboot

/disk/ DOES show up, but only using astro or a decent file manager

Increased my quadrant score from 800 ish to 1400, phone feels quick now. I could have gotten more performance with ext4 but it doesn't seem to work
[Galaxy S I9000 Android Development] halabibk:
This what I did and is working with a score 1798:

1. Flash with JM2, but I format the internal sdcard before I flash.

2. Root with update.zip

3. use gparted-live-0.6.1-2.iso and format my card: 1 partition 14 GB fat32 and 2 partition 1 gb ext4.

4. use the command in the fisrt post using V4.

Everithing when good, remenber when you use adb shell, apear $ after use: su and pres enter, you should see your phone asking to allow root, after you accept from you phone you must see: #.

Good luck...
[Galaxy S I9000 Android Development] halabibk:
I forgot to mention that my card is a microsd 16gb class 10.
[Galaxy S I9000 Android Development] Filgaliel:
When I try that i get this.. Why the difference?

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

$ su -

su -

# busybox fdisk -l /dev/block/mmcblk1

busybox fdisk -l /dev/block/mmcblk1

Disk /dev/block/mmcblk1: 7969 MB, 7969177600 bytes

4 heads, 16 sectors/track, 243200 cylinders

Units = cylinders of 64 * 512 = 32768 bytes

Device Boot Start End Blocks Id System

/dev/block/mmcblk1p1 1 209992 6719726+ c Win95 FAT32 (LB

A)

Partition 1 does not end on cylinder boundary

/dev/block/mmcblk1p2 209992 241242 1000000 83 Linux

Partition 2 does not end on cylinder boundary

/dev/block/mmcblk1p3 241242 243200 62673 82 Linux swap

Partition 3 does not end on cylinder boundary

#
[Galaxy S I9000 Android Development] Kil:
After this fix windows only opens the internal storage when i use Mass Storage on USB properties. Anybody else with this problem? don't feel like removing the sd card everytime i want to renew my video-dir ..
[Galaxy S I9000 Android Development] saldawop:
Have just run the v3.tar in Odin and rebooted.Should I see the ext3 partition anywhere??Checked in Root Explorer and cant see anything.Checked /data/data...should there be /disk inside?
[Galaxy S I9000 Android Development] saldawop:
After :

busybox cp -rp /data/data /disk/

i get whats posted in the attached image
[Galaxy S I9000 Android Development] Filgaliel:
I think I finally got it.

Although when i now run Quadrant it freezes on step 3 of the I/O test. The Database Writes step..

What has gone wrong ?
[Galaxy S I9000 Android Development] saldawop:
After typing last line I get:

1n: applet not found
[Galaxy S I9000 Android Development] Kil:
Before, i got 1138, I undid ext3, and did the ext4 method, i'm on 1707 now @ quadrant.

Definitely faster!

Update: Makes my phone crash... every program including launcherpro crashes..
[Galaxy S I9000 Android Development] kkrammer:
the first time I entered this commmand, an alert box on the phone popped up and asked for superuser priviledges. I did not see this the first time and after a couple of seconds I got the same error. After I issued the command again and confirmed the alert box, I worked and now it does not ask anymore.

The phone is flying now! Great fix! It was embarrassing to sometimes wait for 10 sec. for an application to appear when I hat a dozen different progams in use. Now everthing runs smooth all the time.
[Galaxy S I9000 Android Development] rejvare:
so i got JM2 with Samsite 1.6

Applyed the fix and now i cant connect to my wlan(obtaining adress loop) and my APN does not work either.

Anyone who know the issue and can point me in the right direction please?

Thanks
[Galaxy S I9000 Android Development] lenrek:
I think, you can safely ignore the "does not end on cylinder boundary" warning message.

However, you have 3 partitions. The 3rd partition is a swap partition that you can delete.

Did /dev/block/mmc/blk1p2 get mounted automatically when boot?
[Galaxy S I9000 Android Development] Darkyy:
SOLUTION FOR --> cp: can't create directory '/disk/data': Read-only file system

I spent hours on this first command after "su" and accept on the phone:

busybox cp -rp /data/data /disk/

gave me an error:

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

SOLUTION:

Download the app RootManager (from Market or whatever, google for it)

and open it. Then you press the small button "Mount as R/W".

This fixes everything!

//EDIT

after reboot i just see a black screen.

i hear the samsung galaxy bootup SOUND but just plain black. the buttons are glowing.

anyone has a fix?
[Galaxy S I9000 Android Development] vietphunguyen:
Same here, I have a Captivate and tried the EXT4 and it messed up my sensor for orientation, then when i ran the command lines, it rebooted and the screen went black. I'm going to try EXT3 and let you know the results.
[Galaxy S I9000 Android Development] vietphunguyen:
Don't pay for that app just to do that, you can do the same thing by running:

mount -o remount,rw rootfs /
[Galaxy S I9000 Android Development] vietphunguyen:
Yep Ext4 nor Ext3 works on Captivate, it just goes to Black screen, Here are my steps below:

1.) Rooted Captivate

2.) Installed Busybox

3.) Made GParted ISO, booted computer up with GParted, Made the FAT32 2.5GB and EXT3/4 1.5GB (no labels and I have a 4GB SD)

4.) Put phone into Download mode (cmd: adb reboot recovery)

6.) Selected the v3/v4 for PDA, successfully worked, phone rebooted up fine

5.) adb shell, su, ran "mount -o remount,rw rootfs /" to mount the ext3/4 file system as writeable

6.) Ran the busybox commands (listed on main post of this thread)

7.) rebooted and it went to the Samsung Galaxy i9000 screen, then the 3g/att animation, then the galaxy S loading screen, then it turned black, when i tried ext3 and ext4,

8.) Cries, hoping someone finds a fix for captivate
[Galaxy S I9000 Android Development] sl8125:
when you applied the ext4 kernel, did you phone recognized the external sd card? After applying the kernel my phone didn't recognize it. I checked and double checked if i had partitioned the card wrong but it seems okay.

It seems you have some idea about linux. Mimocan kernels work for i9000 models. Would the mimocan kernel work with captivate if captivate is running on Euro Rom? Such as the JM2?

I am waiting for a dev in captivate to supply us with a Modem/CSC file so that i can use with odin to flash the Euro rom and try out the Mimocan Fix. If that doesn't work, oh well just have to wait it out til someone builds a new kernel for captivate. HINT HINT. Mimocan. I hear captivate kernel is floating around here somewher. I even hear that ppl will send him beer money if he could build a kernel for us. BTW where is MIMOCAN.
[Galaxy S I9000 Android Development] vietphunguyen:
Yes, first I partitioned my SD Card. I booted without the kernel and it gave me a "Damaged SD Card" error, i didn't do anything afterwards. I then loaded the ext3/4 kernel and booted the phone up and it didn't give me any "Damaged SD Card" error. I'm assuming it worked because I was able to run the busybox commands (moving the data folder to the ext3/4 partition successfully. Its just after I rebooted again, black screen.

Yeah I tried flashing the intl' version of the Galaxy S on my Captivate and when i booted up it gave me a Multi-CSC error something about couldn't find something /att/. It took me 5 hours to figure out how to get back into download mode to reflash stock captivate. hint: just run (adb reboot download) lol
[Galaxy S I9000 Android Development] mimocan:
Hi guys,

Just came back from vacation.

I will look into captivate issues later on, as I don't have the unit it will be a bit difficult for me to test it out, therefore it will be a joint effort from my side and your side :)
[Galaxy S I9000 Android Development] MAJED.y:
Hope you had a nice vacation. :)

your work is brilliant.
[Galaxy S I9000 Android Development] Onraad:
I'm having the exact same problem :(

Any help on this mimocan?
[Galaxy S I9000 Android Development] do0fusz:
it's something to do with quadrant..

waith for a minute or 10, or reboot and it will work..
[Galaxy S I9000 Android Development] mimocan:
are you guys willing to reflash?

I have put this lag fix directly in the firmware JM2 with a couple of new tweaks, like memory and mounting the ext4 partition directly ( instead of playing around with command line tools).

But this implies that you need to clean your ext4 partition and reflash your phone.

I have tried this method on my phone and it works very well. No need for any task killers and memory managers, because the memory management is patched into the kernel.

I will update the first page and make a little how to when it's ready to roll out. The first looks on my phone is very promising.
[Galaxy S I9000 Android Development] Onraad:
I'm willing to reflash, since I just flashed to JM2 a couple of hours ago and only installed/configured a couple of apps..

FWIW I'm using ext3 partition, cause I installed Paragon 2009 and it didn't support ext4
[Galaxy S I9000 Android Development] Onraad:
I waited, rebooted, even reinstalled Quadrant, but it still hangs at I/O test 3/4 :(

It actually seems like my phone is slower than before, like when I download an app it seems to take longer than before.. I could be wrong because I'm pissed off atm, that's why I want to run the benchmark :p
[Galaxy S I9000 Android Development] Filgaliel:
I finally made it work. Only problem i have now is that after applying the fix all the ring- and notification tones are gone..
[Galaxy S I9000 Android Development] Filgaliel:
I waited for about 15-20 minutes and Quadrant completed the test.. Try that.

I also have the same feeling. That the phone is a bit slower. But Quadrant says 1117 compared to some 800 before so I assume the fix was succesful.
[Galaxy S I9000 Android Development] mimocan:
something fishy over there. Seems like you did not symlink the media directory to your system directory after moving it ot /disk.

check the first post for detailed instructions.
[Galaxy S I9000 Android Development] Filgaliel:
So you think I perhaps missed a step ?
[Galaxy S I9000 Android Development] Onraad:
Are you saying you waited 15-20 minutes for Quadrant to finish the test? Or did you just wait 15 minutes before running the test again?
[Galaxy S I9000 Android Development] Filgaliel:
When it froze at step 3 I just waited and eventually it finished..
[Galaxy S I9000 Android Development] DocRambone:
Great news, there are some fishy things going on with Galaxy S IO handling.

Some parts of the IO test shows very slow behaviour. All help you provide is greatly appreciated and hopefully will give you some beer donations :)
[Galaxy S I9000 Android Development] Onraad:
Patience has never been one of my strong points :p Running the test and and very curious about the score..

edit: 1120, is this reasonable?
[Galaxy S I9000 Android Development] kinder__bueno:
i

Hi mimocan, 1st of all, amazing job on this fix...

Hence you are doing this to stock JM2, i´m trying to add the fix on the the

[ROM Eclair Europe] SamSet 1.6 -Fixed- |XWJM2| , everything seems to be fine but benchmarks do not get higher then 900... i have made all the steps,no errors occurred.

this is my current info:

PDA: I9000XWJM2

Phone: I9000XXJM1

CSC: I9000XXJM1

kernel:

2.6.29

root@ubuntu #1

Compilation:

ECLAIR.XWJM2.Samset_1.6

i have info on /disk

/data

/lost+found

/media

To be honest, i don´t know if the patch is on... is there something i can do to check?

Cheers
[Galaxy S I9000 Android Development] kalpik:
I for one would prefer a standalone solution (like it is now).. This gives me the flexibility to use it on any firmware or custom rom!