yashsingh1/xdaforums huggingface dataset:
[Galaxy 3 Android Development] Criminal23:
The Problem with Kyrillos Rom is'nt any more!

He had post a new version yesterday (2.2) and today a 2.2 without his implant lagfix!

So we can use apollo's fix ;)
[Galaxy 3 Android Development] Thom47:
@djsnap

When that happens just reboot your phone and apply remove lagfix.bat, then apply lagfix again, and reboot. Then check data/app size with adb shell df

Sorry if you already tried this
[Galaxy 3 Android Development] shuvabrata:
Have you tried it? I am on Lestat's 1.1 now and lagfix applied perfectly.
[Galaxy 3 Android Development] Criminal23:
sry, I can't test, because my SD Card is crashed yesterday

I would test it until this weekend (I must wait for the shipment from amazon)
[Galaxy 3 Android Development] DJ SNap:
Thanks for clue. I was trying but I wasn't sure it worked correctly. But if you say i works... Now I think there isn't problem because Kyrillos develop the ROM without Lagfix.

THANKS to: KYRILLOS, LESTAT, APOLLO!!
[Galaxy 3 Android Development] aeonstorm:
hey just want to know which is the "official" way of applying lagfix, i read through all 33 pages but i just got more confused.

is the lagfix.bat clicked in the computer or in the phone? which parts do i give superuser access to? what do i do with the rest of the files in the zipped folder. do i need to partition the sd card since i read that theres no need for manual now?

do i have to drag anything into the sd card?
[Galaxy 3 Android Development] shuvabrata:
Here's what worked for me:

1. Backup all your data on the SD card.

2. Format it inside your phone.

3. Unmount the SD card but keep it inside the phone.

4. Upzip the lagfix zip in a folder.

5. Connect ur phone to USB with USB debugging enabled

6. Run Lagfix.bat from your PC

7. Choose your preferred size of ext2 partition.

8. Once lagfix runs, it would end with "Device Busy"

9. Reboot your phone.

You're done :)
[Galaxy 3 Android Development] aeonstorm:
ok the part about unzipping the the lagfix folder... unzip it into the sd card or pc? it should be pc right
[Galaxy 3 Android Development] shuvabrata:
Yes. Of course
[Galaxy 3 Android Development] aeonstorm:
hmm it says device offline... what do i do?
[Galaxy 3 Android Development] arunmcops:
Where is the link ?
[Galaxy 3 Android Development] catanista:
I also would like to know!!
[Galaxy 3 Android Development] DJ SNap:
I don't think is working. I downloaded no lagfix version of 2.2 kyrillos ROM, and when I'm trying to apply lagfix:

Pushing required files to /sdcard.

* daemon not running. starting it now *

* daemon started successfully *

Permission denied

failed to copy 'files/install.sh' to '/data/lag/install.sh': No such file or dir

ectory

failed to copy 'files/init.sh' to '/data/lag/init.sh': No such file or directory

failed to copy 'files/playlogo.sh' to '/data/lag/playlogo.sh': No such file or d

irectory

failed to copy 'files/libext2_blkid.so' to '/data/lag/': Is a directory

failed to copy 'files/libext2_com_err.so' to '/data/lag/': Is a directory

failed to copy 'files/libext2_e2p.so' to '/data/lag/': Is a directory

failed to copy 'files/libext2fs.so' to '/data/lag/': Is a directory

failed to copy 'files/libext2_profile.so' to '/data/lag/': Is a directory

failed to copy 'files/libext2_uuid.so' to '/data/lag/': Is a directory

failed to copy 'files/e2fsck' to '/data/lag/': Is a directory

failed to copy 'files/parted' to '/data/lag/': Is a directory

failed to copy 'files/busybox' to '/data/lag/': Is a directory

"--------------------------------------------------------------------"

"Running lagfix now"

"--------------------------------------------------------------------"

Enter apps partition size in megabytes (MB):512

