yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] Chainfire:
/system/app could probably be moved, yes. That _might_ conflict with something like superuser update through update.zip.

I'm not sure how much it would change, though (I did move /system/app in my first tests so I know it works). I'm not sure what real-world difference it would make.

Take as an example the "email" app, which is from /system/app. This used to be really slow and laggy without the lagfix (5 exchange accounts, 30 days sync), but now all the actual dbdata+data is moved to ext partitions, it really flies.

I think that when you launch "email" app (for the non-first time) it only checks if the APK is newer then when it has in cache, then actually executes from /data/dalvik-cache. As /data/dalvik-cache is already in ext, /system/app not being there shouldn't matter (except for the first time you use such an app?)

So - at least in my theory, which I'm not completely sure is correct - keeping /system/app in it's original location: (1) does not really slow it down, (2) saves space in /data, and (3) prevents (possible/mostly) conflicts with system updates through update.zip
[Galaxy S I9000 Android Development] BackfireNL:
Ok that clears things up for me :)

But indeed after this lag fix the phone really flies!!
[Galaxy S I9000 Android Development] Calcvictim:
I installed the lagfix and everything is working fine, no FCs, good speed....etc.

One thing I noticed is that Titanium Backup only sees 5 apps installed(accounts, Application Widgets, Bluetooth Pairing, Language and wifi access points). It's almost as if it's not looking in the right place, is this a known issue or is it something with my setup.
[Galaxy S I9000 Android Development] Chainfire:
Not sure, I've dropped Titanium Backup completely as I've had too many issues with it since I have my SGS (even before I was working with the lagfixes).

Perhaps anyone else can comment on this. I am interested where this issue comes from, though.
[Galaxy S I9000 Android Development] Calcvictim:
I reinstalled busybox that comes with titanium backup and it's all good now, thanks.
[Galaxy S I9000 Android Development] XQC:
Your fix is now my favorite among the various solutions.

One exception is that Quadrant only shows about 1500 (I used the ext3 option), though I applied the fix right after flashing JM5, where as other fixes showed about 2200. But when it comes to daily usage your fix seems to be the fastest so far.

Thank you very much for your effort :)
[Galaxy S I9000 Android Development] IDtheTarget:
I may have spoken too soon. I can't install new programs from either the Market or the AppBrain app.

Should I upgrade to 1.80??? I'm a bit nervous about that whole "you may have to reflash" thing...

Thanks,

IDtheTarget
[Galaxy S I9000 Android Development] Vertron:
I was having the same problem. Really weird solution, I logged into my googlemail account and had the option to change it from @googlemail to @gmail, and this seemed to fix it.

By the way Chainfire, i successfully uninstalled v1.70 and installed v1.80 without issue.

One thing that I notice though is on launcher pro I experience some lag when opening the screen preview, but if I close the screen preview and open it again in doesn't lag. Could this be bad coding from Launcher Pro, or is it lag from the Galaxy S?
[Galaxy S I9000 Android Development] fuze_freak:
How much free storage this fix for apps installation ?
[Galaxy S I9000 Android Development] hiperjp:
I applied CFLagFix 1.8 with 1GB size, ext3 partition (for testing), Quadrant score it's 1599 for me.

Regard the apps, all still appears in Titanium Backup. I have the newer one, 3.4.1.

Update: I have tested installing several apps from Market, no issues for me.
[Galaxy S I9000 Android Development] anudewalrus:
Just ran 1.80 in full auto mode:

- Samsung Captivate (ATT)

- H2 ROM (ROM had been on for about 1.5 days)

- Used Unleash the Beast to root/remove bloat

Result?

Worked Great, application on PC hung for a little bit but I just let it keep going and everything took about 10 minutes total.

Got 2127 in quadrant (ext2)

Thanks!
[Galaxy S I9000 Android Development] tkalli:
I am running a rooted stock ROM.

PDA: I9000XXJF3

I am using the CFLagFix 1.60

I have been following this thread closely.

I have stuck with this as I have not seen any reason to

change, based on the posted results of 1.70 and 1.80

My Quadrant Score:

Total: 2296

CPU: 793

Mem: 1920

I/O 7623

2D: 313

3D: 863​
[Galaxy S I9000 Android Development] Relikk356:
Version 1.80. Running on Vibrant.

Everything Installed perfectly, ran great almost no hang-up. Great Quad scores as expected.

Then I tried to download APPS, App downloads completed but icons would not show up in the App drawer. If I reset the phone Market would act like it wasn't there and redownload again. One of the downloads was Heavy Gunner. Is it possible it downloaded to the moded partition? I've since uninstalled 1.8 so I just wanted to let you know for your dev research.

