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

nice Tool.

I use 03/August r2 - XXJP3 (Froyo) pre-rooted / insecure boot / ClockworkMod recovery for Odin with superuser new flashed.

CLagFix hangs on

Pushing needed files ...

- busybox

- e2fsck

Edit:

After trying it several times, restarting, unplug ...

It hangs on:

Testing pushed files...

-busybox

--fail

Any ideas?

Thx
[Galaxy S I9000 Android Development] Chainfire:
This suggests a permission error on the pushed files... Not sure what it could be really, would probably have to flash to JP3 to figure that out (argh)

EDIT:

If you are familiar with the command line, go to the folder ADB is in, and execute this (you can just copy/paste that in the command window, all at once):

echo su > filelist.script
echo ls -l -R / >> filelist.script
echo exit >> filelist.script
echo exit >> filelist.script
adb shell < filelist.script > filelist.txt
del filelist.script

This should create a file "filelist.txt" of a few megabytes or so (check that it isn't just a few kilobytes!), zip it, and attach it to your reply, that might help me figure out what is up with those permissions.
[Galaxy S I9000 Android Development] guvvan:
What do to?
[Galaxy S I9000 Android Development] Chainfire:
Quit, reboot phone, try again. Let me know if you see the error again. I'm going to look into that specific issue.

BEFORE you try again, make sure to get 1.01, you are currently using 1.00.
[Galaxy S I9000 Android Development] Chainfire:
1.01

IF YOU HAVE NOT PERFORMED THE OPERATION YET, PLEASE MAKE SURE YOU ARE USING 1.01 !! REDOWNLOAD IF NECESSARY.

1.00 has a permissions error in /dbdata/databases . This causes issues with apps that need to create a new database . See the second post of this thread (changelog, under 1.01) for more details.
[Galaxy S I9000 Android Development] scheichuwe:
Just got v1.01

still doesn't work with JP3
[Galaxy S I9000 Android Development] guvvan:
Same error. Going to factory reset now.
[Galaxy S I9000 Android Development] Chainfire:
1.01 was not supposed to fix this. Please see my reply to betonme a few posts above, I just edited it. That generated file might help me find the issue with JP3.

1.01 was not supposed to fix this. I haven't figured out where that error comes from yet. EDIT: By the way, at this stage nothing on your phone has been modified yet, you don't need to factory reset (unless you think that will help solve the problem)

This should be fixed in 1.01.
[Galaxy S I9000 Android Development] Aquario79:
I tried running v1.01 but got an error msg "Could not determine free space". The earlier v1 worked ok previously.
[Galaxy S I9000 Android Development] iZz0s:
Hey!

Nice App!

But have some Questions ...

You writes the Phone needs only SuperUser, it seems that u mean Root with that.

Whats about BusyBox and the SuperUser App ?

Thanks!
[Galaxy S I9000 Android Development] Chainfire:
Changelog is:

(1) It works again

(2) By default, the image is 1 GB (instead of auto-size), and doesn't move apps or apps-private. The result of this is that the first-time start of an app may still be a bit slow, but the cached version actually is in ext2/3, which will be used from then on. This prevents the marketplace issues and whatnot.

Re: JPK, I'm not sure what is going on there, neither do I know if I will bother to find out. I'm running JPH and quite happy with it ... if you want to try it with JPK, just use CFLagFix as normal. The first time your phone boots, IF-and-only-if the CFLagFix program does NOT report any progress whatsoever, wait 5 minutes, than pull the battery and reboot the phone manually. Boot will then still take some time, and CFLagFix will be installed. It worked for me that way during testing, but I wouldn't recommend it. Worst that can happen is that you need to reflash :) If you do this, I'd recommend CF-Root first, then CWM nandroid backup, and only then CFLagFix, just in case.
[Galaxy S I9000 Android Development] eliazu:
whats the score of jph and jpk in qaudrant?
[Galaxy S I9000 Android Development] aadil7:
i had downloaded the 1.90 version and ran it. this all worked perfectly and it also said done at the end.

i removed the usb but i noticed that initially the boot tone was way off sync and then my screen was stuck at the boot screen!

after a couple minutes it then went blank and the only thing working was the buttons lighting up and the power off button!

could someone tell me what had happened here as i am confused!

i am running samset 1.9f

i thought i would give the 1.80 a go and that does not even detect the phone!

"adb shell could not be started are you connected via usb and is your device in usb debug mode?"

this is really fustrating now as ive factory reset my phone for this about 5 times and now i dont want to stop until the lagfix works

could someone help me please

kind regards

EDIT: sorry i forgot to add i had a version of this on my phone before until i had to factory reset it a few days ago
[Galaxy S I9000 Android Development] aadil7:
just to say

ive just had a quadrant score of 2240

updated to jm8 with cflagfix 1.90

absolutely amazing

i think it had problems with the jm5 firmware

maybe others could confirm this
[Galaxy S I9000 Android Development] wliu88:
thank you, i just keep it

is it possible to support ext4 in your next version?
[Galaxy S I9000 Android Development] evermick:
Do you have Angry Birds installed? If you do, uninstall and reboot. It applied to my case, Angry Birds have a mount point for some reason and it prevent CFLAGFix to use loop0. After CFLAGfix is done, you can install Angry Birds again without problem.
[Galaxy S I9000 Android Development] rajuki:
"Operation Failed"

I have the same issue. I can install the EXT2 Lagfix but when I try install the EXT3, it says Operation Failed after checking the mounts.

I am running JPH on a unlocked SGS-i9000.

:(
[Galaxy S I9000 Android Development] Mopral:
This one seems to be wrong

I use lagfix 1.90 with full automatic mode and image was not 1024MB (1GB) but 1455MB

I have to resize it to 1024MB...

I think it still use auto-size...
[Galaxy S I9000 Android Development] oruvin:
Hi, I've flashed to JPK and installed this 1.90 lagfix. Got a question. Used to have OCLF before and had a lot free memory available. With this lagfix I see free memory available atm 288MB (when installed lagfix I've set partition to 1536MB). I guess new programs are being installed to unformated partition? Or what happened with that 1.5GB space? Do I need to uninstall this lagfix and install it after I've got all apps installed?
[Galaxy S I9000 Android Development] tommy34:
JPK: operation failed. for ext2/ext3

nothing happens after this
[Galaxy S I9000 Android Development] Narcissus85:
same here.... :- o with EXT2 too
[Galaxy S I9000 Android Development] Chainfire:
The Froyo kernels do not have EXT3 support built-in like the Eclair ones.
[Galaxy S I9000 Android Development] Narcissus85:
Uhm...

i used the ext2 with JPH and all seems ok.....

just reflashed 2 times and tested it....but.....after installing my applications i see a notification about low memory....

after installing the lagfix my internal memory is around 250mb and its ok if the apps go on the other partition but when I install any app my 250mb of free memory get lower and lower till the bad notification about low mamory and i cannot install nothing.......

whyyyyyyy???? T_T
[Galaxy S I9000 Android Development] crazycheng2020:
just wondering will it work sucessfully with mine being a firmware version of 2.2??

Cos it seem every1 is doing it with 2.1 and having trouble..

Do advice.. thanks!
[Galaxy S I9000 Android Development] sjsbale:
I just flashed my samsung with JPK 2.2, rooted with the CF-Root JPK then Lagfixed with the CFlagfix v1.90. The whole process ran very smooth no issues and getting 2017 on the quadrant benchmark.

Good work :)
[Galaxy S I9000 Android Development] Spycraft:
Heya, bit of dillema.. Use this or use the RyanZA's OCLF? any pros ... cons?