Permission denied
[Galaxy 3 Android Development] LePeR1898:
make sure to click allow under superuser?
[Galaxy 3 Android Development] Criminal23:
It looks like the Kyrillos Rom without lagfig had a root Prob.

He work on the fix, and will upload the fixed version this evening.

Look here
[Galaxy 3 Android Development] catanista:
but this damn lagfix linkkkkkk where is it?
[Galaxy 3 Android Development] Criminal23:
That one?
[Galaxy 3 Android Development] DJ SNap:
But there isn't any promt to click. I know superuser should ask but there is nothing!

Special link to download: http://rapidshare.com/files/449495718/apollo5801_lagfix.rar
[Galaxy 3 Android Development] Criminal23:
PLS READ!

Theres a root prob on Kyrillos Rom. He would work straight on it :cool:
[Galaxy 3 Android Development] catanista:
thanks .... I can not download Lestatious Gingy
[Galaxy 3 Android Development] LePeR1898:
Try manually rooting since i guess it wasn't applied to the rom
[Galaxy 3 Android Development] Criminal23:
Why you cant? Link dead? Or don't know where it is?

EDIT:

Link
[Galaxy 3 Android Development] DJ SNap:
I can't manual root becasue Kyrillos ROM is Rooted.
[Galaxy 3 Android Development] Criminal23:
ok, now for third time, ...

ROOT DON'T WORK AT THIS TIME ON KYRILLOS ROM

He's work on it! Look here
[Galaxy 3 Android Development] LePeR1898:
Which rom because i think the no lagfix version didn't get rooted which was a mistake and a new upload is supposed to be going up later
[Galaxy 3 Android Development] DJ SNap:
Each of kyrillos ROM is preRooted.
[Galaxy 3 Android Development] LePeR1898:
but the nolagfix version is borked atm lol
[Galaxy 3 Android Development] kyrillos13:
no lagfix version issues fixed.... Testing and Uploading!

ETA: 1 hour!
[Galaxy 3 Android Development] DJ SNap:
Excuse me, but I don't understand you.
[Galaxy 3 Android Development] Criminal23:
PLS wait for the fixed version from Kyrillos. He would fix the root problem.

EDIT:

When its done, you can find the fixed version here
[Galaxy 3 Android Development] kyrillos13:
Uploading "without lagfix" version [fixed].... DONE!

Download it here!
[Galaxy 3 Android Development] aeonstorm:
hi,

can anyone help with the 'device offline' problem? when lagfix is pressed. i cant seem to open the ADB thing too it just pops up for a while and disappear.
[Galaxy 3 Android Development] LePeR1898:
Shift right click the lagfix folder and "open command window here".. then type "adb devices" and see if it detects your phone.. if it doesn't make sure "usb debugging" is turned on within your phone and superuser is set to allow the connection
[Galaxy 3 Android Development] aeonstorm:
thanks mate it worked...now a bunch of stuff came out but im not sure if it succeeded
[Galaxy 3 Android Development] cpwchucky:
installed the Kyrollis 2.2 fixed no lagfix and it is rooted and wifi seems to work but it doesn't install apollos lagfix at first it says no busybox installed in system/bin then after i install it in system/bin it installs then the lagfix comes up with the following error...

Pushing required files to /sdcard.

* daemon not running. starting it now *

* daemon started successfully *

mkdir failed for /data/lag, File exists

172 KB/s (2297 bytes in 0.013s)

100 KB/s (1032 bytes in 0.010s)

5 KB/s (59 bytes in 0.010s)

1250 KB/s (28180 bytes in 0.022s)

577 KB/s (9460 bytes in 0.016s)

1130 KB/s (18520 bytes in 0.016s)

1940 KB/s (93396 bytes in 0.047s)

892 KB/s (13708 bytes in 0.015s)

627 KB/s (9636 bytes in 0.015s)

1907 KB/s (111336 bytes in 0.057s)

2259 KB/s (4001493 bytes in 1.729s)

2332 KB/s (976824 bytes in 0.409s)

"--------------------------------------------------------------------"

"Running lagfix now"

"--------------------------------------------------------------------"

