yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] FromtonRouge:
Hi all,

I have applied this lag fix and now my phone is a formula one, it's awesome.

Th OP said that this lag fix can be applied with any firmware, but what happen in the other way : After this fix is it possible to flash a new firmware ?

When flashing a new firmware, is there a new kernel in it so we have to re-apply the fix ?

Thx for your help
[Galaxy S I9000 Android Development] cHarOn99:
yes if you flash a new firmware then you need to apply the kernel again
[Galaxy S I9000 Android Development] FromtonRouge:
Ok thx, let's try this XWJG5 !
[Galaxy S I9000 Android Development] ed10000:
FC stands for Force Close (apps crash). I'm kinda reluctant to apply the NAND fix since I play a lot of games and I'm pretty sure I'll hit the 130mb mark sooner or later. But since this fix uses an external sd card of any size I want, I think I'm gonna give it a try.
[Galaxy S I9000 Android Development] mimocan:
I did not experience any force close apps while testing. And believe me I am very picky about those things, if happened once to me I would not publish and share this kernel with the public.

These force close apps are either coming from a not completed procedure or bad data.

If you want to try out this please start from scratch and share your experience, I am happy to help you out.
[Galaxy S I9000 Android Development] cHarOn99:
there are definetly no FC issues with that great kernel, i use it since v3, currently use the v4 with JG5 Firmware, phone is flying now and not one FC happens.
[Galaxy S I9000 Android Development] nogorman:
Lagging fix worked perfectly but now cannot get Market or GTalk to work

Hi mimocan,

The lagging fix worked perfectly (thank you!!) and phone is zipping along but now I cannot get Market or GTalk to work. Every other app seems to be working fine and I can install new applications directly if I download the APK file and put it onto the SD card before installing.

Only Market & GTalk will not work and I have tried clearing cache, reinstalling, permissions fixing, etc to no avail

Error: Sorry!

The application Market (process com.android.vending)

has stopped unexpectedly.

Please try again.

[Force Close]

here is a dump from terminal and as you can see I'm stuck after trying a number of changes, re-establishing permissions with Rom manager, etc

$ export PATH=/data/local/bin:$PATH

$su -#su

# busybox mv /system/media /disk/

mv: cannot remove '/disk/media': Is a directory

# ln -s /disk/media /systen/media

link failed No such file or directory

#df -h

-h: No such file or directory

# busybox df -h

Filesystem Size Used Available Use% Mounted on

tmpfs 163.0M 0 163.0M 0% /dev

df: /mnt/.lfs: Function not implemented

tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals

/dev/block/stl9 275.8M 254.9M 20.9M 92% /system

/dev/block/mmcblk1p2 872.4M 85.3M 742.9M 10% /disk

/dev/block/mmcblk0p2 1.9G 224.1M 1.7G 12% /data

/dev/block/stl10 127.2M 28.0M 99.2M 22% /dbdata

/dev/block/stl11 30.1M 576.0K 29.5M 2% /cache

/dev/block/stl3 5.9M 4.0M 1.9M 68% /efs

/dev/block//vold/179:1

13.4G 156.3M 13.3G 1% /sdcard

/dev/block//vold/179:9

994.2M 8.1M 986.1M 1% /sdcard/sd

Suggestions to fix? not sure what to try next

Regards,

Niall
[Galaxy S I9000 Android Development] djase:
i need to change my microsd but how can backup ext4 ? i don't know anything about linux

i need permissions for folders ; data & lost+found

cheers
[Galaxy S I9000 Android Development] Daemos:
Based on the "one click" fixes which use EXT2 on the internal SD to make this fix, would EXT2 on the external SD instead of EXT3/4 work faster?
[Galaxy S I9000 Android Development] RichardHaro:
Just to make sure... It's impossible to do this with a Kingston SD card?
[Galaxy S I9000 Android Development] bommel0815:
nobody has used them successfully yet, me neither. replaced the kingston with a sandisk and now it flies.
[Galaxy S I9000 Android Development] nogorman:
Mimocan's lag fix is great! and will get you into the 1700's range with the benchmark tool but the "one click" lag fix is easier to implement (just did it), does not require an SD card and will get you over 2000 in the bench mark.
[Galaxy S I9000 Android Development] bapsack:
market downloads won´t start

i applied this lagfix without problems. Phone run fine on JM5 with a kingston 8GB (6/2).

But now all of a sudden the market won´t download anymore.....

HELP

How can I get it back to work!!

Tried already different stuff e.g: Gtalk login logout, Cache deleting, etc nothing worked!
[Galaxy S I9000 Android Development] Piny12:
+1

