yashsingh1/xdaforums huggingface dataset:
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] d_ave:
Guys, i have this phone for about 2 weeks now - got it as a replacement for my dead LG G4, which might or might not get fixed - so i got the Lenovo just to try it. I was very disappointed by the performance of the phone with the official VibeUI rom, so i started looking for alternatives. I started flashing... and flashing, and flashing over and over again and again with the different versions of CM13. I also tried tons of governor settings, tweaks, whatever - nothig was able to kill the annoying lag! Absolutely nothing! no matter what i did the annoying lag was there - a total disappointment. Lag was there in Nova launcher, tons of other different launchers, in scrolling, in page switching - everywhere. I'm sure you know what i'm talking about - a friend of mine has the exact same phone and his is behaving in the same way. So after lots of flashing finally i discovered a miracle! And this miracle is a setting available only in the AOKP release which we have few threads below. The setting is called Scrolling Cache with 4 options - always enable, enable, disable and always disable. Before my dead G4 i had a G2 - and it was suffering from the same laggy scrolling and the solution was again to disable the scrolling cache. so after disabling the scrolling cache and after i started using Apex launcher on my Lenovo i can say that the lag is reduced by about 90-95%. It still has some occasional hiccups, but it is far better than anything i tried before. Is there a way to disable the scrolling cache also on the pure CM13? the AOKP build is a little bit old and few other things - like the restart - are not working.
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] malaga82:
never had such lag.

BTW i saw this https://gist.github.com/rodero95/5565227/revisions i don't know if it works ( i do't think so )or need easy works( i think it will ), but i think it will NOT be included, since the rom is "stock" cm and not modded.

googling i saw that in the past it's used to edit build.prop and inserting the parameter persist.sys.scrollingcache with 0,1,2,3 but i don't know if it's valid as of now with cm13.

you could try before doing a backup ;)

which cm13 version did you use?
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] :
i have tried build.prop but the lag is still there. downloading aokp sources to build it and see what it does. i agree that there is lag, malaga82 try google launcher and swipe to google now and back, you'll see it. i'm not sure but maybe this the result of "opimizations" in kernel. since i started to play with kernel i've had always that feeling that the only thing that got better was battery life. i'll try old kernel again and see if it's better or worse regarding graphics performance, and i'm not talking about games :) i don't care about those

oh i fotgot, i gave up on oneplus one kernel. couldn't make it boot and it's impossible to debug something like that w/o serial console
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] malaga82:
I'm trying Google launcher now and I don't have lags...uhm

I'll make a video.

Tapatalk

---------- Post added at 09:03 PM ---------- Previous post was at 08:42 PM ----------

Check this out guys https://youtu.be/2dh21ku1Dgs

Tapatalk
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] :
the thing i'm talking about is there, i'd show you what i mean if we could meet :D it's that ghosting or how to name it on the right border of google now, few milimiters get transparent and "hopping" in front of window while scrolling to the right, i can't see anything like that on my samsung note 4
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] malaga82:
is it a graphic glitch?

because [MENTION=4841010]d_ave[/MENTION] said "lag"...and i can't see any lag...well sometimes a little lag, but i have underclocked cpu and gpu and it can happen, but normally is very usable.
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] d_ave:
malaga82 - nice video, i also do not see anything. it was way way worse with me - the thing that people call microlag was everywhere - moving pages, going to the drawer, scrolling etc - everywhere there were skipped frames and it was very very annoying. i'll charge one xperia zu that i have around and i'll try to make a video. it's way better now, but absolutely not like your video.

so this thing was present with each and every cm. it was not that much with an old release - i think the one from 30th or 29th of april. with the ones afterwards - especially with those with an updated kernel where there were more settings the situation was quite bad. i flashed the resurrection remix rom and it was the same. the candy six rom was not working - gplay services was FCing all around the phone.

right now i'm with the AOKP release which is quite old - aokp_kingdom_row_mm_unofficial_2016-03-30_1218 - but it's behaving very well.

i have to check the old G2 threads - one dev there was building a very strong kernel and was fighting to eliminate that nasty visual glitches. there was a setting in the kernel which was clearing some cache, or doing something like that every 6 or 12 hours and was eliminating that. there was also a proof of this visible in one app which was showing the read/write speed of the memory - the speed was significantly increased after cleaning. i will dig and let you know - this was more than 1 year ago and i have forgotten almost everything related to that. i have the feeling that almost all devices with 800/801 processor are suffering from such microlag - at least i have seen it on the G2, here, on the G3 etc.

