yashsingh1/xdaforums huggingface dataset:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Re download the rom

I'm pretty sure You are using old 0731 ROM
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
I've used your download link of your post.

But I can re-try it. :)

Edit: I've had a look at my settings and I'm quite sure that it is the new version. Isn't it?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
This is new version

Check build date
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Oh. OK.

I'm sorry.

But it's quite strange that the build date of the zip of your link is the same like I have installed.

Is this normal??

I have added a screen shot of this link: https://www.androidfilehost.com/?fid=817550096634789721

This is the link you posted yesterday. :confused:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
yesterday i removed buggy rom and reuploaded new on 31 july

check md5 to make sure :D
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
I'm sorry, but I'm a way too stupid to find the correct version.

Could you post the download link of the correct version again please? :crying:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
your screenshot is new version
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Conkerts:
1. cool, thx, I searched for undervolting in the forums & threads, the custom kernels didn't mention that in their description,

there was only the stuff like under/over-clock mentioned, so I assumed it was only that ...

I'll check them out.

2. Hmm, that's strange

I checked my versions:

I flashed yesterday:

* The new/updated 31.7.17 Version with md5 0935bca7f61eefa7372e8cd983aa4aca

* (Then gapps nano/pico)

* Then moto cam, like linked in #3 (and in one of your posts somewhere on page 46-47) with md5 73bfdb9f4343096162a924491ce9fe85

That's where the moto cam app was from, b/c I didn't download it on playstore.

So I don't know what went wrong

---------------------------

Now I tested again:

* wiped system & caches

* install the 2 zips from above

** tested CM cam & open cam & fv 5 - seem to work, incl 4k video (open cam says, it can record 4k@60fps with 51Mbps ?!)

** no moto cam installed atm

* reboot & installed moto cam from zip in post #3

** tested CM cam & open cam & fv 5 - seem to work (inkl 4k vid)

** moto cam takes photos (that works ok), but setting video to max (4k@30fps) or even min (720p) -> cam error, and reboot on next start of any cam app

seems to be the same problem like [MENTION=8232400]TobiPeter[/MENTION] has
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
I have installed the new version but the Moto camera still crashes when I try to capture a video in Full HD. The app says that the microphone is used by another App and when I try to open the video mode with 4K settings I'm not able to make video because the app crashes instantly and says that a camera Reboot is required.

ut if I open the Google camera I'm able to capture a video with microphone Audio in 4K, I'm just not able to capture a Video in slow motion.

I don't know what I've done wrong but I hope you can fix this error.

Have a nice day!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] L45TK1NGS:
can i charge my mod with my phone same on stock rom ??
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] tasar:
I have the version before 07/31 and it doenst charge my sound mod.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] rickiolivas:
Yes
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] L45TK1NGS:
thanks god work ?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] core720:
Sorry, fixed bug 3g change reported????
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
yep it's fixed

i can switch between 3g, 4g and 2g in settings
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Have you registrated my problem with the Moto camera app with the new 3107 version?

Do you have an idea what the problem could trigger?

There was no feedback, because of this I'm asking.

Have a nice day!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Actually moto cam is not open source and there's nothing I can do for it

I'm only responsible for snap (rom camera)

Moto cam is only for guys with camera mod

You can find amazing camera apps in play store with better support

So what about slow mo?

Only available on moto cam because of sound bug of Google cam slow mo
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
OK. I understand. Thank you.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] core720:
Thks, testing, fix in RR o all AOSP?

Whats is diference in TWRP official and you TWRP MODS?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Not sure about others but in RR it's fixed when i tested

In mods TWRP you can use battery mod in TWRP
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] core720:
Thk, downloading and testing....

I'm correcting translations of Spanish into crowdin, my name is evogp

---------- Post added at 10:17 AM ---------- Previous post was at 09:49 AM ----------

@erfanoabdi bug 3g in setting dont fixed, only work 2g and lte in settings

---------- Post added at 10:19 AM ---------- Previous post was at 10:17 AM ----------

@erfanoabdi bug 3g in setting dont fixed, only work 2g and lte in settings
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Here it's working

See the video : https://mega.nz/#!LNoShY6J!bVFol_uaCJa-fkT2DohBEEUarTkOp1XkJBkqCeb0DNw

Probably there's something wrong with your device

[MENTION=8232400]TobiPeter[/MENTION] can you switch between 3g and LTE?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Yes, I'm able to change between LTE, 3G and 2G.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] crnkoj:
Hi, sorry to bother you...

In have a new moto z reteu, running 6.0.1, security patch August 2016.

What (apart from unlocking the bootloader) do I have to do with the software?