Enter apps partition size in megabytes (MB):1024

umount: can't forcibly umount /mnt/sdcard: Invalid argument

umount: can't forcibly umount /mnt/secure/asec: Invalid argument

umount: can't forcibly umount /system/sdtemp: No such file or directory

umount: can't forcibly umount /system/sddata: Invalid argument

umount: can't forcibly umount /system/sdext: Invalid argument

Error: Partition doesn't exist.

Error: Partition doesn't exist.

Error: Partition doesn't exist.

Information: You may need to update /etc/fstab.

Information: You may need to update /etc/fstab.

Information: You may need to update /etc/fstab.

Information: You may need to update /etc/fstab.

Information: You may need to update /etc/fstab.

mkfs.vfat: lseek: Value too large for defined data type

Filesystem label=

OS type: Linux

Block size=4096 (log=2)

Fragment size=4096 (log=2)

62464 inodes, 249856 blocks

0 blocks (0%) reserved for the super user

First data block=0

Maximum filesystem blocks=4194304

8 block groups

32768 blocks per group, 32768 fragments per group

7808 inodes per group

Superblock backups stored on blocks:

32768, 98304, 163840, 229376

0+0 records in

0+0 records out

0 bytes (0B) copied, 0.008682 seconds, 0B/s

mknod: /dev/loop10: File exists

Filesystem label=

OS type: Linux

Block size=4096 (log=2)

Fragment size=4096 (log=2)

65536 inodes, 262144 blocks

0 blocks (0%) reserved for the super user

First data block=0

Maximum filesystem blocks=4194304

8 block groups

32768 blocks per group, 32768 fragments per group

8192 inodes per group

Superblock backups stored on blocks:

32768, 98304, 163840, 229376

i unmounted the card and repartitoned to 1 fat32 and formatted with the android format.. no use.

Its Kind of ood that it doesnt detect the original busybox embedded in the firmware
[Galaxy 3 Android Development] aeonstorm:
hey man i got the same error as you what should we do?
[Galaxy 3 Android Development] santhosh5639:
hi... i installed it and it worked for me on I5801BVJP9 firmware.... but the problem is the applications which i install after lagfix is disapearing after reboot...... dont know how...but it shows installed when i go to manage applications..... and even if i have to remove sd card i have to switch off the mobile and remove the card.. because if i unmount and remove the phone gets stuck and i think it is because of that ext2 partition..... so i flashed again and now using without lagfix........
[Galaxy 3 Android Development] santhosh5639:
i think you have to wait till you get this message...

"--------------------------------------------------------------------"

"Lagfix Completed. Restart your phone using power button."

"--------------------------------------------------------------------"
[Galaxy 3 Android Development] jaskiratsingh:
I found the issue and have the fix for apps getting lost after reboot.

Can someone tell me how to push file into /system/bin using adp cause if i mount /system and push file in bin folder, i get permission denied.

If someone knows how to do so, please tell me so that i can provide the fix
[Galaxy 3 Android Development] jaskiratsingh:
All those facing issues with apps getting lost after reboot, try the below

1. Run Fix_Lagfix

2. Give su permission

3. Reboot Phone

If you want to revert back to orignal, run Remove_Fix_Lagfix

i was facing same issue of apps getting lost after reboot and have tested this for last 3 days and is working fine.

Comments are welcome
[Galaxy 3 Android Development] Criminal23:
For all, who wants to know, how to install Lagfix with Kyrillos Gingerbread Rom 2.2

