yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Jacksonby19:
Why is this ROM not official?

Where are the differences to an official lineageos build?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
There are no differences between an official and unofficial rom except the official roms are built by lineageos servers & meet certain criteria (see below)

Nearly all official roms will start off as unofficial as lineageos cannot develop for every phone

A devices tree can then be submitted for the rom to be become official and added to the weekly automated build of roms

To become official it must meet certain criteria - This rom fails that criteria because the camera is not fully working for example

The full list of requirements can be found below

https://github.com/LineageOS/charter/blob/master/device-support-requirements.md
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Ramshu97:
Can you please someone share me the supported magisk manger flashable zip file for moto g5 Cedric

Thanks
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
https://github.com/topjohnwu/Magisk/releases/latest - the only safe way to get Magisk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Natanji:
Hi, I'm currently on LineageOS 16 and have lots of issues with the camera on that ROM. Two questions.

- Does this ROM improve the camera situation somewhat? Or will I have the same issues?

- Can I upgrade from LineageOS 16 without wiping, or would that cause problems? Has anyone tried this? I know it's always recommended but it would take a lot of time, that's why I ask.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Camera has the same issued; migrating works, I did that too
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Ramshu97:
Couldn't find the presist folder in twrp, EFS folder did backup

Is it enough for the IMEI?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
It SHOULD be enough, but to be on the safe site, you should backup persist too;

Run this code in TWRP terminal:

dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img

(Be careful to do not make typos); then a file persist.img is on your internal storage. If you want to restore, copy the file to it's original location and make sure it's named "persist.img"; then run

dd if=/sdcard/persist.img of=/dev/block/bootdevice/by-name/persist
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Ramshu97:
Just installed on my moto g5 and it's buttery smooth everything working perfectly, don't know suddenly the audio stopped working

No audio even songs or calls
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CodeZero:
New Build [22/04/2020] Is Up!

Changelog

:-

LineageOS 17.1

[*]April Security Patch

[*]SElinux Enforced

[*]FM Radio Fixed

[*]Switched to common dtbtool

[*]Updated IMS symlinks for Q

[*]Downgraded widevine to 1.1

[*]Updated Thermal blobs from deen_sprout 10

[*]Updated GPS blobs from LA.UM.8.6.r1-02900-89xx.0

[*]Updated Radio - IMS blobs form LA.UM.8.6.r1-02600-89xx.0

[*]Updated Peripheral from deen_sprout 10

[*]LineageOS source side changes.

[*]Removed unneeded camera blobs

Download Link

:-

As usual link of rom is updated in op

[*]Clean Flash recommended

Regards,

CodeZero
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eladiocesar:
Testing the new build now, so far so good, the battery is draining very fast previously, maybe with this update it has solved.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] pacemaker.santo:
Thank you

Thank you for your tremendous work. I hope you will try to improve day by day for cedric. God bless you!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] p00:
Everyone should take a moment to donate some cash to CodeZero for all the work he's done on Cedric. His paypal email address is listed in his profile.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jeangraff30:
congratulations on your work on the moto g5
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jib@rmi.ge:
FM works perfectly, but WFD service keeps stopping. Logcat shows several errors related to it, seems to begin with

linker : CANNOT LINK EXECUTABLE "/system/bin/wfdservice": library "libmediaextractor.so" not found

Question: what do you mean by (non-)desktop mode? How to ensure it?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] michael-ellis:
hi, thank you for your work!

the new update works fine, SELinux is enforced and I didn't even had to clean install, everything works well. no bugs with the camera.

however, the android security patch level is still from february 5th 2020 and the vendor security patch level is from october 1st 2018?

that's not how it supposed to be, is it? Could it be due to not wiping my phone before installing?

best regards
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CodeZero:
yes clean flash
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
Vendor security patches are provides by OEMs, unfortunately, our device's last major update was back in 2018, which is why it's set to 1st of October 2018.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mmb_z:
Thank you for this great ROM.

