yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] simms22:
sure it is. but its less subjective than saying that all its good for are benchmark scores. by saying an absolute(its ONLY good for x), you make your statement less accurate. you can say something like "its only good for benchmarks, for me".
[Nexus 5 General] aavvaallooss:
You forget to say 'for me'.;)
[Nexus 5 General] wirklich1:
Is there a CM 4.4.3 compatible Version?

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 General] jphilippon:
No it isn't. Just don't do it, thanks.

sent from my Nexus 5
[Nexus 5 General] opssemnik:
cm already included optmized bionic , so even if works you will not see much of a difference
[Nexus 5 General] Elluel:
Any non-stock Bionic is almost the same, the stock one performs slightly lower. The Dalvik patches however, make a lot of difference.

Sent from my Nexus 5
[Nexus 5 General] thesebastian:
Anyone compared in ART the N5 4.4.3 bionic with the M8 4.4.3 bionic?

Sent from my Nexus 5
[Nexus 5 General] Elluel:
Bionic libs barely make a difference unless you're using stock, which performs slightly poorer. I.e non-stock n5 ones all perform the same, if there was a difference it would not make even a double digit difference in AnTuTu (less than 10 score difference, hardly worth comparing).

The Dalvik optimizations are what matter, and at the moment it's faster than ART while using them (obviously on Dalvik).

Sent from my Nexus 5
[Nexus 5 General] munichsfinest:
Take your ROM zip, go to /system/bin, extract "installd", replace the installd inside the zip you want to flash and try again. That's how I got dalvik patch working on SlimSaberKat, maybe it works for you as well :fingers-crossed:
[Nexus 5 General] spr33:
Thanks for that, I'll give it a shot with the Z2 libs. The cm11final ones are working fine.
[Nexus 5 General] wirklich1:
Since cm already includes their own bionic, ill just flash one of the dalvik patches?

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 General] Elluel:
Yes. ;)

Since Hammer_Of_The_Gods got his account deleted, I'll be happy to help if anyone needs it.
[Nexus 5 General] fxdil:
I've been reading this thread for a while now and I'm only getting bits and pieces here and there, so forgive me if I missed a post already explaining my current situation.

I'm running:

4.4.3 Stock ROM

Xposed Framework (will this affect the flashing?)

While on 4.4.2 I was running on ART, and since upgrading and going back to Dalvik (because of Xposed) I could see it affecting the performance of the phone in terms of "lagging" when opening apps or switching between apps.

I only use my phone for chats and social media.

So my question is, should I use the optimized Dalvik or Bionic, given my current situation and usage?
[Nexus 5 General] Elluel:
Xposed will not affect using these optimized libs.

Using the optimized libs will provide slightly better daily usage as well as higher benchmark scores, there isn't any harm in flashing them and if you run into issues you can always revert.

Optimized Dalvik is also faster than ART at this stage, when it's the the default in Android it might be better, however.

Some may not be compatible with certain ROMs, but since you're on stock just flash both the Dalvik and the Bionic from the Xperia Z2, they seem to be the best so far (excluding the OnePlus One libs which are slightly better but compatible with only a handful of ROMs).

Also, welcome to xda!
[Nexus 5 General] fedef12evo:
it works! thank you
[Nexus 5 General] fxdil:
Thank you very much for clearing that up! :highfive:
[Nexus 5 General] bhavstech:
i am on pure rooted stock which onle of the following patches do i flash?
[Nexus 5 General] jphilippon:
I recommend Z2. Both bionic and Dalvik.

sent from my Nexus 5
[Nexus 5 General] Elluel:
You're welcome, don't be afraid to ask if you need help with anything. :good:

