Jump to content

[Fix] 5/Apr V10a: dexopt fix for Stock ROMs

Recommended Posts

Sacrée dévouverte de Paul @MoDaCo :

LG screwed up - bad - here's why your UI is jerky!

Basically i've been auditing the LG ROMs for performance tweaks today, and I came across a monstrous screw up by LG!

On device startup there is a piece of code which looks to check if the device is running an engineering build (this is set in the build.prop). If it is, then it sets up the system as such that dexopt doesn't happen at startup (which is normal), but happens on the fly. This is fine for engineering builds, but for user builds, it's a huge and unpredictable system overhead.

Now, in my audit I discovered that LG have manually changed this code to always return 'true' instead of looking at the build.prop! So the device always runs it's dexopt in engineering mode (no pre-dexopt). Crazy! This explains the slowdowns and random weirdness we have been seeing. I've reversed 3 LG builds and they all have this problem.

I've now fixed it and i've implemented the fix in my Fr7 releases but, well, bad LG!


Edited by Fredouye
Link to comment
Share on other sites

Enorme, j'avais juste vu le tweet de Paul à ce sujet ! Heureusement qu'on a des modders talentueux pour vraiment exploiter le potentiel des téléphones ! Ils sortent tellement de modèles, ... les constructeurs aujourd'hui que du coup, rien ne sort optimisé, au contraire des Iphone...

C'est vraiment ce qui me gonfle dans la politique des constructeurs, ce besoin de sortir 10000 modèles, au lieu de concentrer les efforts par exemple sur 4 modèles par an (un entrée de gamme, un milieu de gamme, un haut de gamme et un plus pro avec clavier par exemple). En plus, je suis sur que ce serait une stratégie gagnante car bien plus efficace pour en assurer la promotion et rendre ces modèles populaires !

D'ailleurs, HTC prend une très mauvaise voie à ce sujet !

Link to comment
Share on other sites

  • 2 months later...

Si j'ai bien compris, en installant le perf patch, le dexopt fix est déja intégré?

This download is a performance pack for STOCK ROMs. It should work on all v10 ROMs, but always do a backup in ClockworkMod Recovery first!

This fix pack includes my fix for the LG 'pre-dexopt' issue (seen on ALL stock ROMs to date) as well as the libsqlite patch I created based on the changes in this post.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...