Do I unlock, flash TWRP and flash the ROM or do I need to flash a specific bootloader/firmware/modem ? As I'm reading the Android 7 bootloader is not compatible with custom ROMs? Naturally my phone wants to upgrade to 7.0.

Thanks
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] core720:
I HAVE 2 MOTO Z and some bug 1650-3
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
It looks like deleting (instead of chmod 644) mods_camd solves this problem.

I noticed that mods_camd spams dmesg that it can't be run and it is always started after I connected the USB DAC.

Deleting mods_camd stops the spamming and it looks like it works now flawlessly.

I still have to observe if I am wrong but I hope that's it.

---------- Post added at 21:56 ---------- Previous post was at 21:24 ----------

I am wrong, doesn't work again...

The weird thing is that the device is detected wrong...

idVendor and idProduct is not right at all!

[ 2272.080109,2] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 2272.080431,2] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 2272.080651,2] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[ 2272.080661,2] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2272.080668,2] usb usb2: Product: xHCI Host Controller
[ 2272.080676,2] usb usb2: Manufacturer: Linux 3.18.31-ElementalX-Z-1.00-los xhci-hcd
[ 2272.080684,2] usb usb2: SerialNumber: xhci-hcd.0.auto
[ 2272.081234,2] hub 2-0:1.0: USB hub found
[ 2272.081281,2] hub 2-0:1.0: 1 port detected

I think this happened after I charged the device a little.

To be exact:

1. reboot

2. tested and it worked and posted here

3. charged phone a bit via quick charge

4. tested again and failed

This one is a correctly detected log:

[ 180.378100,1] hub 2-0:1.0: USB hub found
[ 180.378163,1] hub 2-0:1.0: 1 port detected
[ 180.683423,1] usb 1-1: new full-speed USB device number 2 using xhci-hcd
[ 180.847172,1] usb 1-1: config 1 has an invalid interface number: 3 but max is 2
[ 180.847193,1] usb 1-1: config 1 has an invalid interface number: 3 but max is 2
[ 180.847204,1] usb 1-1: config 1 has an invalid interface number: 3 but max is 2
[ 180.847214,1] usb 1-1: config 1 has an invalid interface number: 3 but max is 2
[ 180.847224,1] usb 1-1: config 1 has no interface number 2
[ 180.863393,1] usb 1-1: New USB device found, idVendor=262a, idProduct=10e3
[ 180.863413,1] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 180.863423,1] usb 1-1: Product: SA9023 USB Audio
[ 180.863432,1] usb 1-1: Manufacturer: HiFimeDIY Audio
[ 180.905068,1] input: HiFimeDIY Audio SA9023 USB Audio as /devices/soc/6a00000.ssusb/6a00000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.0/0003:262A:10E3.0001/input/input14
[ 180.905481,1] hid-generic 0003:262A:10E3.0001: input,hidraw0: USB HID v1.00 Device [HiFimeDIY Audio SA9023 USB Audio] on usb-xhci-hcd.0.auto-1/input0
[ 181.279084,1] SELinux: initialized (dev fuse, type fuse), uses mountpoint labeling

It doesn't pair with charging previously, after a reboot it first didn't work, tried again and worked, tried again at it doesn't work again.

I am out of ideas...
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
could you please send me full log of failed connection
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
this rom is compatible with all bootloaders

no need to update to 7.0

but it's better to update before installing this
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
Here you are.

In there are 4 files for each, dmesg and logcat.

#1 before connecting DAC

#2 after connecting DAC

#3 after disconnecting and connecting DAC

#4 after disconnecting DAC

Please note that I am using ElementalX kernel, but the problem persisted before with the kernel shipped with this ROM.

I searched for the VendorId and ProductId and found in a "roon"-forum that this might have to do something with the usb-driver.

In other words, I probably have to wait until Lenovo releases the new kernel sources.

edit: removed file, PM me if you need it again.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Conkerts:
I've got exactly the same behaviour / problem.

As I understand, you use the internal cam as well (not moto mod / hasselbad), right ?

So, I'm currently ponder, if it's worth the time, to dive into debugging/finding the error

or just wait a bit (until moto releases new sources, etc)

or use the time for testing alternatives.

* First, I'll probably test some alternatives.

For taking normal photos moto cam works quite well but it *has no* RAW support.

Alternatives are