another thing - i tried to eliminate the lag by tweaking the touch boost, the governor etc. i noticed that nothing is affecting it. one strange think is that such lag is not noticeable in games. i don't care about games since i don't play, but just to test i installed Asphalt 8, which i think (having in mind that it's a dynamic car game) is quite heavy and prone to lagging. guess what - it was fluid as butter! no glitches, no lagging - i cannot compare to other devices, but i was amazed of how well it was behaving on a devices with such an old CPU. so it's quite frustrating to have a heavy game working well, but to see lag in the overall UI. i'll continue to investigate and try different things. frantisheq - if you need someone to test and help somehow, let me know.

and really one last thing. AOKP has boosted my overall volume by quite much. the phone is so loud right now that i can almost use the normal speaker as a loudspeaker.
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] malaga82:
have you tried to trim the partitions?

https://play.google.com/store/apps/details?id=com.fifthelement.trimmer&hl=it
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] d_ave:
YES - this was helping the G2 and this is what i was talking about! as you see i have totally forgotten anything:) the G4 made me a lazy ass in terms of tweaking, so i forgot tons of useful things:) let me try this to see if there will be any improvement
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] :
scrolling gets much smoother with kernel from cm-13.0 branch

EDIT: antutu went from 49000 on cm-13.0-ra branch to 57728 on cm-13.0 branch :) f*** optimizations, nothing but pain

malaga82 if you'd like to continue with ra kernel you should watch acuicultor - https://github.com/acuicultor/Radioactive-kernel-HAM

last commit i merged was "Fix alucard hotplug" on May 10, 2016. i'm done with it
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] underr.t:
I'm on 0513 rom and scrolling flies. Haven't had any glitches in a while.
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] malaga82:
I'm on cm13 branch, not ra ?

Tapatalk
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] :
next update will be buttery smooth. please don't ask for OC,UC, voltage control and other stuff, i won't add it again
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] malaga82:
I will ? . Well, the patches a I use seems to have no side effects so far.

Tapatalk
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] geantsverts:
Hi, i am on 0510 and all is working fine for me. And at 12mpx hdr is working well ! Thanks a lot.

However in google camera I can't have 16/9 12mxp with wider angle, only 4/3. Did you think it's possible to have it like in snap ?

Best
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] d_ave:
Which camera app do you use? i use ported original Lenovo SnapIt 5.8 which gives a (so so) decent quality but none of the manual settings work - only auto
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] malaga82:
i use open camera
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] :
:D i'm really not good at this, after year i still can't believe i made it to boot animation

regarding stock camera app, i have found some code for it in source released by lenovo. i'll try to overlay framework source with it, if it's possible.

also i have removed kcal and implemented original screen driver into kernel which controls screen modes and effects and it works as it should. in the beginning i got rid of it because the screen was always yellow and didn't work even in stock rom as it should. if i can reuse screen color settings app for samsung devices i'll add it permanently.
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] remont5:
Hello

I flashed cm-13.0-20160507-NIGHTLY-kingdom_row

The system is sensational and stable !!!! Thank You!

but I have a question:

how to set the governor and the CPU frequency?

Is this somewhere in settings? Or I need to install an application to the set CPU?

Another question - will work on this ROM Xposed?

I want have a "net speed indicator" in statusbar - is there some other way?
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] d_ave:
for changing the governor you can use kernel aduitor - it works fine.

as for Xposed - yes, it works, but it has to be flashed through recovery.

Good job frantisheq, keep it up!:)
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] remont5:
Can you tell me which version of Xposed should I flash?
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] malaga82:
the one for marshmallow, and do a backup before just to be safe!
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] clone.x:
Look here: Xposed for Lollipop/Marshmallow

Use "xposed-v84-sdk23-arm" version...

c.x
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] ajdin.cekic:
In google camera when I go to video if i hold my phone horizontal video image shows it vertical? Has anyone this problem

Example:

https://mega.nz/#!TZ9TgQAY!xyXy_pD5arypMRzZ9Zt7S0u1fh_yLFG1J68G7bxuBDY

I'm holding phone vertical
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] apozaf:
any chance for a cn version (not row)? or can someone post the newest modem file for the cn model so the row version will work please?
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] m8r-u4wc08:
Was able to build TWRP with encryption support. Had to use the flag TW_ENABLE_CRYPTO and the files available here - github.com/TeamWin/android_device_oneplus_bacon/tree/cm-13.0/recovery/root. Now need to figure out how to get cyanogenmod to display the password prompt.

CN modem can be found here - 4pda.ru/forum/index.php?showtopic=600648
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] malaga82:
there is no need for a CN version, this rom will work with both ROW and CN version of the phone.

I have CN version.
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] malaga82:
For CN modems, i think this one is better: http://www.htcmania.com/showthread.php?t=1010427
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] remont5:
what is the changelog for cm-13.0-20160513-NIGHTLY-kingdom_row ? :)
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] Crazy_hatteR:
Build 0513 from frantisheq - excellent battery life
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] Kamila_angel:
Please change network type switching mode

