yashsingh1/xdaforums huggingface dataset:
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] meisanerd:
Interesting. If I run that in the terminal on my phone, it errors out trying to set the prop. But Im currently not at my vehicle, so not sure if that had an impact. I'll have to give it a try when I have a minute.

I am using a dongle to connect to mine as well, my HU runs Android, it isn't a certified unit built into a vehicle. So not sure if this potential fix helps with everything, but at least if it works for dongles we might have a usable solution.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] meisanerd:
Ok, disregard my previous error, I forgot to su to root before running setprop in the terminal. If I elevate to root, then run it, it accepts the command just fine. Now to just get out to my vehicle and see if AA connects.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] meisanerd:
OK, so with my carlinkit autokit, changing that android property, it seems to get a bit further, but doesn't actually work. It now just repeatedly connects, then disconnects, then connects, then disconnects.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] LunchStrong5016:
There are other settings that the AAWireless adapter supports such as passthrough (where the phone's ID is passed through instead of the dongle's ID) and other vendor-specific tweaks for various vendors' head units. I'm not familiar with the carlinkit dongle as I wanted a dongle that had lots of debug options and AAWireless had quite a few from what I saw on youtube and in their Android app. Could you perhaps return the carlinkit and get an AAWireless instead?

Maybe the FAQs from my link for AAWireless support can help you find a similar setting on your carlinkit dongle?
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] meisanerd:
I think part of the difference is that my head unit doesn't natively support AA, it runs Android so it needs something that emulates AA to work, which is what the Carlinkit does. Now, I might be able to get it working by attaching an AAWireless unit to the carlinkit, and then attach that to the head unit (yay Frankenstein). For now, though, I seem to have gotten a wireless connection "working" via Headunit Reloaded over Wifi. It is buggy, so Im not sure if the setprop made it work, or it just randomly decided to start doing that on its own. It would be nice, though, if it all just worked properly from the get-go.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] :
Building 18.1 as user build with a locked bootloader continues to work just fine as of Oct 19.

I pulled in the 19.1 commits from Oct 10 (repopick made light work of this chore). There was one build error related to audio_config_prop in the commit "kiev: sepolicy: address the remaining denials of MotCamera3". Adding a type entry in device/motorola/kiev/sepolicy/vendor/property.te like the moto_boot_prop fixed the build error for me (perhaps related to doing a user build? or am I missing some other 19.1 commit(s)?) Any event the camera is working fine after a few tests. Bluetooth also seems to be working after a quick test.

While I did pull in "kiev: Allow moto camera3 to skip stream size check", I did not pull in the possibly related 3 commits for the topic "twelve-camera-privapp" as the code appeared to be very different in those commits than what is in 18.1. I don't want to spend the time atm to see if this topic needs to be translated and imported for 18.1 (hopefully i get away with being lazy).

HTH anyone still building 18.1 for themselves.

EDIT: Out of happenstance, I missed a few commits from Oct 10. One of those included "Use USB audio policy configuration from AOSP" which was just reverted.

Last edit: I have gone back as far as the august 13 19.1 commits and attempted to repopick all or subsets of them. Aside from the kernel changes (I expect these likely do little other than fix minor bugs - perhaps not even relevant to 18.1) and sepolicy: fix property_contexts for MotCamera, I either run into build errors (especially around the power related changes), runtime errors (attempting to update bluetooth builds and loads but bluetooth does not function), or boot loops (i removed bluetooth related updates and attempted to keep the vendor interface updates).

Given the dev has suggested flashing an updated radio.img to fix some bootloops users are experiencing on 19.1 without booting to stock to "provision" the carrier as has been recommend before, I had hoped some of the vendor interface changes might make it possible to avoid "provisioning" on stock for 18.1. All I got was bootloops with the commit sets I tried so this remains unknown for me.

I dislike the 19.1+ "geriatric" UX enough to remain on 18.1 for a while. But maybe after 20 is stable for a few months, I'll break down and switch. A bunch of 20 commits just recently showed up so it's likely to come for kiev next year when lineageos 20 is released.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] meisanerd:
@LunchStrong5016 I just updated to LOS 19.1, including the firmware updates required to keep it from bootlooping, and my wired AA is working now. So not sure if it was a firmware fix, or something that they eventually fixed in LOS.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] zigxda:
Followed instructions as usual: https://wiki.lineageos.org/devices/kiev/upgrade.

Successfully and without incident upgraded directly —

from lineage-19.1-20221231-nightly-kiev-signed and MindTheGapps-12.1.0-arm64-20220605_112439

