yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] reaper000:
So basically we're all now in agreement that flashing dalvik patches can cause issues with installing CM themes?

As for ruling things out, [MENTION=5666997]Lethargy[/MENTION], you had said that you really doubted that flashing these libs would cause the CM theme issues mentioned. Hate to say it, but that's the rule - out statement: you ruled out the dalvik libs causing CM theme issues.

All I provided was an example (the Z2 Dalvik) that did, adding to what [MENTION=3014148]Lci[/MENTION]pherPT reported across multiple ROMs. Which bolsters the point that flashing dalviks may result in cm theme issues.

Nothing against you, [MENTION=5666997]Lethargy[/MENTION]; in fact, I want to thank you for your contributions to this thread. It's almost like you're [MENTION=255155]hammer[/MENTION]_of_the_Gods!
[Nexus 5 General] Elluel:
I'm not exactly sure, but I guess it's possible but most people don't have such an issue (or haven't reported it). Only you two seem to do. Might just be an issue with certain AOSP ROMs since the Theme Manager is from CM and I don't think anyone has had an issue with it using a CAF ROM (regardless partial or full), maybe apart from [MENTION=5316648]lcipherPT[/MENTION], he hasn't specified any particular ROM + Dalvik combinations he had trouble with. I guess we'll have to see if more other people have such an issue and details of what ROM + Dalvik they're using lol.

One thing I would try, if you can, is restoring a nandroid backup from BEFORE you had such an issue, full wipe then clean flash a ROM. I had some weird app installation problems before (not because of these libs), for some reason even wiping and clean flashing a ROM still didn't work, but restoring an old backup first then wiping and clean flashing did.

I know you have nothing against me, discussion is just discussion. :) And I guess I kinda took over the thread ever since he got his account deleted :( lol

It's all good, just got a little repetitive since stuff wasn't in the second post :)
[Nexus 5 General] Haidary.T:
I had both errors at once. The one you flashed that made it work has the bin folder from Mahdi. I think you lose part of the optimizations like that but I can't be sure.
[Nexus 5 General] IcipherPT:
Purity+ with Z2 libs: theming is working after replacing installd from original rom! ;)

I'll test during the day with some bench apps!
[Nexus 5 General] hepi_hape:
yep same here...

using N5X with oneplus dalvik and G3 bionic cause failed theme isntallation, even have been clear dalvik

dont know who make it incompatible oneplus dalvik . G3 bionic
[Nexus 5 General] Elluel:
Read the post above yours
[Nexus 5 General] shamps:
Flashed z2 dilvik with lg g3 bionic. Noticeable difference and UI is.much smoother. Running Stock with Elementalx and xposed.

Thanks!!

Cheers!!

sent from my Nexus 5
[Nexus 5 General] Elluel:
I don't think it does too much (if any) regarding performance, it's used in package installer process (installing apk, or first boot after wiping dalvik cache)

CyanogenMod (and some other ROMs) modified the installd used in their ROMs to work with their dexopt-on-cache https://github.com/CyanogenMod/android_frameworks_native/commits/cm-11.0/cmds/installd) which is why it might cause apparent non-boots on some ROMs.

If you have issues with CM11 Theme Manager packages not installing, replace the /system/bin/installd in the .zip you're flashing with the original installd from your ROM, or just remove it from the zip if you didn't flash a Dalvik previously - same thing, you want to use the ROM's original installd. The reason for this is that OEMs obviously don't include this commit/fix, since CM11 Themes are a custom ROM/OnePlus One thing: https://github.com/CyanogenMod/andr...mmit/ba5f5a019da91615701fa59791502541c7df9d4a

This also allows AOSP Dalviks to boot up on Paranoid Android and its derivatives (and some other ROMs) due to other issues. The Z3 Dalvik I posted already has it omitted so flash away. Otherwise, make sure you're using the original installd that comes with your ROM.

I no longer include installd in any of the flashable zips I provide myself (some zips linked in OP's post still have it, at some point in time I'll gather them all and remove installd then reupload).

Edit: Done

Any Bionic works regardless as usual.
[Nexus 5 General] Haidary.T:
I was talking about the dalvikvm and dexopt :P
[Nexus 5 General] philidor:
I have problem with CM11 nightly on Tab2 with oneplusone lib and theme engine. Error 401.

I used both dalvik and bionic. Without both all work fine. Don't know if is bionic or dalvik. Now I remove both.

PS don't see a huge difference in performance

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 General] rejectedjs:
Hey guys, this seems to be the most popular dalvik/bionic thread vs the other phones so I figured it would be best to answer this question here. For a lot of people, myself with my Droid DNA, the flashable dalvik libs are almost necessary for a fast performing device, especially when it comes to gaming and what not, it keeps us away from the Sense roms. But with Android L, ART is the new standard, and I know bionic is compatible with ART, but dalvik is where all of the speed comes from I believe. So...once Android L drops, it's best to stay on 4.4.4 if you want to use the dalvik libs?
[Nexus 5 General] Elluel:
ART in its current form in KK and L isn't final and performs worse than optimized Dalvik (ART in L being better than in KK, of course). We expect the final version of ART shipped in whatever version "L" becomes to perform better, who knows, we might end up having ART optimizations lol
[Nexus 5 General] rejectedjs:
Hm, I guess that makes sense. Seeing as the Z2 has the fastest dalvik libs, I doubt when they officially update the device to L, they'll let those optimizations go and make it result in a slower device. Thanks for the fast reply!
[Nexus 5 General] bmg1001:
Not really. The point of the L preview is to get apps working with ART. If they make major changes to ART that would break apps again, there would be no point in having the preview.
[Nexus 5 General] Elluel:
Who knows, it's Google lol.
[Nexus 5 General] bleagues:
I'm using the latest Slim nightly and Franco kernel.

Of the files listed for optimization, is there any better suited to my setup?

Thanks in advance
[Nexus 5 General] Elluel:
Kernel does not affect this at all lol

People have said that the OnePlus One Dalvik works, but if they don't then just trial and error
[Nexus 5 General] bleagues:
Thanks, I figured as much on the kernel, but thought I'd throw it in there
[Nexus 5 General] choosetobelieve:
I was on 4.4.3 and flashed two files from this thread. Now I have upgraded to 4.4.4.Do I need to do it again?
[Nexus 5 General] Geordie Boyo:
I would say yes, because upgrading to 4.4.4 is updating system files whether its an OTA update or flashing the ROM.

Flash the two files again via recovery.
[Nexus 5 General] Elluel:
I don't think the 4.4.4 OTA changed anything regarding these, no harm to flash again anyways
[Nexus 5 General] Rxpert:
No, it didn't or the OTA likely would've failed.

4.4.3 to 4.4.4 was just open SSL fixes

I don't know why you didn't just flash them again though
[Nexus 5 General] Zeuik:
Anyone use the optimization zip on LG G2?
[Nexus 5 General] Elluel:
People have used them successfully on other devices but some have issues with Dalvik libs working, Bionic is fine
[Nexus 5 General] Vobi1024:
Hello!

I'm not an Android expert, but I suspect, maybe these mods interfere with ZIPALIGN on my device, because I get this error, when I try to run it:

CANNOT LINK EXECUTABLE: cannot locate symbol "_ZN7android10VectorImpl19reservedVectorImpl6Ev" referenced by "zipalign"...

Am I correct? Or can You please tell me where can I get help with this issue?

I'm on stock ROM, r57 linaro kernel, this 2 and latest gpu mods.

Thanks in advance!
[Nexus 5 General] simms22:
ive got a question for you.. why do you need to zipalign a nexus 5? there is no need for it. if youre running an older device(like a g1 or droid), or if you are using a low ram phone, zipalign could be very helpful. on our newer, quad core devices, you wint see any kind of affect.
[Nexus 5 General] Vobi1024:
Understood, and thanks for the clarification.

Anyways...

What could be the issue? Or more correctly, can You please tell me where it lies?
[Nexus 5 General] simms22:
honestly, i have no idea how this can mess with the process. have you tried with and without it, a few times, to make sure its fine without the dalvik/bionic files and gives issue with? i mean, are you sure its causing it?
[Nexus 5 General] Vobi1024:
No, I'm not sure, I was asking it... But it used to work before flashing these mods...

Maybe can You please check, if it works for You? Just curious... Right now I can not clean these up, but will try later...

Thanks for the help!
[Nexus 5 General] simms22:
what app did you use?
[Nexus 5 General] Vobi1024:
Terminal
[Nexus 5 General] simms22:
ok, makes sense now(i think). do you have busybox installed? do you have the zipalign binary installed?
[Nexus 5 General] Vobi1024:
Binary sure, busybox didn't make a difference (already tried).
[Nexus 5 General] simms22:
whats your terminal script?
[Nexus 5 General] Vobi1024:
For example " zipalign -c 4 /data/app/test.apk "
[Nexus 5 General] simms22:
na, not working here. but i dont have the binary :angel:
[Nexus 5 General] Vobi1024:
Great! :D

Care to get it from here?

http://xdaforums.com/showthread.php?t=594615
[Nexus 5 General] simms22:
i ran sh /system/sd/zipalign_apks.sh and didnt get any errors. but wow, that thread is 5 years old. that's what i meant about it being good for older, low ram phones.
[Nexus 5 General] Vobi1024:
Yeah, I see what you means... Anyways, thanks for the help! One more thing:

You have these bionoc and dalvik mods installed, right?
[Nexus 5 General] Elluel:
Well he's in this thread.. Yes, he does :angel:
[Nexus 5 General] Vobi1024:
Okay, okay, just wanted to be sure. ;)

Then what do You think? Is it kernel related maybe?
[Nexus 5 General] Elluel:
Doubt it, have you tried with another ROM first?
[Nexus 5 General] simms22:
right, z2 dalvik/bionic
[Nexus 5 General] Vobi1024:
It used to work on stock rom. Only ota 444, another kernel and these 2 mods changed on the core system on my behalf.
[Nexus 5 General] Elluel:
Make a backup and try flashing something else clean and see if it works, then flash these libs and see if it still works.
[Nexus 5 General] Vobi1024:
Simms22 already told it works, I don't need anymore proof than that. Something must be with my device...

I will wipe it clean on the weekend...

Thanks for Your help!
[Nexus 5 General] Elluel:
Out of curiosity, do any of these work with Paranoid Android or are they still incompatible and cause non-boots? Friend refuses to use any other ROM and I don't use PA lol.
[Nexus 5 General] Citizen_Snips:
Last reports I remember seeing, still cause boot loops. Haven't tried PA since I made my own builds before they even released a public build lol, so I can't say for sure. I want to say none are compatible though.
[Nexus 5 General] ol@fson:
VPN

Reproducible Bug .. I tried the Z2 and MotoX libs on my N5 (all Stock KTU84P) and on both a VPN connection is established flawlessly but can never be disconnected! If you choose to close the tunnel it just stays open and nothing happens. Reverting to the stock libs makes it work again, so it's definitely Dalvik/Bionic patch related, have yet to find out which one is responsible.

The Bionic libs is the culprit. With Dalvik libs alone it still works. But as soon as the Bionic libs are changed, the VPN problem occurs.

I also tried the G3 Bionic but with them I can't unlock my SIM card .. It just says "unlocking" for ever.
[Nexus 5 General] Kitkattii:
Which one you recommend with Latest Cyanogenmod Nightly and Chaos Kernel? OPO-dalvik and bionic?

Regards, Kitkattii
[Nexus 5 General] Elluel:
CM is CAF so OnePlus One Dalvik, and probably LG G3 Bionic

Kernel is unrelated and people need to stop constantly mentioning them lol

---------- Post added at 09:10 PM ---------- Previous post was at 09:09 PM ----------

I don't use those things but I tried and they work fine for me lol
[Nexus 5 General] ol@fson:
Strange enough lol .. No idea why it's different with my phone, I even fastboot flashed system and boot and then tried just the bionic .. But then reproducible those issues occur .. Maybe hardware related? Mine is built April 2014, 32GB version.
[Nexus 5 General] wangdaning:
+1 on this. Running Slimkat 6.0 stable. After flashing the one plus one b+d my vpn icon constant, even after disconnect.
[Nexus 5 General] ccost74:
VPN

1+ also same problem

tested with HTC One (M8) 4.4.3 and is working
[Nexus 5 General] der_sascha:
The dalvik patches are not working on Paranoide Android

I was testing some of them from OP.

So information for all pay user don't flash it
[Nexus 5 General] FalenDemon:
Replace installd in dalvik zip, by one from ROM zip. [emoji106]
[Nexus 5 General] carlese:
Hi guys, I'm on Purity 21/7, Code Blue 209 Exp , xPosed.. What do you suggest? Z2 dalvik/bionic or Z2 dalvik and G3 bionic? Other suggestions?

Thanks!
[Nexus 5 General] Elluel:
None will work on Paranoid Android since it has some weird commits.

Z2 Dalvik for sure and the Bionic is up to you, they're almost the same although we feel the LG G3 Bionic is slightly better
[Nexus 5 General] FalenDemon:
Z2 dalvik works for me on PA.
[Nexus 5 General] Elluel:
You sure? Last time I checked, PA had commits that stopped AOSP Dalvik from booting and it didn't have any CAF that allowed CAF Dalviks to run.
[Nexus 5 General] carlese:
Can't download from the links in first page..
[Nexus 5 General] der_sascha:
can you please exactly explane how i can do it?
[Nexus 5 General] Elluel:
Get your ROM.zip and open /system/bin and copy 'installd'

Open Dalvik flashable .zip, go to /system/bin and paste the installd you took from your ROM, replace the one in the .zip

Flash new Dalvik flashable .zip
[Nexus 5 General] der_sascha:
wow great, thank you for this! it works now for me!

i am now an Z2-Dalvik and G3-Bionic!

which Dalvik and Bionic would you Guys recommend?
[Nexus 5 General] FalenDemon:
Yep, but only with their installd.

But I dont know what for installd file and it influence on system.
[Nexus 5 General] Elluel:
Oh, I didn't try replacing the installd.

http://xdaforums.com/showpost.php?p=54143201&postcount=2221
[Nexus 5 General] jayplusone:
I'm on stock with EX using the z2 binaries. Nice boost overall. Try them both and see how your phone reacts [emoji4]
[Nexus 5 General] mc.cerny:
hi,

what do you recommend for mahdi rom?

i have lg g3 bionic and dalvik cm11 final. is it ok?
[Nexus 5 General] Citizen_Snips:
I use LG G3 bionic & 1+1 dalvik on Mahdi.
[Nexus 5 General] mc.cerny:
1+1 download?
[Nexus 5 General] Elluel:
Its in the OP
[Nexus 5 General] mc.cerny:
sorry, op is ? maybe link?
[Nexus 5 General] Elluel:
It's in the post in page 1 ._.

http://xdaforums.com/showpost.php?p=47709135&postcount=2
[Nexus 5 General] mc.cerny:
thanks, i will try
[Nexus 5 General] P4R:
I use g3 bionic and z2 dalvik.
[Nexus 5 General] TheKnux:
Any recommendations for PACman beta 1 rom?
[Nexus 5 General] anmar21:
Any rom working fine with cm11 theme engine?
[Nexus 5 General] Elluel:
Edit: oops, intended to link this thread: http://xdaforums.com/google-nexus-5/general/mod-dalvik-bionic-library-optimization-t2537299/page223
[Nexus 5 General] marselcj:
Hi. I'm on stock 4.4.4, only Xposed with Gravity. What dalvik and what bionic should I flash?

Thanks.
[Nexus 5 General] Elluel:
http://xdaforums.com/showpost.php?p=53831281&postcount=2098

http://xdaforums.com/google-nexus-5...timization-t2537299/post53730530#post53730530

http://xdaforums.com/google-nexus-5...timization-t2537299/post53694018#post53694018

http://xdaforums.com/showpost.php?p=53828807&postcount=2095

http://xdaforums.com/showpost.php?p=53989545&postcount=2169

http://xdaforums.com/showpost.php?p=53916028&postcount=2128

http://xdaforums.com/showpost.php?p=53989545&postcount=2169

