yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 General] RyanZA:
Okay, so I have this working fine now!

Basically, it's the voodoo lagfix without the custom kernel (woohoo).

On the internal sd card, you have the following:

2GB RFS data partition

6GB (or 14GB) FAT32 /sdcard partition

What you have after this method:

2GB RFS data partition (sadly, completely wasted)

4GB (or 12GB) FAR32 /sdcard partition

2GB EXT2 data2 partition

/data/data, dalvik-cache, app, etc are then all symlinked over from /data to /data2

And it works awesomely so far! :)

I'm going to play around with testing it more, and then maybe today or tomorrow I'll be releasing a guide on how to do this yourself (maybe as an adb script)

If that all works out okay, I'll have a version inside the OCLF app within a week, time permitting (I do have a job!).

So yeah, if you don't like the custom kernel, or can't use a custom kernel - you will have the complete lagfix too! Stay tuned! :)
[Galaxy S I9000 General] hardcore:
AWESOME! Awesome!

Just wondering though, why can't the RFS partition be reformatted to EXT2 instead of resizing the Internal SD?

And also, hopefully it's safe to remove this and get back our full-sized Internal SD. :)
[Galaxy S I9000 General] RyanZA:
This could probably be modified to resize RFS, but I haven't tried it yet. I went with modifying internal SD for now, since it makes it easier. :)

When you remove the fix and reboot, the stock kernel will destroy the EXT2 partition and make it back into FAT32 with extreme prejudice. It's barely hanging in there as it is! ;)

I'll have the guide for advanced users up in a bit!
[Galaxy S I9000 General] distortedloop:
Giving up 2GB (up to 1/4) of your internal memory to NOTHING is awesome?

2GB of dead storage?

Huh....?

:confused:

I think a custom kernel flash-able from either Odin or Update.zip is a far more reasonable solution than that, but that's just me...
[Galaxy S I9000 General] RyanZA:
Custom kernels just plain aren't as good as the stock Samsung kernels. As always, it's a choice. :)

I have more than enough space on my external SD card. If you don't, then use the custom kernels. They're already there. Most people (outside of XDA) don't seem to want to use a custom kernel though, so alternatives have to be made. ;)

Plus, the 2GB isn't any sort of limit. You can choose to use 512mb if you don't have many apps, or 10GB if you really like your apps. ;)

This fix probably will make the SGS the device of choice for people who want stupid amounts of apps, imo.
[Galaxy S I9000 General] distortedloop:
I'm not sure I agree with your first statement at all, some might say they're better! But it's not worth arguing about.

I have 16gb internal AND 16gb external (class 6) and believe me, I have no problem using up all the space they give me. Videos, music, nandroid backups, podcasts, large photo galleries, etc. My 32 gb iPhone always ran almost full as well. I'll get a 32gb external once the Class 6 or higher are reasonably priced/available.

Most people (outside of xda) have no idea what a kernel is, or probably even that their SGS is laggy or that it can be fixed if it is, so that's a specious argument, imo.

Anyways, good to see you still trying to fix the phone with your own twist on things, I just don't get some of the paths you take to get there, though, especially when you're so cavalier about tossing out a large chunk of storage! ;)
[Galaxy S I9000 General] RyanZA:
Okay, maybe 'most' is a bit of the wrong term. As far as stats go though, the number of people trying out a lagfix through the market vs people here on XDA is a good 100:1 ratio, or more.

Anyway, you're welcome to change it around to use /data instead of /sdcard. I haven't had time to try it yet. Plus you're welcome to use a kernel mod on the devices and firmwares that support that. But I can assure you, there is a big demand for this type of fix. Most notably, my demand for it. The rest of you just get it as a side effect. ;)

If you don't want it, I guess I can just keep it to myself though. :)
[Galaxy S I9000 General] distortedloop:
Anything on the Market has a much larger audience than something on xda, and even more so than something in an obscure irc channel. My mother can find stuff on the market... xda is much geekier, and a much smaller audience, obviously, so that kind of numbers comparison is irrelevant.

It's like saying that Gallo wine is best because it has huge sales number in the US. It's got huge numbers because it's low cost and in every store you walk into. It's certainly not the best, and not better than some private label that's sold in exclusive wineries despite market penetration.

MacDonald's sells more hamburgers than anyone else in the world because they're easy to find, not because they're the best tasting, or even the most healthful for your system, burgers.