to lineage-20.0-20230114-nightly-kiev-signed and MindTheGapps-13.0.0-arm64-20221025_100653.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] SyberHexen:
Do u have a link to thread of boot.img
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] SyberHexen:
It's an unintended fixed by switching the device to qcom USB implementation VS aosp one
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] fddm:
That was me, but I stopped because my pc did not have enough ram to keep building Lineage and I was worried about killing my swap SSD. The kernels I posted were getting old so I eventually pulled them to prevent issues.

I build with

CONFIG_NETFILTER_XT_TARGET_HL=y

and used Magisk to add iptables rules to modify the TTL of outgoing tethering packets and block IPv6.

iptables -t mangle -A POSTROUTING -j TTL --ttl-set 64
ip6tables -t mangle -I PREROUTING -j DROP

It's unnecessary to modify APN settings for LOS since it does not include DUN APNs.

I also enabled these options to support NAT6 for an app I made that gives much more control than Android allows.

CONFIG_NF_NAT_IPV6=y
CONFIG_IP6_NF_NAT=y
CONFIG_NF_NAT_MASQUERADE_IPV6=y
CONFIG_IP6_NF_TARGET_MASQUERADE=y

And additionally the Wireguard module since I use it.

CONFIG_WIREGUARD=y

I also disable module signatures and module signature enforcement so existing modules are loadable without swapping them in the vendor image.

I attached the last kernel I built for myself, targeting lineage-20.0-20221231
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] SyberHexen:
Thanks for the information, I had intended to enable wireguard for this family devices but I guess that I lost the change along the way.

I'll look into adding these to the production builds
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] cidrepitra:
Question from a stupid person...

Can the boot loader be locked and what's the process?

The instructions make no mention of it.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] RETIEF:
If you relock the bootloader you will likely brick the phone with only a service center that can help.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] Masterchief87:
Is there a reason why I can't get TWRP to boot ever since I installed this ROM? It worked fine prior to installing Lineage but now the only recovery that will work is the lineage recovery. I've tried:

[fastboot boot twrp.img]

[fastboot flash recovery twrp.img]

[fastboot flash recovery_a twrp.img]

[fastboot flash recovery_b twrp.img]

Every time I boot into TWRP it goes to the TWRP splash screen then the phone vibrates and shuts off. Please forgive me if this is a dumb question. I used to know what I was doing, but this is my first A/B device and I haven't really been active for the last few years.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] iPhonesSuck:
I've been out of the game flashing ROMs for a few years now but I did root this device when I first got it. Which was about a year ago I guess. I'm on the stock Android 10 build. I would like to update to lineage. I've downloaded all the files. I'm just curious if I could just boot into TWRP and do a full wipe and then just flash the ROM and Gapps and magisk like I'm used to doing in the past on Nexus devices? Would this work or would it brick? Thanks in advance! I'm praying this is possible because my laptop that I use to root this phone is a dinosaur and absolutely hate using it
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] Masterchief87:
The instructions say you have to update the stock firmware to android 11 before you install lineage.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] MindTrix:
I am on android 10 like above but I am looking for a copy of " lineage-18.1-20220813-nightly-kiev-signed.zip " because I lost my copy on a thumb drive.. I would just like this phone to be android 11.. or a few nightlies back is fine too if anyone has a copy
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] Masterchief87:
Never mind. I was using h3xmind's TWRP which apparently is no longer supported. I just found SyberHexen's TWRP on the Havoc OS thread and it seems to work just fine so far. For whatever reason, I guess h3xmind's TWRP doesn't get along with LineageOS 20.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] gechu:
Hi all, glad to see some activity for this phone!

My only use case is to use Android Auto in wired mode. Has anyone successfully used AA with LOS 20?
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] SyberHexen:
Had some reports bt mode issues was fixed after we switch to qcom USB hal

Idk about wired but it's likely working
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] gechu:
Thanks @SyberHexen, how is the battery life in LOS 20 compared to the stock rom? And, is there a low power mode available that can be used to keep the phone alive for an extended time?

Reason I ask is because I have this phone permanently connected in my car for running AA (also use Tasker to toggle wifi hotspot, plex server etc..), and without efficient battery operation, the battery will drain quicker, phone power off.. and that will create a poor experience.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] fddm:
Battery life is quite good and does have battery saver mode, but if your using it as a server, why not use Battery Charge Limit or ACC(w/ ACCA) to control charging behavior so you can just leave it plugged in?
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] gechu:
Thanks for sharing @fddm - I was not aware of those apps. However, I have no clear idea how to my scenario can benefit from it? The car will stop charging the mobile after a short period of time after the vehicle has been stopped.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] Quantumstate:
Does the phone ever fail to ring with incoming call, as with Havoc?
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] SyberHexen:
Here it's fine.