I can link more, search is your friend.
[Nexus 5 General] ali262883:
Are they working on latest Mahdi rom?
[Nexus 5 General] Elluel:
You just quoted the answer to your question.. lol
[Nexus 5 General] marselcj:
Thanks a lot. I've flashed Z2 Dalvik and G3 Bionic. Everything seems to be fine. [emoji2]
[Nexus 5 General] Citizen_Snips:
No, I just use my phone everyday while its boot looping...nbd -_-
[Nexus 5 General] mc.cerny:
z2 dalvik not working...

g3 bionic and 1+1 dalvik works...
[Nexus 5 General] der_sascha:
Thank your for that these are all for stock rom. Is there also some for Paranoide Android? Or should I use same as recommend for stock?
[Nexus 5 General] Elluel:
I already told you what to do previously lol
[Nexus 5 General] der_sascha:
Sorry do you!

I know what to do for get work on pa

I was asking which dalvik and bionik would you recommend for PA rom
[Nexus 5 General] Elluel:
PA is AOSP so Z2

Any Bionic should work and most use the LG G3
[Nexus 5 General] Elluel:
Quoting old quote just to quote.. Still happens. :p

---------- Post added at 08:22 PM ---------- Previous post was at 07:57 PM ----------

Oops, sorry, I seem to have accidentally linked the wrong thing previously when I quoted you with this:

This is the link that I intended to point you towards. Apologies, I was tired. Fixed my previous post too.

http://xdaforums.com/showpost.php?p=54143201&postcount=2221
[Nexus 5 General] Pallinaama:
i have nexus 5 with 4.4.4 android running with dalvik.

can i use this: Moto X 4.4.2 - Dalvik: https://db.tt/XqGB5MHW ?
[Nexus 5 General] Elluel:
yes
[Nexus 5 General] jphilippon:
This is really painful to read every other page..
[Nexus 5 General] Elluel:
We deal with it :p
[Nexus 5 General] Snoop05:
Z2 Dalvik not working on AOSPAL SaberMod (PSD)
[Nexus 5 General] Elluel:
http://xdaforums.com/showthread.php?p=54143201
[Nexus 5 General] Snoop05:
I think this should be on first page in thread. Thanks, man. :angel:
[Nexus 5 General] brown_89:
What file i have to flash in PA 4.45??
[Nexus 5 General] Elluel:
Just read the posts that are right above your one LOL
[Nexus 5 General] brown_89:
Lol thank you!!
[Nexus 5 General] brown_89:
I have flashed g3 dalvik file and i'm in bootloop?
[Nexus 5 General] Elluel:
LG G3 Dalvik doesn't boot on anything, I have a warning in the post :p

Push a Dalvik that works, to your device using adb while in recovery then flash it. Read the first post in my signature and various threads if you don't know how
[Nexus 5 General] brown_89:
Thank you for the support,i have flashed the z2 dalvik but nothing seems to changed so i finally reflashed the paranoid zip and now works again!
[Nexus 5 General] Elluel:
Reflashing ROM works fine too I guess :p
[Nexus 5 General] ck.chunkeat:
I tried this last time for once, but I encounter a bootloop and never tried it again.i was on stock. Now, I'm on PA and flashed z2 bionic and dalvik ( wanted to flash g3 bionic but was afraid of bootloop like the guy above me who encountered it. ). After flashing Z2 bionic and dalvik patch, I'm now stuck at bootloop for 5 minutes already. :(

Anyway I can fix this and install these files? I wouldn't want to reset my data.
[Nexus 5 General] Elluel:
The past page and a half was literally on flashing them on PA

http://xdaforums.com/showpost.php?p=54143201&postcount=2221

then adb push it to your internal storage and flash in recovery
[Nexus 5 General] gamerman123x:
If the lg g3 dalvik doesn't boot on anything then why is it there ?
[Nexus 5 General] Elluel:
Because I couldn't boot it up on my ROM and wanted to see if it would on any other ROM. Haven't bothered to remove it since, and people will end up asking where it is if there's only a Bionic.

There's a clear warning in the post saying it won't work and that you should make a backup. Its even in red text, and in desktop view its in a larger font size. You should always be backing up before flashing ANYTHING, really.

Nobody's fault but yours if you flash something without making a backup and it doesn't work.
[Nexus 5 General] Citizen_Snips:
Because this isn't an official "Flash this on your N5 for performance improvements" thread. The files are simply pulled from other devices which have optimized libraries and are then posted. They are labeled as [Untested] until they're confirmed to boot on certain ROM's. If you read the thread you can find out which files work on which ROMs. :)
[Nexus 5 General] gamerman123x:
True just wondering its no big deal

Sent from my Spirit using a Nexus 5

---------- Post added at 05:41 AM ---------- Previous post was at 05:40 AM ----------

Yes I know that just wondering well if people can't read its there fault if they flash that lol

Sent from my Spirit using a Nexus 5
[Nexus 5 General] Elluel:
..except half the time they don't and ask which one works when literally the post before theirs has the answer. :P
[Nexus 5 General] gamerman123x:
Lol happens on every thread usually

Sent from my Spirit using a Nexus 5
[Nexus 5 General] Elluel:
Even more so here. ;)
[Nexus 5 General] Wakamatsu:
Maybe it would help if you read this thread in reverse order.
[Nexus 5 General] skinner12:
Rastakat with Z2 files works well..
[Nexus 5 General] brown_89:
What bionic and dalvik works for mahdi 0728??
[Nexus 5 General] Elluel:
OnePlus One Dalvik and LG G3 Bionic