Open Camera (https://play.google.com/store/apps/details?id=net.sourceforge.opencamera&hl=de)

Seems to take also good photos, has RAW support & video works without problems.

Camera FV-5, Cinema FV-5 seems also to be quite nice, but are not open source.

I will test the quality of each one, and then decide which one I'll use. Maybe I wont even use the moto cam anymore ...

* As for the debugging alternative, we could compare our dmesg/kmesg logs, look for what went wrong, and see if it's the same bug.

* Also we should test, if this still happens with

** LineageOS

** Kernels: ElementalX , VisionZ & TurboZ

With nandroid backups, this shouldn't be that dangerous, only time consuming ...

Do you want to test that ?

-------------------

[MENTION=6298645]erfanoabdi[/MENTION]

Is the kernel here, the same as your TurboZ at https://xdaforums.com/moto-z/development/kernel-turbo-z-custom-kernel-moto-z-t3493354 or are they different ?

-------------------

Ah, and btw

Works on my phone as well.

(RR-N-v5.8.3-20170731-griffin-Unofficial.zip)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
tnx for testings :fingers-crossed:

this rom kernel is same as official lineageOS kernel without any modifications and new features :)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
You are right, I use the internal camera.

At the moment I'm using the Google camera because it has some nice features.

It would be cool if we would search for the bug, but I have to warn you: I don't have experience with debugging, especially at Android. That means that you would have to give me an instruction what i have to do.

But it would be cool.

We could test it with different kernels and with Lineage OS, I have an old backup of it too.

That's no problem for me.

I would be really happy to test it and I'm sure I would learn some cool stuff from you.

Have a nice day!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] crnkoj:
Thanks.

I'm. Still confused as people say on the forums to rather not update to 7.0 bootloader as it would be more restricting and less flexible/usable with custom roms? And what about flashing only modem? I saw that in some posts this is suggested... And there's the people who report that after the update to 7.0 their phones started to work worser/slower/etc. Hence im a bit unsure, otherwise I'm quite the veteran with modding/phones
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
that upgrading to 7.0 warnings for old time, when moto wasn't released 7.0 kernel source :)

yes flashing latest modem is always great

this rom and other custom roms may make your battery life bad and you may experience bugs
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] crnkoj:
Thanks,

Normally I flash custom ROMs for better battery life :) and some extra features like to reader as home/wake. But I know there can be bugs,used to them.

Anyhow I think a good mod or feature for a custom ROM on the Moto z would be to be able to use the fp reader as home and the two ir sensors as back and recents. Maybe even implement gestures on fp reader like on zuk z2, though I believe there is an app for that (I still find it better if it's integrated in the ROM).
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Conkerts:
Ok, cool.

First a disclaimer: I'm no expert as well. You could describe it more as dangerous semi-knowledge in the android area ;) But I'm confident, that we'll find the bug.

The steps I did were quite simple.

Preparation:

Have kernel adiutor installed or as erfan mentioned SysLog (in post #3).

There will be the options to copy the dmesg & last_kmesg files.

I use kernel adiutor, but the other tool seems nice as well.

Kernel adiutor: press hamburger button -> settings -> scroll down to debugging section.

Main part:

0. ideally save all current dmesg, logcat, etc logs & restart the device to have new empty/short log files

(update) 0.1 Disable Wifi as it's not needed and wont spam the log ;)

1. Open the moto cam & do the thing that caused the cam error & crashed the app

2. Copy dmesg & logcat with the tools

3. Open moto cam again, which should cause the freeze / kernel panic & reboot

4. After reboot: Copy last_kmesg with the tools

5. Copy the corresponding tombstone from /data/tombstones/tombstone_## (or just copy everything there is, that should include the correct one as well)

I don't know, if there is some personal data (or IMEI, etc in the logs), so I'd prefer to store them on Dropbox or Gdrive atm, and share the links over PM.

Everyone is invited to test this as well and please correct me, if something is missing here, etc ...

---------------

After a first look at the logcat data, I saw this:

08-01 12:58:02.365 11672 11672 E : mot_chromatix_load_library:access fails name data/misc/imager/libchromatix_mot_imx214_snapshot.bin with error No such file or directory

08-01 12:58:02.365 11672 11672 E : mot_chromatix_load_library: loading as old style

08-01 12:58:02.367 11672 11672 E : mot_chromatix_load_library:access fails name data/misc/imager/libchromatix_mot_imx214_default_video.bin with error No such file or directory

...

08-01 12:58:02.405 11672 11672 E : mot_chromatix_load_library:access fails name data/misc/imager/libchromatix_ov5693_snapshot.bin with error No such file or directory

...

BootReceiver: Copying /data/tombstones/tombstone_05

---------------

[MENTION=6298645]erfanoabdi[/MENTION]

How did you build the moto cam zip ?

And where did you get the files ? From the original moto z system ?

Maybe there are just some other files missing from some obscure motorola library/folder, because its really suspicious, that there are only so few files needed for the cam app. ;)

I'm going to look for these files in my nandroid backups as well.

---------------

[MENTION=8232400]TobiPeter[/MENTION]

Try the procedure above with your RR, and then lets compare the log files.

Afterwards we'll decide how to proceed.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
New version is available to download

Resurrection Remix Nougat Version 5.8.4 Changelog : https://github.com/ResurrectionRemi...32183ae9fbc933a262bdcff432f357/CHANGELOG.mkdn

mot_chromatix_load_library errors is common in all devices (moto, lg, ..) and it's not problem

i got moto cam from stock 7.1.1 deodexed firmware

i will update all blobs to 7.1.1 when kernel source is released
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
I will send you my logs/links to logs with a PM in a few seconds.

I hope they can help you, I don't have the magic abilities to read in the logs something useful.

Have a nice day!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
So the Moto Camera is included?

Edit: OK I downloaded and flashed the MotoCam.zip. So far the Hasselblad Camera Mod is working.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] znappyG:
It seems with this recent version I don't pass safety net anymore.

