yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] Lovrium:
Tried it right now. Does improve indeed!

Whole phone response much quicker!

Thanks buddy:thumbup:
[LG Optimus 2x] David2X:
Connectivity problem

Hi all,

I'm on Owain's CM9 (v77) and i followed the walkthrough (copying the new build.prop). I can reboot without problem but my phone doesn't recognize my SIM card anymore: after unlocking my phone, it doesn't ask me the SIM PIN, and the signal is obviously off. If I come back to the old build.prop I have no problem. Maybe some RIL/BAseband problem? (Getril say that I have 0725 V10d Europe RIL and 1035.21_20110725 Baseband). Any ideas?

(BTW, the phone seems very responsive after running tune.sh)

Thanx!
[LG Optimus 2x] tonyp:
Well sorry I have no idea, this shouldn't have happened because nothing SIM related gets changed. Are you absolutely sure you didn't do any mistake with the build.prop? If yes you need to do the changes one by one to see which one is responsible.
[LG Optimus 2x] Ximo F. Verde:
maybe a dump question.. could i flash this for temasek's 126 build? thanx for the efford tonyp
[LG Optimus 2x] tonyp:
You can compare the build.prop from 126 and 127. If it's identical you can - if not you should manually edit the build.prop and flash the tune.sh script only.

Or just flash temaseks #127 - you don't need to wipe for that, then you can use the flashable zip for sure :)
[LG Optimus 2x] Ximo F. Verde:
Yeah i guess ill b flashing 127 (which i should have done by now :) ). Flashing your zip (i located it on temasek's thread btw) and wiping dalvik b4 rebooting is all thats needed in this case isn't it? I mean, i wouldn't have to manually edit the build.prop or anything else. Sorry for being ultra-noobish, I've tried it once already and ended up with boot loop..
[LG Optimus 2x] tonyp:
Yup you should be fine then.
[LG Optimus 2x] Ajsh:
I don't fully understand what this does:P So i have a question:

Will this interfere with the V6 supercharger script or the other way around?

I'm using it right now with V6 supercharger tweaks and having no problems so I guess not. But then again, does one make the other useless?:)
[LG Optimus 2x] tonyp:
I don't think it will interfere as v6 mainly changes the oom values. I haven't looked at the v6 source a while and don't exactly know anymore which further tweaks are done there but even if there would be an identical tweak it wouldn't harm the device.
[LG Optimus 2x] Ximo F. Verde:
It has definitely had an effect on my phone, feels snappier and less laggy that b4. thanx again tonyp
[LG Optimus 2x] rafaelsartori:
thanks for trying on temasek, gives me strengh to try on mine.

btw can i only do the script on MisJudgeTwat?
[LG Optimus 2x] tonyp:
No you can do both, but you need to do the dalvik changes in your build.prop yourself. Or maybe MisJudgeTwat would put it into his tweak file, just ask him.

I won't create flashable zips for every version out there, the one for temasek #127 was an exception. (But wow, already 61 downloads!)

But everyone can take, change and republish my temasek flashable zip.

Steps to create a flashable zip for a ROM (you could upload it to help others):

Download the ROM

Download the flashable zip for temaseks #127 (http://d-h.st/znv)

Extract the build.prop of the ROM from /system

Do the changes from the first post to the build.prop

Put the build.prop into the flashable zip for temaseks #127 at /system (replace the existing file) [Don't put it into the ROM but into the lagfree installer!]

Flash the ROM, then flash the tweak script. Nothing more to do as the updater_script already sets the correct permissions etc.

Steps to apply it on a ROM before ROM flash:

Download the ROM

Extract the build.prop from /system

Do the changes from the first post to the build.prop

Put the build.prop back inside

Download the tune.sh script and place it into the /system/etc/init.d folder

Flash the ROM as normal

Slight warning to unexperienced users: It's not always that easy to create a flashable zip, you usually have to change or create the updater_script. But in this case we're just changing the build.prop to another one.
[LG Optimus 2x] carbonize:
I posted about this in the Eagles Blood thread after someone complained about it being laggy at times and cellsafemode basically said the dalvik fix is a placebo. I'd say going off what everyone else has said it definitely isn't.
[LG Optimus 2x] tonyp:
As I'm a little tired of people sending me PMs about problems with installing this script I asked pastime to help me with an automatic installer for the lagfree+dalvik fix.

Thanks to him there's already a version, I'll test it (hopefully) tomorrow and release it then.

But come on guys, this is the dev section!

People who're reading here should want to learn something and the steps I describe here are fairly easy!

And please try to ask your questions in the thread rather than via PM - it's okay if you're new and are stuck at some place, but by posting here others can learn from it as well.

Edit: Will take some more time, we encountered an issue. See Update 2 in first post.
[LG Optimus 2x] slebit:
I actually didn't think that I would notice any difference on gb. But I'm pleasantly surprised how big difference i had after I installed this. So I'm very happy with how this turned out!
[LG Optimus 2x] skylinegt77:
link for temaseks 127 patch is broken :(
[LG Optimus 2x] tonyp:
Sorry for that, I reuploaded it again: http://d-h.st/YKn
[LG Optimus 2x] csunny95:
May I know what is the meaning of " comment out dalvik.vm.heapgrowthlimit". I need to delete this line or just add a #in front of this line?

Also, I have already place the tune.sh into the "init.d"folders and set to the right permission. Will it run automatically?how can I know if it is running or not?
[LG Optimus 2x] tonyp:
It doesn't matter if you delete it or comment it out by a leading #.

The flashable zip installer will be released soon. pastime has done a fantastic job (again).
[LG Optimus 2x] imayoda81:
audio choppiness is gone since lagfree started working... i have to launch it manually after a reboot

after it was patched in owain's 79 i was wondering just why it was keeping on the old behaviour after some uptime :D

nice job and finding tonyp
[LG Optimus 2x] pastime1971:
lagfree + dalvik fix init.d script

tony and i have worked out a flashable zip of init.d script + build.prop mod

there are two types of installations. choose one you like.

* system installation *

buttery-system.zip : edits /system/build.prop & installs /system/etc/init.d/99tune

to revert it, simply re-flash ROM.

you have to flash this every time you flash a ROM.

* user installation *

buttery-local.zip : edits /data/local.prop & installs /data/local/userinit.d/99tune

buttery-local-remove.zip : reverts /data/local.prop & removes /data/local/userinit.d/99tune

this changes /data/ and therefore, the effect is permanent unless you change it manually, which is the reason for buttery-local-remove.zip

# do a nandroid backup always.

# it probes if ROM is GB or ICS and apply mod accordingly. (only tested on ICS. please test it and feedback on GB.)

# to check if it is working, do the following in terminal

getprop | grep dalvik
getprop cm.buttery.active
cat /proc/sys/vm/*

!!! this script is based on vork kernel installer. the credit goes to vork team (benee and kiljacken)

edit: dalvik-cache wipe included, links updated
[LG Optimus 2x] tonyp:
Thanks pastime, added to the OP!

My Inbox is overflowing, one whole page full of PM's with you :D

http://screencast.com/t/8FereXF8uCDx

(yeah okay here are some with owain, but pastime continues on the next page hehe)
[LG Optimus 2x] lopiop:
does the patch work with the latest temasek kang build also how to flash?
[LG Optimus 2x] pastime1971:
it should.

just pick one and flash it from CWM.

i don't have GB rom on my phone right now, so it is untested, and i would like you to test it. nandroid backup first !
[LG Optimus 2x] lopiop:
ok, so is it like this, first, i do a nandroid backup, next i wipe data, wipe cache, wipe dalvik cache and wipe battery stats. after that, flash the rom and flash google apps. finally, i should flash the butterysystem.zip. Is that correct, sorry if i sound really noob :laugh:
[LG Optimus 2x] pastime1971:
are you coming from a different ROM ?

data and cache only need wiped if you are. (wiping data is a factory reset.)

dalvik wipe wouldn't hurt.

battery stat wipe is useless.

among rom, gapps, and buttery, only rom needs to be a first, and the rest doesn't matter.

if you had flashed gapps before, with an older version of the same rom, you don't need to flash gapps again. only when you are coming from a different rom or something.

edit: dalvik wipe is necessary for buttery script to have an effect.

edit: dalvik wipe is now included in the script.
[LG Optimus 2x] tonyp:
It not just wouldn't hurt but it is needed.

The dalvik cache needs to get recreated after the build.prop (local.prop) changes.

I guess we should add a "delete_recursive("/data/dalvik-cache");" to the updater-script.

Dammit, I should have thought of that earlier.
[LG Optimus 2x] ykin:
This is really impressive and automatic.

My phone is so smooth now.

Thanks so much!
[LG Optimus 2x] lopiop:
so i can flash this without flashing a new rom, i mean using my existing rom?
[LG Optimus 2x] pastime1971:
i'm on it.
[LG Optimus 2x] tonyp:
Of course.

@pastime: great! I run out of thanks again, will do that tomorrow.
[LG Optimus 2x] pastime1971:
done. tested buttery-system.zip. works.

here is updated links:

buttery-system.zip http://www.mediafire.com/?g86kykk39zgnys4

buttery-local.zip http://www.mediafire.com/?qrrqv7526giptow

buttery-local-remove.zip http://www.mediafire.com/?w1bmakjcmosd26m
[LG Optimus 2x] grimmyrippy:
pastime butter_system.zip works fine on temasek 128 build
[LG Optimus 2x] louiscypherbr:
Jesus, it's working on v20q!

Now I can't see the open screen on xda app!

that's amazing!
[LG Optimus 2x] wawyed:
I did getprop cm.buttery.active but it doesn't show anything :/
[LG Optimus 2x] sephiroth76:
so does this mean the script is working?

currently running on DJ RC1 rom.

$ export PATH=/data/local/bin:$PATH

$ getprop | grep dalvik

[dalvik.vm.heapsize]: [48m]

[dalvik.vm.dexopt-flags]: [m=y,o=v,u=n]

[dalvik.vm.execution-mode]: [int:jit]

[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]

$ getprop cm.buttery.active

1

$ cat /proc/sys/vm/*

0

0

4

0

1000

22

500

0

0

32

65530

10240

4

32768

0

0

0

1

50

3

0

0

0

1

50

50

$
[LG Optimus 2x] Ximo F. Verde:
i get this.. have no idea if its workin either lol. what are we looking for?

$ export PATH=/data/local/bin:$PATH

$ getprop | grep dalvik

[dalvik.vm.heapsize]: [32m]

[dalvik.vm.dexopt-flags]: [m=y,o=v,u=n]

[dalvik.vm.execution-mode]: [int:jit]

[dalvik.vm.dexopt-data-only]: [1]

[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]

$ getprop cm.buttery.active

1

$ cat proc/sys/vm/*

0

0

50

0

20000

70

20000

0

0

32

65530

10240

4

4096

0

0

0

1

50

3

0

0

0

1

0

200

$
[LG Optimus 2x] tonyp:
@sephiroth76: No, that doesn't look correct. Please reboot once and check again. If it's still not working reflash the installer and reboot. If you still have problems post again.

@Ximo F. Verde: that one looks good.
[LG Optimus 2x] zaro143:
i have been using amnon daniel latest version of the rom and got bootloop after i flash the zip.....:(....
[LG Optimus 2x] sephiroth76:
Thanks,i fell the phone's respond very fast and smooth at the moment.

---------- Post added at 06:34 PM ---------- Previous post was at 06:19 PM ----------

Try to wipe cache and dalvix cache before install...hope it's help.
[LG Optimus 2x] lopiop:
im getting random reboots, i just flashed temasek kang 128 with this zip
[LG Optimus 2x] wawyed:
Is it working??

$ export PATH=/data/local/bin:$PATH

$ su

# getprop | grep dalvik

[dalvik.vm.heapsize]: [48m]

[dalvik.vm.dexopt-flags]: [m=y,o=v,u=n]

[dalvik.vm.execution-mode]: [int:jit]

[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]

[dalvik.vm.heapgrowthlimit]: []

# getprop cm.buttery.active

# cat /proc/sys/vm/*

0

0

5

0

200

20

500

0

0

32

65530

10240

4

2084

0

0

0

1

50

3

0

0

0

1

20

200

#
[LG Optimus 2x] aigaming:
Working great on gb with v6 supercharger script;)
[LG Optimus 2x] Gonox:
I'm using GB can u tell me if it's working ...

$ export PATH=/data/local/bin:$PATH

$ getprop | grep dalvik

[dalvik.vm.heapsize]: [32m]

[dalvik.vm.dexopt-flags]: [m=y,o=v,u=n]

[dalvik.vm.execution-mode]: [int:jit]

[dalvik.vm.dexopt-data-only]: [1]

[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]

$ getprop cm.buttery.active

1

$ cat /proc/sys/vm/*

0

0

50

0

20000

70

20000

0

0

32

65530

10240

4

4096

0

0

0

1

50

3

0

0

0

1

0

200

$
[LG Optimus 2x] tonyp:
Looks good at first sight.

Here is a pro tip for everyone.

Please run cat proc/sys/vm/* BEFORE you install the script. Then install it, reboot and check it again.

If the values have changed it is working for you :P
[LG Optimus 2x] ngu:
great work man..keep on!!!
[LG Optimus 2x] carburano:
Hi TonyP... thanks a lot for your work!

I just want to let you know that dalvik prop tweak works also on stock rom... but it seems that is only a little bit noticeable...

But i need to test it deeper :)
[LG Optimus 2x] tonyp:
Hey man,

I know that the tweak works on GB if you leave out v=n from the dalvik.vm.dexopt-flags (which is the main speed boost of the dalvik fix, thus without it it will be less noticable).

Or do you mean that it works with the "v=n" on stock? This would be some good news.
[LG Optimus 2x] carburano:
No friend... I confirm that it warks only without v=n :)
[LG Optimus 2x] emmanuelcassar:
as soon as i flashed this.. xda dev splash screen is not showing anymore.. is this normal?
[LG Optimus 2x] tonyp:
PG101 thankfully squeezed me a reserved post (two actually, wow 100% free on top :D) into the thread, I will split up the post tomorrow and add some explanations for what all you guys are doing here :)
[LG Optimus 2x] alncool:
Hey tonyp,

Maybe i've missed the info somewhere but after few searches could not find the answer.

Is this patch compatible with Domination #79 ?

Or maybe Owain has already included it into the ROM ?

By the way what version do you recommand to install on CM based custom rom ? Permanent/persitant one ? Or removable one ?
[LG Optimus 2x] TheCoutures:
Defiantly notice a significant speed increase and minimal to no lag.

One thing I am noticing is a high battery drain, is this normal?
[LG Optimus 2x] tonyp:
Yes it is compatible. It should be compatible to pretty much all ROMs with init.d support.

owain has included this in build #79 but there's a small bug which prevents the tune.sh script from running, thus it's totally fine to install it.

As owain will most likely fix that in #80 I'd suggest the system one, then you don't have to uninstall if after flashing #80.

I didn't notice any difference in terms of battery life due to this. And you're the first one here reporting on that - are you sure about it?
[LG Optimus 2x] TheCoutures:
Yes I believe I am but yes I am certain of the drain will keep testing and see if it's continuous. .
[LG Optimus 2x] TacoLoco:
Hi,

I flashed the zip after flashing #79 from owain, then I downloaded script manager to start it (do I have to??) but I don't know where to search for the script.. I flashed the system version, so I looked in system folder but didn't find it..

Thanks
[LG Optimus 2x] tonyp:
Oh ehrm no. Flash and you're good to go, everything is set up automatic :)
[LG Optimus 2x] tonyp:
First posts updated, go and have a look :)
[LG Optimus 2x] TheCoutures:
It may have been some rogue app doing the drain because after a reboot and a recharge, getting great battery life again. Awesome work my friend, thank you. It has made my G2X liveable again.

I showed a friend of mine I haven't seen in awhile the phone same she goes, "wait is that background moving, I wish my phone would." Ahh silly iCraps.
[LG Optimus 2x] tonyp:
deleted.
[LG Optimus 2x] black_mamba99:
I did not seem to get battery drain and the phone is noticeably lag free at various ocassions especially when free RAM falls below 100mb.without the patch...literally every ROM including stock would lag when free RAM drops below 100mb(or heavy multi-tasking).

But my phone did go to sleep twice the other day.and the other night also had a random shutdown when multi-tasking.this didnt happen previously.I am using temasek's 119 build since about more than a month with temasek snappy kernel.

phone going into sleep while playing music sometimes.havent overclocked or underclocked so i dont think its prob of voltage.also minimum cpu i have kept at 324mhz
[LG Optimus 2x] tonyp:
I don't really think that this will lead to a bsod. But with LG phones you never now. It's like Eastern, they hid a bsod egg everywhere.
[LG Optimus 2x] Flix123:
I didn't try this yet. Will it make my V20s noticeable faster and smoother (are the scrolling "micro-lags" away)?
[LG Optimus 2x] thewoZa:
Working nicely on latest WIUI and Etana. Thanks
[LG Optimus 2x] lopiop:
hello tonyp, i know this is a stupid question but can i flash the zip file two times, bcoz i wasnt sure if i did it the other day while flashing many zip files, also im using temasek kang 128

(im using buttery-system.zip)
[LG Optimus 2x] tonyp:
Try it out and tell us the results.

Sure, it will just overwrite (and re-apply) the previously applied patch, no worries here.
[LG Optimus 2x] lopiop:
k thx mate btw do u think go launcher is buggy, i mean sometimes app disappear in the app drawer, oh ya when i reflashed the zip, i was so afraid as it seemed it was bootlooping but after awhile my phone booted up, possibly the longest it took
[LG Optimus 2x] tonyp:
The script wipes the dalvik cache which gets rebuild during boot. When you have lot's of apps this can and will take a while, on Stock longer than on CM (no idea why).

I never used Go Launcher, on GB I used ADW launcher ex and on ICS the default CM Trebuchet launcher.
[LG Optimus 2x] akyp:
Flashed on DJ 1.5 RC2 and I'm sorry to report that the device still lags noticeably after a few days of use.
[LG Optimus 2x] SREEPRAJAY:
I had the lag issue too....

but, DJ 1.5RC2 already has the tweak inbuilt and selected from the aroma installer....so no need to flash it separately....
[LG Optimus 2x] akyp:
I checked build.prop from DJ 1.5 RC2 and noticed it different from what Tonyp prescribed on first page of this thread, so I flashed it separately. Maybe I didn't choose the correct option in Aroma installer.
[LG Optimus 2x] pastime1971:
i was told from auto patcher thread that zip needs a mod to work in aroma installer.

it was about how to make update.zip, but nevertheless i am not familiar with aroma installer enough to say this zip will work with aroma installer or not.

it is best to ask someone who knows aroma installer.

the current zip was created for CWM and P990 in mind. it is fairly independent of device, and hopefully of rom, but i am not 100% sure about recovery.
[LG Optimus 2x] Mylleranton:
@tonyp

EDIT: FIXED SCRIPT BY MYSELF

Another question:

Can I insert binaries extracted from another rom to /system/xbin/ With it working properly? As you can see I tried to use the command clear, and it didn't found it..
[LG Optimus 2x] carburano:
It depends from mamory management script... nothing related to tonyp script

Build.prop values are the GB ones from OT... I changed a little bit vm values to test it...

Ciao!
[LG Optimus 2x] TweetyPeety:
two questions to tonyp as you have tested it a lot

1. what you think of KickAssKernelizer ??? is it needed after supercharging and 99tune script ??

2. what do you think of Nitro Lag Nullifier, because some of the Users got 3G problems with it ???
[LG Optimus 2x] tonyp:
Unfortunately I can't give you a good answer because I don't use both tweaks - and never tested them. I always try to stay more or less "stockish".

Here are more information about both: http://xdaforums.com/showthread.php?p=15948434#post15948434
[LG Optimus 2x] darenb4:
I installed this fix with owians build 80 and I have signal problems now.. any idea how to fix .. I have a back up so not that bad but I'm wondering if I done something wrong lol

Edit.. think I resolved the issue I changed the build prop to the recommended in owains thread

Model optimus 2x

Brand lg.

Seems to be fine for now :)
[LG Optimus 2x] TU Homer:
I loaded up AOSP EagleBlood 4.0.4, July 1 build.

I wiped cache, dalvik cach, then flashed the two zip files. Rebooted a few times, but can't seem to see any changes from values prior to flash. Here's my output:

$ getprop | grep dalvik

dalvik.vm.dexopt-data-only]: [1]

dalvik.vm.dexopt-flags]: [m=y,v=n,o=v,u=n]

[dalvik.vm.execution-mode]: [int:jit]

[dalvik.vm.heapgrowthlimit]: []

[dalvik.vm.heapsize]: [128m]

[dalvik.vm.heapstartsize]: [5m]

[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]

$ getprop cm.buttery.active

$ cat /proc/sys/vm/*

0

0

5

0

200

4

300

0

0

32

65530

10240

4

4096

0

1

0

1

50

3

0

0

0

1

40

100

Any help?

-TU
[LG Optimus 2x] l0lcats:
What responses from the above getprops and cats should tell us that it is working? You left that out... I get no response from getprop cm.buttery.active..
[LG Optimus 2x] tonyp:
How about you post your result?

It won't work if you're at owains domination rom because there's a bug which doesn't run init.d scripts.

If you're not you seriously need to give me more details.
[LG Optimus 2x] l0lcats:
a/local/bin:$PATH <

app_38@android:/ $ getprop | grep dalvik

[dalvik.vm.dexopt-data-only]: [1]

[dalvik.vm.dexopt-flags]: [m=y,v=n,o=v,u=n]

[dalvik.vm.execution-mode]: [int:jit]

[dalvik.vm.heapsize]: [128m]

[dalvik.vm.heapstartsize]: [5m]

[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]

app_38@android:/ $ getprop cm.buttery.active

app_38@android:/ $ cat /proc/sys/vm/*

0

0

5

0

200

4

300

0

0

32

65530

10240

4

4096

0

1

0

1

50

3

0

0

0

1

40

100

app_38@android:/ $

I'm using EB ICS 4.0.4 on the phone.

Here's the build.prop contents...
[LG Optimus 2x] tonyp:
Yes, the build.prop change (dalvik fix) worked.

The tune.sh script didn't get executed.
[LG Optimus 2x] brentil:
I'm trying to download the buttery-system.zip file but Mediafire is telling me "Access Denied - Downloads are not allowed from this Account." so i can't get the files. Could you repost the files here or some other place?
[LG Optimus 2x] brentil:
Seems to be working again now.

Sent from my LG-P999
[LG Optimus 2x] brentil:
Ok, wow this is amazing. I was ready to go back to CM 7 because all of the ICS ROMs were just so lagging.

So why aren't these settings in the core of the other ROMs?

Sent from my LG-P999
[LG Optimus 2x] tonyp:
Well it is in mine and almost all 2x ROM's. I don't know about the other G2x ROM's though.
[LG Optimus 2x] thewoZa:
Local doesn't seem to work on WIUI 2.5.25 but system one does so happy with that...

Thanks.
[LG Optimus 2x] zeth006:
Flashed the zip from post #3 with no obvious change....
[LG Optimus 2x] Ryukenden:
Wow, necroposting at its best :)
[Galaxy S III Accessories] ge3kswag:
This is the best screen protector I have ever had, always super clear and edge to edge.

http://www.amazon.com/gp/product/B0084F4HY8/ref=oh_details_o01_s00_i00

Hope you guys get on this while it lasts, usually $12-$16

Edit...................

Looks like as of 6/28/12 they are now 9.95 but still one of the cheapest around and best I have ever used.
[Galaxy S III Accessories] willham:
That's a steal! I just don't trust myself with liquid near my phones....
[Galaxy S III Accessories] neotoky:
I ordered 3 of them days ago. Definitely a great deal.
[Galaxy S III Accessories] ge3kswag:
I was the same way from some bad experiences with Zagg's way back when but it's so easy now. Key it to give it an hour or so off while it dry's before you turn it back on. Trust me, one of the best you will ever have.
[Galaxy S III Accessories] ge3kswag:
I ordered 2, couldn't pass it up.