Art compiler optimization - Nexus 5X Q&A, Help & Troubleshooting

Hi guys, I'im no strangee to android development, but i've got a long stop. So i was wondering, are there any build.prop tricks that could make the ART compiler use deeper optimizations, not unlike gcc? Any other build prop tricks worth mentioning? thank you in advance.

Up
Sent from my Nexus 5X using XDA-Developers mobile app

Related

[Q] Building a ROM - Requests

In the past few days I have caught up on ROM building and such, and I plan to get started on creating a new ROM for the Gio. I have tried many ROMs, and I find that each one has a specific feature that catches my eye. I am looking to create a ROM that includes these features so it will be the 'Greatest ROM for Gio'...Anyways, here's a list of features I plan to include:
- CRT OFF and ON Animations
- Smooth and Responsiveness (Lower RAM consumption)
- Clean look
The reason that I'm posting is because I'm looking for advice on ROM building, which source is the easiest to build from (besides stock), any features that you would like to be included, etc. Thanks very much, though there's no rush - I'm going to take my time! I have another year and a half with my Gio!
You could make it for gaming
Sent from my GT-5660 using xda app-developers app
tcris45 said:
You could make it for gaming
Sent from my GT-5660 using xda app-developers app
Click to expand...
Click to collapse
In other words - make it RAM, CPU and GPU efficient? Perhaps if I eliminate resource hogging services and processes, it will be smooth enough to run a higher CPU frequency (902mhz anyone?)!
Yep
Sent from my GT-5660 using xda app-developers app

[ROM]CM10.1 Linaro O3 Build With Basic Kernel 02/04

Thought I would share this. Its a build of CM10.1 from 02/04 with the Linaro updates added and compiled with linaro's 4.7 toolchain oh and it had O3 turned on
All Credit got to the CM team and Sbrissen who got CM working for our phones
Features:
ROM
Compiled with Linaro's GCC 4.7.3 toolchain (01/13)
O3
KERNEL
Compiled with Linaro GCC 4.6.2
Updated wifi driver
Unofficial Voodoo sound driver (otherwise this has not been reviewed and approved by Supercurio)
OverClock up to 1.8 Ghz
CPU Undervolting
Downgrade to mali r2p4 which fixed graphic glitches
Source:
Kernel source - https://github.com/kejar31/android_k...msung_smdk4412
Credit:
gokhanmoral
codeworkx
sbrissen
CyanogenMod
supercurio
Tk-Glitch
Install:
Boot to recovery and make a backup
Wipe data/cache/dalvik
Flash ROM
Flash GAPPS
Reboot
Downlaods:
GAPPS
L900 (SPR)
Quick rundown from a Phoronix artificial that does a pretty good job of a quick breakdown on the differences.. It even includes some benchmarks
Note that Android is normally compiled with O2 and Os
For those unfamiliar with the different optimization flags, see the GCC optimize options documentation. The tested flags used in this article include:
-O0 - Reduce compilation time and make debugging produce the expected results. This is the default.
-O1 - Optimize. Optimizing compilation takes somewhat more time, and a lot more memory for a large function.
-O2 - Optimize even more. GCC performs nearly all supported optimizations that do not involve a space-speed tradeoff. As compared to -O, this option increases both compilation time and the performance of the generated code.
-O3 - Optimize yet more. -O3 turns on all optimizations specified by -O2 and also turns on the -finline-functions, -funswitch-loops, -fpredictive-commoning, -fgcse-after-reload, -ftree-vectorize, -fvect-cost-model, -ftree-partial-pre and -fipa-cp-clone options.
-Os - Optimize for size. -Os enables all -O2 optimizations that do not typically increase code size. It also performs further optimizations designed to reduce code size.
-Ofast - Disregard strict standards compliance. -Ofast enables all -O3 optimizations. It also enables optimizations that are not valid for all standard-compliant programs. It turns on -ffast-math and the Fortran-specific -fno-protect-parens and -fstack-arrays.
Looks pretty interesting.. Going to have to give this a run
-TeaM VeNuM Like A Boss
-Galaxy Note II Edition
Thanks will give this a try!
Sent from my SPH-L900 using Tapatalk 2
Dl now.....:thumbup:
Sent from my SPH-L900 using xda app-developers app
Running smooth thanks
Sent from my SPH-L900 using xda premium
Great ROM U have here keep up the good work!
What are the bugs for this rom?
Sent from my Note II
bobloiy said:
What are the bugs for this rom?
Sent from my Note II
Click to expand...
Click to collapse
same as CM10.1 nightly's
How is this any different from Liquid Smooth?
Sent from my SPH-L900 using Xparent Skyblue Tapatalk 2
Paiyne said:
How is this any different from Liquid Smooth?
Sent from my SPH-L900 using Xparent Skyblue Tapatalk 2
Click to expand...
Click to collapse
This is CM10.1 with only the needed changes to allow -O3 and GCC 4.7 plus BasicKernel (my kernel)..
Liquid Smooth using an entirely different base with their own options etc...
Link seems to be down?
I wanna download this can I get a mirror?
Is there a mirror link? I'd love to try this.
Sent from my SPH-L900 using xda app-developers app
Blankrubber said:
Is there a mirror link? I'd love to try this.
Sent from my SPH-L900 using xda app-developers app
Click to expand...
Click to collapse
Does anyone still have this available????