Heck, that's the same kind of logic Apple uses. iPhone and iOS are best because their numbers are (for now) so much larger than Android. :eek:

;)
[Galaxy S I9000 General] hardcore:
Eagerly awaiting your new lagfix!

Not only will you be able to make it a "one click" style fix but ext2 might be faster at writes than ext3/ext4 and put less wear on the flash, since it has no journaling.
[Galaxy S I9000 General] wliu88:
CFlagfix very good i'm using it.
[Galaxy S I9000 General] MZWiZard:
I like this!! :cool: Combined with the 1.2GHz oc (hopefully) then it will be the best!
[Galaxy S I9000 General] xtrememorph:
Does this mean, this will work on JPC?? Awesome!
[Galaxy S I9000 General] AdamDowning:
The OCLF.apk doesn't work in the market for me, so I had to use the updated version here. Thats on JPH. But I don't experience any ''major'' lag problems with the SGS, but then again, my SGS doesn't get to see many apps, if I don't like them, I make sure I uninstall them right away!
[Galaxy S I9000 General] Seifer1975:
Frankly speaking, There is a much simpler solution to fix the lag. From the beginning, I have never had any lag problems. I have tried ryanZA's one click fix, voodoo fix but every time I uninstalled them, I can't tell the difference.

I realized the "fix" is actually this habit I brought over from my winmo times; I soft reset my phone everyday. And this fundamentally helps the phone stay fresh. Sometimes when I forget, I do feel the phone slowing down the next day.

I find it strange that ppl go to such lengths to solve a problem that can be easily resolved with a simple 30s reset everyday.

Before you diss me, try it for yourself first.
[Galaxy S I9000 General] jeanveupas:
:eek: restart my phone each day ? no way...
[Galaxy S I9000 General] xtrememorph:
haha.. i guess i just not into shutdown and reboot everyday .... JPH with OCLF 2+.. current uptime 37:31:59

not using build in email other than gmail, use touchdown for my exchange email

not using wifi using GPRS with 30GB limit

also.. i'm addicted to rooting the phone and install different firmware and try different solution.
[Galaxy S I9000 General] vud911:
Strange. I can always tell when there's lag without the lagfix. That's the reason I wanted one and research the issue (without knowing about it to begin with).

Do you have a lot of apps?
[Galaxy S I9000 General] Seifer1975:
I have about 100 installed apps.
[Galaxy S I9000 General] AdamDowning:
Meh I don't like to reset my phone every day. I think the LagFix'es do help though. Especially with the launching of applications.
[Galaxy S I9000 General] Seifer1975:
Ha ha. I guess it has become my routine after so many years of winmo. I usually reset first thing in the morning after I take it off the charger.
[Galaxy S I9000 General] Val3r10:
Why don't switch it off before charging, and take it on in the morning ?

I guessed this was the canonical procedure, as the battery doesn't survive the late evening... ;)
[Galaxy S I9000 General] distortedloop:
Not gonna diss you, but that's old news. New rom, new boot, the phone always feels snappy for a short period of time. That's the standard retort to people who say "I think such and such firmware fixes lag"; wait a day or two and see if you feel the same. ;)

You're on a *nix type device now, not Windows, totally different beast. :cool:

Why am I not surprised that a Microsoft based product needs a daily reboot? LOL. My iPhones used to go months without a reboot, my Nexus One goes months without a reboot, I'm not going to be satisfied with having to reboot my SGS, but if you are, more power to you, it is simple, safe, and quick. Nothing wrong with that!

I posted in another thread that I thought the best lag-fix for non-geeks would just be to use the latest firmwares that have been leaked. They're not bad, even without lag-fixing, for a day or two. Someone like you willing to reboot that often shouldn't have any issues with those.

