• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

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

stargo

Inactive Recognized Developer
Jan 7, 2011
537
1,714
0
Fürth
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
 

MetaruSonikkuX

Senior Member
Jun 4, 2016
87
23
0
Do you think there is any hope that the bug the RAZR has had since CM 10.2 (that prevents video uploading) could be fixed on Nougat? And if not, is there anyone who knows why it doesn't work?
 
  • Like
Reactions: Usman-ali

Sr. Zé Alguém

Senior Member
Nov 3, 2016
789
818
0
@stargo,
Thanks for keeping up CM for these devices.

This 14.1 runs very smooth on a X910, but when installed with GApps it becomes much slower (maybe official 13.0 too, but I didn't test it without gapps). The broken File Manager is not nice, however.

Positively, it doesn't include CM Bug Report app, which always crash in CM13.0 (triggered by crash in a page inside Privacy Guard).

But, I see there is no "App data usage" (restrict apps Wi-Fi or Cellular data) in Privacy Guard. Was it removed from 14.1 or just not ready yet?

Just out of curiosity, could you tell me if Safestrap is the only variant of TWRP that works in spyder/umts_spyder? (I couldn't find original TWRP for these). No, I don't dislike Safestrap, I think it's very nice project, especially for preserving stock rom and allowing multi-boot, despite possible performance penalties.

I have another question about Safestrap: If I boot into stock and make a backup of its .img files (they are in internal sdcard/safestrap), do I need a backup made inside twrp or they are the same?

Will you make available a test build of the next Safestrap version?
 
Last edited:

KonradL

New member
Dec 1, 2016
1
0
0
Android OS / Cyanogenmod-system Batterydrain

I have this problem since CM13. I tried cm-13.0-20160816-SNAPSHOT-ZNH5YAO0FG-umts_spyder.zip and many nightlies but it's always the same: android os or cyanogenmod system is with 20-40 % the number one batterydrainer and always keeps the device active. With the first cm13 builds and with cm11 I never forced this problem and it made one day but now I can't find a build which doesn't has this problem anymore. I tried different kernels on cm13 but without any effect.

I hoped it would be better on cm14 but unfortunatly it's exactly the same.. :(

Does anyone has an idea or a solution to this problem?

Thank you for any answer!
 

spacemonkeyss

Member
Oct 30, 2014
5
1
0
"Error code 70" during installing pico GAps

Thank you so much stargo for your work!
I have putted it to the slot 1 with pico GApps. Works great!
But when i putting it in to the stock slot i getting "Error code 70" during installing pico GAps. I tried reformat userdata to ext4.
I checked rm -rf instead of formatting then Wipe/advanced/checked data/Repair or Change File System - and change to EXT4 but when i go back it still ext3.
How to solve this issue?

Thank you.
 
  • Like
Reactions: Bobcus Leper

Bobcus Leper

Elite Member
Feb 6, 2014
2,076
1,255
113
Thank you so much stargo for your work!
I have putted it to the slot 1 with pico GApps. Works great!
But when i putting it in to the stock slot i getting "Error code 70" during installing pico GAps. I tried reformat userdata to ext4.
I checked rm -rf instead of formatting then Wipe/advanced/checked data/Repair or Change File System - and change to EXT4 but when i go back it still ext3.
How to solve this issue?

Thank you.
Is the error code 70 stating that you don't have enough space to install gapps?

If you exit the to the first screen in safestrap, check again that data is EXT4 in advanced wipe.