[ROM]-[13]-[KIEV]-LineageOS-20-[OFFICIAL]

Search This thread
Sep 18, 2022
9
1
If it is indeed a bluetooth stack issue, that would explain why it works on your desktop, but not on your device. As I am guessing the adb port forwards are probably sending the wireless communications over the usb cable for the emulated setup, which bypasses the bluetooth stack and thus wouldn't be affected by issues in that.
I'm leaning towards it not being a bluetooth issue based on a new workaround I found. From my open gitlab issue ticket:

Found a workaround by purchasing an AAWireless dongle and using wireless Android Auto with LOS19 build 20221001 and my GM-branded car.


Dongle would not work initially until I enabled its "GM Fix" setting which according to their FAQ in the background does essentially this:


adb shell setprop debug.car.skip_frx true

I do not know how to run that command on my LOS19 while it's connected to my car head unit and do not know if it will affect AA for other cars, but was hoping it would help developers narrow down the issue in my logcat logs. For now, I can live with using wireless Android Auto with LOS19 but would prefer using USB connection to my car.


Their FAQ: https://cpeb.freshdesk.com/support/...l-not-start-up-car-shows-searching-for-phone-


The above skip_frx appears to be the same thing as when I earlier tested LOS19 with the desktop-head-unit.exe where I enabled AA developer mode on the phone.
I wonder if this
Code:
skip_frx
property can be baked into LOS in future builds so they can work with GM head units. Unsure if this will negatively affect other brands of head units, though.
 

meisanerd

Senior Member
Nov 17, 2012
119
53
Edmonton
Moto G 5G
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.
 

meisanerd

Senior Member
Nov 17, 2012
119
53
Edmonton
Moto G 5G
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.
 

meisanerd

Senior Member
Nov 17, 2012
119
53
Edmonton
Moto G 5G
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.
 
Sep 18, 2022
9
1
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?
 

meisanerd

Senior Member
Nov 17, 2012
119
53
Edmonton
Moto G 5G
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.
 
D

Deleted member 10134073

Guest
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.
 
Last edited by a moderator:
  • Wow
Reactions: LunchStrong5016

SyberHexen

Senior Member
Anyone who still plays ps3 and uses tether to connect ...this app "PS3 Proxy" is a life savor.. i only play socom confrontation since the servers was hacked and back online..

Also when tethering this app lets me know if im on a vpn or local host...local host 192.0.0.2 for some reason has no connectivity. but when its on lets say an address other than the local host then all devices have great tethered internet. just a jewel i found if any might wanna know.


P.S i can only tether h+ and lte only..
5G stays on local host 192.....xx.
The guy who made the boot img to override and modify the apn was only for stock..
if your reading this can you port the modified boot.img to lineage os 11..much thanks...
Do u have a link to thread of boot.img
 

fddm

Senior Member
Feb 24, 2011
312
196
Do u have a link to thread of boot.img
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
Code:
CONFIG_NETFILTER_XT_TARGET_HL=y
and used Magisk to add iptables rules to modify the TTL of outgoing tethering packets and block IPv6.
Code:
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.
Code:
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.
Code:
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
 

Attachments

  • lineage20_01012023_kiev.zip
    32.6 MB · Views: 22
  • Like
Reactions: Thanatos355

Masterchief87

Senior Member
Oct 26, 2014
460
279
Fort Myers, Florida
Moto G 5G
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.
 

iPhonesSuck

Senior Member
Mar 19, 2013
85
21
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
 

Masterchief87

Senior Member
Oct 26, 2014
460
279
Fort Myers, Florida
Moto G 5G
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
The instructions say you have to update the stock firmware to android 11 before you install lineage.
 
  • Like
Reactions: kozmo2k4

MindTrix

Senior Member
Sep 15, 2014
86
10
Pacific Northwest
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
 

Masterchief87

Senior Member
Oct 26, 2014
460
279
Fort Myers, Florida
Moto G 5G
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.
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.
 
  • Like