I think someone in that category would be well-served to at least use AutoKiller or MinFreeManager (not any other "task killer - these two operate differently) and set the settings to strict or aggressive. Simple, painless, free, and vastly improves lag/slowdowns.

Other easy fixes for those in your category are turning off all the animations and stuff in the launcher. Cosmetic, slow your phone down wastes, in my opinion.

Still, with all of those above, you can't get around the freezes that the SGS experiences when heavy i/o is done to the internal rom space, such as Market download and app installs. Again, if you find those acceptable, there's no reason to lag-fix.

If you can't tolerate that stuff, lag-fix is a must.

Additionally, if you're all about getting the most performance out of your expensive super-duper hardware smartphone, then an additional consideration is that all of the various lag-fix methods do more than just remove lag, they definitely speed up the "feel" or "snappiness" of the phone (real-world feel, not just benchmarks).

I wouldn't force lag-fix on anyone, but I've gone from hating my SGS to loving it since using voodoo.

For those who missed it, dkcldark has a new voodoo inspired fix that uses stock kernels; sound intriguing.
[Galaxy S I9000 General] hardcore:
I also think that getting Android to free up more RAM using autokiller or minfreemanager, with the newer ROMs effectively fixes most of the lags. I use 60/70/80 settings which keeps around 70M RAM free.

And also, tweaking the io scheduler can improve io lag too - I've been testing CFQ with low-latency (Samsung disabled low-latency by default!), deadline and anticipatory. They are all better than stock CFQ no-low-latency. Right now I'm leaning towards anticipatory.

For the filesystem lagfix, I'm running a custom Voodoo-like script which uses an ext2 partition on the external SD and it's fast and stable (with JPH firmware). I'm going to try going back to the RFS partition with different io schedulers and see if its still laggy or not.
[Galaxy S I9000 General] Seifer1975:
I guess my point is that I cannot understand why are people so turned off against the idea of a reboot. I mean c'mon, it's only a phone, not a server. People seems to have the idea that you have a better phone if it needs no restarting. I cannot comprehend ppl would rather risk all these fixes, risk bricking their phones, but steadfastly refuse the simplest, safest solution staring at them. To each his own, I guess.
[Galaxy S I9000 General] dwillMUFC:
Personally i think the real problem is touchwiz..

With launcher pro my JPH flies bye !

Dan
[Galaxy S I9000 General] Val3r10:
Have you removed TouchWiz at all, or simply replaced the home button with LP ?

If so, how did you do in a stock (unofficial) kernel ?

Thanks
[Galaxy S I9000 General] distortedloop:
Yep, the newer firmwares definitely seem to have something different that affects lag. Perhaps when the source is released for them, some sharp dev will figure it out? By then, no one will care, I'm sure; we'll all be on to FroYo. LOL

I've gravitated towards noop on the scheduler. Honestly, once voodoo'd I don't see any difference with any of the schedulers selected. Rumor is that noop is easier on the battery, but that's another one where I think I'm just chasing shadows at this point.

Isn't that essentially the "mimocan" method (which I also call the apps2sd method)?

I read some benchmark on a linux geek's page where he tested various filesystems on his linux machine running off a bootable usb-stick. NILFS2 was the clear winner in i/o on small files, but he updated with some "issues" he had to address with custom scripts. It's fascinating to see the debate over ext2/ext4 have a new arguing point (NILFS2). ;)
[Galaxy S I9000 General] distortedloop:
Well, first, maybe you missed the last paragraphs of my response to you...

A reboot does improve performance, but there's just certain forms of lag that exist even just a few minutes after a reboot. It's these annoying situations that drive (me) to seek a real and permanent lag "fix". If you don't mind the phone freezing while you download more than one app or file, or freezing while you install an app, or freezing on wakeup while trying to answer a call, you have a much higher patience level than I do. ;)

I also think that rebooting the phone is just a daily task, that while quick and simple, is just another thing to remember to do, that I shouldn't have to do, and don't want to have to do. I acknowledge that I've spent far more time futzing with this than rebooting the phone the rest of my life would ever have taken, though. /sigh This leads to my next point...

As far as your comment "I cannot comprehend ppl would rather risk all these fixes, risk bricking their phones, but steadfastly refuse the simplest, safest solution staring at them" is concerned, you're totally speaking to the wrong audience.

This is a geek forum. It's frequented primarily by devs and power users who live and breathe their phones. We want the mostest, bestest, fastest performance out of the devices that can be gotten. We didn't plop down $600+ for a phone with the best hardware specs on the market (still) to just complacently sit back and be satisfied when it runs like our old Palm Treos from five years ago did. We want this expensive hardware to live up to its full potential, and frankly, having to reboot it daily doesn't fit into that potential. I never had to reboot other *nix devices daily to get them to perform decently, I'm not going to accept that for the Galaxy S.
[Galaxy S I9000 General] RyanZA:
Personally, I do it because it's like a complicated game.

Samsung has released good hardware, but put easily-hackable software with obvious flaws into the device. The mistakes are so obvious, that they must be put here on purpose!

The challenge: Fix up all of the mistakes made by Samsung. Bonus points will be awarded based on user friendliness!

