[OFFICIAL][ROM][PAYTON]LineageOS 20 (Android 13)

Search This thread

rhcohen

Senior Member
May 17, 2013
212
59
Build of 0131 (today) failed with messages:
failures/payton/f3a139dc1cc944ad9eda5918ad010823/
Failed to add the ECDSA host key for IP address '167.71.188.173' to the list of known hosts (/root/.ssh/known_hosts).
Failed to add the ECDSA host key for IP address '167.71.188.173' to the list of known hosts (/root/.ssh/known_hosts).
android-sync.log 100% 7577 73.5KB/s 00:00
Failed to add the ECDSA host key for IP address '167.71.188.173' to the list of known hosts (/root/.ssh/known_hosts).
android-build.log 100% 17MB 11.2MB/s 00:01

Build on 0124 (last week) failed with same messages. Same error messages also fore some other devices.

So, if nobody looks after these errors, build next week will fail again.
Did the builds fail because of this error or some other one? It is an SSH error, and Googling it I find that for some other projects it is not fatal.
 

ThE_MarD

Recognized Developer
Dec 10, 2014
3,457
3,929
Grande Prairie
LeEco Le Max 2
Moto X4

rseiler

Senior Member
Jun 24, 2012
275
88
@ThE_MarD Thanks for finding that. Was it just blind luck that 0124 never came out then? What would have happened on upgrade with a broken kernel?

