[ROM][6.0][AOSP][{Un,}Official] LineageOS 13.0 (Marshmallow)

Search This thread

stargo

Inactive Recognized Developer
Jan 7, 2011
538
1,718
Fürth
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.

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.

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

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

OldBaldy

Senior Member
Dec 11, 2010
126
70
West Columbia
The only problems I see with the last two builds is my gps. I find no satelites in cm13. On cm11 and CM12 I find and lock on to 13 satelites almost instantly, under cm13 none. I use gps toolbox to test as it works on my Moto xpe running marshmallow, so I know it's os compatible.

Sent from my XT1575 using Tapatalk
 

d.casper.b

Senior Member
Jan 7, 2009
857
451
36
Cape Town
Xiaomi Poco F1
Thank you @stargo. You've done a fine job indeed.

I'm not sure if it's just me, but I can't seem to switch to 2G/EDGE. When I go to settings>mobile networks>preferred network type and switch it to 2G, nothing happens - it stays on HSDPA. I tested this because I noticed Intelli3G and Smart Network xposed modules didn't seem to ever switch device to 2G.

Sent from my Motorola RAZR Maxx (XT910)
 

transi1

Senior Member
Jun 9, 2015
1,440
3,534
Thank you @stargo. You've done a fine job indeed.

I'm not sure if it's just me, but I can't seem to switch to 2G/EDGE. When I go to settings>mobile networks>preferred network type and switch it to 2G, nothing happens - it stays on HSDPA. I tested this because I noticed Intelli3G and Smart Network xposed modules didn't seem to ever switch device to 2G.

confirm this problem
 

stargo

Inactive Recognized Developer
Jan 7, 2011
538
1,718
Fürth
Hi,

Thank you @stargo. You've done a fine job indeed.

:)

I'm not sure if it's just me, but I can't seem to switch to 2G/EDGE. When I go to settings>mobile networks>preferred network type and switch it to 2G, nothing happens - it stays on HSDPA.

This should be fixed by http://review.cyanogenmod.org/#/c/124354/ and http://review.cyanogenmod.org/#/c/124355/. But I still need to do some more testing before merging these.

Cheers,
Michael
 

Gafanhotz

Inactive Recognized Contributor
Sep 7, 2011
1,171
1,055
Hi,

:)

This should be fixed by http://review.cyanogenmod.org/#/c/124354/ and http://review.cyanogenmod.org/#/c/124355/. But I still need to do some more testing before merging these.

Cheers,
Michael

Hey there @stargo, thanks for those latest fixes, but I found something that may be of your concern:


For some reason, the "mount point" for the internal storage is being mounted inside the /data partition (shared with /system, as you know, of course) and not in the actual internal storage partition. I'm on a XT910 and when I look though the system I see that the "internal storage" has only 3,45GB (which is the system/data partition, not the actual internal storage), and the actual internal storage (7,9GB partition) is nowhere to be found. When I booted into BootStrap I could actually see the 8GB internal storage instead of the 3,45GB (system/data) storage.

Edit: Stock ROM slot.
 
Last edited:

d.casper.b

Senior Member
Jan 7, 2009
857
451
36
Cape Town
Xiaomi Poco F1
Hey there @stargo, thanks for those latest fixes, but I found something that may be of your concern:


For some reason, the "mount point" for the internal storage is being mounted inside the /data partition (shared with /system, as you know, of course) and not in the actual internal storage partition. I'm on a XT910 and when I look though the system I see that the "internal storage" has only 3,45GB (which is the system/data partition, not the actual internal storage), and the actual internal storage (7,9GB partition) is nowhere to be found. When I booted into BootStrap I could actually see the 8GB internal storage instead of the 3,45GB (system/data) storage.
I also noticed this but assumed it would work if installed on stock.

I can't access the calendar.. It asks for my Google account and then says it already exists. Probably not ROM related though.

Sent from my Motorola RAZR Maxx (XT910)
 

Gafanhotz

Inactive Recognized Contributor
Sep 7, 2011
1,171
1,055
I also noticed this but assumed it would work if installed on stock.

I can't access the calendar.. It asks for my Google account and then says it already exists. Probably not ROM related though.

Sent from my Motorola RAZR Maxx (XT910)

Hey there,

Well, i'm actually on Stock slot. Which is what worries me. It's the only 'major bug' I have found so far with this build.
 

chiaseall

Senior Member
Jan 16, 2014
67
15
I seem to have problem with the music app volume, when press play and sound suddenly increased. one was like me? Other software may resolve the issue . @stargo, great build, my phone is very fast :good:.

---------- Post added at 07:10 PM ---------- Previous post was at 06:57 PM ----------

I can't access the calendar.. It asks for my Google account and then says it already exists. Probably not ROM related though.
me too
 
Last edited:

transi1