Dirty flashed over the last release.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Do you have root access, Magisk installed + safety net add on?

With them it should work. :confused:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
I just downloaded the new build. I have root and still pass SafetyNet.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] znappyG:
Thats strange. After two more reboots (to flash moto camera and install a certificate) it suddenly works again.

Haven't used the add on before and it seems to also work without.

Thanks for the advice though!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xxrafasxx:
Can someone support me with moto actions? I use it a lot or the rom has those characteristics?

Enviado desde mi XT1650 mediante Tapatalk
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Moto Actions are not available in this ROM. There are some things such as twist for camera and chop for torch. Custom voice and proximity sensor not
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Today I am getting camera busy again with Hasselblad Camera Mod
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
As here:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
A reboot fixed it. Is there any quicker way fix it?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Have you switched to video before getting busy error?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
I'm not sure I will take note of this next time
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Switching between video (HD 720p (30fps) and still camera causes this. But I can still restart camera.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Do you have 4k recording after connecting camera mod?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
No
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
This is all I have
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] core720:
In 1650-3 test???
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
It is the same for stock 7.1.1
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
[MENTION=6298645]erfanoabdi[/MENTION]

A little question: is there a reason why Turbo Z is not the default kernel? :confused:

It seems to be better than the LOS Kernel and it supports Moto Mods and as I know, this is the reason why this ROM exists (and RR is super cool).
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] L45TK1NGS:
any wont have the same problem on me if you shake your phone for torch is stop not every time but is stop some time ...
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
My device is xt1650-05 but i believe other testers is on xt1650-03

Why you are not flashing latest version of modem from moto firmware to test it.

For example take modem from latest retus 7.0 firmware

I'm not sure, no reason :D

But it's user choice to install custom kernels
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] core720:
I have last 7.1.1 ota installed, tested bug in 3 moto z 1650-03 (I sell cell phones)

I tested change modem NON-HLOS. Some Bug
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Conkerts:
Yay, looking forward to test.

I'm currently taking nandroid backup again ;) ...

Hmm, ok, good to know

I found the libraries as *.so-files in a different folder.

Cool, thanks, I'll look more in depth in the next days and compare the exact log entries. The errors seem to be quite similar.

I think that is the better solution, too.

You can maybe add the links to custom kernel in the first post / into the install steps,

so the user gets a more clear hint, but it stays the user's decision.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xiaoren748:
moto mods has been updated to 2.0 version,but RR still remains 1.5 in 0806 version.would you please update it in the next version?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] asmoroth:
Guys, I have problem with Stock camera apk on this ROM. I've flashed ROM then Turbo Z Kernel, Gapps and then motocam apk. When Im trying to record video apk stops working with message "Camera Error" or sometimes "Error. Other app may use microphone now". Is there any sollution for this? Or maybe there is other good Camera app with fully working manual settings, HDR and good photo quality? Google Camera produce noises and has poor settings
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Nyoir:
I'm sort of a fan of the ROM series but I'm interested if you could make a zips for full Moto mod support and maybe Moto Display stuff (I already saw you made a camera zip) especially for the Moto Z Play, as you're the only dev I've seen touch these awesome features that a lot of us miss. Thank you for reading if you did c:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
We all need to wait for moto to release kernel source 7.1.1 for updating to 7.1.1 blobs

Yep unfortunately moto cam is not fully compatible with custom roms

But about "Error. Other app may use microphone now" 60fps 1080p is not working try 30

Unfortunately moto display features and mods patches needs to built in ROM

I can't create ZIP for it

You can only ask your phone developers to add mods support
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Nyoir:
Awe, that's too bad for me I guess lol AOSPEX seems kind of closed off to new ideas. Thank you again! c: