yashsingh1/xdaforums huggingface dataset:
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] kilroystyx:
If you need more info related to the size of the partitions check this Thread

With this TWRP
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] KingOfMezi:
[MENTION=4323130]kilroystyx[/MENTION]

Bro tries this

this serves to return from a custom rom or roms gis to stock emui 8.0.0

is the firmware that can be flashed using the recovery twrp

Huawei P20 Lite-ANE-LX1 8.0.0.144 (C432) https://drive.google.com/open?id=1ke7D7yJnl6Za8qrEcRMpnlxsN1tNKOnQ

use this recovery twrp for p20 lite https://xdaforums.com/huawei-p20-lite/development/recovery-testing-t3783587

INSTALLATION:

We Copy The Firmware To The SD Card

We Turn Off The Phone,And Enter Recovery Twrp

Go Wipe

We mark

-Davilk /Art Cache,Cache,Data,Internal Storage,System

-Only Mark What I Mention

-And We Make The Wipes, Already Finished, We Back Everything.

-Flash The Firmware (Delay Around 4 to 5 Minutes)

-When Finish, We Give In Reboot System...

-End ;)

Any question

send me a message on telegram

https://t.me/joinchat/HH00UkNvNQYbZDjlDcrhHw
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] diabloassassin:
hello, this room have kernel mod? can overclock gpu and cpu? can this kernel run gameguardian? because all roms i test gameguardian not write value just rea. thanks
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] kilroystyx:
As soon as I get home I'm going to test your ROM :)
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Atif Munir:
this is custom rom or stock? i have ANE-X2 can i flash it?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Letzen:
You should not open placeholder topics.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] KingOfMezi:
Okay friend :good:

Any question

send me a message on telegram

is stock emui 8.0.0,

works to return a custom rom to stock emui 8.0.0

is based on the firmware ANE-LX1C432B144

it can flash from any recovery twrp
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] kilroystyx:
Don't work on mine, and unfortunately brick the device, I recommend to remove the link.

- I followed all the steps

- Installation with success without any error reported.

- One bootloop

- Then restarted in the eRecovery

- I boot into TWRP but it was replaced by stock recovery

- I boot into fastboot mode and fllash TWRP with success as you can see bellow:

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery_ramdisk twrp_p20_lite_0.1.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (24952 KB)...
OKAY [ 0.859s]
writing 'recovery_ramdisk'...
OKAY [ 0.125s]
finished. total time: 0.984s

- But every time that I boot into TWRP, it was replaced by stock recovery.

- After many attempts without success I decided follow the suggestion from xda member x4ever_2, update firmware via eRecovery and it worked.

In my opinion the reason for all this was the FRP, from which device come the FRP?

[MENTION=8390230]KingOfMezi[/MENTION], Letzen is right.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] ramanraj99999@gmail.com:
where's the download link for this??

where's the download link for this rom???
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] KingOfMezi:
everything works perfectly ANE-LX1C432B144 firmware

the twrp you used is beta and damages the partition of huawei

so you need to use the recovery twrp stock of the p20 lite

to start the phone without bootlogo

We turn Off The Phone And Enter The Fastboot Mode,We Open The Cmd Window And Write These Codes:

-Decompress File:

[B][FONT="Tahoma"][COLOR="Black"] fastboot flash ramdisk ramdisk.img[/COLOR][/FONT][/B]

I will make a new guide

simpler so you can understand!!

In my opinion the reason for all this was the FRP, from which device come the FRP???

I use this frp to unlock google frp

So you will not have problems

when you try to install something in the fastboot mode

or activate the oem unlock

in these days be patient

_______________________________________________________________________________

[MENTION=4323130]kilroystyx[/MENTION]

new guide, simpler so they do not have any problem :good:

Huawei P20 Lite-ANE-LX1 8.0.0.144 (C432) https://drive.google.com/file/d/1ke7D7yJnl6Za8qrEcRMpnlxsN1tNKOnQ/view

use this recovery twrp for p20 lite https://xdaforums.com/huawei-p20-lite/development/recovery-testing-t3783587

or use my recovery twrp is red https://mega.nz/#!Tp9GxQrb!2-9yPFh3reghkGcfSl3nRIJhHGkP8fqDsgUG66ewjkk

install recovery twrp for huawei p20 lite

code:

fastboot flash recovery_ramdisk RECOVERY-V2.img

REQUIREMENTS:

-Bootloader Unlocked

-Activate USB Debugging

-Activate Unknown Applications

-Activate OEM Unlock

INSTALLATION:

We Copy The Firmware To The SD Card

We Turn Off The Phone,And Enter Recovery Twrp

Go Wipe

We mark

-Davilk /Art Cache,Cache,Data,Internal Storage,System

-Only Mark What I Mention

-And We Make The Wipes, Already Finished, We Back Everything.

-Flash The Firmware (Delay Around 4 to 5 Minutes)

-When Finish, We Give In Reboot System..

We turn Off The Phone And Enter The Fastboot Mode:

-Decompress File:

https://drive.google.com/open?id=1mbJllJTK1B5sDMI5d8bNnV1l3m5We04e

Kernel+Ramdisk-8.0.0.144 (C432).zip

We Open update.bat Press Enter

-Automatically Install Ramdisk and Kernel

-Decompress File:

Recovery Stock-HuaweiP20Lite.zip

https://drive.google.com/open?id=1S8slsA6yi4L1ft2Oma248P06-4waR6pW

We turn Off The Phone And Enter The Fastboot Mode,We Open The Cmd Window And Write These Codes:

fastboot flash recovery_ramdisk recovery_ramdisk.img

Reboot To Stock Recovery By Vol+ And Power Button

Do a Factory Reset And Reboot System We do Initial Configuration

Initial Start And Enjoy.... ;)
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] kilroystyx:
Ok, I'll test again this night :)
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] kilroystyx:
[MENTION=8390230]KingOfMezi[/MENTION], the ramdisk that you share is not stock, imo is patched, same situation for ramdisk_recovery, is not from B144 I compared and give me different crc sha, but different recovery shouldn't be relevant for this test. You can see that ramdisk stock is around 16Mb and your is around 8Mb. All my attempts with your ramdisk it fails, device goes directly to eRecovery, after flash with stock ramdisk extracted from B144 firmware the device boot without issues.

I'm sharing with you the partitions that I flashed in the fastboot mode, I reworked the bat file to allow flash all 3 partition at once.

https://mega.nz/#!gMw33BLA!w4bZ0CUf3oXtWjRc8x-6rXDJ-BGMtfQEyKGYev2WcHA

Note, your ramdisk in the both zip files are the same.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] KingOfMezi:
thanks for making this modification https://mega.nz/#!gMw33BLA!w4bZ0CUf3oXtWjRc8x-6rXDJ-BGMtfQEyKGYev2WcHA

ok thank you very much for the help, it's good that everything works

surely there was a problem when extracting ramdisk and kernel and recovery stock

since I use kali linux

and these things are a bit complicated

I did it through this post https://xdaforums.com/mediapad-x2/development/tool-huawei-update-extractor-linux-perl-t3318880

I usually know that the extractor tool works very well in windows

https://xdaforums.com/showthread.php?t=2433454

now I will give you update_data_full

of the B144 ANE-LX1C432 firmware so that it can flash from the recovery twrp

only that partition is missing to be a full firmware

the topics will appear automatically

and will add the default applications and settings and optimizations

according to the change log :good:

Uploading the file to a server..
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] kilroystyx:
I ran a crc sha in the all partitions and only kernel from your zips match with stock, so, as soon as possible I will upload all relevant stock partitions, most are working but extracting in windows tool give us less possibilities of failure.

Let me know if you prefer B144 or B146.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] KingOfMezi:
Okay, B144

here is the link update_full_B144 https://drive.google.com/file/d/1C-uGBnDQdY2-A383-nKSL_6UcdnKpO1s/view

that can be flashed from any recovery twrp

Try it and let me know if everything works

will add the applications, themas,predetermined configurations and optimizations

according to the change log :good:
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] KingOfMezi:
open thread and links available in OP

you can download rom elemental
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Atif Munir:
nice rom great work man, feeling happy after flash no lag no hang every thing work perfectly. thanks bro
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Atif Munir:
plz add ad blocker in v2, adaway or other best blocking apps in coming versions. thanks
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Siguas:
Hello! I just installed the rom and at the moment it's going perfect. I only have one question, in the installation I just let the rom install but the elementary update does not. Do I have to install it by law? Or will it give me problems later if I do not install the elemental update?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] KingOfMezi:
you have to install the update_full_elemental

for you to do a complete installation of the rom

optmizations, themas, sounds, camera, etc :good:
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Reks76:
In this mod MMI code work?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Atif Munir:
yes working,
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Siguas:
I have finished installing the elementary update, also install the magisk V16. 4, now to enjoy the rom. Thank you!
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] mohiminul:
Can I install this ROM in Nova 3e LX2?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] KingOfMezi:
;) luck

if it is compatible,luck ;)
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] RalphXVIII:
I'll try this later. Thank you :good::good:

Will post feedback after installation.

edit: so far, its smooth and no bugs encountered :good:
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] ruk_design:
Can you share the official FM Radio apk for P20 Lite ANE-LX2, as i have uninstalled it by mistake.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] fcknumb:
Good. Really. How to change font style?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] fcknumb:
Where is k settings? cant find in my phone
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] KingOfMezi:
ok tomorrow I give you the link FM radio apk for P20 Lite

in settings huawei

View attachment 4574778

The THANKS button encourages me to keep working for free. You decide if it's worth pressing
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] fcknumb:
found it thanks. when trying to able settings for xposed, phone bricks. gets into bootloop and than asks for factory reset
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Atif Munir:
Dolby work via Magisk Module not directly TWRP method.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] rucciomax:
Call recording and voice recorder not working on ane-lx1, does anyone knows how to fix.

Thanks a lot
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Mohd Masab:
Kindly give me link of Dolby Atmos For Huawei P20 Lite
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Atif Munir:
ager ap call recorder use krtay ho to isay use na krna, call disconect ho jaty hai..

https://mega.nz/#!p5kjgYTA!n_s9igU6PK78nFMqsrix7vU7uWJWU606WUWhxINqf38
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Mohd Masab:
OK Dear!
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] mvita:
Dual Sim 4G/2G or 4G/3G?

Hello KoM. Excellent work in getting so much out of the P20 Lite!

Q: You mentioned: -Added 2G,3G,4G,4.5G support as default for all models(enjoy the high speeds available in your country)

Can I use 4G /3G? So when I select Data on Sim A, Sim B will connect to Voice services as 3G? The factory default is 4G/2G and many telecom providers are switching off their 2G signals... So 3G (voice/text) on the sim not connected as Data active is a must now a days in Dual sim phones!

Please clarify

Keep up the good work
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] KingOfMezi:
when you activate xposed, make a wipe davilk then restart the phone

yes :confused:
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] fcknumb:
how can i wipe dalvik without restarting the phone and make it from recovery?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] KingOfMezi:
You have to go to recovery. Twrp then click, clean, dalvik cache and restart your device

(This does not erase your data, etc.)
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] kaesebrot:
How is it possible to use Google Pay and pass Safety Net.

Does anyone have google pay with this ROM running?

EDIT:

The following steps worked for me, but not with Elemental V1

• make a eRecovery, manufacturer ROM download and installed

• boot and setup Android welcome

• enable under Developer Settings -> "Allow OEM install"

• turn off phone

• Boot in fastboot: (press Vol- and connect USB cable, phone boots alone)

• Install TWRP "Autoinstall TWRP321_OREO_P20LITE" via batch file

RECOVERY TWRP Mod by catuva21

unzip, the file is automatic

https://mega.nz/#!0jwk1ArQ!4bHAlsDj9...QJv3IVXl51oOtI

• turn off the phone

• Boot in Recovery: Vol + and POWER, TWRP starts

• Install Magisk v16.4.zip

Magisk V16.4 https://drive.google.com/file/d/1E1k...V0MMnRmVa/view

• reboot

• Check Safetynet status = OK (maybe an error, that can not read information), but still works!

• Install Google App and Google Pay

• Enable Magisk Hide Google and Google Pay

Then Google Pay works with rooted P20 lite phone
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] KingOfMezi:
To disable the root and make the safetynet work in Rom elemental V1 for Huawei P20 lite.

use kernel v5.8

https://xdaforums.com/huawei-p20-lite/development/kernel-emui-8-0-0-huawei-p20-lite-dual-t3854204

-Removed Root Check Hi6250 All models:

Hey, I just tried the kernel, without root but WITH an unlocked boot loader and its kernel and it goes to safetynet and it works with pokemon without magisk root, so thank you very much for this amazing kernel. It's simply the best thing that could happen for all hi6250 devices.

edit: after updating magisk to 17.1, Pokémon go is working
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Siguas:
Cuando habría V2 de la rom? Hasta el momento es muy buen, y como quitaría el root?

---------- Post added at 01:55 PM ---------- Previous post was at 01:30 PM ----------

Sino instalo magisk. No habría problema? Ya que me gustaría usar la rom sin root.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] fcknumb:
already said u my hero? big thanks, really

:highfive:
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] fcknumb:
I can't use dialler or make any calls after installing the rom.

After pressing call button, the call ends immediately.

Tried rebooting. Didnt work.

Tried cleaning up dialler dados/cache. Didnt work.

Tried reinstalling rom. Didnt work.

Tried google dialler. Didnt work.

What can i do? I dont wanna go back to stock, i love elemental ui.

Thank you for the help.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] DaffyxHa:
Guys I know this is not the right topic but I'm desperate, I just bought a P20 Lite and I read that you can't unlock the bootloader anymore, any ideea how can I unlock my bootloader or install TWRP?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] alesyt0h:
it has dual speaker activated or can be activated?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Zerogoki_00:
Vip version? Seriously?

omg...

:rolleyes:
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] ozantankus@hotmail.com:
Hello can i ask u something ? its too much important for me.. p20 lite have 8 Second Stutter (speed) time..p20 pro camera have also 30 second exposure(stutter) time..Can u Or anyone try this exposure (stutter) time ? And take Screenshoot pls ..its too much important pls...
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] salimkop:
Recovery Twrp

Hello, thank you for your post. When i want to acced to the recoverty mode, i don't have the menu "Wipe", i have a menu with "download the latest", "wipe/reset" , "reboot" , "shut down".

When i use wipe/reset, i just have to write yes to do reset.

Build number : ANE-LX1 8.0.0.149(C109).
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Szerry:
It will be avalaible some updates of this Rom, because for me, its the Best custom rom for P20 Lite, most stable and it have so much to edit.

And i have the question, its avalaible to use in this mod some viper4android?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Arnys:
viper4android right now dont work to any device runing emui 8+, JamesDSP are good alternative!
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Kevstar28:
QUOTE=KingOfMezi;77042021]Ok
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] kumarsid7:
Does this ROM support VoLTE?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] TheSaltyOneZ:
Hey buddy.. You need to flash TWRP first!
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] valeria Gómez:
Quiero cambiar mi IMEI como lo puedo hacer desde mi casa y sin ningún cisto
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] jani0000:
huawei p20 lite

Hallo Sir,

Please tell how to unlock bootloader huawei p20 lite:rolleyes::rolleyes::eek::eek:
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] rakeeb007:
Hi,

In the developer option I cannot toggle the enable OEM unlocking option and it say FRP locked in the bootloader. I do not have TWRP installed at the moment and clueless on what to do at the moment.

Can anybody tell me how to toggle the OEM unlocking option

TIA
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Johan Varga:
Pregunta¡ Esa rom viene con el grabador de pantalla del p20 lite ?
[Xiaomi Redmi Note 5 Pro Questions & Answers] raptorddd:
i do wipes in twrp

then install rom.zip

flash lazyflasher

boot into system

boot into recovery flash superSU all fine but phone its not rooted.

i do not want to use magisk what is happening.?:confused:
[Xiaomi Redmi Note 5 Pro Questions & Answers] Shiro Neko:
I believe the developer roms are pre rooted (at least they used to be)

Go to settings/permissions

There should be a option to enable root

Forgive me if i am wrong because i haven't used miui 10 yet
[Xiaomi Redmi Note 5 Pro Questions & Answers] raptorddd:
i have not tried developer roms am on miui beta 8.7.5 global
[Xiaomi Redmi Note 5 Pro Questions & Answers] Gsmhafiz:
China miui 10 dev rom have including root facility in permission Section. But global dev are not. It need magisk ?
[Xiaomi Redmi Note 5 Pro Questions & Answers] zvi0:
same problem here...
[OnePlus 6 Questions & Answers] anupash:
I am into one week of using my new OnePlus 6. I observed side yesterday that I don't receive notifications from Gmail and Outlook.

I tested that other apps like WhatsApp and Hangouts receive notification (sound and led) just alright.

I double checked that the led notification settings and notification settings for Gmail is enabled. Does anybody have the same problem?
[OnePlus 6 Questions & Answers] masalinasm:
Yes.

I actually have this same issue, I can't give you any solution. I have to get into the app and refresh it manually
[OnePlus 6 Questions & Answers] DoobyDroid:
Same hear was waiting for important email all day and when I went into Gmail hours later it was actually there no notification , not sure on a fix to
[OnePlus 6 Questions & Answers] montecarlo5:
Just random thinking as I get gmail notification, maybe check the app settings itself to see if notification is on, check to see if auto sync is on in settings-accounts-google, maybe also check settings-notification-app (there are some extra settings in the type of alert style and for sound state). Don't know if any of these will help but maybe take a look. Hope y'all get find the issue and fix it, good luck :good:
[OnePlus 6 Questions & Answers] manus31:
I have a problem with Gmail.When mail comes to he notification does appear in the notification area but no notification sound
[OnePlus 6 Questions & Answers] Ajaykumar21066:
Wat about doze n battery optimisation setting
[OnePlus 6 Questions & Answers] mikex8593:
I have never in my life had Gmail notifications in real time on any phone...
[OnePlus 6 Questions & Answers] rmaathuis:
This is an Oxygen OS bug. I had this on the OP5 , OP5t and now on the 6. Has nothing to do with doze settings or battery optimalization.

What could help, what solved it for me: open the recent apps, find the app with these problems and click on the padlock on the right side.

And else leave a bugreport on the OnePlus site.
[OnePlus 6 Questions & Answers] Shironomia:
I had this same issue with multiple apps

What fixed it for me was disabling advanced battery optimization. (Settings -> Battery -> Battery Optimization -> Three dots at the top right -> Advanced Optimization -> Disable it).

not sure if it helps you guys but might be worth trying
[OnePlus 6 Questions & Answers] nitin_g3:
I had same issue for Gmail notifications. Disabling advanced optimization didn't help since system apps don't show there for me. What fixed it for me is removing it as system app (of course you need to be rooted to do that) and then installing as user app. Then removing advanced optimization. Now it shows live notifications for all emails I receive.
[OnePlus 6 Questions & Answers] Shironomia:
What you are talking about isn't advanced optimization, just normal battery optimization.

Advanced optimization is system-wide, not for individual apps. Either you have it disabled for all apps, or enabled for all.
[OnePlus 6 Questions & Answers] anupash:
Gmail is a system app so I can't change the battery optimization settings for it. However, I am curious of WhatApp and Hangouts as they are set to "Optimized" in the battery optimization settings and yet the notifications work fine for them.

But as also pointed by others, this has been a problem across different generations of OnePlus devices. I don't know why has this issue not been fixed and none of the reviewers ever mentioned it.

Yesterday, I found a partial workaround by installing the Light Manager app from Play store. With it I configured the LED notification for Gmail to be set as blue. Now whenever, I receive a notification (although delayed) I have a blue led notification but still no sound, which is really strange.
[OnePlus 6 Questions & Answers] anupash:
For me, it is slightly different. I get a new email notification immediately after I unlock my device.
[OnePlus 6 Questions & Answers] DoobyDroid:
It's very strange they have been coming through fine today [emoji848]
[OnePlus 6 Questions & Answers] Aditya12321:
To those not getting notifications, try this, go to gmail app, open settings, select the account for which you want notifications, click on inbox notifications, and tick notify for every message, you should start receiving notifications. Cheers.
[OnePlus 6 Questions & Answers] pdppdp:
I had the same problem with gmail. I ended up freezing/ deactivating the app and now using K9. Aquamail is good as well.

No problems since then. K9 also gives you the option to sync every x minutes if you think you don't get mail notification fast enough.
[OnePlus 6 Questions & Answers] JerryGoyal:
i had the similar issue so i marked the app as "not optimized" and now i get all notifications :)

---------- Post added at 02:35 PM ---------- Previous post was at 02:34 PM ----------

i had the similar issue so i marked the app as "not optimized" and now i get all notifications
[OnePlus 6 Questions & Answers] justwondering:
I installed the Google app called inbox virtually the same as Gmail ,I also disabled battery optimization,works perfectly
[OnePlus 6 Questions & Answers] floridaman:
Had same issue with Gmail app, it doesn't appear under battery optimization. I cleared cached and cleared data in the app, uninstalled and then reinstalled. Haven't had an issue since. I think there was an update to it that didn't play well with Oxygen OS.
[OnePlus 6 Questions & Answers] bigjailerman:
Were you able to remove just the gmail app or google entirely?