yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] xboxfanj:
Yep. Qualcomm uses the same libraries on all devices so far.

EDIT: That's not quite accurate. On KitKat, there's a couple versions of the QC-OPT libraries, that are used on different devices, regardless of the SOC (Snapdragon 800, 600, and 400 can use the same version). However, there have been newer versions of the libraries, but those are compatible across all QCOM SOCs. The first KitKat libraries were version 2.5.11, but with the 4.4.2 upgrade, most moved to 2.5.15.
[Nexus 5 General] aavvaallooss:
Keep us informed!
[Nexus 5 General] :
Re,

For sure mate, I'm always following this kind of stuff ready to flash, test and report (but I think you have already seen) :D

Thanks to xboxfanj and Kszaq (Nexus 4 thread) and jphilippon for the topic here, to remember.

:)
[Nexus 5 General] Enddo:
im excited to see the aosp improvements
[Nexus 5 General] jphilippon:
As am I. This phone flies as it is!

sent from my Nexus 5
[Nexus 5 General] xboxfanj:
Sorry, my PC is slow. Should be ready tomorrow.
[Nexus 5 General] :
I already posted this in the Cataclysm thread but I think here is a better place to ask;
[Nexus 5 General] :
Hi,

Are you sure you have flashed the first two files from the OP (optimized_dalvik and optimized_bionic)?

Just in case reflash them, no error in recovery when you flash?
[Nexus 5 General] :
Of course I flashed both of them from the OP. After reboot I let the device cool down to 35°C and started the benchmark (in order to prevent thermal throttle).

I didn't see any errors in TWRP.
[Nexus 5 General] XDANelius:
This works like a charm, Many thanks!
[Nexus 5 General] anthonyly:
Flashed both of the dalvic and bionic zip

While I see people with scores higher than the note 3

Runing latest Franco, Catalysm and the mod
[Nexus 5 General] :
This is actually pretty bad. You should at least have more than 32k if you are not messing with any kernel settings.

I get the same score and I wonder why. I used to get 34k so I assume after reflashing the patch it didn't get flashed properly but I can't see anything in TWRP log.
[Nexus 5 General] spyros.giotakis:
I also use franko, stock rom and the mod and I got this
[Nexus 5 General] anthonyly:
using catalysm and my score is so low.... i guess ill reflash my rom and wipe then flash the mods again
[Nexus 5 General] hunhool:
After flashing these mods.

However,I don't pay much attention for these scores.

But the phone feels a bit smoother with these mods.

Tried on Slimkat

REKOGNÍZED KONYHABÚTOR :D
[Nexus 5 General] hunhool:
Ops and there is a pic before flashed the mods

REKOGNÍZED KONYHABÚTOR :D
[Nexus 5 General] monkboy24:
I agree with u %100 Brotha. Its funny how some people say they can't tell the difference and its just benchmarks smh
[Nexus 5 General] Enddo:
placebo is a powerful thing
[Nexus 5 General] maxpower7:
Mostly because I can't. It runs exactly the same for me. Benchmark scores are of course awesome, but this mod can't touch ART.
[Nexus 5 General] Enddo:
i have to agree. maybe in 2 years i would be able to see the difference due to computing power. but as it is now, my N5 flies. the only difference i see between the 2 is that ART has snappier switches between open apps. that's why i pick art
[Nexus 5 General] shan25:
I really don't trust this..

I doubt it does anything other than raise benchmarks otherwise it would be implemented everywhere.(and also have wayyyyyyy more views and gain a lot more notice)

I'm no professional but I've seen some devs really bash it and go against it.
[Nexus 5 General] xboxfanj:
Certainly doesn't hurt. I'm not sure. My device is smooth with or without it. The fact that it increases benchmarks on non qcom devices means it's not specific to qcom and may just be a benchmark increaser, but it could really be making dalvik more efficient. It's hard to say.
[Nexus 5 General] jphilippon:
116k views at time of writing? *shrugs

Clearly it doesn't hurt, as I see no complaints. No one said it was magic, but it does something. :)

All I know is that ART with bionic flies.

sent from my Nexus 5
[Nexus 5 General] shan25:
I don't understand all of it, but this helped me decide whether to use it.

https://plus.google.com/104097621805582709171/posts/JJsTYxXEgZF

116k is nothing compared to other threads for the N5, and I think the patch would have been a lot more popular if it did what I assume its supposed to do.
[Nexus 5 General] nerv8765:
I get around 19000 on Quadrant, using stock rom, Franco's kernel, and this mod of course. Seems smoother overall as well. Thank you so much!
[Nexus 5 General] jphilippon:
Feel free not to use it and see yourself out. I didn't make this and nowhere does it say you should use it or that it's magic. It's just here. Results vary for people, each device is their own.

