yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] piya_m:
Well, same question here.

I think RyanZa forget to remove this line in 2.3 as he change app-private to symlink instead of mount in 2.2.

And I don't sure this line will make symlink which create in createlagfix to be broken on reboot or not.

May be we just remove this line from userinit.sh but I think waiting for RyanZa is better idea ^__^.

Now I'm on Galaxy S : DXJG4 with v1.0 OneClickLagfix.

More than 24 hrs. and everything went fine, only apps organizer crash just once.

Some lags still there but I can live with it, wayyyy better than before lagfix.
[Galaxy S I9000 Android Development] Adevem:
okay just ran the fix 2.3 - seems to be working fine so far, will report if i encounter any problems.

ryan, just two quick questions : so when you release a new version (2.3 -> 2.4), we have to run unlagfixme on 2.3, then apply lagfixme for 2.4?

just making sure!

and it says i have ~400mb available on my INTERNAL phone storage and about 1gb chopped off my internal SD card - i suppose this is normal eh?

thanks.
[Galaxy S I9000 Android Development] Tayutama:
Had some people talking out/pm'ing me, saying they was rooted before using my update.zip, but after using it superuser keeps fc'ing.

IF you are already rooted then don't use my update.zip since yours will get overwritten by the newest version and it seems it doesn't like to get installed over an older version.
[Galaxy S I9000 Android Development] scheichuwe:
Is there anybody who can upload

remove.sh

removelagfix.txt

from v.2.1?
[Galaxy S I9000 Android Development] odyssey61:
I have been on 2.2 since early this morning. The only bug I noticed is that one widget needs to be re added each time I re boot. Other than that all working well.
[Galaxy S I9000 Android Development] kindaichi24:
after applying 2.3 i have got benchmark 2302. the only thing is tat all widget will have problem loading and got to apply them back manually again. but its super worth it. personally i find its abit faster than v1. thanks for the lagfix ryan!

PS: anyway to check how much space left exactly for me to store my apps? cos the internal sd shows 399mb instead of the virtual internal sd space.
[Galaxy S I9000 Android Development] RyanZA:
ATK won't cause file system corruption. Pulling the battery out may, but on boot, the phone should repair any corruption.

No. 2.2 is actually faster if it works. You may see strange issues though, since /dbdata is ROM backed or something.

From a fresh reflash of a firmware, if you do not use maps or market or other pre-installed apps before running 2.2 lagfix, they will FC. I guess if you made sure to force the phone to locate all pre-installed files before running the lagfix, you should not have any issues. That is why 2-2 is still up. :)
[Galaxy S I9000 Android Development] scheichuwe:
Done.

Thanks.
[Galaxy S I9000 Android Development] RyanZA:
/data/lagfixtemp/busybox mount -o bind /data/ext2data/app-private /data/app-private
mount: mounting /data/ext2data/app-private on /data/app-private failed: No such
file or directory

Bug. :)

However, even what that, my df -h is correct. I think that line is erroring out on my phone, so I never saw the problem. I still don't! ;)

I'll probably put up a fix anyway for neatness eventually, but it doesn't seem like this bug has any actual effect. It probably tried to mount it, but can't mount it because /data/app-private is not a directory - it is a symlink file. Try it yourself. ;)
[Galaxy S I9000 Android Development] lafaya:
well done on the unlagfix 2.1. It worked flawlessly. I'm installing 2.3 now (and no need to reflash) Will report errors as soon as I find them :)
[Galaxy S I9000 Android Development] Tayutama:
Already got mine working so why would i make the same mistake? ;D Only my uninstall i have some minor problems with... no idea why... :(

Also might do another one after this is released that does it all on reboot like moving files and that.
[Galaxy S I9000 Android Development] lafaya:
only bug is the widgets on the screens get lost. Not a big deal

Otherwise, the phone is faster with a score of 2250.
[Galaxy S I9000 Android Development] ethanfel:
My phone didn't boot avec the uninstall of the 2.2 (he was in a infinite loop). Reflash a stock JM5 + SamSET 1.9d and a go to my titanium backup :)

I Try 2.3, better for me than 2.2 (2.2 i had a score of 1800-1900 in quadrant, now 2150). Thx :)
[Galaxy S I9000 Android Development] fredphoesh:
good point, but there is no need for the attitude. ;)
[Galaxy S I9000 Android Development] m4ssnet:
I've tryed the first version of 2.0 with bugs of maps etc...