Hello Dear ) Thak you for ROM. If it possible, Please change network type switching mode. Add WCDMA only, LTE Only. thank you
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] Crazy_hatteR:
*#*#4636#*#* then 1 menu - Info for phone, Preferred network
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] malaga82:
agree that.

ot: since you posted that you have a guide on how to unlock bands, can you post it?

I mean, CN version doesn't have 900 UMTS band, used to compensate 3G signal before the 4G era. I know for sure that someone has been able to modify the modem to implement that band, and i want to check if it's enabled in my modem.

I think 20 band LTE can't be enable instead.

p.s. btw daily build compiled LINK , it's yesterday night date since today there are no important updates.
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] malaga82:
About the second sim, can anyone who knows Russian better than my google translator, explain this: http://4pda.ru/forum/index.php?showtopic=600648&view=findpost&p=44557672

With Toggle Network Type 5.0 (root) is it possible to set the second sim in 3G mode?Am i reading fine?

I ever knew that the second sim can only works in 2G mode in our phone.
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] :
looks like he was able to get 3G working on sim2 but sim1 will work as 2g and it won't turn on 3G again on sim1 until you disable 3G on sim2
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] malaga82:
Well, this is amazing, as I know the second sim can only works in 2g and never in 3g.

Tapatalk
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] codymamak:
Guys I update to 13-5 versione (clean with full wipe of all partitions, CN phone) and now phone will reboot either when making call and also receiving one. I am using dual sim, but it was working before..Also, I put opengapps super pack as I use lots of gapps..but was using before..

Cannot understand, all is ok but phone function, I put also different dialer but same behaviour (reboot)..

Any advice? Meanwhile I will reflash clean (wipe system, data, cache, art/dalvik) and reinstall..
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] Drug_Store:
Hi Malaga,

Can´t download from your link... it´s too slow... around 20kb/s and suddently stops before finish.

Any other link?

Thank you

EDIT : Nevermind, finnaly got it ;)
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] d_ave:
Malaga, how's the "butter" with this build?
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] Kamila_angel:
"4G Swither"

Hi I am russian. thank you for link. 4G Swither this one is better than *#*#4636#*#*
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] malaga82:
never had the slow feeling ;)

remember that my build is a bit different from OP, i integrate some patches for voltage control using a kernel manager, and patches for better power efficiency.

i use to downclock gpu and cpu and still snappy as hell :)

---------- Post added at 10:30 PM ---------- Previous post was at 10:28 PM ----------

it can be more users are downloading. it's a vps so be patient...normally should go at 1.5MB/s ( bytes ).

---------- Post added at 10:35 PM ---------- Previous post was at 10:30 PM ----------

It will be useful if you can grab a last_kmsg, if available.

If you use mono-sim, does it works as intended?

Does it happen with both sims or with the first or the second? i mean, will it reboot if someone call you on a specific slot or does it reboot independently on which slot do you use ?

Which modem version do you use? Have you tried to flash another one?
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] remont5:
I have a problem with the touch, the lower part of the screen is not responding properly.

in many applications I have a problem with a push lower function keys of app.

that made it happen I have to turn the phone to landscape mode!

Do you have any ideas?

is the fault density settings?

I have a standard 480dpi
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] codymamak:
Hi Malaga, I tried both sim slots, same reboot. I tried a different dialer,same reboot. I tried with 1 sim, reboot.

I reflash all clean, still reboot.

Then I restored backup of older version (8.3.16) and..all is OK.

I suspect that issue is in opengapps pack, as the latest package has Google Dialer with its framework in it, older ones did not have it. As you know flash open gapps replaces stock things (ie. Stock camera --> Google Camera)..so might be issue with G Dialer, as EVERYTHING else worked 100% and better than older build (even mic for whatsapp or Skype)..and mobile data works ok..as soon I compose a number or try to open a contact to dial, it reboot.

Modem, I use same latest CN modem in both ROM versions ( CN7 )

I am very sorry but for now I need working phone, so I will pause experiments and will try again next weekend..

PS I confirm anyway that older build is slower and has some struttering when scrolling 2D drawings (pages, system, etc..) , newee builds are A LOT snappier.That's why I will keep trying to update ;)
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] malaga82:
Well, just flash a minimal gapps version and not the full one, its an easy fix.

I have an older gapps package if you want to try, I didn't know they put dialer inside stock...mmm,i used that package.

Did you install the ROM and then gapps without rebooting? Or did you reboot after each zip flash?

Tapatalk
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] remont5:
Hey,

I have still a screen issue.

the lower part of the screen (the bar of 1 cm) is not responding to touch.

for this is the problem with using multiple apps.

Do you have any ideas?

link to video of this issue below