thanks
[Galaxy S I9000 Android Development] a-son:
Originally Posted by RyanZA

This looks so awesome! Thank you!

Any chance for open sourcing this?

ANSWER:ChainFire

Not at the moment, but maybe in the future

My Question:

Yeah, this is great suff, some heavy programming have been done!

Is it in C or vb ?

Im also interested in src.

EDIT:

JPK , rooted

ooops, hit an error, but no error code can be seen.

MOUNT table

mount

rootfs on / type rootfs (ro,relatime)

tmpfs on /dev type tmpfs (rw,relatime,mode=755)

devpts on /dev/pts type devpts (rw,relatime,mode=600)

proc on /proc type proc (rw,relatime)

sysfs on /sys type sysfs (rw,relatime)

none on /acct type cgroup (rw,relatime,cpuacct)

/dev/block/stl6 on /mnt/.lfs type j4fs (rw,relatime)

tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)

none on /dev/cpuctl type cgroup (rw,relatime,cpu)

/dev/block/stl9 on /system type rfs (ro,relatime,vfat,log_off,check=no,gid/uid/rwx,iocharset=utf8)

/dev/block/mmcblk0p2 on /data type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8)

/dev/block/stl10 on /dbdata type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8)

/dev/block/stl11 on /cache type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8)

/dev/block/stl3 on /efs type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8)

/dev/block/vold/179:1 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=

0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

/dev/block/vold/179:9 on /mnt/sdcard/external_sd type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,

allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

/dev/block/vold/179:9 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_u

time=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

