[ROM][7.1][AOSP][{Un,}Official] LineageOS 14.1 (Nougat)

Sudosftw

Senior Member
Jun 13, 2017
95
49
0
I guess the question now is if @stargo is ending security patches for maserati/spyder/umts_spyder/targa since the 14.1 branch is now over except for security patches, seems.
the build changelog for these three devices still have a small list of things that were meant to hit with a build in march, but LOS decided to end 14.1 with the 16.0 release.

Getting that one last build out with all the nice stuff and fixes would be sweet, but I'm not holding my breath. Last time I turned on my Droid 4 was in January and even then, I'm still using my Razr as my daily and the days as a daily are numbered since Verizon is killing off their 3G network at the end of the year, thus making all three of the VZ-running variants null and void for use on their network since they do not support VoLTE.

Any actual word about the future of these as far as security patches and possibly anything left in the build queue for these phones before the builds run out would be nice. I've already archived all of the "final" builds in case LOS takes them down off their download site, but it may be best to call this the end and change the OP post to reflect this on each the Droid 4/Bionic/Razr threads in their respective categories.
 
  • Like
Reactions: feduss

Sudosftw

Senior Member
Jun 13, 2017
95
49
0
Support has ended.

LineageOS no longer officially supports this device.

You are now officially on your own.


You can find the final builds here: http://droid.cs.fau.de/Official_Lineage_Builds/
or here (MEGA Mirror)

These directories include the ROM files, addonsu package for 14.1, and the weather provider APK if needed.
I'm expecting this information to hit the OP post very soon.

It was a good run. These phones lasted many more years than they were intended to in the wild, and with Verizon killing 3G support for non-VoLTE devices later this year, they will become useless in the United States on their network. They are likely already useless on most others. Their time is up. I suggest anyone at all still holding on with one of these as a daily driver to consider your upgrades very very soon.

Goodbye Moto.

Edit: I'm no longer using one of these, my battery puffed up after 7 years and I am not replacing it. do not ask me questions about this device.
 
Last edited:

jerryspring

Senior Member
Feb 18, 2018
1,934
168
0
LineageOS14.1 (Nougat) unofficial builds for the Droid Razr

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

Code:
#include <std_disclaimer.h>
/*
 * Your warranty is now void.
 *
 * We are 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 any of us for messing up your device, we will laugh at you.
 * Collectively, and at the same time.
 */
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 our Gerrit Code Review.

These are WIP builds of porting LineageOS 14.1 to the Droid 4 (and also other devices using the same device/motorola/omap4-common-infrastructure). They probably won't work, so don't expect too much. Use on your own risk!

Builds:
Current official builds:
https://download.lineageos.org/spyder (Droid Razr)
https://download.lineageos.org/umts_spyder (Razr)
(When migrating from Lineage unofficial, flash this first (manually mount /data in TWRP before flashing and unmount it afterwards) and then directly flash the new image without rebooting)

Su addon for official builds: http://droid.cs.fau.de/lineage-14.1/addonsu/ (The official addon doesn't currently install on Omap4)

Manual beta builds:
http://droid.cs.fau.de/lineage-14.1/

Changes (only device/family specific, CM base is always synced before build and contains more changes):
  • 2017-06-10:
    • Hotspot fixed
    • Security updates
    • CM base updated
    • Last build before enabling official builds
  • 2017-05-15:
    • Security updates
    • CM base updated
  • 2017-04-11:
    • Fixed mobile data on Verizon
  • 2017-04-05:
    • DRM playback fixed
  • 2017-04-04:
    • Camcorder working, thanks to @Android-Andi (thumbnail picture is still wrong, but recorded video seems fine). This probably also fixed other media-related issues.
    • CM base updated
  • 2016-11-27:
    • CM base updated
  • 2016-11-13:
    • SELinux is enforcing
    • PackageInstaller works on ext3-based userdata again
  • 2016-11-05:
    • First build

What's working:
  • Phone (tested on Verizon and on GSM/UMTS in Europe)
  • Mobile data
  • WiFi
  • GPS
  • Camera
  • Video recording
  • Playback of DRM-protected content
  • Reboot to recovery

What's not working:
Probably most everything else, including, but not limited to:
  • HDMI
  • Data encryption (investigating, needs new unreleased safestrap)

Gapps:
OpenGApps
If you install Gapps after the ROM has been booted for the first time you either need to wipe data or manually delete /data/system/users/0/runtime-permissions.xml and reboot. Without this Gapps will crash constantly. This is due to a new permissions-system introduced in Marshmallow.