Now I've see that it's been fixed, but, in info menu of the system, was the exact amount data free space available set ?

In the first version, it say that I've 217mb free altought 1.8gb :confused:
[Galaxy S I9000 Android Development] IntenZeD:
Works great. Only thing is that the widgets was unable to load but thats no biggie. Just re-add them.
[Galaxy S I9000 Android Development] Adevem:
i've got no widgets problem. works fine! though my score ain't awesome lol. weird. shall reboot after transferring my tunes and test it again.
[Galaxy S I9000 Android Development] Tayutama:
Weird since my update.zip which i'm testing atm that is built around RyanZA's latest v2.3 doesn't remove any of my apps. Only problem i have is that i need to add the widget's again.

Also i might make a version that doesn't use the internal sdcard at all except for my scripts.

No idea how to prevent this from happening sadly :(
[Galaxy S I9000 Android Development] beat.kitano:
I have installed the last version (2.3) of One Click Lag Fix. It works great! Good Job. :)

Quadrant: 2272, personal record!

I have mounted the rom JG5 on my Galaxy S. ;)
[Galaxy S I9000 Android Development] ch64:
installed 2.3. All good but will not let me change the system font does anyone else? Thank you. JG5
[Galaxy S I9000 Android Development] M4r1k:
I've installed without uninstall versione one because I've switched from JM2 to JM5... however I confirm that the uninstall script of versione 2.3 works (because I did several tests) :D
[Galaxy S I9000 Android Development] Dominik06:
@ch64: Works for me. :) (xxjp3)
[Galaxy S I9000 Android Development] odyssey61:
I havent had any strange issues apart from one widget not reloading on reboot. Apart from that nothing weird so far.
[Galaxy S I9000 Android Development] dbraaker:
re

a massive THANK YOU! this fix + the hackeclair rom brought back my delight for my galaxy s. i almost regretted not having bought the naziphone 4. runs like a charm now, simply awesome.
[Galaxy S I9000 Android Development] Tayutama:
Right new update.zips out for eclair builds.

With ext3 support

Links can be found in the first post.
[Galaxy S I9000 Android Development] amir_rafie:
hi,

how much does it take to perform lag fix?

After one hour , nothing changes!

please see the attatch picture,,,

it stops here...
[Galaxy S I9000 Android Development] procmail:
Definitely not one hour.. especially at the stage your screenshot showed.

Maybe you can try Tayutama's new update.zip at post #208? (I haven't tried it)
[Galaxy S I9000 Android Development] jam3sjam3s:
I used Tayutama's new update on a fresh JM5 flash and I got only 1400 points in quadrant :?
[Galaxy S I9000 Android Development] Tayutama:
That part your screenshot shows should only take 5-10 secs tops.

In other news next update will include support for ext4, but you will need to run a custom kernel for that to work.

Stock Eclair Kernel: ext2 and ext3 support

Stock Froyo Kernel: ext2 support

Custom Eclair Kernal: ext2, ext3 and ext4 support if it's enable in the kernel.
[Galaxy S I9000 Android Development] rocketpaul:
does a factory reset remove the lag fix?
[Galaxy S I9000 Android Development] amir_rafie:
thanks for answers,,, I uninstall busybox 1.17 and then tried again ,,, now everything is ok and the quadrant is: 2261 ! most lags fixes really....

Current rom is I9000JPJG8 .....

It`s my question too ....
[Galaxy S I9000 Android Development] mickeko:
Make sure your Odin is loaded up and try it? ;)

I believe the /data partition is wiped during a factory reset. If I'm right in assuming that then:

The short answer is yes, it removes the lag fix.

The long answer is yes, but there will be some stuff left (userinit.sh in /system/bin) that will try to mount something that doesn't exist. It probably won't kill your phone, and the easiest way to remove that would be to empty the file /system/bin/userinit.sh (do NOT just remove it unless you edit playlogos1 and remove the reference from there too).

(Note that I've not actually TRIED this so this may be incorrect)
[Galaxy S I9000 Android Development] Tayutama:
ext2 or the ext3 script?
[Galaxy S I9000 Android Development] Tayutama:
Testing my froyo update.zip atm so will test factory reset to see what it does after fix has been applied.

EDIT: Factory reset deleted the image.ex2 file that we are making on /data so a factory reset does remove the lagfix, but not /system/bin/userinit.sh.

Not a problem in my version might do something in RyanZA's versions as mine makes a check before trying to mount stuff
[Galaxy S I9000 Android Development] stas07f:
Can u let me know the diff tayu? Cheers
[Galaxy S I9000 Android Development] WhatZitTooya:
MUCHOS gracias!

everything seems to work fine now!

used update.zip v2.1.

thank you!
[Galaxy S I9000 Android Development] bucklino:
To RyanZA

Congratulations!

I just installed the V. 2-3 and my device flies (JPJG8 - Africa)! 2320 was the first quadrant, with no app installed yet or widgets ......... It seems pretty fast and works like a charm so far ..

Thanks, so much! You're the man!
[Galaxy S I9000 Android Development] Tayutama:
Difference between what?
[Galaxy S I9000 Android Development] jam3sjam3s:
The ext3 script on Eclair.

First I had flashed JM5, then updated with update_v2.1_eclair_ext3_with_root. Got 1400 points in quadrant.

At last I updated with SamSet_1.9d and now I get about ~1550 points.
[Galaxy S I9000 Android Development] arvindm:
Works like a charm! My phone is flyin... thanks a ton!
[Galaxy S I9000 Android Development] Tayutama:
That score is about standard for ext3 since it has journaling so it will be abit slower then an ext2 partition.

I was also getting quadrant scores around 1500 when i was testing the ext3 partition.

I still recommend that people use ext2 (using that myself) since some people are saying that using ext3 can shorten the life of the internal sd card. (No idea if it shortens it or not, but the option for ext3 is in just to give people some choices.)
[Galaxy S I9000 Android Development] kgk888:
Afternoon all. I see there's been quite a bit going on here since last night.

I'm about to flash back to an Android 2.1 Eclair firmware to test out the new 2-3 lagfix since LauncherPro apparently doesn't work on Froyo yet.

Any recommendations for the best Eclair firmware? So far I seem to gather that JPJG8 (Africa/MiddleEast) and XXJM5 seem to have the best performance and radios.

Otherwise I may go back to Froyo XXJP2 (since JP3 has JIT problems apparently) and wait for Launcher Pro or something else to be enabled for Froyo. Really can't stand TouchWiz.
[Galaxy S I9000 Android Development] jam3sjam3s:
Oh, I didn't know there would be so much difference.

I guess I'm about to remove the ext3 script and use ext2 instead.

Thank you :)
[Galaxy S I9000 Android Development] Tayutama:
Weird that you have problems with Launcher Pro on JP3 since i run it just fine. (JP3 is my day to day firmware of choice atm and LauncherPro have worked for me since JP3 came out.)
[Galaxy S I9000 Android Development] kgk888:
Oh I never bothered since it said on the Marketplace that it doesn't work on Froyo yet. Hmmmm. Will have to give it a try then.

I just flashed JM5, going to root, install Samset 1.9d and then lagfix and see how that looks. If it's only meh I'll go back to JP2/JP3 and try LauncherPro.
[Galaxy S I9000 Android Development] jam3sjam3s:
Got 2200-2300 with ext2 now.

Thank you :))
[Galaxy S I9000 Android Development] rtimi:
How do you use the removefix and where to find it
[Galaxy S I9000 Android Development] rtimi:
Where do I find the remove fix
[Galaxy S I9000 Android Development] rtimi:
My question is you need to write steps for noob on how to uninstal and re-install. I'm not running anything special like a rom. I just used your vers with root and istead of holding down up+power+home I used this app below. Can I use it to unroot and also remove lag fix?
[Galaxy S I9000 Android Development] IntenZeD:
It's getting pretty annoying to add my widgets after every reboot so i'll just undo this lagfix for now.
[Galaxy S I9000 Android Development] tristecire:
Hello.

Where do you find the fix ?

Get it and you'll ( maybe ) find the remove fix.

Inside.

Thank you very much. For your attention. :-)
[Galaxy S I9000 Android Development] Chargin:
I applied the fix, found all my widgets and apps gone, along with my link to "Market" so I uninstalled it.

I still have everything I mentioned above gone, no apps, widgets or even a market link to start reinstalling stuff.

Not sure what I did wrong but how do I go about sorting this out? First thing would be to get my link to "market" back so I can start redownloading apps.

When I go into the manage applications thing it lists them all still but theres no way to run any of them..
[Galaxy S I9000 Android Development] Tayutama:
Remove Lag fix is added in each and every release we do. In RyanZA's it's in the zip called removelagfix,bat and in mine it's a script called RemoveLag.sh

Hmm i only had to add my widgets again the first time after i did my fix. After that the widgets worked on each reboot. Might just have been me being lucky though...

^^
[Galaxy S I9000 Android Development] Tayutama:
What firmware version are you running?

And which lagfix version?
[Galaxy S I9000 Android Development] Roy Ngan:
The one-click lagfix works just like the movie "inception", in the reverse way.

Just my 2 cents. :)
[Galaxy S I9000 Android Development] cba1986:
quick question, after applying the ONE click lag, busybox ramains installed on the phone?

Becouse it doesn`t appears on "installed app".
[Galaxy S I9000 Android Development] Chargin:
I used your instructions here