Senior Member
Jun 9, 2015
1,440
3,534
I also noticed this but assumed it would work if installed on stock.

I can't access the calendar.. It asks for my Google account and then says it already exists. Probably not ROM related though.

Sent from my Motorola RAZR Maxx (XT910)

calendar works, but i installed pico-gaaps, and calendar.apk from rom zip.

---------- Post added at 03:39 PM ---------- Previous post was at 03:04 PM ----------

can somebody confirm that application like Cool Reader, Golden Dict, Camera dont make access to external storage card?
 
  • Like
Reactions: chiaseall

stargo

Inactive Recognized Developer
Jan 7, 2011
538
1,718
Fürth
Hi,

Confirmed on XT910, Stock slot. (Made quite a bug report a few pages ago but stargo probably didn't see it.)

The strange internal storage is not a bug (sadly). Marshmallow removed support for internal sdcards and now only supports /data/media or external sdcards as primary sdcard. The wrong amount of displayed memory is due to a workaround I added to have the internal storage accessible at all again: https://github.com/CyanogenMod/andr...mmit/6e21e5dc91ee06089b73a058cea871359810a994

Cheers,
Michael
 

welder73

Senior Member
Jan 9, 2013
2,868
1,922
Belgrade
Redmi K20 / Xiaomi Mi 9T
Flashed on stock slot with pico open gapps+supersu+xposed.
The internal storage bug is there,I have some folders but they are empty,like the download folder for example...
But I have a problem with Greenify,it can't put to sleep any app :confused:

---------- Post added at 11:11 AM ---------- Previous post was at 10:18 AM ----------

Flashed on stock slot with pico open gapps+supersu+xposed.
The internal storage bug is there,I have some folders but they are empty,like the download folder for example...
But I have a problem with Greenify,it can't put to sleep any app :confused:

I can't edit my post because Xda app doesn't work and there is no option to edit posts in Xda labs...
Greenify does work but only in non-root mode,strange :confused:
 

naifaharsy

Senior Member
Sep 21, 2012
456
45
Tuban
Flashed on stock slot with pico open gapps+supersu+xposed.
The internal storage bug is there,I have some folders but they are empty,like the download folder for example...
But I have a problem with Greenify,it can't put to sleep any app :confused:

---------- Post added at 11:11 AM ---------- Previous post was at 10:18 AM ----------



I can't edit my post because Xda app doesn't work and there is no option to edit posts in Xda labs...
Greenify does work but only in non-root mode,strange :confused:

I lost my root after flashing and how rooting my device again?i mean..i have s.u but i cant acces root mode

Sory my bad english

Sent from my DROID RAZR using Tapatalk 2
 

Top Liked Posts

  • There are no posts matching your filters.
  • 44
    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.

    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.

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

    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 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
    21
    Hi,

    just a short status update: I'm currently waiting for a Droid Bionic I ordered to arrive, so I can see if CM 13 works there, too and fix the problems on that device, if there are any.
    As soon as that has happened, I'll flip the switch on the official CM13 nightlies for maserati, spyder, targa and umts_spyder. I will not leave one of them behind.

    Cheers,
    Michael
    16
    Hi,

    Starting tomorrow, the official nightlies will be CM13: http://review.cyanogenmod.org/#/c/129192/

    Cheers,
    Michael
    10
    Hi,

    After 2016-05-07 nightlies don't update automatically, only manually. When i press apply update it restarts and the android with a red triangle screen appears.

    Similar issue here. reboot to recovery is not rebooting to safestrap. its rebooting to fastboot or something like that.

    It's rebooting to stock recovery, my hack to get to safestrap was broken by recent changes to the reboot-code, this should hopefully be fixed by http://review.cyanogenmod.org/#/c/144796/ (still need to build and test that).

    Cheers,
    Michael
    10
    Hi,

    Just reporting the official nightly does not boot, keep black screen, I try it in safestrap by luck ;)
    I'm not a dev, but never, since lollipop, have system.dat in the zip, maybe that is the issue, and the zip tryies to format partitions as ext4.

    lineage-13.0-20170224-nightly-umts_spyder-signed.zip
    Bad rom for sure! Take it down! Just wasted several hours flashing back to a stock ROM, re-rooting, reinstalling safestrap and installing a different cyanogenmod ROM.

    Thanks for the reports.
    For some reason the LineageOS build-system is building block-based OTAs which do not work on the devices because of the locked BL and safestrap. I've requested to remove the build for now and have asked, why the official build-system produces different OTAs as to what happens if I build the images.

    EDIT: The LineageOS build-system does not support the hacks needed for our devices with locked bootloader and safestrap (due to their use of signed-builds which require block-based OTAs). I've removed the devices from the build-schedule: https://review.lineageos.org/#/c/163953/

    Cheers,
    Michael