yashsingh1/xdaforums huggingface dataset:
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
There may be several reasons: first, your data partition could be wrongly formatted if you used an older version of TWRP. Wrongly formatted means there is no space reserved for cryptfooter on data partition. In this case, encryption will fail. If that's the case, you have to reformat data on latest TWRP. Second, encryption via Settings in Nougat is flaky. So, the preferred way is to do encryption via adb. First, install the rom, boot the device and set a short screen pin. Then connect the phone to your PC (have adb drivers installed if on Windows). Open terminal on computer and execute the following commands:

1. adb shell; 2. su. After entering su, you should get a prompt from supersu or magisk on the phone. Give root rights to adb. If everything went OK, your prompt on PC terminal should change to root. Then do the next CORRECTED command :

3. vdc cryptfs enablecrypto inplace password longbootpassword. Instead of longbootpassword, enter your desired boot password. If you use any special characters such as @#$, put the password in quotes. The phone should start encrypting. Once encryption is finished, the phone will reboot and you'll get a password prompt. Enter your boot password. If everything is fine, the phone will boot into your screen lock password. This way you will have one long password for boot and a short password for screen lock.

Keep in mind that you might have problems after upgrading: I have found that on Nougat every time you update the rom, the system doesn't want to accept your screenlock password (boot password is OK). In my case, I have to remove locksettings.db; locksettings.db-shm; and locksettings.db-wal in /data/system. A work around could be to save those files and reinstall them with TWRP after upgrade.

Also, keep in mind that Jaguar uses 256 bit encryption, which means that if you ever install another rom (all others have 128 bit), you will have to wipe everything and re-encrypt...
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] rflmnz:
Perfect rom, but please consider to upgrade to 7.1.2 and add more options on Quick settings, and add more notifications management as well.

Im not telling you what to do, but check the Resurrection rom, he made an exceptional job in these 2 items!

Thank you!
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] capoooro:
Hi optimum, first tnx for your efforts on this ROM, It's a really good daily driver. I would like to ask you what do you think about GPS question. That is discussed on zukfans.eu. tnx

Inviato dal mio Z2 Plus utilizzando Tapatalk
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] dan.man:
What about apps that need google services to work, there are many such apps which are necessary (Ola,Uber,etc.). I mean MicroG is a better alternative than no Google at all, right?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] fscussel:
Do you mean 6.0 ressurection or is there a 7.0?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] buldzip:
Really [MENTION=5075064]optimumpro[/MENTION] is right.

https://www.xda-developers.com/google-threatening-removal-accessibility-services-play-store/
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] aliqadir37:
antutu gives better score than this for my phone. between 147k to 150k every time. try tweeking some setting if you want more.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Why don't you remove the charger first or use power button for 5-7 seconds. Then you won't have anything inverted.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] bhanupratap:
I know that's not a major bug, just stating the bug I encountered.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Not a bug. When charger is connected, image is inverted to have proper orientation. So, the right procedure is to either disconnect or use power button.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] grand2SD:
cant remove this notification by android system

USB supplying power to attached device

Though it disappears if i charge the phone and disconnect charger but appear again when i reboot device and again have to connect charger
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Are you able to make a video call?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] grand2SD:
Sorry but can u please help me

Rom is great but i get that usb notification and cant remove it without charging phone
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
It may happen the first time only. After that no more usb notificarions. That's how it is on my phone. But you haven't answered my question on video calls.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] grand2SD:
Thanks that notification is gone after 3 reboots

And video calling isnt working i mean call goes , rings but when other receives it then it makes some weird beep sound and call disconnects after that

Anyway sorry if annoying you but charging is damn slow at 64% it says charging slowly 2 hrs more to full charge

( M coming from stock rom )
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Charging current is halved, while screen is on. That's a feature to prevent overheating. Don't use the phone while on charger and you will get from 5% 100 in 1h 35 minutes on stock charger.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] RJRFiv03:
What settings did you change?

Note: I still have stock Kernel
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] pawanjenu:
Can any1 please help me out !!!

I have battery drain issue.....

When I sleep and get up....

The battery will b drained from 10-15% an I get up in d morning !!!!

Even if the phone is ideal ...just for 5-6hrs ...

10% is drained !!

Pls help....

Thanx in regards !!
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] ayushrockzzz:
+1
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] the.D:
https://xdaforums.com/showthread.php?t=1179809
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
[MENTION=8021579]the.D[/MENTION]

