yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] andyro2008:
I experienced something similar to the problem that you have described. The data got corrupted after editing the emergency info menu in the lockscreen. I don't now if it was just a coincidence, but after that the device started crashing and later it entered in bootloop. I never touched that settings again, just in case.

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ektus:
I have entered data there, currently only name and address. These data are among those that get erased in the bad crash. I don't use any lock method currently, just basic swipe to unlock. I have all gestures disabled, the phone will only wake up on incoming calls or if I press the power button . Every time I've encountered reboots (either with data loss or without) the phone was idle, screen off in powersave mode.

Regards

Ektus.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] b.zill:
USB tethering

[MENTION=4968571]andyro2008[/MENTION], [MENTION=8478827]ektus[/MENTION]: The LOS emergency function might indeed be faulty, I experienced severe misbehaviour of the emergency call feature with a different LOS device and do not touch this function (or enter data) since.

[MENTION=6810779]wzedlare[/MENTION]: Thanks again for providing and updating the LOS 14 cedric port!

May I bring back the USB tethering issue, as I decided for the device because of the robust USB tethering functionality of the Moto G series (and wifi tethering or a tethering app is not a solution).

USB handling seems to be pretty messed up, this might be the reason for the USB tethering problems.

- The USB notification dialog is missing the RNDIS and Audio options, in comparison to the developer’s options USB config dialog. Seems like the mismatch might be part of the problem. LOS 14 for another device shows MTP and RNDIS option in the notification dialog.

- After connecting the USB cable, sometimes USB mode “charging only” is chosen (according to notification) and dev options has RNDIS listed (mismatch!), although MTP had been preconfigured.

- It seems that MTP is disabled approx. 30 seconds after activation or last activity, but notification still shows “USB for file transfer”. When clicking on “charging only” in the notification dialog or dev options, MTP is reenabled (!), but it says “charging mode”. After around 30 sec., MTP connection is lost again. Same when clicking on the (already selected) MTP mode: reenabling of MTP mode for only around 30 sec. Sometimes, MTP connection is shown on the PC, but the device will not give access to the file tree.

- When in MTP mode, clicking on USB tethering disables the MTP connection immediately (and according to dev options switches to RNDIS mode), but does not activate tethering. The tethering switch stays off.

- There are unknown issues with accessing some files and directories created by apps. (which, again, does not happen on a different LOS 14 device). Copying of files, even from download folder, to the PC or deleting them on the device via MTP is not possible.

As there is an (unofficial) LOS port for the Moto G5plus (potter), maybe a source comparison might bring some insight, as well as in terms of big/LITTLE core speeds?

https://xdaforums.com/g5-plus/development/rom-lineageos-14-1-t3593556

I would also love to see this port become official (for which all stock functionality needs to be available).
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dbhirud:
Hi Guys,

I am using MOTO G5 XT1676 model. I am trying to use JIO sim card (India) with this phone with LineageOS latest built (18 Oct 2017).

LineageOS shows enhanced LTE option in SIM Settings. But when inserted JIO card it does only show LTE network but no volte. LTE provisioned flag in *#*#4636#*#* is on.

Tried to ON/OFF the enhanced LTE, restarting phone, switching sim card between slim slots, but no VOLTE.

With Stock ROM, the phone didn't show enhanced VOLTE option but the VOLTE provisioned flag is there. I called moto customer care but they are useless. Only information I got them is all MOTO G5 models have VOLTE. And I checked the frequency band B3,B5 and B5 which are used by this provider are supported (https://www.frequencycheck.com/carr...u-jp-au-16gb-xt1676-motorola-cedric/jio-india).

Can someone help please? Thanks in advance.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] wzedlare:
I have only one question to fix this little cluster governor problem.Are you happy with the stock rom's governor setup? If your answers are all yes, I can set it up the same as the stock rom.Waiting for your answers(I mean users :p).
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] LambdaPerl:
Experience and Bugs

Hello, I got my phone yesterday and managed to hold myself off from installing this ROM... until this morning.

