yashsingh1/xdaforums huggingface dataset:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xamindar:
Cool thanks! The half-press now engages focus lock and works as it should.

The power button still doesn't open/close camera, but now it also takes a picture when pressed. So it's doing something now.

Getting close to fully working. This is awesome thanks.

By the way regarding movie taking. I only have it set to 1080p 30fps when it was rebooting phone. I did not try any other resolutions. The built in camera works fine for recording video.

Is the OIS working though? Videos seem a little shaky compared to stock rom videos.

EDIT: Also, in the moto camera app, the flash icon is continuously pulsing while the mod is connected. I'm not sure what this means but it doesn't seem to effect anything. Just thought it was worth mentioning. Possibly it is a charge indicator for the flash that doesn't know the flash is "charged"? Not sure though.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Same as [MENTION=7038402]Xamin[/MENTION]der. Focus lock works but on/off button acts like shutter.

---------- Post added at 08:36 PM ---------- Previous post was at 08:34 PM ----------

Yes image stabilization is still not functioning.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
If you still have a quite high battery drain in stand by mode or just want a lower drain, I can recommend you an app with the name "Greenify" (can be found here: https://play.google.com/store/apps/details?id=com.oasisfeng.greenify).

This app has multiple options to save your battery.

In my case, the Moto Z uses in stand by mode with Bluetoth, WiFi and GPS (Energy Saving) often not more than one percent per hour (just in stand by mode, with screen on more. :D).

It's very helpful on the Moto Z, because how we all know, it has not the biggest battery.

I hope it works for you too.

Have a nice day!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] core720:
I change 3G in *#*#4360#*#* and perfect work, reboot and change auto in LTE o 2G, option 3g in settings dont work, dont select and mark. In all base AOSP bug...

Logcat.... https://pastebin.com/ViEf1bzA

News.... https://review.carbonrom.org/#/c/2318/ Fix Bug ????
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xamindar:
If I disable "Adaptive Brightness" the max brightness while charging (and charging from battery mod) issue goes away. I wasn't able to find any high brightness setting anywhere.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
High brightness mode is under night light or live display

I'm not sure
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
New Version :

Updated with latest RR source

added magisk 13.1

also i removed functionality of power button on camera mod i need more time to find fix for this
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
I flashed the new ROM. Now camera app does not open camera mod lens. Also I get message that camera app isn't responding
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Even on peremisive selinux?

Oh yes sorry my bad

I'll upload new version now
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Yes

New version of what?

I'm doing clean install. Anything to flash other than ROM and Gapps?

I'll install your camera apk after I get set up
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
There's already a 13.2 magisk version which fixes some issues.

But safetynet don't pass anymore (on all versions), so dunno if that's important for someone.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
new version of rom is uploaded try it : https://www.androidfilehost.com/?fid=673368273298972133

no need to clean install

you need to follow this :
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
That's the one I already downloaded. Same date.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
Safetynet doesn't pass since a few hours ago.

It worked before.

Google updated, so there is no way to bypass it at the moment.

Check the magisk forum, it's full of reports.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Trust me it's different now

I removed old ROM
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Your instructions are not clear to me. What steps do I need to take?

1 Flash the ROM

2 Reboot

3 Flash Camera apk??? I assume yes. Afterwards I should add all permissions and grrant access to Do Not Disturb
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
if you wiped your data partition :

1 Flash the ROM and open gapps

2 Reboot

3 install Camera apk grant access for do not disturb for it
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Hahahahaha! As you were answering me I posted the same

---------- Post added at 11:01 PM ---------- Previous post was at 10:31 PM ----------

OK it's working. Thank you for your kind assistance

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

Damn! I give up [MENTION=6298645]erfanoabdi[/MENTION]! Now the camera is showing busy again. I have made no changes. I have tried:

1 stop camera

2 uninstall and reinstall and set up dns access

3 toggling SELinux

Still too buggy for my use. I'm back to my stock Moto Z for now
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Hmm it would be much better if you had logs when you get busy error:(
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Yes but I can't. It immediately reboots.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Already fixed. From terminal enter:

su

resetprop --delete init.svc.magisk_pfs

resetprop --delete init.svc.magisk_pfsd

resetprop --delete init.svc.magisk_service

resetprop --delete persist.magisk.hide [MENTION=6298645]erfanoabdi[/MENTION] perhaps you can fix in your next update?

---------- Post added at 02:19 AM ---------- Previous post was at 01:56 AM ----------

From here : https://xdaforums.com/apps/magisk/safetynet-fix-pass-safetynet-2017-07-17-t3637801
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xamindar:
I have both of those options disabled.

Is anyone else experiencing bright screen when phone is charging or is it just me?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] kuruptnation:
Search for "light" in settings. Choose "pulse light notification", disable battery light and notification light.

Profit....
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xamindar:
Wow thank you. I kind of liked that partially hidden led notification but having a dimmable screen is more important. Strange that the led settings effect the screen brightness like that, but I'll take it!

---------- Post added at 04:43 AM ---------- Previous post was at 04:38 AM ----------

I enabled that "require pin to boot up Android" with a pin I don't like and now can't disable it or change it. Am I missing a setting somewhere?

-I have set a new pin but on boot up it still uses the old pin.

-I have disabled pin entirely and all security, but am still asked for a pin on boot up.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Does in the settings app under Security > Smartphone encryption (or something similar) stands that your phone is encrypted?

If yes, you have encrypted your device with this PIN and you have to make a factory reset if you want to change your PIN.

I hope I could help you,

have a nice day!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
I have seen apps which can change the encryption password but I would not try anything without a backup on a mSD.

You might try this, but at your own risk!!!

Cryptfs Password (Disk encryption password changer) - https://f-droid.org/app/org.nick.cryptfs.passwdmanager
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xamindar:
Oh dang I didn't know once you encrypted it the password was stuck. Yeah mine says encrypted. I guess I'll stick with it until I reset for the next update of this ROM. Thanks for clarifying.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
[MENTION=6298645]erfanoabdi[/MENTION] the new Magisk 13.3 is available. FYI

I'm ready to get logs when the camera busy comes up again

---------- Post added at 07:47 PM ---------- Previous post was at 07:32 PM ----------

Update: Flashed 13.3 and it passes SafetyNet :o
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] tafarelli:
back to stock

This rom looked promising at first, but after few days of usage it comes down to this :

battery killer, overheating and sooo much lag, I thought at first it was because of substratum theming, but its not.. I feel like I have 512mb ram phone..

so going back to stock, performance is most important

tx for all effort erfanoabdi, best luck in future endeavours

edit: since I installed turbo z kernel overheating issues are gone and I am sticking with this awesome rom!

sorry 4 above post
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] dergu:
I am using this ROM since one month and have a standbydrain from 0.25%/h. Very good. And a very fast ROM. Many thanks for your development.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Conkerts:
Hi,

thank you so much for this awesome ROM !

I bought a new Moto Z and after testing the hardware on the first day, I switched to RR on the second day ;)

Everyday use is absolutely fine and I didn't experience any major problems or battery drain.

I had just some *minor* salience:

First ROM was RR-N-v5.8.3-20170707-griffin-Unofficial.zip was with magisk v12.

Most things worked fine until I started LTE Discovery (sorry, can't link to external sites, [MENTION=5750087]play store[/MENTION] it's net.simplyadvanced.ltediscovery)

The system became unstable, did a soft? reboot, but stuck in the boot screen.

After a hard reboot most was ok again, but I lost root. (Magisk wrote: device is not rooted)

*Tested it with updated Magisk v13.1 .

Same instability, Magisk wrote again: device is not rooted

but apps had root. That was really strange.

Anyway, I don't know, if it is a RR bug or a Magisk bug.

I'll investigate it next weekend or so.

I post it now, because I'm curious, if someone else experienced this behavior. (Maybe in connection with the LTE Discovery app as well?)

* Also I did some Geekbench 4.0 tests.

Original FW was:

"score": 1515, "multicore_score": 4109

Now with RR:

Single core performance is ofc better (1710), because of the 2,2Ghz Clock.

Multi core perf. seems worse. (Difficult to get a reading, in "cold" state, up to 4100 again, but often about 3000-3600, and I see, the maximum clock of the big cores gets reduced in kernel audiutur ...

As stated before, these are only minor problems ;)

Now I updated to RR-N-v5.8.3-20170716-griffin-Unofficial.zip and will test again.

---------- Post added at 05:12 PM ---------- Previous post was at 04:59 PM ----------

Ok, Update:

Did a magisk update to v13.3 inside the app.

Now my device is stuck in a boot freeze -.-

(After input of my pin/pattern to unlock data)

Did anyone have the same experience ?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Is your battery over 20%?

If not, it's a known bug.

Charge it until it has at least 20% or better 25% and try it again.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Conkerts:
Thanks for your fast reply.

Before I did any modding, I charged the device to 100% and made a nandroid backup ;)

And the device was plugged in all the time.

* Then I tried just to reinstall the RR zip. -> Didn't work

* My problem atm is, that even after restoring the nandroid backup (system & data & boot), it still freezes on the same point, after pattern input

* ok, current status: Phew ... it works again ...

- I wiped system & data,

- restored data,

- installed RR zip & gapps zip

Now I'm with magisk v13.2 again, root works, I'll keep it that way xD

So, additional ToDo: investigate, why the nandroid didn't work.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] i23u8:
Everything works wonderful!

Although I seem to lose Magisk root after a few minutes that the phone has booted. I'm currently reflashing Magisk v12.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
personally i'm using superSU + Magisk 12 and it's ok

but send magisk log if you see that again
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] i23u8:
Reflashing Magisk v12 worked perfectly! Thanks! Nothing was lost reflashing Magisk v12.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] AllenRong:
Finally a RR thread, good job.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Emirati:
Thanks you for focusing on moto mods in your work on this rom. Nice and clean rom. However, i've done some testing on the mods on this rom as I have all of them. Camera mod and projector mod do not work, I get the pop that they have been connected, but they don't function. Jbl sound mod and battery mod work fine.

Looking forward for fixes to the camera and projector mod and I'm willing to test anything you throw at me xD.

Again, thank you
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Thank you very much for your testing

Please send your logs for me

Set your selinux to peremisive (you can do this easily in RR configuration tab on settings)

İn projector mod :

Attach mod

Try to mirror your screen

Grab logs

In camera mod :

Attach mod

Open moto camera (from Google play)

Grab logs

Screen shots of mod manager app would be helpful too

Without logs i can't help to fix them

Ise syslog app to get logs if you don't know how to get logs (link on post 3)

Thanks again
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] vache:
There's already some logs in crDroid thread. Stock and custom one.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] JorgeH2000:
Mods

Funcionan los mods ??
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
La bateria
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] rockx0:
Best rom!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xXLuHXx:
I found a little bug ...

wifi direct wont search

my wirelles display wont show in cast screen because wifi direct is broken ...

but this is the best rom and i use in dual boot with stock
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
yes and i can confirm WIFI direct is not working at all, do you know about WIFI Direct on other custom roms?

BTW thanks for using multirom ;)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
as vache told me i found some logs from crDroid thread and fixed some bugs for projector mod and i just uploaded new version(10jun)

please test your projector mod and tell me how's it now
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] kuruptnation:
Sadly I tried dirty flashing over 6/08 and it still doesn't project. I'll try clean flashing once I get a chance and get some logs. Which app you prefer for logs?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
no problem dirty flash is ok

use this app : https://play.google.com/store/apps/details?id=com.tortel.syslog
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] kuruptnation:
I hope I did this right. This is me connecting it and turning the projector on and off a few times. I get the moto logo but nothing else gets projected.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] eis0r:
thanks a lot for this nice ROM [MENTION=6298645]erfanoabdi[/MENTION]!

can i flash it with the 6.0.1 bootloader or do i have to be on the new one?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
yes you can

i'm on 6.0.1 bootloader too
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] i23u8:
Which TurboZ kernel is best for the rom? Will the Turboz stock kernel work over this Rr with mods? When I flashed the Custom rom version I seem to have lost the battery mods function.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Install turboZ 1.3_customRom version, It's working for me
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Do you have a problem described like this:

If yes, you could have a look at page 27/28 of this thread and maybe there is a solution that works for you. ;)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
My phone is running stable at the moment, (as stable as it is possible with all the magisk modules and other things I am running).

The black screen issue didn't appear again, so I am sure it was CF.Lumen.

I am running the current version of magisk so it does indeed work.

It happens that root does not work after a reboot, in this rare case I reboot another time. Same thing if SafetyNet does not pass (with activated workaround module).

There are also rare crashes of the phone but that's too rare and I was not able to get any logs.

The less or exactly 15% battery issue bootfreeze has been workaround by me with removing the executable flag of "/system/bin/mods_camd".

From here: https://xdaforums.com/moto-z/develo...emix-5-8-3-t3619130/post72938256#post72938256
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Conkerts:
No, I don't think it's the same problem, if I'm understanding Loader009's problem correctly.

My first problems with the LTE discovery app were maybe a bit similar. Atm the LTE discovery app is working, even with root, but it's the newer RR version ...

