yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] bestmvno.com:
This is because whatever camera app you are using has Camera2 API enabled. Unfortunately, the ROM doesn't yet fully support the Camera2 API, so you need to disable it with whatever camera app you are using.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] prathamesh95:
I can't use GravityBox after latest 7th Feb build. When I dirty flashed the build, Xposed framework was uninstalled. I flashed the Xposed zip again, and Xposed is active now, but still can't get GravityBox working.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] dgk823:
Lag

Great ROM, keeps getting better and better. The GPS is working great. But the 64 bit ROM is very laggy even after turning off Night Light /LiveDisplay. For example on Lineage 14.1 the game "Getaway 2" works great with little lag on the highest graphics setting. On 15.1 it's unplayable unless I turn down the graphics down to the bottom. Once this lag is resolved this ROM will give me a reason to never come back to 14.1.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] strongst:
Needs to be discussed here https://xdaforums.com/moto-g4-plus/how-to/xposed-framework-moto-g4-plus-t3398332 xposed and add-ons are not part of any custom rom and beyond the dev scope in case of problems ;)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sputnikolas:
Battery Life

I just updated to the latest version, everything(GPS, camera, etc) seem to be working fine. However, last night I went to bed with a full charge and woke up to battery level around 48% even though airplane mode and battery saver was on...

Is anyone else experiencing such a weak battery performance? How much time do you get out of a full charge?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Frostbite:
Try a kernel with Wakelock blocking options. Wakelocks were causing idle drain for me.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] rex5050:
Has anybody tried the modded Google camera for using portrait mode on the latest build ? Does it work properly ?

Thnks in advance.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] abhi212b:
Bro use search option! No portrait mode available yet! We do not have a stable oreo build yet, neither do we have a stable camera! once oreo is stable.. U can expect some camera to work! :)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] divyatulsiani:
Hey the link of gapps in op not working can anyone help me with the link?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] GCSortes:
https://xdaforums.com/android/apps-games/arm-unofficial-opengapps-builds-android-t3743495

For those with Face Unlock issues, it will work if you flash these Nano GApps. The GApps at OP are broken and doesn't flash Face Unlock for some reason.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] GCSortes:
Testing 07/02/18 build for one day now and it is working like a charm on my G4 XT1622 2GB 16GB. The only problem that is annoying me is the high System RAM usage that keeps going up (it fixes with a reboot). If there's anything I can do to help solve this problem please ask me, maybe some logs idk.

Clean install, Nano GApps, Magisk, restored 85 apps with Titanium, Substratum + Andromeda, no Kernel Adiutor, no Xposed, no Greenify, etc.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] EmiAndroid:
I have this problem, Is normal in Oreo (i see this problem in 32 and 64 bits, i dont understand why)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] rex5050:
Thank you bro. Anyhow I had searched it but unable to find anything related so I just asked it.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] GCSortes:
It's a very annoying normal problem :silly: good to know I'm not the only one. When every app start crashing/rebooting in the background (I can't even open the camera because LMK kills it) the only solution is reboot. At least the System UI lag I was facing 20 days ago is gone (forever, I hope).
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] EmiAndroid:
It is very annoying, too, I would like the developers to try to focus on that to solve it, because restarting the phone every time it happens is unacceptable, but hey, we have to wait :/
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Ragarianok:
Even as much as I'm loving this ROM, I'm gonna have to go back to LOS14.1 because Final Fantasy XV: Pocket Edition is out and it's not compatible with Oreo. :(
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Badboy_deepz:
Do advance reboot works ? Like reboot to recovery and all? Pls guide me
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jpnos:
After some days on aicp with a 2g/16g version

gps work flawless

Cameringo,footej and other camera working

disabled zram better ram usage and some lag reduced

use Snaptime to force aggresive doze and with normal use no problem with battery for a day

Good job developer
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Ayan Uchiha Choudhury:
It works. Flash the ROM and find out how. ;)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Badboy_deepz:
Got it. Thanks.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Marv42:
Where can I find the Snaptime App?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Ayan Uchiha Choudhury:
can anyone tell me the changelog of today's upddate? i flashed yesterday and today got another. and changelog app is also showing till yesterday
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Casper1982:
http://dwnld.aicp-rom.com/device/athene/NIGHTLY/aicp_athene_o-13.1-NIGHTLY-20180209.zip.html
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jpnos:
In PlayStore

---------- Post added at 04:32 PM ---------- Previous post was at 04:30 PM ----------

Naptime di Francisco Franco
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] alvintimothyjr:
Anyone able to delete system apps?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] strongst:
With root you can delete everything. Why you can't delete something?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] alvintimothyjr:
Really? I had no idea
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] corlatemanuel:
Stop using that crap, Root Browser Classic doesn't work for me on ANY ROM. Use something else, I use the new version and it works just fine on every ROM that I have ever used, including this one.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] strongst:
As said, try solid explorer, es file explorer or others. It's definitely NOT a rom issue cause other apps can delete/freeze everything(like titanium backup for example)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jer194:
From recovery for sure.

From ROM, you might need to remount the system partition read/write.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] strongst:
That depends on the app you're using, as I wrote before.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] alvintimothyjr:
Root Explorer is a solid app.

https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer

I've used it for years. Undoubtedly, I've tried a different root based file manager. The issue is not attributed to the file manager.

The system based app remover doesn't seem functioning either.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] bra1niac:
Loving the ROM

I've been running the ROM for a few days without a SIM and everything has been great. The only outstanding issue based on how I use the phone is the camera. The Google camera app and Moto camera app both crash on open, but Open Camera, Cameringo, and Footej apps all work as good substitutes. This is on the most recent nightly build (as of this post).

Keep up the great work!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] SAddik7k:
:eek: :eek: ??
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] GCSortes:
Is this a reason for apps crashing?

02-09 19:29:11.265 I/ActivityManager(912): Start proc 13906:com.google.android.keep/u0a132 for service com.google.android.keep/.homescreenwidget.MemoryWidgetService
02-09 19:29:29.390 W//system/bin/hw/android.hidl.allocator@1.0-service(432): ashmem_create_region(32768) returning hidl_memory(0x7bf12172a0, 32768)
02-09 19:29:29.419 I/Finsky (14196): [2] com.google.android.finsky.ce.a.onTrimMemory(5): Memory trim requested to level 5
[B]02-09 19:35:25.489 E/lowmemorykiller(448): Error writing /proc/14362/oom_score_adj; errno=22
02-09 19:35:25.593 E/lowmemorykiller(448): Error opening /proc/14362/oom_score_adj; errno=2[/B]
02-09 19:35:25.594 E/lowmemorykiller(448): Error writing /proc/14340/oom_score_adj; errno=22
02-09 19:35:25.609 E/lowmemorykiller(448): Error opening /proc/14362/oom_score_adj; errno=2
02-09 19:36:07.561 E/lowmemorykiller(448): Error writing /proc/14664/oom_score_adj; errno=22
02-09 19:36:07.562 E/lowmemorykiller(448): Error writing /proc/14664/oom_score_adj; errno=22
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] briatide:
Looks like you are running out of memory, this is from a ticket from a different device

Thx for reporting the bug, the issue was in the memory barrier used for pre 64bit.

I released a snapshot compile 'com.snappydb:snappydb-lib:0.5.2-SNAPSHOT' that fixes this bug.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pkdon123:
Great ROM, Testing Now.. Very Fluent, No Lags, Jio VoLTE Working Flawlessly, Google Camera + Video Recording Working, Flash Working With Goldy Torch ?? Thanks To Developers..

RAM Usage is High But That's 64bit ROM Problem I Guess.. Will Test Battery Backup Today?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Ragarianok:
Which version of Google Camera are you using?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] igortoniato:
how is google camera working???
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pkdon123:
Google Camera v 5.1.018.177470874 arm64

Downloaded from apkmirror.com
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pkdon123:
Google Camera working fine, I've just downloaded from apkmirror.com arm64 version and it just worked fine for me.. videk Recording works with a workaround, first switch to front camera and select video recording and switch back to primary camera.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] nithin9:
Tried, but every second pic is GREEN:(
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] cooldeepak:
google cam

This Google Camera is working for Photos but not for Videos.

https://devfiles.co/download/1vN0zXDa/Google-Camera-Port-RAW.apk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] patient81:
Has this been compiled into the nightly releases now? I can't seem to see it on any changelog. Thanks
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pkdon123:
Yess.. I'm Finding A Workaround For That Too..

---------- Post added at 03:18 PM ---------- Previous post was at 03:18 PM ----------

Did you find any workaround for green pics?~?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] bestmvno.com:
Because it is using camera2 api, which doesn't work with this ROM yet.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] leffep:
Wish for AICP rom.

Tnx for a nice rom!

My wish are to close the screen with the "fingerprint" button also, not only wake up.

My G4 plus shipped rom have this utility and i miss it...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] dgk823:
Bug report for 2/12 build

1) Still intense lag. Games are much worse than UI (LiveDisplay turned off). Something is not right in the way the GPU/CPU is configured inside the /system/. Kernel Auditor doesn't make a difference in lag.

