yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] asgard:
Thanks for your efforts CF!

I am also having the "paid app won't run" problem after using 1.50 - Previously MMA Underground was running fine with the phone rooted and the original "busybox install and type it all yourself no script!" lagfix applied - which was all working great.

It just installs with a '.com.android' generic icon and crashes on run, both before applying Eris Market Fix and after. I used default install on 1.5 with EXT2.

Cheers!

EDIT: I see RyanZA's fix v2.3 has the following changelog information: "/app-private is now a symlink to /app/app-private. This fixes paid apps issues."
[Galaxy S I9000 Android Development] Chainfire:
v1.70 released

Changes:

- /dbdata now has it's own virtual partition, instead of inside the bigger one, for small read/writes this is better performance

- progress monitor (educated guess, not 100% exact) added

- /data/app-private added

I have run a lot of tests with 1.70 and a few of the apps mentioned here to be problematic. I do not see this issue. For example, I have done install, play a bit, uninstall, play a bit, about 20x times and every time "Tower Raiders GOLD" (one of those apps, according to somebody else in this thread) still worked fine.

If you see this problem anyway, let me know.

I'm also not seeing the database problem other fixes have. If you can replicate the issue with my fix, let me know. I did see the issue before starting on CFLagFix, but with the method I use I haven't seen it happen yet.

This will probably be the last update for a while, I'm going on vacation :)
[Galaxy S I9000 Android Development] Chainfire:
I did just look at his script after I uploaded my new version but I don't see exactly what he's doing or why it would be needed. If necessary I'll manually test it when I'm back from vacation, but first I need to know a (cheap) app that reproduces this problem every time. As I tested it so far, it works for me.
[Galaxy S I9000 Android Development] asgard:
G'day CF, you're a gentleman and a scholar!

Is there any way to GIFT an app via Market ala iPoo Appstore? Happy to do so, but I can't find anywhere to do it :( The app I'm using is "MMA Underground" - if you have a paypal account I can xfer you some bucks for testing bro.

Ready and able to test here for ya ... just point me to the file ;)
[Galaxy S I9000 Android Development] insty:
Best way to update is to uninstall 1.6 then re-apply 1.7?

Cheers.
[Galaxy S I9000 Android Development] emelie:
i'm running CFLagFix 1.60 and going to test this now

procedure:

using 1.70 to uninstall 1.60 + reboot (in addition to the automatic reboot)

using 1.70 to install 1.70 + reboot (in addition to the automatic reboot)

after that i'll install Autostarts (http://www.appbrain.com/app/com.elsdoerfer.android.autostarts) and check if it works this time

with 1.60 i experienced the same thing asgard described a few posts above

EDIT: after hitting the uninstall button i got a java exception (System.InvalidOperationException) in a windows dialog - http://pastebin.com/hetVmVXi

right now exiting and trying again..

EDIT2: next try: same error again, added screenshot.

EDIT3: tried again, no error now in the windows app - let's see what happens on the device, right now automatic reboot was initiated

two suggestions as a sidenote: please make the progress meter optional so i can feel safe to disconnect the device

someone somewhere mentioned to put the device into flight mode before applying the fix -> i'll definitely recommend this for at least the uninstall operation because the device boots into operational mode where it would be able to sync/write to sd/etc. which i guess would not be so good while data is being moved (and right now i'm looking at my lock screen while the windows app says that /data is till being moved); so i guess this would be great as an attention-note for your first post

EDIT4: phone stopped switching display on at random intervals and is now black. i don't dare to touch it ;)

the last line in the windows' app window is "move: /data/data ... 100%" and the mouse cursor switches between idle/waiting symbol when the app is in the foreground.

i'm 99% sure that after /data/data there should be /data/system because that's what's written a couple of lines above under "Generating uninstall scripts". i'll wait another 30mins and then abort the procedure. meanwhile cflagfix.exe keeps using 5-10% cpu - is this just for the progress meter or is it doing something else?

EDIT5: closed the windows app now. seems the uninstall went well, all my launcherpro settings vanished (probably along with other things in the cache) but i guess that's normal. additionally i only could power up the device again after removing/adding the battery.

going to install 1.70 in a next step and report in a new post.
[Galaxy S I9000 Android Development] HKcow:
Hi Chainfire,

Seems that your fix can handle dbdata correctly which Ryan's one doesn't. This certainly can boost the performance.

However Ryan can cater for paid apps and your fix seems can't. There is some report in your chain post that paid apps disappear after install your 1.6 fix.

I am in a headahe now on choosing which fix to apply for, could you please consider to put a few more time to investigate the paid app issue before your long leave?

Thank you very much for your great work and support!
[Galaxy S I9000 Android Development] tkalli:
I had no problems with paid apps using 1.6.

​
[Galaxy S I9000 Android Development] Chainfire:
1.7 is attached to first post. As for gifting, I'm not sure how that works. I won't have the time to test the app before I'm back anyways.

Yep.

That error has been reported before, no idea where it comes from. The error message doesn't make any sense (well it does, but what it's describing is not in the code that I can find), and I've been unable to replicate it so far. The other user who had this message fixed it somehow but I don't remember how.

I have not been able to replicate the problem in 1.7. I've already put way more time in than I reasonable could, I should have started packing already ;)
[Galaxy S I9000 Android Development] tkalli:
Go Pack.

We will still be here when you get back.

Enjoy your holiday.

:D

​
[Galaxy S I9000 Android Development] emelie:
yea start packing and have a nice trip!

thx for your work on this!! much appreciated! -> DONATE people ;)

meanwhile i'm going to edit my post above to describe my progress with v1.70
[Galaxy S I9000 Android Development] tkalli:
Looking forward to your comments.

​
[Galaxy S I9000 Android Development] emelie:
continuing from my post above.

the reboot that was only possible after removing/adding the battery didn't complete. after the first screen it went dark and there was no bootup animation.

tried again (no battery removal necessary) -> same result, afer the first screen utter darkness and no bootup animation. touching the menu/back button lights them up so i guess the device is doing something.

nothing happened for a couple of minutes and i decided to do something.

connected the device again to usb and tried adb logcat to find out what's going on. nothing much there to see so but after a couple of minutes my device was booted again!

now i'm getting the same FC loop i was getting while trying to remove 1.2 with 1.6 (described in a seperate post a couple of pages back).

so i'm back to the usual procedure (wipe cache/factory reset/battery removal/flash JM5/oneclickroot/marketfix) and afterwards trying 1.70 from scratch.

conclusion: the uninstall feature of CFLagFix doesn't like me ;)

EDIT: after 4 reboots only a few FCs persist, so it's not as bad as it looked but still - a reflash is in order.

the apps still FCing are:

com.sec.android.app.sns

com.sec.android.app.samsungapps.una

com.sec.android.app.clockpackage

com.sec.android.providers.downloads

com.android.email

com.android.voicedialer
[Galaxy S I9000 Android Development] Mull1s:
Tried this one out and i get 2260 with JM2, nice :)

however it seems like ive lost my 3G (can only use edge), anyone with the same issue?
[Galaxy S I9000 Android Development] razedd:
Hello everybody,

First I would like to thank Chainfire for this fix and second I would like to ask if I have installed the 1.01 version, is there no way to uninstall it and install the latest fix?
[Galaxy S I9000 Android Development] emelie:
well the first post says that v1.60+ should be able to remove v1.20+.

my experience is that [use 1.60 to remove 1.20] and [use 1.70 to remove 1.60] doesn't work.

YMMV
[Galaxy S I9000 Android Development] balenax:
yo!

first of all, thanks for the great fix, it really changes the phone, it's so smooth and zippy now!

i used 1.60 and everything worked great, except for the APN settings. it doesnt save them at all, so I cannot use any form of cellular data ( wifi works great though). now i am installing 1.70 and I hope it will solve the problem for me.

well, it seems that all works fine now. i saved the apn before i applied the lagfix and now 3g works great. JM5 + 1.70 fix = 2296 quadrant :)
[Galaxy S I9000 Android Development] igniztion:
Thanks a lot Chainfire for this fix.

Applied on fresh JM2, restored ~80 apps with Titanium Backup including settings from system apps. Quadrant of 2201 and the system feels so much more snappy than before.
[Galaxy S I9000 Android Development] yaz00us:
When I try to run v1.70(after I uninstalled version 1.50) I get an error when program is validating space requirements for /data/data. :

"See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

at System.Collections.Generic.List`1.Enumerator.MoveNextRare()

at System.Collections.Generic.List`1.Enumerator.MoveNext()

at LagFix.MainForm.getSpaceUsed(String path, Boolean logit)

at LagFix.MainForm.btnGO_Click(Object sender, EventArgs e)

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ButtonBase.WndProc(Message& m)

at System.Windows.Forms.Button.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************

mscorlib

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll

----------------------------------------

CFLagFix

Assembly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Users/eu/Desktop/android/CFLagFix-1.70/CFLagFix.exe

----------------------------------------

System.Windows.Forms

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Drawing

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

For example:

<configuration>

<system.windows.forms jitDebugging="true" />

</configuration>

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box."
[Galaxy S I9000 Android Development] daijirok:
Fix v1.70 worked fine on a clean JM5 installation, quadrant score 2238. Now testing various apps for issues, since now everything seems smooth and nice.
[Galaxy S I9000 Android Development] screwyluie:
everything went well, everything works, 3g, wifi, apps, etc... I side loaded a couple paid apps and they work fine, even fixed the issue i was having with logmein, good stuff

quadrant score isn't as high as it was when I applied the lag fix this is based on, previously, but it's high enough and the phone is zippy, and the extra features of this one are very welcome

thanks
[Galaxy S I9000 Android Development] mickeko:
Could you try switching the system font to something non-default?

I ran v1.60 and it didn't allow me to change the font to the Dave Gibbons FlipFont, so I uninstalled it and went back to RyanZAs one-click 1.0 which is the only fix that has caused no issues at all for me.
[Galaxy S I9000 Android Development] emelie:
i got the same error.

trust in the fix, try again for a second time - and then for a third time. then it worked for me ;)
[Galaxy S I9000 Android Development] pkd:
CFLagFix 1.70 install OK!

Hi Just tested rhe CFLagFix 1.70 on the original Samsung JF3 (kernel 2.6.29 umts_scm@S1-BUILD05 #2).

It went smoothly and took about 10 min.

My quadrant score passed from 883 to 2023. :)

No problems up to now.

Thanks,

Pkd
[Galaxy S I9000 Android Development] m0ustik:
Hi,

would like to know before fixing :

Witch size should I chose ? If I take 1gb, it means that I'll only have 1gb free space for my apps, that's it ?

thx and excuse my language, I'm a froggy man :D
[Galaxy S I9000 Android Development] ytj87:
Not generally in the early stages of modding/tweaking devices. A few reasons:

1, someone has to start the ball rolling, and that is usually one passionate person. Looking to help the community and to take justifiable pride in their accomplishment. That reward is greater when solo. This pushes early development much more.

2, experimentation to find the superior method is best done by having independent developments. When the dust settles, we have a lot of data.

3, it's faster to get small jobs finished when working solo.

4, with open source, there is in effect combined development anyway, but with the benefits of soloing too. (In CF's case, although not open source, we understand technically what is being done).

As you can see, I'm passionate about solo dev projects. They are the lifeblood of advancing Android beyond the big players.
[Galaxy S I9000 Android Development] Chainfire:
Looking at these error messages again, I have a suspicion that my app actually works on the .NET 2.0 framework, and that people seeing this error only have 2.0 and not 3.5 installed. Not sure though.

What you should choose if you don't know what to do, is the default setting :) That's why those are the default settings. Just launch the app and press "Install !".

I agree :) And even if it's not open source, most of what the app itself does is look at your phone, perform some tests, push the required binaries, and generate scripts (based on phone + settings). These scripts can still be found on the device after use, and this is where most of the magic is at.

