yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] Tayutama:
finding it quite boring to play... :(
[Captivate Android Development] Zilch25:
Doh- maybe it's just slow at starting levels? Guess I'll found out soon =P
[Captivate Android Development] Tayutama:
Ok about to test the last few things like remove and that :)

if it works you can have fun bricking your phone ;)
[Captivate Android Development] Zilch25:
I'll be out of the house for the next couple of hours probably, but I'll keep checkin in!
[Captivate Android Development] Tayutama:
hmm have a few problems with my removefix.sh... or more like with userinit_remove.sh which gets rename to userinit.sh by the script...

all the stuff in it gets ignored on boot...
[Captivate Android Development] Tayutama:
Here is the test version Zilch...

If other people download this then please report back if you get any bugs..

Thanks

/me is off to bed...
[Captivate Android Development] gotfolk:
out and about right now will try to get a chance to test this tonight
[Captivate Android Development] Zilch25:
Just got home, I'll give it a shot :)
[Captivate Android Development] Fortune090:
Yay! I like being a test dummy! haha
[Captivate Android Development] Zilch25:
Hmmm getting:

df: /mnt/.lfs: Function not implemented

df: /mnt/.lfs: Function not implemented

df: /mnt/.lfs: Function not implemented

I haven't told it to go forward because... well I don't want to chance bricking it right now since I have to go out in about 30 mins =/
[Captivate Android Development] gotfolk:
well I guess its a good thing I'm still out and about. ;)
[Captivate Android Development] Fortune090:
Got the same error a few times. Got through the whole process and I'm not seeing any improvement. Went to "Remove Fix," and it ran a really short script, rebooted to a black screen, and actually, it just loaded up...

.....factory reset...?? Getting a TON of FC prompts. :(

Yay for clockwork!
[Captivate Android Development] Zilch25:
Yeah I wouldn't try this right now... the df is the script trying to determine your used space on the NAND. The script notes the amount used, then adds 100MB to it and creates a file to store your stuff in while the script works- so if it can't determine file size the math fails and you end up with a file 0MB in size with nothing in it trying to mount. So that would probably explain your FC storm.
[Captivate Android Development] Fortune090:
Yeah... Was a pain trying to get to ROM Manager in my app list and I was able to put the cw update.zip on, so I just ended up reflashing JH3 and it's restoring now...

I'm so glad this phone is un-brickable. :D (Software wise)

Did brick one, but that was because my computer decided to eject it while it was in the middle of flashing factoryfs in Odin 1-click. Just went to ATT and told them it just stopped turning on and they replaced it. :)
[Captivate Android Development] Tayutama:
The remove script doesn't do much since all is done on reboot :)

the lines with df doesn't nothing it's from when i pick out the space to use...

It wouldn't fail because of those 3-6 lines with df: in it :)
[Captivate Android Development] Tayutama:
If the size of the file is 0mb then it won't even copy any stuff over since it won't even make the file ;) so then it should run like before.

Also i have no problem running the lagfix on my phone... keeping all settings and no force close at all... only the remove fix that still seems to have a few problems
[Captivate Android Development] Zilch25:
Hmmm well it was just a guess haha, okay, should I attempt to force it to go through despite the errors in the start to see if I have any luck?

Also which one do you recommend using? EXT2/3/4?
[Captivate Android Development] Tayutama:
well they aren't really errors... they are from df -h here samsung for some weird reason has it in while other devices doesn't...

so they don't do jack :)

tbh i have only tested ext4 on my device... also when you run removefix you will lose your settings but not apps... haven't been able to figure that part out yet :(
[Captivate Android Development] Zilch25:
I just tested EXT4 on mine and it worked... a 2.1 operand invalid message during the script, but none of my stuff is FCing and I'm getting 1900+ quad scores

Also reporting 1.22gb free space, is that right?
[Captivate Android Development] Tayutama:
the 2.1 openand is when it checks if you are running eclair or froyo...

dunno how to remove that 'errors'

and that sounds about right since i upped the file from app space used +100 to app space + 500
[Captivate Android Development] Zilch25:
Hmmm well I guess the question now is what version of the fix did Fortune900 run last night that bugged up on him.
[Captivate Android Development] Tayutama:
doesn't matter which one he ran as the problems he got was after he used the removefix :)