Thanks for your continuing donations... :highfive:
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] B1ACkH3AR7:
Hehe nope , I thought you guys know the issue so I modified my post :silly:

My 4g signal is unstable , should I do the aggregation trick?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] nisant:
Cannot set fingerprint while the hardware button is set at tap to back... It worked for the first time then kept going back and finally caused the settings menu to stop working.... I restarted my phone many times but this was consistent

If someone else is facing this issue enable navigation buttons at least for a while in order to set your fingerprint
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] tony.venom007:
How about u all first identify which app is draining ur battery...

try apps that monitor it...

"betterbatterystats"
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Coomedian:
Sorry, bro, but my gps does not fix,

I already waited more than 10m and nothing... how can I fix this?

:D
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] DanteDeSalvator:
Long screenshot on the next update! Please! ?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] benplay64:
Sorry bro but for me GPS fixes in 3seconds. It is probably from your side because nobody here complained about it
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Ajudia:
my crome get fc after installing r17, any solutions?

i do not use gapps, had crome in previous r16plus

now flashed dirty r17, than magisk,

even new update crome do not work in r17
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Uivalf39:
I've been meaning to post a reply here for a while, to thank [MENTION=5075064]optimumpro[/MENTION] for the great job they've been doing with Jaguar.

I first installed Jaguar mid-April and I loved it! I installed the then-current R8 on 24th of May and stuck with it until last week! (I know I should have kept it updated, but I was happy with it as it was)

The best feature is Afwall, it's awesome! Though it's also the only complaint I have, Afwall left me without network access on a trip to the Middle East. I did manage to figure it out and deleted crashdod.sh (without internet! I remembered reading a discussion here at some point) and removed Afwall and it started working again.

Anyway, I'm now up to date running R17, and I'll keep my phone updated now, especially now that we can dirty flash!

Though there's one thing I miss, the setup wizard when doing a clean flash. I know that optimumpro disapproves of Google, but I still want to use its services so I forced it through.

If anyone else is missing this, it can be launched as an activity located at com.google.android.setupwizard/.SetupWizardTestActivity

A post in this thread pointed me in the right direction but they suggested using a pretty dodgy-looking app to do what can already be done in shell.

So after going through all the install process (clean flash R11.1, dirty latest version & gapps, Magisk), load a root shell through adb and launch the above activity, the following commands work:

adb shell
su am start -n com.google.android.setupwizard/.SetupWizardTestActivity

Since R15, there is a local Terminal available natively (how cool is that!?), though I wasn't aware of this previous to updating (I should read the release notes, I know...). Anyone correct me if I'm wrong, but you should be able to use just the second command directly from the Terminal app and be done with it.

Note: you need to have Magisk installed for root access. (Or if you must, SuperSU, but I gave up on it long ago because it's not open source and I had way too many issues passing SafetyNet - what is life without Snapchat, eh?! ;) )

That's about it! Whatever device [MENTION=5075064]optimumpro[/MENTION] moves on to next, that will be at the top of my list for phones to buy. Cheers!
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] aliqadir37:
This r17 rom is amazing truly one of the best versions of this rom. the network switching is almost gone, and the battery life is amazing truly over 6 hours on sot on normal usage with lte on all the time. i am loving it. i just have one issue that i know is relative to my phone only and this is from r16 that i am not able to make phone call on lte network on my vodafone. but i use it for data so no issue. i m sure a clean install will fix this but still awesome rom this is truly amazing. hats off to the developer.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] B1ACkH3AR7:
Turn off Disable hardware overlay on boot.

Hey [MENTION=5075064]optimumpro[/MENTION] , Please help me enable hw overlays on boot. Thank You !

Also setting window and transition animation to off removes the flicker , saves battery and then there is no need to turn on Disable HW overlay setting.

PS : more testing is required

Edit : Thanks man you are awesome though :D ! Love your work !

Edit2: just turning off transition animations also do the trick with Hardware overlay enabled.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] pawanjenu:
How is the battery ???

I mean if keep the mob ideal through out the night and cheak in the morning , how much battery drop is there ??
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Flaviu. Thanks for you donation. :good:
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] daniloazevedo:
Hi,