THANKS, the installation interface was really awesome.
[Galaxy S I9000 Android Development] Chainfire:
Quick reply: problem confirmed for Heavy Gunner, but not for a lot of other apps I tried. Will look at the problem when I have the time.
[Galaxy S I9000 Android Development] RaptorFB:
I recently noticed that custom.flipfonts do not work anymore and the default is used instead. I haven't tried the other built in fonts but I assume this is related to installing the fonts via apk or whatever, but I am no programmer- just guessing.
[Galaxy S I9000 Android Development] Bhonka:
Should I run this script before installing samset or after?
[Galaxy S I9000 Android Development] hazamatic:
I ran it after samset. Seems to be fine.
[Galaxy S I9000 Android Development] AllTheWay:
I was never able to get 1.8 to work on my Captivate. 1.7 works great though. 1.8 just hangs on my pc for a long time. Did your task manager show the program not responding?

I am using windows 7 x86
[Galaxy S I9000 Android Development] kappnet:
I have the 1.20 lagfix installed, do I have to uninstall it before installing 1.70 or 1.80? If so can use the uninstall from within the 1.70 or 1.80?

//kappnet
[Galaxy S I9000 Android Development] barthaha:
Thanks!

Just installed the 1.80 on I9000, went from 750 laggish to 2050. Install was quicker than expected 15 minutes.

All the apps tested run faster and smoother (eg: screen rotation is almost immediate with mixzing).

Good job and thanks to the developer! ;)
[Galaxy S I9000 Android Development] mickeko:
This is common to all of these newer fixes, except RyanZA 1.0.
[Galaxy S I9000 Android Development] emelie:
My experience: you have to uninstall, but using the integrated uninstall of 1.60 i needed to reflash because it was broken afterwards.

You could try using the uninstall from 1.70 or 1.80 and post results, that would be great! but don't expect it to run without a hitch
[Galaxy S I9000 Android Development] thang422:
Apps are not install correctly .... Scan to PDf... etc... please help...installed 1.8
[Galaxy S I9000 Android Development] :
+1 I'm using XP x86 with SP2. By the way... the uninstall was done good :D
[Galaxy S I9000 Android Development] kappnet:
Sorry...one silly question, how do I reflash if would need to? :-|

//kappnet
[Galaxy S I9000 Android Development] Likalnik:
Hay, can somebodey tell me what is super user and where can i get him??? Sorry for silly questions
[Galaxy S I9000 Android Development] redbull320:
to germans :

sry leute ich habe ne frage zu der 1.8. version,

kann mir vllt jmd einwenig hilfestellung beim übersetzten geben, weil ich rall leider nichts, kann mir wer bitte einwenig erklären, wieso jetzt grad das !WARNING! da ist?

LG und danke

EDIT: i've ask, if someone can translate it for me, cause my englishknowledge isn't so good :)
[Galaxy S I9000 Android Development] kalpik:
I am super user.. You can get me from my house..

LOL kidding! :) Have a look here: http://xdaforums.com/showthread.php?t=728754
[Galaxy S I9000 Android Development] JonnieCache:
Ran 1.80 on full auto ext2 mode last night, went without a hitch, only took about 5 minutes and one reboot.

I now get ~2200 on JM5 unmodded.

Thanks for your hard work!

Is anyone on the case with modding the whole OS to use ext2 everywhere for all volumes? Surely this wouldn't be hard?

edit: also ive installed some apps since then, the market and everything works fine. Also i installed using windows 7 32 bit.
[Galaxy S I9000 Android Development] Likalnik:
hehe i found it and works great...thanks
[Galaxy S I9000 Android Development] kappnet:
YES!

I ran the 1.80 uninstall. Ran it again and installed the lagfix in full auto mode with ext2.

Tested it out with Quadrant...WOW I got results that where almost 250% better!

Great work! Thanks a lot chainfire for an excellent fix!!

:D /kappnet
[Galaxy S I9000 Android Development] Darkyy:
A big 'fat' thanks ;)

Hey Chainfire... :rolleyes:

THANK YOU SO MUCH! you're the man. ;)

where to donate?

//edit

donated ;)
[Galaxy S I9000 Android Development] Chainfire:
- Found the issue with Heavy Gunner (finally an app I can actually fully reproduce the problem!) hopefully I can issue an update tomorrow, if not, it'll be > 2 weeks