[Rom request] Stock Rom only with performance optimization

Hi,
Can someone please create a rom that would base on the stock Android and contain only modifications for performance without modifying the appearance (without modifying the quick settings and other such)? Modifications for performance, for example: linaro optimization, o3 optimization, scripts to improve performance, and other such?
☆★☆Nexus ☆★☆
LOL!!!!!!
Sent from my Galaxy Nexus using xda app-developers app
I never understand these types of request threads. This site is called xda-developers, not xda-requesters. Anyway, ROMs like that already exist. Android Revolution, MMuzzy's ROM, and SomethingExplosive for example.
kubson1999 said:
Hi,
Can someone please create a rom that would base on the stock Android and contain only modifications for performance without modifying the appearance (without modifying the quick settings and other such)? Modifications for performance, for example: linaro optimization, o3 optimization, scripts to improve performance, and other such?
☆★☆Nexus ☆★☆
Click to expand...
Click to collapse
You could create it
Sent from my Galaxy Nexus using Tapatalk 2
kubson1999 said:
Hi,
Can someone please create a rom that would base on the stock Android and contain only modifications for performance without modifying the appearance (without modifying the quick settings and other such)? Modifications for performance, for example: linaro optimization, o3 optimization, scripts to improve performance, and other such?
☆★☆Nexus ☆★☆
Click to expand...
Click to collapse
I'll do it. I just don't have a computer or a car to get to the computer store. Can you get me a car and computer?
Sent from my Galaxy Nexus using Tapatalk 2
kubson1999 said:
Hi,
Can someone please create a rom that would base on the stock Android and contain only modifications for performance without modifying the appearance (without modifying the quick settings and other such)? Modifications for performance, for example: linaro optimization, o3 optimization, scripts to improve performance, and other such?
☆★☆Nexus ☆★☆
Click to expand...
Click to collapse
MMuzzy
Go check out rascarlos thread, he makes a pure stock ROM with only performance tweaks.
Sent from my Galaxy Nexus using xda premium
i think android revolution hd is just that if i am not wrong :/
Sent from my Galaxy Nexus
wtf is performance optimization, spoilers and carboon hoods ?
Lolz...
I think u need a Ferrari car with BMW logo and Lambhorgini Looks. :laugh::laugh::laugh::laugh:
and the result wud be a Beetle car.
Instal stock, root, remove unwanted system apps, flash custom kernel. Simple right?
Sent from my Galaxy Nexus using Tapatalk 2
He wants build prop tweaks, zip aligned I'm sure, debloated and maybe deodexed. I think that's what he's after...
Sent from my Galaxy Nexus using xda premium
Another thread candidate to closing
Sent from my Nexus