I'm facing a issue with WebView in the lastest r17 version. Whenever I try to open a link inside an app (facebook, twitter, etc), phone freezes and restarts after a while. Flashed ROM according to the instructions (clean flashed r11, then dirty flashed r17, then flashed gApps). Is anyone experiencing the same?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Some people like to have transition animation. So, that's why hardware overlays are disabled. For some reason, Slimrom has flickering, if this feature is enabled. Also, enabling it on a running rom, won't produce flickering, but if default is on, it does...
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] B1ACkH3AR7:
Also , enabling hw overlay is breaking 1080p video playback on YouTube .

Though after disabling overlays system uses a lot of processor for collision detection of windows.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Don't grant accessibility permission to any app. Read post #3.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
I did make some changes to address video calls. So, if the call goes through and disconnects later, when the other party picks up, that's a progress. Why don't you run a logcat, while making a video call, and post it here, as I don't have video calling in my service.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] B1ACkH3AR7:
ok, here it is . Hope it helps :) . :myfirsteverlogcat:

ps:file was too large for a txt !
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] toussaintjames:
................................
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] deeptol:
is there a way to turn off screen when on call automatically?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
All right. I have a pretty good idea what's going on. This could be fixable (fingers crossed)....
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] aliqadir37:
overnight its about 0 to 1 percent. the battery life is amazing. over 6 hours sot minimum.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] B1ACkH3AR7:
Graphics library

I think the flickering and 1080 playback error when hw overlay is off maybe the outcome of some error in graphics libs...
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Ajudia:
thanks this worked for crome fc
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Ayush Kumar Tarun:
[MENTION=5075064]optimumpro[/MENTION]

Thanks for the rom I was unnecessarily worrying , I didn't face any overheating and network instability.

Everything is excellent. Came from zui seems now the phone is flying...

Just curious is it possible to overclock the GPU like u overclocked the cpu?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] The.Night.King:
I think he didn't oc 2.3 is max for unlocked 820. BTW no need to oc GPU bro, everything works fluid already. BTW guys can anyone tell me how to turn off HEADS UP NOTIFICATION. Nowadays I get a lot of messages & its super irritating.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] sheikh55:
heating issue and battery is draining quickly on the latest build hardly getting 3.5 hours of sot without playing any game and no volte...

any help?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] The.Night.King:
Follow flashing instructions.

---------- Post added at 03:24 PM ---------- Previous post was at 03:21 PM ----------

@optimumpro can you provide me some assistance on undervolting please? Should I do it to only vcur? And how much steps should I try each time, 10mV? And how to avoid random reboots? Should I do it for all frequencies?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] sheikh55:
followed everything that is stated. but i did not format the internal storage..
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] nisant:
Install nougat quick settings app from playstore....
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Mdroid2xplore:
Device Uncertified

Under Google Play Store settings - Device Certification, it says Device Uncertified, because of which I'm unable to install banking apps.

I did a clean flash, didn't install magisk, even tried latest Gapps (pico n aroma). Tried clean flashing twice and gave up. The Certification status is still Uncertified.

Any help.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Pulsar.uy:
The one thing you didn´t intall is the one that can pass the safetynet... :eek:
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Without Magisk and 'hide root' enabled, you will never pass safety net on any custom rom.

You may undervolt 3 highest frequencies (all fields) by -10mv. Watch out that the change corresponds to the numbers entered. Reboot is an indication of too much u/v.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] The.Night.King:
Should I do it to only big or LITTLE also?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Both.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] The.Night.King:
Bad news dev, only reduced 2303 fq by -10mV. Everything was OK, then I had to reboot for some reason. I had it applied on boot in k.a. I was gone for some time while device booted, when I returned, it was rebooting. Does this mean default values are OK for me?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] tony.venom007:
++++++++1

:silly:
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Exactly. 820 processors have scaling voltage. So, most of the time, manual adjustment is not needed.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
I'd rather have video calling fixed and camera hal3 implemented. :)
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] PrincE..:
thanks for fixing video calling.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Not yet...
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] buldzip:
How do you get that bag? I can not even 3 hours. Which version of OpenGapps have you installed? The strange thing is that in AEX I could get more than 5 hours with the same applications and configurations that I installed now.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Eltorito94:
me too.. it's very strange..
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] :
Wrong. Just two kernel commits are required to pass it.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] JanLezterGrate:
How to Fix?

I'm facing Google play services (it always Stop when I'm going to Sign in on Google Account ) I already Reflash this rom many times I just download Gapps micro and nano but still I cant sign in how to fix this problem? Thank.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] The.Night.King:
Remove accessibility permission if you've given it to any apps.

