yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] raphman:
Tested new my 16Go Kingston class 10 :

with CrystalDisk :

sequential r: 19.8 Mb/s w: 11.33 Mb/s

512k r: 19.1 Mb/s w: 1.349 Mb/s

4k r: 2.98 MB/s w: 0.013 Mb/s

with SST : R:11.4 W:6.8

between SST and CrystalDisk, results are far away....

the first question is : what kind of test does SST do ??? or does the SGS have bottlenecks ???

The second question is : WTF Kingston ??????!!!!!!!! :mad: Shame on you guys ! (yes it's not a question..)

in order to compare, here are my old Sandisk's 20 euros, 8Go class 4 results...

sequential r: 20.13 w: 15.45

512 r: 19.75 w: 3.7

4k r: 4.24 w: 0.04

Moreover, I discover with J benchmark that applying JG5 and the lag fix increase nand's & internal SD between x2 and x4 times the original bandwidth... (tested in 2k/4k/8k).

How ? maybe putting /data on external SD reduces number of nand's disk access, I don't know... But here it is !

Next step, send back kingston's to kingston, and ext4 in my SGS.
[Galaxy S I9000 Android Development] azreil24:
Just installed JM5, applied the lag fix and got a wooping 1758 points in Quadrant and everything works great, no need for Force Closing with any app. Nice, but I don`t understand why does it get stuck at Database Writes for soo long. Mentioning that I used the ext4 format and the microSD card is a kingston wich I read that they might have problems with this lag fix. Anyone has this problem to? Tks.
[Galaxy S I9000 Android Development] Necrolust:
So has anyone experienced extreme battery drain with this fix applied?

I went to bed with about ~85% charge and slept for about ~8 hours and woke up with about ~42% charge! wtf!
[Galaxy S I9000 Android Development] dckiwi:
Yeah, but don't know if it's that or something else. Last night my battery was at 70 odd % then completely dead when I woke up.

I think the facebook update has something to do with it though, as I applied this fix on Tuesday and it was fine the other nights. Applied the facebook update before I went to bed ....
[Galaxy S I9000 Android Development] azreil24:
Same problem here, I thought that Samset ROM was to blame, but JM5 whit this fix sucks the battery like crazy. I left the phone with 85% battery and after a few hours of no use I had to plug it in for charging. Usually it uses 3% max over night.
[Galaxy S I9000 Android Development] Necrolust:
Well the new things I've used/installed on my phone since applying the fix are: Facebook update and the People widget from Launcherpro plus.

I doubt its either of those, especially people as the people widget doesn't refresh or update or anything. Facebook maybe... Maybe I should try uninstalling it. Infact I will. Then see what happens, because right now I can check my phone every 10 minutes and the battery will be 1% less

:(
[Galaxy S I9000 Android Development] kmrdeva:
It's the latest facebook client. Seems that it drains battery.

http://www.androidcentral.com/facebook-confirms-battery-drain-latest-android-update
[Galaxy S I9000 Android Development] Necrolust:
Oh niiiice.

I've uninstalled it and I'm going to keep it uninstalled while I drain my battery and charge it up to full with the phone off (have never done this) before I reinstall it to eliminate the possibility that its something related to the lagfix.

Hopes are high though! Cheers for the link!
[Galaxy S I9000 Android Development] Necrolust:
AAAnd I can already say that it was the Facebook client that was ****ing with the battery.

Nice one Facebook devs!
[Galaxy S I9000 Android Development] Nassi:
FB Client already updated, so the draining is solved (at least for me *g*)
[Galaxy S I9000 Android Development] sedinix:
Hello After I make fixlag I got some FC's it is normal ? + my wifi wont obtainet adress :/ after 2h trying I reflash again JM2 > SamSet1.8 >Kernel ext4 > lagfix maybe I do somthing wrong ?
[Galaxy S I9000 Android Development] Halulz:
Hello guys.

I wonder has anyone run into an issue with youtube street applying the lag fix? I'm currently facing an issue with youtube where I would keep getting an error whenever I would search for a video or try to load one off the web browser.

Halp!
[Galaxy S I9000 Android Development] sedinix:
Now I have problem with Quadrant on I/O test error apear "Internal error durning benchmark execution"

any ideas ?

Quadrant reinstall Help :)
[Galaxy S I9000 Android Development] azreil24:
I don`t have the Facebook app installed and still the battery gets sucked away like crazy. I just pulled the phone of charging and in an instant went down to 99%

If it keeps this up, I am going to delete the fig. Damn it! And the phone is running so smooth :(
[Galaxy S I9000 Android Development] sedinix:
next problem

after Install some app on market I must restart phone before I turn it on otherwise I got FC on (Launcher Pro, and explorer[i turn on normally but when click sd FC], and EStrons explorer.
[Galaxy S I9000 Android Development] tron13:
how can i flash this? renamed to update.zip with rom manager?

thanks
[Galaxy S I9000 Android Development] sedinix:
NO you flash file on PDA same like rom but chose only PDA and unmark re partition in odin
[Galaxy S I9000 Android Development] fifo_thekid:
How can I know that the fix is installed successfully other than using the benchmark?
[Galaxy S I9000 Android Development] han.azuki:
Hello, is there mimocan fix for captivate? THank you from Korea~
[Galaxy S I9000 Android Development] joserobleda:
I have the same problem, another solution is resintall de app.

Now I am testing something, in command line: chmod -R +rw /data/data, it working perfect since 5 minutes ago...
[Galaxy S I9000 Android Development] j0bro:
ext3/4 partition size

I see a lot of people not knowing how big to make the ext3/4 partition their SD cards. I read about cases where they make it as big as 3 GB, which is totally over the top. I performed the lagfix myself and did a simple df to see the disk usage; my ext4 partition is 512 MB but still way too large. The actual usage is a mere 80 MB, and I have a lot of apps installed.

Please @mimocan update the OP to give users a clue about the partition sizes, I'd recommend 128 MB or maybe 256 MB max. I can't see why the partition needs to be 512 MB or even 3 GB.

Just my 2 cents!
[Galaxy S I9000 Android Development] zanbay:
Hey guys,

I searche "busybox" on the market but couldnt find. Last week it was there. Do you have any idea? Also is there anybody have it "busybox.apk"???

Thanks
[Galaxy S I9000 Android Development] Astug:
see post below
[Galaxy S I9000 Android Development] joserobleda:
How method did you use to connect your micro sd to format it? I have the same problem doing it directly from massive storage option, try with card reader or event mount as massive stotage from recovery mode (i do that on my n1, but i think the same method should work on clockworld recovery)
[Galaxy S I9000 Android Development] hcarrega:
maybe im doing something wrong, after i apply the mimocan kernel in odin, when galaxy boots it goes to android recovery, why?? im using jp3 with preroot from paul modaco
[Galaxy S I9000 Android Development] Astug:
This is bullsh*t. I've completely started over. Formatted both the internal and external SD cards, did a factory reset, flashed JM2, rooted the phone, flashed the kernel with Odin, put the SD card in (I used GParted in Ubuntu again to make 2 partitions on the external SD card, fat32 and ext4), entered the commands with terminal (had to enter "mount -o remount,rw rootfs /" before the commands would even work) and restarted the phone, same thing: BLACK SCREEN after the Galaxy S logo/sound.

Please, someone tell me what the F I'm doing wrong because I honestly don't get it. I literally spend over 6 hours on this sh*t and I'm nowhere.

Excuse my bad language, but this is getting frustrating. I honestly appreciate the guide and the help I get.
[Galaxy S I9000 Android Development] q123123an:
Isn't mimocan fix for 2.1 only? (and JP3 is 2.2)..

Here's the ext3 solution for froyo:

http://xdaforums.com/showthread.php?t=745587
[Galaxy S I9000 Android Development] hcarrega:
thanks:) gonna check
[Galaxy S I9000 Android Development] DCKing:
I have exactly the same problem (well, reading this thread I haven't went so far as to mount / as writable, seeing it causes these problems). I just updated my Busybox to the latest version as suggested earlier in this thread and the same problem persists.

Maybe because I'm still using the stock ROM. Has anybody got it working with the stock ROM, or is everybody using JM2 or something else with this fix?
[Galaxy S I9000 Android Development] Case_:
BTW, if you have applied ext4 fix, are you able to record 720p video to SD card? Had the fix before and couldn't do that, recorded something like 20MB worth of video and then the recording stopped. I could only record into the phone memory. Now I'm without the fix and recording works fine.

I'm on class 6 card.
[Galaxy S I9000 Android Development] FadeFx:
could be that class 6 still is too slow for that use of both partitions at a time
[Galaxy S I9000 Android Development] dakine:
The mount/remount thing is obviously not normal, what brand card are you using? Have you tried formatting with ext3 and using that kernel instead. And what did you use to root?
[Galaxy S I9000 Android Development] Case_:
I know, that's pretty much why I'm asking if anyone has experienced something similar.
[Galaxy S I9000 Android Development] Astug:
EMTEC 4GB Class 4

Yes, I have tryed it with ext3.

To root, I copied the "update.zip" file on to my internal memory card, unmounted the external, restarted the phone in recovery and applied it.

PS: When I have to flash the ext3 or ext4 kernel with Odin, the external memory card should NOT be in the phone, right? Because if it has to be IN the phone at that moment, than that's where I did it wrong everytime. If not, well than that's not it either.

I can't wait! Because the current method fails for me everytime.
[Galaxy S I9000 Android Development] Greg82uk:
I've found that using clockwork rom manager to fix permissions resolves all installed apps but need to run it each time I install a new app... Quite annoying but not as annoying as the lag experienced without the fix!

Sent from a mobile Mr. M's Galaxy S using XDA app
[Galaxy S I9000 Android Development] Croak:
Using the kernel on the Bell Vibrant GT-I9000M variant works. Sort of.

Using an 8Gb Class 4 Patriot card, EXT partition of 512Mb.

Seems to run and respond well, as good as it would using the Paul NAND fix. But I'm another one of those guys seeing a 5 to 10 minute hang in Quadrant on I/O 3/4 (database writes), but it eventually completes.

Stock JG9, I get around 850

NAND hack, I get around 950.

With EXT3, I get around 1050-1100.

With EXT4, I get around 1300-1500.

First attempts were on JM2 firmware (with JG9 radio). Did a reflash of that, clean, and tried the fix again. After that kept getting the hang problem, I rolled back to my stock Bell JG9 firmware, applied the Mimocan kernel, and I still get the hang in Quadrant.

Between attempts, I've been reformatting the SD card with gParted/Ubutu, so it's a clean SD ever time.

Tried wiping the Dalvik, regular cache, everything, still hangs.

Started Quadrant, got a Coke, took a leak, and started typing this post, it's just now finished.

Any thoughts on why this is happening to some of us?
[Galaxy S I9000 Android Development] distortedloop:
I have a Class 6 Transcend 16gb external sdcard. I have installed mimocan's ext 4 kernel and done both the market and /data/data fixes. I also moved dalvik-cache to ext 4 just because it sounded like it might speed things up (it might have, see below post).

I rarely shoot video, but just to test your problem out, I just now shot a 4:38 long 720p video that saved to the external sdcard (/sdcard/sd/dcim/video). It was about 400mb in size.

Seems like the problem is not universal.
[Galaxy S I9000 Android Development] distortedloop:
Speaking of moving dalvik-cache to the ext 4 partition, has anyone else done that? I came up with the idea because it's something that some of the Nexus One guys on Froyo are doing along with the apps2ext hack.

I also saw it mentioned here as something the Vibrant owners are doing as part of their lag fix method.

Maybe it's coincidence, but after moving my dalvik-cache to ext 4 boosted my Quadrant score on this phone from 1380 or so to 1535.

I'm really at a loss as to what is actually going on with the SGS and i/o. I did some speed tests on a 100mb file read on both the ext 4 partition and the internal rom area, and frankly, they're both reading at Class 6 speeds in excess of 13MB/s, though the ext 4 does read about 10-15% faster. Given the small file sizes we're dealing with, I'm not sure that extra 15% is really going to make the remarkable difference in lag that it does. On a 20MB file, that's like 0.19 seconds difference opening a file...is that even noticeable? Seems like when my phone was lagging, it was on the order of 10-15 seconds for things to open up, compared to almost instantly now. Strange.
[Galaxy S I9000 Android Development] Case_:
Thanks for the test, much appreciated. I'll perhaps try to move dalvik-cache as well when I feel like testing it again, and if it doesn't work, then it's most likely that my card sucks. Thanks again.
[Galaxy S I9000 Android Development] twisted_mind:
my galaxy S screen goes black right at bootup.. i followed the instructions in the OP and created the first partition as fat32 of 6.5GB and the second as EXT4 of 995MB

please help
[Galaxy S I9000 Android Development] stickyasglue:
Is there any work around to having to use Odin?

As I've been trying for 2 days and I can't get Odin to recognise my device :(
[Galaxy S I9000 Android Development] sedinix:
Try to unplug all usb devices you have and before that reinstall Kies.
[Galaxy S I9000 Android Development] mathieumeuh:
Thanks a lot, I applied your fix (with ext3) and it's a lot faster. Thanks :)
[Galaxy S I9000 Android Development] DCKing:
The problem shouldn't be the card, because it's the remounting of the root partition (/) that's failing...
[Galaxy S I9000 Android Development] stickyasglue:
can u get kies for ubuntu ?

from what i can find i think its a no ...
[Galaxy S I9000 Android Development] chris5304:
Right i got it all working, but then had to do a hard reset to deal with force closes, will the fix still be in place, or do i need to try again?
[Galaxy S I9000 Android Development] Astug:
Okey, so what can I do to fix that?
[Galaxy S I9000 Android Development] DCKing:
I don't know, I have the same problem ;)

You can force the mounting of the root partition as writable by issuing the "mount -o remount,rw /" command, but apparently that causes a black screen problem.
[Galaxy S I9000 Android Development] dckiwi:
Yes, but... file i/o is very different from database access.
[Galaxy S I9000 Android Development] muntos:
Made the fix, I got it from the first time, not so complicated as I expected, great work mimocan :) !
[Galaxy S I9000 Android Development] UnSkilleD:
dosnt work for me with firmware JM5 anymore.. :/

did all like last time.. (older firmware).. but this time.. i get forcecloses of the android calendar :/

any ideas?

//edit

Nevermind... didnt connect first to the market to download busybox.. (used the preinstalled (<-??) ) and replaced all 'mv' trough cp -rp ..

works like a charm now :D

//edit2

hmm.. seems that the fix didnt apply and it works so good.. because of new flashed rom :/

updating busybox right now and try it again..
[Galaxy S I9000 Android Development] wacas:
su -

busybox cp -rp /data/data /disk/

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

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

to fix market issues:

busybox mv /system/media /disk/

busybox ln -s /disk/media /system/media

reboot

when i try doing this i get as far as i get is busybox ln -s /disk/data /data/data and it says no apphlet cant create any ideas
[Galaxy S I9000 Android Development] oldin2k3:
I installed your fix and now when i connect the phone to pc I get "The process android.process.media had stopped unexpectedly". And not just for this. When I try to access messages settings I get "process com.android.mms had stopped ... " and many other processes. Any advice ? It's from the kernel ?
[Galaxy S I9000 Android Development] alvinthen:
help~ i just updated to samsung latest firware.. jg4 if i not mistaken, i tried this method, now i'm stuck at odin

<ID:0/007> Added!!

<ID:0/007> Odin v.3 engine (ID:7)..

<ID:0/007> File analysis..

<ID:0/007> Get PIT for mapping..

<ID:0/007> Firmware update start..

<ID:0/007> zImage

anyone help pls?

problem *solve* after disconnect usb n try several times..

dunno it's harm or not

somehow, after redo everything with the new firmware from samsung..

my benchmark is now at 900 which is much slower o.0
[Galaxy S I9000 Android Development] fuze_freak:
I have an European galaxy s device now rooted and I was wondering do I have to partition the sd card in ext3 and use the ext3 pack or can it be partitioned in ext3 and use the ext4 packed ?

it may sound like a dumb question but honestly I can find the answer....

thank u
[Galaxy S I9000 Android Development] DigiMannen:
Is there no option to make this fix to reside inside a file on the SD card like the one-click fix for internal SD memory.

Then create ext2 partitions for cache and ext3/ext4 for data...

Just thinking...
[Galaxy S I9000 Android Development] Archer13:
Show you "mount" command output. Did you make both partitions (fat32+ext3) as primary?
[Galaxy S I9000 Android Development] WhatZitTooya:
ok, seems to work now.

dont know the problem was to make the partition primary or to use the command with busybox before cp...

thank you!
[Galaxy S I9000 Android Development] dahoba:
It's wiered. I use the v2 Kernel and do steps as you posted, do a symlink on /disk smooth as silk at first ... but now, this morning I lost my power I can't "su" and many app got FC

(logcat said they can't write to the SQLLite db) !!??

I'll Try to apply Root+su+superuser again.

---

After do update.zip, (root+superuser+busybox) It seem working, can open every app that previously got FC.
[Galaxy S I9000 Android Development] djuhn:
Relative n00b here, so please be nice!

I am running JG1 with Pauls R2 ROM, also i have ran all the scripts that were included into his prebake.

This includes the lagfix script to move to NAND.

I've read a bit and heard that I need to run a restore of some sorts before running mimocan's fix?

What exactly do I need to to in order to get mimocan's fix to work?

(i can do the repartitioning, and update the pit file, and also run the commands in a terminal window).

Cheers,

Dave
[Galaxy S I9000 Android Development] Ariozo:
Anyone can tell if this go back to normal if you do a hard reset again? Mean if things go bad and you reflash JG3, does it go back to normal things or this kernel still active? Just good to know :)
[Galaxy S I9000 Android Development] Tayutama:
Right posting this here also. (Taken from my post on modaco)

Right update to my post yesterday with benchmark results.

Reflashed my phone so i don't have JIT on it this time: (Got a Sandisk 8GB Class 2 card in the phone, Getting a Class 4 tomorrow or so and ill post the new results then)

Added two graphs of the phone before and after fix applied. Can't show one with JIT as that crashes the app.

First the results without fix:

Total CPU score;762.7128
MWIPS DP;56.62514;MWIPS(DP)
MWIPS SP;59.63029;MWIPS(SP)
MFLOPS DP;5.7290645;MFLOPS(DP)
MFLOPS SP;8.730493;MFLOPS(SP)
VAX MIPS DP;41.383533;VAX MIPS(DP)
VAX MIPS SP;39.822357;VAX MIPS(SP)
Memory
Total memory score;643.94385
Copy memory;585.1375;Mb/sec
Filesystem
Total file system score;55.29891
Creating 1000 empty files;35.915;sec
Deleting 1000 empty files;28.999;sec
Write 1M into file;2.5575447;M/sec
Read 1M from file;108.695656;sM/sec;

With Fix:

Total CPU score;764.54297
MWIPS DP;56.78592;MWIPS(DP)
MWIPS SP;59.594757;MWIPS(SP)
MFLOPS DP;5.6709156;MFLOPS(DP)
MFLOPS SP;8.819333;MFLOPS(SP)
VAX MIPS DP;41.150608;VAX MIPS(DP)
VAX MIPS SP;40.407852;VAX MIPS(SP)
Memory
Total memory score;647.3529
Copy memory;588.2353;Mb/sec
Filesystem
Total file system score;272.45197
Creating 1000 empty files;0.419;sec
Deleting 1000 empty files;0.292;sec
Write 1M into file;71.942444;M/sec
Read 1M from file;476.1905;sM/sec;

Taken from my earlier post (Fix and JIT enabled):

Total CPU score;1138.4799
MWIPS DP;70.87171;MWIPS(DP)
MWIPS SP;78.12499;MWIPS(SP)
MFLOPS DP;9.773376;MFLOPS(DP)
MFLOPS SP;12.093854;MFLOPS(SP)
VAX MIPS DP;72.30384;VAX MIPS(DP)
VAX MIPS SP;73.160515;VAX MIPS(SP)
Memory
Total memory score;605.6687
Copy memory;550.3577;Mb/sec
Filesystem
Total file system score;241.3051
Creating 1000 empty files;0.428;sec
Deleting 1000 empty files;0.3;sec
Write 1M into file;85.470085;M/sec
Read 1M from file;400.0;sM/sec;
[Galaxy S I9000 Android Development] wliu88:
it's not enough space when i install alphait5 from samapps
[Galaxy S I9000 Android Development] sansak:
Thanks mimocan, it work for me. ;)
[Galaxy S I9000 Android Development] Lee82UK:
I've just followed the exact instructions using the v3 fix and now all apps force close, I can't get anything to work. I can't even 'su' in adb shell as superuser permissions app wont run :(
[Galaxy S I9000 Android Development] dahoba:
Still got FC; when monitor w/ logcat found that It said It can not write their SQLlite db.

This will happened not suddenly after reboot the phone BUT after use devices for serveral hours (I means, talk, open apps, standby = daily usage)

Sample logs from an app.

...

E/Database( 2648): Error updating _date=2010-07-14 17:44:18 _value=52155790 using UPDATE t_base SET _date=?, _value=? WHERE _key=?

D/aob_nm ( 2648): android.database.sqlite.SQLiteException: error code 8: attempt to write a readonly database

D/aob_nm ( 2648): java.lang.Exception: android.database.sqlite.SQLiteException: error code 8: attempt to write a readonly database

D/aob_nm ( 2648):	at com.aob.android.SQLiteHelper.update(SQLiteHelper.java:278)

D/aob_nm ( 2648):	at com.aob.android.mnm.DataBase.update(DataBase.java:108)

D/aob_nm ( 2648):	at com.aob.android.mnm.StatisticsService$1$1.run(StatisticsService.java:87)

D/aob_nm ( 2648): Caused by: android.database.sqlite.SQLiteException: error code 8: attempt to write a readonly database

D/aob_nm ( 2648):	at android.database.sqlite.SQLiteStatement.native_execute(Native Method)

D/aob_nm ( 2648):	at android.database.sqlite.SQLiteStatement.execute(SQLiteStatement.java:66)

D/aob_nm ( 2648):	at android.database.sqlite.SQLiteDatabase.updateWithOnConflict(SQLiteDatabase.java:1577)

D/aob_nm ( 2648):	at android.database.sqlite.SQLiteDatabase.update(SQLiteDatabase.java:1500)

D/aob_nm ( 2648):	at com.aob.android.SQLiteHelper.update(SQLiteHelper.java:275)

D/aob_nm ( 2648):	... 2 more

...

The app that got FC will produce the error like this
[Galaxy S I9000 Android Development] ed10000:
Awesome! Finally it beats the Droid X without Froyo/JIT on Quadrant.

I'm going to try this right after the FC issue is resolved :)
[Galaxy S I9000 Android Development] Maverick777:
Excuse my ignorance here, but what does "FC" stand for in this case and how does this issue affect usage?

I'm very interested in this stall fix as I'm getting my phone tomorrow and I'm comparing the 3 current solutions.

1. MoDaCo fix moves all app data to the NAND, 130mb limit on the Data file. Phone crashes if the data limit is exceeded.

2. Script to move only native apps to NAND. Possible lag with non native apps that aren't moved to NAND?

3. This fix which moves app data to ext3 partition on the external memory card. Possible FC issue and market place "out of memory" issue.

Is that an accurate summary of the 3 possible fixes?

Hows the performance and/or drawbacks to the script solution that only moves native apps to the NAND?

For the script solution, do non native apps still have lag since they aren't moved to NAND?
[Galaxy S I9000 Android Development] ghill55:
When I type su- in adb shell, it says "Permission denied", but my phone is already rooted. Any ideas?
[Galaxy S I9000 Android Development] cHarOn99:
you have no busybox installed