yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
I don't think infrared proximity is enabled when the screen is on, all times i did the infrared test in the negineering mode a little yellow light appeared in the infreared proximity sensor, so i think it can be used only in some special moments
[OnePlus 7 Pro Guides, News, & Discussion] matze19999:
What you mean with special moments? It works in the same moments as any other phone..

When the screen is off, when you call someone...
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
When the screen is off maybe, when you call no, i already explained this in the first post.

Infrared proximity sensor works only in some moments, usually when the screen is off, when the screen is on, the infrared proximity sensor is disabled and you can check it with CPU-Z, when a sensor is disabled no values are shown
[OnePlus 7 Pro Guides, News, & Discussion] matze19999:
But I dont get it the problem

While youre calling, the screen is off when its dark ( lux sensor ), the gyrosensor registers specific values and maybe some other tricks... But it works like a charm :D
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
Oh yes, there are not a big problem, except for pocket mode.

In all cases I am not reporting a bug or some error, I'm just trying to understand together with the community how the proximity sensor works.
[OnePlus 7 Pro Guides, News, & Discussion] Taiffari:
https://www.ellipticlabs.com/2019/0...eaner-design-to-oneplus-7-series-smartphones/

Maybe one reason.
[OnePlus 7 Pro Guides, News, & Discussion] D4FR3NCH:
Maybe you will be interested by what I wrote in post #4, #7 and #9 of this following thread :

https://xdaforums.com/oneplus-7-pro/themes/proximity-sensor-issue-op7p-t3937147

I'm also trying to figure how proximity sensors work and I'm pretty sure of that :

Screen Off : IR proximity Sensor

Screen On : Ultrasonic Sensor

With the ultrasonic sensor, only skin is detected, so you can't trigger it with a flip cover, but it will detect your cheek/ear when you're on call.
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
I didn't say that thread, i don't know how the ultrasonic sensor works, but i'm able to trigger the proximity sensor with what i want if i'm in one of the position wrote in the first post
[OnePlus 7 Pro Guides, News, & Discussion] rootSU:
If that's true, then I think ultrasonic is doing a pretty bad job in detecting the ear.

The phone is big, so I usually switch sides while talking without earphones, the screen doesn't go off most of the times and leads to ghost touches, and sometimes disconnecting the call. :(
[OnePlus 7 Pro Guides, News, & Discussion] D4FR3NCH:
Sorry maybe I went a bit fast on this. Maybe not skin only. Actually Sreen-On' proximity sensor works with a combination of sensors (at least gyroscope and speaker).

Gyroscope for the position (phones tries to know when your on call position) and speaker to know if an object is near with ultrasound (like a bat).

You can read a very little about this on the website of the technology supplier :

https://www.ellipticlabs.com/2019/0...eaner-design-to-oneplus-7-series-smartphones/

What's your version ? I actually had this issue before 9.5.7 but now this works as intended.
[OnePlus 7 Pro Guides, News, & Discussion] rootSU:
Mine is on 9.5.7 as well, I thought it was worse for me after 9.5.7.
[OnePlus 7 Pro Guides, News, & Discussion] D4FR3NCH:
Did you try it with a proximity sensors test app or in the engineer mode?

Also did you update via OTA or via Oxygen Updater?

Try to do a full update again by downloading the full zip from Oxygen Updater then update via local update in System.
[OnePlus 7 Pro Guides, News, & Discussion] bakancs:
There is NO PROXIMITY SENSOR in the OnePlus 7 series. There is only a "virtual proximity sensor". Thank God I dont buy this phone yet. I wanted to. But I won't.
[OnePlus 7 Pro Questions & Answers] lakixd:
Hello,

I saw this post https://www.xda-developers.com/oneplus-7-pros-hydrogenos-beta-back-gesture and I thinking when this will be available on OOS version? I mean before how long we was waiting for similar update from HOS to OOS?
[Nexus 6P Q&A, Help & Troubleshooting] grewicked:
I just downgraded from DotOS 9.0 ROM to LineageOS 15.1, and since then Play Store says Device is not certified, and Magisk Manager fails the cts SafetyNet check, but passes the integrity one.

