yashsingh1/xdaforums huggingface dataset:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] vache:
Ok, found what's going wrong. Another sensor at bottom of the phone is acting as proximity sensor too. And we have a "real" one on the top.

On stock it uses only the bottom one, but here it uses both, and when you disable the wake option, the bottom one is still active.

So what to do here. Keep both enable ? Only one ? Witch one ?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] svetius:
Yes, you are right, the bottom sensor is active.

It doesn't matter which sensor it's using (both are effective, although I think the bottom one, since it's used in stock, is the best choice)....just as long as you can disable both sensors if you want to disable the function. :silly:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] vache:
Ok, next build will fix this.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] muntaha_v3:
Moto Mod detected. (JBL). Not working though. Shows Moto Mods version as 0.0
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lic3ns3d:
I'll give a try and I'll test it today. I have motomods and I'm going to test them ;)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] SamLehman617:
Wait, so this supports the IR sensors for ambient display?!? That's the only thing holding me back from switching
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] svetius:
Yes.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] svetius:
Been using this all day and a few other things stand out:

1. I'm on AT&T in the US and my cell signal, about once every 60 seconds, goes down to zero bars. Oddly this is not affecting call quality or battery life. Maybe it's just a software thing?

2. Need to test this further but sometimes when I make a call, the person can't hear me until I turn on speakerphone then turn it off again

I'll continue testing!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] MuyKurioso:
When on calls, turning on speaker cuts the mic off, when I quit speaker an use it as earpiece, it works again.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] silvercat:
After flashing this ROM.. SD card is corrupt but after returning to stock it works again..Anyone else facing this issue?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] MuyKurioso:
Battery mod works great, just the phone won't tell me how much battery is left on the mod. And the ui won't change the battery icon to charging, but u can tell its charging because percentage will appear on lock screen.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] DaWeIII:
There are some developers app on the PlayStore for the Moto mods. One of them can tell you how much battery are in the mod.

This one: https://play.google.com/store/apps/details?id=com.motomodsdev.mdkbattery&hl=es
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] M!tch:
i've had the same issue with stock rom and custom dpi setting via adb.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
I found out that the WiFi regional settings don't work as they should. I haven't noticed any issues really. But it can't seem to save the setting after reboot, not even if you only turn on and of wifi.

I found out about the issue at BUGBASH-627 & 685.

So if you are in a region that is allowed to use channel 12 and 13 on the 2.4 wifi you might get issues. A walk-around can be to set channel to anything but 12 and 13 manually in the router.

I haven't been able to lock myself out from my 2.4 network on this device. But the regional setting bug still needs some investigation. Also, the regional stock firmware you came from should also affect your wifi firmware and that should also be a limiting factor.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] nozz93:
Has anyone tried recording videos using Moto Camera (https://play.google.com/store/apps/details?id=com.motorola.cameraone)? When I set the resolution to 4K and trying to record, the camera completely crashes and the phone reboot the next time I open the camera app. On 1080p (60 fps or 30 fps, doesn't matter), the camera just force closes immediately when tapping the record button.

Recording in 4K works fine in Google Camera though.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] eradicator006:
I had that problem too. I'm just sticking with snap camera. It seems to work for video.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] winkebruse:
hi Guys, need some help from you. I was changing my system from Resurrection Remix to lineage-14.1-20170627, and it end up "Process system isn't responding". After that i tried whole day, it just didn't work out. Is there someone who has the same problem? Please tell me how you solved it. Thanks.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Shreps:
Clean flash? Wipe all?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] winkebruse:
yep, i've tried that, the 2 rom RR and Lineage have the same problem.

and i can't go back to stock, because i have a eu single sim 7.0 N.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
During install or after the first full boot up?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Das_daschund:
I would like to thank the developer for creating such a smooth ROM for our devices. However I would to ask if there is any news on the OTA update issue? The device still cannot boot into recovery when applying an update through the LOS updater.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] winkebruse:
after the first full boot up. And now if i see the bootloader, my Baseband is <not found>. if i flash the stock N Rom, it shows also the following failure.

fastboot flash bootloader bootloader.img

target reported max download size of 536870912 bytes

sending 'bootloader' (7076 KB)...

OKAY [ 0.016s]

writing 'bootloader'...

(bootloader) Validating 'bootloader.default.xml'

(bootloader) Security version downgrade

