yashsingh1/xdaforums huggingface dataset:
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Priyanshu02:
I don't if it's only me. Actually I'm noticing sudden fluctuations in my screen. Many times my screen brightness up downs. But I feels that that this is not assossicated with device brightness. Also I always disabled Auto brightness.

This happens mostly while I am on a phone call, I can't describe that properly but it just like screen brightness is suddenly changing with may be 0.02 sec gap. Its just comes and goes like DC's Flash.

Also my device temperature you can see in pic, goes to 80 degree after auto reboot. It happened four times to me, in which 3 times I was on the peak of game. Phone don't even game me a message to shut down like your device will shutdown in 5 sec. So I would give up my weaponry to my squad.

I am having BFR installed what I should do. I flashed this rom on 23rd November, nothing like this happened in my 1 month experience with this rom.

Have checked everything ,have not updated or installed any new app except Accubattery to see my battery health. Have uninstall it too. Please tell me something satisfying dev to do.

I do not want to run away from this Viper as I had run from Viper nought due to Volte issue.

Should I change my rom to check wheather it's software fault or my hardware
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] yash_karande:
That reboot thingy is actually kernel panic. It happens when phone reaches a specific temp for safety measures.

Clean flash the rom once. And don't flash bfr. The brightness problem is due to bfr ig.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Priyanshu02:
Thanks Dev for your reply. I also thought BFR to be the problem. The original rom kernal is pretty good.just flashed the Boot.img file from the viperos zip file and every thing is fine now.

BFR don't suits this room, I don't know why some guys are talking about the Viperos with BFR combination.

The only problem with Heliox kernal is heating.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] gt20:
i been using underclocked bfr since i flashed this rom and it is quite impressive, I play a game named mobile legends and I m getting best sot with bfr without any fps drops.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Priyanshu02:
I would have said that too if I am having the same model you have. Maybe your device is good with BFR. But mine don't works. With BFR flashed, my screen works automatically while plugged in. I can not even write a message via keyboard while charging. Like I type 'a' other letters get automatically clicked. Also my Screen shows black lines many time. I was having sudden shutdowns while playing PUBG even on lowest settings. In beginning BFR worked well with heating. But now it became the main cause for heating.

I am quite happy without BFR. I am not saying BFR to he bad,maybe it's just my phone which doesn't works with BFR. Yesterday, night 10 o'clock my phone heated to 89 degrees while playing PUBG at High, HD with anti-alising(spelling may be wrong).

It made me worry about my device health. I cannot afford to buy a new phone. I can go with less features. It's been a year I am using this device. I buyed it because it was priced at Rs.12,000, there were many new options at this range but none was having sd820. Almost all were stuck at sd 625 or 636. Sorry to say but BFR don't works for me.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vinay069:
Plz add lockscreen quicksettings disable option in next build because for now anyone can use quicksettings toggles even when phone is locked and it's very insecure ......
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] kunal sasane:
89°c of battery or CPU?..sorry to ask this noon question...I have hit battery temp 55°c in other roms....and I am playing pubg from many days but now it's lagging like hell...don't know why....

I have observed that in starting pubg runs smoothly for 1-2 week but after that it struggle a lot..(maybe due to apps installed)..I hit temp 50°c even on low setting....so it's of no use though....I am gonna flash bfr kernel to see how is it....or I will be back to vipers kernel
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Priyanshu02:
Buddy 89° temperature was of CPU. Just like yours mine PUBG too worked perfectly. For around a month. I have even flashed BFR, it's true that BFR reduces heat up to sone extent, but again after a couple of days The temperature started getting more than average high. I had taken a screenshot of that but as I clean flashed MIUI 10 Nought, I formatted everything.

In Kernal Auditor I check the temperature.

My battery temp was around 58-59, Gpu temp was around 64 and Cpu you know already 89°. This temperature was noticed after a restart.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] yash_karande:
:P
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] mouadh97:
we wait for it
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vinay069:
Wow..... :laugh:
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] sanjay.2704:
And I thought today I would stop flashing ROMs..
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] gt20:
Treble??
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] nicky69100:
being 4.4 kernel it would be surprising not to be treble.

. I hope a 3.18 kernel version of 8.1 or 9 will be maintained.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] mGforCe:
:good::good: look forward to same. But hope we will have 1-2 more Oreoo builds with small bugs & issues sorted out :)
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] ymsh222:
Is new rom is as battery efficient as current version?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] 1qazwsx4:
Was just looking at changing roms, I'll wait for the latest update now :good:
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] sachinkjohn1:
Please include u touch customisation in the pie update. :fingers-crossed:
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vladcreciun:
Hi, is it possible to set the height of the navigation bar?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vinay069:
Change display size
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vladcreciun:
What do you mean? I need to have a higher navigation bar because the touch in the lower part of my dispaly doesn't work :D