I have only one problem, I start a video recording and the counter is running just fine, but when I hit stop the app freezes and the video is not saved! But sometimes after a fresh restart, it works just fine!

I did flash the ROM more than once and always clean, I even formated every thing but "vendor"!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] geemcjim:
It's good to see the Wi-Fi option in "Mobile data & Wi-Fi". That wasn't there in the last build.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] michael-ellis:
didn't work, security patch still is from february :confused:

EDIT: i recovered my backup, but now it won't recognize my security pattern after booting? what happened here
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] hordesoflocusts:
Just delete the file /data/system/locksettings.db, in recovery mode -> file manager
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] p00:
This has been a persistent issue for me as well. Since upgrading to Lineage 16 and every upgrade thereafter (of course following the recommended installation instructions). Signal video calling works just fine though so it's definitely possible to take video and encode it. I'm just not sure what the Camera apps are doing that's different than recording video through Signal other than simply trying to save to disk.

I've looked over the output of logcat while attempting to take a video with the default camera app and open camera. Nothing jumps out at me in terms of a root cause.

After attempting to end a video I see:

04-28 09:47:26.354 806 27059 W CameraSource: Timed out waiting for incoming camera video frames: 0 us
04-28 09:47:29.354 806 27059 W CameraSource: Timed out waiting for incoming camera video frames: 0 us
04-28 09:47:31.088 635 1193 E LightsService: Light requested not available on this device. 2

I'll attach logcat output to this message taken during an attempted video recording with the default camera app in case anyone wants to take a look.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Well, first camera apps are optimized for quality, so they do more complex things with the camera. Second: Camera support is, to be honest, a mess on this device. Sometimes the camera driver crashes without any reason or even using it, sometimes (espically on low light) the colours are mixed up (also reffered to as green tint bug) or video recording is broken with Google Camera newer than 5.x! The devs worked so hard and the situation improved (above I described the current situation, though) but it's still far from perfect :( We can't do anything except blaming Lenovorola for a camera driver that doesn't support never android versions than he was designed for :/ (or hoping the devs can fix that by mixing camera drivers from devices and doing workarounds)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] p00:
Indeed. I've followed most of the threads here regarding the camera issues.

I'm aware of this also and I'm very grateful. My post was by no means meant as a complaint. I'm simply trying to provide information that might be useful.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] buffett:
Update on Moto G5 (XT1676) successful, but with older TWRP

I updated my Moto G5 (XT1676) this week from Lineage OS 16 to 17.1.

At the beginning i had troubles with TWRP: i could though install everey version of TWRP, but installation of lineage_os.zip terminated at the beginning with error message:

"updater process ended with error: 255"

Then i tried other (older) versions of TWRP, with twrp-3.2.1-0-cedric.img the installation of the lineage_os.zip worked.

Boot and set up of my Moto G5 without problems. Everything works fine (incl. camera), except my "Music"-App.

With others (f.e. Play Music) no problems.

Thanks for this Custom ROM!!!

I bought now a new accu pack for my Moto G5, so I am looking forward to use the cell phone another 2 years ..... :cool:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
What's wrong with the Music app? Works here.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] buffett:
I start Mucis app => immediately after start, there is a error message, see Screenshot:

[i am not allowed to post outside links]: photos.app.goo.gl/W6WtcMGJvtz8Jsk69

Than i choose "Close App" => error message goes away, app is still open and seems to work.

Then i try to start a music title (mp3) or continue with play-button at the lower edge => same error message again, as above..

But this is really no problem for me ... there are a lot of (other) music apps, and even Play Music works fine!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Please use this app: https://market.android.com/details?id=com.pluscubed.matlog

...and click on "Save ZIP" as soon as possible after the error is shown. Then upload the zip here, thanks :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] buffett:
Hope, there ist a useful information in the logfile ....
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Uh, the log file doesn't contain the necessary information, as nothing got recorded :/

