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

Search This thread

ThE_MarD

Recognized Developer
Dec 10, 2014
3,406
3,875
Grande Prairie
LeEco Le Max 2
Moto X4
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
 
Last edited:

oldguybr

New member
Sep 1, 2018
2
0
Hi! Working properly.
In this release adaptive storage is perfect.
VoLTE working. Only battery consumption is slightly higher.
 

akillenb

Senior Member
Feb 4, 2016
64
15
Nexus 7
Honor 5X
Did an upgrade install from last lineage 19 build, and seems to be working fine, so far. Cannot test phone calls, as it seems AT&T towers block this phone, and Consumer Cellular uses AT&T towers in my area.
 

jtnc

Member
Dec 4, 2012
46
18
I gave this a shot over the weekend. I had some initial problems on the first install, but tried a second clean install and things were generally stable. I was able to make calls, though didn't try receiving any. Apps seemed to work as expected (though I'm not a heavy user).

What I hadn't tried was any SMS messages until this morning. I received one and it promptly rebooted the phone. I then tried sending a text from my GVoice account to my phone SMS account and as soon as the phone tried to receive the message, it'd reboot. I gave it a quick try at getting a log of this happening, but failed. I've reverted back to 19.1 as this is my daily phone. I'll probably give it a try again this weekend and can try and get a log capture then.
 

woodpe

Member
Jan 2, 2022
32
14
I also upgraded to LOS20, no problems, also sending and receiving SMS works fine.
@ThE_MarD : You and your team did a good job! Thanks

I noticed one problem: I get a hint - "App updates are ready - Connect to a network to continue", but I'm already connected to wifi. No updates possible!

After a system reboot everything is ok I thought, but after some minutes "App-Updates....
 
Last edited:
  • Like
Reactions: ThE_MarD

ThE_MarD

Recognized Developer
Dec 10, 2014
3,406
3,875
Grande Prairie
LeEco Le Max 2
Moto X4
Heyyo @woodpe , thanks man but it was definitely SevenRock who handled LOS 20 for payton I just did the builds and XDA threads heh I guess he'd rather do the hobby side and less the PR side :p

For that message, can you please send logcat and maybe a picture of what you're seeing? Which GApps did you use btw?
 
  • Like
Reactions: rotorline

woodpe

Member
Jan 2, 2022
32
14
I use MindTheGaps13 arm64 from the link in the instructons. I hope logcat I did is ok (I'm an old guy(74) but I've never done one before)!
Attached you'll find the pictures and log.txt
Thanks
 

Attachments

  • Screenshot_20221123-153955_Trebuchet.png
    Screenshot_20221123-153955_Trebuchet.png
    99.7 KB · Views: 73
  • Screenshot_20221123-152305_Android Setup.png
    Screenshot_20221123-152305_Android Setup.png
    76.2 KB · Views: 74
  • log.zip
    399.2 KB · Views: 12
  • Like
Reactions: rotorline

jtnc

Member
Dec 4, 2012
46
18
Anyone else tried this on Verizon? And if SK, can you send SMS texts? On my reinstall it seems like everything is working fine other than sending a SMS. When I do that I get a message failed error, both with the aosp and google message apps. I can receive messages fine though. See screenshot or attached log.

I see messages about RCS not working I think in the log, not sure if this is related or not. 19.1 works fine.
IMG_20221128_072311.jpg
 

woodpe

Member
Jan 2, 2022
32
14
One question: when I enable USB debugging in the Developer options it is disabled after a reboot.
Any solution possible?
 

paukenschlag

Member
Dec 7, 2022
7
5
This is my first post, so first a friendly hello to all.

I have the test build on my second X4 since today. The upgrade and the installation of MindTheGapps with the lineage recovery were without problems. Everything important to me seems to work: Phone calls, SMS, wifi, mobile data, GPS, bluetooth and NFC connection to my bike computers and to the "Teufel Boomster" with apt-x HD audio. I have not noticed any bugs or issues so far. USB debugging is still enabled even after a reboot.

A big thank you to all developers, I love my two X4 and hope they will be supported for a long time.

One question: will the next test builds and the first official build of LineageOS 20 be offered as an update or do I have to install them as an upgrade again?
 
  • Like
Reactions: ThE_MarD

wkn000

Senior Member
Jan 19, 2017
128
62
@paukenschlag

I was able to upgrade from 17.1 to 18.1 and further to 19.1 now just by dirty flash zip from SD with TWRP. No GApps installed, Magisk had to be reinstalled. That's all for me.

I guess upgrade to 20 will be same way.
 

H0ss1

Member
Apr 28, 2018
24
9
some bank apps will not work with public keys and not last security patch

security error UA599 R:4,5
 

wkn000

Senior Member
Jan 19, 2017
128
62
Downloaded, installed (with twrp-3.6.2_11-0-payton, encryption disabled), restored Magisk and MicroG and... IT WORKS!!!

Many thanks to all maintainers (represented by ThE_MarD here) of this new build version, well done!
 
  • Like
Reactions: ThE_MarD

paukenschlag

Member
Dec 7, 2022
7
5
Installed the official build on both my paytons, each with lineage recovery, one with MindTheGapps, one without. No problems with the installation, everything seems to work. Thanks to all!
 
  • Like
Reactions: ThE_MarD

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    [...] Only odd observation; my status bar upper left icons are shifted over like 4 positions... hopefully a reboot will fix it.

    UPDATE: [...]but not the status bar offset. So I rebooted, and that is now fixed too. \o/
    Forgot to add that the status bar offset issue always comes back after a little while, and I found it's a bug w/ having the time centered on it. If I set it back left then centered again, it also fixes it for a little while.

    Someone on the Galaxy S5 LOS20 (unofficial) forum has the same issue, so is a general LOS20 (and/or Android 13) issue:
    is anyone else having this statusbar bug with icon(s) on the left?! (nevermind the blue line, it's from an app.)

    View attachment 5851947
    1
    @mihaum upgrading from 18.1 isn't supported, so I'd recommend doing 19.1 upgrade then boot it and then 20.

    If you're using GApps you will need to upgrade that as you go too.
    1
    @mihaum you'll have to use the internet archive to find it as LOS Doesn't keep old builds on their server

    Afaik microG is universal between Android versions so it should be fine
    1
    Upgrade from LOS19 > LOS20 on 03/14. No glitches or hitches so far. Happy Pi day.
  • 6
    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
    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
    Heyyo, as @rseiler mentioned LineageOS 20 official is out and payton build is ready for download! :)
    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)