- AllTheWay's Captivate problem with 1.80 - no clue. Please tell me in as much details as possible what happened _exactly_ . Also, please copy/paste output of "adb shell" > "su" > "toolbox ps". Does 1.80 work for other Captivate and/or Vibrant users ?

- Different fonts, no time to try it out ptobably
[Galaxy S I9000 Android Development] junglist1996:
Installed the 1.70 fix last Friday after applying the ZSJG4 ROM and everything has been running super smooth for a few days now. I only used 1GB for the partition and seems to be working ok.

Thanks Chainfire for your awesome work!
[Galaxy S I9000 Android Development] XQC:
Ok, yesterday "it" happened.

When I simply turned the SGS off and then on again, after the boot all applications made a FC. I tried several reboots, but it didn't help. I couldn't access anything. It seems to me that the ext3 image wasn't accessible anymore.

I didn't know any other way then reflashing... fortunately I had a recent Titanium Backup.
[Galaxy S I9000 Android Development] Chainfire:
Hmm, the more I think about what's going on, the issues that are still there with the various lagfixes, etc, the more I think we're just not doing this right at all.

I've been playing with some fixes to various issues (the private market apps like Heavy Runner, free space display, maps, db's) and every fix in one place breaks something somewhere else. This started me thinking again about what/why/how we are doing things.

The opinion is starting to grow on me that we should not move apps at all. Most of the real-world speed gains are attained when putting data in the ext partitions. For the apps themselves, the executables are thrown into dalvik-cache as well. The only thing that really remains non-ext are the APK's assets, but those are only read and never written and thus shouldn't really suffer from lag so much.

Now, this is just theory, I am running like this myself now (and seems snappy to me and no issues so far), but if the installation is done as follows:

- ext: /dbdata/databases

- ext: /data/data

- ext: /data/system

- ext: /data/dalvik-cache

- non-ext: /data/app

- non-ext: /data/app-private

- 512mb image

There are no issues with app installations (private / non-private / early-load), all non-asset data still ends up in ext and is thus fast, cached executables are still in ext (and usually loaded from there), and databases are also still in ext.

Drawbacks are that apps-firstruns are a bit slower and asset loading is a bit slower, but the positive side, I think is: less issues, and "free space" showing by system is actually somewhat sane.

In some cases, like games, this may be slower (loading) than putting everything in ext. For games that store all their imagery and such on SD card and normal apps (which usually have a many chunks of data, where each chunk is relatively small) this should bring the best of both worlds.

Right now I'm thinking the layout described above may actually be optimal above all others configurations tried.
[Galaxy S I9000 Android Development] frankencat:
Isn't this the thinking behing the original Paul C "method 1" lagfix? I thought that ran the smoothest of them all but it had that 130mb data limitation.
[Galaxy S I9000 Android Development] Twyker:
Hm i dont get it :/

I got 1700+ on Quadrant with JM5 + Samset 1.9e + the Ext4 SD Lagfix

Now i'm running JM5 + Samset 1.9e + CFLagFix and i only get about 1400 :confused:

Doesn't really matter if i use Ext3 or Ext2 :/

What am I doing wrong ?
[Galaxy S I9000 Android Development] alexandruvlad:
Doesn't work for me ....

I get the "Is your phone rooted and do you have SuperUser installed" - message , although my phone IS rooted and SuperUser is installed , clearly

What to do ?
[Galaxy S I9000 Android Development] Twyker:
Had the same issue - you just need to have the phone in "wake" mode, so no lockscreen whatsoever.

Start the program and the SU prompt pops up on the phone ;)
[Galaxy S I9000 Android Development] alexandruvlad:
Oh yeah,man! Thanks a bunch , surely worked !

If you remember well - how long does it take ? :)

Whole install operation...i mean
[Galaxy S I9000 Android Development] Twyker:
'bout 20 - 30min. I guess, so kick back or do somethin else ;)
[Galaxy S I9000 Android Development] alexandruvlad:
Well , seems to be finished now :D

How do i test its power ? :D

Quadrant benchmark ?

Edit : Did a bench and got like 2100+ of a score..

Is that good or ... bad ?

Score before lagfix was 880 - around that...
[Galaxy S I9000 Android Development] masr1979:
I'm using 1.80 on a Vibrant with anomalous3' deodexed rom, jac's OC kernel, using ext2. No problems so far, though I had to uninstall the lagfix at one point to install Zenonia, NYTimes, Deathride because they would not install properly; however, I uninstalled the fix, installed the apps, reinstall the fix and everything's working fine now.
[Galaxy S I9000 Android Development] Danthuyer:
First time reader + poster here guys

Had a good read up on this and am proud to say it went well for me