@all

A note about backups:

Backups will be big because they include the entire image. However, as CFLagFix can actually resize the partition, what I myself do is this:

- Start CFLagFix

- Go to "Resize partition"

- Put the slider all the way to the left, smallest possible value

- Click "Resize !"

- The phone will reboot and shrink the partition (can take a while)

- Close CFLagFix

- Backup using ClockworkMod... the backup will now be much much smaller!

Now after backup (but also after a restore!):

- Start CFLagFix

- Go to "Resize partition"

- Put the slider all the way to the right, biggest possible value

- Click "Resize !"

- The phone will reboot and grow the partition (this take a while)

- Close CFLagFix

This keeps your backups small, but does require some work + time.

I am thinking of making a better solution in the future, one that might not even require ADB at all and automatically grows and shrinks the partition based on use. But this will have to wait til after my vacation, and by then it may no longer be needed !
[Galaxy S I9000 Android Development] phydoux:
Worked on my Vibrant

I just applied this to my T-Mobile Vibrant. Worked great.

Thanks so much for making an easy-to-use utility like that. I literally just plugged in my phone, launched the app, and clicked the apply button and watched the rest happen.

Market application especially is TONS faster than it used to be.
[Galaxy S I9000 Android Development] kalpik:
Ok, works great! Found a bug.. A minor annoyance rather!

You cannot mute the startup sound by lowering the system volume anymore!
[Galaxy S I9000 Android Development] darkknight49:
been trying to install it on my vibrant but it hangs up when moving the app file move. First time it got to 11% and stayed there for 35 minutes. Now it's been stuck at 77% for 15 minutes.

Just to note, I removed the previous lag fix.

UPDATE: got it working, just had to uncheck the apps box.
[Galaxy S I9000 Android Development] screwyluie:
I flashed back to stock JH2, then used http://xdaforums.com/showthread.php?t=751934 to root again (which also gets rid of the startup sounds, yay!) and then used this lag fix, all is good on my captivate
[Galaxy S I9000 Android Development] Hampy:
wow Chainfire thx alot man..

I just installed a fresh JM2, rooted and put the fix with ext2 and its running really good...my quadrant went from 800+ to 2100+

I had JM2 without root or any fix.

2216 quadrant now after installing 100 apps
[Galaxy S I9000 Android Development] Mistwalker:
Just installed 1.70 with ext3 on Stock rom I9000XXJF3.

- A lot of apps was Force Closed, (I belive the short for this is FC?)

- My official Twitter app didn't work

- All my contacts was lost (backed up on Google thou :))

- Handcent SMS was FC every time I tried to start it.

- A few settings was lost. Like the unlock path.

- Couldn't install apps from market. Had "Your app couldn't be downloaded" or something like that.

Phone was a LOT faster thou. Haven't tried so much more since I'm in a rush, so I've just completed uninstalling. And apps are still FC'd. MSN Talk, Android Agenda. Still can't download and install official Twitter app from Market.

Now I'm going to re-install using ext2 instead. Then I have to night clubbing! :D

Any ideas why I'm experiencing these errors?

Update:

A few apps that doesn't work after installing and then uninstalling 1.70.

- Engadget

- Twitter

- Handcent SMS

- MSN Talk

- Facebook (Just error, saying: Can't retrieve notifications. Please try again laters. [Permission denied (maybe missing INTERNET permission] Then it FC's.

- Cocky and funny

- Top Gear News

- Google Earth (Says that it needs a SD card, and that it can't access internet. Then it FC's.)

Seems like a lot of programs that require internet connection/s doesn't work as it should.

Well, I'll report later, gotta hit the club now! :D
[Galaxy S I9000 Android Development] Thread Astaire:
Using JP3 and just installed this. JESUS CHRIST!! My phone just flies now.

To the guy that created this. Sir I salute you. Amazing work. :)
[Galaxy S I9000 Android Development] Chainfire:
To those of you that are seeing issues... Does your phone actually boot into Android itself / lock screen while the patch is in progress ? Or does your screen remain black between boots ?

