yashsingh1/xdaforums huggingface dataset:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Yes unfortunately on screen buttons not responding on custom DPI display (revent back to stock DPI)

And probably recording video FC the app

Just put your phone into do not disturb mode before recording video

Also a question, camera mod have button to lunch camera app, is it working?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] SolusCado:
Ah, thank you! That did the trick! My camera mod is already packed though; I won't be able to check it until I land, and I probably won't have internet access ask weekend...
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
I use magisk 12 because I thought the freezing problems were related to magisk 13.

But I think I have found the random freezing issue for myself... at least I think that. It was CF.Lumen with "Anti flicker (may crash)". I switched to compatibility and it seems to help.

Today I had another really weird problem, more to that later in that post.

Thanks for the tip with mods_camd. I will look for a way to disable it since I don't use camera mods anyway.

Doesn't help, first thing I have done.

One weird thing happened today and it might be that this one is a hardware issue... but I haven't seen a real indicator for that, next time I will get a dmesg and/or other logs.

The screen got blank, completely black while I was trying to answer here in this thread with the xda-app.

But (and that's what is weird) I accidently dropped the phone on the screen side (with plastic edge protector on it) about... 5 cm? (about 2 inches)

I was laying in the bed and dropped it to the edge made out of wood. This is actually nothing important since it still worked after that. But less than 15 seconds later the screen was black.

The screen was still reacting like there was nothing, I still could type characters in my response in the xda-app and the navbar was working, so did the power menu on long press power button but I haven't seen anything, only vibrations and sound (checked if it charges).

I did a force reboot but the screen was still black. (Felt the vibration after the 5 seconds of the unlock image.)

I did another force reboot, same thing. I bumped it with the front- and backside again on the edge of the bed but nothing.

Then some seconds later the RR-logo appeared and it worked like nothing happened.

Sorry for the long text but I wanted to describe it as exactly as it was.

Maybe I wipe data (since I tested magisk 13 without success, safetynet didn't pass and went back to magisk 12 with deleting magisk-files in data and reflashing magisk 12) if that happens more often.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] leoshyt:
the botton on camera mod can't open the camera app, and the shutter botton also can't let the camera focus
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
[MENTION=4724631]Loader009[/MENTION] not sure about black screen but you can remove camd from /system/bin/mods_camd and see is that fixed freezing

Damn it

Can you please send me logs with PC

Connect mod

Press mod buttons

Disconnect mod

Connect usb to phone

And take logs with PC
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] ehsangerman:
WIFI is not working in this version . after searching for network it restarts !!! can not find routers
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] leoshyt:
with rr rom? I've already update bl to 91.07 with ota, so I can't get back to stock rom.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Yes RR
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
thx, I renamed it to mods_camd.bak and removed the executable flag with chmod.

If that doesn't help, I will delete it... but that shouldn't do any difference.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] leoshyt:
The time to catch logcat seems too long, so I finally disconnect the usb.

The light senser dones't work well at night with enough light from lamp. And the lens also can't foucus well even with manual operation, the lens try to focus for times but still can't get a distinct picture.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Very helpful logs

I'll take a look tnx

You can wait only 10 second and disconnect usb

It's capturing logs until you disconnect USB

[MENTION=6897315]leoshyt[/MENTION] can you please put your device SELinux to Permissive and then test focus and keys no logs needed

goto setting->configuration->misc->turn off selinux switch

And flash this Attachment file on TWRP may fix keys
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] newman79:
Be sure to allow permissions in the Moto camera app.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
[MENTION=6298645]erfanoabdi[/MENTION]

This helped, rebooted twice to be sure, last time with 8% battery.

No boot-freeze anymore.

If I find anything else unusual, I will try to catch some logs.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
I'm on the 2017-07-06 build.

Google camera app is in use

Connected camera mod

Shows connected in notifications

Nothing else...

Doesn’t start camera app

Camera mod doesn't start

Start button on camera mod doesn't start camera mod

I'm getting my new laptop set up and will take logs soon
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Just had an afterthought... I'm using this

https://xdaforums.com/apps/magisk/xiaomi-safetynet-fix-t3600431