Try again, but this time explicitly record via the menu, then reproduce the error, then stop recording and save it. (P.S.: The device information and kernel log is not necessary.)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] buffett:
Sorry ... work the first time with this log app. After some trials and one reboot i guess, there is some information now:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Perfect, the information is there :good:

Let me look at this. While I'm looking, please try to disable auto-shuffle and check what's happening then.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] buffett:
[Solved]

Auto-Shuffle or not did not remove the problem.

But then i tried first to empty the cash => still the same problem.

Than to delete the memory content of the app (Settings | Apps & Notifications | Music | Memory & Cache .... and .... it worked!

So i guess => nothing to do with lineage OS 17.1, but with (old) app data from lineage OS 16.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Nice :D
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] x-black:
Hey there! Thanks a lot for this rom, it's amazingly fast and stable! No issues with camera, video or music app here.

Has anybody managed to change the font to something else than just serif / sans-serif using the Lineage theme changer? Is there any way to load additional fonts?

Thanks!

Edit: anybody interested in running microG on this Rom?

Use this script on reddit to get signature spoofing and then just install the latest nanodroid microG. Works fantastic!

https://old.reddit.com/r/MicroG/comments/fywiix/signature_spoofing_patcher_for_android_q/

https://gitlab.com/Nanolx/NanoDroid
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] sauravbhagat99:
any zip file for xt1677
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
TWRP 3.2.3 64bit

https://drive.google.com/open?id=1MLlljM7BzMj9Da57LeyBHyg81cHdW1cB
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Why ancient TWRP as answer to a ZIP file question :confused:

That's the newest TWRP: https://xdaforums.com/g5/development/recovery-teamwin-recovery-project-moto-t3952430/page1

(Note: Encrypted backups (they don't work) are NOT backups with encrypted /data (that works))

And this the latest ROM Version (for every Moto G5, including XT1677) https://androidfilehost.com/?fid=4349826312261779021
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
I know that twrp supports encryption but not sure about encrypted backups - you'll have to try

You can always take the source code and build a current version

I doubt there's any relevant difference for this device in versions anyway

https://github.com/Akipe/twrp_android_device_motorola_cedric

Also you can also compare it to my official twrp tree and just build that changing it for 64bit (board config kernel etc)

https://github.com/Theitfixer85/android_device_motorola_cedric
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
I wished you made an 64 bit TWRP too (I know why you did not), your offical TWRP is quite perfectly working :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
I did start making a tree for it - I never compiled it and don't know if it will compile

If you want to compile it you can find it

https://github.com/Theitfixer85/android_device_motorola_cedric_twrp64

You'll need to also pull a 64bit kernel & vendor parts from somewhere & might need some other trees
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] aapje1299:
Just got an Moto G5 from my mom security was falsely tripped. I flashed this rom and everything works great. But what is the home button suppose to do? It doesn't do anything, is that normal? Do I have to enable it somewhere? I enabled on-screen nav bar to actually be able to do something. Should it support gesture navigation? Also in the OP it states that fingerprints are working, but I have no fingerprint option in the settings.

--Edit:

I just scanned through this topic and found a solution for the fingerprint scanner! Is the fingerprint sensor normally supposed to function as home button?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] michael-ellis:
on the stock firmware it's supposed to be your back, recent and home button through gesture navigation.

I have a related problem: i use the fingerprint scanner as my navigation bar, but how do i get rid from the on-screen buttons? I can set it to on-screen gestures, but that's annoying bc if i want to open some slide menues in an app from the edge, it interprets that as "back". The onscreen buttons on the other hand use precious screen area! i already had it without them, before the last update i think, but how do i get them to disappear again?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
You can disable them in buttons option
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] markerio_91:
Really nice job!! A little bit of a push for this old phone :)

