FORUMS
Remove All Ads from XDA

[ROM][OFFICIAL]Lineage OS 16.0

961 posts
Thanks Meter: 2,647
 
Post Reply Email Thread

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 8 (Oreo), 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:
  • Boot the newest TWRP .img from the Official TWRP Project Site.
  • IF YOU ARE COMING FROM STOCK AND WANT TO INSTALL CUSTOM ROMS FOR FIRST TIME, INSTALL "Copy Partitions Zip" FROM POST #2
  • In TWRP, click "Wipe", "Format Data", then type "yes" as prompted.
  • ADB sideload the newest weekly
  • (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.
  • 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.
  • (Optionally) Flash GApps - MindTheGApps arm64 are recommended, OpenGApps are compatible with A/B as of 09102018, but I still only reccoemend and support MindTheGApps.
  • (Optionally) Flash SU - you'll need to turn it on from in developer settings after first boot Lineage OS SU Addon. - Magisk works fine, though is not supported.
  • 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.

Download:

XDA:DevDB Information
Lineage OS 16.0, ROM for the Moto X4

Contributors
erfanoabdi, Lineage Team
Source Code: https://github.com/LineageOS

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: Official Oreo

Version Information
Status: Stable

Created 2018-09-01
Last Updated 2019-03-02
The Following 34 Users Say Thank You to erfanoabdi For This Useful Post: [ View ]
 
 
14th May 2018, 08:36 AM |#2  
erfanoabdi's Avatar
OP Recognized Developer
Flag Famagusta
Thanks Meter: 2,647
 
Donate to Me
More
Copy Partitions Zip
- courtesy @ @filipepferraz
Download


Firmwares

XT1900-1 Android 8.0
firmware_27.251.12_payton_retail_xt1900-1.zip

Only tested on
XT1900-1
XT1900-2
XT1900-5 (https://forum.xda-developers.com/sho...&postcount=173)
XT1900-7 (https://forum.xda-developers.com/sho...6&postcount=14)

feel free to test on other Moto X4 models running 8.0.


XT1900-6 Android 8.0 - courtesy @filipepferraz
https://www.androidfilehost.com/?fid=674106145207492371


XT1900-1 Android 8.1 - courtesy @ptn107
https://www.androidfilehost.com/?fid=890278863836292604

tested on XT1900-7 as well (https://forum.xda-developers.com/sho...3&postcount=92)
The Following 13 Users Say Thank You to erfanoabdi For This Useful Post: [ View ]
14th May 2018, 08:36 AM |#3  
erfanoabdi's Avatar
OP Recognized Developer
Flag Famagusta
Thanks Meter: 2,647
 
Donate to Me
More
About OTA: see post #778

Back to Stock :
[YOUTUBE]8tLFnkJrJ40[/YOUTUBE]
The Following 9 Users Say Thank You to erfanoabdi For This Useful Post: [ View ]
10th June 2018, 05:12 PM |#4  
mightysween's Avatar
Senior Member
Maine/USA
Thanks Meter: 1,312
 
More
Nice work, guys!
The Following 7 Users Say Thank You to mightysween For This Useful Post: [ View ] Gift mightysween Ad-Free
10th June 2018, 05:44 PM |#5  
gee one's Avatar
Senior Member
Flag linux command line
Thanks Meter: 801
 
More
Excellent work! It's impressive that you could get this done when one person didn't have the phone. That's a good ol' fashioned hackathon.
The Following 2 Users Say Thank You to gee one For This Useful Post: [ View ] Gift gee one Ad-Free
10th June 2018, 07:26 PM |#6  
Senior Member
Flag San Luis
Thanks Meter: 264
 
Donate to Me
More
Can somebody confirm if encryption works?
The Following User Says Thank You to igna.98 For This Useful Post: [ View ] Gift igna.98 Ad-Free
10th June 2018, 09:45 PM |#7  
Member
Thanks Meter: 6
 
More
i love you guys <3
The Following User Says Thank You to Cisencjusz For This Useful Post: [ View ] Gift Cisencjusz Ad-Free
10th June 2018, 10:45 PM |#8  
Member
Flag Blainville, QC
Thanks Meter: 25
 
Donate to Me
More
Quote:
Originally Posted by igna.98

Can somebody confirm if encryption works?

It says "Phone Encrypted" under Settings. So, yes.

---------- Post added at 03:15 AM ---------- Previous post was at 02:53 AM ----------

Also happy to report that Magisk works successfully by sideloading the zip in TWRP (Data will not get decrypted when you boot into TWRP after the first boot - just hit cancel to get to the TWRP main menu > Advanced > ADB Sideload and sideload the Magisk ZIP.) SafetyNet passes too! And Google Pay works (finally!!! ...It was broken for me on stock).
The Following 3 Users Say Thank You to smmankad For This Useful Post: [ View ] Gift smmankad Ad-Free
10th June 2018, 10:57 PM |#9  
Senior Member
Thanks Meter: 80
 
More
Just got set up:

- AOSP firmware flash working on google fi version running 7.1
- Twrp decrypt not working with pin on the linked twrp or 3.2.1.1. Have to remove pin before booting to recovery
- videos recorded are choppy and lag during playback through camera app. I'll check when I install another gallery app but I rarely record so not a huge issue right now.
- bluetooth working well

Liking Lineage so far, especially the dark theme it seems to default to. I'll update with more as I play around with this. Thanks.
The Following 2 Users Say Thank You to brandontowey For This Useful Post: [ View ] Gift brandontowey Ad-Free
11th June 2018, 02:34 AM |#10  
Senior Member
Thanks Meter: 80
 
More
Speaker not working
Edit: seems it's just media, not phone

Just ran into an issue, speaker doesn't work with any app I've tried. There is sound with Bluetooth in the same apps. Attached some logcats.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_Poweramp_20180610-210842.jpg
Views:	2042
Size:	122.2 KB
ID:	4523436  
Attached Files
File Type: txt spotify-on-off.txt - [Click for QR Code] (293.2 KB, 42 views)
File Type: txt poweramp-on-off.txt - [Click for QR Code] (429.2 KB, 16 views)
11th June 2018, 03:10 AM |#11  
Member
Flag Blainville, QC
Thanks Meter: 25
 
Donate to Me
More
Quote:
Originally Posted by brandontowey

Edit: seems it's just media, not phone

Just ran into an issue, speaker doesn't work with any app I've tried. There is sound with Bluetooth in the same apps. Attached some logcats.

Interesting. Working for me - tested using the Amazon Music app.

Edit: YouTube was used to test as well. However, the speaker volume level across all apps is lower than stock.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes