yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] procmail:
Now that I'm trying to use the 2.0 update.zip (and failing), how do I remove the MCR Scripts left over from the 1.0 update.zip?
[Galaxy S I9000 Android Development] Zilch25:
Hmm did the (Captivate modified)update.zip from a clean install with a couple apps installed. No SU issues this time, but when my phone boots back up all of my userdata and installed apps are gone again.
[Galaxy S I9000 Android Development] LinuxNewb:
Are you letting go of the power button once you see the first logo but still holding onto the other buttons?
[Galaxy S I9000 Android Development] j56bp:
yes.....then it flesh vibrant again and restarts......

ps

phone only rooted nothing alse, so maybe i need a diff set up? my speed only 910 now. would be nice get 2000 + or lil less......lmao
[Galaxy S I9000 Android Development] poolcin:
not MENU button but HOME button!

Tayutama plz correct step number 4
[Galaxy S I9000 Android Development] ethanfel:
hello :)

Some user in the samset topic (p;101-102) speak of damage that this lagfix could cause (in 2 month apparently). Is it a reality ?
[Galaxy S I9000 Android Development] Gr8gorilla:
using unfix me makes my phone boot into a black screen and I have to reflash with odin to get it working again......
[Galaxy S I9000 Android Development] Tayutama:
That combo for recovery is for the International version of the I9000. Got no idea what the currect combo is for Vibrant and Captivate.

Didn't see any apps that was gone when i tried but was also on a reflashed JM1 with no other apps installed other then default.

I would recommend reflashing firmware with ODIN to be sure old files are gone but else you should be able to uninstall MCR Scripts undet Settings->Applications->Manage Applications
[Galaxy S I9000 Android Development] sturmeh:
Looking good!

I'll switch from 1.0 as soon as this hits BETA. :D
[Galaxy S I9000 Android Development] j56bp:
lol

i did it now but can't see the file (only reboot now-clear data-clear cashe-reinstall pkg)......

well any clue why ?
[Galaxy S I9000 Android Development] poolcin:
Step 2 says -> 2. Place it on your internal sdcard.

It means - internal phone's memory NOT micro SD card. Are you sure you have copied it in to the right place? :)
[Galaxy S I9000 Android Development] godar2001:
internal phone storage is getting low

Dear, RyanZA!

After script complete and phone rebooted, it said 'internal phone storage is getting low'. Is it normal? And what i can delete for memory free?

Thanks!
[Galaxy S I9000 Android Development] j56bp:
oops..............i think its at the micro sd.....how to copy to the phone's memory? ( i know real noob......me) i just don't wanna phuck up phone!!

i missed that up cuz i read the other post about 2gb sd ( i'm so confuesd now..........dededee)
[Galaxy S I9000 Android Development] poolcin:
Connect your phone to the PC/Mac in "Mass storage" mode. Move update.zip from one drive to another.
[Galaxy S I9000 Android Development] LinuxNewb:
When you connect your phone to your computer and then use the drop down menu on your phone (making sure you have USB Debugging enabled) you can see an option to mount it.

Once you mount your phone, your OS should be able to see a drive. THAT is your internal card. You put the update.zip in that "drive" (no subfolders)
[Galaxy S I9000 Android Development] j56bp:
ok i see all folders (like launcherpro-clockwork-downloads-etc) so just drop it in there ? or open 1?

plz
[Galaxy S I9000 Android Development] kgk888:
@ Tayutama

I flashed a fresh JP2 with Odin, then downloaded and ran your Froyo update.zip.

It reboots fine, I go to the SL4A application and select Lagfix and it begins running. Phone reboots after 5 minutes or so and now I'm just inundated with endless

"Sorry! The application TwLauncher *process com.sec.android.app.twlauncher) has stopped unexpectedly. Please try again."

"Sorry! The application LogsProvider (process.logsprovider) has stopped unexpectedly. Please try again."

"Sorry! The application Gmail (process com.google.android.gm) has stopped unexpectedly. Please try again."

etc...

with the only option being to force close. It just stays in this loop forever. Ideas?
[Galaxy S I9000 Android Development] LinuxNewb:
@j56bp - Do not put it in any subfolder. If you copy it, just paste it at the very bottom of if you're in Windows just do "Edit - Paste" (at the very top of your windows explorer).

When you run the update.zip from the recovery, it looks under the internal SDCARD. Any other directory or location would not be readable.
[Galaxy S I9000 Android Development] jkcheng122:
just rooted my phone today from stock and ran the 2.1 lag fix. It seems I only gained about 100pts to ~960 range after the lag fix. Am I doing something wrong or there are other things that need to be done?
[Galaxy S I9000 Android Development] lex_87:
@ Tayutama

Hey cheers for the update.zip files :). One question, do you need to undo any previous versions of the lagfix before using your version? (I've currently using RyanZA's V1 lagfix)

I know you recommend a complete reflash, but was wondering whether the lag fix uninstallers work ok?
[Galaxy S I9000 Android Development] fredphoesh:
cool, well done and thanks ryan.

congrats on the instructions too, much more clear.

I have added a few comments WRT the instructions, because I know what questions might be asked 100 times ;)

for

1/ please write the version that people MUST use and tell them they must use only that version. So many had newer versions of busybox and assumed it would be fine.

2/ add a line about plugging the phone into the computer and NOT mounting the phone.

3/ I seem to remember my lagfix failed the first time because the phone had a superuser permission requester which needed to be OK'ed on the phone for the installation to proceed successfully... so perhaps tell the users to keep the phone screen on and to allow any SU requester that pops up.

tot siens

Mark.
[Galaxy S I9000 Android Development] j56bp:
after mount i got F drive(4gb)-G drive (13+gb) open .....i'm so clueless now...........i'm not at the right place...i think or some diff here (vista)

maybe its not even for me ( mine booted virgin phone)
[Galaxy S I9000 Android Development] fredphoesh:
I had this the first time I installed the lagfix.

Did you have an ext3 or ext4 partition on your external sd card?

if so, remove it, and re-format your whole sd card fat32.

Mark
[Galaxy S I9000 Android Development] LinuxNewb:
Your G: is the one with the folders like launcherpro-clockwork-downloads-etc right? So when you copy the update.zip put it in that drive but NOT in any of those folders. What that means is the location of the update.zip should look like G:\update.zip. So wherever you have your update.zip (say your desktop), right click it and say copy. Then go to your G:\ and go to Edit - Paste (at the very top of your windows explorer where you see File, Edit, etc...
[Galaxy S I9000 Android Development] LinuxNewb:
This doesn't affect the external sd card does it?
[Galaxy S I9000 Android Development] ethanfel:
hello :) great fix, great perf but i'm asking again, i just want to know, is it a real fact or something not probable ?
[Galaxy S I9000 Android Development] Tayutama:
Ill download JP2 now and ill take a look
[Galaxy S I9000 Android Development] RyanZA:
Hey guys, I've just uploaded a new version of the script - 2-2

It has some decent changes and fixes, but is currently only tested on my device, so the same cautions as always apply.

2-2 Changes from 2-0 / 2-1

/app-private is included

A second EXT2 partition is created in fast /dbdata storage. /dbdata/databases are moved inside here for increased speed in applications that use it. (System apps mostly, I think)

Proper parameters for e2fsck.

0% space reserved in the EXT2.

EXT2 partition reduced from 1.7GB to 1.5GB to allow more space for captivate users.
[Galaxy S I9000 Android Development] Kryston:
god damn, you are too fast for me :P
[Galaxy S I9000 Android Development] Tayutama:
Always undo previous lagfixes before applying a new one, this includes upgrades from v1 and v2. The unfix that both me and RyanZA supplied with v1 should work on v1 :)

Umm might do :p

Got a part of the userinit.sh which runs at boot that tries to mount the 2nd partition on the external sd card if it exists... It tries to mount it to /system/sd as ext2. Commenting that out now and will release another zip soon :)
[Galaxy S I9000 Android Development] riz157:
Brilliant seems to have improved sgs, it's much smoother, working faster not noticed any lag or freezing.

Going to try copilot now.

Thanks for this lagfix
[Galaxy S I9000 Android Development] lex_87:
Thanks for the update :)
[Galaxy S I9000 Android Development] Tayutama:
and back to work for me it seems... :(

btw RyanZA i might include ext3 support in my next update.zip :)
[Galaxy S I9000 Android Development] kgk888:
I don't even have an external sd card. :confused: What does an external sd have to do with this? I thought this was applied without the need for one.
[Galaxy S I9000 Android Development] kgk888:
That might be why. I don't have an external SD in my Galaxy S. I can always pop one in if it's needed to apply the update.zip Would be nice if it wasn't needed though.
[Galaxy S I9000 Android Development] Zilch25:
Let me just be the first to say <3

Fresh installing this to give it a whirl and I know at least one other person is as we speak. I'll report back as soon as I can confirm no one died in the resulting explosion!
[Galaxy S I9000 Android Development] RyanZA:
Total junk. :D

The lagfix runs on the SD Card inside the phone, not on NAND. It runs as a virtual filesystem on top of samsung's RFS.

So basically, just tell them to read up on what they're talking about before talkin'. ;)

As an aside, Fix 2-2 now has every feature I wanted when I first went about making this lag fix. If Fix 2-2 does not have any big bugs, I will probably be promoting this up to FINISHED quality, and start work on other stuff. Possibly a kernel hack to mount a better filesystem directly, or a very easy to use .APK version of this fix. Or something else entirely.

My phone is flying now, and I'm personally very very happy with it. :D
[Galaxy S I9000 Android Development] Tayutama:
Ah you don't need an external sdcard for this.

the userinit.sh part about the external sdcard has no effect on the lagfix itself. it just mounts the 2nd partition on the external sdcard if the external sdcard has one else it does nothing.
[Galaxy S I9000 Android Development] RyanZA:
I don't believe EXT3 is a good idea for this. The journaling overhead it will be writing to the SD Card will both lower life expectancy (theoretically, if the life expectancy is already 10+ years then this isn't an issue - but we don't know), and it will also slow down the system a lot.

The reason this lag fix works is because of how bad RFS is at handling lots of small read/writes. EXT3 does a lot of small read/writes to the journal, which slows this all down a lot. Expect quadrant scores of ~1700 and similar performance to the external SD card fix.

Don't get me wrong, it is well worth adding - but I don't believe it's a killer feature at all. Just make it optional. :)
[Galaxy S I9000 Android Development] Tayutama:
I can't have both in the same zip's ;) so there will be different zip's for ext2 and ext3.

Only reason i'm adding ext3 support is because people have been asking for it :)

tbh i would rather use yaffs2 :)
[Galaxy S I9000 Android Development] Narcissus85:
I just applied the new lag fix. Good job! : )

Can i delete "lagfixtemp" folder on the internal sd card now?

(2299 @ quadrant ;))
[Galaxy S I9000 Android Development] ethanfel:
You have my thanks :) great job !
[Galaxy S I9000 Android Development] RyanZA:
yaffs2 is the same! It's also no good.

We aren't using real filesystems here. People don't seem to understand this - the EXT2 is just a rigged up kernel level buffering system. It's actually totally over the top for what we're using it for. :D

Adding journaling into your kernel level buffer which then writes to another filesystem based off VFAT32 with journaling grafted on (under?) is just a bit crazy. :D

Interesting link on RFS btw: http://www.samsung.com/global/busin...cts/flash/downloads/RFS_130_Porting_Guide.pdf
[Galaxy S I9000 Android Development] mohnishism:
what r da steps to apply dis fix dude...i tried da 2-1 fix usnig da update.zip but it dint install...
[Galaxy S I9000 Android Development] IDtheTarget:
@Tayutama

I rooted my T-Mobile Vibrant using the update.zip seen here: http://xdaforums.com/showthread.php?t=723479

I don't know how to flash a rom, I have the rom that came with the phone.

Will your update.zip do the lag fix properly? Your post said that I should reflash my ROM.

Thank you
[Galaxy S I9000 Android Development] RyanZA:
Yeah. ;)

1234568790 (Your message is too short. Please enter 10 characters. ;) )
[Galaxy S I9000 Android Development] Adevem:
so i can run the unlagme from this v2 to COMPLETELY	remove the v1 then run the v2 without any issues? do clarify! :D
[Galaxy S I9000 Android Development] mohnishism:
What r da steps dude...da teps..plzzzzz
[Galaxy S I9000 Android Development] RyanZA:
Always run the unlagfixme from the version which you ran lagfixme first. ;)

This is also still in alpha quality, so... no guarantees of anything! :D