I think we have the filesystem fixes down pretty well now.

Voodoo kernel for people who like to tweak their kernels.

NILFS+stock kernel for people who want the stock kernel, with voodoo benefits.

Native EXT2 with stock kernel (this one is almost there now) for people who want to have a 'pluggable' lagfix that runs on anything, including Froyo/Captivate/Whatever.

I think what we need now is another bounty thread, but this time on getting us more of that 512MB of ram away from the ramdisk! Should be possible, maybe even by just removing some of touchwiz. :D
[Galaxy S I9000 General] dakine:
RyanZA, you have been such an asset to this community. Thanks for all your efforts.
[Galaxy S I9000 General] xmonkee:
lol @ RyanZA

Basically,we love the smell an almost bricked phone in the morning :)
[Galaxy S I9000 General] distortedloop:
Right, 'cause you're a geek and a dev. We love this stuff (usually).

Someone who thinks it's too risky and accepts a daily reboot and occasional freezes as an acceptable user experience probably doesn't share that feeling. ;)
[Galaxy S I9000 General] distortedloop:
Speaking of bounties, I really think curio_ deserves to be paid off from the lag-fix bounty thread by those who pledged. Just sayin'...
[Galaxy S I9000 General] RyanZA:
That is their loss! I feel sorry for em! ;)
[Galaxy S I9000 General] xtrememorph:
thanks to RyanZA all in one App.. my JPH now only need to use one app for speed improvement.. currently running more than 91 hours without reboot and it run great.
[Galaxy S I9000 General] nCoder:
JM2 - no lag?

Hi Guys

Just wanted to share my experience with JM2.

Today, finally upgraded my SGS via KIES to the official/recomended ROM JM1/JM2 from JF5/JFB.

After reboot Had a lot of problems LAG, FC, crashes, .... (even had to remove the battery once!!!)

So I WIPED everything and after restart installed my previous applications (~80) Thanks to AppBrain ;)

I didn't ROOT nor applied any Lagfix, but the phone is totally responsive, with NO LAG at all. Market is faster that ever, browser, and all apps.

I have this app SeePU that shows the CPU and memory usage in real time. Previously, the CPU bar frequently went 100% even not doing nothing and killing all applications. Now, even the most demanding applications rarely go to 100%, and as expected if I don't do nothing the processor stays low...

The battery life is improved.

Quadrant 900p;

LinPack 8.7 MFLOPS;

NeoCore 55.8 FPS

Anyone else shares the same/similar results after Formating and WIPING everyting?
[Galaxy S I9000 General] anonymusneo:
even my i9000 with stock version firmware 4

i dont have lag issues ..

i have an app called advanced task manager .

i kill apps after sometime.

and before placing phone into idle status.

my fully charged battery now last's for 2 day's :)
[Galaxy S I9000 General] distortedloop:
Be more specific as to what stock version firmware 4 is, please.

Manually killing apps is generally not considered a good thing for users to do on Android.

Newer firmwares seem less laggy, and non-heavy users probably don't need lag-fixing for the average user. If you can go two days on a single charge, I suspect you're not a heavy user. I have never gotten more than a full waking day (16-18 hours) out of any smartphone (iPhones, all models, Nexus One, EVO 4G, Galaxy S with or without any lag-fix).

Battery life is such a YMMV thing that it's really almost pointless to discuss it on these forums unless you're willing to give a thoroughly detailed breakdown of everything you run on your phone and everything you do minute by minute on it. ;)
[Galaxy S I9000 General] RyanZA:
Not sure I agree with this. I'm a pretty heavy user of my phone, and I'm sitting at 58% now after 20 hours since last charge. This includes push gmail, push IM, screen timeout set to 2 minutes, fairly heavy browsing/emailing during the day, as well as XDA, engadget and BBC checking every few minutes. Using the water ripple live wallpaper, plus a bit of maps usage during the day. Only 2 phonecalls today though. Screen brightness set to auto. Connected to HSDPA the whole day too. I think I even played a bit of angry birds.

This is with JM8 stock kernel, and the NativeEXT2 lagfix, plus some tweaks to schedulers, and minfree set to strict. The phone is pretty fast too, with 1950 quadrant and pretty much zero lag when installing apps from the market.

Basically, this phone is AWESOME imo. :) That went off on a tangent.. uh.. anyway..