to pass SafetyNet. It changes the build fingerprint thusly; is this important for my problems with the camera mod?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] leoshyt:
Sorry, I've already flashed to a modified stock rom. Thank you for your work.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Is google camera working on stock rom?

Try moto camera

Please flash this zip and tell me about camera mod buttons : https://xdaforums.com/showpost.php?p=72939612&postcount=269
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Could not install the google camera apk on stock ROM. I get message "There was a problem parsing the package" It was the arn64 version.

---------- Post added at 06:47 PM ---------- Previous post was at 06:30 PM ----------

I flashed the zip.

Using Moto Camera

Camera didn't open

Buttons on camera mod do not function
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
What?

Moto Camera did not open?

Mod is working for other users
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Yep what I mean is that the camera lens did not come out.

EDIT: I'm going to begin with a clean install and retest. I will be able to test camera mod in about an hour
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
OK I wiped everything and flashed the newest ROM. Same problem with camera mod. I attach it, it shows as attached in notifications, but camera app doesn't open. After manually opening camera app (moto camera) it opens but buttons on camera mod nonfunctional
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
ok so camera mod is working

only problem is buttons

please flash that zip file i mentioned before then check buttons again
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Let me correct my previous post. Camera does NOT open when attached. When I manually open the moto camera app, the camera mod lens opens and I can use the camera. The telephoto slider is also functional (yay!) but the shutter button "halfway to hold focus" is not functional. This is all AFTER flashing the cammodfix zip.

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

Man I am so stoked! Thank you so much [MENTION=6298645]erfanoabdi[/MENTION] for all of your hard work to make all Mods functional.

After all your progress on the camera mod it seems like too much to ask if you could solve the last few problems

Video mode requires do not disturb

Focus hold not working

But now I'm able to use the camera mod and I'm sooooo happy :laugh:

U R Def Da Man!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
[MENTION=6298645]erfanoabdi[/MENTION]

I saw that you released a new version. Have you included the fix-file?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
I'm on the new build now. Camera Mod and all other Mods are functional. :)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Yep

In your previous you said the camera mod shutter button is working but

Halfway to focus isn't working, right?

What about power button?

Does focus is fixed on new version?

I'm uploading my camera app use it

https://mega.nz/#!eZZ3nSjL!4LYkgPyqdf3UPb8efvf5iGjJD3y5BbC1UuszYxmJ5Z8

goto settings->apps->(gear icon)->special access->Do not disturb access->turn on my moto camera app switch (like screenshot)

Please connect your mod

Open camera app

Try to focus

Press buttons (power and shutter)

And go to syslog app and take logs, send the logs here ;)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Focus: Holding the shutter button half-way down is supposed to lock the focus and allow you to move to somewhere else without the camera trying to refocus. I can do the same thing by pressing on the focus ring on the screen until it locks so that is no big deal

Power button: Button on the Camera Mod is non-functionalit does nothing

Video Recording: As I understand you the "camera app" is a workaround that will automatically set Do Not Disturb while the camera is in use? Correct?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Tnx for details on buttons

But I've modified moto cam app to fix do not disturb (on stock rom will let moto cam app put device to don't disturb but in custom ROMs I've added permission request for app which you can set on setting)

And logs?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Uninstalled stock Moto camera

Installed your camera apk

Settings/apps/and gave all permissions

Gave camera access to Do not disturb

Opened camera

Selected video mode

Pressed record

Camera force closed
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Turn off the hand icon in right top
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
That worked:)

---------- Post added at 06:52 PM ---------- Previous post was at 06:17 PM ----------

So let's summarize:

All existing Moto Mods are functioning

1 Battery mod fully functional

2 JBL speakers mod fully functional

3 Camera mod functional (I can get by without the image stabilization)

What amazing progress! PLEASE keep supporting this ROM
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
[MENTION=6298645]erfanoabdi[/MENTION]

Is the camera mod just working with the Moto Camera or with other cameras too?

And is it possible to use the slow motion mode with the google camera (I like that camera, it has some nice features)??

And what about the battery drain problem? Is it solved with the new version or am I the only one who has that problem?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
I've tested the Google camera and several others. They do not operate the camera mod

Still above normal battery drain for me
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Ah OK. Thank you.