Once I get a lot of people reporting that it works fine (and the people reporting that it doesn't work have system-related issues, such as ADB) then I will up this BETA status where it should be safe for everyone who can read and follow instructions to use this. :D

RELEASE status seems like a mythical pot of gold that will never be reached with this type of lag fix. Which is a shame. :(
[Galaxy S I9000 Android Development] lex_87:
@ RyanZA

If you've currently got V1 of your lagfix installed, do you recommend using the V1 lagfix uninstaller or the one included in V2-2? Or isn't there any difference?

Also do you need to reboot between uninstalling V1 and installing V2-2?

Thanks :)

EDIT: Sorry, just realised you already answered this just before I posted.
[Galaxy S I9000 Android Development] RyanZA:
I can see the future... soon you will be back asking what to do with your bricked device. I'm going to jump ahead on that, and tell you that if your phone doesn't boot, you need to flash a new ROM!

Good luck! :D
[Galaxy S I9000 Android Development] RyanZA:
When you uninstall V1, it should auto reboot your phone for you.
[Galaxy S I9000 Android Development] lex_87:
Ok cool, thanks for the reply.
[Galaxy S I9000 Android Development] Zilch25:
Confirming 2.2 version works on the Captivate. Apps transferred over fine for me and I'm hitting 2300 Quadrant scores WITH touchwiz and the AT&T bloatware running... that's SCARY. I'm also showing almost 300MB free on the internal storage so thats a nice little buffer!

Going to update my OP for the beta upgrade!
[Galaxy S I9000 Android Development] WhatZitTooya:
:(

some private apps still not working, same issue as before.

Astro Player Key and Tower Raiders Gold for example.

Didnt test more apps, would be purposeless...
[Galaxy S I9000 Android Development] mohnishism:
do we have to use unlagfix to completely remove it..isnt reflashin using odin enough???

although for da ddjg4 dat im on u have to only reflash da pda file..
[Galaxy S I9000 Android Development] Tayutama:
I mean use yaffs2 INSTEAD of RFS :D as in total replace rfs

reflashing using odin removes the lagfix
[Galaxy S I9000 Android Development] tbae2:
confirmed working on my captivate, all private apps transferred over and working. Fastest so far. Thanks!
[Galaxy S I9000 Android Development] Adevem:
alright cause I read about some files not bring completely deleted, was just concerned about any issues causes by it. anyway, many thanks for the fix! excellent job!
[Galaxy S I9000 Android Development] cba1986:
i have a very noob question. Do you need busybox for the 2.2 version of the lagfix?

Becouse it doesn't show as a requeriment.
[Galaxy S I9000 Android Development] belfastbob:
Hi RyanZA

Thanks for all the hard work your putting into this, its well appreciated.

I am going to flash a new firmware and was considering JP3 (android 2.2), I have read most of the posts and think it is safe to run your fix on this, but just wanted to be sure. If not what firmware would you recommend?
[Galaxy S I9000 Android Development] RyanZA:
I personally use I9000JPJG8. JP3 should work just fine with this lag fix, but JIT is broken and can sometimes crash your apps/other stuff. I think you can turn off JIT with a setting somewhere though.
[Galaxy S I9000 Android Development] RyanZA:
Busybox should not be needed. It is included.
[Galaxy S I9000 Android Development] RyanZA:
Huh.. :(

I can't test private apps, as I don't have access to them where I live. Sorry. Hopefully someone else can find out the problem and give me a shout, and I'll update the script to fix it.
[Galaxy S I9000 Android Development] cba1986:
Thanks!!!!!

When i arrive home, will test it and post the results.
[Galaxy S I9000 Android Development] Gr8gorilla:
I can say that the latest version also works on my T-Mobile Branded Vibrant. So far so good!
[Galaxy S I9000 Android Development] Cotw:
just tested this on my JP3 firmware. Quadrant score 1700+!

this tool is really neat! it couldn't be any easier or noob-proof.

those "Ignore that warning" messages are such a relief, hehehe.

thank you! you really seem to have put a lot of effort into this :)
[Galaxy S I9000 Android Development] RyanZA:
Alright.. looks like you still can't copy between /app and /app-private even though they're on the same device - they're not on the same "device". :D

This should be fixable with symlinks.

EDIT: I NEED SOMEONE WHO KNOWS HOW APP-PRIVATE WORKS! PLEASE! :D
[Galaxy S I9000 Android Development] Mynx:
Awesome fix , worked perfect , i only lost some app shortcuts but that was no hassle :)

2294 Quadrant score

Had 2100 with 1.0 version
[Galaxy S I9000 Android Development] mohnishism:
what r da steps sum1 ...plzzz

thanks tayutama...
[Galaxy S I9000 Android Development] RyanZA:
Your error is this one:

cp: write error: No space left on device

the device is /system/lib, and it needs 1mb of free space.

Do you have any idea why your /system/ does not have 1mb of free space? It seems like it could be causing you other problems too.

EDIT: Actually it looks like something is very very wrong. I don't know what it could be.

If you could go into adb shell and type this:

su

busybox df -h

mount

and paste back what you get, it would be very useful in finding your problem.
[Galaxy S I9000 Android Development] Zilch25:
Noticed a little glitch, Titanium backup can no longer locate anything but the phone settings... I assume this is because it only looks at the default locations for the data. Anything I can do to get that running?

Nevermind! Using the problems button and reinstalling busybox rectifies this =P (derp.)
[Galaxy S I9000 Android Development] cthulhu501:
Finally my phone is working now.

What's wrong?

By default I check "Re-Partition" case, and that's doesn't work.:o

But without this case. The flashing work fine. :)
[Galaxy S I9000 Android Development] RyanZA:
:(

/dev/block/stl9 275.8M 275.6M 168.0K 100% /system

Won't be able to run this version of the lagfix on your system. Which firmware is this, btw?
[Galaxy S I9000 Android Development] Tayutama:
I could kill someone right about now... damn you for giving me problems RyanZA :)