I have tried literally everything from Magisk Modules and some fidgeting with Termux, to Fully Formatting phone both via fbe_twrp and normal latest twrp.

Prior to 9.0 ROMs (yeah i tested a few of them) I had a fully functioning Resurrection Remix 8.1 with no problems (i say that because RR is based on LineageOS (i think))

Please help me :/
[Nexus 6P Q&A, Help & Troubleshooting] Lawlrus:
That doesn't make sense play store is saying the device isn't certified, I have never heard of an error like that in all the years I've been flashing.

Are your gapps up to date? You've flashed the right vendor for 8.1? I've gone from 9.0 to 8.1 and vice versa more than a couple times and I never had issues.

Unless some module you're using with magisk is doing it? I don't know anything about that , I use magisk for root, and for v4a and that's it.
[Nexus 6P Q&A, Help & Troubleshooting] grewicked:
Actually this is the second time I encounter that error, but the first time, a simple cache delete of the PlayStore.apk did the job just fine. This is a way more common problem than you think, but not so much that it has a certain solution.

I flashed radio, vendor and bootloader images that was provided from the original LOS thread here. Gapps were freshly downloaded from original site. The same problem was still there no matter if and what modules I had on Magisk.

Didn't try though to boot the rom without installing root, to see if the problem would still be there
[Nexus 6P Q&A, Help & Troubleshooting] Lawlrus:
Not saying it cpuld be root, saying it could be the magisk modules you're playing around with. I've been flashing ROMs since 2.0.x over the life span of six devices, this is not common lol
[Nexus 6P Q&A, Help & Troubleshooting] grewicked:
Initially I didn't use any modules, the fresh clean install of LOS had this issue by default, then i installed some modules to help with CTS failure, but still ...

With or without modules, the problem is still there.

SafetyNet checks weren't there up until recently so yeah, you wouldn't see any error of that kind even if you started your flashing career from the 1.6 android ...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CodeZero:
[IMG="OmniROM Logo"]https://img.xda-cdn.com/n4C0v0aEgx4LjJ2bZpdXvsysXJQ=/https%3A%2F%2Flh5.googleusercontent.com%2F-f4P5JsJ7xE8%2FAAAAAAAAAAI%2FAAAAAAAAAAY%2FSVgE864HY1Y%2Fphoto.jpg[/IMG]​

Download

Kernel source

Device tree source

Vendor source

MAJOR BUGS:

you tell me

FLASHING

Wipe data/system/cache

Flash rom zip

[optional]Flash opengapps nano

Reboot

Warning!!!

BackUp EFS and persist partition before installing. If you lose IMEI , use this backup to retrieve it in future.

Reporting Bugs

DO NOT Report bugs if you're running a custom kernel, third party apps or you installed Xposed

DO NOT Report bugs if you've modifies system files

If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)

adb logcat > logcat.txt

adb shell dmesg > dmesg.txt

If it is a random reboot, grab kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

adb shell cat /sys/fs/pstore/console-ramoops

If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log

Bug report should be done in following format provided in code below

What is your
Omnirom version:
Omnirom Download url:
Gapps version:

Did you
wipe:
restored with titanium backup:
reboot after having the issue:

Are you using--
a task killer:
a non-stock kernel:
other modifications:

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

Credits :

- The Omnirom Team

- Thanks to ROM that have been built on Legacy Server and also thanks to all the legacyserver member friends

- Special Thanks to @wzedlare and @vache without them it wouldn't have been possible for us to get Nougat and Oreo

- Thanks to @nonesovile96 , @ahmedmaz, @kiam001, and everyone else from treble cedric testing group for testing rom

- Let me know if i missed anyone​

XDA:DevDB Information

OmniROM, ROM for the Moto G5

Contributors

CodeZero, vache

ROM OS Version: 9.x Pie