I'd just like to say that I do get 2 full days of fairly heavy usage out of my phone, so it is very possible. Lots of others manage this too.
[Galaxy S I9000 General] distortedloop:
"Not sure you can agree..." LOL, dude, I respect your work, but it's pretty clear in numerous threads that you and I don't agree on much at all! ;)

Did you even read my last paragraph? It's too much a YMMV thing on phone use to have any kind of meaningful and intelligent discussion over, in my opinion. I've seen people drive themselves absolutely nuts in iPhone, Nexus One, EVO, and Galaxy S related forums over trying to get the same battery life some other self-proclaimed "heavy user" that gets 40+ hours out of a single charge gets, when there's no way in hell they have any kind of similar conditions of usage.

On top of an infinite number of variables with apps used, widgets running, push/not-push email, screen brightness settings, stock SMS vs Google Voice, notifications vs no notifications, music player used or not, BT, WiFi, Sync, Location Service, etc, etc, etc, etc, we also have the issue of how good the cell service is where you are.

In my home, it's iffy to get 3G on AT&T, so the phone flops between EDGE and 3G when I'm there. In my office near the airport, it's solid H on the 3G side all day long. In my satellite office in another part of town, it's hard to even get an EDGE signal. Even in my office near the airport, it seems weather can affect the normally strong 3G signal. Obviously my battery varies wildly just depending on where I am as the radios keep switching and search for signals.

Unless you can say you have the exact same settings on your phone, and used it the exact same way, under the exact same radio reception conditions, you can't make anything other than a "feels like" type "it's better/worse" estimate of your phone usage vs someone else's, or against one firmware or mod vs another, until someone comes up with a logging system that precisely and without bias measures every single aspect of the phone and its battery drain for testing purposes.

Obviously, I am a heavier battery-draining user than you are: I have multiple phones, on multiple carriers, and none of them that are my primary-use phone for the day make it through a full day on a single charge under normal usage for me. It's cool that you can go so long on a charge. I currently can't. It's nothing to do with which version of the firmware or lag fix I use, it's the way I use the phone and the area I use it in.

I'm sure you'll find a way to disagree with all that...LOL...I look forward to reading it.
[Galaxy S I9000 General] RyanZA:
I disagree with everything you just said!

Hahah, no just kidding. You did say "If you can go two days on a single charge, I suspect you're not a heavy user." which I just don't feel is correct! Mine seems to go two days on a single charge (well, when I'm not playing asphalt or something for 3+ hours... ;) ). I did only manage about 3/4s of a day of the same use using custom kernels though, so I do think it's a factor.

I'm pretty sure a 'light' user with 3g turned off, and push turned off, could easily get 5++ days on this phone.
[Galaxy S I9000 General] distortedloop:
LOL.

It's semantics, I define "heavy" differently than you do; others define it differently than either of us. It's also the biggest frustration for those who feel like they have bad battery life - Joe thinks he's a "moderate" user, when in fact he's not, by most people's standards, he's a "heavy" user - and Joe goes nuts because he gets half the battery life of someone who claims to be a "heavy" user but is in fact a "light" user.

Battery life has to be the single most frustrating (and misunderstood) issue on smartphones in general, unless you're an SGS owner with lag.
[Galaxy S I9000 General] RyanZA:
Okay that's it! We need to define heavy once and for all! And you just volunteered!

... Tell me when you've got it defined! ;)
[Galaxy S I9000 General] distortedloop:
My ex-wife.

Do I get a bounty for coming up with it so fast?
[Galaxy S I9000 General] RyanZA:
Ahahahah!

Win. :)
[Galaxy S I9000 General] DSF:
http://www.samsung.com/us/article/galaxy-s-smart-phones-with-superior-speed

LOL! You can leave comments in that page, Samsung should know better how frustrating is when the phone lags a lot.
[Galaxy S I9000 General] cantIntoCode:
LOL, thanks for the laugh :D
[Galaxy S I9000 General] lubu21:
I dont suppose your phone doesnt display any form of sluggishness when ur toggling between 5-6 apps switching in and out of home screen without lagfixes :D

But if it does its wow :eek:
[Galaxy S I9000 General] Seifer1975:
Nothing that can make me scream. I only experienced occasionally the phone shows a total black screen before launching the app 3 to 5s later. Coming from winmo, this is heaven to me
[Galaxy S I9000 General] evil_fish:
Thank you very much, man!

You really helped me to save a LOT of time to try every lag-fix method. I went for Voodoo straight, and it was brilliant! Thanks agian!