This sound's similar to what I experienced. Sounds to me more like a magisk bug (but I'm far from expert on this topic).

^ I think my problems are more related to this. That's why I thought, a full restore (incl. data) would work ...

Next time, I'll test, if the nandroid backup works, before I flash anything.

I'd like to contribute as much as possible. How can I handle these situations ?

I tried this tutorial https://xdaforums.com/showthread.php?t=1726238 but it never worked with my previous phones ...
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
[MENTION=6298645]erfanoabdi[/MENTION] I still haven't been able to provide logs because phone totally freezes sometimes when I attach camera mod.

But the effect on the battery is devastating
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
I had an extreme battery drain too, but then I found that App: https://play.google.com/store/apps/details?id=com.oasisfeng.greenify

This app sets apps fast in hibernation mode and, if you configure it, system apps too and now I can use my phone sometimes for two days.

I hope it helps you too.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Thanks for the information. My battery drain coincided with the lockup after attaching the camera mod.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
[MENTION=6298645]erfanoabdi[/MENTION]

I've seen that stock 7.1.1 was released.

Is a new version in progress or is the code not available at the moment?

And how's it going with carbon rom? Is a support for more moto Mods planned?

Have a nice day.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Yep I was working on libmedia from 7.1.1 theses days it wasn't easy as i thought before (still need reverse engineering)

So i need to find other ways to fix camera mod bugs

As i said before I'll continue updating this ROM
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Thank you for your update,

I wish you good luck, but I know your super duper programming skills are more than good enough to solve this problem. :)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Hey [MENTION=6298645]erfanoabdi[/MENTION] I noticed that just as I attach the camera mod I see it message "Preparing USB device". Then when I start the camera app I get the same message. Both times the message has the icon of Solid Explorer.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
You probably made solid explorer as default USB app

Camera mod is cominication port is USB don't let this apps intruppt it

Clear solid explorer default and try again
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Thanks that would be settings/apps/?? Then what?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Select solid explorer->open by default

Then click on clear default
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
OK but there are no defaults set. Nothing to clear :confused:

And, good morning
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
:confused:

Unistalling solid explorer will fix reboots?

Try to unistall it

Tnx :D

Guess I didn't sleep i was working on new project : https://xdaforums.com/android/software-hacking/dev-img-patch-tools-sdat2img-ota-zips-t3640308
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
OK I did uninstall it.

I will test camera mod extensively and report back
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] core720:
[MENTION=6298645]erfanoabdi[/MENTION] sorry, dont fixing data 3g change???

https://jira.lineageos.org/browse/BUGBASH-806
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
I'm working on it
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] yassine78:
[MENTION=6298645]erfanoabdi[/MENTION] i know you are busy on this rom, but can you find for me moto z dual sim Reteu stock nougat firmware, it's the only one don't be uploaded !!! just marshmallow version
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
You can use retbr for upgrading I think. ]
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] yassine78:
retbr or retus works fine and i updated it to 7.1.1 but i want relock bootloader and for this i need reteu nougat bootloader

and then sure i'll back to flash custom roms again ;)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
yep there's no nougat firmware for reteu

what do you need for relocking bootloader?

only signed boot.img and recovery?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] yassine78:
yes you are right :good:

why make it difficult and finally i'll back to flash custom roms again :)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
i was working on new tool it's possible to get signed boot.img and recovery with this tools but it's hard [linux or mac needed]:

https://xdaforums.com/android/software-hacking/dev-img-patch-tools-sdat2img-ota-zips-t3640308

first you need to download full reteu MM firmware : https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-03_CFC_EMEA.xml.zip

then get all OTA's from http://motorola.erfanabdi.ir/?model...n.24.21.17.griffin.retail.en.US&carrier=reteu

to

your latest blur version (check your bootloader) : https://xdaforums.com/moto-z/development/tool-motorola-ota-link-generator-tool-t3537039

and using IMG patch tools you need to patch this OTA's on reteu MM firmware then you have signed reteu boot.img

for system you can use retmx or other firmwares, if didn't let you to do that, you can also use IMG Patch tools to patch MM system.img with OTAs
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] core720:
Thks.... excelent dev
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] yassine78:
thank you so much :good:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] clsmn:
its aosp based, right? so no lineage based or stock based?

which kernel is running on this rom? any custom kernels available (just know custom kernels for stock/-based).
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
It is LineageOS based.