sent from my Nexus 5
[Nexus 5 General] Enddo:
so hostile for something you didn't even make lol
[Nexus 5 General] xboxfanj:
Sorry guys, I've had some issues. Made a couple versions that didn't boot. Looks like I need to cherry pick more selectively. I'll keep you posted.
[Nexus 5 General] quadomatic:
Thanks for the hard work
[Nexus 5 General] P.Mobile:
say i want to start fresh.. should i flash the rom and kernel.. setuop the rom then reboot into recovery then flash bionic zip then dalvik zip.. wipe cashe then dalvik cashe then reboot?
[Nexus 5 General] :
I think you can flash it right after flashing the ROM and the kernel. No need to setup your ROM first.
[Nexus 5 General] :
What I do is to flash rom then kernel, reboot (I don't setup the rom, just a reboot), then flash both zip files... No need to wipe Dalvik cache, but for sure it won't hurt. I never wiped the Dalvik cache because it's automatically rebuilt without so... (Android is upgrading bla bla...).

I think too but I don't know why I prefer flash the zip files after a reboot... :D But sometimes if you flash to many things in the same time maybe some weird behaviors or things could happen.

:)
[Nexus 5 General] Ltilt2:
I flashed Bionic zip on my att lg g2 running Houstonn's 4.4.2 PA rom and I do see a difference.
[Nexus 5 General] bog3nator:
Just flashed for art. Working good. But how are people getting 19k for quadrant. I get 13 k using on demand and cfq?
[Nexus 5 General] :
Hi,

You need to use Dalvik runtime with the Dalvik optimizations if you want above 20 000 in Quadrant...

ART runtime with Bionic patches is a little boost (stock is about 8/9 000 if I'm not wrong), if you want more see above...

It depends of what you want, I mean your main goal. Test also in day to day use with Dalvik runtime with both patches vs ART runtime with Bionic patche to see, not only about Quadrant (or Antutu). In any case Dalvik runtime+both patches will make higher scores...

:)
[Nexus 5 General] bog3nator:
OK I thought of that. Does android and opening apps and stuff feel the same as art? Benchmarks don't mean much to me just real world performance.
[Nexus 5 General] :
Re,

As I said (and already said here and in the other threads about Dalvik vs ART vs the same with the patches), the best is to test by yourself and makes your own opinion between all this stuff ;)

Some users have reported an improvement, others don't... For sure in benches Dalvik runtime+both patches will give you higher score in benches.

If you are happy with ART+Bionic, I mean all is fine in general UI (speed, smoothess, responsiveness) why not stick with this combo? Or try another combo like Dalvik runtime+patches..., hard choice, right? :D

Read also the last pages here...

In any case there is the revert patches, you can make a Nandroid backup so it's up to you...

:)
[Nexus 5 General] bog3nator:
Thanks. Just thinking about xposed haha
[Nexus 5 General] FuMMoD:
ART is not worth me losing xposed for. If that's what you want then flash the patches and stay on dalvik. Benches higher and just as smooth as art with elemental kernel. Plus it doesn't increase your app sizes like art does either.
[Nexus 5 General] Enddo:
meh, dalvik has nothing on ART when opening up and switching through recents. in my opinion at least
[Nexus 5 General] gregs1213:
Just for kicks I ran AnTuTu before installing.. I got 31,315... and I ran it after installing.. I got 27,171.. a decrease. Haven't even took time to see if I "feel" any real world perfomance difference.
[Nexus 5 General] Decimation:
So anyone having trouble with the Nexus 5 camera after this?? Logcat indicates a VM mismatch. Short of flashing back to factory to get the original Dalvik is there a fix??
[Nexus 5 General] ickoicko:
I love how dedicated you are in answering previously answered question for the nth time. Remember guys you can always use the search button for queries that may already be answered.
[Nexus 5 General] :
I had the same problem. After I clean installed my ROM (for a different reason) I had better results after flashing again. I'm sure thats not the best way to do it but it was nice to get it working again though it wasn't my intend by reinstalling the ROM.
[Nexus 5 General] Enddo:
if useless benchmark numbers is what you're after, then more power to you. placebo is a powerful effect ;)
[Nexus 5 General] bog3nator:
I tried bionic art and bionic dalvik. Dalvik gives much higher numbers. Art is faster with everything else
[Nexus 5 General] SlCKB0Y:
A "developer" in that link you provided stated:

Yep, that sounds like a credible explanation to me. :confused: Of course they don't go on to state exactly how this faking of scores is being accomplished.