Reactions: kozmo2k4

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    2okPze5.png

    Motorola G 5G / Motorola One G 5G Ace
    Code:
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */
    Introduction:
    This is the Official Lineage OS 20 thread for the Motorola G 5G, codename kiev.​
    Join our Motorola G 5g / Motorola One 5G Ace Development Telegram Group!​

    LINKS:
    ROM Files: LineageOS-20
    Mind The GApps: Download
    Magisk: Magisk
    Factory Firmware: Stock Firmware Mirror
    Copy Partitions: copypartitions.zip

    How to Install:
    01. Use Install instructions @ LineageOS-wiki

    NOTES:
    *Note-1: Slots, ROMS install to opposite (inactive) slot
    If you FLASHED ROM from "Slot A", then ROM is installed to "Slot B", If you Flashed ROM from "Slot B", then ROM is installed to "Slot A"
    *Note-2: Updating "Dirty Flash"
    01. Boot recovery​
    02. Flash ROM​
    03. Reboot -> Recovery​
    04. Install Gapps + Magisk​
    05. Reboot -> System​
    *Note-3: SafteyNet:
    Lineage OS builds will not pass CTS/SafetyNet -- due to the AVB flag's "red" status. (Magisk works fine with SafetyNet patcher modules, though is not supported.)​

    XDA:DevDB Information
    kiev-lineageos, ROM for the Motorole G 5G

    Contributors

    erfanoabdi, SyberHexen, Jleeblanch
    Source Code: https://github.com/SyberHexen

    ROM OS Version: Android 11
    ROM Kernel: Linux 4.19
    Based On: LineageOS

    Version Information
    Status:
    Stable

    Created 2021-07-05
    Last Updated 2023-02-15
    6
    I made this tutorial to help in flashing.
    4
    Changelogs:

    09/19/2021
    Device changelog:

    - Fixed Regression with DRM Apps
    3
    Past Changelogs:


    09/16/2021
    Device changelog:

    - Fixed Incoming call audio bug
    - Updated Brightness overlays
    - Updated Kernel Device Trees
    - Misc Improvements
    09/09/2021
    Device changelog:

    - Enforcing Selinux
    - Fixed Off-mode Charging
    - Switched to Racer Off-mode animation
    - Fixed Setting device model between Ace/5g variants
    - Fixed Media studder
    08/12/2021
    Device changelog:

    - carrierconfig: update from kievv tag 'RRV31.Q2-36-14-8'
    - carrierconfig: update from CAF tag 'LA.UM.9.12.r1-10800-SMxx50.0'
    - update defconfig from kievv tag 'RRV31.Q2-36-14-8'
    - Show Turbo Charging instead of charging rapidly
    - enable support for freeform windows and picture-in-picture
    - upgrade bootctrl hal to 1.1
    - increase audio for speaker(s) and microphone
    - Exfat driver included to kernel for LOS recovery support
    07/22/2021
    Device changelog:

    - Minor Fixes
    - Updated Brightness overlays

    07/05/2021
    Device changelog:

    - Minor Fixes
    - Switch to Pixel Power Hal

    07/01/2021
    Device changelog:

    - Initial Build

    3
    My Review After 1 Day:

    Running Android 11 - Lineage OS 18.1 Unofficial Nightly

    Just wanted to give you all my opinion. This is a very stable rom so far.. I just bought this phone today and had the bootloader unlocked, TWRP installed, this ROM with Gapps, and Magisk (both zip and apk).. all in about 2 hours. I have been ROMing for 10 years now and this was not that bad for someone with experience. I really didnt run into a problem. I have the stock firmware unbrick tool if I needed it. I did have to reflash my twrp after the initial rom install.. lineage has its own recovery which overwrites the twrp I wanted.. I just had to fastboot flash recovery to put the correct one on. Whats with this Slot A/B thing .. thats a strange concept that I need to select a Slot.. thats a new one. also the bootloader unlock code.. i have never had to enter an unlock code before for a bootloader but was easy to submit the request and my email came in 2 minutes.. this is a great rom with many more features than the stock firmware. I was able to switch the back and recents buttons to the older way with the back button on the right. I am testing GCam for a faster camera.. lineage stock camera has a little lag (after you press the button it takes a half second for the click sound and image preview to show). GCam is a little faster so far but I need to stress-test for stability.

    enjoy this rom.. its got my approval.

    EDIT: I attached my GCam config file. Everything is working.. all functions have been tested and no freezes or issues with instability. I will report back with issues.

    = GCam likes Google Photos app to load the images from within GCam.

    = I just snapped 50 pics one right after the other, non-stop, very fast beat.... there was lag but it was totally expected.. it did not freeze up and eventually caught up fine and would continue for a couple pics then lag again.. I would expect all this to happen and its stability was very good.

    Battery Drain is 2% over 5 hours sitting on my desk with screen off on standby. Battery Drain is a little more than I like while using apps. This needs some battery management but its not that bad.