Installation:
  • You need a recovery supporting SELinux
  • A version of Safestrap (3.75) which supports SELinux can be found here: https://github.com/stargo/android_packages_apps_Safestrap/releases/tag/v3.75
  • A newer version of safestrap which will format userdata as ext4 will be released shortly. You can also just reformat userdata to ext4 in the old Safestrap for now.
  • Please read the instructions on how to install this version and follow the order of the steps in it.

GSM users with XT912:
These versions (both unofficial and official) automatically switch to GSM/UMTS without installing additional patches.

Source / Repositories:

XDA:DevDB Information
LineageOS 14.1 for Motorola Droid Razr, ROM for the Motorola Droid RAZR

Contributors
stargo, Hashcode, joojoobee666, Dhacker29
Source Code: https://github.com/CyanogenMod

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.0.x
Based On: LineageOS

Version Information
Status: Beta
Beta Release Date: 2017-06-10

Created 2016-11-13
Last Updated 2017-06-23
This ok for atrix hd mb886?
 

tsoump

Senior Member
Apr 10, 2014
75
20
38
Hello,

I've just installed the last update lineage-14.1-20190215-nightly-umts_spyder-signe..> 15-Feb-2019 15:25 292133256.
I'm very satisfied as a second device.
Thank you all!
 

feduss

Senior Member
Jan 24, 2013
235
44
48
Cagliari
www.muscledroid.altervista.org
Hi all!
Some days ago, I've built a new build of this los14.1 with July 2020 security patches (only for umts_spyder atm), using the sources of the first post, just for fun :)! I've installed it from clean flash.

Link --> https://mega.nz/folder/EFlUhAba#sLeZXX6dinQ7qHcWIIJRCg

ot: Right now, just for fun again :)D), i'm trying to build los15.1. I've fixed about 11 compile time error (missing libs etc), but i have other, such as:

Code:
system/core/adb/daemon/main.cpp:113:59: error: use of undeclared identifier 'AID_UHID'
                      AID_NET_BW_STATS, AID_READPROC,     AID_UHID};
                                                          ^
system/core/adb/daemon/main.cpp:114:49: error: no matching function for call to 'ArraySizeHelper'
    minijail_set_supplementary_gids(jail.get(), arraysize(groups), groups);
                                                ^~~~~~~~~~~~~~~~~
If someone knows how to fix it, let me know! Here's is my roomservice.xml:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="LineageOS/android_device_motorola_maserati" path="device/motorola/maserati" remote="github" revision="refs/heads/cm-14.1" />
  <project name="LineageOS/android_device_motorola_spyder" path="device/motorola/spyder" remote="github" revision="refs/heads/cm-14.1" />
  <project name="LineageOS/android_device_motorola_umts_spyder" path="device/motorola/umts_spyder" remote="github" revision="refs/heads/cm-14.1" />
  <project name="LineageOS/android_device_motorola_targa" path="device/motorola/targa" remote="github" revision="refs/heads/cm-14.1" />
  <project name="Unlegacy-Android/android_kernel_ti_omap4" path="kernel/motorola/omap4-common" remote="github" revision="3.0/common" />
  <project name="LineageOS/android_device_qcom_common" path="device/qcom/common" remote="github" />
  <project name="TheMuppets/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="refs/heads/cm-14.1" />
  <project name="Unlegacy-Android/proprietary_vendor_ti" path="vendor/ti" remote="github" revision="stable" />
  <project name="Unlegacy-Android/android_hardware_ti_omap4" path="hardware/ti/omap4" remote="github" revision="stable" />
  <project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />
  <project name="LineageOS/android_external_jhead" path="external/jhead" remote="github" revision="refs/heads/cm-14.1" />
  <project name="LineageOS/android_device_motorola_omap4-common" path="device/motorola/omap4-common" remote="github" />
</manifest>
UPDATE:

I have compiled android 8 but i can't flash it without a new and updated recovery...i will let you know (if there's still someone with this device lol)
 
Last edited:

feduss

Senior Member
Jan 24, 2013
235
44
48
Cagliari
www.muscledroid.altervista.org
Last edited:

Wheels564

Senior Member
Apr 13, 2019
122
81
28
Genoa, U.S.A.

Wheels564

Senior Member
Apr 13, 2019
122
81
28
Genoa, U.S.A.
I was finally able to build for Spyder. In the past it would error out during building. After replacing my SSD (wore out from building roms) it built right away. If anyone is interested I'll upload to Android file host. It has the Dec 5, 2020 security patches.

View attachment 5163143
Decided to try uploading here. Android file host is down right now for uploading . If coming from final official build you might have to do a fresh install. Changes were made to the code after last offiical update. Always do a backup first.

Md5 33b1ccb45fcd4a8465ae7d93b3b851ae
 

Attachments

  • Like
Reactions: Bobcus Leper