Just wanted to share my experiences, and bugs.

Experiences:

Unlocked bootloader using Motorola site

Booted into TWRP using 'fastboot boot' command, backed up, and flashed the ROM and su addon. (Doing all the appropriate wiping etc)

Rebooted into system. A new screen saying my device can't be trusted due to an unlocked bootloader delays the boot by 5 seconds. A slight nag at most, I suppose.

Loading screen for a long time; I left it for about 30 minutes (previous devices have had a very long first boot) then decided it was getting too warm so held the power button down until it went off, then powered up again.

This time, LineageOS soon powered up -- happy days.

Being quite excited, I had a play with many things, encountering a few bugs:

Camera: Panorama mode crashes the camera app and will continue to do so until you do 'Clear Data' in Settings > Apps > Camera

Camera: UbiFocus mode crashes the camera app with a quickly-disappearing 'Media server died, closing camera' message

I also installed Termux and ran into some issues:

'am'-based commands crash with Segmentation fault. (e.g. 'am broadcast'), which is used by `termux-setup-storage`. However, I read into this thread and then spammed it about 25 times and it did work once. Curious.

'pm' also crashes with Segmentation fault -- not sure what 'pm' even does, I just tried it out of curiousity.

Further to recent conversation: My 'LITTLE' cores are also in 'performance' cpufreq governor by default.

Thank you very much for this port of LineageOS; it's the main reason I can use this device (I avoid Google as much as possible; N.B. I don't have GAPPS on this install, if that affects anything).

If I can be useful in any way with tracking down these bugs and squashing them, please let me know. Cheers!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] andyro2008:
Some devices are affected by this problem, so all available customs ROMs are affected. All the known details about this strange and elusive bug is here.

https://xdaforums.com/showthread.php?t=3682734

So far no body can help us :(

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] matmutant:
I don't know if I would be happy with stock ROM gov setup as I didn't use it more thant the time required for enabling bootloader unlock...

At least setting gov to interactive for LITTLE cluster enhance power efficiency a lot, i doubt this is enough to get the best we can, but it is at least better :)

I am seeking to understand how HMP is implemented on other msm8937 devices, no luck so far.

Thank you for your time

___________________

For the Kernal Adiutor related part, I can add the following :

echo 'N ' > /sys/module/workqueue/parameters/power_efficient

power efficient mode is related to how workload are sent to cores : N = normal mode, Y = send workqueue to online core first.

==> this is useless to enable for us at the time being as all of our cores are online at anytime (screen on I mean), so until we get some kind of core hot-plugging, there is no use for us to set the parameter to 'Y'. ('N' is KAdiutor's default btw)

KA does not allow to bring down all cores of a cluster (cpu0 and 4 won't turn off)

as it should mean something like "Core Control Min" it should be a L, and there is only 1 R so it is "corectlmin"

___________________

regarding the current init.qcom.rc by [MENTION=6810779]wzedlare[/MENTION], I am wondering the following :

If parameters are applied for interactive governor, they should be different based on the target cluster :

write /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay "19000 1401600:39000"

and

write /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq 1401600

will never get reached by the LITTLE cluster... as this hispeed_freq is much above the actual max freq the LITTLE cluster can reach...

I don't know if/how this should be tuned, thus setting different parameters (maybe two different governors?) depending on the target cluster or keeping things by default.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
I'd also "vote" for interactive as standard governor(s). I change them manually nonetheless but for people who don't want to tinker around with governor I'd say interactive is the most balanced one.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Would it be possible to underclock the device - its min frequency of the big is 960mhz and little is 768mhz

If you could get this down to 400mhz without causing lag it could greatly improve battery life
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Cairo100:
My device is not being quoted in the lunch menu. I have already edited AndroidProducts.mk and vendorsetup.sh and it is not showing up.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Did you do

source build/envsetup.sh

Before you lunch
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] LambdaPerl:
Note: With Kernel Adiutor, I have only one core enabled (the first -- Core 1 -- cpu0). I don't seem to run into this problem where I can't shut down the LITTLE cores -- they shut down just fine for me.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Cairo100:
Yes. I followed the instructions you gave me.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Upload your device/motorola/cedric folder in a zip file & I'll look at it but I haven't got the lineageos sources so I can't test it but at least I'll be able to check your files & see if I can spot anything
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] matmutant:
for those who want to monitor core governor, current, min, max freq via adb, I updated my shell script a little :

#!/system/xbin/bash

#catFreqCPU $c $i $pathVarA $pathcVarB
catFreqCPU() {
c=$1
i=$2
pathVarA=$3
pathVaB=$4
catFreq=$(/system/bin/cat "$pathVarA$i$pathVarB")
#echo -e "\t$i freq: $catFreq kHz \c "
echo -e "\t $catFreq kHz \c "
}

#catGovCPU $c $pathVarA $pathVarG
catGovCPU() {
c=$1
pathVarA=$2
pathVarG=$3
catGov=$(/system/bin/cat "$pathVarA$pathVarG")
echo -e "\ncpu$c \t $catGov \c"
}

echo -e "Core \t Governor \t Current Freq \t min Freq \t Max Freq"
for c in {0..7}
do
pathVarG="governor"
pathVarA="/sys/devices/system/cpu/cpu$c/cpufreq/scaling_"
catGovCPU $c $pathVarA $pathVarG
for i in 'cur' 'min' 'max'
do
pathVarA="/sys/devices/system/cpu/cpu$c/cpufreq/scaling_"
pathVarB="_freq"
catFreqCPU $c $i $pathVarA $pathVarB
done
done

echo -e "\n"

as this script loops between the cores, it is far from being an efficient way of displaying core information.

btw, the reason why cpu0 is master of 0, 1, 2 and 3 is shown in /sys/devices/system/cpu/cpu*/cpufreq/affected_cpus
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Cairo100:
https://mega.nz/#!3JRQVJwB!vPFVAY1jvyqZFnXl7QHw9FCe3NyA-XGz4Lr71hNkAu4
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
I can tell straight away you have named AndroidProducts.mk wrong

you have a space before the first A

The same with vendorsetup

You have a space before the v

edit just lunched with the correct naming of the files and it detects cedric - I cant test any further as do not have all the sources downloaded

click to show screenshot
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Cairo100:
Excuse. He had copied directly instead of manually typing. Now my device appears at lunch but when I run, I get another error:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
you don't have all the correct sources downloaded

you need to

git clone https://github.com/Sohamlad7/android_vendor_motorola_cedric -b lineage-15.0 vendor/motorola/cedric

you will notice that the output normally tells you what is wrong

you will need to source again and lunch again once you have downloaded it

Note you will get lots more error messages and you haven't even begun the build process yet and its best you google them and read how to guides and if you really cant work it out open a new thread with problems to save posting unrelated build problems in this thread

---------- Post added at 03:34 PM ---------- Previous post was at 03:15 PM ----------

Just to add to my last post - This is what it should look like once you have successfully lunched
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Shooting Star Max:
I think I have found a bug. I can't play FLACfiles natively (they work in PowerAmp, since it uses its own engine). Here's a logcat output when trying to listen to a FLAC file at the ringtone picker:

10-30 00:43:22.905 2692 2692 D Ringtone: Successfully created local player
10-30 00:43:22.906 564 564 D NuPlayerDriver: start(0xb4212480), state is 4, eos is 0
10-30 00:43:22.906 564 8005 I GenericSource: start
10-30 00:43:22.911 564 8005 W Utils : track of type 'audio/flac' does not publish channel mask, channel count 1
10-30 00:43:22.913 564 8005 W Utils : track of type 'audio/flac' does not publish channel mask, channel count 1
10-30 00:43:22.915 564 8011 I MediaPlayerService: MediaPlayerService::getOMX
10-30 00:43:22.915 564 8011 I OMXClient: MuxOMX ctor
10-30 00:43:22.915 564 8011 E ACodec : Unable to instantiate a decoder for type 'audio/flac' with err 0xfffffffe.
10-30 00:43:22.915 564 8011 E ACodec : signalError(omxError 0xfffffffe, internalError -2)
10-30 00:43:22.915 564 8011 E MediaCodec: Codec reported err 0xfffffffe, actionCode 0, while in state 1
10-30 00:43:22.916 564 8010 E NuPlayerDecoder: Failed to create audio/flac decoder
10-30 00:43:22.916 564 8005 E NuPlayer: received error(0x80000000) from audio decoder, flushing(0), now shutting down
10-30 00:43:22.916 564 8005 D NuPlayerDriver: notifyListener_l(0xb4212480), (100, 1, -2147483648), loop setting(0, 0)
10-30 00:43:22.917 2692 2712 E MediaPlayer: error (1, -2147483648)
10-30 00:43:22.917 2692 2692 E MediaPlayer: Error (1,-2147483648)

If there's anything else you need, tell me.

Thanks for your awesome work!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] claviger:
Can some of you give an overall report on your experience with LineageOS on the Moto G5 as compared to stock. I have used Lineage on other devices, but sometimes the experience is slower or somewhat buggy, with apps crashing frequently. What is everyone's overall experience? Is this a daily driver, is it stable, is it better than the very light almost vanilla stock os? Thank you all for any remarks.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Everything works fine

No bugs (unless you have a 3gb ram device then you may have problems obtaining root)

It looks exactly the same as stock just with the extra lineageos features

No loss of speed

I can't answer is it better as that as subjective - obviously people who use it would say yes
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] b.zill:
In my case, Lineage is definitely superior to stock ROM:

+ more security and privacy (no Google apps, less uninstallable apps, less system apps calling home, better app control)

+ way more settings (I was astonished how reduced Moto G5 stock settings are)

+ root access

+ no “hello moto” bleating after a reboot (but a 15-second waiting period with a “device-is-unsafe” warning instead)

+ more transparency and patches: KRACK has been responded to in a few days. How many verifyable and downloadable security patches did Lenovo/Motorola publish since rollout of the device in spring 2017?

- claimed lost of Lenovo warranty by requesting the unlock code (not sure if the denial of warranty is legal in my country)

I consider the current cedric releases as stable for everyday use.

There are bugs. Which of them are LOS bugs, which are only in the cedric port, and which of them are in stock ROM as well, I cannot tell. Bugs I have in mind right now:

1. USB MTP file transfer (connection gets lost, no access to many files, tranfer problems) and USB tethering (not working) are the most annoying to me.

2. Probably, there are issues with the emergency function (screen and dialer).

These I discovered today:

3. User profiles: When adding a new profile or user and switching to configure it, wifi will silently be enabled, even when in flight mode. Enabling wireless functions (or other i/o devices like camera, loudspeaker, microphone) without prior consent of the user is unacceptable and a potential risk to the user (and maybe others).

4. Settings > security > app pinning: seems to not work (at least I do not see any difference between enabling/disabling this mode)

5. Home screen settings: Sometimes on entering the home screen settings mode, the home screen is messed up (today: clock disappeared, icon rows jumped down one row, thus deleting all icons of the bottom row).

And, of course, there are still many settings that should have made it into Lineage by now, especially networking functions.

Hope this helps.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
You might want to check out this thread: https://xdaforums.com/g5/themes/motorola-boot-logo-n-removed-t3663735
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Unlocking bootloader/rooting phone/modding phone in anyway does not void the warranty in the UK unless the manufacture can prove that your modification is the direct cause of the fault

eg

if the usb socket no longer works because of a hardware fault they cannot say they won't fix it because you rooted your phone (unless they can prove beyond reasonable doubt that by rooting the phone the usb socket suddenly stopped working which is pretty impossible even if it was true)

if you flashed wrong firmware and brick your phone then they can say well you caused your phone to no longer boot so we are voiding your warranty

Different countries have different rules regarding this
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] b.zill:
Thanks, nice! And opens possibilities for own artwork (or anti-theft information ...)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] matmutant:
They might argue that as a rooter you over use your USB plug (flash addict), but they absolutely can't prove it.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Thats wear and tear which isnt covered anyway

Im talking about if its an actual hardware fault
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] LambdaPerl:
A few of us with XT1676 devices (3 GB RAM variant) are running into Segmentation Fault errors with a few things but even considering that, LOS is performing very well and it's nice to get a breath of fresh air away from the Google bloat (unless you install GApps too, of course). The added flexibility is well worth it and even the Moto Gestures have been included in the settings menu, so ultimately there doesn't seem to be anything in stock that's missing in LOS.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Shooting Star Max:
Yes, I have seen my device had rebooted by itself some times, but I couldn't get any logs. I had pointed out a problem with FLAC files some posts before, could you test that too?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ektus:
I did download a ringtone in FLAC format, which was played within chrome. It doesn't play in the ringtone picker either.

Regards

Ektus.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] b.zill:
Other bugs

Just discovered:

- After a user or user profile change, sometimes "System App UI" (?) crashes.

- Mentioned above: After a change of user or user profile, wifi seems to be re-enabled, even in flight mode. [MENTION=6810779]wzedlare[/MENTION], could you please look into this?

- After every reboot, navbar appears again, although the setting (> Moto actions > hide) is still set to yes. One has to set this to "no" and to "yes" again, then it works. This means, the setting is not called in the right init moment?

- After changing this setting, the settings menu is slightly changed: the grey subtext under some items (current settings) are hidden. Closing and opening the settings dialog again brings back up the subtext. Here, a refresh seems to miss at closing of some (or all) settings dialogs? The Moto actions subdialog includes English text which is not translated into the locale.

- The cursor "blob" is sometimes positioned in the wrong height in some apps like browser or editor (some lines too high or over the cursor itself, thus hiding the typed character below). It's only the blob, not the cursor itself. May also be related to height calculations in regard to navbar enabled/hidden?

Is there any general Lineage buglist against such behaviour can be checked as common to Lineage?

Thanks
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
This isnt a bug

Ringtones need to be in ogg format and placed in system/media/audio/ringtones for it to be listed in the inbuilt ringtone picker (media storage)

any other format needs to be placed on internal storage (not on the sd card) and use a media browser app such as total commander to set the ringtone

Goto phone settings

Sound

Phone Ringtone

Select your media browser eg total commander

Select ringtone

Note if it does't give you the option to select a media browser and automatically opens the media storage list you have set media storage to always open instead - If that is the case goto

Apps

Press the 3 dots on the top right hand side of screen

Show system

Select Media Storage from apps list

Select Open by default

Clear defaults

If Flac cannot be played as a ringtone I suggest converting the file to mp3

---------- Post added at 07:39 PM ---------- Previous post was at 07:35 PM ----------

This doesn't happen with me - my nav bar is set to hide with the fingerprint sensor used to navigate and it stays hidden after every reboot iv ever done

It could be related to you having multiple profiles which is the only thing different from my use that you have said
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Shooting Star Max:
I am sorry, but I've been able to use as ringtones the same FLAC files on my Nexus 4 with LOS. Moreover, I cannot play FLAC files on this ROM in any player that uses Android's own engine (i.e. it works with PowerAmp).
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
It maybe that the nexus could play flac files natively

I don't know if this phone can because I haven't tried it on stock

Flac files require a codec & if the phone can't play them natively then an app with the codec is required

If you want them as a ringtone convert to mp3 - only takes 2 secs

This page will tell you how to implement a custom codec into the rom (requires the rom to be rebuilt from source)

https://source.android.com/devices/media/#codecs

The op will have to implement a custom codec to get flac to work natively
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gilesw:
I'm having problems with my rooted phone (uk g5 2gb) it freezes if i make calls and the speakers sometimes don't work. I thought I'd ping a message here incase this is a common problem or I've done something stupid.