Used the market two days after the fix without any problems, but now every Dowload hangs at "Starting Download..."
[Galaxy S I9000 Android Development] KahunaSFO:
bricked?

HELP !!!!

I implemented all steps as described in the very first post.

After reboot and after entering the PIN none of my processes can be started.

with "adb shell" I cannot use "su" because the process to allow "su" can't be started either.

In the shell I can see all the mount points:

$ busybox df
busybox df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 166896 0 166896 0% /dev
df: /mnt/.lfs: Function not implemented
tmpfs 4096 0 4096 0% /sqlite_stmt_journals
/dev/block/stl9 282432 245988 36444 87% /system
/dev/block/mmcblk1p2 1771684 134996 1546688 8% /disk
/dev/block/mmcblk0p2 1963904 334864 1629040 17% /data
/dev/block/stl10 130240 20332 109908 16% /dbdata
/dev/block/stl11 30784 1644 29140 5% /cache
/dev/block/stl3 6064 4103 1961 68% /efs
/dev/block//vold/179:1
6060544 509664 5550880 8% /sdcard
/dev/block//vold/179:9
5942824 536856 5405968 9% /sdcard/sd
$ su
su
Permission denied
$

without root I cannot go into any of the directories to check whether the links are correct.

Any idea how to get out of this?

Thanks,

Andre

p.s. I need to fix my signature ... sorry

Samsung Galaxy S of course
[Galaxy S I9000 Android Development] KahunaSFO:
factory settings

I reset to factory settings ... did not loose much :-)

(Volume up - home - power on ...)

Cheers, Andre
[Galaxy S I9000 Android Development] duanev:
Fix tradeoffs

Speedups like these (caching filesystems) have a tradeoff that users need to know about before they decide to apply these fixes. Caching filesystems keep disk data around in memory longer so the disk doesn't have to be read (or even written) to let the application continue - it all gets queued and written to the disk when the disk has time. Unix (ie. pre Linux ;) users (and Linux users) have always had caching filesystems and know (or have 'learned') that their filesystems are more fragile and that they need to 'sync' or unmount filesystems before powering off. Vfat (Windows) users power off their machines immediately with fewer consequences because vfat doesn't cache disk writes. When a phone is using all vfat filesystems (vfat is the windows type of non-caching filesystem), the phone is fairly resilient to filesystem corruption. Ext2, ext3, and ext4 all are more fragile (with ext2 being the worst as it has no change journaling that can often patch things up if the system went down hard). Nothing about filesystem fragility is being communicated to phone users applying this fix.

There are a couple more questions we have to answer before drawing conclusions: does selecting "power off" from the menu-hold button menu on a galaxy S tell the kernel power is going down, or does it just "disconnect the battery"? If the former then the kernel has a chance to flush filesystem buffers, and then if the kernel can also tell the hardware when to power down then this fix has a chance of being completely safe.

But I'm guessing neither of the two above signals actually happen; I'll bet voltage to the hardware is simply interrupted. In which case it is likely that none of these speedup fixes are safe from random filesystem corruption on phone power off and people are probably seeing this corruption.

Can we get the above two questions answered? If the answers to them are yes, then we need to check if the kernel is umounting/syncing the ext filesystems on a power down signal, and also if the ext3/4 filesystems do proper journaling on android.
[Galaxy S I9000 Android Development] rdy2go:
Works like a charm, for me it's the safest unlag fix available, one-click seems to be too risky. Used ext4 version.
[Galaxy S I9000 Android Development] DocRambone:
Mimocan: is it possible to add more folders to this fix?

eg, as can be done with the other fixes
[Galaxy S I9000 Android Development] adirtymonkey:
Success with the lag fix i've just applied following page 1 instructions.

On a stock SGS quadrant went from 859 to 1547.

My only big issue worse luck is i've lost the abilty to download from Market, I've applied the market fix. I'm on a sandisk 16gb whick i gave a 2gb ext4 to, and formatted the remaining in fat32.

Any suggestions?

Cheers,

ADM
[Galaxy S I9000 Android Development] adirtymonkey:
Just to get over this issue i restored factory settings. Took the ext4 down to 1gb started up and sucess. Market works, and quadrant on an empty GSG gave me 1664 this time round.

Happy bunny... SORTED !:)

OPS maybe not.. where have my ringtones gone? all i have is Silent.

Sussed what I had done, in an attempt to sort the market issue with the media file, it looks like i either dumped it or moved it.

Back to stock with a rom flash and up and running for now... fingers crossed and got over 1700 on quadrant this time round.
[Galaxy S I9000 Android Development] tnijkes:
Don't hold your breath. While you may be right about non-caching, VFAT is still very prone to filesystem corruption! When you simply cut the power or your device crashes in the middle of a write operation, the vfat is very likely to get corrupted.

In this respect, ext2 suffers from the same problem.

However, a proper journaled filesystem like ext3 is designed to

never

get corrupted. You may indeed suffer data loss, but that is certainly not the same as filesystem corruption.
[Galaxy S I9000 Android Development] sanktnelson:
speedfix and GPS?

Hi all. I theorized over in the GPS poll thread that the GPS problems and lag may be related. So I came over here to ask those who have applied lagfixes: Has anyone noticed a miraculous change in GPS performance after the fix?
[Galaxy S I9000 Android Development] galaxysman:
I was just going to post NO! but it wouldnt let me post less than 10 letters :)
[Galaxy S I9000 Android Development] hotweiss:
EXT4 can be corrupted during a sudden power loss also...
[Galaxy S I9000 Android Development] 2mad4:
thanks mimocan, my SGS obtains 1583, with a6 Gb Kingstone card, class 4
[Galaxy S I9000 Android Development] adirtymonkey:
Not sure if its related or not but I had an occasion to remove my sim and battery, on reboot I'd lost all of my home screen data, apps were there in market etc and I found superuser to be corrupted.
[Galaxy S I9000 Android Development] rdy2go:
What about ext 2 support without patching kernel plus logo fix hack to mount it at boot time?

I think default kernel supports ext 2 out of the box.

It would allow us to use this fix without flashing kernel, only by rooting and running some busy box commands...

What do you think?
[Galaxy S I9000 Android Development] rdy2go:
I found it on Captivate forum - works excellent with official JM1 + ext2 partition. (ext2 not ext3, it was my choice, not spelling mistake)

If you are concerned with NAND wear or cannot accept One Click limitations (change system fonts etc) AND don't want to change kernel (I assume the kernel that ships with given ROM version is the best choice) THEN try this one out:

http://xdaforums.com/showthread.php?t=747397
[Galaxy S I9000 Android Development] petzku:
How can I get back the 1Gb EXT4 to FAT32 that i used to have in external SD for mimocan's fix?!?
[Galaxy S I9000 Android Development] rdy2go:
Use gparted under linux. Live cd is enough to do it.
[Galaxy S I9000 Android Development] distortedloop:
Yes, it is. Just copy over the data, then rename/delete the original location, then symlink to the new location...essentially just replace the name of whatever location you're looking to add for the what's currently in the instructions.

I added the dalvik-cache to my mimocan setup when I was running it.
[Galaxy S I9000 Android Development] distortedloop:
Do you own an SGS? Have you ever turned it off?

The reason I ask is that it's obvious that more than just "disconnecting the battery" is occurring when you select power off. The phone at least takes the time to play a nice little shut down video. Obviously that doesn't prove it's shutting down the file system, but it shows there's more than just killing the juice.

How would you test this? Perhaps look at the logcat for the phone to see what's happening as it shuts down?
[Galaxy S I9000 Android Development] tnijkes:
If that is (still) true, than it should be considered a BUG.

