yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] spakkkk:
i use xposed, v4a and trinity... I will download again, 3rd time, and try again

Sent from my Nexus 5

---------- Post added at 10:26 PM ---------- Previous post was at 10:25 PM ----------

u only use bionic? i have tried dalvik/bionic simultaneous patch...

Sent from my Nexus 5
[Nexus 5 General] simms22:
i use viper4android as well. the only thing i can think of is that its xposed giving you the issue.

---------- Post added at 05:28 PM ---------- Previous post was at 05:26 PM ----------

no, right now im using the dalvik/bionic patch. the bionic patch wouldnt increase scores this much when on dalvik, but bionic is good for ART(which xposed doesnt do).
[Nexus 5 General] spakkkk:
tried with a clean flash and dont work, now i suppose its outdated banks gapps related... i will try again

Sent from my Nexus 5
[Nexus 5 General] simms22:
odd. what do you mean doesnt work? its not booting, its not finishing booting, or you get errors when flashing?
[Nexus 5 General] CrackerTeg:
The z2 zip works in validus. Thanks OP.
[Nexus 5 General] spakkkk:
simms22 stuck at boot animation

Sent from my Nexus 5
[Nexus 5 General] simms22:
weirdness!

have you let it sit at the boot animation longer than it usually stays? and youre still using xposed?
[Nexus 5 General] spakkkk:
yup, 10m waiting lol

Sent from my Nexus 5
[Nexus 5 General] simms22:
still using xposed?
[Nexus 5 General] spakkkk:
no, without xposed... i can boot even with clean flash, i dont know why, its weird lol

Sent from my Nexus 5
[Nexus 5 General] meangreenie:
have you tried deleting your dalvik cache from recovery?
[Nexus 5 General] spakkkk:
yup, i already tried almost everything

Sent from my Nexus 5

any suggestions?
[Nexus 5 General] simms22:
dirty flash rastakat, gapps, trinity kernel, then the moto dalvik. boot up, then go back into recovery and flash the z2 dalvik/bionic.
[Nexus 5 General] spakkkk:
ok, now its f****** weird, after 1st part of your suggestion simms22, flash rasta, gapps, trinity and moto patch i cant boot, stucks at boot animation again... i tried with latest lichti build 03.02... maybe any incompatibility?

Sent from my Nexus 5
[Nexus 5 General] simms22:
now that really weird, flashing the moto x dalvik shouldnt keep you from booting. considering that lichtis build includes the moto x dalvik. how are you downloading these files? are you directly downloading them to your phone? do you use a fast download app?
[Nexus 5 General] spakkkk:
directly to phone, now i will use 02.14 build and try

Sent from my Nexus 5

---------- Post added at 12:43 AM ---------- Previous post was at 12:27 AM ----------

with 02.14 works flawlessly... lichti1901 if u can, make your latest build works with z2 libs :D

thanks for your help simms22

Sent from my Nexus 5
[Nexus 5 General] :
Hello,

So I wanted to test these Z2 patches :D

Go back to Purity 02/16 build, and yes in benches there is an improvement, but nothing noticeable in general UI, at least for me.

On average (compared to the S IV files):

Quadrant, for the CPU part only: before about 82 000/84 000, now about 88 000/92 000 (Quadrant is still pretty inconsistent).

JBench: before about 95 000, now about 80 000, huge decrease.

Cf-bench: before about 39 000, now almost 40 000 (not a huge difference).

Antutu, for the UX part (Runtime) before about 3 600, now about 2 800 (weird this decrease, tested at 28 °C CPU temp before running the bench like before so no thermal throttling here) and for the CPU part no difference.

If someone can confirm for Antutu?

All at stock CPU freqs and same other settings.

:)
[Nexus 5 General] meangreenie:
I still get around 3600 for runtime in antutu with the z2 patches.

Maybe try clearing your dalvik and let it rebuild, if you haven't already.
[Nexus 5 General] :
Hi,

Already done, re-flashed the patche, cleared Data for Antutu, uninstalled/reinstalled... same result.