FYI this is on a brand new Galaxy S GT-I9000 running 2.1 Eclair I9000DTJG3

- ran Quadrant (874 score)

- rooted phone

- backed up with titanium

- ran CFlagFix.exe (1.8 version)

- selected auto mode /ext2

- let it do its thing ~ 10 minutes

- ran quadrant once install complete (1327 score)

- rebooted phone manually again

- used Advanced Task Killer to remove any open apps

- ran Quadrant (2144 score)

Once happy user here ! GREAT WORK GUYS :D
[Galaxy S I9000 Android Development] }{Alienz}{:
Just used 1.8 on my rooted Samsung Vibrant (Stock ROM).

Simple instructions, really CLEAR-CUT install application, automatic app and data move to the new system, just perfect. I didn't have to do ANYTHING really. LOVE how everything was automatic and worked flawlessly. Whole operation took about 10 minutes with the phone rebooting multiple times. After it said done, it rebooted into Android and EVERYTHING was like it was before the lagfix. Apps were there, widgets were working, everything :)

A very happy user. Hopefully it stays working.

Quadrant score of 2100.
[Galaxy S I9000 Android Development] designerfx:
man, 1.8 took a while - stock w/root, but as Alienz says is correct. nice and smooth.
[Galaxy S I9000 Android Development] redbull320:
i've the same. Problem :-/
[Galaxy S I9000 Android Development] manniakk:
BUG: You cant change the fonts. it is stuck on the default fonts, i will try other lagfixes and report if they work better

UPDATE: If i uncheck dbdata on your lagfix font changing works :)
[Galaxy S I9000 Android Development] mirceal:
Hi,

I installed it(ext2) on BUJG1 and it's working perfect. Quadrant 2200 from 800!

Mircea
[Galaxy S I9000 Android Development] alexandruvlad:
I have a question - does the firmware version also matter?

I mean , if you have an old / stock firmware and update that to something more recent (JM2 or JM5 ) - could that improve performance?

Greets !
[Galaxy S I9000 Android Development] frankencat:
I just uninstalled Ryan's 2.3 and then re-flashed from a previous clean backup. I am going to try your fix and config right now.
[Galaxy S I9000 Android Development] frankencat:
Well it seems to be working but I get the red "Low on space" icon in the notification bar. Do I need to re-size the partition?

Also when it starts up I get a popup box that says null|null with an ok button.

I think I am going to uninstall and try the full auto install....

Edit: Nope same thing with auto settings.

Edit: Upon uninstall it resets my phone settings for things like lock screen and sounds. Messed up my ring tones too. Seems like it needs some more work.

Edit: I also have no more 3G connection. This thing has hosed me pretty good. Time to re-flash and start fresh.

This is on a Tmo Vibrant with stock rooted ROM.

Thanks for trying. Back to Ryan's.
[Galaxy S I9000 Android Development] redbull320:
deletet :)
[Galaxy S I9000 Android Development] dagrim1:
Noticing a number of forced closes and incorrectly installed apps (like appmonster)...

Don't know if it's the cause of this fix, but haven't noticed them before... Might reflash and try something after the weekend.
[Galaxy S I9000 Android Development] Calcvictim:
I just installed appmonster, it works fine. I suspect something went wrong with the lagfix install.
[Galaxy S I9000 Android Development] dagrim1:
Hmmm, thanks for the msg... Weird though, everything seems fine. Which firmware are you on (JM5 here) and did you install everything as default?

Btw, can't connect to Kies either... (USB Debugging disabled, when enabled I get a msg in Kies that I have to select Kies-mode. When disabled it doesn't detect my phone at all).
[Galaxy S I9000 Android Development] Calcvictim:
I have a Samsung Vibrant running stock firmware, have you tried ADB...does it connect?
[Galaxy S I9000 Android Development] xedamen:
I have an europan Galaxy S with pre-rooted JP3, and when i ran the 1.8 version and when i clicked to "install" It's writing that operation failed or something like that. Any idea ?
[Galaxy S I9000 Android Development] Calcvictim:
Since chainfire's program installs it's own busybox that is not an issue, I would double check to make sure that the ROM is indeed rooted. You can do that by installing either titanium backup or Astro and when you run the program for the first time see if the SU prompt pops up on the phone.

Besides that you can connect to ADB and run "busybox df -h", post the output her or PM chainfire to see if he has any ideas.
[Galaxy S I9000 Android Development] coggster:
Well I've tried this fix and speed rise everything is great. The only issue I seen to have is that done apps don't instal properly. I get a com.app icon instead of the correct app icon and if I try too open the app I get a fc. I check the market and it thinks the app is installed, trying to open the app from the market also gives a fc. A little annoying, it isn't every app, just a selection of 5 or so.