I am aware of many cases of ext4 corruption in the past, but is it still the case in recent kernels? I didn't keep track.
[Galaxy S I9000 Android Development] morcom:
:( Was working fine but now as well problem with Market issue.

Installation was fine - after that Market was working normally.

But now after some installations it stops.

I cannot download any data from Market. I have noticed as well issue with my Gmail - I cannot send - in the outbox status is all the time sending.

It could be that this is not related - but.... So the only solution for now is to go back to stock installation with this lag... or maybe somebody knows working solution for that issue?

-----

After some time...

OK - so far I revert all data using busybox back to internal memory - now everything is working fine - Market is back.

The question is why this happened? It should work normally without any issues. Maybe the problem is with linking the directories...

So now I have back my lag but can install all software.... Benchmark: 897 points against 1700 before..... :(
[Galaxy S I9000 Android Development] mm148881:
Not in the least. Actually after the fix, I think the GPS sync works even worse than before!
[Galaxy S I9000 Android Development] wengwoy:
Applying fix successfully but still lag!

Hi all, I am using Mimo lag fix on my samsung galaxy s I9000. Quarant score is 1401. It seem that something wrong with my device as i can see most ppl score for 1600-2000 but I am just lowest among them.

Everyone claim that thier devices are flying, I too been telling myself,it's a lot better as Quarant score over 1K already

However, after 2 days of using this, I just cant stand with it anymore, still laggyyy~.

I have been trying this twice, flash firmware,rooted then mimo fix. I was refering to the youtube and this thread to execute the fix. I wonder what i did wrong or firmware issue,device?

Here are some of the info.

My firmware(PDA,Phone,CSC) I9000ZSJH1 - I think this firmware for HK but i am from malaysia.

SDCard 8G ( 6G fats and 1.5G Ext3 )

Kernel Version 2.6.29 - can change it to 2.6.3x? want to try on Ext4

Current internal SD available space 11.8G of 13.43

Current External SD available space 5.78G of 5.85G

Internal phone storage 1.74G

Sorry in advance if there is a similar case in this issue as I just cant finish all 82 pages:o -.-"

Hope there are some advice to solve out this problem. Thanks
[Galaxy S I9000 Android Development] azazin:
Don't use the outdate mimocan fix, use this one:

http://xdaforums.com/showthread.php?t=760571
[Galaxy S I9000 Android Development] wengwoy:
Thanks, will try on the suggestion once flash to JM5
[Galaxy S I9000 Android Development] Woolios:
Well Currently I'm using JH2 and in the beginning I was noticing some stuttering with Touchwiz with my Bell GT-i9000m. By chance I decided to tryout JM5 firmware with the normal 512.pit file noticed that I wasn't getting my GPS to activate and other small bugs, prolly cause I didn't use the phone or the CSC also, but to make a long story short... I flashed back to JH2 and the stuttering is gone without the need for a lag fix which didn't really seem to do much other than make a great score in quadrant. Not knocking the lag fixes but I did this twice today since and it worked both times when I noticed stuttering from the different firmwares. Now I'm just scared to do lag fix. The stuttering was the real reason I wanted a fix for. Just my two cents but it worked for me. Yes I lost my apps but well worth the price for a smooth transition between screens. I wonder if anyone else can test this out whoever notices small stutters between homepage screens.
[Galaxy S I9000 Android Development] Vogie:
EXT4 is much faster then EXT3 and EXT2, so why it's better to format SD card in EXT2 Formt?

What's the problem of EXT4 ? I used in linux and it's very nice FileSystem.
[Galaxy S I9000 Android Development] hkstudent:
So, after to do this fix action, should I change the SD card? coz I am using 8G micro-SDHC only and should change to 16G on next month.
[Galaxy S I9000 Android Development] distortedloop:
I'm confused. What did you do twice today to stop lag? Reflash the phone? That's no solution if you have to do it twice in one day! ;)

I'll try almost anything at this point, but can't understand what you're suggesting.
[Galaxy S I9000 Android Development] dakine:
This fix is still working well for me with 96 apps installed and jm2 firmware.
[Galaxy S I9000 Android Development] Polarfuchs:
How large has the ext4 partiton to be?
[Galaxy S I9000 Android Development] Polarfuchs:
I did choose 1GB.

--> Is it normal that there is nothing under /data ?

---> seems that astro can't show it. terminal shows, that there are files under /data
[Galaxy S I9000 Android Development] Polarfuchs:
Works.

Before 886 -> after 1783 Quadrant Score
[Galaxy S I9000 Android Development] distortedloop:
There's no set figure. Mine is 1gb off a 16gb card. I've seen people say 256 or 512mb. Just depends on how much space you think you'll need for all your apps and other stuff you might decide to tuck onto the ext4 partition. I did /data/data, along with the dalvik-cache and media folders (Market fix).

1gb was an easy amount for me to pick, since even though I've had 32gb iPhones ever since they were available I couldn't find enough stuff to fill them up. If you have smaller internal and/or external cards and space for other stuff (music, etc) is at a premium go for smaller.

You could run a size check on the folders you're going to move and use that as a starting point, then add more to leave plenty of room for future apps and the like.

One nice thing about gparted app is you can usually safely resize things if needed later down the road.
[Galaxy S I9000 Android Development] Polarfuchs:
Ok, thx for the explanation.

I used gParted an have a 16GB card and 8GB Galaxy S.

I only did move the /data/data

Market fix is moving the media folder.

But what does moving the dalvik-cache improve?
[Galaxy S I9000 Android Development] distortedloop:
Your issue is, as you discovered with Terminal, just that Astro can't read directories that require root access to see. You need a file explorer that reads root (I use Root Explorer (paid), but there's also Estrongs which some say works for them).

