yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] spiloss:
Hi [MENTION=5982915]CodeZero[/MENTION],

Been using this ROM since the first release and I'm very happy with it. So happy that I don't mind too much that I can't use my camera since the 2018-04-15 update (I don't have/want GSF :/).

Question: The OP lists that the last update was 2018-05-24 but I haven't been able to find that ROM / zip anywhere, is that just a typo (04-15 -> 05-24) or am I missing something? I see no post from you on that specific date and the changelog isn't updated.

Any chance that we'll see a new build with latest Security release (June 2018)?

On another topic: Just saw that there's an official Oreo release now for the Moto G5, haven't checked if that's actually an aarm64 build but will that affect/help your ROM?

Cheers and thanks! Spil.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] n5142:
Thank u

this rom is awesome i love it nevertheless i found some camera bug when scanning whatsapp web code can you please fix it? You are the best!!!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] LDAP98:
This bug is known.

Workaround is scanning in split-screen mode.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Since no one responded to my request in the Q&A section I'll ask here so sorry for off topic but I know people here will have a rooted moto g5

Since I don't own this device anymore I'm looking for someone to provide the mmcblk0 partition so people with hard bricked device could potentially revive them

If you would like to provide it you will need the following

A moto g5 cedric rooted with twrp installed

A blank micro sd card of at least 32gb

Linux/Ubuntu or a virtual machine running it

Cloud storage & a decent Internet connection

See instructions below

https://xdaforums.com/showpost.php?p=76795590&postcount=1

You can pm me the image
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] spiloss:
July security update

Hi Zokhii, any chance we'll see a new build including the latest security fixes from upstream?

Thanks for the hard work!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] cango123:
I'll ask CodeZero and build one if he has not already planned to do it but I have exams until next week so don't expect it this week. Gratitude is owed to the OP, his hard work makes this possible ;)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] spiloss:
Your efforts are highly appreciated, and so are [MENTION=5982915]CodeZero[/MENTION]'s. Looking at the other ROMs, most of them seem to be from April so I'm just guessing that they all depend on CodeZero's hard work. As users we should be showing our gratitude towards the people that put in the hard work for us more often.

Being an Open Source committer in an unrelated field (FreeBSD and derivatives), I know about "expectations from users". I just wanted to let you guys know your work is appreciated and is used on a day-to-day basis. It can be difficult to put in the hours when you only hear from users when things go bad!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tablord:
Call quality issues

@CodeZero (and maybe [MENTION=4849714]Zokhii[/MENTION]) Like other users I have issues with the in-call quality.
[MENTION=9065749]romguy36[/MENTION] mentioned it here: post76116617
[MENTION=4771014]Shalzz[/MENTION] here post75862560
[MENTION=3964147]masterdex[/MENTION] here post75598448
[MENTION=5445560]soumitro316[/MENTION] here post74910991

LineageOS version: lineage-15.1-20180415-UNOFFICIAL-cedric

LineageOS Download url: https://androidfilehost.com/?fid=890129502657598089

Gapps version: none, using microG

Did you

wipe: yes

restored with titanium backup: no

reboot after having the issue: yes

Are you using--

a task killer: no

a non-stock kernel: no

other modifications: Magisk Root (but in-call quality issue already existed before Magisk installation!)

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

In-call quality is always bad regardless of network band (GSM, 3G, LTE) or signal strength.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Sharon262529:
4g connectivity issues after flashing stock rom XT1677

Moto g5 after reverting back to stock firmware, cannot use 4g. It does not pick up 4g signal no matter what. Only 3g. How can I fix it? I have installed pixel experience rom before. Will it be fixed if I install this rom
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] cristiansc93:
Is your IMEI 0?

If so, go to the appropiate forum discussion
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
I just looked at the device tree for I presume is the 64bit twrp and the way they have encryption is different from mine so basically what I would do is look at my device tree and everything under first commit merge into the 64bit tree

Just copy and paste the relivent missing files & then go through things like board config and change the paths to mine & anything else relating to my first commit

That may get encryption working on the 64bit twrp

If anyone wants to compile it feel free - I no longer own this device or can compile anything at the moment

My 32bit twrp tree

https://github.com/Theitfixer85/android_device_motorola_cedric

Commits I made to get encryption working on 32bit twrp

https://github.com/Theitfixer85/and...mmit/1d485467999123702f6f6be94e640ed3aaaaf204

64bit twrp tree (I presume)

https://github.com/Sohamlad7/android_device_motorola_cedric/tree/twrp-7.1

So just adapt the stuff from my commits into the 64bit twrp
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dpcioc:
new build

Hi, I learned how to build and I made a new build yesterday. I thought I will share it here in case someone wants it. :)

I am not allowed to post links so I'll just say how to find it: in Android File Host, search for lineage-15.1-20180715-UNOFFICIAL-cedric.zip
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] DavidKirsch:
What is the changelog?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] cristiansc93:
Thank you very much, Im looking forward to try it out
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] zitronenmelissa:
Best Oreo Rom so far

You are amazing :victory: fmradio with good sound, flac Music is working, QR Code is working, working snap Cam (a bit slow) ...

It`s all working beside usb tethering, but we know about this problem

Thank You so much :good:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] arvindgr:
Any clue if VoLTE is fixed..? If so I can gladly give it a try.. anyways thank you for your work...!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dpcioc:
I'm happy you enjoyed my build, I will build again soon for the next security patch unless a developper builds for us. ;)

July security patch and whatever is new in Lineage OS (like "trust"). I don't really know of anything else I just built other people's work.

I have "Enhanced 4G LTE Mode" enabled by default as well as "VoLTE provisioned" enabled by default when dialing *#*#4636#*#*
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Sharon262529:
EFS and persist backup MOTO G5 XT1677

Could you please provide the efs and persist backup twrp?

I lost my 4g and imei. Please help

Flashing instructions too

su (press Return)

dd if=/dev/block/mmcblk0p10 of=/sdcard/modemst1.bin bs=512 (press Return)

dd if=/dev/block/mmcblk0p11 of=/sdcard/modemst2.bin bs=512 (press Return)

Backup files modemst1.bin and modemst2.bin will be created on the root your internal storage.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] kare_meesner:
It looks like VoLTE is working with the new build, great!

Thank You
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ajslaghu:
microG with lineage OS on Moto G5

Is there any 'best-practice' how to install microG so I won't have to use (Open)Gapps? I need some play services for my banking apps ... I'have found so many ways to install , but also comments on methods that supposedly should not work, that I am a bit lost now.

To bring this issue also for other users a bit further, a list of possible approaches:

- install 'openGaps micro version' (unclear if this uses microG or is something else?)

- Use exposed to provide a microG as a mod

- install a custom rom that already has microG integrated

- Try to update with forked microG Lineage versions from the official microG site

- Use CLI to hack microG into the system
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Mahmoud94younis:
Any link of magisk zip file to root it please ?

EDIT : i installed the new magisk 16.7 and its work fine
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] DavidKirsch:
It's working and even fixed a bug for me. Only problem is that at the momento I'm not able to modify the build.prop. Any idea why?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dpcioc:
MicroG and OpenGApps are different but here are the main things to consider.

OpenGApps:

all apps that require google play will work because it's the real google play services.

it's proprietary.

If you choose to go with this, download the ARM64, Android 8.1, whatever variant you want. Then install it with twrp but I don't know if it will just work or it will say that google play crashed. For me to work (there may be a better way I don't know of) I needed to:

1) backup my apps data with something like oandbackup on f-droid.

in twrp:

2) wipe system, data, cache...

3) install ROM and OpenGApps

4) reboot and complete phone setup.

5) restore apps with oandbackup.

For app backup and restore you need root (magisk). See bellow.

MicroG:

open source re-implementation of google play services.

not all apps will work

advantage:

For this, you need signature spoofing (so it can pretend it is google play services). I am not allowed to post links yet so search for "microg signature spoofing" on google and press i'm feeling lucky. The only way I tried was to use Xposed and the FakeGApps module. If you want that and need help with install Xposed, let me know.

Also, make sure you get the latest preview of MicroG Service Core (when you download it from their website, don't click on download stable but rather on the dropdown button right next to download stable). Otherwise, apps will complain that you need to update google play services.

Also I think you cannot just install MicroG Service Core like a normal apk because then it will complain that it cannot integrate into the system when you go into Self-Check. If that's the case, you need to go into TWRP, mount system partition, copy the apk into /system/priv-app and then navigate to /system/priv-app, click on the apk you just copied and click on chmod 755 (so it can be executed).

Also, when you download Service Core from MicroG website, don't forget to install Store from the same download page. This you can install as a normal app. Otherwise, apps will complain that google play services is not installed. You may also need to install other components from that page...

Instead of play store you can use aurora or yalp store in f-droid.

For location, search in f-droid for unifiednlp backend and install one or more and also nominatim. For instance, I use deja vu, mozilla, nominatim. Then activate them in MicroG settings, UnifiedNlp settings.

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Check Download section. Install latest Magisk with TWRP and also the latest Magisk Manager.

Sorry, I don't even know what that is.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Esteban74:
Contacts

Hello, I just installed the rom and I realized that I can not synchronize contacts, can someone help me with this?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ben16w:
Are you using Magisk or Xposed? It could be a problem with SafetyNet
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] hordesoflocusts:
Sim card menu seems broken, and camera APP runs very slow
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] LDAP98:
Same issues here.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] noteventime:
Most things works great, thanks! I had trouble getting the camera running on the April update but it seems to have fixed itself in the July one.

One minor problem I'm running into is that all three "Moto Actions" settings crash with the following exception:

"""

FATAL EXCEPTION: main

Process: com.cyanogenmod.settings.device, PID: XXXX

android.content.ActivityNotFoundException: Unable to find explicit activity class {org.lineageos.settings.device/$CLASS_HERE$}; have you declared this activity in your AndroidManifest.xml?

"""

where $CLASS_HERE$ is:

org.lineageos.settings.device.GestureSettingsActivity

org.lineageos.settings.device.DozeSettingsActivity

org.lineageos.settings.device.FPGestureSettingsActivity

for "Device gestures", "Ambient display", and "Fingerprint gestures", respectively.

Not a huge deal (may be some linger crud due to dirty upgrade from Lineage 14.1 ROM) but I figured the information could be useful in case others are having the same issue.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] linuxcentre:
Bluetooth not sending track names to car

Hi,

I am using a Moto G5 XT1676 with Lineage 15.1-20180415-UNOFFICIAL-cedric.

In the past with my Lineage Moto G3 when I connected to my car to play audio the track names would appear on the display.

In this build nothing shows at all, I can control the tracks but no display of track/artist.

Is there something I need to enable to get this working again.

Thanks!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dpcioc:
New Build (signature spoofing + f-droid)

Hello, I made a new build: lineage-15.1-20180729-UNOFFICIAL-cedric.zip :)

It can be found on Android File Host. It has signature spoofing as well as F-Droid included. This makes it compatible with MicroG as well as OpenGApps.

To manage what apps have signature spoofing permission, go to Settings --> Apps & notifications --> App permissions --> Spoof package signature.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] DavidKirsch:
Thank you for keeping the rom updated, I'm using that version at the moment and no problems so far.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] linuxcentre:
Thanks!!!

Hi,

Thanks so much!!!

So I assume it also fixes the bluetooth metadata problem! Can I just reflash in TWRP without any particular problems? I have f-droid installed and gapps - do I need to remove f-droid first?

Much appreciated!!!

I'll now be able to browse my 20,000 extreme metal songs without trying to figure out who it is !! :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] linuxcentre:
Worked perfectly - thanks!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Horrible Username:
Sweet, Thanks.

Are there any other changes since your last build besides the spoofing and F-Droid? Also can this just be dirty flashed over your older build?

On the topic of your old build I been using it and have only found one problem so far. I can't get MTP file transfers to fully work. I can copy files onto the phone, but if I try to copy something off the phone onto my PC I'll just get an error (literally an "unspecified error") I have read in another thread where somebody else claims the same problem, so it may be a Lineage problem (or Windows maybe). File transfers do work both ways if I connect in TWRP recovery mode.

Basically, I'm just wondering of this is a confirmed issue or not

Cheers
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] netzwanze:
Hello at all,

i will use this ROM without google. If i will use pico tts - its allways stop..
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] linuxcentre:
I had f-droid already installed. I just reflashed it over the april release and it worked a treat...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Raphafluffa:
Thank you a bunch! Now I can send sms again as well. A dirty flash and a cashe wipe was all that was needed. Thanks!!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] MeMa16:
Hi,

can I ask how to enable Pip (I don't find the tile in qs panel) and how I can hide an app in the drawer?

Thanks
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] joshdsy:
Is it possible to go back to stock if this rom doesnt not work out for me ? since this is a 64bit rom et al
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] hly17_7:
thanks

Thanks Raphafluffa for updating the LOS for our Cedric. I briefly worked with the Treble versions but found that the maturity still needs to be completed and also the update mechanism is not clear enough for me. Happy to find this LOS update which works like a breeze in my user situation.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] LDAP98:
It is possible but not recommended.

See https://xdaforums.com/g5/development/rom-lineageos-15-1-t3722188/post74907037
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Myxir:
Hey, what are the differences between Stock Android 7 and Lineage OS for the Moto G5?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] joshdsy:
How stable is this rom as a daily driver ??
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] cristiansc93:
Ive only faced bad audio quality for calls and the normal video recording problem, ohh and the flashlight takes2seconds to toggle from the statusbarshortcut
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] joshdsy:
Oh thanks . So not a daily driver yet
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Moorm@nn:
[MENTION=8112675]dpcioc[/MENTION]:

May I ask you how you build this version?

I tried to build with microg docker but always get this error message:

build/core/base_rules.mk:238: error: vendor/motorola/cedric: MODULE.TARGET.JAVA_LIBRARIES.qti-telephony-common already defined by hardware/lineage/telephony.

I used the manifest from the first page.

Building 14.1 for cedric works, btw...

Thanks a lot in advance :)

EDIT: I got it :)

I modified the LINEAGE_15_1/hardware/lineage/telephony/Android.mk

Did you proceed in the same way?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] giri45:
New Build

https://androidfilehost.com/?fid=3700668719832236845

Thanks to moorm@nn
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Moorm@nn:
[MENTION=8573078]giri45[/MENTION]

Thanks for the publicity. But actually I didn't want to make this version public yet, because I'm still testing ;)

If you want to install it, here are some (important) information:

- Signature spoofing: Restricted patches

- MicroG apps integrated

- Build is signed with my own keys. If I'm right, you'd have to wipe after a change of keys!

- SU is integrated

Right now I am very happy with this build. So I think I'll upload a new one once a month with the new security patches.

Have fun flashing:)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] cristiansc93:
Not at all!:victory: the performance, battery-life and latest security patches make this my favorite choice, give it a try!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] saldor:
And how is the audio quality during calls?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] fre@kadelle:
I have installed your build successfully after after full wipe. Unfortunately, the hardware home button is not working. The onscreen navigation bar and the fingerprint reader are working, but I cannot go back to the home screen with the hardware button. So far, I have tried multiple restarts and to enable/disable the onscreen navigation bar.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Moorm@nn:
Audio quality at 2G and 3G is normal. SIP calling as well.

I do not have VoLTE...

---------- Post added at 04:55 PM ---------- Previous post was at 04:50 PM ----------

Does is work on other custom roms?

To be honest I newer used it...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] LDAP98:
Did you enable this feature in the Moto Actions menu in the system settings?

The navbar is independent from the gesture settings.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Moorm@nn:
Just tested it: On my device the button is working :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] hordesoflocusts:
Is dual sim menu working?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] fre@kadelle:
to sum up the questions regarding the home button:

I have not tried other custom roms, but the same problem occurred with previous builds from this thread.

I never changed the gestures settings.

The navbar was only set off/on after I noticed the issue.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] fantasticmisterfox:
[MENTION=9348228]Moorm@nn[/MENTION] Thanks for the new build. All works fine execpt Signal - Private Messaging App. Wasnt working but with disabling microg I was able to reregist. And afterwards I can turn on microg again.

Nice that you included microG. Didnt know about it before but I like it now. When I saw it seemed complecicated to install hence I didnt gave it a shot. But lately allot of apps that "need" google play crashed in newer versions. MicroG for the win!

Plz keep the builds running!

Oh and have no problem with dual sim [MENTION=8402459]hordesoflocusts[/MENTION]

[MENTION=9361121]fre@kadelle[/MENTION] Dont know which Hardware buttons you mean but maybe use the app buttons remapper. If the normal settings do not full fill your wishes. I use it to remapp the volume up/down as default for media.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Moorm@nn:
You need to activate it under settings / Moto Actions/ Fingerprint gestures.

By default it is disabled.

And it seems that fingerprint unlocking must be disabled.

---------- Post added at 01:00 PM ---------- Previous post was at 12:59 PM ----------

Thanks for your feedback :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] fre@kadelle:
Thanks, I somehow overlooked this option.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Synkr0:
Contacts not synchronizing

I've installed the rom and the Arm64 8.1 micro GApps.

Everything is working just fine, except that I can't sync my Google contacts. Everything else is synchronizing but the contacts aren't.

Does anybody know how to fix this?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Chris180206:
[MENTION=9348228]Moorm@nn[/MENTION]

First of all, thanks a lot for the effort, it seems like you read my mind, I was looking for exactly your build :) (lineage with microG and SU (Magisk?))

Would it make sense to open a new thread for your development (and reference to [MENTION=5982915]CodeZero[/MENTION] s effort) ?

Imho, your changes would justify that. Can't wait to test :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Adrianrff:
I'm also trying to find a fix for this. The solutions I have found online (deleting the Contact Storage app Data, among others) don't seem to work.

Did you sort it out?

Anyone else having this problem?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
I don't have this device anymore but I would use mind the gapps on lineageos 15.1

You will need to clean flash the rom & gapps zip to test

You would need arm64

http://downloads.codefi.re/jdcteam/javelinanddart/gapps
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Moorm@nn:
Thank you for the proposal, Chris.

However, I don't develop but only build new versions with microg included. So I don't think a new thread would be justified.

If I have time, I will build a new version at the end of each month and upload it under the following link:

https://androidfilehost.com/?w=profile&uid=5862345805528066107

Cheers

Moorm@nn
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] hordesoflocusts:
The buttons to switch on/off the sim cards are missing, some code regression perhaps
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Moorm@nn:
Does anybody know where to enable this option in the make files? I have not found it in the source code :(
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gianfo199:
Video recording is working only with footej camera?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] cristiansc93:
Im facing an error 7 of te custom build: https://androidfilehost.com/?a=show&w=files&flid=280278

After installing the soak oreo test, I've already installed it though, any one know what could be the issue? I'm using the TWRP 64bits from the OP as well