So it seems something on my side :confused:

Weird because the other benches confirm that all is fine, just Antutu gives a worse result.
[Nexus 5 General] meangreenie:
Don't know if you mistyped, but your jbench score is well out too.... http://xdaforums.com/showpost.php?p=50467920&postcount=656
[Nexus 5 General] :
My bad I wrote anything :p :D

Nope it's the right score for now but not the "before" one (corrected), it's just I forgot the previous scores in JBench, so right it's a huge decrease. It's since a few hours I run some benches, so sorry... :angel:

I modified the zip file to install "libqc-opt.so" in /system/lib instead of /system/vendor/lib, same result.

So for now only Quadrant and Cf-Bench shows an improvement, at least for me.

Maybe something with Purity 02/16 that didn't play nice with the Z2 patches...

EDIT: I'll do again a clean install because now even the S IV files give me worse results :p

EDIT 2: Since you put the "libqc-opt.so" in /system/vendor/lib (instead of /system/lib), have you take a look at the Z2 build.prop? Because:

ro.vendor.extension_library=/vendor/lib/libqc-opt.so

In any case "libqc-opt.so" in /system/lib boot fine...

:)
[Nexus 5 General] Audioboxer:
Doesn't boot on the newest release.
[Nexus 5 General] andiwiyono:
hi, is it work with catalcysm rom?
[Nexus 5 General] meangreenie:
I don't know, sorry.

[MENTION=241346]Viking[/MENTION], good spot on the z2 build.prop. And yeah I noticed too that the opt file can go in system/lib. I also tried with the opt file from the s4 in system/lib, with the vendor one deleted, and that booted too... which surprised me.
[Nexus 5 General] :
Re,

strikerdj2011 (or someone else) running Purity 02/16 build with the Z2 patches could test the UX part in Antutu (need to see your Runtime score) and/or Jbench (Play Store) at stock CPU freqs, please?

Can't get more than about 2 800 for the Runtime part in Antutu (previously it was about 3 600) and can't get more 79 000 in JBench (previously about 95 000)... :confused:

Clean install, I checked my settings and so on, I would understand what's going on here since it seems on stock these scores are fine (at least like with the Moto X files)... Only Quadrant shows an improvement for now.

Thanks!

EDIT: @ meangreenie, I added the line in my build.prop to test, no side effects, don't know if for us it does something even with "libqc-opt.so" in /system/vendor/lib...
[Nexus 5 General] rickyx32:
The Z2 dalvik and bionic patch appears to work pretty good on stock ROM. I flashed it over the old moto x patches, but so far I got scores that were equal or slightly higher than usual at room temperature runs. I'd try it on Purity, but for some reason Swiftkey didn't like the earlier Purity releases and I hear LED gets borked if I use other kernels besides the one in the ROM.
[Nexus 5 General] ali262883:
link for z2 patches ?
[Nexus 5 General] :
Hi,

Here: http://xdaforums.com/showpost.php?p=50753106&postcount=879...

:)
[Nexus 5 General] ali262883:
Do i need to flash on latest purity build or they are pre loaded?
[Nexus 5 General] :
NO on the two latest Purity builds (02/28 and 03/02)-> non boot!

Use only the 02/16 build or before.

Or use only the Bionic files: http://xdaforums.com/showpost.php?p=50753782&postcount=884, no issue with them, it's the Dalvik files that causes a non boot.

And as already said many times, Purity rom does not include any of the files from this thread, Purity rom has its own Dalvik/Bionic optimizations from AOSP/Code Aurora...
[Nexus 5 General] ali262883:
Ok so do i need to flash the bionic files or no need?
[Nexus 5 General] :
Test and see by yourself if you see an improvement, Nandroid backup, flash, test and see, restore your backup if you don't see any improvement or whatever...
[Nexus 5 General] ali262883:
Okay thank you
[Nexus 5 General] strikerdj2011:
all stock speeds with z2 patches
[Nexus 5 General] yooouuri:
Working without problems on stock! :good:
[Nexus 5 General] :
Hi,