getting mounting errors on reboot atm in my test zips :(
[Galaxy S I9000 Android Development] lsevald:
I'm still on stock I9000XXJF3, guess its time to upgrade :o Thanks anyway! I'm very happy with the performance after your 1.0 mod :)

EDIT: After some cleanup, I now got 13MB free (User error, I had two /system/media/audio folders). I'm going to try again after making a new backup :)
[Galaxy S I9000 Android Development] rugbycaps:
Hi RyanZa! I'm a noob on this and i manage to get your lagfix done!!!! Thank you very much for the hard work. My facebook app used to lag so much but theres no such lag now thanks to you. Tested the device and got a quadrant score of 2100+.

I still have one question to ask please. i used your 2.2 and still get the memery low message and a little red sd card picture on the left of notification bar. Is that normal?
[Galaxy S I9000 Android Development] kgk888:
Installed your 2.2 fix on top of JP2 Froyo firmware.

Best Quadrant I can see so far is 1836. Going to try with JP3 and see if it reports any better.
[Galaxy S I9000 Android Development] lex_87:
Another thumbs up here for version 2-2 :D

I had V1 of the lagfix installed, used the V1 unstaller, then installed V2-2 - everything went smoothly (running stock firmware).

With V1 got a quadrant score of 2100-2200, tried with V2-2 and got 2275. Will need to do more tests to see if the average is higher overall.

Cheers RyanZA :)
[Galaxy S I9000 Android Development] RyanZA:
Hahah! Sorry! It looks like there is only one fix left to do, and the lag fix (the core of it, until we get custom firmwares that can mount the correct filesystems natively) should be finished for good. :D

The one fix left is to remove the loopback-mount for /data/apps-private, and instead make it into a symlink that will point /data/apps-private into /data/apps/apps-private. I believe that will solve the market issues for paid apps. However, I can't test that since I don't have paid apps here.

This may fix it, because I'm guessing that market will run a 'mv' command on the app to move it from apps to apps-private. This won't work across loopback mounts with the stock kernel for some reason. Symlinks should work fine though.

If anybody who knows what they're doing could test this and get back to me... it would be helpful for a lot of people. :D

I think. :D

Until then, the current 2-2 version will remain. For me personally, it is now more than enough, and I'm gonna be waiting for Android 2.2 for any further performance increases. :)
[Galaxy S I9000 Android Development] Tayutama:
Learn to use MarketEnabler...

Else ill see what i can figure out later since i use MarketEnabler... wtb paid apps in Denmark :(

Btw was scared earlier when i tried to use my test zips on JP2... i got I/O errors when trying to write files to /sdcard.

Weirdly i don't get them on JM1...

EDIT: Still dunno why i'm changing the update.zips after you did that release... only difference between them was that my file size was 1600 and i had /dbdata/databases in the /data/image.ex2 file...
[Galaxy S I9000 Android Development] Gr8gorilla:
edited because I am stupid!
[Galaxy S I9000 Android Development] mohnishism:
im not able to use da lagfixme.bat

its given failed to copy errors..wt o do??

i just rooted my fone..do i need latest buybox o sumthing???
[Galaxy S I9000 Android Development] RyanZA:
I'm not interested in having to mis-identify myself to Android Market in order to pay people money for software. If google wants a cut of my money, then can work for it and get android market working for me properly. Till then, I'll stick to side loading.
[Galaxy S I9000 Android Development] mohnishism:
here is the error
[Galaxy S I9000 Android Development] RyanZA:
Hey there. I don't mean to be rude (okay, maybe I do), but you've posted this same question 5 times now in this thread (and you haven't posted anything else anywhere else). I'm gonna assume you're just trolling, so I have the following advice to help out your problem!

1. Get a glass of water.

2. Fill it up with more water from the tap, until it is full.

3. Repeat step 1 until Tuesday.

I believe this will solve your problems. No thanks necessary! :D

EDIT: If you aren't trolling, it looks like ADB can't see your device. Try tayutama's update.zip version. Try install samsung kies. Try plug your device into your computer.
[Galaxy S I9000 Android Development] mohnishism:
Dats not even funny...just check dat pic i have uploaded...will you..help me out here man..
[Galaxy S I9000 Android Development] mohnishism:
tayutama's update.zip version is for 2.1 as of now isnt it..

i have samsung kies installed...should i connect da mobile usin samsung kies or mass storage..nd yes usb debugging is on