yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] bommel0815:
hm, I get the following error when I try to install apps after applying this patch (samset 1.9d atop of JM5):

from logcat

I/PackageManager( 2305): /data/app/vmdl45548.tmp changed; unpacking
D/installd( 2234): DexInv: --- BEGIN '/data/app/vmdl45548.tmp' ---
D/dalvikvm( 3255): creating instr width table
I/dalvikvm( 3255): DexOpt: source file mod time mismatch (00000000 vs 3d056d43)
W/dalvikvm( 3255): Cached DEX '/system/framework/core.jar' (/data/dalvik-cache/s
ystem@framework@core.jar@classes.dex) is stale and not writable
I/dalvikvm( 3255): Unable to open or create cache for /system/framework/core.jar
(/data/dalvik-cache/system@framework@core.jar@classes.dex)
D/dalvikvm( 3255): Unable to process classpath element '/system/framework/core.j
ar'
I/dalvikvm( 3255): DexOpt: Some deps went away
W/dalvikvm( 3255): Cached DEX '/system/framework/ext.jar' (/data/dalvik-cache/sy
stem@framework@ext.jar@classes.dex) is stale and not writable
I/dalvikvm( 3255): Unable to open or create cache for /system/framework/ext.jar
(/data/dalvik-cache/system@framework@ext.jar@classes.dex)
D/dalvikvm( 3255): Unable to process classpath element '/system/framework/ext.ja
r'
I/dalvikvm( 3255): DexOpt: Some deps went away
W/dalvikvm( 3255): Cached DEX '/system/framework/framework.jar' (/data/dalvik-ca
che/system@framework@framework.jar@classes.dex) is stale and not writable
I/dalvikvm( 3255): Unable to open or create cache for /system/framework/framewor
k.jar (/data/dalvik-cache/system@framework@framework.jar@classes.dex)
D/dalvikvm( 3255): Unable to process classpath element '/system/framework/framew
ork.jar'
I/dalvikvm( 3255): DexOpt: Some deps went away
W/dalvikvm( 3255): Cached DEX '/system/framework/android.policy.jar' (/data/dalv
ik-cache/system@framework@android.policy.jar@classes.dex) is stale and not writa
ble
I/dalvikvm( 3255): Unable to open or create cache for /system/framework/android.
policy.jar (/data/dalvik-cache/system@framework@android.policy.jar@classes.dex)
D/dalvikvm( 3255): Unable to process classpath element '/system/framework/androi
d.policy.jar'
I/dalvikvm( 3255): DexOpt: Some deps went away
W/dalvikvm( 3255): Cached DEX '/system/framework/services.jar' (/data/dalvik-cac
he/system@framework@services.jar@classes.dex) is stale and not writable
I/dalvikvm( 3255): Unable to open or create cache for /system/framework/services
.jar (/data/dalvik-cache/system@framework@services.jar@classes.dex)
D/dalvikvm( 3255): Unable to process classpath element '/system/framework/servic
es.jar'
E/dalvikvm( 3255): Too many exceptions during init (failed on 'Ljava/lang/NoClas
sDefFoundError;' 'java.lang.NoClassDefFoundError')
E/dalvikvm( 3255): VM aborting

and market app says that the package is invalid.
[Galaxy S I9000 Android Development] BigQ:
thanks for chainfire hardworking.

I reflash jh1 asia rom and rooted then apply lagfix 1.7.

I can download software from market use wifi.

But can't download software from market with 3G network.

anyone has this issues?
[Galaxy S I9000 Android Development] bommel0815:
hm. restored from an older nandroid backup to a samset 1.9c installation, applied 1.9d update and did the fix again, now I can install stuff again...have to do a nandroid now and hope that it doesn`t occure again.
[Galaxy S I9000 Android Development] bommel0815:
try going to app settings, filter, show all, click on market and clear its cache, as well as the downloader cache. you can also boot to clockworks recovery and wipe the cache.

the first thing worked for me.

ah, and of course, THANKS chainfire!
[Galaxy S I9000 Android Development] IDtheTarget:
Actually, somebody earlier in the thread stated that he had no problems installing on a stock Vibrant. I've rooted my Vibrant using this:

http://xdaforums.com/showthread.php?t=723479

I'm going to try to install clockwork recovery (whatever that is), and then try this out. Hopefully it will make my phone usable...
[Galaxy S I9000 Android Development] danamoult:
Is there a reason that most people seem to be using OCLagFix v2 over this, even though this seems to have a more 'refined' approach, including all the checks to make sure the fix can be applied etc?
[Galaxy S I9000 Android Development] Mithent:
I've also had the "enumeration" problem, which went away after I tried again a few times. I don't think it can be a lack of .NET Framework 3.5, because I'm running Windows 7 x64 which includes .NET 3.5 as a core component (in fact, I tried to reinstall it from download, but the installer aborted because it's a Windows component).

But it works now, and I have a Quadrant score of 2100 on JM5. While I didn't have a huge lag problem before, it does seem quicker, so I'm not going to argue with that :)

(I'm familiar with your 3D driver work, Chainfire, and was pleased to see you're involved with the Galaxy S too now that I've moved to Android. Thanks!)
[Galaxy S I9000 Android Development] RaptorFB:
Ouch, you wound me man.

I fully understood that this is BETA software, and since the option to return my phone to happiness and sunshine exists through the Clockworkmod Recovery, at the very worst, I was prepared to lose some time. For all I know, it might have not been a problem with the program, but user error on my end instead, so I have restored from backup and will keep reading.

With that in mind, ext2 is likely to give better results?
[Galaxy S I9000 Android Development] ml78:
Oo my god.. I Thought I was lagfree before trying this but there is a significant speedup after this... Worked great.
[Galaxy S I9000 Android Development] IDtheTarget:
OH MY GOD! This is like having a brand new phone! I can't believe how nice it feels now, and the update ran without a hitch on my T-Mobile Vibrant!

1) First I rooted my phone

2) Then I installed ROM Manager (paid version)

3) Then I installed Clockwork Recovery (from within ROM Manager)

4) Then I backed up my ROM

5) Then I ran your update

6) Profit!!!!

I like it so much that I just donated 20 Euros to you. It is easily the best money I've spent on apps so far on this phone!

This ROCKS!

IDtheTarget

P.S. So far I haven't had any problems with any of the programs I've purchased from the Market (Docs To Go, Robo Defense, Whiteboard).
[Galaxy S I9000 Android Development] Chainfire:
I don't know, but OC is better known, so it has more links to it on the internets is one good reason it gets more views, probably.

Thanks for the .NET info. In that case, I'm not sure what the hell is going on with that error. I've checked all the "usual" causes (according to the internets) for this issue, and none of those apply. I suspected 2.0 as somebody posted an extensive error report that seems to use 2.0 DLLs. So this issue is still a big "wtf". Unfortunately I am not a C# or .NET guru, so it could be a while before I find (and fix) this issue.

ext2 will give faster results. There is some debate to ext3 being safer. ext4 is coming soon as well.

Thanks for your very generous donation and the info!
[Galaxy S I9000 Android Development] BackfireNL:
Don't clear cache through recovery it ****ed up my phone!

All my settings are gone!
[Galaxy S I9000 Android Development] RaptorFB:
Second try, using full default settings like I should have the first time (intead of switching to ext3) and it works like a charm.

Quadrant: 801-> 1981

Thanks!
[Galaxy S I9000 Android Development] trueimage:
just did this on my Bell I9000M.

Quadrant went from 918 to 2263!

Thanks
[Galaxy S I9000 Android Development] m4ssnet:
did this fix show the real internal memory avaiable in the setting menu of android ?
[Galaxy S I9000 Android Development] thebazman:
ive applied the 1.70 fix and everything seems to be going great apart from

cant connect to my google account to get on market

it keeps telling me CANT establish a reliable data connection to the server then tells me to use wifi when im already are

wifi and 3g working as ive tested with internet and other apps

regards
[Galaxy S I9000 Android Development] FrezoreR:
whenever I start root explorer it justs crashes.

Does anybody recognize this problem? is it tied to this fix or what could it be?
[Galaxy S I9000 Android Development] dupel:
Probably corrupted data (when it was being transfered), I got it several times on different programs. Just uninstal and install again (not just reinstall over the old version). Should work.
[Galaxy S I9000 Android Development] FrezoreR:
I've tried that, but it doesn't seem to work.. maybe I need to erase some cached data?
[Galaxy S I9000 Android Development] MetalWeirdo:
Weel, I have JP3 , with 1000 sore in Quadrant, First i tried the fix with ext3 ... it failed in the beginning......

Then, i applied the fix with custom size and with ext 2... It completed successfully!!!

Now i have a 1974 and up :P

Thanks for your work, i would donate to you but i'm a minor :P
[Galaxy S I9000 Android Development] Chainfire:
I think I figured out the problem why some of you are still having corruption issues... trying to fix it, but not easy :)
[Galaxy S I9000 Android Development] edxter:
Thank you for this CF. I applied your fix over the hackeclair rom and everything works fine. I can confirm that .NET 4 works with this. I'm using Windows 7 pro 32 and could install and resize twice.

I had just a hangup in the move /database since the phone didn't auto reboot but a manual reboot fixed that and the fix was done.
[Galaxy S I9000 Android Development] FrezoreR:
I fixed my problem, not sure if I did something wrong.. but now it works great :)

I had some issues with the su-version I used, so all the updates was not made.
[Galaxy S I9000 Android Development] Chainfire:
1.80 released !

Well, 1.80 is attached to the first post.

There's been some heavy modding to the patch method.

This version should fix all remaining known "issues", including, but not limited to:

- Android booting into lookscreen when it's not supposed to

- Occasional data corruption that a relative few experienced, especially on installations with a lot in them already

- The enumeration failure error message

- Corruption on uninstall

- Private APKs

- Loss of cellular and Wi-Fi APN's

- Infinite boot loop

- Getting stuck during the procedure

- Databases not being moved

(fingers crossed!)

Please re-report these issues if you spot them!

However, and I can't stress this enough, this new method is tad bit more dangerous. While I believe the chance of error is much lower than it was with earlier versions, if an error occurs there is a now a chance you must actually reflash to unbrick (if phone does not ultimately boot into Android). If the phone does boot into Android, ClockworkMod recovery backup/restore will still work 100%.

As I have only tested this myself on JM2 (though several times, and without any issues), because of this I am labelling 1.80 as alpha for now, until I get some more feedback. So if you have a phone without download mode, I'd wait to hear what others have to say about 1.80 before using it.

If you are reading this post linked from the first post, please check the last few pages of this thread to see user experiences for version 1.80, before you decide which version to use.

Additional note: if you are using v1.70 right now, it is probably best to try to use v1.80 to uninstall, instead of v1.70.

For a future version I might add ext4 because again a lot of people are asking for it, but same as ext3 I would not actually advise using ext4 over ext2 at this point. Also, I have some really cool stuff in my head already for future versions, but those will definitely have to wait until I'm back from vacation. You'll be pleased though, if all goes through as planned (and it's still necessary by that time, re: official froyo update).
[Galaxy S I9000 Android Development] kalpik:
^^ Awesome! Giving 1.80 a try! On a side note, when will you be back from your vacation? :)
[Galaxy S I9000 Android Development] kalpik:
Ok, worked fine!

Changes I noticed:

1. Everything happens in one reboot. So the process is faster.

2. No blank screen while changes are being applied. You see the Galaxy S screen.

3. The progress estimates are much more accurate.
[Galaxy S I9000 Android Development] hiperjp:
@Chainfire, This method seems to be the most accurate and complete in options that I have seen. We will see any option in the near future to use an existing and clean external SD Card partition?. I did an ext3 partition in my external SD Card that I have not used at the moment, waiting for an optimal solution (like this!).

Thank you!
[Galaxy S I9000 Android Development] Calcvictim:
Just wanted to say thanks for a great piece of software, had no problems by following directions and am getting 1700 quadrant with ext3 while being lag free.

Thanks
[Galaxy S I9000 Android Development] kennonk:
Used 1.8 and it worked flawlessly on my mostly stock (just rooted) captivate. 2240+ (with my cpu running at 800MHz for battery savings) on Quadrant and everything is very responsive. Apps that kind of lagged before like Google maps, facebook, flixster load literally in a blink now. I perceive a very real world performance gain. Thanks again.
[Galaxy S I9000 Android Development] kalpik:
Yeah, I can also confirm that the lags while installing apps is gone now..

So 1.80 seems like AWESOME to me! :D
[Galaxy S I9000 Android Development] AllTheWay:
Did you use ext2 or ext3?
[Galaxy S I9000 Android Development] danamoult:
Most likely ext2.

Ext2 scores seem to be around the 2200-2400 range mostly, while ext3 seems to score around 1800.
[Galaxy S I9000 Android Development] balenax:
yo. used 1.80 and all works great, except for one thingie : tried to make a backup with clockworkmod's rom manager and it still doesnt work. i used the program, it rebooted, then started to do the backup, succeeded with backing up system and data, then it stays with : "generating md5 sum... wrote and does nothing. the progression bar is not completed. i waited for like 10 minutes and all i could do was a battery pull.

jm5 + 1.80, busybox 1.17.1

Later edit : well, i tried again, same result. But when i plugged the usb cable it worked :)
[Galaxy S I9000 Android Development] jackiechan8:
Does the Google Maps work with 1.80? Because it didn't work properly with RyanZAs lagfix when /dbdata was moved to its own ext2 partition. He also said that it could cause problems with other pre-installed apps as well.

If I remember correctly the Maps crashed only if it wasn't opened before running the lagfix. So if someone has used 1.80 on a fresh flash and hasn't opened any apps before applying it, is it working for you?
[Galaxy S I9000 Android Development] Chainfire:
Thanks for being the guinea pig ;) As for vacation, I'm at family now (devving through remote desktop, ugh!), will be flying in a few days (at which point I won't come to XDA anymore) and I'll be back early September... the 2nd or 3rd or so.

Maybe :)

Not sure what that is, but seems something to do with ClockworkMod. Did you "prepare" for backup by resizing the partition to smallest possible size before doing a backup of your lagfixed system ?

Not sure why it'd stall at that point, I've tried it a couple of time (but always with USB connected, now I think about it) and it worked for me.

Keep in mind that if you do not resize, the entire backup process could take like an hour to go through all steps before being done.

This problem hasn't been reported since the original v1.00, so I'm assuming at this point it doesn't happen, until someone else reports it again :)
[Galaxy S I9000 Android Development] balenax:
yeah prolly i should have waited more :). i used the auto install option, so the process should have been long indeed.

thanks!
[Galaxy S I9000 Android Development] dagrim1:
Just wanted to comment about a problem with the pure calendar widget but haven't tried v 1.80 yet. Just installed 1.70 this morning and now this version came out :)

It isn't listed in the widgets when adding it to the homescreen and is listed improperly (as org.koxx.pure_calendar etc instead of the 'official name'). Launcing it from the programs gives a crash.

Will try 1.80 later today and comment again then... (btw, would be willing to donate you the cash for that program so you can buy and try it :) Least I can do for this nice fix and your 3d driver work on the HD2 ;) ).
[Galaxy S I9000 Android Development] kalpik:
You're welcome! After using ALL the lagfixes, I can most certainly say that this one is by far the fastest, and least problematic. Actually no issues so far! I guess this is because in this fix all the moving part is done in a boot loop, so nothing is in use. Thanks for the fix, and I hope it keeps getting better and better!

Cool! Enjoy your vacation :)
[Galaxy S I9000 Android Development] m4ssnet:
will this 1.8 version fix the slowness market ?

Or it happen only to me that market was soooo slow ? also ruffle error on download .. :confused:

the rest, it's perfect
[Galaxy S I9000 Android Development] Chainfire:
Hope 1.80 works for you then. Keep in mind you should reflash your firmware, then CWM restore something you made before using CFLagFix, before doing that. If you simply uninstall / reinstall, the problem will remain (as it now already exists in your case).
[Galaxy S I9000 Android Development] fudduf:
1.8 doesn't work for me. received error message:

"Could not gain root privileges! Is your device rooted and is SuperUser installed?"

i am rooted and have superuser installed, other android apps can gain access just fine.

windows 7, JF3. i do not have an external SD card, is this the reason?
[Galaxy S I9000 Android Development] Chainfire:
Did you notice a SuperUser popup? Might be a weird version of SuperUser (someone reported that before).

If you just booted, wait a few minutes before running CFLagFix, that sometimes make that message go away as well.

If all else fails, try doing an "adb shell" from command line, and enter "su" in it. That's the same method CFLagFix uses...
[Galaxy S I9000 Android Development] crashmaxch:
Thank you for 1.80. Now my pre rooted JP3 works great!

Before (with lag fix 1.70) I had lags and issues with many apps.
[Galaxy S I9000 Android Development] m4ssnet:
I'm using JM5 + Samset 1.9d

Installed 1.8 fixlag, all goes perfect.. the only issue I'm seeing it's that the market it's really slow in 3G/H. Also, sometimes download fails.

It's my problem ?

ps. having issue also in all data in/out trought 3G/H, full signal, no data :-(

operator: H3G Italian
[Galaxy S I9000 Android Development] wallacebw:
FYI I had an issue with 1.7 'full auto mode'.

Everything worked 100%, but within 30 min I started receiving free space related errors. The phone was even rejecting text messages (not enough space).

I uninstalled the lagfix using 1.7 and reinstalled using 1.8 with a custom partition size (750MB).

Any thoughts on why this happened?

FYI: I'm running I897UCJH2 (2.1) see thread 751518
[Galaxy S I9000 Android Development] BackfireNL:
Quadrant Advanced!

Wow! just installed 1.80!

And i ran Quadrant Advanced!

I got 2126 on the first run!

Total: 2162

CPU: 739

Memory: 1832

I/O: 7045

2D: 308

3D: 888

We are really cheating on the I/O side :P

I am running JM2
[Galaxy S I9000 Android Development] fudduf:
hi, thanks for your help. i rebooted and got the same error before seeing your response.

i waited another 20 mins and tried again, this time i got the SuperUser popup and it worked!

quadrant score: 2077

thanks very much for all your hard work!
[Galaxy S I9000 Android Development] BackfireNL:
Chain,

Just one question! if i want to apply a new update.zip (for installing the new Superuser app) Will it work? or not because my /system is in the new ext partition?
[Galaxy S I9000 Android Development] Chainfire:
Not sure. Perhaps a conflict with Samset ? Some have reported this before, I think they solved it by flashing JM5, performing the lagfix, and only then installing Samset, but not sure. (Note I haven't even tested with JM5 myself).

Strange, I leave about 250 mb of free space on purpose to prevent that message from popping up. I haven't seen it myself either. Also note that apps are now installing _inside_ the image, not in the "reported" free space.

Note that in the CFLagFix tool you can resize the space used. The operation takes a few minutes, though.

/system is not inside the ext partition. /data/system is. I'm not sure how update.zip's work exactly, but I suspect you should be able to apply a new update.zip without any problems.
[Galaxy S I9000 Android Development] dakiz71:
switched from only rooted JG5 to JM5 with root and CFlagfix 1.8 on a EURO Galaxy S i9000

everything went smooth, here is what I did:

Made backup of my stuff (titanium and mybackup pro), rebooted into recovery mode, wiped cache and restored to factory data, then rebooted and switched off the phone. I took off sim card and microsd.

Started Odin, connected the phone in download mode (down+home+power), flashed JM5 with CSC from JM2, rebooted again into recovery after the successful flash and wiped only cache, again. Then I rooted the phone with one click method, after reboot, I activated USB Debug mode and launched Super User app (this is necessary not to have that error message about root upon launching CFlagfix 1.80), finally run CFlagfix. A popup asked for permissions which I granted, pressed INSTALL leaving full auto mode on. The whole thing took 10 minutes or so, then I installed all apps (paid and free) from market and restored all my (data) backups and everything is working like a charm!

Improvements I noticed:

Super fast Gallery

Uber fast market on 3G and Wifi (when on G5 download list took seconds to show, now it's blazing fast!). No problem at all with paid apps.

Could quickly download and install 9 apps simultaneously before having a temp freeze on the tenth app I was trying to install

General feeling of speed, lag free

Quadrant score 2148

Thank you chainfire for your hard work!:D
[Galaxy S I9000 Android Development] vM00:
Super idea to permit resizing, but how is one supposed to resize when there's a size check? As i've already applied the lagfix, my free space is <500MB.

Might be a good idea to execute the size fix on the relevant tabs only.

Greetz,

vM00
[Galaxy S I9000 Android Development] Chainfire:
This made no sense to me. Could you try explaining again what you mean ?
[Galaxy S I9000 Android Development] Carthaison:
Thanks for your great JOB.
[Galaxy S I9000 Android Development] dagrim1:
Cheers for the reply :)

Uninstalled 1.70, reinstalled Calendar Widget and then applied the 1.80 lag fix and that seemed to fix things.

With 1.70 I reflashed, applied the lagfix and THEN restored with Titanium Backup. Guess that was the problem (did that to save time when applying lagfix). So perhaps it was no problem with 1.70 afterall but with the order of applying things.

All seems ok now, great! Enjoy the vacation ;)
[Galaxy S I9000 Android Development] BackfireNL:
Yes you are right! update.zip's are nice!

I checked it out with root explorer! the systems/app folder is not included in the EXT partition! to bad! because i think it would boost the performance even further?

is it even possible to put that folder in the ext partition also?
[Galaxy S I9000 Android Development] vM00:
Nevermind, my mistake....I thought your tool was compatible with RyanZa's LagFix.

If I'm not mistaken your directory structure is different.

Greetz,

vM00