In my opinion it's the end of the Dalvik patch on custom rom. For a bunch of different roms updates they include the commits that break the Dalvik patch compatibility and cause a non boot so more and more roms are not compatible anymore...

Until these commits are reverted, I doubt, it seems there is no way to have them working again for now...

Only the Bionic patch works fine, now...

@ strikerdj2011, ok something was weird on my side, but what :confused: . In any case I'm off with that, I reflashed the last Purity build, bye-bye Dalvik patch and bye-bye Antutu, Quadrant and so on, it was nice to play but without the Dalvik patch... :( :D

:)
[Nexus 5 General] lichti1901:
lol ... Added the z2 patches to my source and know what, it wont build dalvik after wiping it. I think i know whats up, let me try a few things after work today. If it works, i'll upload a build with z2 dalvik patches included.

I think This and This are the patches which causes the not working issue. Will revert and bake today after work.

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 General] :
Hi,

Have you these commits in your builds?:

https://github.com/KitKatPurity/platform_libcore/commit/01a0f33154cf6c294c4e9bad7eb8979fcc0b9fa6

https://github.com/KitKatPurity/platform_libcore/commit/27b7e884c0ceb582349eca8fb9f27755d0b2635c
[Nexus 5 General] lichti1901:
No - dont have these. Why?
[Nexus 5 General] :
Ok, it was just a question, nothing... Yep it seems the "Speed up booting..." commits are causing the issue with the Dalvik patches. As far as I know all the roms with non boot issue with the Dalvik patches have these commits (Purity for example since I use it, but also another roms just updated or since a few days). And it's since they are included in different roms that the Dalvik patches are not working...

:)
[Nexus 5 General] lichti1901:
Yeah, i think so too. On one of my older builds it works. So i think this is the issue. We will see in a few. :highfive:
[Nexus 5 General] :
Okay :) Thanks for your info ;)

Unfortunately nothing to do other than recompile the rom without these commits, right?, and here it's a bit beyond me (for Purity) :D

:)
[Nexus 5 General] lichti1901:
Yes, revert this 2 commits and compile again. :D
[Nexus 5 General] akash3656:
Yeap lichti. It is those patches. The march 3 BaNkS rastakat build has these commits and I can't send to cross the boot animation once I flash Z2/moto x dalvik. Bionic is fine though.
[Nexus 5 General] jallenashley:
I flashed on paranoidandroid. Device won't go past the boot animation. Any ideas?
[Nexus 5 General] :
Hi,

It's caused by the last commits common on a few roms now, only the Bionic files are working perfectly for now, check the last posts here and the changelog/commits from PA...

I guess you did a Nandroid backup before... If not (and you should have) reflash the rom.

:)
[Nexus 5 General] jallenashley:
Yeah, I backed up. lol I'm backing up again right now. First time on android, so, I make backups before doing most anything. :p
[Nexus 5 General] :
Ok :good:

Welcome to your first Android time :D, you made a backup before flashing these kinds of stuff... for a user who use Android for the first time, congratulations!!! :good: ;) ;) ;)

Some users that used to be Android and flash does not always make a backup and complain when something goes wrong...

:)
[Nexus 5 General] jallenashley:
I used to flash a lot when I had a WM6.5 phone a while back. That's the hardest lesson I learned. Backup, backup, and backup.
[Nexus 5 General] choosetobelieve:
Hi All, are below steps for refreshing two files correct?

1 wipe diavlik cashe.

2 flash two zipped files.

3. Wipe cashe again.
[Nexus 5 General] :
Hi,

Yes, no need the third part :)
[Nexus 5 General] lichti1901:
Got the full patch now workink on my rastakat build.

The culprit was the 2 commits i posted yesterday (for faster cache building after wipe).

If anybody wants to try my build - links are in my signature. Dev Host and Android File Host :good:
[Nexus 5 General] choosetobelieve:
Thanks Viking37!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[Nexus 5 General] MATRIKS:
Z2/bionic and dalvik working on nexus 4 rastakat build with trinity kernel
[Nexus 5 General] gd6noob:
Do you know if this will work with PA rom 4.1?