You don't need to flash repeatedly, just flash once in accordance to flashing instructions. Read them very carefully. Go to first page and read all posts by dev thoroughly. I'm using pico gapps, everything is fine.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] MtBlackstar:
Flash gaaps along with the ROM

Then if the problem still persists try to clear the app data .

And check if the accessibility is given to any app.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Mdroid2xplore:
In the op long back I had seen Dev mentioning Safety net fixed through kernel.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] JanLezterGrate:
Thanks problem solved I just need to Disable accessibility just to access google accounts
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] pawanjenu:
yeah!!!!! how are you getting such good battery???????

i hv battery drain issue,, when i wake up in morning the battery wud b drained around 8-10%

???

---------- Post added at 03:38 PM ---------- Previous post was at 03:36 PM ----------

how are you geting such battery life???? for me over night battery drain is 8-10%!!!!!

pls help me
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] B1ACkH3AR7:
Idk but in kernel if you apply all tweaks described by OP and underclock to 2.15 ghz + disable input boost in all cores , you could get good battery .

Please try it !

Edit : I rock these settings , pretty satisfied with phone .

You MAY experience lil lag
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] buldzip:
What are the adjustments described by the OP? And how are your adjustments to the Kernel Adiutor? How much of sot are you doing? Thank you

OBS: As I mentioned before, the same settings and the same applications that I have now in Jaguar I had in AEX and got more sot (I left home at 6am and arrived at 7pm with 40% battery). So far, AEX, along with ViperOS, are the best, did not have to configure anything in the kernel, rom as it already came, was already excellent.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] tony.venom007:
++++++++++++++1 :silly::silly:
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] the.D:
The thanks button is there for a reason...
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] B1ACkH3AR7:
See the first post where he describes the features , like intellithermals , and others enable them.

i got 3h 20 mins and around 50 % battery by the day's end .

I am a student , so most of the time i am on wifi (4g disabled )or 4g only ( bad signals here).

usage involves whatsapp for sharing notes , browser for fb and misc websites also a lot of spotify on loudspeaker.

Not a heavy user though.

Underclock and disable input boost is what i have done myself.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] buldzip:
I edited my last post. But, as I said in AEX, I got more without touching anything in the kernel. And it does not make sense to say that it is some application or configuration if not in AEX the drain would be the same.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] B1ACkH3AR7:
Yea , but this rom is in active development any as you can see in some days it may reach to the highest level of perfection. Other roms that you mentioned are discontinued at this point of time. So active support is awesome and important from developer and audience . imho :o :o

---------- Post added at 11:12 PM ---------- Previous post was at 11:08 PM ----------

Sir, imho this rom and its kernel was bent towards peak performance, so battery tradeoff's are normal. I don't know about other roms. And kernel auditor is not any app it controls the kernel settings.

p.s : If i am wrong then corrections are welcomed , No offence towards anyone.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] buldzip:
I'm not demering the work of the dev, really Jaguar is a great rom, it's always up to date this is great. The development of AEX is in alpha more I believe that when arriving in beta or stable will be excellent also and the battery as always optimum.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] aliqadir37:
i have gapps pico version installed. i think its because of greenify as most of the apps are always forces closed as soon as the screen goes off. plus the phone is always at about 40 percent brightness. on purely wifi i get about 6.30 to 7 hr sot. with 50 percent on lte i get 6 hours sot.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
I think by now, everyone is familiar with your problems here, which you have stated and restated many times. . So, the question is: why are you not on AEX or Viper? Especially that you don't want to bother to adjust kernel settings to your liking. You didn't even like the fact that you had to flash r11 first.

Out of the box, Jaguar is set for performance and there it shines (I am not even talking about security). You want to make it more like AEX or Viper? You got some job to do. But if you don't want to, then no one can help you. You have 3 hours SOT? I have 9 and so are a few others. So, there is no point to incessantly complain...
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] buldzip:
I admire your work as I mentioned. The opengapps that more here use should be peaks, nano, then sot is high. When AEX Oreo stays stable I'm going to test it, I did not install because it's still alpha And actually I talked about the issue of having to blink first r11. I am a man and I admit my attitudes. But like I said before Jaguar is a great rom, I'm not disarming your job. :Boa:
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] :
It is fixed through kernel.