yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Illuminati Wave:
Question of camera

The camera has already been fixed or continues to behave erratically (the phone freezes when taking photos / videos, the app closes or does not store them directly)

I ask him why the last version he installed brought those errors with the camera (Even the quality had been reduced compared to stock) :eek:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] LNX86:
Which previous build don't have the camera and sensor errors? The one right before the latest release?

This rom is pure gold, pretty fast, and I would like to use as my daily, but I use camera a lot on work.

Thanks!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] takoa:
:) Good job, although it has some flaws.

There is no Google lens

Google Now does not work properly
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CodeZero:
New Build [09/07/2019] Is Up!

Changelog

:-

Added perfboostsconfig.xml from stock

[*]Fixed inverted fp gesture issue

[*]Removed persist.camera.is_type (which partially fixed green tint camera issue in low light)

[*]Added drop_unicast_in_l2_multicast commits

[*]Included all new changes from LineageOS

Download Link

:-

As usual link of rom is updated in op

[*]Clean Flash recommended

Regards,

CodeZero
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jpm92:
Hello CodeZero, camera is working pretty well in DotOS, maybe you can check what they did and hopefully we will have official LineageOS ?

Thanks for your work!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] XVFreak:
The camera (also Video) works pretty well in [ROM][9.0.0][OFFICIAL] Pixel Experience [AOSP], perhaps you look at this ;)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Finn10111:
Thank you for the new build. I did a dirty flash over the last build and everthing seems to work fine. In the past I had huge problems with the camera, these problems are gone since the last build. The camera also works fine with the latest build. Sometimes I had green pictures under low light. This did not happen often but with the new build it seems this problem is also gone but I can't say that for sure after only one day of usage.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jpm92:
I also had this problem, but it was random, nothing to do with light. Sometimes it just happened. Also camera doesn't work, only footej, and it freezes after some pictures. Is it fixed for you in this build? Please tell me if camera is working perfectly now ?

Anyway this bug seems to be phone-related ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Tiki Thorsen:
Everything works perfectly except the camera; sometimes the picture gets corrupted but most importantly the camera has lost the ability to focus properly (ej; can never focus on small text).

¿Is the lack of autofocus because the laser is not working?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
Sorry for a beginners question: this link discribes the right sequence for clean flash?

http://ajgupta.github.io/android/20...ean-flash-and-dirty-flash-Android-custom-ROM/

Kind regards

Erik
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Finn10111:
Yeah.. it seems not all bugs are fixed. For me the camera works the same as in the last build. The green picture bg still happens sometimes. But more interesting is that I just also noticed autofocus does not work properly after Tiki Thorsen mentioned that. But this mostly seems to apply to pictures taken from the near which I don't do often.

Nevertheless it is a nice build!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] uran235:
I get same strange effect the camera as described above. It works okay with Google camera app,tho
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
CodeZero thank you for this great ROM.

Greetings from Belgium

Erik
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Aragorn64:
Hello.

I installed this ROM + Magisk successfully, but hen I boot the device I get this message: " Android System. There exist an internal problem with your device. Contact the manufacturer for more details.".

Does anyone know why I see this message on every boot?

Thank you
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
This is because your vendor fingerprint is different from the system fingerprint

Were you on the latest oreo firmware when you flashed the rom? If you were on Nougat and you flashed this that could cause the issue (or any other rom that could have changed the vendor fingerprint)

You may also be able solve the issue by doing the following (root required)

adb root

mount -o rw,remount -t ext4 /system

adb remount

adb pull /vendor/build.prop ./build.prop.vendor

adb pull /system/build.prop ./build.prop.system

copy the value from build.prop.system to build.prop.vendor for ro.vendor.build.fingerprint

adb push ./build.prop.vendor /vendor/build.prop

adb reboot
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Aragorn64:
I made a clean install through TWRP. I erased all system and user data and wipe all caches.

I'm new to ADB. Can you tell me a website with a tutorial to accomplish that?

Thank you.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
It's the same as you would for fastboot commands on your pc

Have your device booted normally

On your pc goto where you have adb.exe (should be the same place as fastboot.exe) and open a command prompt there

Type in the command window

adb devices

Your phone should be displayed - if it's the first time you are connecting via adb it will probably list it as unauthorised

Look on your phone and accept the connection and tick the box to allow it all the time

If you do adb devices again it should list it

Then just follow what I wrote above

I presume you were on oreo firmware already then

Just so you know what the commands do

The first part will mount the device as read/write so you copy files to it & overwrite files

The pull command will copy files to your pc - so you are copying both the build.prop from system and vendor to your pc

You then replace the fingerprint value from the system build.prop to the vendor build.prop (using for example notepad++ which is different from windows notepad)

Then you push (copy back) the file

Google how to use android adb for more details and more specifically you can Google Android System. There exist an internal problem with your device for more info on the above solution
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Tiki Thorsen:
Indeed that is the only issue, which is rather minor, since pictures are fine unless you take it from very close at small text (for example i was trying to take a picture of a LGA 775 processor and it was impossible to get it to focus).
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Aragorn64:
Thanks for your clear instructions :).

I executed cmd in the folder where adb and fastboot are.

I executed the first command fine, but when I execute the second command (mount -o rw,remount -t ext4 /system) I get this error: "mount" is not recognized as an internal or external command operable program or batch file".

Do you know what I need to do?

I have searched a lot but not found how to execute that command.

Thank you
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
Do you give adb root privileges?

And did you use SafetyPass magisk module?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Aragorn64:
Yes, I use SafetyPatch (Magisk) and give root privileges to Shell (com.android.shell). Also, I give root access to Apps and ADB.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Chris180206:
logs for camera artefacts

Hey [MENTION=5982915]CodeZero[/MENTION],

now with a little delay the logs for the faulty camera2 after all... scanning this post quickly, it looks like I'm not the only one experiencing the problem:

https://privatebin.net/?0089148f227ea408#4r7paNWTXQaMgBE54isphQVTrGRhBQU7cMM4ttMceBzk

It's quite lengthy, but I guess, you know, what to look for.

Based on my experience the problem does occur, when it's dark(er). I never had those (mainly) green or orange artefacts with the rest in black and white in well lit motives.

Attached the last of four picture taking during the logcat.

And as mentioned, that didn't happen with the org.lineageos.snap app ;)

Let me know, if you need anything else and again thanks a lot for your support and kind regards,

C
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Sorry I think it should have been on the same line

adb root mount -o rw,remount -t ext4 /system
adb remount
adb pull /vendor/build.prop ./build.prop.vendor
adb pull /system/build.prop ./build.prop.system

copy the value from build.prop.system to build.prop.vendor for ro.vendor.build.fingerprint

adb push ./build.prop.vendor /vendor/build.prop
adb reboot

You could also use a root file browser on your phone to manually copy these to your sdcard and then to your pc to edit (obviously rename the file so you know which is the system and which is the vendor but make sure you rename it back when you replace the original file)

Edit the vendor build.prop and put it back on your sdcard and use the root file browser to replace the edited vendor build.prop making sure you keep the file permissions the same (probably rw-r-r)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] junior276:
Using FCamera app, I have no bugs, all working

---------- Post added at 03:56 AM ---------- Previous post was at 03:51 AM ----------

https://androidfilehost.com/?fid=1395089523397947600 the app
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
I've you delete the module you don't have this error, because your original build.fingerprint was restored, and if you change the build.fingerprint in build.prop maybe you don't pass anymore safetynet,
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] joshdsy:
Has any one used jio(volte) on this rom ? I have flashed the may 22 build but for some reason volte does not work just lte ? or should i update to a newer build ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] achintyakv:
When I am flashing the latest build, I am getting an error. it shows as "Failed to update system image". and in the next line it is written as Error 7.

What should I do? I have attached the log file.

https://drive.google.com/file/d/1aDYvSmIigq2b-wQK1XmbY_xFpzoGqCWA/view?usp=sharing
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] rahimali:
Update TWRP
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] achintyakv:
Getting the same error again after updating TWRP.

Edit: Successfully updated. Downloaded the zip file again and it worked. Thanks btw.

---------- Post added at 04:12 PM ---------- Previous post was at 03:26 PM ----------

same problem for me brother. Jio not working. But for me this problem is in the latest build.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Natanji:
Hi, is there any way to use this with an ext4 formatted /data partition? When I use TWRP to format it to ext4, the device will sadly fail to boot. It will show an "enter your password" dialogue as if full-disk encryption (FDE) was enabled, but this is after a reformatting and wipe of /data, so the system shouldn't think that anything is already encrypted...?

I've had issue with the stability of f2fs in the past, and to my knowledge the advantages of f2fs aren't as great on devices with file-based encryption anyhow, which Pie does.

I also have a different issue: the hardware buttons don't seem to work at all with this build (but the finger print reader itself *does*). I have to enable on-screen navigation bar to even use the back, home and recents buttons. Anything I'm doing wrong? How can I get this working?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
What was your stock rom version?

Where did you get your TWRP?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Natanji:
Stock ROM was the one linked in this thread, in the second post: https://xdaforums.com/g5/development/twrp-flashable-soak-test-oreo-t3827913

And I got TWRP from the first post in this thread here.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] macGam:
I had the same issue. The solution was (for me) the #304 by [MENTION=8851607]Andrej_SK[/MENTION] :

Flash the file in this post using the TWRP to make your fingerprint work in Pie CustomROMs
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Natanji:
But my fingerprint works without any issue? The hardware buttons don't.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
Then go to moto actions and reactivate hardware buttons.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] FranGAMER321:
Works on XT1670 (2+32)?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
Fcamera works but corrupt mp4 video's. I can not playing video's made with fcamera.

Lot of bugs with Camera or open camera green shine or phone hangs with video. Frustrating

No other issues.

I hope
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] guipolonca:
My phone doesn't let me install FCamera because it says I already have an app installed with the same package name. I suspect it's the camera app installed with gapps. Do anyone know how can I solve this? I'm unable to uninstall the native camera app.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
With latest build.

Googlecamera is working. Video not its freezes.

Open camera lot of problems. Green shining ,freezes very slow. Camera and video.

Fcamera camera is working .video had problems with playback.

Regards

Erik
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
Some streaming apps don't work.

VRT nu. TV Vlaanderen

Each streaming wint play
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] junior276:
FCamera has conflict with Google Camera

---------- Post added at 01:56 AM ---------- Previous post was at 01:43 AM ----------

I don´t have problems wich video in FCamera app, try install the magisk module "Various fixes for Moto G5/G5S"
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Tamer23dz:
My device : XT 1676

Bootloader : unlocked

Recovery : TWRP

Flashed this Rom . Everything is great but the fingerprint lock option is missing . I read that u have to downgrade your stock rom first in order to make the fingerprint sensor work on any custom rom . Can anyone help me with a guide on how to get the fingerprint lock option back on ? Thank u ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
With this magisk module. Google camera and video works :laugh:

Open Camera have problems when i take pictures fast.

I didnt test fcamera . google camera is working fine.

Thank you for this advice

Erik

---------- Post added at 09:08 PM ---------- Previous post was at 09:05 PM ----------

[

---------- Post added at 09:15 PM ---------- Previous post was at 09:08 PM ----------

Device has problem with stream

Anyone problems with streams ?

I get always an error ; also on several apps

"Device has problem with stream "

I think since this update to oreo and lineageos16

any idea please?

egards

erik
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Andrej_SK:
Just flash this file using TWRP https://drive.google.com/file/d/1e_8alb2MFX7uXqjYZ7OruCCImbYIge1r/view
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Tamer23dz:
Thanks alot . Respect <3
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nixgegendenise:
Hi,

is the native Android SIP client available in this ROM?

Thanks!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mario_2008:
Fingerprint to sensitive

Hello,

I updated now also my G5 (XT1676) to this Rom.

I used in the past LineageOS 7.1 for a long time.

Now - with the Lineage 9 Rom I have the problem, that the fingerprint sensor is much more sensitive then before. With the 7.1 Rom, it took a little more time to recognize the finger than now. But now, when I put the phone in the pocket, I feel many times a vibration from a false "finger" and when I take the phone aout of the pocket, I can not use the fingerprint sensor because of to many wrong trys.

Is there a possibility to fix this problem?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] girishjangir7:
You should turn on Pocket dials/prevention in settings menu of the rom, so that when the phone is in the pocket than your phone will not be able to unlock itself.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mario_2008:
I searched for something like that but I can not find it. Can you post a screenshot or the way how to find it?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] girishjangir7:
https://www.techrepublic.com/article/how-to-prevent-your-android-from-pocket-dialing/

You can refer to this article.Hope it helps:fingers-crossed:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mario_2008:
Thank you for this hint. But all this is not solving my problem.

There is no option in the lineageOS to set the pocket mode (or I can not find it).

The SmartLock is not, what I looking for and i tryed the pocket lock App and this is also a different function. I also does not solve my problem.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] girishjangir7:
Settings > Display > Advanced > Prevent accidental wake-up

You can configure using the above steps:)

And if the above doesn't work then you can use this application found under this link:

https://xdaforums.com/showthread.php?t=2719307
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] uran235:
Saving a video is only possible after fresh reboot. If I forget to reboot bevor doing the video, da camera app hangs up.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] freeAndro:
Unfortunately the camera makes problems with me with pictures are sometimes strange fractals in the picture. Videos Filming doesn't work at all. Because the camera app crashes after shooting.

With version lineage-16.0-20190709-UNOFFICIAL-cedric
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] prievidza:
In Foodie - camera fór life video works.

---------- Post added at 01:23 PM ---------- Previous post was at 01:20 PM ----------

In Foodie - camera for life video works.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] keinhaar:
I've had all the camera problems too.

After installing the magisk module for g5 camera video is finally working in gcam, even if i do not do a fresh reboot, as it was required before.

Also foodie camera works well. And its a lot faster in taking pictures then gcam.

Thank you for finding those solutions.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
[MENTION=1670014]keinhaar[/MENTION] which module? I can't find it.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
See screenshot
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
Zee screenshot
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gianni9915:
Lineage OS 16

Can i dirty flash this ROM if i have lineage OS 15.1? Are there any bugs in the latest version of this ROM?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
If you search in this topic dirty flash it is not recommended .

Bugs? Read first page.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] HelmutK.:
Hi there

I've got a problem with using the sdcard.

The system never asks for permission so can't use any sdcard tools.

Got anybody an idea?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Has this ROM Moto Actions?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] James160103:
It has all the gestures the Moto Actions app has (gestures such as shake to turn on flashlight etc.) but not the Moto Actions app itself.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Okay :) I'm going to install it in 2 weeks then and put on Magisk, EdXposed, GravityBox [P], Substratum and Titanium.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
One question: [MENTION=5982915]CodeZero[/MENTION] how did you built the TWRP 64-bit?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Is this ROM based on NIGHTLY or stable?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Finn10111:
Have you looked at the backup options of TWRP recovery? There is a checkbox for each partition you want to backup. Just check EFS and include it in your backup (I assume you also want to backup some other partitions)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] O.P.P:
No I haven't but thank you

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

One more question do I need to be on stock 8.1?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Finn10111:
Please have a look at the second post: https://xdaforums.com/showpost.php?p=78563551&postcount=2

This rom works for me without flashing stock 8.1 before, I have used LineageOS 15.1 before and did a full wipe. But I only did this because I was afraid of flash a stock rom and I do not want to use the fingerprint sensor.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
Works moto action ?

How can i backup my efs and imei, if i go to my twrp i dont see this option in backup.

What means volte wont work? means that 4G wont go?

If i backup my current pie rom only the data partition in twrp, can i restore them here in los16?

Sorry if i asked to many.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Andrej_SK:
I believe you need 64bit TWRP to backup EFS. Not sure tho.

4G should work, but for internet connection only. Voice calls over 4G won't work, if VoLTE is broken.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
But with 3G i can call?

And i used a 64 twrp.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Andrej_SK:
Yes, you will be still able to make phone calls over 2G/3G networks even if VoLTE is broken (assuming your IMEI is fine).

Which version?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
https://androidfilehost.com/?fid=673956719939821589 i used this link
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Andrej_SK:
Try to redownload and reflash 64bit TWRP (your link is correct) using the following command:

fastboot flash recovery name_of_file.img

Then try to backup your EFS once again.

In the worst case, if you loose your IMEI, just revert to the stock Nougat ROM via fastboot (exclude gpt and bootloader commands to avoid potential hardbrick), flash the latest TWRP to flash no-verity-opt-encrypt-6.0 zip (https://build.nethunter.com/android-tools/no-verity-opt-encrypt/) and this zip, which fixes ownership of persist and brings the IMEI back --> https://androidfilehost.com/?fid=3700668719832240875. Wipe cache/dalvik cache, reboot into the OS and your IMEI should be back.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] O.P.P:
Getting error 7 trying to flash
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Andrej_SK:
Are you using 64bit TWRP?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
I am still a little confused: it says I should flash stock Oreo first but in the next post (second post after OP) it says that going back to stock from a 64bit ROM is not recommended.

If I should follow the first post after OP, does it mean that I have to flash stock Oreo first than directly LOS16 afterwards or should I boot into stock OS first and then flash LOS16? :confused:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
Now I have OEM, EFS and logo thats so right?

And if my question are answered "If i backup my current pie rom only the data partition in twrp, can i restore them here in los16?" and "moto actions work?"

I will maybe change to this rom.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Andrej_SK:
Yes, it should be correct now.

Sorry, I can't tell about the Moto actions as I didn't try this ROM yet. Also, I have never ever tried to restore another's ROM data partition yet.