I know the Dalvik patch doesnt work.
[Nexus 5 General] :
Hi,

They should work...

:)
[Nexus 5 General] jlevy73:
Getting about 32K with Antutu with the new Z2 bionic patch using ART with Purity and EX kernel. Before with the moto x patch, was only getting about 29-30K.
[Nexus 5 General] Citizen_Snips:
Z2 bionic works on 4.1 yes. Dalvik will cause boot loop.
[Nexus 5 General] bornoxt:
Yes, IMO
[Nexus 5 General] GtrCraft:
Are the Z2 patches better or the same as the Moto X ones? Didn't find any difference in performance
[Nexus 5 General] lichti1901:
Better in bench scores, but better in everyday use ... Cant say, cant feel a difference

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 General] occtec:
Hi, is anyone else experiencing or has experienced or knows of any issues with flashing these mods on PA Beta 2?? I am using francos r34 kernel with no other mods but after flashing the bionic and dalvik mod i am stuck at boot. I wiped cache/dalvik using twrp recovery before hand i have also tried fixing permissions but sill stuck at boot. I then attempted to revert back to stock using 'KOT49H_dalvikoptimized_revert_stock_Nexus5.zip' but still no joy so i had no option but to re-flash the ROM.

What am i doing wrong, is this compatible with PA and Franco kernel??

Thanks in advance
[Nexus 5 General] Citizen_Snips:
Yes. Take some time to read a few pages back next time as this has been addressed many times. Only flash the bionic patch on PA. Do not use ANY of the dalvik patches in this thread. It will cause a bootloop. It has to do with commits that decrease boot time. Any ROM that has those commits you can only use bionic patches.
[Nexus 5 General] :
Hi,

occtec, as already said many times here (last posts) the Dalvik patch are not compatible with PA for now and a bunch of other roms due to some recent commits and the result is a non boot... you can still use the Bionic patch, no issue with it.

:)

EDIT: too late :D
[Nexus 5 General] gr3gg0:
working just fine, stock rom, rooted, clockwork flash. ~5k bump on benches, can't tell if it's much faster yet.
[Nexus 5 General] Jacob030:
All stock. Just rooted. I had forced GPU render in Dev options at first and did not realize it. I didn't have any change in benches until I disabled it. I have one question tho. Is it ok to go back to ART after flashing this or do I need to restore my backup first?
[Nexus 5 General] ddloco:
Thanx man I was hoping there was some kinda workaround to make it work at any rate I'm pulling 33k ish speeds with cm and bricked kernel

Sent from my Nexus 5 using Xparent BlueTapatalk 2
[Nexus 5 General] expertzero1:
flashed this with the linaro aosp build by helicopter. installed this THEN i switched to art. working flawlessly.
[Nexus 5 General] uronfire:
Is this faster than art?
[Nexus 5 General] v8rumble:
Flashed on stock ROM. Wiped dalvik only. Quadrant score went way up.
[Nexus 5 General] adamsweeting:
Surely those that have gone back to ART are negating this patch by switching?
[Nexus 5 General] Stonebot:
I would imagine....it wouldn't make sense otherwise.
[Nexus 5 General] Striatum_bdr:
Libraries are different, art doesn't use dalvik ones, so nothing to do with art.
[Nexus 5 General] P.Mobile:
what does this do? why do we get better benchmarks scores??
[Nexus 5 General] luckylui:
I would say its more optimized in a way
[Nexus 5 General] net.cat:
I lost the 4-way reboot. I got 14k points in quadrant. I don't know how many before... Do you think my phone got boosted?

Sent from my Nexus 5
[Nexus 5 General] Nbsss:
Can I safely reflash the four way reboot? I lost it after installing this mod..
[Nexus 5 General] uronfire:
Don't really care for benchmark scores does it actually improves performance compared to ART. ?
[Nexus 5 General] meethere:
is it working fast really guys???