Are you on vzw or a mvno sub company?

I recall this being a thing on cdma type carriers on another device.

How about wifi calling / VoLTE are u using either of those?
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] Quantumstate:
Nah, TMo US.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] SyberHexen:
Nice me too (mvno type)

Maybe some bug with rouge dnd setting

Only other time I see this is when using wifi calling sometimes there is a great delay on receiving the call to where it rings once or not at all and you get notification of a voicemail
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] Quantumstate:
I only get notification of VM, not ring at all, and this is fatal.

Looks like I have to move to Lineage.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] FailSafeNow:
I have a serious SIM problem.

I just installed the lates LineageOS build, lineage-20.0-20230506-nightly-kiev-signed.zip. And I put my SIM into the phone, and I got no connection. Just an exclamation point over the signal indicator. And that's not all. When I go into Settings and navigate to my SIM settings, Settings crashes. What the hell? I did everything like the instructions said to do.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] fddm:
I did a fresh install yesterday and managed to catch a kernel panic from a modem crash. This device has an out-of-service sim in it atm and I had not disabled the ril yet, so this report may be invalid. Thought I'd share anyway just in case.

Spoiler content hidden.

Spoiler content hidden.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] SyberHexen:
Hmm is it possible for you to restock on slot_a and flash copypartitions.zip?
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] fddm:
I'll report back if it's reproducible after. Kind of a weird crash, triggered randomly on an ambient display wake up after I had been using it for hours.

Edit: It's been a month and was never reproduced. Crazy.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] Kireej:
Searched everywhere can this work on moto g 5g Austin variant?
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] fddm:
Your only options are GSIs for the moment.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] happysunshine:
Hey, should this rom be play store certified and google pay capable?

For me its not (no root) which is a bummer, my older phones had no problems with noroot lineageos + banking apps.

Did a cleanflash twice following official lineage manual.

Any advice?
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] SyberHexen:
In the main post there is a note about cts/safteynet so no. LineageOS does not natively support the hackery needed.

Though you can get certified for both safteynet at playprotect api using USNF (universal safteynet fix)

I had better luck with the MOD version

Release v2.4.0-MOD_1.3 · Displax/safetynet-fix

Changelog: v2.4.0-MOD_1.3 Fix "stat /sys/fs/selinux" access time reading. Also removed archaic MIUI cross-region shenanigans. Thanks to PR by aviraxp! Ignore props changing on Xiaomi.eu. This fixe...

github.com
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] fddm:
Just minor issue to report. When following the official build instructions, using extract-files.sh to extract vendor files from an installable zip or the device, I'm getting an IMS crash that loops forever:

Spoiler content hidden.

Adding your forked muppets vendor repo to roomservice.xml results in working IMS just like the official builds.

Spoiler content hidden.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] SyberHexen:
To note that script does not handle manually pinned / patched apps like ims.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] mathew2214:
i am working on a project involving Kiev and LineageOS 17,1. however i am running to quite a few difficulties. does anybody have a link to a working LineageOS 17.1 device tree for Kiev? preferably unified but separated will work. I cant seem to get https://github.com/SyberHexen/android_device_motorola_kiev/tree/lineage-17.1 to work. it compiles with some effort, then builds and flashes fine, but doesnt boot.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] DrinkingSubset:
Will the steps work for the Motorola Moto G 5G 2023?
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] RETIEF:
I don't know if the steps work, but the ROM will not. This ROM was written for a Qualcomm device. Your phone is a Mediatek device.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] ChaoticCapriquarius:
I am having an issue where my Screensaver doesn't work even tho it's enabled. I have tried several Screensavers all have the same results. Is this a known bug and is there a fix or is it just a me issue?
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] query0:
Is it gonna get lineage os 21.0(Android 14) support?
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] bilivulu:
It's not though, at least according to the internet https://m.gsmarena.com/motorola_moto_g_(2023)-12249.php

So given that it's a Qualcomm device, would the steps work?
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] Wheels564:
I just got my Moto One Ace and installed LineageOS20. I have to say kudos to erfanoabdi, SyberHexen, Jleeblanch, the LineageOS team and any other contributors. After installing everything started working (Volte, Vowifi, etc etc.) compared to stock moto software. The only issue I almost had was sideloading the rom itself fastboot gave an error. Luckily I also put the rom on my sd card and went in without a hitch. Again thanks to everyone for this great rom.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] Wheels564:
Is there anyone out there that has Tracfone (Verizon US) on Kiev with LineageOS and has 5G and voicemail working? I just assumed that Verizon cut my 5G off when I unlocked my bootloader however when I flash back to stock OS 5G and Voicemail works again. I even compiled Lineage19.1 and 18.1 with the same issue. I tried adding an APN value to the apn-config.xml file with no joy. It saw my changes, picked my APN but still no joy. Texting APN to 611611 did nothing because the apn vales are greyed out and will not follow the sim. I have plenty of screenshots if someone has an Idea and needs more info.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] Arrxa:
Thanks @SyberHexen for the Rom and the work you and others put into maintaining it. Been using it for a few months now since Motorola stop sending updates for the device.