ROM Kernel: Linux 3.x

Based On: AOSP

Version Information

Status: Stable

Created 2019-06-11

Last Updated 2019-06-16
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] kutlay1653:
Great job awesome mate
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CodeZero:
OmniROM first official weekly is up !!!!!!!!!!!

Changelog

:-

Initial official build

SafetyNet fixed

Navbar enabled by default now.

Download Link

:- http://dl.omnirom.org/cedric/omni-9-20190616-cedric-WEEKLY.zip

As usual link of rom is updated in op

[*]Clean Flash recommended

Note

:-

There will be no more upstream changes in the kernel if you need an answer why then have a read over here https://lore.kernel.org/lkml/20190516150548.GA30718@kroah.com/

Regards,

CodeZero
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] rahimali:
All other ROMs aside, it's a fantastic thing when a device gets an Omni ROM release. The first release was unofficial but now that we've gone official, many many congratulations and many many thanks to the dev [MENTION=5982915]CodeZero[/MENTION] and to all supporters/contributors! This is indeed an outstanding achievement! :good:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jpm92:
Many congratulations [MENTION=5982915]CodeZero[/MENTION] !!

Has anyone tried camera with this ROM? Do you think it's better working than in Lineage OS?

Cheers!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Bruno Morais:
I can not open games in this rom, would it be any configuration? rom clean and everything original.

Congratulations on the job.

Answer: Found problem, had disabled chromium. After reactivated they worked.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] fenerbuuh:
nice job..omni back to moto g5 official. thx cz
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] usucapiao:
This ROM is blazing fast on my device and has some good personalization options. Using as my daily for some time from now on.

Thank you Code!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jpm92:
Is the camera fully working? Any bug? ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] infoflo:
This ROM is outstanding. Really smooth, fast, and stable. And camera works flawlessly too btw. Props to the dev!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Spardose:
Camera isn't working properly. If you try to do more than one picture the whole phone crashes - independently of the app you use.

I made some "Crashlogs" with the Matlog-App, but I don't know how to get them (where is its save folder?).

Strangely you can make a single photo, restart the app and make another one. Until now I didn't face that green tiles stuff on darker photos.

Also Omnirom has no App2SD functionality which limits the usage very fast (2-500mb/map for Google Maps).

Edit:

What is your

Omnirom version: 9-20190618-cedric-WEEKLY

Omnirom Download url: First one from the first post, then an OTA Update

Gapps version: 9.0 nano

Did you

wipe: TWRP (The only wipe you need)

restored with titanium backup: Some Apps

reboot after having the issue: Yes

Are you using--

a task killer: No

a non-stock kernel: Uhm... the one from omnirum i suppose

other modifications: No

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed

Edit2: Ok i found the log: https:// pastebin.com/0EUYjw9Q
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CodeZero:
thanks for the logs i'll loook into it
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Lalit@1999:
Best rom till now if you guys can provide gcam in next update that will be awesome with working features
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] AlaskaPardus:
Sorry for my (stupid?) question...but i have no /persist partition in TWRP for backup....or is it called with an other name?

have:

-System

-System Image

-Data(excl. Storage)

-Cache

-Boot

-Recovery

-Vendor

-EFS

-logo

searched the forums, but found nothing about this....
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] aragorn1203:
Check this post: https://xdaforums.com/g5/help/help-testing-build-twrp-arm64-t3874472

This TWRP worked pretty well for me, managed to do a backup and restore, although I did remove the encryption of my phone with Format Data, so I am not sure if it works well with encrypted phone.

Hope it helps :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] riyan65:
Can anyone post the picture of the ROM
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Baron60:
Buggy rom or Stable for this phone? (asking for a friend)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] XVFreak:
Camera doesn't work, no video possible

Dual-SIM doesn't work. Buttons to switch between the Data-SIM-Card toggle only the first SIM :(
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] The-Saint2k:
[MENTION=5982915]CodeZero[/MENTION]

Hello,