2.) Navigation bar: The back button does not work. Settings for back button are absent in the AICP settings.

Battery life is great and RAM usage is normal for my 2G RAM/16GB athene retus. Thank you for a great ROM. The closest ROM that's almost release quality.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] EmiAndroid:
What Is "RAM normal usage" for you Bro?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] dgk823:
When going to Developer Options and clicking on Running Processes, I have 0.96GB RAM remaining. Sometimes I even see 1.1GB free. Chrome is open in the background. No social apps are installed, they take too much RAM especially FB and FB Messenger.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] corlatemanuel:
"Normal usage" is supposed to mean every day usage, not using the ROM for 10 minutes after flashing it while it still only has the system apps installed. And for the lag check Night Light, it should be disabled too. And also, what gapps are you using?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] dgk823:
Yes the RAM usage I'm.speaking about is average. It fluctuates between 750MB to 1.1GB free RAM remaining. I'm using unofficial open apps 8.1 mini (2/11). LiveDisplay and Night light are disabled. As a test I use a game called Getaway 2 from the Playstore. When settings the graphics to high, the lag makes the game absolutely unplayable. Settings it to medium takes some.lag away but it still lags. On Nougat LOS, the lag is significantly reduced while playing the game even on High GFX setting. Here's the game: https://play.google.com/store/apps/details?id=com.pixelbite.ga2

It's a very graphics intense game that can help others to assess the lag in Nougat vs Oreo
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] OsniNO:
Is there a 32 bits version?

It's a great great rom, but in Brazil it's only sold 2 GB ram variant of Moto G4 Plus, and my device didn't go very well with 64 bits OS
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] briatide:
omnirom is the only 32bit 8.1 rom afaik
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] EmiAndroid:
Mmmm, look this, my ROM is Atomic OS and experimented you problem :/
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jer194:
There is some more (check this).
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] OsniNO:
Nice chart!

I'll try OmniROM, thanks!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] bra1niac:
From reading the thread it sounds like Bluetooth phone calls aren't working. I just wanted to confirm that since I didn't see it mentioned in the OP. Plain Bluetooth audio works fine in my vehicle, and I can initiate calls from my infotainment system, but the call never transfers to the car's speaker/microphone.

If that's still a work in progress, that's cool. I just want to make sure I'm not hitting an unknown bug.

TIA!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] firehearth:
Hi everyone,

Just tried the ROM and It was running smooth for some time but now it's really laggy.

I though that It was L Speed but no, turned It off and nothing.

Night mode is off btw.

Anyone know what It might be? I have the 2GB Variant.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Luis Infante:
Just reboot
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] firehearth:
Did not work, rebooted It some times already.

I noticed that when i put the CPU overlay, cpus 1,2,3 are red and showing Just 0 on the processing.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Luis Infante:
Install a kernel

Try
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] firehearth:
Any suggestion?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Luis Infante:
Frostbitten :good:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Japierce:
I turned off live display and mine works fine now
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] matrix0027:
I had this same issue only show up since the last nightly update with only one cpu core online causing lag and the phone runs hot. Manually cycling the extreme power saver in settings on and back off seems to get the other cores working at least until the phone is rebooted.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] firehearth:
Did not work for me.. i fixes the lag issue by turning off live display, but still, CPU 1,2,3 are not working

Installed Frostbitten kernel and made things even worse, now cpu 0 is also offline, will do a clean flash and see how it goes.

[MENTION=309187]edit[/MENTION]

Even after doing a clean flash (wiped everything, even internal storage) no luck, cpu 0,1,2,3 are offline, any suggestions?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Ragarianok:
I've noticed the same thing; 0 is online but 1, 2, and 3 are offline. Didn't really think anything of it until recently.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Ragarianok:
Just manually enabled those cores. We'll see how it goes.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] virajmalia:
What happened to the nightly builds?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] alial04:
problems with the aicp server it will be fixed soon "hopefully" :)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] GCSortes:
Bluetooth calls aren't working for me either.

---------- Post added at 09:56 PM ---------- Previous post was at 09:53 PM ----------

I think they remain disabled until the system needs them. That's done purposely to save battery and prevent unnecessary heating if I'm not wrong.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Ragarianok:
You're probably right. The lag seems to be gone with Frostbitten kernel R17 though.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Rog Ballester:
Replacement APK camera PLZ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] corlatemanuel:
A bit of explanation for what exactly it is that you are requesting would be welcome.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Rog Ballester:
The footage does not work, I would like an application to replace the camera bug. Sorry for misunderstanding. :(
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Ragarianok:
Please use the search function.

Replacement camera apps that have been suggested are Footej, Open Camera, and Cameringo.

If you cannot follow basic instructions or if you cannot cope with certain things being broken, then I would suggest that you either flash a Nougat based ROM or go back to stock firmware.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] thorin0815:
I wish they would really do it, especially the "does VOLTE work?" faction. ;)