tmpfs on /mnt/sdcard/external_sd/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)
[Galaxy S I9000 Android Development] avary:
hi, i ran CFLagfix 1.9 on i9000ZSJP4 firmware, after pusing busybox, other tools and partion stuff, it gave me failed message. so i rebooted the phone and plugged again , run CFLagfix , now install is disabled, so i run uninstall , after while it rebooted my device and hang there saying "Monitoring progress ... (estimate!) forever.

i checked system/bin/userinit.sh it contains CFLagfix script.

tried ADBMagic method to manually uninstall it but ADBMagic gives "error" titled empty msg box(only "!" there), only logcat is workong, other tabs not working.

so now it seems that i got CFLagfix installed but not fixing the lag, cannot uninstall it either. ( tried OCLF before but lagfix options are not available)...

any help ?

Edit1 : i managed to uninstall/clear CFLagfix using rootexplorer, now i run CFLagfix again with ext2 ( i choose ext3 in previous failed attempt) with success ( at least it gave me "done" msg) ...
[Galaxy S I9000 Android Development] Mumps:
Ive had problems with free space, and after checking, the partition made by CFLagfix 1.90 was 1536Mb instead of 1024Mb as I saw when aplying. Resizing it and it works like a charm, 832Mb free in "Internal phone storage" (before it was 197 or so).
[Galaxy S I9000 Android Development] avary:
Hello, has anyone tried to apply voodoo over CFLagFix ? is it safe to do that? ( i saw another thread "ultimate lag fix" about applying OCLF + vodoo ) . just curious .
[Galaxy S I9000 Android Development] Chainfire:
Nah that's just nonsense. Install ONE lagfix, and ONE lagfix only. Installing lagfixes on top of eachother, IF it works, only reduces data integrity (bigger chance of data loss) and artificial benchmark results (no real world performance difference).
[Galaxy S I9000 Android Development] Chainfire:
IMPORTANT NOTICE FOR FROYO USERS

(1) Use ext2. ext3 is NOT supported on Froyo, only Eclair

(2) The installation will fail if you apps installed to SD. Go to Settings -> Applications -> Manage -> On SD card. Click each app and click "Move to phone". In the end, the "On SD card" list should be empty. Reboot. Install CFLagFix. When the fix is installed, you can move apps back to the SD card if you wish.
[Galaxy S I9000 Android Development] :
So, i think I got the 1.50 lagfix installed. The CFLagFix.exe is dated 2010-08-12.

Now I can't uninstall the fix before installing Froyo 'case the program shows an error message *****ing about making sure that my phone is in debug mode and connected.

Is there any other way to remove the lagfix? A factory reset and a wipe of SD-card?

Cheers
[Galaxy S I9000 Android Development] Chainfire:
Factory reset / wipe data / wipe cache, I think should work. No need to wipe SD card.
[Galaxy S I9000 Android Development] :
Thank you for your nice work with the lagfix and your help with my question. I like you :)

Cheers
[Galaxy S I9000 Android Development] wertzuiop123:
hi

im searching the changelog from 1.80 to 1.90 ;)

superuser required?

su = root? its enough to root my phone with [APP]SuperOneClick v1.4 Root to have su?
[Galaxy S I9000 Android Development] ric121:
hi i just installed . it only took about 10 min all up an worked perfectly.

thanks
[Galaxy S I9000 Android Development] Sjokkel:
I'm about 95 % sure i used the CFLagfix 1.90 on my device. It's been a while and i've been very busy so i forgot which one i used. There is NO APK installed and the procedure explained in the first post sounds very familiar.

I've i start the app for an uninstall it gives an error stating i need at least 512 MB free in the data folder

Using ADB magic i noticed a 1,5 GB ext2 in the data folder. I'm guessing it's max 2 GB in that folder thus leaving less then 512 MB free.

Any way to undo the lagfix cause i want to upgrade to froyo through Kies?

Regards,

Christophe
[Galaxy S I9000 Android Development] Chainfire:
There are several lagfixes that use a similar strategy. Is the "resize" tab available? If so, resize to minimum size first, then uninstall.

If all else fails, you can always reflash your current ROM before upgrading to Froyo, or something like that. You would lose your data, though.
[Galaxy S I9000 Android Development] wertzuiop123:
second try ;)
[Galaxy S I9000 Android Development] MagicOnline:
Yes.

10char.
[Galaxy S I9000 Android Development] jpbx1982:
Installed, But Only Left With 250MB of Storage, Even After Resize.

Hi there,

I love the lagfix, but my Samsung Galaxy S is only left with about 250MB of storage after installing it, even after a partition resize.