And i just wanted to know if is it possible to do with this ROM
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vinay069:
Change display size to large ,it will automatically make nav bar higher
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vinay069:
Hey there can anyone plz share the gps.conf file from this ROM from system/etc ..... Its very urgent plz:confused:
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] mGforCe:
Hello Users, today my Zuk Z2 on Viper Oreo post restart got stuck on boot logo. After being on Viper logo for some minutes phone reboots and go in into recovery.

Dunno what happened suddenly, I don't remember changing any settings earlier and so surprised!!

So far tried following in vain:

1) Reflash ROM and tried booting (with Magisk automatically getting installed)

2) Reflashed ROM, Gapps (with Magisk automatically getting installed)

3) Uninstalled Magisk & Reflashed ROM, Gapps

Any idea what may be the issue?

The ROM was perfectly working so far, but only notification sound was not coming and so thought of restart once and this happened :(
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] sanjay.2704:
Are u using stock kernel?? Did u try force reboot?

May be kernel panics?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] mGforCe:
I was on the Carbon OC underclocked one. Forced reboot as in ?

As mentioned, flashed stock rom couple of times with various iterations, but nothing happened. Phone booted, stayed at Viper logo and then rebooted to recovery. Kernel would have been flashed to stock na with these many install.

Further I tried below:

Wiped system only, flashed ROM and then booted system - same, no booting & stuck at Viper logo and then rebooting to recovery.

Wiped data folder too, flashed ROM and then booted system - Finally was greeted with setup menu.

But all data gone :crying::crying:

Had taken TWRP back up, will try restoring and checking if it works now or not.

Seems some issue with data folder only but not sure what!
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] hari1jack:
Sometime while playing pubg

Mobile screen is blinking and suddenly mobile turned off ( notification lights on )

.....

Is the any problem

I'm using bfr kernel
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] STARK0711:
Yes use stock kernel
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] thehumanx:
please post custom kernel issue in its own thread.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] mGforCe:
[MENTION=7067759]yash_karande[/MENTION] / [MENTION=8728157]UzE ™[/MENTION] / [MENTION=5551474]sanjay.2704[/MENTION] / others : any idea where are user settings of appops app stored in ViperOS.

Guess that is culprit for me and I want to reset just for that app. Any leads will be appreciated. Thanks.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] mGforCe:
Solve Bootloop due to Privacy Guard / Appops Tweaks

[MENTION=7067759]yash_karande[/MENTION] / [MENTION=8728157]UzE ™[/MENTION] / [MENTION=5551474]sanjay.2704[/MENTION] / others : any idea where are user settings of appops (Privacy Guard) app stored in ViperOS.

Guess that is culprit for me and I want to reset / delete userdata just for that system app. Any leads will be appreciated. Thanks.

EDIT: Resolved, thanks to useful answers at this link shared by [MENTION=4828250]Ibuprophen[/MENTION] in his replyhere. Learnt that there is xml by name appops.xml in data/system. I pulled the file, edited it and pushed it back
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] sanjay.2704:
I don't really remember if viper had app ops or not .. but you could check in security or individual apps in app manager settings.. .. do check your other thread for ROM review update.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] mGforCe:
Thanks Sanjay for swift revert.

ViperOS indeed has appops (Privacy Guard), it comes under Secruity / Privacy and under trust. I tweaked today something for Google Play Store and post that restarted and again got into bootloop; my system stuck at boot again :crying::crying:,

Hence wanted to check what is folder / path for user settings of appops (inbuild one). I will just delete that folder through adb and getting going.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] sanjay.2704:
That I don't know but try reflash dirty or factory rest
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] mGforCe:
Got it resolved, finally!! :o Was a simple solution but took few hours to find it :cowboy::cowboy:
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] enter.hk:
Any ETA...

January update..
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] yash_karande:
Will be out by tomorrow or day after tomorrow.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] yash_karande:
Monthly Update is here!!

ViperOS v5.2

Build date: 19/01/2019

Download link.

Changelogs:

1] Jan 2019 security patch.

2] Added toggle for 4G/LTE.

Don't forget to flash gapps.

Download link on post#1 is updated.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] drgsbt:
Reviews about newly updated version please..
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] dknsb:
Deleted:svetius:
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] mGforCe:
I have installed it (dirty flashed), working well, no issues per say.

The changes were mostly security updates and so it continues to be the same good ROM :)

I hope [MENTION=7067759]yash_karande[/MENTION] will have time to work on further builds with requested features
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] drgsbt:
Can I dirty flash over Nov build?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] enter.hk:
Yes..

I dirty flash over DEC build..
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] SilenT__ShadoW:
I'm getting "Google services frameworks keeps stoping" popup and I can't use my phone because of that!
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] yash_karande:
Dirty flash gapps.

Or just clean flash rom and gapps if that doesn't work.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] SilenT__ShadoW:
i don't know what you mean by dirty flash or clean flash!

But at first i flashed rom, wipe dalvik cache, booted my device, reboot to recovery, flash pico gapps, wipe dalvik cache then reboot to system.

thought flashing gapps separately made this error pop up!

so second time i flashed rom, flashed pico gapps, wipe dalvik cache and reboot to system. Even with this method i'm getting same popup!:eek:
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] yash_karande:
That is causing the force close. Wipe the data, system, cache and dalvik now. Flash rom and gapps at once. Then reboot.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] SilenT__ShadoW:
Got it. Not wiping dalvik cache after flashing worked for me.

By the way, i did wiped system, cache, dalvik, data before flashing!

Where can i find the option to enable on screen nav buttons?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vinay069:
The sot I'm getting on this rom is insane... Even with heavy gaming and heavy usage ... See:D that is why oreo is still best
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] sidS6:
I am getting even better on miui10 ? 4 hr SOT 2 hrs of pubg gameplay on smooth and ultra
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Anurag151143526:
Lol

I m zui user :D
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] nicky69100:
I was on Dec viper too, but I and now I have a bit better SOT with January carbon rom by Yash karande. Is lockscreen torch working or present on last viper? feature seems broken on carbon rom and is important to me .
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] bensgomez:
How does pubg perform in this rom..?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vinay069:
I also like carbon more but its very unsecure ... No security on lockscreen thats why i prefer viper

---------- Post added at 05:47 AM ---------- Previous post was at 05:46 AM ----------

Pubg performance is also insane .... Hd graphics on 60 fps .... No lags whatsoever

---------- Post added at 05:48 AM ---------- Previous post was at 05:47 AM ----------

But keep in mind i flashed bfr v3 underclocked over it thats why im getting this amazing performance .... I dont know about stock kernel because i never tried it
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] mGforCe:
Hi Vinay, have you tried the carbon's UC kernel which [MENTION=7067759]yash_karande[/MENTION] had shared in Caron Ore thread? In the previous posts on this thread that was the recommended one for better battery life versus bfr and so confused.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vinay069:
Yes bro i also tried it .... It us also very good kernel .... Its has a great battery backup too but i prefer bfr more.... You shoul try for yourself both are good
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] mGforCe:
Quick one.. BFR v3 or BFR v3.6 ?

BFR_v3: https://www.androidfilehost.com/?fid=962187416754473840

BFR_v3_Underclocked: https://www.androidfilehost.com/?fid=818070582850507472

Got BFR v3 above from here but seems like old builds.

BFR v3.6 (got from one post) with download link
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vinay069:
V3 underclocked
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] arun356y:
Volte doesn't work for me in this rom, The network strength is good but I'm unable to call jio numbers, calling to other numbers work fine, sim works fine in other phones, any fix for this?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vinay069:
Bro volte works perfectly if its not working for you then here is a trick to solve it

First flash stock rom and make sure that volte is working in it then reboot to recovery and make backup of only efs folder and now flash viper and restore the efs from twrp backup and it will surely fix volte issue .... It will always work with any rom in which you are facing volte issue
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] mGforCe:
If you are unable to call only Jio numbers then the issue is something else and not VOLTE :confused:
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] arun356y:
Bro I'm only unable to call jio numbers.

---------- Post added at 02:19 PM ---------- Previous post was at 02:18 PM ----------

I tried with two jio sims, same problem on both, both the sims work fine on other phones.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] hari1jack:
Google Play Store keeps stopping

I don't know how to fix this

I'm tried man ways clearing data and caches and removing account.