like i said there are problems with that one still like reset all settings... hadn't gotten the force close in my own tests though
[Captivate Android Development] Zilch25:
He said he ran it but saw no improvements- which I read as the fix not going through properly- I could be mistaken though :o Wonder if he ran a quadrant test just to verify
[Captivate Android Development] Tayutama:
no idea :)

anyway resetting phone to normal use so i won't be doing much more testing today... spent most of the day trying to fix that damn remove fix but nothing :(
[Captivate Android Development] Zilch25:
That's okay, go live life a bit =P You'll figure it out sooner or later :D
[Captivate Android Development] dc41:
I finally got a card reader, so I finally could dependably partition my sdcard. Only odd thing was I formatted the ext partition in ext3. But the ext 3 script failed. Said my system couldn't run ext 3. For giggles I tried the ext4 script. It installed like a champ, and I'm getting 1900 plus scores on Quadrant. I know the card was formatted in ext3 because the partition program I used doesn't support ext4. Weird, but the important thing is it finally worked. So, if you're getting the "system doesn't support ext2/3/4" error try another version.

BTW...mucho thanks to the devs who made this possible!
[Captivate Android Development] Zilch25:
Well with this fix you don't need an extra partition on an external, it creates a 1.5GB EXT4 file on your internal NAND and moves everything into it. So you can reformat that card back to FAT32 and fill it up with music, photos, porn, etc!
[Captivate Android Development] Tayutama:
we don't use the external sdcard :)

also the reason ext3 failed for you is because your kernel doesn't support ext3.

ext4 works before my lagfix supplies the files needed
[Captivate Android Development] dc41:
I'm not stupid! I promise! But the shear number of lag fixes and what they do is staggering. Aren't there versions of the fix that use the external card?
[Captivate Android Development] Zilch25:
It does get a bit confusing :). There are, but they use a custom kernel to mount to EXT4 (since the stock kernel doesn't support EXT4) which means, at least for now- wake lag. The concept behind the fixes are totally different though- this one should *theoretically* perform faster than the ones on external media
[Captivate Android Development] Clienterror:
Yes it's weird, they get roughly the same scores but IMO the internal (this one) has a noticeable increase in interface response.
[Captivate Android Development] Fortune090:
OH! Wow. You were working on ext4... ok... It probably tweaked out on me so bad because I did ext2... whooooops... hahahaha

Retesting...
[Captivate Android Development] Zilch25:
Well it *should* have worked on EXT2, but no one has tested anything but EXT4 haha, so perhaps something is awry with the EXT2 version?
[Captivate Android Development] Tayutama:
ill take a look at it tomorrow or so... just got my phone running with all my apps and ext4 from the 2.3.0 test :)

Gotta say i love the speed... also using OC kernel with wake lag fixed... <3 i9000 kernel :D
[Captivate Android Development] Zilch25:
Looks like we've finally figured out the wake lag thing too :D Hopefully ...

Seems like its a toolchain issue- go figure =P
[Captivate Android Development] YeaItsSlo:
I had this installed for quite some time now.. everything was PERFECT.. 2200 - 2400 scores.. but just today i got the low phone memory usage.. no emails, no texts.. i just did the unlagme.. lets see if it fixes the problem :(
[Captivate Android Development] Fortune090:
Unhelpful's OC@1.2 (no lag) + NEW ext4 fix= AMAZING. Getting ~2000 in Quad, but the speeds are ridiculous. :D
[Captivate Android Development] Zilch25:
Wooooo I'm so giving this a shot =P I'm running the new EXT4 and it's solid and snappy, but I can't resist the lure of a no wake-lag OC :D
[Captivate Android Development] Tayutama:
Hehe can some of you test if you can change the font? I have no problem but would be nice that others have tested it.
[Captivate Android Development] Zilch25:
Sure, I'll test out the one linked earlier in the thread and see if this version fixes the problem- also I'm totally stoked to try this OC kernel with the EXT2 version :D
[Captivate Android Development] Zilch25:
Tested the Burton font- working :D
[Captivate Android Development] Zilch25:
Which version of the lagfix and which firmware version were you running?
[Captivate Android Development] Tayutama:
I'm thinking about just removing support for ext3 since if you can't use ext4 then you can properly only use ext2, and who wanna use ext3 when you can use ext4?
[Captivate Android Development] Zilch25:
Agreed 100%- EXT3 really serves no purpose when EXT4 does the same thing but better =P
[Captivate Android Development] Tayutama:
Ok about the ext2 script... from what i can see it should work properly but the version i'm looking *might* have been changed compared to what you guys got :)
[Captivate Android Development] Zilch25:
Lol, some kind of mysterious non specific change that may have been too embarrassing to reveal? :D
[Captivate Android Development] Tayutama:
nah i made so damn many changes so no idea if the version got atm is the same as what you guys got in that file :)
[Captivate Android Development] Zilch25:
Hahaha oh okay- changes are good, anything interesting?
[Captivate Android Development] Tayutama:
nah not really... what i made most changes to is trying to fix the remove fix part... btw you can't use the remove fix you got in your versions... you will lose your settings :D