Is there any way I can install the lagfix and still retain the storage, or get the phone to recognize the storage space is actually there?

Regards
[Galaxy S I9000 Android Development] jpbx1982:
p.s. when I uninstall the lagfix, I get almost all the space back (there should be around 1.87GB, but I get 1.64GB back)
[Galaxy S I9000 Android Development] bolav:
Rooting....

E:signature verification failed.

Solution to this problem ?

regards
[Galaxy S I9000 Android Development] Chainfire:
Often a reboot is needed after resize, or the newly re-available space will not be shown.
[Galaxy S I9000 Android Development] scytherjoe:
I would like to thank chainfire for this awesome thing you have shared... my phone certainly gets a lot faster after applying the lagfix, and got a benchmark of 2240 from around 800. Thank you very much.

by the way i love the resizing function. thanks... at first my phone only got 200mb left, after resize it got around 800mb now.

I'm using i9000 international version, and it is working superbly fine here.
[Galaxy S I9000 Android Development] choloxinzo:
Hello! I´m choloxinzo from Htcmania (Spain). Sorry my english

I have Vodafone's Galaxy S 16GB with eclair.i9000bujm5.

I have a problem, I applied the CFLagFix 1.9 with partition ext3 in Eclair, along approximately 10 minutes until it put Done!

The problem is that it continues like before when I walking in the menu, especially when add direct accesses etc...

Any Help please?

Thank you
[Galaxy S I9000 Android Development] aadil7:
hi

i want to install 2.2 on my galaxy s so im uninstalling cflagfix.

the program is stuck at: move /dbdata/databases ... 100% ?? 9416KB

i dont know what to do as its been like thif for some time now

please help
[Galaxy S I9000 Android Development] Ad Fundum:
Is this for SGS only, or can I also use this on other phones? (like my samsung i5800)
[Galaxy S I9000 Android Development] droidis:
I succesfully installed CFLagFix-1.70 2 months ago. Now I want to try a rom and cannot uninstall the lagfix! When I run CFLagFix.exe I get an error:

"ADB shell could not be started. Are you connected via USB and is your device in USB debug mode?"

When I start the adb shell and give some commandos I get "not found".

Please help me!
[Galaxy S I9000 Android Development] jeebspawnshop:
Did you put your phone in USB Debug mode? LoL...

EDIT: In case you don't know, it's "Settings" -> Applications -> Development -> USB debugging (turn ON)
[Galaxy S I9000 Android Development] droidis:
Jes, that `s not the problem. Another thing I`ve noticed is that the Quadrant benchmark tool is extremly slow by I/O. I get only 864 Points. I assume something is wrong with the filesystem or the lagfix doesn`t work anymore. I don`t care about the score I just want to get rid of the lagfix so I can apply a new rom. Is there any other way to do that?
[Galaxy S I9000 Android Development] droidis:
Chainfire has already posted about this. I did factory reset + wipe and installed Doc 7.6. Everything went fine...I think...
[Galaxy S I9000 Android Development] hanifh:
uh oh...

running this on 2.2 and after a successful 'done' message, phone rebooted, saw the splash screen, blanked out with only the 2 soft keys illuminated and keeps vibrating sporadically. its been over an hour now. there were no apps on the SD card. anything I should do? kindly revert.

/h2
[Galaxy S I9000 Android Development] petervranek:
i5800

May I use this method to save Aplications to SD card on Samsung Galaxy 3 (i5800) ? Thanks
[Galaxy S I9000 Android Development] jason8612:
fails for me with froyo on

replacing animation with script
[Galaxy S I9000 Android Development] splurge_in:
CFLagFix.exe doesn't run for me.i am getting an error saying "adb shell could not be started. Are you connected via USB and is your devic in USB debug mode?"...

i am not able to resolve this problem as i have already enabled USB debug mode ...i am using doc XXJPA v8 ROM....

any suggestions????
[Galaxy S I9000 Android Development] stefxg:
I can't uninstall it, it says that there is not enough space???!!

do I need an sdcard?
[Galaxy S I9000 Android Development] jorgt:
Operation Failed!

FROYO.BUJP7

KERNEL 2.6.32.9 ROOT@SE-S611 #1
[Galaxy S I9000 Android Development] Chainfire:
Re: operation failed on FROYO's, make sure all your apps are installed to main storage, you may need to move them to main phone storage manually (as some apps automatically install to SD).

The mount will always fail if there are apps located on the SD card.