https://www.youtube.com/watch?v=gvK1J0VqPaE
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] :
[MENTION=2288624]codymamak[/MENTION] http://opengapps.org/blog/post/2016/05/13/google-dialer-for-all/
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] codymamak:
[MENTION=4575700]frantisheq[/MENTION] so I was kind of right, it's G dialer issue..so I might solve removing that from package and install again..will update tonight , thanks a LOT!!
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] malaga82:
Anyway it seems that the dialer is not setted by default but you need to do this

https://youtu.be/BXg7k75sVc8

BTW you can just install a version without the dialer and download the rest of google apps from playstore.
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] Saamyo:
[MENTION=436155]malaga82[/MENTION] Your build server is not working :(

It doesn't even load after I click the link to download the ROM.

Edit: Oh nevermind. Got it downloading on my PC but it refuses to download via the CM Updater on my K920.
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] Pino13:
I can confirm, excellent battery life since nightly 0513,

Thanks Malaga, thanks frantisheq
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] malaga82:
Mmm, i always download "my" builds via OTA just to be sure that you guys will not have problems.

So it's strange it can't download trough CM Updater, maybe you have an old build that doesn't have the "new" link for OTA.

If you have installed today build, check in future days if it works then. Must works.

My server is in Canada so it can be a bit slow sometime for Asian or European people, but since it's a "free" server, well just be patient :p
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] m8r-u4wc08:
So far I have been unable to figure out how to get the encryption password prompt to display. [MENTION=4575700]frantisheq[/MENTION] and [MENTION=436155]malaga82[/MENTION], please have a look at attached logcat and see if you notice anything that could be causing the problem.

Edit: To check the problem, the phone can be encrypted without any pin, pattern or password set. Then it will encrypt with default password and boot fine. After that a new password can be set using the command:

vdc cryptfs changepw password default_password NEWPASSWORD

You will have to flash a boot.img with modified default.prop to be able to use adb since phone will stop booting with non default password. Once you are done testing (and are unable to fix the problem), you can set the default password again using the following commands:

vdc cryptfs checkpw CURRENTPASSWORD
vdc cryptfs changepw default CURRENTPASSWORD default_password

Then the phone will boot successfully again. The phone uses hardware encryption so performance impact isn't as much as software encryption, so you can continue using the phone encrypted with default password.
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] malaga82:
someone with vodafone as carrier can confirm there are no problems?

I have an user in an italian forum that says he can't connect to vodafone bts using builds after 0426.

It's strange but...i'm asking here to be sure.
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] :
just wanted to inform you guys that i have fixed USB OTG in TWRP.

haven't checked encryption yet because i'm working on MultiROM - http://xdaforums.com/showthread.php?t=2011403

got multirom TWRP fully working, multirom OS selector wasn't showing up but i got it fixed, primary ROM booting as expected, secondary roms just reboot for now
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] codymamak:
[MENTION=436155]malaga82[/MENTION]

I use Vodafone in Italy as second sim. As I told before atm I rolled back to older build, but when testing the 13-5 one I can confirm all was ok (but I was having reboot caused by G dialer since was not set-up correcly, so I cannot speak for phone calls..SMS and MMS was ok though). I cannot confirm 3-4G as I use another sim as primary with 4G internet on that one.
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] :
multirom is working, booted secondary rom from internal memory and from 64GB USB flash drive. but it's using primary rom's kernel for now, useless for stock primary + CM secondary
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] milan_svk:
i have problem with version 0502. i cant synchronisate contacts with my google account. any idea?

see Picture
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] :
i'd recommend reinstalling gapps but there is a chance it would cause endless FC after reboot which would result in a clean install :)
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] milan_svk:
gapps didnt help. I tried version 0517, all OK, than again 0502 and no google contacts
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] bburak55:
I had a same problem with contacts synchrozation (I used Open GAPPS - stock version). I solved it this way:

- download app: Google Contacts Sync 6.0-2280749 (search it by google, can't add external links, it should be first link if you copy whole name of app)

- allow contacts permissions for this app

- remove your Google acount

- restart your device

- add your Google acount

After that synchronization was working on my Z2 Pro.
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] m8r-u4wc08:
Problem with encryption password prompt has been solved thanks to [MENTION=5066258]rc420head[/MENTION] who pointed me to the following - https://github.com/CandyDevices/dev...mmit/d9e35b507305fe9a66fc96a051ee450a438ea329. In case of vibe z2 pro, only "qcamerasvr" needs to be modified since that is the only one present in "init.qcom.rc" on our devices. I would have never figured that out myself. :D
[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] :
uploading new build with fixed password prompt on encrypted devices, thanks to [MENTION=7458622]m8r-u4wc08[/MENTION].

also new TWRP with fixed USB OTG uploaded, link in first post. you can use it for backups on usb flash drives for example.

data decryption still not working in TWRP so internal memory and data is inaccessible in recovery if you encrypt your device thus you won't be able to install any zips from internal memory in TWRP, restore backups from internal memory, make new backups on it...