Look here
[Galaxy 3 Android Development] Criminal23:
Should everyone install the fix, or only those, who lost the apps?
[Galaxy 3 Android Development] jaskiratsingh:
If you are not facing the issue, i wont recommend it.
[Galaxy 3 Android Development] shr33kant:
I just wanted to quote your post because it worked SO well for me :D everything worked perfectly thanks to you!! <3<3<3
[Galaxy 3 Android Development] LePeR1898:
Apollo you didn't happen to finish with that mounting fix or the new firmware? Figure'd i might be able to flash the Kyrillos rom and well running into the lagfix issue again :( /smacksselfforreflashing

Hmm after a few reflashes it seems to be working now even after giving errors
[Galaxy 3 Android Development] jaskiratsingh:
Best way is to unmount the SD card before running the lagfix

Note: If your card is already partitioned into ext2 and fat32, rexecuting the lagfix providing the same amount of space for apps doesnt format the fat partition.

I have tried to 4 times

If you face apps loosing issues, try my fix after lagfix
[Galaxy 3 Android Development] LePeR1898:
No worries i actually got it working after a few tries the other day
[Galaxy 3 Android Development] Vishnu N S:
Wow...Your Step 5 -> UNMOUNT SD CARD made all the difference !! Thank you so much !! :D :D
[Galaxy 3 Android Development] rbjara:
u must format fat32 as primary and the ext also as primary.... then it works
[Galaxy 3 Android Development] barqers:
Can anyone tell me what this does to my phone exactly? Besides give an extension to the internal memory? How does it make my phone faster?
[Galaxy 3 Android Development] pokosik:
when i applied lagfix my phone don't vibrate anymore :D
[Galaxy 3 Android Development] Thom47:
Thanks, got it working. At first phone didn't recognize the card, saying it was damaged. All I had to was set fat32 as active partition. Will post full story and instructions once I get home. Quadrant gives me 570 now. I also used the custom rom by motafoca
[Galaxy 3 Android Development] apollo5801:
You can make bigger partition if you need more space for apps. You can make bigger ext2 partition on sdcard and modify install.sh(replace 970 with space you need in MB and should not be over ext2 partition size) to get more space.
[Galaxy 3 Android Development] coolpepe:
Thanks a ton apollo5801, i was really annoyed with the lagfix taking much of the space and i was searching this very morning for the solution and then saw this thread and did what was asked for in the doc file and now i am very happy with the results. Thanks a ton again for this lagfix. GREAT WORK indeed.

EDIT:

I got a score of 520 in Quadrant. :-)
[Galaxy 3 Android Development] FadeFx:
I think it does not make much sense to have more than 1gig space for apps, i mean on my sgs i have 2gig, but i use prox 700mb for more than 100 apps...
[Galaxy 3 Android Development] apollo5801:
Currently /data in our phones is on rfs file system which is making phone slower and you can not install apps size more that 150MB. This Lagfix will make ext2 partition in sdcard and use it for /data. ext2 faster than rfs which will make phone faster and give more space for apps in sdcard.
[Galaxy 3 Android Development] pokosik:
seriously why vibration don't work?
[Galaxy 3 Android Development] jaskiratsingh:
you are right.... phone doesnt vibrate... Also during boot i can see two samsung logos :(
[Galaxy 3 Android Development] pokosik:
yes, two samsung logos
[Galaxy 3 Android Development] jaskiratsingh:
can u please look into the issues:

1. phone doesnt vibrate

2. 2 samsung logo during boot

3. All the applications installed are not read in android market

Thanks
[Galaxy 3 Android Development] Thom47:
I didn't really need anymore space for apps, so I didn't make it any bigger. In fact, even the 1GB is too big. But here's what I did:

- I followed the guide to formatting and partitioning the sdcard, but for some reason it didn't create any partitions, just formatted the card to Fat32 with one partition (basically just formatted it and did nothing else). After few attempts I decided to unmount the card and set it to my card reader (Zen x-fi) and tried partitioning it again. It created two partitions, but phone didn't recognize it. I set my FAT32 partition to active, and tried again

It worked and the phone recognized it. Then I applied the 1GB lagfix and there I had it, 1GB of internal phone memory and a quadrant score of 570.
[Galaxy 3 Android Development] pokosik:
how about vibration and double samsung logo?
[Galaxy 3 Android Development] nastyba:
what about apps instaled on sd ? do I need to move them to internal storage first ? or it's not needed ? Thanks
[Galaxy 3 Android Development] jaskiratsingh:
when you will partition the SD card, you will have to format it. Hence you will loose all data on SD Card. To save those apps, you have to move them on phone memory and once lagfix is applied.... you wont need to move them to SD card :)
[Galaxy 3 Android Development] debaj:
Wow, sounds promising, I try it out when I go home. Does this hack make the phone snappier except the Quadrant score? I use lagfix V2 and frankly I can not feel any difference.
[Galaxy 3 Android Development] jaskiratsingh:
I am not sure about lagfix...No doubt it improves quadrant score but where does it impact the performance, i am not sure.... :(

Good thing is that with this lagfix, i now have 1GB to install applications...I can

change that to 2GB or any space of my choice (thanks to apollo)

I used lagfix v2 but removed it since i was not able to see available space but with this i can see available space....

I am sticking to it since its doing no harm and i am getting more space....

the only concern is that phone doesnt vibrate, which as per me is not good... I need phone to vibrate...
[Galaxy 3 Android Development] LarryMetal:
Has anyone tried to do a factory reset and see if vibration works?
[Galaxy 3 Android Development] jaskiratsingh:
Didnt do factory reset but installed lagfix on factory reset phone but it didnt work?
[Galaxy 3 Android Development] jazux:
ok. just so everyone knows if you want to set partion status: active go to top bar and click partition and then modify and then set active ;)
[Galaxy 3 Android Development] apollo5801:
I am looking into vibrator and dual logo issues. Hopefully will have a fix in next 24 hours.
[Galaxy 3 Android Development] jazux:
how the .... do you get the lagfix work? i partioned the sd card with sd card reader to ext2 logical, none (3gb) and fat32, primary and active, i also formatted it (4.6gb) im using steriksson <--------- or whatever it is... busybox 1.17.1 and my phone is in debug and when i launch from my xp it says something failed and nothing happens....

WHATS WRONG??????????????? also my phone doesnt see sd card it says unavailable

EDIT: also should i mount sd card??
[Galaxy 3 Android Development] jaskiratsingh:
The reason lagfix is not working is because your sd card is not being read by the phone. Kindly read the instructions on how to partition.

After the partition, when you will insert the SD Card, it will be read by the phone. As you have rooted your phone, installed busybox, enable USB debugging and run batch file..

Your phone will reboot twice and you will get lagfix installed

My final status in minitool partition when it worked with my phone

Fat 32: set to active and primary

ext 2: set to none and primary

Formatted fat32 and it worked.
[Galaxy 3 Android Development] jaskiratsingh:
Thanks Apollo :)
[Galaxy 3 Android Development] getmefive:
Thanks Apollo..Working Smooth.For ppl who have trouble formatting using the fone please use a card reader..It works fine when u follow the instruction posted by Apollo...
[Galaxy 3 Android Development] jazux:
ok so i got the phone to see my sd card (i just changed ext2 to primary) and then i ran lagfix and it worked it pushed the file APOLLOFIX to my phone (or something like that) but my phone wont reboot, not once, not twice...
[Galaxy 3 Android Development] RRenaRR:
Same here...nothing seems to work.
[Galaxy 3 Android Development] Thom47:
Make sure the partitioning software actually does something, for me it just formatted it as FAT32 with no additional partitions, no matter what I did. The trick I had to do was put the sdcard to a card reader, and bam it created two partitions, FAT32 and ext2
[Galaxy 3 Android Development] Gsam101:
That's nice. I think most SD card aren't fast enough for that however.
[Galaxy 3 Android Development] jazux:
@thom47: Oletan että osaat suomea?? Eli siis laitoin sen sd kortin kortinlukijaan ja se kyllä teki 2 osaa siitä tarkistin asian vielä kolmella eri tietokoneella.... se kyllä tekee sen lagfixin ja oon ehtinyt just lukee siitä lagfix ikkunasta ennenkuin se menee kiinni että lagfix running mut puhelin ei vaan boottaa, ja tiedostot on silti puhelimessa.