See my previous post:
[Nexus 5 General] bhavstech:
i flashed of s5 my phone in in a bootloop:(
[Nexus 5 General] droid@xda:
One M8 optimizations give score of 32xxx on my device. Z2's give score of 27xxx. In real usages scenario too, M8's optimizations feel more snappy and superior.
[Nexus 5 General] Elluel:
Did you let the device fully cool down before benchmarking on the Z2 libs? It makes a whole lot of difference, when you hit the thermal throttle. Letting both cool to the same CPU temps and multiples tests, Z2 seems to be better.
[Nexus 5 General] Co.Tibi:
Is it ok to flash this over 4.4.3?
[Nexus 5 General] Elluel:
Yes.
[Nexus 5 General] droid@xda:
I will certainly try this. Actually I have been using M8 libraries from couple of days and consistently got score of 32k+. Prior to that, I was using Moto X libraries and 4.4.2. HTC One M8's libraries and/or 4.4.3 update made noticeable difference in performance. But just an hour back, I flashed Z2's libraries and benchmarked twice. Will try when CPU's cold. Need to give these libraries more time.
[Nexus 5 General] Elluel:
The 4.4.3 update doesn't make much of a difference. :) I test them all at the same CPU temp and do multiple (at least 5) tests for each, the CPU temp really does matter a lot.
[Nexus 5 General] refedit:
tried Z2 on DirtyUnicorn 4.4.3 but get stuck on GOOGLE logo on Boot. without and then with wiping cache and dalvik, did not work with both methods :confused:
[Nexus 5 General] Elluel:
It probably has the commit that speeds up boot on multicore devices. Try using this one: https://copy.com/z8hqkaB9dV9O

If it doesn't work either, use this: https://copy.com/xhL83u6OgvYk

If neither work then I don't think there's any other one, some ROMs can't be used with any at all, e.g. Omni. I never tried DirtyUnicorns.

[MENTION=4595850]jphilippon[/MENTION] you should include these in your post too, they're Dalvik_CM11 and Dalvik_CM11_Final respectively, they used to be in Hammer_Of_The_Gods's post. They work on ROMs with the "Speed up boot on multicore devices" commit, and the _Final version seems to work on some ROMs that the regular CM11 nor Z2 won't work on. :)
[Nexus 5 General] ck.chunkeat:
why is everyone comparing benchmark scores?

I flashed z2 dalvik+ bionic patch and it seems faster than stock dalvik on my 4.4.3, stock rom + elementalx kernel.

However, It is still a little sluggish compare to ART as I can switch between apps faster in ART.

Am I doing something wrong? I saw someone mentioned that dalvik + this patch will be faster than ART but in my case it is not so. Did I do anything wrong? I downloaded Z2 and flashed in recovery.
[Nexus 5 General] refedit:
Can I flash zip with custom kernel installed?
[Nexus 5 General] Elluel:
Kernels don't affect it, so yes.

Sent from my Nexus 5
[Nexus 5 General] jphilippon:
Unfortunately the OP and title clearly state this thread is for the Nexus 5.

sent from my Nexus 5
[Nexus 5 General] jphilippon:
Thanks, I've included these in the 2nd post.
[Nexus 5 General] bhavstech:
i mean i flashed those libs of s5 i got in bootloop i m on nexus 5 only i flashed of m8 then it worked
[Nexus 5 General] sam razzy:
I'm using the latest mahdi Rom based on 4.4.3 and I would like to know whether this 4.4.2 bionic dalvik will work...?? I wanna try z2 and in op it shows only one z2 bionic and dalvik, is it working with 4.4.3. I gonna try it and I'll do nandroid back up fast. Thank you. I would appreciate if someone let me know.
[Nexus 5 General] reaper000:
I'm on the latest Mahdi as well with trinity kernel. Z2 bionic will work, but not z2 dalvik. Use cm11 dalvik final (or cm11 dalvik v2) instead.

And by the way, I couldn't get a dalvik patch (any of the cm11 patches or z2) to boot on amplificator's build of dirty unicorns

---------- Post added at 11:24 PM ---------- Previous post was at 11:22 PM ----------

Please note that the link for the cm11_final dalvik patch in the 2nd post does not work.
[Nexus 5 General] jphilippon:
Apologies. Fixed.

sent from my Nexus 5
[Nexus 5 General] Piereligio:
Where is the download link for nexus 5? O.o
[Nexus 5 General] simms22:
they are all links for the nexus 5 to use, its a nexus 5 thread. we just dont support other devices using them(not saying they cant).
[Nexus 5 General] Piereligio:
Oh, I understand.. Which one should I prefer? (I'm on 4.4.3)
[Nexus 5 General] simms22:
if on stock, the z2 dalvik/bionic without a doubt :)
[Nexus 5 General] aavvaallooss:
Otherwise I got error
[Nexus 5 General] MrBelter:
If it's so good why don't Google just release it as a patch?
[Nexus 5 General] aavvaallooss:
I don't know what 'chilled out' means, sorry
[Nexus 5 General] carlese:
what happens if i wipe dalvik after fhashing this file?
[Nexus 5 General] dsmpampis:
Just don't!

Tapatalked with my Nexus5(AKA The Hammerhead!)
[Nexus 5 General] carlese:
lol just did it.. no problem it seems.. should i reflash the zip?
[Nexus 5 General] akaHardison:
Why Google bought Motorola.Why didn't Google just make nexus serials.Why not google enable 4K recording,hdr burst mode.her recording,snapdragon 800's voice wakeup.I have a lot of questions.But the answer is market.
[Nexus 5 General] gade12:
Dont work, reboot after kernel load :crying:
[Nexus 5 General] meangreenie:
It's a good idea to wipe dalvik for a rebuild, after all new dalvik drivers are being used.
[Nexus 5 General] kmar22:
So can we have a final procedure for install? Wipe no wipe? I'm dying to see how stock rooted with trinity will do!
[Nexus 5 General] jphilippon:
Personally I did not wipe. It rebuilds wither way I believe? (regardless no wipe, works and results are awesome)

sent from my Nexus 5
[Nexus 5 General] kmar22:
Thank u. Flashed and trying her out!
[Nexus 5 General] Sull2:
Wonderful thanks!
[Nexus 5 General] neyon:
Bootloop and lost recovery :(

I was running xperia tablet z wifi with 4.2.2 rooted and dualrecovery. When i flashed the zip and after i reboot stick at reboot and can't als reach recovery anymore for nandroidbackup -.-. So lost about a hour for fix with reflash,..
[Nexus 5 General] c@p:
This is for Android 4.4 Kitkat only, so be more careful about what you're doing.

Tapatalked by neXus 5
[Nexus 5 General] jphilippon:
Sorry it was never meant for < 4.4. I'll update OP.
[Nexus 5 General] meangreenie:
Still say we need to separate the dalvik libraries from the bionic ones which were compiled for the nexus 4.

Then replace the bionic ones with known n5 bionic ones from a n5 rom which has them.. psx..rastkat ect.
[Nexus 5 General] Ben36:
No idea what u mean. Lol. Is that something you have the knowledge to do tho? If so please do so we can try
[Nexus 5 General] meangreenie:
I don't quite know which is which, libc.so is a bionic enhanced library, c runtime I guess. Some of the other files are obviously dalvik related by looking at the names. Might be worth just asking jszaq since he found this all out.
[Nexus 5 General] MrBelter:
Well i am glad that cleared it up!

Anyone got a serious answer than actually makes sense?
[Nexus 5 General] Piereligio:
I'm on omni ROM.
[Nexus 5 General] DREWHAMM974:
If I'm not very mistaken none currently work on Omni
[Nexus 5 General] Piereligio:
I flashed the z2 one and benchmarked it right now. It works. With the same settings I came from 21000 points to 32000. And it could be a lot farer increasing threshold temperature for the thermal throttling.
[Nexus 5 General] simms22:
you can always disable the thermal throttle temp, but that is for the benchmark thread..
[Nexus 5 General] Piereligio:
Now I've it at 70°, I'd change it to 90°. Over it would be dangerous.
[Nexus 5 General] simms22:
not "dangerous". i never use a throttle temp, i leave it for the next safety feature instead. at 105C it will reach the safety shutdown temp. when it does, itll shutdown/reboot.
[Nexus 5 General] DREWHAMM974:
Sir no disrespect but [MENTION=1811927]simms22[/MENTION] is kind of a benchmarking legend around these parts. He won't tell you anything to hurt your device. It's not dangerous as the Nexus 5 has an emergency thermal shutoff at 99℃. Therefore you will shutdown before you ever get to a dangerous temperature. I keep mine disabled at all times as does Simms22. The only time I have ever had a thermal shutdown is 21% in Antutu. To finish Antutu with it disable you must cool your device to below 5℃ or it won't go through. It has also shutdown once during an hour long GTA session.

Youre safe without it though. If Simms says it's okay it's always best to believe him. He's a mad scientist when it comes to Benchmarks and I'd like to think of myself As the Prince. His top is 419xx in Antutu and mine is 41397. I'll get him one day.
[Nexus 5 General] simms22:
only time it shut down on me during normal use is when i was streaming a movie when plugged in. anyways, benchmark thread! :p http://xdaforums.com/google-nexus-5/general/nexus-5-user-benchmark-thread-added-t2506965
[Nexus 5 General] DREWHAMM974:
Sorry Simms thought this was the benchmark thread. What I get for not looking. I just followed an email here where I had been quoted and forgot where I was at.
[Nexus 5 General] Elluel:
You sure the Z2 ones work on Omni? Previously none of them would work on it, maybe they reverted some commit that was stopping it before..

Sent from my Nexus 5
[Nexus 5 General] DREWHAMM974:
I'm glad to know it wasn't only me that thought that then. I knew I couldn't find one when I tried omni out
[Nexus 5 General] Elluel:
Yeah, Omni had some weird stuff preventing them from working, I guess they're resolved/reverted if they work now.

Sent from my Nexus 5
[Nexus 5 General] ion_elgreco:
I installed the Z2 bionic and dalvik zips. I am on stock 4.4.3 and I only have franco kernel, but now Im in a bootloop and cant get out. Any ideas.
[Nexus 5 General] Elluel:
Did you bootloop right after installing the Z2 libs or after something else? The Z2 ones should have no issue on stock, and the kernel doesn't matter.

Sent from my Nexus 5
[Nexus 5 General] jphilippon:
In fact I'm on the Z2s and stock with Elemental and I have used it on franco as well.

I'd put it in fastboot and flash the stock system.img, it won't erase anything.

sent from my Nexus 5
[Nexus 5 General] Elluel:
The only thing that conflicts the dalvik patches are ROMs themselves, everything else doesn't matter ;)

Sent from my Nexus 5
[Nexus 5 General] Haidary.T:
I'm using SlimKat and Trinity 4.4.3). The only dalvik that works are the OnePlus One. My question is: if the dalvik from OnePlus One works, does it mean it's 100% compatible and stable on SlimKat?
[Nexus 5 General] Elluel:
I don't think anyone has had "stability" issues, they were optimized by the OEMs the devices were made by, not people like us on XDA.

If it isn't compatible, your phone won't boot at all because it won't be able to start the dalvik services.

So yes, if it boots, it's compatible and theoretically stable (99.99% of users here have no problem with one that boots).
[Nexus 5 General] fxdil:
I apologize if this is in the wrong thread. I flashed the libraries yesterday, and I was thinking of trying out different kernels today. I just wanted to know if I should flash back to the original img before flashing a new kernel due to the libraries being changed? Or will the libraries remain the same even after flashing a new kernel?
[Nexus 5 General] jphilippon:
You should flash the kernel and reflash the library afterwards.

Though, if you're changing kernels it's better to reflash system since some write there.
[Nexus 5 General] munichsfinest:
I had to put the installd out of system/bin and replace the one in the OnePlus One dalvik zip to make it work on SlimSaberKat. Others confirmed that it also works on normal SlimKat. It is also the only working dalvik patch on SlimKat, at least on my phone.

Gesendet von meinem GT-I9505 mit Tapatalk
[Nexus 5 General] Elluel:
You don't really have to reflash system.img/custom ROM, just flash the stock kernel (factory boot.img) OR the kernel that the ROM comes with (take boot.img out of the .zip) and delete any init.d files before flashing the new kernel. Some people don't want to reflash the entire system as they might have removed/updated some system apps and/or have other mods. :silly:
[Nexus 5 General] jphilippon:
I'm no kernel guy but I've heard in Elemental's thread to do so, and it's arguably easier than the real process.. just relaying. :rolleyes:

sent from my Nexus 5
[Nexus 5 General] Elluel:
Ah it's because ElementalX can be configured without a kernel tweaker, so it just reads from some files it puts in a directory when you flash it. :)

Sent from my Nexus 5
[Nexus 5 General] fxdil:
Alright now I'm confused, my apologies. What exactly should I flash? And yes, I'm flashing elemental x.
[Nexus 5 General] Elluel:
Flashing TO ElementalX should cause no problems, just flash the stock kernel (boot.img in factory image) first and you're good to go. :good:
[Nexus 5 General] fxdil:
THANK YOU. :thumbup:
[Nexus 5 General] Elluel:
When you want to flash away from ElementalX, delete /etc/elementalx.conf and everything in your init.d folder as well as flash the stock/ROM default kernel then flash your new kernel afterwards. :)
[Nexus 5 General] fxdil:
Duuuude. Thank you so much for the follow up directions. :good::good::good::highfive:

Sent using Etch-a-Sketch
[Nexus 5 General] sam razzy:
Okay. Thanks bro. I tried z2 Dalvik and bionic but it caused boot loop on mahdi. Wait I'll try it has you said.
[Nexus 5 General] mc.cerny:
try this:

4.4_qc-optimized_dalvik-cm11final.zip

One_Plus_One_BIONIC.zip

before flash, do wipe dalvik cache

working on mahdi rom 4.4.3

nexus 5 using tapatalk
[Nexus 5 General] Flakito97:
So I'm on stock 4.4.3 and decided to attempt to flash a combo of these. And so I thought it was cool to see the OnePlus One binaries so I tried them. I'm here to confirm that it caused a bootloop :( thought I'd try. BTW I just reflashed the ROM in order to get out of bootloop. Because the Revert.zip provided in OP didn't work..

Which leads to my question. Which one of these binaries are confirmed working using stock 4.4.3 ROM ?
[Nexus 5 General] meangreenie:
z2 ones work well with stock 4.4.3
[Nexus 5 General] NoobieExtraordinare:
So..

Did you flash both the dalvik and bionic? Any chance you could post Antutu Benchmarks. I tried the M8 one and it barely took me from 25K to 27K. And when I treid to revert using the 4.4.3 stock file, my system crashed and even my TWRP went nuts. After multiple boots into recovery, I was able to re-flash purity and Gapps.

Are the Z2 libs really better than the standard one pulled from the moto x found here?

http://xdaforums.com/nexus-4/general/4-4-4-4-x-qualcomm-optimized-dalvik-t2546120/post47913987

Any input would be appreciated.
[Nexus 5 General] Haidary.T:
I don't do benchmarks but [MENTION=1811927]simms22[/MENTION] says they are the best. (He got like 41900 in Antutu.)
[Nexus 5 General] NoobieExtraordinare:
Forget benchmarks. Did you flash both with the latest release of purity? How do you feel about real world performance? How are they compared to the MotoX libs?
[Nexus 5 General] Haidary.T:
Real world performance Z2 is also better but it's not noticeable so you could flash any of the libs. I think the OnePlus One libs will get you in a bootloop though (on Purity).
[Nexus 5 General] jphilippon:
Z2 and M8 are the best for stock.

sent from my Nexus 5
[Nexus 5 General] droid@xda:
I did as you said. Let the phone cool down by not using it for 15-20 mins before tests. Z2's scores ~34200 and M8 scores ~33600. So yes, cooling CPU makes a lot of difference and Z2's libraro are superior. I have to mention though that both Z2's and M8's libraries are super stable on stock ROM and causes no harm! [emoji3]
[Nexus 5 General] Elluel:
The OnePlus One libs only work with ROMs that HAVE the "speed up boot on multicore devices" commit as well as being partially CAF based and a few other CM commits. There is no chance of it booting on stock, and it used to boot on Purity when Hammer_Of_The_Gods was here but it seems like it doesn't with the latest builds, it seems a few things were reverted, hence Z2 libs now work on it instead of the OnePlus One libs.

The only ROMs I've confirmed they're working on are Carbon and CM, stock and Purity won't work for sure. Any other ROM I have no idea, its up to you guys to test it out and post feedback on here.

They do score better than the z2 libs but only slightly.

If OnePlus One libs don't boot, use the Z2. If the Z2 doesn't boot, use CM11. If CM11 doesn't work, use CM11_Final. If none of those boot, you can't really use any at all since some are similar and boot on the same ROMs (e.g. if you can boot up Z2 libs you can boot up with the M8 libs, if you can't with the Z2 you can't with the M8). Someone posted a workaround for ROMs that don't boot with any, a few pages back, but I haven't tried it myself but you could give it a shot.

Sent from my Nexus 5

---------- Post added at 07:26 AM ---------- Previous post was at 07:24 AM ----------

If it boots, it works, if it doesn't boot it doesn't work. There isn't any "stability issues" regarding these it seems, only compatibility issues which would just cause a non-boot anyways.

Sent from my Nexus 5

Edit: and any Bionic will boot with anything, doesn't matter however since they all perform almost same (i.e. same score but all better than stock) even though the files are different (evident by md5 checksum and file size).
[Nexus 5 General] sabir_a:
This is a dumb question, but if I installed both Z2 patches, but didn't clear the dalvik cache until the next reboot into custom recovery (because I didn't see you could do it right after the operation, but there it was) then does that mean I still have the patches installed? I'm confused what the dalvik cache is and am scared that I messed up. Running 4.4.3 with elementalx 0.43 and xposed.
[Nexus 5 General] Elluel:
You're fine if you cleared it afterwards, it's just that sometimes some things might not run correctly if you don't clear it. :)
[Nexus 5 General] HiGhDRo3o5:
Anyone here using any of the dalvik n bionic patches on pacrom?
[Nexus 5 General] rosko311:
I'm not going to tell you yes or no, but please look at what PAC is sourced from and you could answer your own questions. Not flaming, just helping.
[Nexus 5 General] Elluel:
Just because a ROM is sourced from something doesn't mean one will or won't work, it'll only give you a general idea, a single commit could stop one from working.

Best way to find out which ones boot is trial and error. ;)
[Nexus 5 General] jphilippon:
Just keep the stock file in your phone along with the new libs and go back to it if it doesn't work. It's way too much work to write which libs work with some version of each ROM.