Does anyone have any idea of a work around? If so could you word it in an easy to follow manner like this lag fix please?

If there isn't anything I might try one of the other many lag fixes out there. Shame though as every thing else about this version us excellent. Thanks for the hard work.
[Galaxy S I9000 Android Development] anudewalrus:
Yes I get this on a couple too (off the top of my head, one of the calorie counters did it)
[Galaxy S I9000 Android Development] BabyBoi.JN:
Had the same problem with the fonts. Tried your fix and it worked. But I lost about 200 points on Quadrant. Still not bad though... went from 2200+ to 2000
[Galaxy S I9000 Android Development] ryisamu:
Hi all, I just flashed to official G4 ROM through Kies after getting my Galaxy S and run this lagfix, it's working great! However, I noticed much faster battery drain, is this normal? or is it because of the ROM?
[Galaxy S I9000 Android Development] maopaopao:
ZSJF7, lag fixed with cflagfix 1.7 for 1g. It was ok for 4 days. But the machine auto matic restarted this morning and can't access sms now?
[Galaxy S I9000 Android Development] dale_cooper:
Eugene's vibrant6 rom + this lag fix = 2313 quadrant score! For some reason ryanza's oneclick didn't work for me with vibrant 6, thanks chainfire!
[Galaxy S I9000 Android Development] chodemickey:
This kind of worked for me too. It kept the font I had installed when I ran the lag fix install, but I still can't change fonts. It just stayed on the font I had set instead of reverting to the default font.
[Galaxy S I9000 Android Development] achild:
You actually got it to work on vibrant6? i tried every other option but none of them worked and was looking into this one. So this one actually works huh? did u run 1.7 or 1.8? and did you do anything differently than what the instructions recommend?
[Galaxy S I9000 Android Development] achild:
I get operation failed at: -Checking for mount success

any ideas?
[Galaxy S I9000 Android Development] achild:
BINGO!

To answer my own question for anybody else that runs into it...Restart your phone and try again after phone finishes loading...this did it for me.
[Galaxy S I9000 Android Development] BabyBoi.JN:
Yea... You're right. I tried to change to another font after I read this and it wouldnt let me change it. Seems the dbdata forces it to default font, but if you uncheck, the font stays where it was before the fix.
[Galaxy S I9000 Android Development] chluk2425:
Thanks

Just applied the fix, flawlessly and now Quadrant Results 2023 :D everything becomes very smooth :D thankss:D
[Galaxy S I9000 Android Development] th3condor:
with Galaxy i9000 and i want understand better this application for lag fix.

Sorry guys... i'm NEW with Galaxy i90000 and i want understand better how this application word and how wnat you need for make it working good.

1) it is working on internal or external memory ?

2) if is on external i need before create with linux a partioton on my sd card ?

3) i upload my om, latest make lagfix and latest i recover my applcation and my data with titanium is ok ? or i can before recevory and later apply the lagfix ?

next.. when you put a new application on the phone this go directly in to this partition ? or you need to make something more... sorry but i'm little bit confused

:D
[Galaxy S I9000 Android Development] DonDragon:
thnx for this i got with the ext 2 2280 in qaudrant
[Galaxy S I9000 Android Development] balenax:
1. works on internal partition;

2. the fix does everything by itself, just press the button :), no need to create partitions or anything before you run it; the apps go to the partition it creates at installation;

3. you can apply it whenever you want, before or after restoring.
[Galaxy S I9000 Android Development] Asdain:
works fine!

newly flashed official JM1 + this = 2313 Quadrant... nice! :cool:
[Galaxy S I9000 Android Development] stluciasound:
Dear CF,

It seems your 1.80 do affect I9000's font. I couldn't change my font at all.
[Galaxy S I9000 Android Development] phydoux:
Just wanted to quickly report that I used version 1.80 to uninstall the previously applied LagFix (I used 1.70 for that) and the uninstall worked just fine too.

The reason I uninstalled was because I wanted to be sure my phone was as close to stock as possible in anticipation of an update from Samsung in September. So for now I'm only rooted - no other modifications to my phone. Eagerly waiting for updates.
[Galaxy S I9000 Android Development] :
Hi guys

I have two problems with the 1.8 version of this fix.

First: I cant install apps in apps-private. It seemed to be installed, but everytime i start the app it crashes.

Second: The Rom Managers Nandroid backup doesnt work. It always stuck at image.

Hope u can fix it Chainfire.