Same in english: i did put my sd card to sd card reader and it did 2 partitions and i even checked that at 3 different computers.... it does run the lagfix and i can see in the script box that it says lagfix running but no reboot, and the files are still in in my sd card but they wont do anything...
[Galaxy 3 Android Development] Thom47:
Juu, empä tiedä sitten.. vaikuttais siltä että busybox ei ole asennettuna tms. puhelin ei rootattu\USB Debuggeri ei päällä, mutta sullahan nää kaikki oli että ei se kyllä siitä voi johtua. Outo juttu

--

Well I don't know, seems like busybox isn't installed, or phone ain't rooted\USB debugger is not on.. but you had these all checked so that shouldn't be the problem. Weird
[Galaxy 3 Android Development] coolpepe:
Yep theirs 2 samsung logo on start up and hope this will be soon rectified.

Edit:

apollo5801 my default launcher settings gets reset after every reboot or restart.
[Galaxy 3 Android Development] jazux:
ok, yei i got it working FINALLY... but i had to re-flash JPF because it didnt work on motafocas JPF
[Galaxy 3 Android Development] coolpepe:
Its working for me on motafoca's JPF.:)
[Galaxy 3 Android Development] jazux:
really? idk why it didnt work on my phone. weird.
[Galaxy 3 Android Development] pokosik:
everything worked on my sg3 with motafoca rom
[Galaxy 3 Android Development] jaskiratsingh:
Guys,

If possible can you provide difference between motafoca and jpf rom?
[Galaxy 3 Android Development] apollo5801:
Did anyone notice gps seems ultrafast. Locks location in less than 10 seconds.

I am still working on issues... Busy with my work...
[Galaxy 3 Android Development] jaskiratsingh:
sorry apollo...Didnt try that but will do so tomorrow.

Btw...did u try it with fastfix or without fastfix?

Edit 1: Awaiting eagerly for the fixes...
[Galaxy 3 Android Development] Sances:
this isnt the lagfix mods doing, its the rom JPF itself sam fixed it "finally"

anyone have freezing issues? my phone freezes at the unlock-screen for bout 5sec

when installing apps the whole phone freezes too for some sec.

media scanning seam also to be slower
[Galaxy 3 Android Development] Thom47:
I'm having problems now, everything works fine on first boot after lagfix, I can install apps and widgets, they all load nicely, but when I reboot everything goes to ****. Widgets crash (pure grid calendar, battery indicator pro, 3d watchdog, ...) and most of my apps don't work (opera mini, facebook, games) they all just crash. Trying the 512mb version now.

My rom is JPF (tried both motafoca and vanilla)
[Galaxy 3 Android Development] Boboop:
Same with me (500 MB version)
[Galaxy 3 Android Development] coolpepe:
Yep i m also facing the same issues as Thom47 and Boboop.

EDIT:

I also tried both the JPF ROMs with the same problems. Now finally i have uninstalled the lagfix till proper solutions are not found. Wish u good luck with that and will be waitin eagerly for the solutions.
[Galaxy 3 Android Development] Thom47:
Yeah, this is a superb idea and you've done a good job already, but until these bugs are fixed I just can't use it. Well vibrating I can do without but everything crashing is unacceptable.

Good luck
[Galaxy 3 Android Development] unreal3000:
some help :D

iv been using the 512mb version fr about 3-4 hours now and no problems...

infact this lagfix seems to be faster than the lagfix v2!!!

at first it kept failing and the phone would never reboot twice so i fresh flashed jpf..

but i realized the problem was that i ddnt give super user access :P

any way if u are facing problems try a factory reset should work great after that.

everything works smoothly on mine and looks amazing ;D
[Galaxy 3 Android Development] jaskiratsingh:
Hi Apollo,

Waiting for the fix :)

Kindly provide an update
[Galaxy 3 Android Development] jazux:
i have rebooted several times and this is third day i have this lagfix/1gb space, still NO PROBLEMS its just perfect!!!

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

JPF 2.2
[Galaxy 3 Android Development] LarryMetal:
Have you done factory reset? Were you on fresh install? Please tell us what was your procedure.