That from a bunch of people who compile other people's source (Google), integrating other people patches and applications (CM etc) whilst talking **** about Motorola devs. Even if the benchmark scores aren't accurate, that isn't evidence that it isn't providing performance benefits.

What's more likely? That the phone developers have optimised Dalvik to eke some extra performance out of software to help make things run surprisingly smoothly on the Moto X's modest hardware, or that Motorola is engaging in some sort of world wide conspiracy to trick people like us on XDA? :rolleyes:
[Nexus 5 General] Enddo:
have you seen the difference in quandrant scores? i can promise you that no phone is getting that kind of improvement in real world usage
[Nexus 5 General] :
Hmm faking benchmarks is a good point. I mean Samsung did the same.

Nexus 5 - Moto X Dalvik patch vs. Stock

[YOUTUBE]NnkOvtuo_YY[/YOUTUBE]

But it doesn't hurt to flash them either ;)
[Nexus 5 General] Bei60:
Running Cataclysm + franco kernel r14.

Quadrant before: 6k

Quadrant after: 15k

(I UVed my voltages).
[Nexus 5 General] Empty Hand:
I used the "Benchmark and Tuning" app because I'm running Franco kernel, which crashes Antutu at 21%. I just ran Quadrant and got 19410. The 2 apps must be measuring completely different things with that huge difference.
[Nexus 5 General] trismegistos:
No noticeable diffrence
[Nexus 5 General] italia0101:
Will it work on stock?
[Nexus 5 General] safendi:
Run on rastakat ROM?
[Nexus 5 General] kashix:
19k+ on quadrant and 30k on antutu!
[Nexus 5 General] tibere86:
Working perfectly on my Nexus 7 (2013).
[Nexus 5 General] djnewt:
Big improvements with benchmarks...Will test more with general stuff tonight.
[Nexus 5 General] crazykefka:
Have you guys experienced any battery dips from the patch?
[Nexus 5 General] MKVFTW:
Something got messed up when i flashed this...

Stock, Odex, Faux 002 kernal, dalvik, rooted, TWRP.

Backed up System, data, boot then flashed this. Restarted fine, booted into android. No signal. Toggled airplane mode. Signal bar completely disapears?!

I reboot into recovery, restore system, data, boot the restart. No change.Go into About...IMEI Unknown, IMEI SV Unknown, Baseband Unknown, Phone Number Unknown.

Download stock KRT16M zip to flash then i go to transfer onto the SD through my computer. No luck in MTP, or PTP. Open up ES Explorer. "/SDcard Not found"

Booted into recovery and the SD is there and i can see and move the files. In android, no such luck. Fixed Permissions doesn't help. So i am at a loss. Any ideas?
[Nexus 5 General] Adnansaeedhamed:
Yes installed successfully with me with no issues
[Nexus 5 General] italia0101:
Did you wipe cache?
[Nexus 5 General] MKVFTW:
I did after i flashed, went back to do it again...and i kept getting the "E: Unable to mount '/cache'" error. I tried it 5 or 6 times and finally it went through. Booted up and is back to normal.

Really odd...
[Nexus 5 General] italia0101:
Don't bother wiping caches anymore, it causes issues all over the place. I havent wiped a cache since 4.2.2 and not had 1 problem.
[Nexus 5 General] jjc5891:
Stock here (except root only) and it installed fine. Quadrant score is 21K and Antutu score is 35K.
[Nexus 5 General] TheLastSidekick:
I can feel a slight difference. Problem being though the Nexus 5 is already too fast so the difference is very slight which is a good thing lol

​
[Nexus 5 General] DJ-Tumor:
Anyone to check my experience that taking photos is greatly improved? This was the last I expected but damn....I think photos are much better though don´t know why myself....took a photo of my canvas (beamer projected) DAAAAMN!

It never looked nearly like this...
[Nexus 5 General] LNJ:
So this doesn't work with ART right?
[Nexus 5 General] davwman:
No
[Nexus 5 General] DJ-Tumor:
I´m really pissed seeing people messing with Dalvik and ART without Knowing what they do or say.

People need to know that Dalvik is 100% opposite of ART. Totally different things. Any Fix or Update for one of them won´t affect the other in any way.

Those new dalvik libraries may bring new life into the fight of ART vs Dalvik. My resume lately was that 80% of people are euphoric about the power of ART.
[Nexus 5 General] meangreenie:
you only get differences in benchmarks with dalvik on Java tests.. quadrant is written in Java.. thus the big boost in CPU tests.. antutu you only see the dalvik test almost double but counts for little of the total score