I got Ryan looking it over to see if he can find something i have missed
[Captivate Android Development] Zilch25:
Yeah I'm just kind of sitting on my current install till you have a beta remove script for me to test :) Figured it might be helpful. Once you figure that out I'll undo the script and switch over to EXT2 again. Mostly because im morbidly curious how fast this OC kernel bloats up the quadrant numbers with EXT2 haha
[Captivate Android Development] Tayutama:
haven't even run quadrant advance with the OC kernel myself ^^ Did notice it used abit more battery then normal though
[Captivate Android Development] Zilch25:
Yeah mine is draining a little bit faster than normal, but it's still not too bad. At the rate it's going a work day will eat about 30% of the battery, which is certainly within the boundaries of acceptable for me
[Captivate Android Development] Tayutama:
i had around 2 days in 1 charge before down to 50% after 9 hours of work ^^

btw what quadrant score did you get with the OC kernel?
[Captivate Android Development] Zilch25:
That's pretty reasonable for a smartphone anyway haha

I'm getting 2013 on EXT4 with this... before OC kernel I was getting 1800-1890ish
[Captivate Android Development] Tayutama:
hmm got 2111 with ext4 and OC activated... had to install SetCPU to get it up to 1200 :) else it would be at 1000 which gave 1800-1900
[Captivate Android Development] Zilch25:
Yeah I popped set cpu in there too- just got 2075 on a second run. International ROMS are a little more efficient than the AT&T ones though at least from what I've seen from playing with JM5 and it's ilk. I call it the AT&T tax =P
[Captivate Android Development] sl8125:
I have the ext 3 lagfix done. But since ext4 is out i want to convert.

But i am little confused. Whose version of lagfix supports ext4? There is so many out there now and i don't know who is who's. Can anyone provide a download link for me?

I am currently running jm5 with samset 1.9f on samsung i897. Just for your reference.
[Captivate Android Development] Zilch25:
Tayutama has an EXT4 version, but the new version is currently in the works, so I'd wait on that before switching over. I'll be creating a new thread once he's done so people don't have to wade through 100+ pages :)
[Captivate Android Development] sl8125:
We it have the OC option in the revised version? Thanks for your quick reply.

Everyday i come to xda and find something new. So glad i kept the captivate. Its slowing becoming my daily phone. I love you guys. I was into modding cars. Now i mod phones. LOL. Speed is everything these days. LOL. Keep up the great works guys.
[Captivate Android Development] Zilch25:
Nah it won't be rolled up in there. Reason being is that the OC thing is an actual kernel level change, but the lagfixes are run as scripts at the software level so you can have both running in harmony :)

I know how you feel though, I lurk around all day looking for new and interesting stuff to tweak with- some days are like christmas =P
[Captivate Android Development] Tayutama:
Once i'm done... just put more pressure on me :(
[Captivate Android Development] Zilch25:
*whip whip whip*

Tell RyanZA to hurry up doublechecking it too so he can share the pressure!

But really, I'm sure the Captivate forums won't die if we don't get a new thread in the next day or two =P

... much longer than that and I can't guarantee anything!
[Captivate Android Development] Tayutama:
If you are in a hurry you can always do this yourself :p
[Captivate Android Development] sl8125:
can i get a link to 2.2.1? currently running jm5 on my captivate with samset. just ran designgears fix and he has on there the 2.2.2 for the jh2/3. ran the lagfix and got an error.
[Captivate Android Development] Zilch25:
Hmm looks like the links to Tayutama's versions aren't up there anymore... any place they're still available?
[Captivate Android Development] Zilch25:
Hmm you said the remove fix was the only thing broken right? I can always poke around... chances are I'll just mess up my phone though :)
[Captivate Android Development] Sleeping Giant:
Alright, this thread is a little overwhelming. What link am I supposed to download for the EXT4 lagfix?
[Captivate Android Development] Zilch25:
Actually we're trying to figure that out ATM, the old versions of the fix aren't where they used to be anymore- and there's a new version in the works, so ideally waiting for that would be the best approach
[Captivate Android Development] Sleeping Giant:
Alright, thanks. I'll stay tuned, then.
[Captivate Android Development] Zilch25:
So Tayutama... I think I might have something for you, maybe you can reproduce it on your own device.

The problem is settings being lost when you unfix right? Well, after running the initial fix stuff that I change in settings don't stick- which to me says that the permissions are wrong and the settings.db file is read only. Think that might have anything to do with your setting loss issues with the remove script?
[Captivate Android Development] Tayutama:
Reason they aren't up is because i removed the download links... also the only difference between 2.2.1 and 2.2.2 is that 2.2.2 disables GPS logging but it will overwrite your old jupiter.xml file which the GPS needs... so the gps might night work if you use that version on another firmware then which it was made for...

I'm fixing that in this version so it will only overwrite the file if you are running a firmware that needs it
[Captivate Android Development] Tayutama:
nah found the problem and fixed it :) just used the updated removefix on my phone and i didn't lose my settings :D
[Captivate Android Development] Zilch25:
Woohoo! Gimme something to test! :D

Wonder why my settings file is fubar then O_o
[Captivate Android Development] Tayutama:
btw you also got those insmod: can't insert errors when you ran the ext4? :D

getting those since the OC kernel already supports ext4... maybe i should add a check there :D

and i need to fix the [: 2.1 operand error

but other then those two... IT WORKS
[Captivate Android Development] Zilch25:
I didn't get those errors... but I also wasn't running the OC kernel at the time :)
[Captivate Android Development] Tayutama:
ahh right i got it since i did have the OC kernel :D

btw should i add a resize script for when you want to take a nandroid backup? so it takes the size of the file down to used space + 50mb or so? and then another script to get it back to normal?
[Captivate Android Development] Zilch25:
That's actually a really good idea, since ROM Manager freaks out whenever you try to back up the EXT files. Though I wonder if it would even be noticed in the script list
[Captivate Android Development] Tayutama:
notice what? the file or?

also rom manager and nandroid works with the fix... it just takes damn long time and you need loads of space on your internal sdcard for it...
[Captivate Android Development] Zilch25:
I don't see people returning to look at the sl4a app again with any sort of regularity, I'm assuming people would miss the option and it would go unused... but it certainly doesn't hurt to add the option.

And yeah I've done a backup with a 1.5GB file... that was the last time I did that lol
[Captivate Android Development] Tayutama:
why you think i want to add all this into a menu? so you choose what you want to do instead of the files... should also be able to pick the size you want...

but yeah i can see what you mean... i might add the option...

i only got one more thing to do it should be ready... i think ill skip the resize for now...

i need to fix the resize of the file system on boot since that fails atm when i try it...

I was planning on making the file ½ of the size of /data but atm it takes all of it...

weird part? it boots just fine and then get the low memory warning but no force errors but you won't be able to install anything :D
[Captivate Android Development] Zilch25:
Haha well at least it starts! That's progress... and you know which part is failing so that should be relatively easy to iron out (I hope) :D
[Captivate Android Development] Tayutama:
one more weird part...

i'm using the same script in the userinit.sh to calculate the size as i'm using in LagFix_Ext4.sh... and in LagFix_Ext4.sh it works but not in userinit.sh

so might need to do so the script generate the userinit.sh itself with the info in it since then the size will be calculated before it runs that file...

also here is the new version you can test Zilch and those others that is trying the new version...

For newcomers about this i repeat... What i have attached below is in a testing phase atm so bugs can occur.... I'm still making changes to the code as we speak...
[Captivate Android Development] Zilch25:
Okay down the rabbit hole I go... I'm going to try the remove script first.

