[Motorola Droid RAZR] stargo:
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.

#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:

spyder device-support: https://github.com/LineageOS/android_device_motorola_spyder/tree/cm-14.1

umts_spyder device-support: https://github.com/LineageOS/android_device_motorola_umts_spyder/tree/cm-14.1

omap4-common device-support: https://github.com/LineageOS/android_device_motorola_omap4-common/tree/cm-14.1

omap4-common kernel: https://github.com/LineageOS/android_kernel_motorola_omap4-common/tree/cm-14.1

local manifest to build cm-13 for the Motorola Omap4 devices: http://droid.cs.fau.de/lineage-14.1/local_manifest.xml

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