It should show the boot screen, and optionally play the boot sound, but NOT show the animation or boot into Android itself before it's finished. The screen should remain black until it reboots the final time, and only then go into Android and be ready for use.

Let me know.
[Galaxy S I9000 Android Development] Mistwalker:
Uninstalled ext3, reinstalled with ext2. Still having FC'd apps.

Can't remember, was doing a lot of other stuff while installing to save time :P

I think my screen was black, can't recall it wasn't... Heard the sound some time during the installation thou.

Update:

Now when I reinstalled with ext2, my APN settings were lost.
[Galaxy S I9000 Android Development] Chainfire:
Well this is not an exact science (yet). It's possible the network stack is already loaded at the time of copy.

Seems on some ROMs the process isn't as good as it could be, yet. I'll take another look at the initialization process when I'm back.
[Galaxy S I9000 Android Development] tkalli:
Just eliminate the Startup and Shutdown audio, unless you want it.

If your phone is rooted, use Root Explorer.

Change PowerOn.wav to PowerOn.old in System/etc

Change Shutdown.ogg to Shutdown.old in System/Media/Audio/Ui.

No more audio.

​
[Galaxy S I9000 Android Development] RaptorFB:
I'm sorry if this is the wrong place to ask, but could I ask for advice on installing this?

I started with a stock Vibrant, rooted using the one-touch root APK I got from these forums, with Clockwork Mod Recovery installed and one backup made.

At this point, can I simply download the CFLagFix from the first post and run it with the "Full Automatic" setting and be done with it? I generally know my way around a computer but phones are unexplored territory to me, so I just don't want to eff anything up here.

Also, in case of something going wrong, the proper way to restore would be to... use the backup made in Clockwork Recovery?

Thanks in advance!
[Galaxy S I9000 Android Development] Chainfire:
Yes, you are correct. If things go wrong, a clockwork recovery restore will completely restore - including removing CFLagFix.
[Galaxy S I9000 Android Development] RaptorFB:
And would you advise on using ext2 or ext3?
[Galaxy S I9000 Android Development] Mistwalker:
ext2 as answered earlier in this thread :) Ext3 was added due to high request. Recomended settings are the default ones loaded when you start the app in Windows :)

Oh, I almost forgot. I've read a few posts where people actually are getting lower results in Quadrant using ext3 (around 1500-1800). And when they uninstalled it and installed using ext2 they got the usual results (~2200).
[Galaxy S I9000 Android Development] RaptorFB:
Argh, how bad is it that I used ext3?

Also, I've been stuck at this step since the time of my last post.

hxxp://i33.tinypic.com/mbhbah.jpg

Phone itself is connected via usb (debugging mode etc) and is on the black boot up screen that says only vibrant and samsung.

Edit: My phone is now stuck in an infinite reboot loop after... >2 hours.

Edit: Restored from backup. I'm banking on any developments/changes before trying again.
[Galaxy S I9000 Android Development] tkalli:
Not sure what the difference would be, but I am running ext3 on Stock rom

I9000XXJF3.1.60 and have no problems with some the apps you mentioned.

Engadget, Handcent and Google Earth.

Don't use the others.​
[Galaxy S I9000 Android Development] insty:
My market seems to be broken :(

Everything just sticks on "Starting Download" and nothing happens from there...
[Galaxy S I9000 Android Development] Mistwalker:
Good news! Now everything works like it shouold!

All I did was a hard reset, then I installed my Google Account, synced contacts, installed Twitter, Handcent and Quadrant for testing purpose. Then I installed the 1.70 using default settings, waited, and then all is good! :D

Quadrant before fix: 803

Quadrant after: 2136

w00t! :D
[Galaxy S I9000 Android Development] scouzer:
Starting to get worried--phone has been blank screen with the capacitive buttons lit up for 15 minutes now. I'm trying to UNINSTALL CFLagFix because it actually caused more lag on my phone for some reason.

I'm 3 button download mode locked out so if this bricks my phone, it's toast :(