[Motorola Droid RAZR] stargo:
LineageOS 13.0 (Marshmallow) {un,}official builds for the Droid Razr

LineageOS is a free, community built, aftermarket firmware distribution of Android 6.0 (Marshmallow), 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.

Use these builds 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 CM (official and unofficial) or 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-13.0/addonsu/ (The official addon doesn't currently install on Omap4)

Current unofficial manual builds:

https://droid.cs.fau.de/lineage-13.0/

Old official CM nightly builds and snapshots:

https://droid.cs.fau.de/Official_CM_Builds/spyder/ (Droid Razr)

https://droid.cs.fau.de/Official_CM_Builds/umts_spyder/ (Razr)

Old manual builds:

https://droid.cs.fau.de/cm-13.0/test/

Changes (only device/family specific, CM base is always synced before build and contains more changes):

2017-03-25:

Sync with LineageOS (March security level)

2017-03-02:

Sync with LineageOS

2017-02-19:

Fix 10 kernel security bugs

Add SGX Omap4-changes

Sync with LineageOS

2017-02-10:

Sync with LineageOS (January security patchlevel)

2017-02-01:

Sync with LineageOS

2017-01-11:

Sync with LineageOS

Rebrand to lineage

2016-01-21:

Official CM13 nightlies: http://review.cyanogenmod.org/#/c/129192/

2016-01-16:

Added SELinux rules to allow fsck on stock-partitions and fixboot to unmount safestrap-partition

Graphics glitches fixed

zRAM uses 2 compression streams now

2016-01-14:

Implemented LiveDisplay/Color Calibration

2016-01-13:

More fixes for switching CDMA devices to GSM

T-Mobile CZ APN corrected

2016-01-11:

Preferred network type is now set earlier

Audio-routing through dock-audio (desk/car) added

Mouse-pointer (USB/Lapdock) fixed

2016-01-08:

Camera no longer crops pictures in portrait mode

USB storage integration added

Initial root-mode setting fixed

Migrated from busybox to toybox, busybox is gone

Fixed duration of boostpulse in power HAL

2016-01-06:

VZW data fixed

Reboot to recovery fixed

Wifi configuration updated

Widevine blobs updated (from sprout)

2016-01-04:

Adoptable storage fixed

Many kernel patches to filesystem-, block- and mmc-layers

2015-12-25:

Fixed internal storage for real. You need to manually remove /data/system/storage.xml and reboot when upgrading from previous builds. After that the internal storage will be the primary sd.

2015-12-24:

Fixed crashes of com.android.phone on GSM/UMTS (XT894/XT912)

Configure internal storage like expected in M (can't be adopted, would kill safestrap)

Fixed GPS initialization failing most of the time

Run wifi calibration at an earlier stage

Workaround for VZW data: toggle airplane mode after boot once

Something which needed ffmpeg and imagemagick

2015-12-18:

Switching of preferred network fixed

SELinux rules updated

SELinux is now enforcing

2015-12-14:

Audio-routing fixed

2015-12-11:

Capacitive buttons on {umts_,}spyder are no longer recognized as an external stylus, but as buttons

SELinux policies updated

Update widevine from mako

Added (very slow) emulation of idiv-operations not supported by Omap4 but required by newer blobs (gapps swype, widevine)

2015-12-07:

First build for most devices

What's working:

Phone (tested on Verizon and on GSM/UMTS in Europe)

Mobile data

WiFi

GPS

Camera

HDMI

Playback of DRM-protected content (using Widevine from sprout)

Reboot to recovery

What's not working:

Probably most everything else, including, but not limited to:

Data encryption (due to 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 the new permissions-system in M.

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

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-13.0

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

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

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

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

XDA:DevDB Information

LineageOS 13.0 on Motorola Droid Razr, ROM for the Motorola Droid RAZR

Contributors

stargo, Hashcode, Dhacker29

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

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.0.x

Based On: LineageOS

Version Information

Status: Nightly

Beta Release Date: 2017-03-25

Created 2015-12-14

Last Updated 2017-06-12