sent from my Nexus 5
[Nexus 5 General] topgeardave:
Oneplus one patches work brilliantly with the latest CM nightly! Dalvik now has next to no micro lags :)
[Nexus 5 General] Bumchakalaka:
Which one do you recommend to use with the Nexus 5? Any of them on the list?
[Nexus 5 General] 07AP2Zo:
z2 dalvik/bionic
[Nexus 5 General] whoamigriffiths:
Just as a reference for people who don't have an N5, but use these patches on other devices.

I flashed the one plus one dalvik on my LG Gpad 8.3, which is running SlimKat.

Working great for me.

This is the first dalvik patch I've got working on SlimKat.

Hopefully this will help someone.
[Nexus 5 General] munichsfinest:
Same for me, but only after having replaced the zip's installd with SlimKat's.

Gesendet von meinem GT-I9505 mit Tapatalk
[Nexus 5 General] Haidary.T:
Guys I'm using OnePlus One dalvik and Z2 bionic on Slim. It turns out that one of these two are giving me errors in Playstore such as insufficient storage. Any idea which of the two libs are the problem?
[Nexus 5 General] acordill:
Shouldn't be libs causing that. Have you tried clearing cache and dalvic? That usually fixes those problems for me.
[Nexus 5 General] Haidary.T:
I did do that multiple times. Yes libs could cause issues. When I tried OnePlus One bionic, it would boot but everything would FC. Anyways, I'll try flashing only dalvik and see how it goes.
[Nexus 5 General] simms22:
why would one of these give you errors such as insufficient space left in the playstore? how much storage do you have? you need 500mb at least to be able to install apps from the play store.
[Nexus 5 General] sam razzy:
I tried z2 bionic and dalvik but still boot loop dunno which one you are saying us to try. Thank you.

Edit : I tried in mahdi 4.4.3