yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] proyectos3d:
Its happening also to me, very slow charging, also I had to install rom and ggaps at the same time, also to let you know I installed viper4arise and it's working just fine, thanks [MENTION=4551757]Silesh.Nair[/MENTION]

Enviado desde mi Moto G4 mediante Tapatalk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Silesh.Nair:
Users can move to the thread below for Invicta series 5 discussion.

https://xdaforums.com/moto-g4-plus/development/rom-t3693479
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] dagarcia:
It's well known that quick charge works depending on phone current temperature, I can see 43° on your screenshot which means your phone is hot.

Quick charge works fine.

Please use search function first for further questions.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] RohitJainWorld:
Is titanium backup issue fixed or still exists?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Rafa0801:
again, I have bootloop

after turning on the phone after 7 hours off, it gets stucked at bootloop

is there anyway to fix that without losing all data?

sorry for bad english :v
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Fir3lordZuk0:
Flash the rom again, do not wipe internal storage
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Fir3lordZuk0:
Request- Is it possible to build recovery for Oreo which supports encryption? My exchange email enforces encryption on my phone. i am using 4.13 and my phone is encrypted, i am unable to decrypt data in twrp and thus unable to flash Oreo RC-1.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Silesh.Nair:
What is the error that you get while flashing InvictaO with other twrp recoveries?

If its device assert error, you can remove the device assert line shown below from META-INF/com/google/android/updater-script file inside the rom zip file.

assert(getprop("ro.product.device") == "athene" || getprop("ro.build.product") == "athene" ||
getprop("ro.product.device") == "athene_f" || getprop("ro.build.product") == "athene_f" ||
getprop("ro.product.device") == "xt1621" || getprop("ro.build.product") == "xt1621" ||
getprop("ro.product.device") == "xt1622" || getprop("ro.build.product") == "xt1622" ||
getprop("ro.product.device") == "xt1625" || getprop("ro.build.product") == "xt1625" ||
getprop("ro.product.device") == "xt1626" || getprop("ro.build.product") == "xt1626" ||
getprop("ro.product.device") == "xt1640" || getprop("ro.build.product") == "xt1640" ||
getprop("ro.product.device") == "xt1641" || getprop("ro.build.product") == "xt1641" ||
getprop("ro.product.device") == "xt1642" || getprop("ro.build.product") == "xt1642" ||
getprop("ro.product.device") == "xt1643" || getprop("ro.build.product") == "xt1643" ||
getprop("ro.product.device") == "xt1644" || getprop("ro.build.product") == "xt1644" || abort("E3004: This package is for device: athene,athene_f,xt1621,xt1622,xt1625,xt1626,xt1640,xt1641,xt1642,xt1643,xt1644; this device is " + getprop("ro.product.device") + "."););

I will look at adding encryption support in future.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Fir3lordZuk0:
I am not flashing Invicta O yet.

I am on Invicta N 4.13 and I have encrypted my phone. Now I flashed Oreo recovery but when I boot into recovery and enter my encryption password, it says password is incorrect (though I am entering correct password). So now I won't be able to flash or wipe anything in recovery as storage shows 0mb.

After this I flashed odams11 twrp but there I am not getting any option to decrypt data (earlier I was getting it)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Silesh.Nair:
Use the same recovery with encryption that you were using earlier and then follow steps mentioned in my previous post to flash the Oreo rom with your encryption supported recovery.

or

Ask the developer of the recovery you are using to build a recovery with the option below.

TW_NO_LEGACY_PROPS := true
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Fir3lordZuk0:
Will check with dev
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Fir3lordZuk0:
[MENTION=4551757]Silesh.Nair[/MENTION]

I reverted back to stock to remove encryption. Then flashed O RC-1. No problems for now, however I can't flash any more update until you provide the twrp which will decrypt data (no rush, whenever it's ready its ready). Like I said earlier my office Exchange Server enforce encryption (can't live without exchange on mobile and can't live without Invicta as well)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] aakashkaushik04:
Light sensor

When i dial a number even when holding my phone in hand it goes dark and even sometimes when a call comes i can't attend as i can only hear the ringing and can't see the screen. Can you please fix this..!:o
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] strongst:
Read the op please, make a bug report as stated, your problem will be investigated. Thanks for your help!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] aakashkaushik04:
Bug report

From where to create a bug report
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] strongst:
Read the first post how to report bugs, it's all detailed written there. And also been discussed in that 600 pages with enough examples in my opinion.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sagalfisz:
So.... What is the result of the poll? I mean, the camera one!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Silesh.Nair:
The girlfriend won, hands down!!!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pico hackr:
Daam currently its way better
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ajab_sharma:
I'm getting problems with magisk manager, after sometime it's root permissions are lost and I've to reflash the zip file using TWRP recovery, then it again becomes normal for some time. Any fix so that flashing zip only once gives the root access forever?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Iamanel:
Magisk 14.3 (beta) claims to solve this kind of problem, try it, see if it works
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] j0nas_:
Have you uninstalled LinageSU? It's the default root and it conflicts with Magisk unless it is uninstalled through this zip (https://mirrorbits.lineageos.org/su/addonsu-remove-14.1-arm-signed.zip). This worked for me a while back.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ajab_sharma:
Sorry,but the link isn't working. It says''not found".
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] saranshkmr.in:
https://mirrorbits.lineageos.org/su/addonsu-remove-14.1-arm-signed.zip

At least inspect a little. Just remove the ")." from end of the link
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Bunny 2886:
What can I do to optimize it for gaming?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] strongst:
U can use another kernel and have a look what others did https://xdaforums.com/moto-g4-plus/how-to/rom-benchmarks-t3575807 if you need to discuss, use help please.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Sebioo7:
Snapchat is not working.

It gives me temporary login failed

Rom build : latest v4.13

Xposed installed modules(powernap, smart network, instax)

Kernel: inbuilt in rom(default)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] strongst:
Please try using Snapchat with a clean installation of this rom(that means no xposed at all, only 3rd party app Snapchat).
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] :
Xposed will trip SafetyNet. No matter what you do, apps that use SafetyNet will simply not work, even with Systemless Xposed using Magisk.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Ayan Uchiha Choudhury:
Last time I checked Snapchat used Xposed. So kindly disable it and see logging in is possible or not. If you're using systemless, just go to magisk installer and disable it. If you're using official then download root switcher, and switch off Xposed and check
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ricki13th:
Xposed 14.3 beta is causing bootloops and overall a slower device. Does anyone else have similar issues?

Edit: NVM it was the modules I was using. Everything is perfect. Here is a tutorial on this device on achieving excellent battery and solid performance.

https://xdaforums.com/moto-g4/how-to/moto-g4-g4-plus-nougat-tips-battery-t3699402
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Silesh.Nair:
I will be putting out 2 builds today. One with HAL3 changes and the other without.

OTA will show up for the regular one without HAL3 changes. Users who want it with the changes have to download it from the link I provide this time. From the next build, you will have your own OTA.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pico hackr:
Love this bro thanks for making 2 builds , this makes you unique every time thanks for understanding everyone's mind . This is the main reason for sticking to this rom since linage oms day till now and future
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] justbfree:
Hi, Whats the advantages of HAL 3? thanks.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pico hackr:
Quality of image would be better but you will have a green screen when you open your camera , i am not interested in hal3 anyways i am gonna stick to current one
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] rgnicholas:
Awesome... thank you for continuing to update this excellent ROM.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Silesh.Nair:
v14.4

Flashlight will work only after one or many reboots. Same with chopchop, Don't flood the thread with "I have bug, Torch not working. Chopchop never working. What i do?" What you do is live with it if you choose to flash the modified version of the rom.

Build with changes to camera can be downloaded here. md5sum is cf46381863f151e857b34e57cba8f3c6

Not tested by me. Changes include

Icons updated to v5.0

Lawnchair updated to v1.1.0.1427

Minor kernel updates

Source updates

And the camera change

Future builds can be downloaded using OTA.

The normal build is being compiled and will be uploaded in a while. Can be downloaded using OTA. Will update the post when its done.

Update

Normal version can be downloaded from here. md5sum is ffa94a619fb4ec036b8624ce04c6c77c
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Geco_Tux:
Can I do dirty flash for the normal rom to HAL3? And thanks alot for all your work
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] RohitJainWorld:
Take nandroid backup and try.

If something goes wrong then you can restore old backup.

Then try clean flash.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] AlokSaxena:
So with 4.14 modified version, using hal3, we can probably replace the package name (whichever we don't use), under hal package list in build.prop, with those we use to avoid green pic issues? Like we did earlier iirc :confused:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Silesh.Nair:
Yes.

To all others, looks like tb batch restore is working. Just restored 12 apps.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] matiassilvap:
which version is better? with Hal3 or without?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] leechgid:
I dont know, but i dirty flashed a Hal3 in previous normal version and works fine...

I use the moto camera https://xdaforums.com/moto-g4-plus/themes/stock-motorola-camera-t3596659 6.0.78.1, previously i see a green screen before open the cam, but now i dont see a green screen :eek:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] leechgid:
The quality of Hal3 version its very good

Works very fine with dirty flash

Thanx [MENTION=4551757]Silesh.Nair[/MENTION] :)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] AntwnhsAnt:
Honestly I don't see that much of a difference in quality with the hal3 version. I'll just keep using the normal one since I use the chop chop gesture quite often.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] RohitJainWorld:
It is showing that GPS is on.

But I am not using GPS.

Invicta 4.14 normal clean flash
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ____Mdd:
> Turn Location on then off

> delete battery stats (dustbin on battery usage screen)

> Reboot.

This must solve it,

Otherwise, Provide logs and useful information as stated in OP.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Relard:
Thanks again [MENTION=4551757]Silesh.Nair[/MENTION].

Dirty flashed HAL3 over 4.13

Everything is fine, also chop-chop works after a reboot and there are no green camera pictures for me.

Great work :svetius:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] RohitJainWorld:
While conference calling, clicking on 'manage conference call' doesn't work

Any solution?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] avurhd:
Hey guys, I am facing issues with QR code scanning in Invicta OS 4.13. I have tried with whatsapp and paytm. Please let me know if any solution to this issue is available or if any thing is needed from my. [MENTION=4551757]Silesh.Nair[/MENTION] Thanks for this awesome ROM really love it.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] 1chrome:
Oh oh there's this wonderful solution which has worked almost everytime -

1. Look at your post.

2. Realise that something is missing.

3. Look again for an attachment.

4. Realise there's not one to be found.

5. Attach logs.

6. Edit post to add device details.

If this doesn't work, all you gotta do is press and hold power button for 1 minute. Then wait for Silesh's Ouija board to do its thing.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] stehaworth:
Can I ask what you've done to you baseband... Did you update via soak test or just update baseband to N?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
Actually it is working for Motorola Camera, unfortunately not for Moto Camera. And yes, these are 2 different cameras!

So, either use Snap Camera (the stock CyanogenMod camera) or Motorola Camera (the one with the wheel on the left side). The choice is yours!

Send with my Moto G4 Plus (XT1642) on CyanogenMod 14.1, Android 7.1, using Tapatalk!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] stehaworth:
For me, no camera app works, including snap etc... I think the changes made to make it work on plus is causing it to fail on non-plus

Update.

https://drive.google.com/file/d/0BxAaWO5pmjAsMzhQMENPSjNJUU0/view?usp=drivesdk

Another logcat when using open camera

Original log using snap

https://drive.google.com/file/d/0BxAaWO5pmjAsNzh6dWxTNHU4cU0/view?usp=drivesdk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
Is the Camera hardware not the same in Plus and Non Plus?

Send with my Moto G4 Plus (XT1642) on CyanogenMod 14.1, Android 7.1, using Tapatalk!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] stehaworth:
Nope... Non plus has no laser and lower pixel version..
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Midknight770:
I'm not able to install apps (like shareit and xander), that have been sent to my phone through Bluetooth. Any solution?!:)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
Toggle the install from unknown sources selector (see screenshot)

Send with my Moto G4 Plus (XT1642) on CyanogenMod 14.1, Android 7.1, using Tapatalk!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] bullfinch110:
I did the same as you did...installed the extracted modem.zip and running the latest baseband..never installed NSoak. Everthing works very smooth, except Video recording. I think, its a different hardware between g4 and g4 plus.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Midknight770:
Hello! Yes i tried doing that. It still didn't work. I've attached a screenshot below :)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
Hmm, did you get the APK files completely through Bluetooth? If yes, copy them to your external sd card (using your favorite file manager) and try again. If that works, try to backup your internal storage and then wipe it in recovery.

If not, send a logcat concerning the Bluetooth.

Send with my Moto G4 Plus (XT1642) on CyanogenMod 14.1, Android 7.1, using Tapatalk!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Midknight770:
Hmm ya I'll surely try it. Thanks for your help :)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Midknight770:
The input selector notification isn't displayed on the status bar, even after turning the feature on.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Rahulsingh190:
I was just testing through the kernel auditor, ex kernel manage and a process viewer, to find what's the cause of battery consumption increase in both the CyanogenMod 14.1 as well as the Nougat soak test version.

So, there's one thing going on, that is weird(or maybe I misunderstood it), that is even though there's nothing running(not even any kernel/system process at more than 5% CPU usage, the only with 4% usage was the KSM daemon, and 2% usage by surfaceflinger, and all other process's using less than 1%) on the phone that could've been pushing the CPU to stay in higher frequencies(while using ondemand CPU governor, which is actually supposed to keep the CPU in the lowest frequencies when there's no load), still without any load the ondemand as well as interactive governor both kept CPU running at higher frequencies.

Note : all this time I manually turned off all the BIG cores.

And I remember observing the behavior of Stock Marshmallow ROM(interactive governor).

It was quite power efficient and still fluid smooth, and it used to turn off and turn on cores very frequently, both the Big and Little cores(I'm naive in this part, as to how and what exactly it did to achieve smoothness with lower battery use).

So, is it possible, to bring the same behavior to these CyanogenMod builds?

~Thank you
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] PseudoDev:
My VoLTE stopped functioning. It used to worked before. Also, like you had earlier mentioned in a screenshot, I never had an "HD" icon in my status bar but was still able to make calls until now. Although data works, I cannot place calls unless I use the jio4Gvoice app. What do I do now? Flash stock ROM again to make it functional or just clean flash the build for a second time?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] krsambhav:
Restore Stock Backup And Then Clean Flash This ROM.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] PseudoDev:
Actually, i never creaed a backup. Bu i have download the stock rom for indian variant. But, its of marshmallow. I think flashing that might not be a good idea....it might brick m phone. What else can i do?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] krsambhav:
Try Clean Flashing This ROM First. If It Doesn't Solves The Problem, Then U Have To Take The Bad Idea As Ur Next Step. Sorry If I'm Rude But Your Idea Of Not Making A Stock Backup Shows Ur Carelessness.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] PseudoDev:
can you upload your backup please?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] krsambhav:
No, Bcoz Of The Pathetic Speed Of Jio.

But My Backup Is The 139.63 Version Of XT1643 Indian Variant. If U Have The Same Variant, You Can Flash The 139.63 Version Using Fastboot. I Hope And Think Ur Problem Will Be Solved After Flashing Above Version.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] PseudoDev:
if you have the latest 139.63 stock rom.zip, can you just upload the recovery.img from that zip.?

its just 12mb
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ramansehra:
When clicking on any theme in Substratum showcase, I am getting this
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] GokulChandran:
Silesh's Ouija board is getting famous

Time for summoning spirits, to hunt down logless users
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Silesh.Nair:
The last time i saw them, the spirits were skimming thought a few pages of the thread. I haven't seen them since.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Bunny 2886:
Whenever I add new contact it doesn't show up in whatsapp. View attachment logcat.txt
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ____Mdd:
Not a ROM related problem, i did and got new contact added to WA without refreshing list. Check your synchronizing settings / reboot / refresh list / something wrong from your side!

PS, i am using regular 4.14 bulid.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] RohitJainWorld:
What is your--

Radio (baseband): M8952_70030.25.03.62.01R

ROM version: Invicta OS v4.14 normal

Gapps version: OpenGapps Arm 7.1 nano

Did you--

wipe: yes

restore with titanium backup: no

reboot after having the issue: yes

Are you using--

a task killer: no

a non-stock kernel: no

LOSSettings/Performance settings (other than stock): no

Dual SIM: Yes

other modifications: Magisk V14.0 for root.

What I did - I called 2 people then merged their call.

Then i wanted to hang up call of one man.

So I clicked on 'Manage conference call' button.

Phone app crashed after clicking on this.

It works on official Lineage OS.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jhoanleon:
Launcher

Hi. I'm running version 4.13

A query, how do I update the Lawnchair version that comes by default in the rom?

Thanks for this excellent work.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] strongst:
Download the new version and install it.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jhoanleon:
I already did, but the two versions appear separately. It is normal ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] RohitJainWorld:
Use titanium backup to link inbuilt lawnchair to play store.

Edit: I tried to link that to play store.

But can't link.

You have to install latest lawnchair as diffrent app from play store.

Or Update your ROM to v4.14
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] AlokSaxena:
Will the November security patch come to 7.1.2. I am not sure but I saw/read somewhere in google+ posts that google had already discontinued the updates for android 7.1.2
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ____Mdd:
My another device has kitkat with current october patch :p

Wait, if it's true, xda had post on news, and also on other famous android news sites, but nothing crowd around...

So, believe in silesh sir..:)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Silesh.Nair:
Read the comments in the link below.

https://review.lineageos.org/#/c/193392/
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ronsan:
[MENTION=4551757]Silesh.Nair[/MENTION], any possibility of this rom being updated with tv support?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Silesh.Nair:
4.14 already has the files necessary for tv support. You have to test and provide logs if you need it to be fixed.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ronsan:
Thanks!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] PC295:
Current Version

Current Baseband

Stock Kernel

After update to v4.14 camera crashes​ at start, other Cam-Apps too.

Log:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ronsan:
[MENTION=4551757]Silesh.Nair[/MENTION], Unfortunately, the tv app opens but can not find any channels. Follows logcat ...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Silesh.Nair:
Which device? On the 1643, both the built-in camera apps work.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] PC295:
XT1642 - Moto G4 Plus
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] rgnicholas:
Camera working fine for me on latest build... also stock kernel, stock camera. -> XT1625
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] PC295:
After reset/delete App-Data and reboot, there ist an error-message:

"Can't connect to camera"

Permissions are granted.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ____Mdd:
Try this app: https://f-droid.org/packages/info.aario.killcamera/

If it works then great,

otherwise check on other ROMs to check if camera is working there or not, if not then it's more hardware related..
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] PC295:
Kill successful, but cam still not working.

I will soon be installing InvictaOS v5.