i am on stock rom/stock kernel/stock recovery - just rooted.... will it work??
[Nexus 5 General] jphilippon:
You'll need to flash in recovery which needs to be not stock. I'd make a backup just in case. System most importantly.

sent from my Nexus 5
[Nexus 5 General] jphilippon:
Definitely.

sent from my Nexus 5
[Nexus 5 General] jphilippon:
Feels like it to me. Plus you gain being able to use all apps.

sent from my Nexus 5
[Nexus 5 General] Dan1909:
Installed this last night, and have been comparing it against ART, as I had been using that since I first got the phone.

Overall it seems a slightly bit slower in and around the phone. ART was instantaneous on absolutely everything, but I noticed a few slower areas on this. For example there's a split second pause when pressing the right soft key to open the running apps list, which wasn't there in ART.

Benchmarks are definitely improved, but that's not really that important to me, as it doesn't actually make the phone any nicer to use. I tested some web browsing speeds, and they're very similar between the two. Sunspider gives no noticeable difference in the score on either.

Some people mentioned the camera being quicker to focus and shoot, and they may be right. Although I can't really tell if it is, or if it's just the placebo affect. Might have to try and set up a better test to actually compare the two. Unless anyone has access to two N5s?
[Nexus 5 General] jlmcr87:
+4300 points on Antutu after installing it.:good:
[Nexus 5 General] occtec:
Not a problem and yes you are right i should have looked back a few pages, my bad :angel:

Sorry would have hit the thanks button, but i have gone over my limit, will give you one tomorrow.

Thanks again :good:
[Nexus 5 General] VincAlastor:
are z2 dalvik and bionic working with omni rom?
[Nexus 5 General] :
Hi,

I would say it should work since it seems there are not the commits responsible of non boot ("Speed up booting on multicore devices"-> https://gerrit.omnirom.org/#/q/status:open,p,002b967000001121).

Better is to test and report for Omni rom users, make a Nandroid backup first...

:)
[Nexus 5 General] VincAlastor:
thank you very much.

i want to test it, but if there are errors like bootloops etc. its hard to handle for me as a noob. ill better wait, maybe there is someone which tested it :)
[Nexus 5 General] :
Make a Nandroid backup first, then flash the patches, if something goes wrong you have just to restore your Nandroid backup and all will be fine as before, nothing hard even for a "noob" ;)

Then you will have the pleasure to report for all Omni rom users if they work or not testing by yourself, it's also that the Android community, test and share the result instead of waiting that someone else tested for you :)

But it's up to you...
[Nexus 5 General] VincAlastor:
yes sir ;) you're right... i will test it tomorrow after the club, then i have time for experiments
[Nexus 5 General] fedef12evo:
omni rom doesnt boot with dalvik+ bionic patch
[Nexus 5 General] lichti1901:
Because why

Because why
[Nexus 5 General] :
Oups, I didn't saw for Omni rom when I checked :what: , my apologies :)
[Nexus 5 General] Giox96:
Better ART o Dalvik optimized for performance?
[Nexus 5 General] howard bamber:
How's this? All I did was flash the files on stock rom and kernel. Was even using what's app, during the test! Plus phone full of apps!

Sent using reversed alien technology...
[Nexus 5 General] howard bamber:
Mistake
[Nexus 5 General] :
Hi,

Dedicated Runtime Thread (ART vs Dalvik)...

Or:

Switching runtime between Dalvik and ART...

:)
[Nexus 5 General] theCroh:
Is it just the Z2 patch that causes bootloops in recent ROMs or the ones in OP as well?
[Nexus 5 General] :
Hi,

All the Dalvik files cause a non boot (on the recent roms reported, with the two commits listed above), Bionic files ares fine (for now :D).

:)
[Nexus 5 General] strikerdj2011:
does your latest build both with both patches thanks :laugh:
[Nexus 5 General] Citizen_Snips:
Reading this thread is so painful lol. People keep asking the same question that's answered like 10 posts before they asked... Smh lol
[Nexus 5 General] lichti1901:
If you flash my latest build, both dalvik & bionic patches are already included. I added them in my source ;)

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 General] strikerdj2011:
great downloading now
[Nexus 5 General] lichti1901:
Stop it, i'll upload a new build now with quiet hours and immersive mode :good:
[Nexus 5 General] strikerdj2011:
ok no problem :)
[Nexus 5 General] lichti1901:
Dev Host Link