My old MotoG (Peregrine) ran LineageOS up to Android 7 back in the day, but my current Moto G5 is still stock. Does this rom offer sim disabling? I mean, my phone is using SIM2 as 'work phone', and it's something useful to be able to individually disconnect it.

Thanks!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
Yes
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] markerio_91:
I'm sorry mate but I can not find the option to do this, it even says that it is not possible :eek::eek:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
Ah my bad, Android removed it in 10. It was there in pie ( I remember because I always had to disable a sim)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] FranGAMER321:
That happened to me too, I just went to TWRP and it asked me for a password too, I touched it to cancel and I went to Wipe to erase everything to flash the ROM again, it gave me an error, I restarted, I tapped on cancel again when TWRP asked me for a password, and I did a Wipe again (that second time it gave me no error) and I flashed the ROM again, rebooted and no longer asked for a password [Yes, I know it's too late to answer you]
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] santiago13100:
Hi There, NFC is not working? Any hints to get that solved? Thanks a lot
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Since when has Cedric NFC :confused:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
You're probably on the wrong thread, montana has NFC, cedric doesn't.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] santiago13100:
Sorry, I was confused about my G5 and think it has NFC ...sorry ;)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ezle:
How to successfully pass safetynet verification on the latest version of this ROM?

In the previous version, it was enough to install the "MagiskHide Props Config" module.

It doesn't work with the latest version of this rom.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
You need to flash the safetynet module
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Sibbe314:
camera issues

Unfortunately I still have camera issues:

* the camera APP that comes with the rom cuts the taken pictures at the boarders

*video crashes on stopping the record

* every other photo app crashes

I did a clean flash before. Although the rest of the ROM is really great it I is so sad because I cannot use my scan app or take good pictures or videos. Can anyone help? Should I record files? Thx
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Yes and No

EDIT: Video is fixed in the next update of this ROM (or now on my Lineage builds called MintOS. You can dirty-flash over that build.)

EDIT2: About cropping, try to fiddle with resolutions in Camera settings
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Sibbe314:
Thank you for your answer. Changing the resolution did it.

It is OK if the camera app from the ROM works, but it is still not satisfying. As I said it is not possible to use any of the further apps that use the camera. Messangers crash while taking a picture scan is not possible and good photo apps do not work. QR Code, identification and so on. I tried many different apps and I can say that it is a general issue with the camera.

I did not find any other problem for me with the ROM so I really hope that this major thing from my point of usability will be solved.

If there are workarounds or if I am the only one with this issue please tell me.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
I'm sorry, but Camera is a well-known Problem. It has more bugs than you discovered yet, an fix is not found yet. [Insider info: Soham/CodeZero is once again (he did so many times and so many other devs did too) investigating, maybe he will find the fix, but better don't except it; else you probably will be disappointed. It's a hard issue to solve...]
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Jacekalex:
Hi

I have Moto g5 xt1676 Cedric

with OS - lineage-17.1-20200422-UNOFFICIAL-cedric.zip

I have a little problem with SD CARD Kingston SDHC 32GB.

I put the card in the phone, after starting the OS detected the SD card and asked whether to use it as system memory or removable.

I chose removable memory, then the system automatically formatted the card.

The SD card has started working.

But after each reboot, the system cannot mount this SD card and again asks if it should be a system or removable card, and wants to format the sdcard again.

In my PC through the adapter, the card works without any problems, it is formatted to FAT, I have also tried exFAT, always with the same result.

What logs or diagnostic information should I place to describe the problem in more detail?

EDIT:

Log:

05-30 20:36:05.605 406 471 D vold : /dev/block/vold/public:179,65
05-30 20:36:06.252 406 471 D vold : Unable to read FAT
05-30 20:36:06.252 406 471 D vold :
05-30 20:36:06.252 406 471 D vold : /dev/block/vold/public:179,65: UNEXPECTED INCONSISTENCY; RUN /system/bin/fsck_msdos MANUALLY.

FSCK?

/system/bin/fsck_msdos /dev/block/vold/public\:179\,65
** /dev/block/vold/public:179,65
** Phase 1 - Read and Compare FATs
Cluster 74118 is marked as EOF in FAT 0, free in FAT 1
Use FAT 0's entry? [yn] y
Cluster 74119 is marked as EOF in FAT 0, free in FAT 1
Use FAT 0's entry? [yn] y
Cluster 74120 is marked as EOF in FAT 0, free in FAT 1
Use FAT 0's entry? [yn] y
** Phase 2 - Check Cluster Chains
** Phase 3 - Checking Directories
** Phase 4 - Checking for Lost Files
Free space in FSInfo block (870263) not correct (870266)
Fix? [yn] y
Update FATs? [yn] y
99 files, 2682592 free (870263 clusters)

***** FILE SYSTEM WAS MODIFIED *****

I can manually mount this SD card:

cedric ~ # mount /dev/block/vold/public:179,65 /sdcard/back/kartasd/ -t vfat
cedric ~ # mount | grep karta
/dev/block/vold/public:179,65 on /storage/emulated/0/back/kartasd type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)

but the system keeps repeating the same error at startup:

05-30 20:51:49.543 406 1252 D vold : /system/bin/fsck_msdos
05-30 20:51:49.543 406 1252 D vold : -p
05-30 20:51:49.543 406 1252 D vold : -f
05-30 20:51:49.543 406 1252 D vold : -y
05-30 20:51:49.543 406 1252 D vold : /dev/block/vold/public:179,65
05-30 20:51:49.842 406 1252 D vold : Unable to read FAT
05-30 20:51:49.842 406 1252 D vold :
05-30 20:51:49.842 406 1252 D vold : /dev/block/vold/public:179,65: UNEXPECTED INCONSISTENCY; RUN /system/bin/fsck_msdos MANUALLY.
05-30 20:51:49.842 406 1252 D vold :
05-30 20:51:49.843 406 1252 E vold : Process exited with code: 8
05-30 20:51:49.843 406 1252 E vold : Filesystem check failed (no filesystem)

Cheers
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
Just remove and reinsert the SD, it should work.

Thanks for the report, we will look into it.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gambacherkalbenstein:
i didn't install it, as far i could figure out
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
I/O error is strange... Do you have another card to try?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CodeZero:
New Build [12/06/2020] Is Up!

Changelog

:-

June Security Patch

[*]WFD Fixed (Updated to Q wfd blobs from daisy)

[*]Deleted camera.monotonic (this fixes video recording bug for some users)

[*]Set default size to 1GB swap on all variants

[*]Adjusted display power settings

[*]Many more kernel side changes for detailed changelog check kernel source thanks to [MENTION=9497193]OmegaPrimus7[/MENTION]

[*]LineageOS source side changes.

Download Link

:-

As usual link of rom is updated in op

[*]Clean Flash recommended

Regards,

CodeZero
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] daniel.971:
After upgrade from previous 17.1 release, Trebuchet is crashing.

Force close and app reset doesn't help. Does anyone experience this issue too?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CodeZero:
did you clean flash?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] daniel.971:
No. I've flashed new version of gapps and Los over the version from april this year.

After that, I cleaned cache and davlink.

If no one else has this problem, I should probably perform a clean flash.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CodeZero:
i would recommend you to clean flash cuz I'm not facing any kind of such issue.. after performing clean flash if your still facing the same issue just get me logs thanks
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
I have this issue too - an SecurityException about an missing permission called android.permission.STATUSBAR (and sometimes another one I don't remember). I did not do an clean install... ;)

EDIT: here is the first error: E/AndroidRuntime(7426): java.lang.SecurityException: Permission Denial: setShelfHeight() from pid=7426, uid=10125 requires android.permission.STATUS_BAR

I btw tried pm grant but it says Unknown permission