[KERNEL][Code-Craft][PatchWork] 4.3 [AOSP][3.4.58]-03 XZ Linaro 4.7.4

Hey all, I decided to go to the darkside and move away from stock.
This kernel is a fork from chadouming and Team Placeholder. with that being said, thank you to both.
This has only been tested Android 4.3, I do not believe it will work on 4.2.
SOURCE
Kernel Features
Voltage
Haptic and Vibration control VIA Faux Clock
Linaro 4.7.4
-03 Optimization
XZ Compression
More coming soon!
Just in case...
I'm really psyched to see where this goes. Thanks and good luck! :good:
Good Job
Sent from my LG-LS970 using xda app-developers app
Will try this out... THANKS!
Sent from my LG-LS970 using xda app-developers app
holy guacamole
Super excited to see you make a kernel for aosp. Will be my go-to. I would like to request frandom support in the kernel. Smoocha kernel had frandom support and I believe it really did help performance. I first read about frandom from the Crossbreader thread in the general android section. Here's the paragraph:
"5. Frandom support (Optional) - CrossBreeder now supports linking both your random devices to the extremely fast alternative - Frandom ( http://billauer.co.il/frandom.html ). This module is orders of magnitude (10-50 times) faster than the standard character devices ( Check this out - http://forum.xda-developers.com/show...&postcount=134 ). The erandom character device also installed by Frandom doesn't use up system entropy at all on top of being fast. You will need to ask your ROM developer to develop the kernel module for you and then place it in /system/lib/modules. CrossBreeder will then try and load it and if successful, make all the necessary adjustments so that both /dev/random and /dev/urandom are pointing to /dev/frandom and /dev/erandom respectively. The speed benefits are to be seen to be believed. But since each ROM requires a unique kernel module, this option is left optional ( but auto detect ). Advanced users can even try and load the frandom module built for other kernels if they don't have one readily available for their own kernel version using the Punchmod utility. Read this: http://forum.xda-developers.com/show...5#post41920265"
Thanks for your time reading
Is this a custom kernel or parts used from mako and that ?
Sent from my LG-LS970 using Tapatalk 4
Is this kernel based on mako or e975 kernel, and does camera work like the stock cm kernel?
Sent from my LG-LS970 using XDA Premium 4 mobile app
Hey man, tried flashing this on top of shelnut's CM 10.2 after wiping dalvik and cache and got stuck at a weird LG boot screen, then the screen and capacitive buttons turned on but it was just a blank black screen. I'm really looking forward to trying this though.
That_Guy0505 said:
Hey man, tried flashing this on top of shelnut's CM 10.2 after wiping dalvik and cache and got stuck at a weird LG boot screen, then the screen and capacitive buttons turned on but it was just a blank black screen. I'm really looking forward to trying this though.
Click to expand...
Click to collapse
Was it two green LG logos over half of a normal one?
VoluntaryMan said:
Was it two green LG logos over half of a normal one?
Click to expand...
Click to collapse
Indeed it was.
I'm going to have to make one from cm sources. This one won't work on cm 10.2 and there kernel Wont work on a pure source 4.3 .... I don't really k ow what's going on with cm .I know they like to have their kernels built with their ROMs. I'm thinking that I will start on a cm kernel tonight after work. This source that I'm using is a caf 2.5 kernel. You all that are using cm will have a kernel tonight
Sent from my LG-LS970 using XDA Premium 4 mobile app
Evolutionmods said:
I'm going to have to make one from cm sources. This one won't work on cm 10.2 and there kernel Wont work on a pure source 4.3 .... I don't really k ow what's going on with cm .I know they like to have their kernels built with their ROMs. I'm thinking that I will start on a cm kernel tonight after work. This source that I'm using is a caf 2.5 kernel. You all that are using cm will have a kernel tonight
Sent from my LG-LS970 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thank you, sir! Much appreciated!
Ty ... I do know the big problem is our cm is mostly mako with a few tweaks to work on our phone... If we can ever get one the built from source not one put together by bits and pieces that would solve a lot of problems... But please don't get me wrong I do appreciate all the work that is and has been done to even get ports working for us...
Sent from my SPH-L710 using Tapatalk 4
bigfdaddy2 said:
Ty ... I do know the big problem is our cm is mostly mako with a few tweaks to work on our phone... If we can ever get one the built from source not one put together by bits and pieces that would solve a lot of problems... But please don't get me wrong I do appreciate all the work that is and has been done to even get ports working for us...
Sent from my SPH-L710 using Tapatalk 4
Click to expand...
Click to collapse
This kernel isn't based on Mako. It is based on the Qualcomm-made Snapdragon-optimized sources at CodeAurora (their repositories for sharing code with partners and us). That is the same source that manufacturers (such as LG) base their kernels on (even Google does as well, but theirs is not up-to-date and is missing some optimizations).
That_Guy0505 said:
Indeed it was.
Click to expand...
Click to collapse
Sorry about that. LG has a strange initlogo implementation which I haven't quite figured out yet. It only shows for a second so it's not too bad though. If I disable or delete the initlogo, it seems to boot up slower, so that's why it's there.
xboxfanj said:
Sorry about that. LG has a strange initlogo implementation which I haven't quite figured out yet. It only shows for a second so it's not too bad though. If I disable or delete the initlogo, it seems to boot up slower, so that's why it's there.
Click to expand...
Click to collapse
No need to apologize. I understand that things are a work in progress and that bugs need to be worked out. I'm just happy to be running 4.3 lol.
However, I will say that once the weird LG screen went away, my phone would not boot. It would just go to a blank, black screen. The screen was on, and the capacitive buttons were lit up but the screen was just blank.
So if you got it to actually boot up then you got farther than I did!
Sent from my LG-LS970 using XDA Premium 4 mobile app
bigfdaddy2 said:
Ty ... I do know the big problem is our cm is mostly mako with a few tweaks to work on our phone... If we can ever get one the built from source not one put together by bits and pieces that would solve a lot of problems... But please don't get me wrong I do appreciate all the work that is and has been done to even get ports working for us...
Sent from my SPH-L710 using Tapatalk 4
Click to expand...
Click to collapse
its not a problem anymore at all. Shelnutt completely rebased cm10.2 on the rom from e975, so we don't have a mako based rom anymore, its lgog based, which is why camera isn't an issue as much anymore
Thanks for this kernel . what other things do u plan on adding into the kernel?
Sent from my LG-LS970 using Tapatalk 4
hazedabeast said:
Thanks for this kernel . what other things do u plan on adding into the kernel?
Sent from my LG-LS970 using Tapatalk 4
Click to expand...
Click to collapse
I'm thinking block related code. For scheduler improvements. I would rather make stock better. Daily drivers and functionality are priorities for me
Sent from my LG-LS970 using XDA Premium 4 mobile app

Using ART vs Dalvik with Xposed Framework?

Hi all,
For ones who run Kitkat rom, which one is better; using ART or Dalvik with Xposed Framework?
Please share your experiences. Thank you ?
Hidayat
Sent from my LG-E980 using Tapatalk
ART does open and make certain apps operate much faster but have got to give up xposed because it’s doesn’t support ART. Improvment of battery life isn’t really that significant for me though but I’m staying with it.
Ya xposed will force the runtime to revert to Dalvik upon reboot if you have it installed.
Sent from my Optimus G Pro using xda app-developers app
Damn that's a hard choice....
Dalvik+Xposed+Greenify or ART
I always use ART, since it's one of the new things in kitkat, so don't want to miss it And Greenify is also great application which contribute to battery saving. So, I am currently using ART plus Greenify without Exposed.
But I really like Xposed which rich of feature and could improve our OGP performance

Categories

Resources