Android File Host Link
[Nexus 5 General] simms22:
downloaded :)

and booted ;)
[Nexus 5 General] strikerdj2011:
thanks alot downloading now :)
[Nexus 5 General] :
Something to test:

Source: http://xdaforums.com/showpost.php?p=50925837&postcount=887...

I'll test in a few minutes on the last Purity build (non boot with the other Dalvik files)...

EDIT: works with Purity, Carbon, AICP and CM... for now.

Not working with PA, Omni, CodefireX, Slimkat, Mahdi roms...

For Slim rom (3.6 and 3.8), test this one: http://xdaforums.com/showpost.php?p=51115101&postcount=1093 (credit @ dead0)

For other roms use always the patches from the OP unless your rom contains the "Speed up booting on multicore devices" in commits/changelog.

:)
[Nexus 5 General] :
No issue with boot and works fine (Purity rom is based on AOSP) :victory: ;)

Thanks to kszaq :good:

(*should* work with all other roms with non boot with the other Dalvik files, Nandroid backup first).

:)
[Nexus 5 General] :
Hi,

Yes, I also flashed the Bionic files from the Z2 (I always flash them in any case, the one in the OP or the Moto X 4.4.2 or the S IV or the HTC One to test :D)..., no side effects, at least nothing better/worse in general UI, benches are better obviously... And the most important: no boot problem :victory:

:)
[Nexus 5 General] strikerdj2011:
for future reference could u post just the z2 bionics please as only one i found is with both patches in thanks
[Nexus 5 General] :
Here: http://xdaforums.com/showpost.php?p=50753782&postcount=884...

:)
[Nexus 5 General] gpvecchi:
Tested the CM11 dalvik: it boots, but benchmarks are lower (2k); it seems that new CM dalvik is enough optimized...
[Nexus 5 General] Step-han:
On my Nexus 4: http://xdaforums.com/showpost.php?p=50928822&postcount=889
[Nexus 5 General] letdatbassknock:
Does this actually improve the benchmarks or does it vary phone for phone, user for user? Substantial with helping with battery life as well? Thanks for any input.
[Nexus 5 General] :
Hi,

Benches are improved for sure (in general UI better is to test by yourself, stock rom seems to have a slight improvement), about battery life at least for me, I didn't notice anything (better or worse) but some users noticed a slight battery drain but hard to tell if it's really the patches since there is a bunch of variants in day to day use about battery life...

Search in this thread for battery life, performance and improvement, it has been already discussed many times, better is to test by yourself. It depends of the rom you are using, if this rom has already some optimizations from AOSP/Code Aurora, in general UI no more differences, in benches yes...

Also, in the OP there is a useful link where all is explained...: http://xdaforums.com/showthread.php?p=47913987.

So by searching, reading a bit and testing you will have all the keys...

:)
[Nexus 5 General] letdatbassknock:
Thanks a lot.
[Nexus 5 General] simplyanin:
Can i flash this via stock recovery ?? I m currently unrooted ... Do i need to root to use this mod??

Sent from my Nexus 5
[Nexus 5 General] Citizen_Snips:
I'm not sure if you need root or not, I'll let someone else chime in there, but you will need a custom recovery.

Check out one of the sticky HOW TO threads to find out how to unlock and flash a custom recovery, or just boot into one.
[Nexus 5 General] :
Hi,

Nope, you need a custom recovery to flash them...: http://xdaforums.com/showthread.php?t=2507905...

Root, as far as I know, not necessary for this (but not sure)... Once you phone is unlocked (bootloader) with a custom recovery... root is (obviously) the next step in my opinion :D

:)
[Nexus 5 General] simplyanin:
Thank you guys for quick reply ... :)

I am actually totally new to Nexus 5 ..

Sent from my Nexus 5