After I've installed the version of 7. July I have no battery drain problems anymore. Thank you [MENTION=6298645]erfanoabdi[/MENTION]!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Yes you are right. I have noticed minimal drain on standby
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
[MENTION=6298645]erfanoabdi[/MENTION]

I've noticed a curious bug the last days. Sometimes when I call someone I'm not able to hear something. But after I switched the "loud mode" on and off, I'm able to hear my partner.

Has anyone else noticed this?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] phiba92:
Yes, I have that problem since months. It also occurs on other roms for me and seems to be a lineage bug. My current fix is a tasker profile to toggle speaker automatically upon a phone call. But it would be definitively nice to be fixed.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] yassine78:
[MENTION=6298645]erfanoabdi[/MENTION] whats' the difference between your RR roms and la vache nightly RR roms? i don't use moto mods so what version of ressurection is suitable for me this one or the other?

and thank you.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Hmmm I don't experience that. You say that it is a bug with all LOS based ROMs?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
I don't think so, I hadn't this bug with my OPO and LOS.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
no differences but use VACHE roms

i think this happened when i fixed low volume issue :rolleyes:

i'll take a look ;)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Thank you for your work!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] kuruptnation:
I've got this bug now as well :(
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
[MENTION=6298645]erfanoabdi[/MENTION]

Is this battery drain normal???

I had it just in stand by mode since the small increase.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
[MENTION=6298645]erfanoabdi[/MENTION]

I noticed that WiFi channels in 5GHz range are not completely usable.

Channels 36-64 are usable, everything above are not. (My access point is not seen above those channels.)

That means that the WiFi firmware in the ROM is not set correctly. Could you take a look into that?

WiFi region code is set to Germany.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] frorgaba:
hello,

i try to install AdAway on the RR but i always get the message that the file "hosts could not be copied.

my moto is rooted.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
I had a similar error, AdAway tried to tell me that on my device is no su-binary and it seems that it is not rooted (but it is).

Do anyone know how to solve this?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Probably related to Magisk. Perhaps check that forum
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
I've installed Magisk v.13.0 Beta and now it asks me if I want to give AdAway root access and now it works! Thanks!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] enzo_cz:
You guys having tried systemless AdAway? It should do the trick.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Battery drain seems to be common for all LOS based ROMs
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Good to know.

Thank your!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] dergu:
Be sure you have disabled the wake function with fingerprint. over night is my batterdrain ca. 0,25%/h. For me very good. The phone must go go in deep sleep modus after a short time when the screen is off.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
OK, thanks! I will give it a try!

Do I have to disable the "use fingerprint as button" option too?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] iTzMario:
How to disable the charging led?

I missed the option

Sorry for my english :s
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
[MENTION=7747705]iTzMario[/MENTION]

This was already asked earlier in this forum.

Have a look on page 25. ;)

---------- Post added at 05:53 PM ---------- Previous post was at 05:16 PM ----------

@erfanoabdi

When you switch to Carbon ROM, will it be the official version or an unofficial too?

And wil you work with Rabih Salamey together or seperated?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
i've switched to carbon last week

by switching i mean leaving this RR and installing carbon on my device not developing for carbon

i have only battery mod and carbon is only official rom is supporting it

we are working together probably carbon will support camera mod soon

i'll keep this thread up until stock 7.1.1 releases
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] dergu:
No, but you should look if the device go in deep sleep mode, when screen is off
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
OK. Thank you.

I will test it over night and will give a feedback.

But at the moment it looks good.

And is it normal that I can still wake up my device with the fingerprint sensor? I've deactivated the option in settings.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] eis0r:
to my knowledge Carbon Rom requires latest bootloader... how are you gonna deal with that fact?

thanks a lot for all your work!

i got my Moto Z mostly for the upcoming keyboard mod announced for mid of August.

anyone else here who pre-ordered?

br
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
don't worry carbon is working on old bootloader i've tested it
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] dergu:
I think you have to reboot.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
It must be 0200 there don't you sleep? :laugh:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Nope :D
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
That would partially explain how you got so much done to make this ROM so compatible with the Moto Mods
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] kuruptnation:
Exactly my thoughts, huge thanks on supporting this phone. Especially being the first too get nearly all current mods working! Bravo!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Agreed. I have JBL Speakers, Hasselblad Camera & battery mod and all are fully functional. This is the ONLY CUSTOM ROM that can claim that.