http://xdaforums.com/showpost.php?p=7632258&postcount=208

I downloaded the update file directly to the phone from a web server I uploaded it to, I think that was the only difference from your instructions. I used LagFix_Ext3.sh but then read perhaps I should have used ext2?

I rooted the phone beforehand.

I had firmwares listed as (from memory)

phone 3

PDA 3

CCS? 1
[Galaxy S I9000 Android Development] rtimi:
OK cool I'll look at it when I get home.

Thanks,

what do you think about the root app from android central
[Galaxy S I9000 Android Development] bere09:
Phone is rooted yet I keep getting "Permission Denied" when trying to click on ex2 or ex3. I have the root with the ninja and tried it before with the root included file. I am on a Vibrant, any idea what I am going wrong?
[Galaxy S I9000 Android Development] Tayutama:
Yes busybox stays on the phone since it's needed to remove the fix again. And no i won't show up under installed apps since it isn't an application we install but rather the executable file instead.

Try and do a: *#1234# and then type what it says.

But i guess it's JF3 but rather be sure so i can test the same firmware.

About getting the market link back now though i think it only comes back if you do a factory reset under: Settings -> Privacy -> Factory Reset.

What root app from android central? :D

Go into the app Superuser Permission and see if the program sl4a is listed as allow.
[Galaxy S I9000 Android Development] bere09:
All I get when I start it is a blank screen. When I hit menu it brings up preferences but that's it.
[Galaxy S I9000 Android Development] rtimi:
the one click root I attached. Here it is again
[Galaxy S I9000 Android Development] Tayutama:
Never tried it :) and doubt i ever will since i like to make my own update.zips when new root versions are out :)
[Galaxy S I9000 Android Development] rtimi:
I used it with your update.zip. this just gets you to the root menu instead of doing the up+power+home button. thingy

It's actually from xda not android central here is the thread link