---------- Post added at 08:59 AM ---------- Previous post was at 08:59 AM ----------

Can people please search/read before just asking the exact same questions over and over again?
[Nexus 5 General] Kimbaroth:
Wich Dalvik is safe to flash on ParanoidAndroid 4.5 Alpha???
[Nexus 5 General] rosko311:
Make a back up, try some. Let us know. It's an alpha, probably hasn't been tried yet.
[Nexus 5 General] atulclassic:
none of the dalvik works with PA alpha..you can flash LG G3 bionic..no gain though
[Nexus 5 General] ck.chunkeat:
okay, so I've flashed Z2 bionic and dalvik on pa 4.45. But I didn't notice any difference. I compared it side by side with another nexus 5 running on stock+ ART. Everything is mostly the same ( app opening speed etc ) but for one. When you are in side an app, and you press recent button, you will notice the lag on optimized dalvik. When compared side by side, the difference is very noticeable. ART has no lag whatsoever but there is lag and stuttering on optimized dalvik.

Did I do anything wrong on flashing? or is that how it's suppose to be, ART > optimized dalvik.
[Nexus 5 General] CrashOverride1995:
Same here with Z2 bionic and dalvik on pa 4.5 alpha 3
[Nexus 5 General] Haidary.T:
Could you tell me if you see this lag on stock dalvik? Just curious.
[Nexus 5 General] CrashOverride1995:
Yes there is lag on stock dalvik
[Nexus 5 General] ck.chunkeat:
Yes, there is also some lag/stuttering when using the recent button on stock + dalvik.
[Nexus 5 General] topgeardave:
AOSP issue mate, running cm11 with opo Bionic and dalvik patches and there's no lag :)
[Nexus 5 General] Elluel:
They do work, read the previous pages.
[Nexus 5 General] negativzeroe:
Wait, where is the N5 link? All I see are other devices...
[Nexus 5 General] Elluel:
Nowhere.

http://xdaforums.com/showpost.php?p=53848804&postcount=2110

Did you even read the OP? Just one of those people that only look for download links I assume? Lol.
[Nexus 5 General] negativzeroe:
I did. It said:

This thread is only for Nexus 5 do not ask about other devices.

That is what threw me off lol. Thanks for the clarification though!
[Nexus 5 General] Elluel:
This was BEFORE that:

This also was:

Blindly flashing without knowing what something actually does? Could put you into a bootloop, and "potentially" brick your device.

Then the OP's signature also says:

No, you were not thrown off, you did not read. Not any personal offense to you, but really, you shouldn't have needed to ask that if read properly. :p
[Nexus 5 General] negativzeroe:
I will admit that I did not read properly, but not that I did not read. I am tired so I probably could have paid more attention, but I went over it a few times and was just as confused lol. :p
[Nexus 5 General] Elluel:
Best to always read properly :p