In any case, I tried this unofficial build, and nothing blew up. Everything still seems to work fine (well, except for the narrow Verizon issue mentioned above, but that's unrelated). The only thing that I noticed that I think is new: subtle shifts in the brightness (this was at night), but I disabled Adaptive Brightness to fix that. Not that I know if that was on before, since I never gave it any thought, but I assume it was. I didn't see anything about it in the release notes, but there are a lot of them and they're not always overly descriptive.
 
  • Like
Reactions: ThE_MarD

ThE_MarD

Recognized Developer
Dec 10, 2014
3,457
3,929
Grande Prairie
LeEco Le Max 2
Moto X4
@rseiler thanks for testing it (y)

Tbh Android 12 sucks for automatic brightness lol... It definitely messed with a lot of devices. Heck, even my Motorola Edge 30 which launched with A12 and I tried those values on LOS? It's super dark most of the time so I just chopped out a bunch of the minimum brightness values and upped the LuX values a bunch to help compensate because automatic brightness was super broken

We could try and modify our values for Payton if you find it's too dark? I could do a test build with a similar change to this:

 

rseiler

Senior Member
Jun 24, 2012
275
88
@ThE_MarD Appreciate the offer, but the brightness levels are fine for me. It can go really low or incredibly bright, but around 40% is good most of the time indoors.

I think what I noticed last night might have been me stumbling on Adaptive Brightness for the first time, since it turns out, as you probably knew, that you can enable it quite accidentally via the brightness slider (there's a little gear that appears on it. and tapping it will turn it into an "A,," meaning Adaptive Brightness has just been enabled). Adaptive Brightness seems possessed for me, changing brightness multiple times a minute, so I'll just keep it off, no loss.
 
  • Like
Reactions: ThE_MarD

spyblue

Member
Nov 14, 2008
9
0
Hi guys! Thank you for this great rom! It mostly working but bank apps are not, even after install Magisk, Shamiko and Universal Safety Net fix.

I tried to Logcat the errors but it's does not show what may be.... anyone have a clue please?


Regards
 
Last edited:

dougo007

Senior Member
Oct 18, 2017
145
50
If you look at your Phone info screen now (* # * # 4636 # * # *), at the Voice Network Type line, I'd be curious what it says (and it would be really interesting to know back on stock, but too late for that). In September, on a working LOS, mine said "1xRTT," which I'm reading is a technology associated with 3G and CDMA (and something that's now gone). That probably explains why the line reads "Unknown" today, because without VoLTE it's stymied. I imagine yours says something else on that line, but is it what it should be given that yours is not completely working yet?

Update: Just to address some of my own questions, for "fun" today I went back to stock, because last year when I was on stock I had already moved to LOS before ever properly provisioning the phone., explaining why last year the voice part was using 1xRTT.

Anyway, that went well:
-VoLTE was Provisioned and enabled (and also appears as a live toggle in the main Verizon area in Settings)
-"Mobile voice network type" was LTE, as was the data network type, answering the above question.
-IMS Status was Registered
-Calling and texting was working fully.

Then I went from there to the final 19.1 version and as expected all things continued to be well, and there was even one improvement, as "Wifi Calling Provisioned" went to Enabled.

On Tuesday, I'll go to the new build of 20 and expect to hit the wall then...but who knows, maybe not.

Update 2: I have now upgraded to 20 (20230117) and can confirm the earlier findings mentioned up the thread. Outgoing texts are the only thing that stopped working despite all indicators looking exactly as they did in 19.1 (VoLTE on, etc), when everything was fully working. The stock text program says "Can't send message with Verizon. Error 0." while Google's says "Can't send. This recipient's phone number can't be confirmed. Error code 0."

Update 3: A workaround, of sorts, is to use RCS instead of SMS (RCS uses a different system than SMS and is more like chat). Google Messages, for example, supports RCS when you're fully opted in to its "Chat features" function, as seen in its Settings. Not everyone supports RCS though on the other end, but it's better than 100% of your texts failing.

I wanted to drop a note on this. I'm still using my Moto X4 that I got from a few years back and am on the Verizon Post-Paid network. I am using HAVOC w/ Android 10, to my recollection the pre-installed Messenger app did NOT work but QKSMS does, so I use that on my phone instead. I hope that helps.
 
  • Like
Reactions: ThE_MarD

spyblue

Member
Nov 14, 2008
9
0
@spyblue:
My banking app works fine.
Did you in Magisk
activate Zygisk
Enforce DenyList
Configure Denylist?
Did all this, nothing worked! :(
I am an advanced user, I even tried to decompile the bank app but didn't work.
How can I debug it to check what is the problem? I already tried Logcat but found nothing.
 
Last edited:

rseiler

Senior Member
Jun 24, 2012
275
88
Did all this, nothing worked! :(
I am an advanced user, I even tried to decompile the bank app but didn't work.
How can I debug it to check what is the problem? I already tried Logcat but found nothing.

You also leveraged Magisk's rename function, installed the SafetyNet fix, and froze Magisk? If after doing that and clearing data on the bank app doesn't work, then this is probably the thread to go further:
 

rseiler

Senior Member
Jun 24, 2012
275
88
Just a heads up, I assume thanks to @ThE_MarD, that the first official build in some time is now available:

lineage-20.0-20230207-nightly-payton-signed.zip
 
  • Love
Reactions: ThE_MarD

ThE_MarD

Recognized Developer
Dec 10, 2014
3,457
3,929
Grande Prairie
LeEco Le Max 2
Moto X4
Thanks @rseiler but it's mainly thanks to you guys reporting it that it was fixed. Juggling 6 devices with whatever spare time I get for this hobby doesn't always pan out... Tbh, I seem to get more spare time when I'm at work than I do oh days off lol... But it isn't a big margin there either
 

skiwarz

Member
Jan 31, 2018
48
9
I have verizon phone service. I'll back up what others have said - I needed to revert to stock and then re-install 20 in order to make calls and texts work. Specifically, the "ensuring all firmware partitions are consistend" step of the instructions is what is needed, for anyone wondering. Still can't SEND sms messages however. Calls, mms, and receiving sms all work.
 
Last edited:

rseiler

Senior Member
Jun 24, 2012
275
88
@skiwarz I have no explanation why VoLTE went off for you. It should show as on in the hidden menu (albeit greyed out) and on (and accessible) in the normal Settings/Verizon area. Only suggestion I can make is when you're back on stock, check the hamburger menu on the hidden screen you mentioned to check your provisioning status there.

Note that even if it was on when you got to LOS20, you'd still have the outgoing SMS problem, unless you can crack that problem, which no one has so far (outgoing RCS definitely works and apparently so does MMS, though I didn't test that). If you're one who actually uses SMS and can't depend on everyone having RCS, you might stick to 19.1 for now.
 

wkn000

Senior Member
Jan 19, 2017
131
65
Thanks @ThE_MarD , you did it again!

With this build from today, would i be able to "try" for next OTA in System Updater with process option enabled?
 

skiwarz

Member
Jan 31, 2018
48
9
@skiwarz I have no explanation why VoLTE went off for you. It should show as on in the hidden menu (albeit greyed out) and on (and accessible) in the normal Settings/Verizon area. Only suggestion I can make is when you're back on stock, check the hamburger menu on the hidden screen you mentioned to check your provisioning status there.

Note that even if it was on when you got to LOS20, you'd still have the outgoing SMS problem, unless you can crack that problem, which no one has so far (outgoing RCS definitely works and apparently so does MMS, though I didn't test that). If you're one who actually uses SMS and can't depend on everyone having RCS, you might stick to 19.1 for now.
Sorry to mislead you. I completely re-wrote my comment as you were typing this, I assume. My error was not re-running the copy-partitions update before flashing lineageos. That fixed it, except for outgoing sms as others have said lol.
 

rseiler

Senior Member
Jun 24, 2012
275
88
@skiwarz That's good, though I certainly hadn't heard of that particular flavor of problem as a result of not doing the copy. I thought it only impacted when you do an OTA, and in a much more significant way than what you found (the phone won't boot, which you would have found later).
 

frustro

Member
Jul 5, 2022
6
1
Hi all, I thought I would share.
Latest adb/fastboot
NET10 /Verizon
Moto X4 Android One, Project Fi.
Start with latest OEM Pie 9
Factory wipe/reset 2x via OS GUI 2x via Recovery.

Perform bootloader unlock process
1x OS and 1 Recovery wipe/reset.
I installed Lineage-20.0-20230117* , copy-partitions-20220613-signed.zip and Mind the Gapps following the official guide.

Calls both directions work fine, VoLTE works.

Native SMS app inbound works outbound fails.

Attempt to disable Automatically Detect Network opens dialogue "couldn't find networks, try again"

Updater notification for lineage-20.0-20230207-nightly-payton-signed.zip
2x failed install.
Installed when Prioritize Update Process disabled.

1x OS and 1 Recovery wipe/reset.

Native SMS app inbound works outbound fails.

I don't believe I have anything new to add that isn't already known. I'm just throwing my hat in the ring.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Well I never got any feedback on that last build lol oof... the LED seems to be dead on my payton so I was relying on someone testing it tbh... anywho, a different fix was found and worked on lake so it's merged so odds are it'll work for us too on the upcoming official LOS build
    1
    Heyyo, a new test build is going up! This is to test using a commonized lights AIDL and to see if this works better for us for handling the notification LED.

    1
    It "enlightens" me again on notifications of messages... :cool: As it did on charging whole time.

    Thanks for "repair" in last build yesterday. Great job Devs!!!
  • 7
    2okPze5.png



    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.
    
    */



    LineageOS is a free, community built, aftermarket firmware distribution of Android 10, which is designed to increase performance and reliability over stock Android for your device.



    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.



    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.



    Introduction

    This is the official Lineage OS thread for the Motorola Moto X4, codename payton.



    We support all the T-Mobile, International, and Project Fi variants, as their bootloaders are unlockable, while we can't support the Verizon and AT&T variants, as their bootloaders are permanently locked.



    How to install via Lineage Recovery

    Please follow the official instructions



    HOW TO UPDATE LINEAGEOS WITH LINEAGE RECOVERY

    Please follow the official LineageOS Wiki instructions for our device




    How to install via TWRP

    1. Boot the newest TWRP .img from the Official TWRP Project Site.
    2. IF YOU ARE COMING FROM STOCK AND WANT TO INSTALL CUSTOM ROMS FOR FIRST TIME, INSTALL "Copy Partitions Zip" FROM POST #2
    3. In TWRP, click "Wipe", "Format Data", then type "yes" as prompted.
    4. ADB sideload the newest weekly
    5. (Optionally) You can flash the newest TWRP Installer also found at the Official TWRP Project Site if you wish to maintain TWRP, though the pre-installed Lineage Recovery instance will do everything you need it to in most cases. We don't recommend or support the use of the TWRP installer, as it is overwritten on every update (will need to be re-installed every update), and has no addon.d-v2 persistence.
    6. Click "Reboot", then choose "Recovery", this will boot you to either Lineage Recovery or TWRP depending on your choice to install TWRP or not. It is necessary to reboot between ROM flash and GApps/Addon flash due to verity/slot-swap logic.
    7. (Optionally) Flash GApps
    8. Reboot


    How to upgrade from the previous version via Lineage Recovery

    Please follow the official instructions



    How to upgrade from the previous version via TWRP

    1. Boot the newest TWRP .img from the Official TWRP Project Site.
    2. IF YOU ARE COMING FROM STOCK AND WANT TO INSTALL CUSTOM ROMS FOR FIRST TIME, INSTALL "Copy Partitions Zip" FROM POST #2
    3. In TWRP, click "Wipe", then select "advanced" and select "cache" and wipe.
    4. ADB sideload the newest weekly build or copy it to your device and install the zip
    5. (Optionally) You can flash the newest TWRP Installer also found at the Official TWRP Project Site if you wish to maintain TWRP, though the pre-installed Lineage Recovery instance will do everything you need it to in most cases. We don't recommend or support the use of the TWRP installer, as it is overwritten on every update (will need to be re-installed every update), and has no addon.d-v2 persistence.
    6. Click "Reboot", then choose "Recovery", this will boot you to either Lineage Recovery or TWRP depending on your choice to install TWRP or not. It is necessary to reboot between ROM flash and GApps/Addon flash due to verity/slot-swap logic.
    7. (Optionally) Flash GApps
    8. Reboot


    Notes

    Official Lineage OS builds will not pass CTS/SafetyNet -- due to the AVB flag's "red" status. (Magisk works fine, though is not supported.)
    Official Lineage OS builds ship with full treble compatibility, with VNDK runtime enforcement! This means that unlike most "ported treble" you'll see, ours is just as it would be from the OEM, and can run any GSI (yes, even Pie!) without need for hacks or additional flashable zips. We relabeled /oem as /vendor (as /oem isn't used in custom ROM's anyway). To use a GSI, flash official Lineage, then flash your GSI, it's that simple! Flashing a factory image will likely write over /oem and remove the mock vendor image. Please don't report GSI bugs here, report them instead to the GSI's maker.

    Known Bugs
    some users with Verizon and their MVNO's cannot send text messages


    Download

    Official builds:


    Unofficial test builds:



    Google Apps (GApps)

    MindTheGapps:


    GCam Mods


    Developer Resources




    Contributors

    erfanoabdi, SevenRock, SyberHexen, ThE_MarD, Moto sdm660 devs, the Lineage Team

    Source Code: https://github.com/LineageOS

    ROM Firmware Required: Official Pie
    3
    Well I never got any feedback on that last build lol oof... the LED seems to be dead on my payton so I was relying on someone testing it tbh... anywho, a different fix was found and worked on lake so it's merged so odds are it'll work for us too on the upcoming official LOS build
    2
    Good news, I managed to break through my booting problem by booting to a TWRP image (without flashing it) and then using it to sideload LOS 20.0. So I finally have a working LOS again!

    Bad news, I can now make calls and receive texts, but not send texts (even though I could with stock). So I think I'm now back to the point where some other Verizon users were when they first installed 20.0.

    I guess the medium news is that I think I've convinced myself that getting everything working in stock does not make everything work properly in LOS 20.0. (Unless of course there's something else that needs to be done in stock, like wait for more OTA updates or something.)

    My plan now is to downgrade to 19.1 in order to regain access to human society, and then probably to switch to the T-Mobile SIMs that my MVNO also provides. I'll post back if I run into trouble or discover anything new, but otherwise many thanks to people here for the help. (As well as again to the devs for keeping LOS going on this device!)
    2
    @wkn000 yeah it seems there's a bug with the Lineage Updater. I just tried it and confirmed it too so for meow yeah just leave those options disabled until it is properly fixed so that is a good find on Reddit (y)