bionic improves floating point CPU calculations which improve many benchmarks by a lot since it's widely tested on.. meaning heavy physics games will benefit and week likely gain a few extra fps, but most normal apps you will not notice

people expecting apps to load faster will be disappointed since I/O speed is not affected
[Nexus 5 General] Musko:
Did you mean ART is faster without flash bionic, or is faster with flash bionic?
[Nexus 5 General] :
Bionic is runtime independent. It improves arithmetic operations and stuff. Nothing to do with runtime. You can flash it on both ART and Dalvik.
[Nexus 5 General] Musko:
OK. Thank you, but my question is whether ART is faster with or without?

Now I'm on ART stock without any bionic library and I want to know what is better.
[Nexus 5 General] :
Obviously with bionic.
[Nexus 5 General] xboxfanj:
It has almost nothing to do with Motorola. As far as I know, they do not edit it and are not even given the source code, which explains why several devices have the same libraries. The same libraries here could have been pulled from any 4.4 device. 4.4.2 is slightly newer and the find 7 is even newer than that, which I'm working on.
[Nexus 5 General] Enddo:
how do you know? i doubt you're looking at the command line while your device is running. these patches could cause errors with google play services or the kernel and then people who patched it will be in kernel and custom rom threads complaining about their code when it's actually a patch they put on their device
[Nexus 5 General] :
Hi,

Could you show us the "command line" (you mean a logcat live maybe?) that you are reffering? It seems that you you have looked into it... so it will be interesting to see. Thanks :)

I used these patches on stock and custom kernel/rom without any issues, and with Dalvik/ART runtime, at least for me...

I don't know what Google Play services or kernel related issues they could cause... :confused:

Maybe I'm wrong here, but as far as I know there is no issue like these reported here, in this tread or even in the Nexus 4 thread...

:)
[Nexus 5 General] aavvaallooss:
Hundred, maybe thousand, people running this mod flawlessly without trouble with Play Services or kernels
[Nexus 5 General] ChazzMatt:
Can you tell us more about that? That last part? Do you have some newer Dalvik+bionic library optimization files to release?
[Nexus 5 General] Damian2013:
Xposed has never worked for me. I tried the pie Xposed hack and no go. Even tried the nav bar height and nothing.
[Nexus 5 General] :
You didn't reboot after

installing the framework

activating the module
[Nexus 5 General] shan25:
Sorry I can't be responsible for every word that comes out of his mouth..

But of course it increases performance ON THE MOTO X. the phone it was MEANT FOR. The only reason it remotely works on the N4 and N5 (as I believe) is because they are all essentially stock.(haven't tried the moto x though). Plz try to flash a N4 ROM on a N5. It will work! Will it work well? NO. The phone will just thinks its a N4. That's essentially what this is. You are flashing software meant for a different phone and hoping for improvement. That's why I don't like it. It also apparently causes memory leaks like I said because it is after all meant for a different phone. If you're fine with that then flash away, I'm just here so the average user doesn't think that "by flashing this magical zip my phone will be super fast because of all my high benchmarks."
[Nexus 5 General] xboxfanj:
Sure, so as I said before, the optimizations in these files are in the static library, libqc-dalvik and libqc-opt, which is built into the dalvik libraries. This static library is given to manufacturers (who as far as I know do not have the source code for it, so they can't change it) and they build dalvik with it. Qualcomm can update this file and give to manufacturers for future updates of theirs, but since they don't have the source, they can't update themselves, which explains why depending on the date that the Android build was made, devices have a version of the Qualcomm dalvik. The earliest Kitkat, which we have here is 2.5.11 (4.4). 4.4.2 devices such as the GPad 8.3 have 2.5.15 and newer devices than that (most of which aren't out or haven't been announced have 2.5.18, which to my knowledge is the newest available). All I have of 2.5.18 is the static library to build dalvik with, but I don't have the prebuilt libdvm and dalvik files, so I have to build myself, which has given me some issues with AOSP master. I'll keep working on it though. Just haven't had a ton of time with other projects I'm working on and school.
[Nexus 5 General] meangreenie:
The QC dalvik libraries were nabbed from the moto-x because at that time it was the only device that had 4.4 QC dalvik libraries.. now there are more devices that have 4.4 and all use them, except google which use aosp ones.. it's nothing to do with moto-x, it's been said many times now.

the bionic files, though, were compiled from fresh for the nexus 4 by kszaq, hope I remembered his name correctly
[Nexus 5 General] FuMMoD:
That's user error. You're doing something wrong or installing modules specific for other devices. Not an issue with xposed.
[Nexus 5 General] fix-this!:
Starting to wonder if my cant mount data/media in recovery and the app data loss i get could be from this patch? Anybody else have any issues like this? Seems to only happen on cm based roms.
[Nexus 5 General] meangreenie:
make sure to use the updated separate dalvik patch for cm, it contains a needed file for cm roms

edit, not sure on how it could affect recovery though
[Nexus 5 General] xboxfanj:
Shouldn't have anything to do with recovery. Recovery doesn't use dalvik or any system files. It's pretty much a boot.img that you can boot to without a system. Recovery and system are separate, which is why recovery is always rooted regardless of if your ROM is, for example or why even if system is formatted, recovery still works.
[Nexus 5 General] marbulas:
Sorry for my clumsiness...

I'm using SM-N900S(one of Galaxy Note 3 and one of snapdragon 800 variants).

Can I use your work?
[Nexus 5 General] CRIME INC.:
The op says only for nexus 4 and nexus 5 bro

sent from my HAMMERHEAD neXus
[Nexus 5 General] :
Hi,

So no, there won't be any benefit, maybe you'll encounter a bootloop if you try (like for the LG G2) ...

:)
[Nexus 5 General] EarlZ:
In day to day usage there is ZERO difference with or w/o the patch, if you want something tangible you may need to use ART but still you need to take a close look if it is performing better.
[Nexus 5 General] xboxfanj:
On stock, no need, it's already there. On aosp/cm/omni etc Roms, yes, you can use this.
[Nexus 5 General] starkzp:
This gives class with another layer of flexibility when it comes to FIFA 14 PS3 Coins preparing equipment specifications and refine. As with any other class, the way a death knight play in WoW is highly dependent on those of their three talent trees with cheap wow gold the player decides to focus on - Blood, Frost and Unholy.
[Nexus 5 General] bog3nator:
I disagree as its all opinion. I notice a difference between art and art with bionic installed for day to day use.
[Nexus 5 General] Enddo:
i've been using ART since the N5 and i can't tell any difference in with or without the bionic patch. i turn off animations though, so things are very snappy regardless.
[Nexus 5 General] jphilippon:
I don't think we should start going here this thread will be an argue fest.

Please try the patch, and if you like it, great! I don't think anyone short of a Qualcomm engineer can give us a straight answer whether it's beneficial or not. Personally I have been using this since the day I found it. First on Dalvik, then on ART with bionic. I have zero complaints and of course this device is snappy already so let's all just get along! :)

sent from my Nexus 5
[Nexus 5 General] :
Hi,

And I would say... even if you don't trust in benches, even if benches are not real life and even if benches are useless (and all the blablabla about benches) these patches improves benches... and even if it's, maybe, only in benches... it's still an improvement :D

It may not be what you expect if you see an improvement "only" in benches, but in any case it has never been said, with these patches, that your device will be 2x faster, your games will gain 5 fps or your apps will open 4x faster than without...

Maybe some of you don't see a difference (and it's subjective), sometimes it's hard to tell in day to day use in general UI, don't forget that some users use these patches with some roms already optimized (like me with Purity) with some AOSP Dalvik and Bionic stuff (not the same stuff like these patches from Qualcomm, closed source for Dalvik) plus other improvements, plus people using a custom kernel, etc..., so right here maybe we won't see a real improvement in general UI... in any case there is nothing worse. If improvement there is, it will be for sure more noticeable on stock rom and kernel.

And from the N4 thread:

You should read the FAQ: http://xdaforums.com/showthread.php?t=2546120.

After that for comparing Dalvik vs ART there is already 2 threads...

:)
[Nexus 5 General] ChazzMatt:
Nice explanation. So this thread has 2.5.11 posted. And 2.5.15 is out there somewhere.

When you get 2.5.18 built, you will make it available for use to try?
[Nexus 5 General] xboxfanj:
Yeah. I'll work on that again today. I merged in too much aosp master commits the first couple times.
[Nexus 5 General] jcmaddox1:
So if I'm running 4.4.2 on my g2, could I flash this due to the same hardware as the n5?
[Nexus 5 General] :
Hi,

Try but it has been reported bootloop on the G2, even on AOSP rom, maybe something wrong from the user :confused:

Make a Nandroid backup first if you decide to try...

:)
[Nexus 5 General] Enddo:
i agree. no harm in trying as long as you make a backup first
[Nexus 5 General] Adam80:
My LG G2 on Gummy seems to like the bionic libraries in combination with ART. I have not had any success getting the Snapdragon-optimized dalvik runtime to boot. Backups are definitely your friend when it comes to these.
[Nexus 5 General] skeamznz:
I would like to try this out on my S4 i9505 have searched but cant find much on it with relation to my phone, has this been done??

Am running AOSP based roms