yashsingh1/xdaforums huggingface dataset:
[Galaxy 3 Android Development] unreal3000:
!

for all people having problems formatting use a card reader!!

1st partition is fat32,active and primary

2nd partition is ext2,none and primary!!

i tried using the phone fr partitioning but just doesnt work..

just use a card reader and when using lagfix dont frget to give su permission!
[Galaxy 3 Android Development] Thom47:
Okay, here goes my last attempt. I'ma try factory reset, which I believe I did do before. First I'll have to re-partition the sdcard, though
[Galaxy 3 Android Development] jazux:
ok heres how i did it, i flahed JPF then i partioned my sd card then i ran lagfix 1gb, it booted ONLY 1 time but it worked, i did not do a factory reset.
[Galaxy 3 Android Development] Thom47:
Well, I partitioned it again, flashed JPF, rooted, installed busybox and applied 500mb lagfix, and did a factory reset. After that I ran a .bat which did the following:

adb install calendar.apk
adb install a.apk
adb install aBatteryIndicatorPro.apk
adb install aSwiftKeyKeyboardv.apk
adb install aOfficeSuiteProfessionalv.apk
adb install aezPDFReader.apk
adb install com.facebook.katana.apk
adb install com.rovio.angrybirds.apk
adb install com.rovio.angrybirdsseasons.apk
adb install launcher.apk

Just for testing purposes, put puregrid on the desktop and changed keyboard to swift. They all worked nicely.

I Rebooted the phone and once I got back swift keyboard crashed immediately, pure grid calendar didn't load and after a while, it crashed too.

I'll try flashing JPF on normal partition, and then apply all these partition things. Let's see what happens after that

Edit: I did that, and now I installed only pure gird calendar widget, and rebooted. It loaded fine? Will try other apps, too.

I also installed that by copying the apk to my sdcard, instead of adb install. Will report more as testing continues

Edit2: I executed the .bat again, which adb install ed all the apps listed above, and they all crashed on reboot. Will try re-flashing, formating the sdcard and then install all apps by copying them to the card.

Edit3: Flashed JPF again, using no sdcard. Then, I formatted the partitions on mysdcard. Rooted & installed busybox on my phone (used a different sdcard for this), and after that I plugged in the partitioned card.

Applied the lagfix, and the phone rebooted. Installed few apps by copying the .apks to sdcard storage, and then installing them. on reboot most of them crashed. Did a factory reset and re-installed apps (uninstalled them first). Rebooted, and most of them crash (battery indicator pro loads fine and shows battery status in the notification bar).

I can't get it to work, perhaps It's a problem with my sdcard being too slow or something
[Galaxy 3 Android Development] sll88:
Hello, works on JP9 ROM?

Thank you very much.
[Galaxy 3 Android Development] EdisDee:
my phone stopped vibrating too... can you please fix this?
[Galaxy 3 Android Development] jaskiratsingh:
I have done some tests and i feel like problem is with hard resetting the phone that we do after fresh installation.

I installed JPF fresh copy, installed super user, hard reset, installed lagfix and everything working fine. My widgets, setcpu everything fine

I reinstalled JPF, installed superuser, installed lagfix, hard reset the phone and all widgets restored back to factory setting after reboot...i mean everytime my phone rebooted, it appeared as if all apps were installed fresh...with no memory pending :(

I love the concept that apollo has come up with and eagerly waiting for a fix.

@Apollo: Buddy, please update or post your comments. Thanks
[Galaxy 3 Android Development] imranaryan:
my phone is stuck at samsung screen after applying lagfix... what to do
[Galaxy 3 Android Development] apollo5801:
Sorry for the delay guys. Thank you for the patience and i need some help here. I am just learning like you. The real problem is on boot lagfix will unmount rfs /data partition and mount sdcard partition. So the service started prior to unmount&mount have some sort of startup data in rfs /data partition and those services are not wokring. I am tryring to figure out a way to copy data form rfs to sdcard on boot or restart those services after mount. Does anyone know how to restart a init service.
[Galaxy 3 Android Development] apollo5801:
when it is stuck. Connect to adb shell and su

mount -o remount,rw /dev/stl6 /system

echo "#!/system/bin/sh" > /system/bin/playlogo

mount -o remount,ro /dev/stl6 /system
[Galaxy 3 Android Development] jazux:
crazy?

ok this might be stupid idea but could you do 2gb lagfix??? i already have 1gb of apps and i need MORE!!!! love your work.
[Galaxy 3 Android Development] Thom47:
Thanks for looking into that problem. I thought that it was related to something like that.
[Galaxy 3 Android Development] jaskiratsingh:
Thanks Apollo.... I am sorry i cant help you because i have no idea about it :(
[Galaxy 3 Android Development] Jeegsawk:
Why not copy all data in the sd card, let the device boot normally and then launch a script which remount the data partition to the one in the sd card? Could it work?
[Galaxy 3 Android Development] arunmcops:
My score

My quadrant score after applying Lagfix 1GB.
[Galaxy 3 Android Development] divinesahil:
dude need to know that do u have the double logo and vibrator prob if no then pllz let m know d procedure
[Galaxy 3 Android Development] jaskiratsingh:
Wont this increase the boot up time?
[Galaxy 3 Android Development] jaskiratsingh:
I am not sure if this can be of any help but you can check the link:

http://source.android.com/porting/bring_up.html

Especially the below sections:

Services

Options

Commands

Example init.conf
[Galaxy 3 Android Development] jaskiratsingh:
which app is this that displays quadrant score in this format?
[Galaxy 3 Android Development] jazux:
quadrant standard from market
[Galaxy 3 Android Development] divinesahil:
can som1 plz confirm fix for double logo and vibrator
[Galaxy 3 Android Development] apollo5801:
Standby guys. I will have a new version in few hours. double logo and vibrator issues are fixed.

I have added 2 new features. automated sdcard partiting and you can choose what ever app size you want. Lagfix will take care of partitiong and it will ask you for the app partition size.
[Galaxy 3 Android Development] EdisDee:
found another bug. when i set my clock to manual and set my time zone (+2) after restarting my phone it resets back to +0. please fix this. i was late for work today because of this :)
[Galaxy 3 Android Development] cpwchucky:
Ok Here is My Experience

Did Exactly what you said It worked 1 gig for apps and 6 for other (8gig sd Card)

I am using an i5801 Thailand with the new firmware I5801BVJP9. IT Works faster and quadrent gave me 578.

Bugs

No vibrate :mad::mad::mad::mad::mad::mad

Sometimes apps closes unexpextaly in the background:eek:

Facebook force closes :mad::mad::mad::mad::mad::mad::mad:

Whatsapp doest work:(:(:(

Yahoo also doesnt work :confused::confused::confused:

The Time Zone resets to +0 every reboot.

Other than that it pretty Wicked !!!:)

Thanks for the work hoping for a new version soom
[Galaxy 3 Android Development] coolpepe:
Bring it on mate. I m eager to give another go at it. (Waitin eagerly)
[Galaxy 3 Android Development] jaskiratsingh:
Awesome...Waiting for it
[Galaxy 3 Android Development] apollo5801:
blank.......
[Galaxy 3 Android Development] apollo5801:
fixing bugs
[Galaxy 3 Android Development] rudolf895:
Awsm

downloading it... ;)
[Galaxy 3 Android Development] rudolf895:
wait what do u mean by "do not remove the battery" does this apply only for the 1st reboot? or should we never remove battery after this
[Galaxy 3 Android Development] jaskiratsingh:
DId as mentioned....Task manager shows 194MB for apps with 3.69 in storage (exact space for storage). Is this what it is supposed to do.

Please find attached the log...
[Galaxy 3 Android Development] rudolf895:
Damaged sd

it shows damaged external SD card... And when i click on the notification it tells me to format?:confused::confused:

Benchmarks Score:303:mad::mad:
[Galaxy 3 Android Development] jaskiratsingh:
yes...same thing happened with me...I formatted the SD Card but lagfix didnt work..

had to hard reset the phone, reinstall lagfix and then it worked but quadrant score is low :(
[Galaxy 3 Android Development] rudolf895:
When i tried again

its said enter the size in MB i gave 1024

it gave me this!:confused:
[Galaxy 3 Android Development] rudolf895:
What happened here

when it asked you for size in MB what size did you give:confused:

BTW i gave 1024, ext2 part was 1350MB

Other fat partition was around 13.1
[Galaxy 3 Android Development] apollo5801:
It is applicable only for the first time after applying lagfix. First time just need to do normal shutdown by pressing power button and power off.
[Galaxy 3 Android Development] apollo5801:
What is your sdcard size? restart phone and try again.
[Galaxy 3 Android Development] rudolf895:
my sd card size is 16GB
[Galaxy 3 Android Development] apollo5801:
please paste "adb shell df" output.
[Galaxy 3 Android Development] rudolf895:
is there any way to conform that the lag fix in phone has been applied :rolleyes:
[Galaxy 3 Android Development] apollo5801:
Join web chat at

webchat.freenode.net

channel: apollo
[Galaxy 3 Android Development] arunmcops:
No. Its Quadrant Pro.
[Galaxy 3 Android Development] apollo5801:
Here is another beta release. I have fixed partition bug.

Note: Backup sdcard data to your pc before applying this Lagfix. I am not responsibile for any damage.

New Features:

Lagfix is capable of partiting sdcard. No more manual partiting.

You can choose what ever app partition size you want. Lagfix will prompt you for this.

Bug Fixes:

fixed a partition bug

Double logo

Vibrator

Time zone reverting

How to Install:

. Download attached file and unzip.

. launch remove_lagfixme.bat if you have already installed lagfix before.

-- Grant super user permission on the phone

-- Wait untill phone is rebooted

. launch install_lagfix.bat

-- Enter apps partition size when prompted.

-- Grant super user permission on the phone.

. When completed turn off phone using power button and start. You should not terminate or remove battery to turn off phone first time after applying lagfix.

-- Task Manager will show only 194MB for the apps. Dont worry about it. Thats just reporting issue.
[Galaxy 3 Android Development] Thom47:
Thank you, will definately test it out soon. Can I help you with supporting a log or something similiar?

Will test it as soon as I get my battery killed for recalibration, it just won't die no matter what I have on :)
[Galaxy 3 Android Development] apollo5801:
Attached a new zip file. Download and try again
[Galaxy 3 Android Development] Thom47:
Ran then newest lagfix, it gave a few warnings about something not working until reboot. Didn't get any errors though.

I rebooted the phone and it shows the same 194mb on internal and 7.40gb on external (which is the max on a 8gb card). This is, as you said, normal but how can I know if there actually is ~1gb of space now? Shouldn't it show external memory as 6.40gb if I removed 1gb of it?

Log here (pastebin link)

Oh and it shows the 194mb on both, the task manager, and the sd card info.
[Galaxy 3 Android Development] apollo5801:
open command prompt in your pc and go to where you unzipped lagfix. then type

adb shell df

check /data/app disk size in output.
[Galaxy 3 Android Development] Thom47:
/data/app: 1022008K total, 30372K used, 991636K available (block size 4096)

I take that as, 991mb avaiable. Thank you, It's working. Installing apps now to continue testing n stuff
[Galaxy 3 Android Development] RRenaRR:
Hi,

I'm sorry but I don't know how to ''Grant super user permission''. I have my i5800 rooted but I don't know how to do that step.
[Galaxy 3 Android Development] Thom47:
When you run the lagfix, stare at your phone and a superuser window should open up. You need to press allow for the lagfix to work.

If I'm right you need to do that twice, so keep your eye on the phone while the lagfix runs.
[Galaxy 3 Android Development] RRenaRR:
Mmmm, maybe I'm doing something wrong...

From where do I have to run the .bat file? I just open it and it says :

''error: device not found''
[Galaxy 3 Android Development] Thom47:
You must have USB debugging on

Applications -> Developing -> Check 'USB Debugging'
[Galaxy 3 Android Development] RRenaRR:
I still have the same problem :/

Device not found even with USB debugging ON.
[Galaxy 3 Android Development] Thom47:
That's odd. Are you sure It's connected? :p
[Galaxy 3 Android Development] RRenaRR:
Yes, it's connected :/

Do I have to do something else?

Debugging ON, connect USB, open bat.
[Galaxy 3 Android Development] EdisDee:
what is the problem? rooted with SuperOneClickv1.6.5 (busybox included). problem stays after manual busybox install.

Pushing required files to /sdcard.

* daemon not running. starting it now *

* daemon started successfully *

mkdir failed for /data/lag, File exists

64 KB/s (1969 bytes in 0.030s)

33 KB/s (925 bytes in 0.027s)

2 KB/s (59 bytes in 0.024s)

500 KB/s (28180 bytes in 0.055s)

184 KB/s (9460 bytes in 0.050s)

420 KB/s (18520 bytes in 0.043s)

712 KB/s (93396 bytes in 0.128s)

382 KB/s (13708 bytes in 0.035s)

285 KB/s (9636 bytes in 0.033s)

876 KB/s (111336 bytes in 0.124s)

1852 KB/s (4001493 bytes in 2.109s)

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

"Running lagfix now"

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

Enter apps partition size in megabytes (MB):1024

/system/bin/busybox: not found

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

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

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

Press any key to continue . . .
[Galaxy 3 Android Development] Kazoid:
superoneclick put busybox in /system/xbin/ replace it to /system/bin
[Galaxy 3 Android Development] EdisDee:
what now? thank you for your fast response.

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

"Running lagfix now"

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

Enter apps partition size in megabytes (MB):1024

rm failed for /system/app/SamsungWidget_FeedAndUpdate.apk, No such file or direc

tory

rm failed for /system/app/SamsungWidget_FeedAndUpdate.odex, No such file or dire

ctory

rm failed for /system/sddata, No such file or directory

rm failed for /system/sdtemp, No such file or directory

umount: can't forcibly umount /data/ext2data: No such file or directory

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

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

/data/lag/install.sh: line 27: grep: not found

/data/lag/install.sh: line 27: find: not found

Error: Could not stat device rm - No such file or directory.

Retry/Cancel?
[Galaxy 3 Android Development] coolpepe:
apollo5801 thanks for the lagfix and its workin nicely. The double samsung logo problem is not there anymore and i still have not found any bug except the 194mb space display issue and hope this will be soon rectified. THANKS again for this lagfix.
[Galaxy 3 Android Development] divinesahil:
Hey cant u fix d mem bug as in ur last release we could see d exact space in internal mem and be more thing does it work on ecliar
[Galaxy 3 Android Development] apollo5801:
Space display can not be fixed. I can make it work but you have to live with some bugs like vibrator. All lagfixes even for SGS have this issue.
[Galaxy 3 Android Development] apollo5801:
You need to install busybox tools. Open busybox in your phone and install it. When done apply lagfix.
[Galaxy 3 Android Development] EdisDee:
thanks a lot for your BIG work (lagfix).

is it possible to make your script install busybox?
[Galaxy 3 Android Development] rudolf895:
Is this the fix after what you tried to do yesterday in my Comp...will this work now
[Galaxy 3 Android Development] LePeR1898:
Is the latest update to this on the front page or a few pages back?
[Galaxy 3 Android Development] spikywits:
Thanks it's working in my case but looks to function strange. Here is my log, as you can see i've given 1000MB for which it created a 512MB filesystem for app.

Rebooted to see the filesystems are persistent or not. It did but all my apps went off :(
[Galaxy 3 Android Development] RRenaRR:
Still the same problem. :/

When I run the *.bat file my device is not found.

Any ideas? Do I need to have the busybox installed and the nand unlocked too?
[Galaxy 3 Android Development] LePeR1898:
plug your device in.. run command prompt from the "apollo5800_lagfix_beta" folder and type in

"adb devices"

if it detects your phone it should say something underneath "List of devices attached"
[Galaxy 3 Android Development] coolpepe:
OK apollo5801 i found 1st error:

When i try to import **.vcf files to the phone i get the following error and my quadrant score is 334 only.

EDIT:

OK the acore error is related to the JPF-Clean rom and now i am flashing to JPF rom, will report back with the results.
[Galaxy 3 Android Development] apollo5801:
Sure. I Will include busybox in next update.
[Galaxy 3 Android Development] apollo5801:
Looks like lagfix did not apply successfully. did you check /data/app size?

run "adb shell df" from the command prompt
[Galaxy 3 Android Development] divinesahil:
Appolo will this work on ecliars
[Galaxy 3 Android Development] spikywits:
anyone else having the issue of their apps not being loaded after reboot? in my case the lagfix installed over motofoca custom ROM.
[Galaxy 3 Android Development] RRenaRR:
It doesn't work.

Here's what happens when I try to run the .bat file:

And this is what I get when I type ''adb devices'':

What am I doing wrong? :(
[Galaxy 3 Android Development] Thom47:
Noticed a similiar thing today.. I had to reboot the phone due to Wi-Fi error and after that it loaded the default launcher (tw launcher) with no apps installed. If I tried installing an app, it asked me do I want to overwrite, meaning it was installed already.

As if there was a dual-boot, one with adwlauncher and second with twlauncher..

Will test this to the max if It's about my launcher

EDIT: Everything seems to work fine now. First I formatted the SDCard again, flashed BOJP6, Rooted & installed busybox with sdcard inside and then I applied the lagfix. After applying the lagfix I deleted default twlauncher so now It can load adwlauncher only and everything seems to be working fine after several boots.

By the way, if you can't get the lagfix to install (gives you errors about no space left) reboot your phone and run 'remove lagfix' and then run lagfix again. Be sure to stare at your phone for superuser requests.

Once again thanks apollo :)
[Galaxy 3 Android Development] LePeR1898:
It's not connecting to your phone it seems.. go into

Settings > Applications > Development > Enable Usb Debugging

also look for the Super User app and open it and look for unknown and make sure it has a Green icon beside it telling you its enabled.. if its red just click the green icon. If you don't even see it then next time you try to run the bat watch your phone and select allow when superuser pops up

Also you might not have the samsung drivers installed? Install Kies and it should do it for you
[Galaxy 3 Android Development] coolpepe:
@apollo5801 i flashed the JPF firmware and then after rooting installed the lagfix and its working for me pretty well. I even got a quadrant score of 541. Sorry for the false alarm and i thank you again for your hard work that went into making the lagfix.
[Galaxy 3 Android Development] divinesahil:
Hey ppl can u please confirm the battery life you are getting from this fix
[Galaxy 3 Android Development] rahulkucheria:
I applied the lagfix.

I can see 1gb in the tax manager.

But dont feel really fast with everything.

Yes my quadrant score is nearly upto galaxy s.

And is there any way to revert the card to normal ? coz windows sees only one partition.

Also my partition is 1gb can i increase coz i have a 16gb card... BTW will this improve my quadrant....(just need to flaunt a bit :P)
[Galaxy 3 Android Development] LePeR1898:
Windows is only supposed to see the one drive when you hook up the usb and as far as i know the score shouldn't change.. one of the reasons it went up because the performance increase of the sdcard vs internal
[Galaxy 3 Android Development] RRenaRR:
First of all, thank you for your help!

Secondly, it still doesn't work. When I connect my i5800 and run the bat file there's nothing that pops up on my phone and there's nothing in my Super User app (only other "known" apps). And the USB debugging is already enabled :/

Ideas?

Do I have to do something with busybox or something?
[Galaxy 3 Android Development] LePeR1898:
It could be.. try installing it again if you can or uninstall and install it.. you could also delete all the known apps from superuser and hope it pops up this time

When you plug your phone into your computer does kies detect it? Maybe start from there.
[Galaxy 3 Android Development] rahulkucheria:
What if the iternal increases from 1gb to 2gb or 4gb ?

Its gonna increase rite ?
[Galaxy 3 Android Development] LePeR1898:
No because the sdcard isn't getting any faster
[Galaxy 3 Android Development] RRenaRR:
When I turn off the debugging mode, Kies recognize my i5800, otherwise, it doesn't.

Re-installed busybox and it's doesn't work anyway. -.-'
[Galaxy 3 Android Development] LePeR1898:
I'm pretty sure that's normal :(

What about running the bat file with admin? Might cause issues if you have UAC enabled on your windows system.. otherwise im lost lol
[Galaxy 3 Android Development] jazux:
i just dropped my sg3 and the battery came out... i noticed something, the lagfix worked perfectly for me but when i dropped it and batt came out i inserted it back and booted and then every single app gave me fc´s... now i think im reflashing some other jpf and run the new lagfix
[Galaxy 3 Android Development] bubbles19666:
How can I download the attached files?

I cannot find them :(
[Galaxy 3 Android Development] divinesahil:
Problem that i faced is that titanium backup shows phone not rooted even tough it is and coincidently even i dropped my phone today and battery popped out but every things working nice no fc. Just got 1 with music player but after that its been working nice
[Galaxy 3 Android Development] Thom47:
If you can't get it to install (doesn't give you any superuser popups) apply it once, then reboot and then run remove lagfix, reboot and then run it again. Be sure to stare at the screen while applying the lagfix, incase superuser pops up.

Oh and obv. your phone must be rooted and busybox installed
[Galaxy 3 Android Development] RRenaRR:
I tried to run the bat file as admin and this is what I got:
[Galaxy 3 Android Development] Klamer.S:
Compliments, this sounds like a very good idea!

Three questions, to make sure I will not brick my phone:

1) will this work with 2.1 eclair?

2) what happens when I upgrade to a newer ROM with this installed? Will I loose all my apps?

3) is there an un-install option?

And just of interest: what happens with the old data partition on the device? Will it contain all the data (providing a fall-back), or will it be cleaned / re-used?
[Galaxy 3 Android Development] spikywits:
I got it working this time after couple of re-installs. Everything is working as it is supposed to be, rebooted and verified all the apps to function normal.

Only annoyance is that the total internal memory still shows 194 mb but its not real in actual world. This is the most impressive ROM(motafoca) + fix(lagfix+data2sd) I tried so far.

Appreciate the excellent patch work by apollo.
[Galaxy 3 Android Development] DJ SNap:
Where I can download it? In first post there isn't any download links.
[Galaxy 3 Android Development] LarryMetal:
Check the thread, the link is few pages back.

Please read the thread, it's not right to just ask. All you want to know is here, less than 20 pages. Check and if something is not answered then ask. ;)
[Galaxy 3 Android Development] tarnagy:
Where is the progam???