Which version do you want me to test?
[Captivate Android Development] YeaItsSlo:
2.3 ext2 with jh2 i might try ext4 with the overclock
[Captivate Android Development] Tayutama:
well we know ext4 version works... so gogo ext2 :D
[Captivate Android Development] Zilch25:
Hmm well give it a day or so, seems like we might be at the finish line with the new version :) And it shouldn't have ANY of the out of space issues
[Captivate Android Development] Zilch25:
Hmm well the script removed... but it didn't give me back all my NAND space... reporting 1.22GB free O_o

Found it... the image file was still on the disk
[Captivate Android Development] Tayutama:
yeah i know why.. fixed it here:

also your superuser might bug out... since there is a new version included in that zip.. 2.3.3 and right after i downloaded that yesterday 2.3.4 came out... saw that today :(

also a few apps added... SparePacks.apk and Development.apk though they don't show up on my phone... might be froyo versions...
[Captivate Android Development] YeaItsSlo:
now that i remember, i was using my GPS when the phone ran out of space.. i did the lag unfix me thing and my phone is back to normal (930 quadrant score).. but i'll wait a day or too for an update..
[Captivate Android Development] Zilch25:
Sweet I'll give the new new version a try when I get home (7 minutes left of work)

EXT2 installed like a charm, 2500 quadrant without even letting the system fully start before running it, and 1.22GB remaining for apps.

Still have that operand error though :)
[Captivate Android Development] Zilch25:
Hmm seems like the GPS fix didn't take, odd..
[Captivate Android Development] Tayutama:
i haven't even looked at that one yet... my resize is more important on the boot...

found a fun command though...: sed

can be used to replace something into something else in a file:

sed 's/day/night/' <old >new

changes day into night in the new file
[Captivate Android Development] Tayutama:
huh with what version?
[Captivate Android Development] Zilch25:
Hmm now that's pretty cool- I'm sure that'll be useful!
[Captivate Android Development] Tayutama:
planning on using it for the size of the file on boot ;)

so i use the sed command in the fix file which then replaces a command in userinit.sh with the correct size... should get me around the small problem i got :D
[Captivate Android Development] YeaItsSlo:
2-3 with JH2 on a fresh reflash..
[Captivate Android Development] Zilch25:
Ill do some tests to verify the root/gps fix from a fresh jh3 odin flash when I get home :)
[Captivate Android Development] Tayutama:
ahh right then yeah you will run out of space when using GPS if you haven't disabled GPS logging yourself...

since Ryan doesn't have that in his fix and i do
[Captivate Android Development] Tayutama:
2-3 is Ryan's fix not mine ;) so might be why the GPS problem was there
[Captivate Android Development] YeaItsSlo:
makes sense! didnt know this..

Whats coming out next? EXT4 and 1.2 no lag??
[Captivate Android Development] Zilch25:
JM5 Trip report: Flashed, working beautifully, 2200 Quad score with Touchwiz, 2150-90ish with Launcherpro
[Captivate Android Development] systoxity:
can we get a sticky on this? It seems like the best solution for lag fix as of yet.
[Captivate Android Development] Smallsmx3:
I just did that and this is what i got:

@echo off

cls

COLOR 27

echo ===============================================================

echo ===============================================================

echo One Click Lag Fix for Galaxy S I9000

echo ===============================================================

echo ===============================================================

adb kill-server

echo __________________________________________________________

echo Pushing required files to /sdcard This is internal SD Card Please wait.

adb push createlagfix.txt /sdcard/createlagfix.sh

adb push playlogos1 /sdcard/playlogos1

adb push userinit.sh /sdcard/userinit.sh

echo Now running lag fix. On your device, select allow root privledges!"

adb shell su -c "/system/bin/sh /sdcard/createlagfix.sh"

echo Script complete!

adb kill-server

pause
[Captivate Android Development] max_warheads:
My apologies, I stripped out the good parts, and translated it into specific steps you'll need to take. Do you have the adb tools on your mac? Otherwise I'll put it through how to do it all from your phone.
[Captivate Android Development] wpb2:
I would be interested in making this fix run on a MAC as well, but Intel MAC. Should be clost to the same. I would even enter the commands manualy using adb.
[Captivate Android Development] uberjon:
working here on stock firmware, rooted and most bloat of att gone. amazing fix, and super easy! (im an android noob)
[Captivate Android Development] Smallsmx3:
sorry im a complete noob. You helped me to enable sideloading with terminal emulator which was so easy. I would prefer to do it on my phone since i dont have adb tools.