Also, I am officially discontinuing this, in favor of Voodoo, and because personally I feel a lag fix really isn't necessary anymore on the newer ROMs.
[Galaxy S I9000 Android Development] ragin:
Feel sad, I have personally used this lagfix 4 times, & was really happy using it till recently. It was a favorite, First CF-Root, Then CF-Lagfix. :(
[Galaxy S I9000 Android Development] Kirakira:
For those who can't launch CFLagFix.exe, try to put your system date like July 2010.

Works fine for me.
[Galaxy S I9000 Android Development] Chainfire:
Nothing has changed in that part of the code. Try rebooting your device (and waiting a minute for it to "warm up") before trying it again.

If the problem persists, please create a command line and run "adb shell" manually, and enter the following commands:

su
df

And copy/paste the output here, surrounded by [ code ] and [ /code ] .
[Galaxy S I9000 Android Development] Chainfire:
It needs only SuperUser app installed. Ofcourse, you need Root before you can have SuperUser installed. (SuperUser app is usually installed at the moment you root your device)

Busybox is installed automagically, no need to install it manually.
[Galaxy S I9000 Android Development] iZz0s:
Okay!

Tayutama's LagFix which can added over the Recovery Menu installs Root, BusyBox 1.17.1 and an SuperUser App. This is very user-friendly :D Like an One-Click Fix!

Is it possible that you can add this Features to your LagFix too? So we have 2 nice LagFix Options. LagFix over Recovery Menu and LagFix over ADB :D

Only an Idea :)

Greetings

iZz0s
[Galaxy S I9000 Android Development] guvvan:
i solved my error issue. factory reset Dial *2767*3855# and it work after that.
[Galaxy S I9000 Android Development] Mull1s:
Me like :)

For us who isnt very experienced with the root folders, which folders are recommended to lag fix and how big image should i use?

cheers
[Galaxy S I9000 Android Development] Zilch25:
Just an observation:

I tried this at work on an XP SP3 machine (I installed Framework 3.5SP1) and the software ran, but failed at different spots, sometimes during the file push, sometimes after 2-15% of the filesystem creation.

I went home, threw it on my Windows 7 64bit machine and it ran flawlessly first time.

Perhaps .Net 4.0 is required?
[Galaxy S I9000 Android Development] Chainfire:
Rooting the devices requires some special stuff. I'm not going to bother with that, at least for now :)

Good to hear!

As stated in the first post, I just use all of the folders listed. Only folders that I have personally tested are listed.

As for the image size, it defaults to 75% of the available space on /data. I would at least keep 200mb free.

It's definitely built against the 3.5 framework... not sure about why it wouldn't work right on your SP3 machine, using Win7 x64 myself here as well.
[Galaxy S I9000 Android Development] Chainfire:
1.20 will soon be released, with JP3 support (just flashed and tested). It's not as fast on JP3 as on JM2 (according to Quadrant), but I guess that's because of other things.

Also I just noticed how when this (or any, probably) lagfix is running the system is sooo much faster if you're trying to

add

5 exchange accounts syncing for 30 days. Whew.

EDIT:

1.20 released!
[Galaxy S I9000 Android Development] YellowGTO:
Wow.

Damn this works great Chainfire. Best on so far. Keep up the good work.

Subbed.
[Galaxy S I9000 Android Development] emelie:
just used 1.20 on my sgs european after a jm5 flash

-> worked flawlessly!

Quadrant 2195
[Galaxy S I9000 Android Development] veenone:
I found another issue in my phone, when i connected my phone to windows using usb debug, it didn't recognise the internal sd card. When I unplugged my sgs, the sd cards doesn't recognised just like my first issue :S but after I rebooted, once again the sd cards are recognized once more..

I Think its better to slap new firmware into my sgs and rerun the patch using version 1.2 :|

Btw you're very fast mate, 2 version update in just under 6 hrs :D
[Galaxy S I9000 Android Development] Aquario79:
Rebooted and more of the same. Output is as below - hope it helps.

[ code ]

# Filesystem 1K-blocks Used Available Use% Mounted on

tmpfs 166704 0 166704 0% /dev

df: /mnt/.lfs: Function not implemented

tmpfs 4096 0 4096 0% /sqlite_stmt_journals

/dev/block/stl9 282432 249220 33212 88% /system

/dev/block/mmcblk0p2 1963952 85872 1878080 4% /data

/dev/block/stl10 130280 1076 129204 1% /dbdata

/dev/block/stl11 30792 40 30752 0% /cache

/dev/block/stl3 6064 4104 1960 68% /efs

/dev/block//vold/179:1

14086752 82240 14004512 1% /sdcard

[ /code ]
[Galaxy S I9000 Android Development] Bhonka:
What advatages does this have over RyanZA's one click fix 2.0?