(bootloader) Image hyp failed validation

(bootloader) Preflash validation failed

(bootloader) Image tz failed validation

(bootloader) Preflash validation failed

(bootloader) Image devcfg failed validation

(bootloader) Preflash validation failed

(bootloader) Cancelling 'bootloader.default.xml'

FAILED (remote failure)

finished. total time: 0.201s
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xequtor:
does anyone else have a problem with high battery usage and latest LineageOS? 50% or more in 2h, Android System is the bad guy

I updated from old LOS from 03.2017
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
Using official builds now? 170509 was the first official build. You would need a wipe to switch from inofficial to official version.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xequtor:
yes, it was official,

now too late wiped my data trying to restore, damn it!

Is nightly official version?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
https://download.lineageos.org/griffin

These are the official nightly builds (well... New builds weekly)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] SteveJobt:
removed
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] petrena:
Am I right that this ROM does not support f2fs? When I install it the boot animation runs forever, with data/cache on EXT4 it installs normally.... f2fs worked with MOTO X...
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] eradicator006:
I had the same problem. I remember reading something about the kernel needing some f2fs specific patches for it to work. I think turboz kernel might have the required patches.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xequtor:
yeah, thats the place where I get it, I wiped my phone and reinstalled all again, its PITA to do it.

Now the battery usage looks ok.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
Tried f2fs once on the very early builds. Something went wrong then. I thought I did something wrong (like formating partitions that should not be f2fs). But I got some strange behavior when I tried it. Very long boot and slow downs when I got into the GUI.

After reading about ext4 VS f2fs I just got stuck with ext4 and haven't investigated further.

Maybe someone can investigate this and gather some logs.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Shreps:
I'm using F2FS for /data, ext4 for /cache, and all is fine. I think with a little better performance with apps.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
Will try it next time I do a wipe. Any partition we should not use f2fs on?

Did some reading on f2fs once. Faster peak performance, less writes, but a bit more variations in the results compared to Ext4. At its worst moments it was even slower than Ext4.

But all benchmarks should always be taken with a grain of salt... What really matters is the user experience anyway.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] petrena:
Only on data and cache, system ist read only, No benefit...

---------- Post added at 10:56 AM ---------- Previous post was at 10:22 AM ----------

Cool, which ROM/Kernel did you use? Didnt work for me with Rom 040717 and Stock Kernel...
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] eradicator006:
I take back what I said about the stock lineage kernel not having the required f2fs patches for it to work properly. I was looking at the source last night and the 2 important patches are there and they only are needed if you're using supersu or magisk. There's no reason f2fs on userdata and cache shouldn't work. I will try it tonight.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
As a quick test would change cache to f2fs work?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] petrena:
would show if it works on cache, not if it works on data... I´ll try it again myself too on both partitions...
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
Didn't work on cache. Using elementalx kernel though
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] petrena:
OK thanks!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] ghanchi2000:
this rom work with moto z force xt1065-02 ?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] petrena:
Didn't work on cache for me either with standard Kernel...
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
Unless I have missunderstood all Force has locked bootloaders? There are no roms in the Force part of the forum.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
Know a reason of why f2fs on cache is a problem? Tried original Lineage and got data partition working as f2fs? Anyone else with f2fs and Lineage with original kernel able to boot properly?

In my early tests I think I had cache and data as f2fs (maybe even system, just because it was possible). It did boot then but acted slow and unresponsive when it finally finished booting up the first time. But that was before official. Never tried f2fs again after that.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] MonoBono:
Hi, maybe a stupid question. Any sorry if it should be the wrong thread, but how do i change the boot up pin under Lineage OS? I set up the Moto Z for my wife, wiped /system, /data and /cache and set up everything. Booting was my old pin. When i set the pin after the booting i was asked if i wanted to set the boot up pin and changed it to hers. But i remain on mine. How do change it? Go back to stock and change it, or is there a nother way? Its not that i wont reveal it, but its for convenience. Sorry, i don't no where else to ask
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
I remember changing cache to f2fs and not being able to boot
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] petrena:
I can confirm now that f2fs works on data, on cache not...
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
Thanks. Wonder why cache does not work. Maybe it is not meant to work?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] eradicator006:
I think cache might not work because in the lineage device tree for griffin there is no entry for an f2fs cache in fstab.qcom. There is for data. I'll test on one of my own builds and if that fixes it I'll submit a ticket on gerit.