---------- Post added at 02:00 AM ---------- Previous post was at 01:25 AM ----------

I'm curious as to why you favor Carbon ROM.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
I've already rebooted and still can do it.

But I like this bug, because my phones went over night in a deeeep sleep. This was the first time since I've installed this ROM.

That means: activating the function to wake up the phone doesn't change anything (for me), because I can still wake it up with my fingerprint, this option just prevent the phone from going in sleeping mode.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
[MENTION=6298645]erfanoabdi[/MENTION] now I cannot open the camera app with the camera mod attached. It says camera app is busy and to turn phone off and restart. That does not work. I cleared camera data and reset permissions and do not disturb but always the same. What am I doing wrong?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] ehsangerman:
Hello, can we add pixel navbar animation to this rom ?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xamindar:
Dang, I was excited to read that it says camera mod is fully functional on the mod section but this isn't the case.

-the power button on the mod does not open the moto camera ap or turn on the camera

-the half-press of picture take button does not trigger a focus lock (this is useful so you can take instant pictures without waiting for the phone to focus)

-and using the flash takes very green pictures.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] core720:
sorry, fixed data mobile change???
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xamindar:
Besides the camera mod buttons not working, I have a couple other questions.

when charging the screen is super bright and unabl to dim. Is there a setting for this somewhere?

Apps can not access my external sd card. Not even with root. Titanium backup for example can not search or use any folders on the external sd. How do I fix this?

EDIT: nevermind. I just had to delete the old Android_secure file on the SD card.

Thanks for this rom and so far I love it. I hope you continue to support it, it's almost perfect.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] tafarelli:
wave to wake

Nice rom!

Is there any way to activate wave to wake feature?

kinda miss it..
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
You sure you don't have any other app is struggling with camera?

Some times I have same issue without camera mod not sure why!?

Send me logs while you are using the camera mod buttons (power and halfway to focus)

Green pictures! :D not sure why but try to disable HDR
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
What's Mobile data change?

There's high brightness mode in settings (not sure where) but try to disable it and try again

If you had issue take logs

But We have wave to wake feature
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Sorry for not responding this days

I was working on porting lineageOS on LG K10

They gave me free VM for building rom and free server for uploading

Probably i can keep developing this ROM :)

Thanks to [MENTION=7321245]dom133[/MENTION] and [MENTION=7045959]pvineeth97[/MENTION]
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] tafarelli:
when I press gestures in settings, sometimes it crashes (ui) , sometimes nothing happens..

any idea why and how to fix it?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
It means you didn't granted root access for settings or CyanogenMod settings

Or you don't have root
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] tafarelli:
My advanced system settings were crashing because of substratum theming.

but I am still unable to find and activate wave to wake feature..

help would be appreciated, but I get you are tired of all the questions and all. so np, have a good day
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
No problem, Find ambient display in settings
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] core720:
[MENTION=6298645]erfanoabdi[/MENTION]

https://www.youtube.com/watch?v=sUUnGc3-Y74

3G Change dont work..
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] tafarelli:
tx, I have tried that already, but it doesn't turn on wave to wake function (the 1 where you wave your hand in front if sensors to check time and notifications).. maybe I am missing something ?

edit: ok, found it, couldn't access it again because of substratum theming.. also, it seems that substratum makes my phone lag a lot..

tx, cheers
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Without mod camera is work, but when I attach mod and open camera I get this message 100%
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
try permissive selinux

don't know, i need logs :D

it's ok for me not sure why you can't change plz send me logs while switching
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Derp! :p That is just about the only thing that I didn’t try... It's working fine now.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xamindar:
Here you go, I added two logs for different issues:

-camera-mod_2017-07-14_13.34.zip - connected mod, opened camera, and clicked half shutter button and then power button a bunch of times.

-camera-video.zip - The moto camera app reboots my phone when I try to take a video. Here is a log of that. Moto camera mod not attached. adb log up until the phone locks and reboots.

Thanks for looking in to this!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
don't take videos in high resolutions this may harm your hardware i have to wait for stock 7.1.1 for fix

but for buttons flash this file in TWRP