Pls tell me how to fix this
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] yash_karande:
Clean flash once.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Powerhitter:
Hi bro, Steps for flashing the kernel pls - should I clear dalvik and cache before and after flashing kernel?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vinay069:
Simply flash after flashing ROM ,clear cache and reboot
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] nicky69100:
You made me curious and I went back on viper 8.1 after 2 weeks on carbon rom. got 4h30 sot with bfr 3on 1st cycle, but compared to carbon rom seems a bit less responsive to touch ( whether on stock or bfr) . It is great having app ops, but and that much customization option BTW. Also embedded messaging app seems buggy and refuses sometimes to send messages, it was solved installing textra. I went back on stock kernel for further testing so I can give a more detailed feedback on stock rom (and also cuz bfr kernel are getting old, a pity cuz I li'e having underclocked versions which avoid me to root system). @ yash, out of curiosity, did you make any relevant additions/tweaks to kernel in last viper oreo versions, or using old bfr is still fine? could you by chance provide an updated UC version of kernel for carbon/viper oreo of it is not to much time demanding? I love your 2 roms which I can use with my outdated bootloader, thanks for keeping maintaining oreo roms!

Ps: my bad I've just found UC kernel you posted a few weeks ago on carbon thread
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] prakashitbhav:
flash different date's gapps.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] FlorianSSJ:
Ho everyone, right now i’ on AEX 6.2 with vendor patch, how can i flash this rom? I tried to flash it “as usual” but I doesn’t boot
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] mellowmaniak:
What steps exactly u did?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] FlorianSSJ:
Flashed ZUI 4.0 with QFIL, unlocked BL, flashed TWRP Official via fastboot command, flashed factory2vendor, reboot to TWRP again and flashedrom + gapps. After that i used AEX forma some time, bit decided to try this ROM, boot to recovery, wipe /data, /cache, /ART and /system, flashed this ROM + GApps 8.1 but it stays on bootimage forever
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] yash_karande:
How much time did you wait?

And there's no need to flash fac2vendor zip. Rom is nontreble. Anyways let it be now. That should affect anything.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] FlorianSSJ:
I flashed it for AEX earlier, not for Viper
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Vaibhav_08:
Selinux Status

Just installed the latest build today and while setting up the device, I got a security popup showing that Selinux status is not enforcing and then I checked and found that It is showing as permissive instead of enforcing. Though, That popup didn't occurs in the first 3 4 boots but it is appearing after some boots and now on every boot. I m a noob so please tell me Does it pose any danger and how to revert back it to enforcing?

I flashed it through twrp recovery, the treble one and was using treble rom so before flashing this rom, i flashed vendor2factory.zip. Now i can't mount the vendor portion in recovery. Could that be a problem?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vinay069:
I think you're flashing some additional file in your device and i never faced this issue .... try reflashing the rom or simply root device and change selinux to enforcing with selinux switch app ... Well permissive also works fine but enforcing is more secure
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Vaibhav_08:
I checked the screenshots shared by OP and Selinux is also enforcing there. That's why i asked.

So I just have to ignore that security popup Everytime my device boots up ryt and It won't cause any problem?

---------- Post added at 11:45 AM ---------- Previous post was at 11:43 AM ----------

Yeah, i flashed some magisk modules......Should I continue with permissive?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Nordicus:
Open "Android Trust" (tap on popup), scroll down and turn off two toggle.

It's not a problem, just notifications.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Vaibhav_08:
It won't cause any problem If i continue with permissive?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vinay069:
I don't think so.... You can force revert to enforcing but i can cause failure of the additional modules you're using.... I think you're using Dolby .... If yes then i suggest you to use viperfx
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Vaibhav_08:
Yes, u were ryt....it was dolby....i reinstalled the ROM along with dolby....again got Selinux to permissive...thn read ur msg and removed dolby and Selinux was back to enforcing....it was dolby

I never used ViperFx....please share the link and settings
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vinay069:
Just search on magisk modules you'll find
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Vaibhav_08:
Some recommended settings?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vinay069:
Try for yourself
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Vaibhav_08:
Sure bro
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Vaibhav_08:
One more help please.....Youtube is not opening any video even not opening the first page.....It only shows loading and not doing anything....It is working fine on other Roms.....any solution please?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vinay069:
Have you flashed gapps? If no then flash gapps too... Check if play services installed and working properly and if everything is fine the just clear data of YouTube app and start again... It will work
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Vaibhav_08:
bro I m not that noob....I have already installed Gapps and tried that clearing data method also but that didn't help me......one more thing I m using the youtube from Magisk Repo and tried normal Youtube also. Any solution please?

One more problem I noticed is notification light is not being turned on while charging though I have turned that on. Any suggestion?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vinay069:
I want to make it clear that there is no

YouTube bug in this rom and for me YouTube works perfectly .... You may again have used any module which messed with YouTube .... I want you to check play services again otherwise clean flash rom again and don't flash unnecessary modules and battery light doesn't works its a bug
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] greatcoder:
I was using YouTube on this ROM without any issues. May be the gapps you installed have an issue. Now I have moved to a pie based ROM.