http://tinyurl.com/38chxxz
[Galaxy S I9000 Android Development] cba1986:
Thanks!!!

Every day i learn something new!!!
[Galaxy S I9000 Android Development] piya_m:
Galaxy S - ROM : DXJG4

RyanZa v1 Oneclick lagfix installed, now v2.3 installed.

I use this procedure, no serious problem at all.

1. Remove lagfix with v1 unlagfixme.bat, automatic reboot once.

2. Check internal SD card and I have 1.71GB free so it's mean unlagfix properly.

3. As a Launcher pro user, I switch to Touchwiz and delete all widget (never use anyway).

4. Reboot again and go to flight mode to prevent incoming call during process.

5. lagfixme with v2.3 , automatic reboot again. Now have 410MB free space as it should be.

6. Switch off flight mode, switch to Launcher pro again. Every widget automatic reload properly.

I have tons of widgets in all 7 pages, so I think this way is safest to do.

Quadrant 2139 with tons of widget running is awesome huh ???

Will report any error later if any , but I hope none of them :)

Big thanks to RyanZa and Tayutama, you guys ROCK !!!
[Galaxy S I9000 Android Development] RyanZA:
The OCLF 2.0 doesn't install busybox, it copies over and uses it's own one. This means that it doesn't matter what version of busybox you have (or don't have) it will work anyway.

2-3 should fix it... If not, you might have to remove them in Settings->Applications and redownload them. Best bet is to take them off your homescreen before you run the fix.

Awesome. :)

Advice about flight mode + turning off launcher pro + widgets seems to be pretty sound. :)

Technically, since the script is making a copy before it does anything, you shouldn't need to do this. I may have missed something though, such as android changing settings on shutdown? /dbdata issues? Or it could just be an issue from 2-2 fix, and doesn't apply to 2-3.
[Galaxy S I9000 Android Development] bere09:
For some reason, I did ANOTHER Odin flash to stock and this time with the included root it worked. Not sure why it worked this time and not last but can't complain! Thanks guys!
[Galaxy S I9000 Android Development] r3loaded2010:
Just ran Quadrant on JM5 with Lagfix 2.3 - 2334 :D:D
[Galaxy S I9000 Android Development] RyanZA:
FAQ updated with some useful stuff. Post 2.
[Galaxy S I9000 Android Development] Tayutama:
oO HE IS ALIVE :D

Now then... i got work for you Ryan :)

CHECK=`grep "ext" /proc/filesystems`

echo Checking your system for available filesystems...";
echo Your kernel supports the following filesystems:";
for i in $CHECK; do
echo " $i";
done;

echo -e "\nPlease choose the partition type you want to use:";
read choice

if [ $choice == "ext2" ]; then
something
fi;

This code runs fine on my linux machine but as soon as it's on the phone it does this:

Checking your system for available filesystems...
Your kernel supports the following filesystems:
ext3
ext2
Please choose the partition you want to use:
[: ext2 unknown operand
[: ext3 unknown operand
[: ext4 unknown operand

Gogo work ;)
[Galaxy S I9000 Android Development] exgtigsr:
it's working!!!

RyanZA & Tayutama !!

thank you so much for all your hard work!!!:D:D:D:D

this is superb!!

applied Tayu's "without root".. but didn't work on my rooted sgs.. then used "with root".. still doesn't work.. finally.. reflashed and used "with root"

it's rock'in A now!!! except for the 1 con, 1 pros below, i'm a very happy camper!

default widgets loaded on reboot..haven't installed back all other stuff yet..

my current : SGS i9000, I9000DXJG4 + update_v2.1_eclair_ext3_with_root

quadrant : 2229

can't wait to show my snappy rejuvenated SGS to a 3GS colleague who keeps saying sgs lag like crazy!!

now for a noob question... can someone point me to the thread how to get ADB working to check the free space :p

for now will install back all my apps to see if anything is broken ;)

thanks again guysssss...

note to samsung : hire these guys already!!
[Galaxy S I9000 Android Development] RyanZA:
The sh is really weird, I had similar problems too. One of the big reasons I went the no check route, as I couldn't be sure what would work where. Your code is, of course, correct. :)

Try this though:

if [ "$choice" == "ext2" ]; then
[Galaxy S I9000 Android Development] Tayutama:
Ill add a script in the next update that you can run the get free space left for apps.
[Galaxy S I9000 Android Development] RyanZA:
Grab my 2-3 version, and follow all the steps, but don't run the .bat file.

Instead, start->run->cmd (windows 7, just type 'cmd' in start)

cd \folderyouunzippedtoo

adb shell

That should do it. :)
[Galaxy S I9000 Android Development] RyanZA:
Nice! :D