My theory when moving dalvik-cache was that the issues with the SGS are the horrible RFS filesystem, and that it doesn't support multi-threading on i/o, so what happens is once you start a write to RFS, all reads are halted until the write is finished. Ugh. I figure the more stuff that is frequently read from the "disk" the more likely it is to suffer lag if it's in an RFS partition. Since Dalvik-cache is the optimized bytecode for all your apps, it's (probably) read frequently. I noticed slight improvement in quadrant scores doing this, but quadrant scores tend to be fluctuating anyways, so who knows. It certainly won't hurt to do it, and it might help.

:)
[Galaxy S I9000 Android Development] DonDragon:
hello

i got a market problem can't download any app because it says that i don't have enough space left. What did i do worng?

pls some help, my quadrant schore is 1680, so that works well
[Galaxy S I9000 Android Development] cactus frankie:
Why does it have to be an external card?

Can't I use the internal sd for a lag fix?
[Galaxy S I9000 Android Development] Polarfuchs:
No, i think the lag fix does circumvent the internal sd-card who is connected slowly.

Correct me if I'm wrong.
[Galaxy S I9000 Android Development] Shagoon:
I somehow lost the original media folder... and now when phone boots up I only hear the sound, I don't see the loading video... and also when taping on things there is no tap sound...

How can I get the original media folder back on to my phone?

Thanks.

EDIT: I tried factory format and didn't help.
[Galaxy S I9000 Android Development] FL00DY:
I know I'm pretty late to the game with this and there A LOT of pages to read through. I'm not quite sure what problem this fixes ?? And also, do I need to have my phone rooted to run it?

I've updated my SGS to JM2 so I'm OK with using Odin. But the part where reading those instructions on page 1 I get stuck is Busybox. I've installed Busybox before and it says my phone hasn't been rooted so it can't run. What am I doing wrong? Because nothing posted by the OP says your phone needs to be rooted to complete this fix.

Any help would be much appreciated.

Cheers

Paul
[Galaxy S I9000 Android Development] distortedloop:
Well...if you don't know what it fixes, you probably don't need it... :)

A lot of owners complain of "lag", that is the phone appears to slow down and become sluggish after being up for a while. Throw in some black screens and pauses in the GUI. Phone freezing while downloading/installing apk files from the Market.

It's worse on some firmwares, it's much better or completely fixed on others (XFJM6 & HVJH1 imo).

If you don't experience that stuff, just don't bother with this. If you do, and can live with it for a few more days, I'd suggest waiting for the imminent release of supercurios' fix, which performs better than this one in my testing.

I think this is the safest (though not "fastest" of the current crop of lag "fixes", but supercurio's approach is easier to install and addresses the real root of the problem in a more suitable way.

Hats off to mimocan, though, for the original fix provided here which was stable, fairly easy to install, and easy to undo.
[Galaxy S I9000 Android Development] FL00DY:
Well I get ALL of those problems. So I think I can wait a couple of days the new fix.

But the old fix mentioned on page 1, does that require the phone to have root access?
[Galaxy S I9000 Android Development] bestbeancounter:
It says I can't create a new partition with Paragon Hard Disk Manager because it's a demo? :confused:
[Galaxy S I9000 Android Development] distortedloop:
I think you'll need root, because you need read/write access to the /data partition. If I recall correctly, the SGS won't let you remount /data via adb, so there's not much option.

Also you're gonna have to flash a custom kernel to use it anyways.

Are you worried about using root? l can't imagine owning a smartphone without root.
[Galaxy S I9000 Android Development] qiu:
hi, is it possible to undo this fix? I have undone the one click lag fix on my phone because it didn't make much difference...
[Galaxy S I9000 Android Development] FL00DY:
I'm not worried, just haven't had a free moment to look into it. As long as the un-rooting is undetectable by Samsung if I need it repaired. I've flashed my VW GTI under warranty but could turn the flash off and be completely un-detectable.
[Galaxy S I9000 Android Development] distortedloop:
It's pretty simple on the SGS. All you do is add the su binary to /bin with an update.zip.
[Galaxy S I9000 Android Development] xtrememorph:
Tried this on the I9000TGYZSJP2, after i load the Ext 4 kernel, the system will fail to start and kept on going onto recovery mode. Any ideas?
[Galaxy S I9000 Android Development] mobydeek:
Can anyone confirm that the "Stalling problem" still exists with the Froyo leaks?

im assuming this cos there have been some posts specifically saying "this fix will not work for 2.2".

its just that if its fixed in 2.2, then i wont have to mess around with a friends Galaxy S :D (i'll just tell them to wait for an update)

thanks!