One problem outside of FM radio not working again is there are no ringback tones/sound when calling/dialing out.

According to a few Reddit threads and this bug report https://gitlab.com/LineageOS/issues/android/-/issues/5916 you may have to cherry pick and add this to the device tree to get outgoing calls working as they should. https://review.lineageos.org/c/LineageOS/android_frameworks_opt_telephony/+/339852

thanks!
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] Arrxa:
More info for the outgoing call issue.

https://www.reddit.com/r/LineageOS/comments/15qqjy1/_/jw62r94
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] S5man:
So when I update (either from Android settings menu or via ADB/Fastboot) I lose root after the update is installed. Is there a way to avoid this from happening?

Update: I found this

https://www.reddit.com/r/Magisk/comments/wp8ytq
and it worked
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] S5man:
I had the same issue, for some reason after the install the mobile network is just disabled (turned off) but you can just enable it and it should work.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] andrew1315:
On step #4 which Magisk file so we flash? I'm having to fix everything I flashed a update and lost root and my gaps went nuts at first. Please lmk can't remember what I did the first time. Thanks!
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] a977427:
Hi, can I use the top front LED for notifications on this ROM or is disabled? Thanks
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] Donnie267:
Is there any word on official release? Also, I'm having trouble getting GPS to work reliably, not sure if anyone is having the same issue.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] bobbyp1086:
how do you go from freshly flashed stock to adb without usb debugging?
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] jhjhjhjhjhjh:
Fastboot flashing doesn't require USB debugging.

USB debugging is mostly used during phone operations while the phone is on....

Fastboot flashing , the phone is always in an off state. No access to the system...
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] bobbyp1086:
So troubles. Got it flashed, need boot.img for magisk and twrp is failing decrypting, screen lock pin isn't working. Any help with either from anyone.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] Donnie267:
I got magisk to flash via sideload.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] bobbyp1086:
I can't even get gapps to install without decrypt
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] SyberHexen:
Both magisk and gapps should install without decryption.

If you don't have external storage such as sdcard or otg you'll have to sideload the files.
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] jhjhjhjhjhjh:
I got it rooted by backing up the boot.img after you flash the lineage ROM. Reflash the ROM and reboot to bootloader, then boot back into twrp then back up the boot.img to an external sd.card. Then after you have lineage booted... open magisk and patch the boot.emmc. rename to boot.img and fastboot flash the patched boot.img..
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] bobbyp1086:
i spaced about twrp backing up boot.img, trying to install gapps fails internal storage is not mounted due to encryption. im about to format an reflash. linage is working an beautifully
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] bobbyp1086:
its not. after a format thru twrp the internal storage shows up, then after flashing rom and rebooting to bootloader and back to twrp its at 0mb. same with everything under backup, i am thinking instead of rebooting to bootloader just reboot set the lock screen and then try twrp again.

edit: weird thing going into backup i hit refresh sizes and all is showing up. but when flashing gapps, i am trying to get aroma, before the refresh sizes i got error 255, now its saying loop 17,18,19,20 dont exsist

strange things there, i am guessing i wont be able to use aroma
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] SyberHexen:
Right now we have to wait for twrp 11 support for decryption on A11 stock/ roms.

Afaik opengapps 11 only has pico/nano packages atm.

Loop errors are OK
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] MadMan29729:
I'm having a problem where I can't hear calls when I hold the phone to my ear, switching to speakerphone and back makes it work. any way to fix this without going back to stock?
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] atsalchenberg:
How do I decrypt the data, I've flashed the three versions of the rooms at least two three times each and I can't back up the data for the life of me & a few more issues any help will be greatly appreciated.

Also what is the ideal TWRP version for this build?
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] SyberHexen:
Atm due to the new Android 11 crypto decryption isn't possible untill twrp 11
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] atsalchenberg:
Where can I find a working vbmeta for this from?
[Moto G 5G ROMs, Kernels, Recoveries, & Other Devel] atsalchenberg:
My phone won't enter recovery. Regardless of type. I flashed a vbmeta that came with a TWRP recovery and now it won't boot into recovery and recovery boot screen turns on and then it resets itself and Boots into the system. Any ideas of how I can fix this issue