it'll be possible to fix the camera issue. I love this ROM. Strange is that I can take photos with the APP signal, even several in a row.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
[MENTION=5982915]CodeZero[/MENTION],

I have a problem with an app (MediaMarkt app) it crashes in this rom after few seconds. I've attached the log.

Please If you have time fix it. This rom is great, thanks for your work.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CodeZero:
I'm trying my level best to fix it..

alright I'll take a look
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mistersixt:
I have frehsly installed OmniROM 20190707 + Pico Gapps. I have two main issues:

1) When adding a micro-SD card (tried two different cards) to be used to expand the storage it throughs excecptions and the memory isn't expanded (like if the SD card isn't recognised). Logcat during the formatting process till the end can be seen here:

https://www.jabber-germany.de/tmp/sd-card-MotoG5-Omnirom-9-logcat.txt

2) When going to Settings --> Storage the application is crashing, logcat to be seen here:

https://www.jabber-germany.de/tmp/settings-storage-MotoG5-OmniROM-logcat.txt

Kind regards, mistersixt.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Sonisudhanshu:
[MENTION=5982915]CodeZero[/MENTION]

I Too am having a similiar (or same) problem. I had an sd card that was formatted as internal on stock(TWRP) . I Flashed OmniRom and boom... i get a notification that there is no sd card. i go to setting ->Storage .... boom Crashed

Any One Can Help I Flashed Latest version 7/07/19

Edit:- Took the SD card out and formated in PC it turns 16MB. Then I opened drive manager on PC ,there were 2 partitions 16 mb , 14.8 GB

Deleted both and formatted it back as fat32

Then inserted it in mobile,

The storage is now working, SD is also working
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mistersixt:
That indeed works when using the SD card for "external" storage, but if you choose to expand the existing internal storage it starts formatting things from scratch, ending up in the very same situation with the errors mentioned.

Kind regards, mistersixt.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] BrianDavid16:
Hi. I'm tired of Stock Oreo, I want to upgrade to Pie, but IDK which rom is more stable, this one or Bootleggers 4.0? Thank you.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
I never used bootleggers, Omni rom has the actual security patch, bootleggers as I know is discontinued.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] infoflo:
I just flashed gRodrigues_'s perfect GCam 5.1 and i can take multiple (good quality!) pictures without crashing. 30FPS video also works. However, it is quite dark. Avoid activating 60FPS video, otherwise you will have to reinstall the app (or reconfigure the app).
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dschrempf:
Hi, are there any news on the issues with the camera?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Spardose:
Camera still jams the phone

The camera issue is still there.

Here are the logcats from the actual OmniROM build (21.07.) and an earlier one (07.07.)

Weekly 07.07.2019 pasted. co/b56fb206

Weekly 21.07.2019 part 1 pasted. co/523197e6

Weekly 21.07.2019 part 2 pasted. co/a2f78ea3
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] FaiselW:
Does this rom support exfat or NTFS sd cards? I can only get fat32 sd cards to load.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Nyakov:
Build 2019-07-21.

No gapps.

Cannot import contacts from file. (they do not appear after import)

Can add contacts by hand.

Can someone confirm?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Tiki Thorsen:
For those having issues with the Camera (freezing etc) go to the "Perfect Gcam 5.1" thread on the forums.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jpm92:
Can you provide a link to the post please?

Thank you,

J.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
In the time it took you to write that post you could have put

Various Fixes for Moto G5/G5s (Unity) into Google - its the top result

Or you could have entered it into the magisk repo search in the app

Golden rule of xda - please search
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jpm92:
You're totally right, sorry. It's just I'm quite up to date with the forums and I never saw it so I imagined it was something new and particular that he found somewhere. Also I didn't know there was a repo for magisk. My mistake, thanks!

About the fix, sadly it didn't work for me.

J.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Tiki Thorsen:
By "fix" I meant that at least the pictures are not green anymore and it did not freezed my phone again, the autofocus laser still does not work (cannot focus small text).