If you want to work, consider adding a script that will move the contents of /data/ext2data or whatever to /sdcard, and another script that copies it back. For backups. :D
[Galaxy S I9000 Android Development] Tayutama:
Ofc my code is correct... since it works on my linux machine :)

if [ "$choice" == "ext" ]; then doesn't work

well it just breaks the script :D

it jumps out of the script when it gets to that part.

my problem isn't that part.... it's that it doesn't stop at this line: read choice

on my linux machine it stops and waits for input.
[Galaxy S I9000 Android Development] Tayutama:
Ill think about it.

Also in this version i'm working on now i MIGHT add so we don't use /sdcard for anything but instead makes a 800mb or so file and then on reboot resize it to a given value

Should go faster to apply the fix then it does atm then.
[Galaxy S I9000 Android Development] RyanZA:
Oh. You should have said that, it was a bit hard to tell from your output. ;)

You could try to use 'cat > somefile' to get the output, and then read it back.. but I'm not sure how you would stop it from reading at that point. ;) I'm guessing the 'read' command has been specially modified by samsung to not block, so that it can't block the system.
[Galaxy S I9000 Android Development] RyanZA:
Yeah, but what happens if the user has 1.3GB of app data already?
[Galaxy S I9000 Android Development] frankencat:
Is read returning > 0?
[Galaxy S I9000 Android Development] Tayutama:
Not my problem then ;)

Joke aside...

Might have to wait on that feature till we can get an app going.
[Galaxy S I9000 Android Development] RyanZA:
I can get a basic app going for testing, if you want to play around with it. :)
[Galaxy S I9000 Android Development] Tayutama:
Tried to add a: echo "Output of $choice";

which just ended with: Output of

before it got to [: ext2 and so on...

Weird part is if i do this.

Go into adb shell

su

read choice

Then it waits on me to type in something and then what i type in it repeats
[Galaxy S I9000 Android Development] Tayutama:
all i would need is the source code... btw i prefer from eclipse with adt plugin ;)

and the app should have a few buttons that just does something when you press on it like echo something.
[Galaxy S I9000 Android Development] akinandroid:
Bugger

OK so i used the reunlangfix from v2.1 to remove it. Process seemed fine, rebooted the device and it was fiine. Ran unlag from 2.3 and it seemed to work. Phone rebooted got first graphic and startup sound but no samsung animation. Windows makes the right sounds when i plug it in but screen on device is black only white home and back buttons lit.

Stock UK voda firmware

PLEASE HELP - im in over my head and going abroad tomorrow!!!

thanks
[Galaxy S I9000 Android Development] mazsuper:
Stock UK Voda was JG3 correct ?
[Galaxy S I9000 Android Development] akinandroid:
i think so. I cant even access the boot menu with hom+vol up+pwr All i get is the samsung i9000 boot splash over and over. Always plays the boot sound though. Please help i am panicing!
[Galaxy S I9000 Android Development] kgk888:
Just flashed Samset 1.9d (XXJM5 Eclair) and then 2-3 lagfix.

2100 Quadrant. I get better results with Eclair than Froyo right now for some reason, but only by a few hundred.
[Galaxy S I9000 Android Development] frankencat:
Try assigning the output of read() to a variable and then echo the value of the variable.