Edit: Sorry for OT.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Rog Ballester:
I will dispense your arrogant help
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] strongst:
Please understand that this is a development thread. If you have questions not related to the rom(3rd party apps, other general questions) and you can't live with the given bugs then do the following:

1) use the search function, yes, it's the rule #1 on xda and you find with the right key words every post you're looking for. Even from Google type "xda developers" behind your search key words and you're here.

2) if you find nothing, then look at device forum for general newbie help threads to collect answers that: are frequently asked, hard to understand, off topic in dev threads but on topic in the device forum. This help thread for g4 plus is here https://xdaforums.com/moto-g4-plus/help/help-thread-question-noob-friendly-t3526598

Nobody wants to be rude to you or arrogant, but understand that questions that are not really well explained, with lack of information are cluttering the dev threads cause we want to help YOU but need more information and ask YOU hence posts increase over several pages and you'll find nothing and be bored cause of those "discussions" you don't care about ;)

Thanks for understanding and your help :svetius:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] kaiomatico:
Thanks for testing out, just as I thought, there is no 64 Bit ROM yet with working gps :(
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ziyadh.aj:
But it's working for few peoples.. I tried different gapps.. still the same..

Gps works in cardinal aosp for me..
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jer194:
Which version of Cardinal? 64 bit or 32 bit?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ziyadh.aj:
Idk about 32 bit.. 64 bit works for me without any issues.. :)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jer194:
Sounds interesting (and contradicts a bit to what I have found).

Could you show some corresponding GPS Test Screenshot, with satellites?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] avsgod21:
Is someone else experiencing a little bit different colours then normal??...only a little bit
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] adityakashyap951:
This rom feels laggy in animations compared to los15.1 please do you have any fix ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ponkarenraj:
Turn off live display
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] abhi212b:
GPS works for me in cardinal 64 bit.. Will test this rom tomorrow... :D

Thanks!! Just to confirm with people who have tried it... Does this rom has feature for increasing volume steps?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] mohammad.faizan681:
Any screenshots
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Skeptico:
GPS works fine for me.

---------- Post added at 11:41 PM ---------- Previous post was at 11:40 PM ----------

Yes
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] alial04:
screenshots below
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] alial04:
Screenshots added to Screenshot section :)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ponkarenraj:
Draining of battery is too fast.. Even when the display is off.. Can anyone help?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jeraspie28:
Pardon my "newb" question... But why am I getting an Error Code: 255 in the latest TWRP, 3.2.1-0, with every 8.1 ROM I flash?? I used to be able to with no problem.. could it have been an incorrect version of TWRP? If so, please provide a link... I'm on a Moto G4(xt1622).

Thanks.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jeraspie28:
Nevermind. Figured it out. Needs to be TWRP arm64. :)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] avsgod21:
Problems on your side...on contrary i have the best battery backup than every Oreo rom.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] djraje:
Smooth awesome looking for flashlight and camera video fix
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] JACC (THE FLASH):
Could you add this options in the rom?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jpnos:
Hy man

tried to install , i had the boot splash but no boot on xt1642 .... after 15 minutes and 3 test each switched back to 7.0 JX rom.

So there is a problem with 2Gb / 16Gb phone ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chichaayu:
My phone turns off instantly as soon as I receive an incoming call when the battery is below 50%. It rings for like 0.5 seconds and then off it goes! And the thing is that after turning the phone back on, I can't see who called? Why is this happening?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] PABLEXWorld:
Did you flash OpenGApps? If so, have you set Phone as the default dialer app in Settings -> Apps & notifications -> Advanced -> Default apps?

The OpenGApps installer zip told me to do this when I flashed it...

Oh wait, it works just fine when the battery's above 50%? Odd...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chichaayu:
OK I think I get the problem now. I have been using google dialer app as my default phone app instead of system default phone app that comes with the rom. Is that why this problem is occurring?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] PABLEXWorld:
Can you answer the call normally when above 50%?

Also, just in case, check the Settings anyway...

(This rom doesn't come with GAPPS. You install them with the second zip file. The OP points to one of the gapps builds you could use.)

If that doesn't help it then it might be useful to provide system logs.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chichaayu:
Yes I can answer calls when battery is above half. And yes that is what I meant. I used the gapps provided in the OP. Anyways I changed my default phone app to the one provided in the rom. Let's see if the problem persists.