UPDATE: Adding f2fs cache to fstab.qcom fixes it. I'll give it a few days and see if there are any issues and submit a ticket if there aren't. I'm thinking maybe there is a reason f2fs cache wasn't in there in the first place.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
Since we already talk about filesystems... How about formating external sd-card from recovery as ext4 or f2fs and not getting issues with apps using the card? Previous tests have given me issues and not getting write access and stuff. Wrong mount options?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
Hmm... Anything else than built in format tool in settings is not supported according to a bugbash idiot comment.

"non-FAT filesystems on external SDcard is something that isn't really tested or supported – some may find that it works fine and obviously you are not one of them" and poff... Rejected.

So stick with the old stuff and avoid evolving? I personally don't care about being able to read the sd-card when connecting to a computer... I rather have the possibility to do whatever I want regarding my choise of filesystem and use the card however I want.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
New log on my wifi not being able to reconnect issue. http://cloud.tapatalk.com/s/596190bbb8c9a/logcat.txt

Does not seem to matter what kernel I choose. I replicated it on all of them.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
Really odd with all that qcom powerhal errors... Could that have something to do with the WiFi issue?

07-09 03:41:06.085 1681 2085 E QCOM PowerHAL: Failed to acquire lock.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
The fix for the low volume issue is finally here. It's included in the next build ☺️
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] ganja5000:
The OP only says that 'moto mods' are broken. Does this mean that WiFi Direct is working on this rom?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xequtor:
high power drain and BT issues with latest nightly, had to go back to my Nexus 5 , I use it most of the day as WiFi hotspot and BT connections to collect data. with older nightly from April, did not had this issues.

I have the EU version with DualSIM mod.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
Is it possible that you had a inofficial build and upgraded to official build without a wipe?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xequtor:
I always had the official nightly, and with latest nightly I did wipe data/system/cache
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
Saw someone complaining on drain on builds newer than

2017-06-13. Not sure if it has changed for that person yet
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xequtor:
thanks, will maybe install then one from 2017-06-13.

What is the best procedure to wipe everything and install fresh, latest LinageOS, wipe all partitions? or what to wipe in TWRP?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
Wiping system and data is usually not needed when upgrading/downgrading between minor versions.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xequtor:
so for downgrade just install nightly from 13.06? do I have to wipe anything? cache?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
After flashing in recovery there should be a wipe cache/dalvik button. I always use that to avoid issues with upgrading Lineage and Gapps.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xequtor:
thanks, did the downgrade, looks like BT is working ok for now
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
About the WiFi issue... This does not look normal to me. Any reason of why that should happen?

cnss-daemon: Invalid mac address: 0x555555f110M
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] dolons:
I can´t activate and deactivate my two Sim cards seperatly. i miss a button for this. You can help me? My huawei p8 has this buttons in settings - sim- cards behind the the name of the sim. Lineage unfortunaly not.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
[MENTION=1829889]vache[/MENTION] , any more info I can collect that can be helpful for the WiFi turning unresponsive/dead? I have a hard time finding much that is useful in the logs. I've found times where the phone used GB region instead of SE region on the WiFi. But nothing I can link to that specific bug.

The bug is no major issue for me really... Just annoying not to find or knowing the cause.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] core720:
[MENTION=1829889]vache[/MENTION] sorry, dont fix 2g/3g/lte change ???
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xequtor:
nightly from 13.06 is also drowning the battery, what else can I do? try even older LOS?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] petrena:
Does phone audio with a bluetooth car radio work for you, it doesn't here...
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xequtor:
you have to describe what does not work
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xequtor:
same with 14.1-20170711 LOS

I dont know if it makes sense to install another LOS, I think I'll go to stock and root as LOS is not working for Moto Z
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xequtor:
slowly I regret to buy this Moto Z, waist of time to try make it work, I think will throw in a dumpster :(

LOS 14.1 got worst in last few months
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] core720:
[MENTION=1829889]vache[/MENTION]

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
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] nozz93:
If you have bugs, create them in the LineageOS JIRA -> https://jira.lineageos.org

That's the only official way to report them.

I'll just quote myself:

The BUGBASH project is for new bugs, the REGRESSION project is for bugs which weren't there in former nightlies.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] mausekeks:
hi guys after a few reflashes my wifi and bluetooth are bricked is there anyway to fix this ?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] core720:
News.... https://review.carbonrom.org/#/c/2318/ Fix Bug ????
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
I don't have a huge drain myself. But at the moment I run ElementalX kernel with some power saving tweaks in Ex Kernel Manager. I haven't found any major issues in latest build. Smaller annoying stuff though. I have posted stuff that exists (in original kernel too) at JIRA. You could always try the latests build again and report all the issues and attach logs with SysLog.

As a temporary solution you could use Crdroid for example and see if that is good for you.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] sharukins:
did you go through a full charge - discharge cycle? Might just be that the android battery calibration got twisted and needs to update its values
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Cloonix:
Got my Moto Z today and flashed LineageOS 170718 first thing. One question though: Internal space shows 39GB used of 59GB. That's not right. Anyone has the same issue?

Maybe I caused this bug by formatting a SD card (64GB size) as an internal space. But i changed it back to portable space.

Does someone have a similar wrong info about internal space?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] core720:
https://jira.lineageos.org/browse/BUGBASH-806
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Lordfocker:
I have the same problem.

Also my Motorola camera app crashes when I want to shoot a video. Is there a camera app alternative with the option of video stabilisation?

Another problem I have is a rather low battery life. At the evening I have around 40% battery left, which is in my opinion very low as I don't use the handy during the day except for 5 minutes Whatsapp. Even in Flightmode at night I have battery drain around 8%...
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Cloonix:
On LineageOS? The official camera app works fine with 20170718. Maybe you can try wiping the cache and re-install the app?

The first day i had a huge drain (with LOS). Turned off the waving gestures and especially the wifi and bluetooth scanning (location services). Today i am at 77% (10pm), my day started 9am with only 65 minutes of screen-on-time.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] nozz93:
Not sure about stabilization but Google Camera works for videos. Moto Cam also crashes for me when recording videos.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Im not sure if this helps but if you want to download it and install this camera app https://drive.google.com/file/d/0B3gcDbDvV4MkYVlHSE5EYTEyOWc/view?usp=drivesdkthen go to settings/apps and press the gear button at top right, and then special access/do not disturb then give the camera access. Tell me if you can then use the camera app.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Lordfocker:
Thank you very much for your instruction, but its still not working. The APP crashes when I start to record a video. I just want to use OIS when recording Videos.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
A small update on my WiFi going unresponsive issue. I did a full wipe several days ago. Atleast now I know nothing I previously done is the cause since I can still replicate it.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
1383 installations of Lineage on this device [emoji6] (assuming some are wipes with new installation ID). Even better if that number is active phones and not just installation ID's.

https://stats.lineageos.org/
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Blash85:
Hello, I just got my Moto Z and wanted to try stock, but missing too many features from LineageOS.. any real downside in flashing? Relevant bugs? Spontaneous reboots and things like that? Thank you.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] swejuggalo:
Regular Lineage has no mod support. There is a flashable zip that gives you mod support. But I havnt tried it myself on official builds. It probably has issues with the orginal enforcing kernel (at least on some mods).

If original camera app (moto camera) is a must it does not work properly (video issues and possible more).

Other than that I really like Lineage. Other ROMs that has Lineage as the base has built-in mod support.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Blash85:
I know Lineage very well, I've been using it on my Nexus 5X, and Cyanogenmod on every previous phone. I'm not using any mod in the near future, and Google Camera is ok for me, so I'm flashing tonight. Thanks ;)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Blash85:
Any hint for not being able to mount partitions? TWRP asks for decryption password, but neither the PIN nor Google password are accepted..

I simply unlocked the bootloader and flashed latest official TWRP..

Edit: reading the topic, sorry..
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Blash85:
I found an unexpected solution.. I tapped on "format data" and then I was able to wipe all and proceed to normal installation (using sideload as I always do): LineageOS, root and Aroma OpenGapps.

LineageOS boots fine and works, but:

- If I power on the device OR reboot, I end up in recovery. The only way to boot to system, is to go to bootloader and press "start". This is quite annoying.

- Bluetooth audio streaming isn't working. Luckily, audio through Android Auto (cable) is working.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
I have experienced the same problem but it is random. When it happens I use the same solution as described by you. Sometimes the phone freezes on the splash screen too:confused:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] badaas:
Boot using factory mode once, usually fixes this for me.