Spoke too soon, after taking 2 picutres, the first one was fine but the second one did not got saved and the phone froze.

In all the previous 3 rooms and I've tried, all of them have camera issues sadly.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Tiki Thorsen:
Sadly, after tried every fix/solutions that I found, nothing fixed the numerous camera problems so I went back to the stock rom (8.1) and the camera works perfectly now. (a big trade-off but ultimately is worth it).
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dschrempf:
GCam pictures work fine (but the focus sometimes fails as you said), the video also doesn't work.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] fenerbuuh:
best rom for the g5. Everything works perfect. Keep going. thank you
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Lucas Traversim:
I'm trying to install, but seems like a boot loop! How many minutos to reboot after install this rom? I have tryied LOS16 by [MENTION=5982915]CodeZero[/MENTION], but didn't liked.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Spardose:
Bootloop on WEEKLY-20190728

I failed to install the update 20190728 too. When booting the system the screen stays black and the background light goes repeatedly on and off.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Lucas Traversim:
After try again without Wipe Dalvik, my device starts normally.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Tiki Thorsen:
Yes, you were right, with some patience, config and tweaking you can get a fully functional camera on OMNI with that GCam Mod.

I stand corrected.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] cedricuser:
Yes, it is.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] cedricuser:
The camera issue

... is the one huge problem on all the custom roms I've tried for this device!

It is not possible to take more than one picture with my phone without crashing the omnirom system.

I have uploaded a most detailed log and split into three parts:

Opening the app:

pastebin.com/6S4H6F94

Taking the first picture (successfully):

pastebin.com/STDDTvWW

Trying to take the second picture (phone hangs, "hard"-reboot is inevitable):

pastebin.com/n9pkV6m8

A few seconds after trying to take the second picture, HAL errors about missing frames occur and something is causing the operating system to crash.

If it is not possible to solve the main issue maybe one could at least write an exception that kills the camera function rather than letting the system crash.

However, it is possible to open the camera app from within another app to take one picture several times without crashing. A possible workaround would be an app which does just that: open the camera app, saving the image and possibly open the camera app again.

I am willing to help solving this issue but I have little experience with modding or app development. Documentation for rom development is hard to find. If someone can provide more information on the camera issue or could help I would appreciate if you tell me.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Tiki Thorsen:
Indeed is a big issue and the only "solution" is: https://xdaforums.com/g5/themes/perfect-gcam-5-1-moto-g5-cedric-t3890519

It has issues (the auto focus does not work properly) but is usable at least.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] girishjangir7:
Hey guys i am facing lag in opening apps in august update, anyone knows how to resolve this error???
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Tenchu:
Hi, Since the last two updates (20190728 and 20190804) every time I restart the device the date and time are delayed. Anyone with same problem?

I am doing automatic update and not clean install.

Thank you for your attention
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gunterkoenigsmann:
camera

For me the date and time is correct => something that has to do with the timezone?

Did a bit of troubleshooting: If I close the camera app by swiping it out of omniswitch and start it again it works fine for the next photo. Then I have to close it again.

And the phone doesn't crash. But both camera and launcher seem to wait for the same resource that is freed on closing the camera app. Don't know what resource they wait for, though.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] girishjangir7:
What config and tweaks are you talking about??

Is it included in the perfect gcam Post on xda??:confused:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Tiki Thorsen:
Yes, is all included in the zip with the migration app.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] girishjangir7:
I want to get the changelog for the latest 18th august build to decide is there any major change so that to upgrade or not,

How can i get the changelog???
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] aragorn1203:
There should be an app named "Changelog" already installed with the system. There you can select from which date you wish to see the changes. If you're not getting any results just clear cache in the app settings.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] girishjangir7:
Yeah i know about that app but it doesn't show any changes like security patches and ui changes etc.:o
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Security patch version is displayed in about phone

A simple Google search will tell you what that months security patch includes

Any other changes look at the github source code for both the device tree and the rom source code for the commits made