[RAZR i Android Development] Hazou:
Unofficial LineageOS for Motorola Razr I

#include
/*
* Your warranty is now void.
*
* I am 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 me for messing up your device, I will laugh at you.
*/

General

This is an unofficial LineageOS rom

as is

build for the Motorola razr I, (XT890/SMI).

I won't include features that I dislike. If u want something else, build it.

Install

How to install:

New Install (coming from another ROM)

Make sure u have latest bootloader from JB RSD-Package or OTA (motoboot)

Do a full backup with your favorite latest recovery!

Download the Rom zip and the Gapps zip

Do a full wipe in recovery (data/factory reset, system)

Install the Rom zip and Gapps zip through recovery!

Enjoy!

Coming from previous version of the

same Android Version

Do a full backup with your favorite recovery!(optional, for if things go wrong)

Download the Rom zip

Install the Rom zip (and Gapps if getting erros with Google services) through recovery!

Enjoy!

LineageOS 14.1

Latest-Rom: lineage-14.1-20180113-UNOFFICIAL-smi.zip

Gapps: OpenGapps <-- x86, android 7.1, *

XDA Download Section

Github

LineageOS 14.1 Information

Bugs/Issues

Some apps may not work properly because of outdated HOUDINI libraries (Nothing we can do about it)

Still needs some testing in specific places (InCall Microphone mute)

Hardware accelerated secure DRM playback won't work, software playback does! (e.g. Netflix)

SELinux is in permissive mode

Boot issues? Update your bootloader, have a look at the TWRP Recovery project for smi

Changelog

13 Januari
[LIST]
[*]LOS-14.1 source update
[*]Use unified LOS charger
[*]Enable Call Recording
[*]Fix Screen Recording
[*]Don't enable lifedisplay by default
[*]Kernel and system Bluetooth upstream updates
[*]Fix MTP crash (caused by missing mount namespace in kernel)
[/LIST]
28 December
[LIST]
[*]Kernel: Use specific cpu Freq when touched, Both CPUS should work fine
[*]Kernel: Enable sdcardfs
[*]Kernel: Enable new kernel module loading (finit_module)
[*]Kernel: Enable new CLOCK_BOOTTIME_ALARM
[*]Kernel: Update sensor drivers
[*]Kernel: Update in kernel security
[*]Kernel: Update kernel modules for Nougat
[*]Kernel: Add Custom KCAL support!
[*]Audio: implement 2 missing function through a wrapper, audio recording should work
[*]Camera: Fix camera preview start/stop/record
[*]Vibrator: Use a wrapper for vibrator hall
[*]Screen: Amoled burnin protection enabled
[*]Screen: Enable color calibration through kernel! Speeds up live-display etc. KCAL
[*]WLAN: Using ti wlan drivers instead of Intel's fork. Needs testing with battery, connection, hostapd etc.
[*]Doze: Enable doze powersavings
[*]Doze: Enable proximity wake
[*]Lights: Use source build liblights
[*]RILL: UMTS is not HSPA
[*]DRM: Enable drm protected video
[*]Sensors: Fix sensor readouts
[/LIST]

LineageOS 11

Latest-Rom: lineage-11-20180323-UNOFFICIAL-smi.zip

Gapps: OpenGapps <-- x86, android 4.4, *

XDA Download Section

Github

Private mirror from burn02

LineageOS 11 Information

Bugs/Issues

Some apps won't work properly with media (sonix player,netflix,telegram(compression),screencast)

ART

Android Runtime (ART) does work. But it is not as stable as Dalvik on Kitkat. If u want to use ART instead of Dalvik, Houdini (arm to x86 translator) will not work. Houdini is in Kitkat connected to Dalvik, so going to ART will disable any executing of ARM code on this device. Apps, services and maybe other thing might not work.

Enable ART in the developers section

Remove the line "ro.product.cpu.abi2=armeabi-v7a" from build.prop <- removes arm only apps from play store.

Xposed

As of version 1.12/26 October the ROM is using an Optimized Dalvik from Intel. This

will

break Xposed. To get Xposed working again I refer U to this link

Changelog

23 March
[LIST]
[*]LineageOS source updates
[*]Security updates up to march
[*]Massive kernel update! Includes:
[*]Kernel: Security updates for all relevant CVE's on cve.lineageos.org (see KernelCVES.txt in kernel source tree)
[*]Kernel: Kernel updated to 3.0.101
[*]Kernel: Added interactivex2 and intel governor and 3 new I/O schedulers
[*]Kernel: F2FS support
[*]Kernel: Update to zram (performance)
[*]Kernel: All modules are now builtin
[*]Kernel: KCAL updates, so applications can search for kcal support in kernel (kcal.ctrl0(commonly used))
[*]Kernel: (very) Small performance updates
[*]Kernel: Update for android 7+ included
[*]Kernel/UserSpace: Update power module
[*]Kernel/UserSpace: update to ct406, Bluetooth, accelerator modules
[/LIST]
27 Oktober
[LIST]
[*]Android security updates all the way up to November
[*]New lights module, prioritizes Notifications instead off Battery, Thanks @julianwi
[*]Kernel security updates
[*]Krack security update included
[*]FFmpeg updated to 3.0.8
[*]Maybe fixed some wifi connection drops
[/LIST]
17 April
[LIST]
[*]Security updates from April 2017
[/LIST]
28 February
[LIST]
[*]Security updates from February 2017
[*]Another improve to RenderScript (2d/photo's)
[*]SKIA optimized for x86, improve of about 5-30% in 2d rendering
[*]Same with JPEG encoding and decoding (mainly for camera pictures)
[*]Using secure boot from now (one of the fixes for pokemon)
[*]Enable CIP and MDP decoders/encoders ([URL="https://github.com/HazouPH/android_device_motorola_smi/blob/cm-11.0/modules/mdp_codecs/performance"]performance[/URL])
[*]Enable ALAC codec support
[*]MP3 can be played from a MP4 file
[*]Enable AAC-LC codec
[*]Another optimization to Dalvik (increase of 0-10% in java executing(apps))
[*]Improvements to media in gereneral from Intel sources
[*]Improvements in FFMpeg (also updated to 3.0.4) and media extraction
[*]Improve vpx (vp8 and vp9) performance ([URL="https://github.com/HazouPH/android_device_motorola_smi/blob/cm-11.0/modules/mdp_codecs/performance"]performance[/URL])
[/LIST]
30 January
[LIST]
[*]Re-brand to LineageOS
[*]Up-to-date with Google Android Security patch 01-01-2017
[*]Update HOUDINI to 4.1.1b. Most apps now work (snapchat, pokemon go (can't rom has root).
[*]Update all media codecs to upstream android master
[*]Fixup green bars on some videos
[*]Priorities Google Codecs over FFmpeg
[*]Fix widevine videos, DRM protected video's can be played now
[*]Another optimization to RenderScript
[*]WIFI country codes work, wifi rules are up-to-date with latest 2016 changes
[*]Change WIFI firmware, fixes most issues with tethering. Thanks https://github.com/Poslanets !
[*]Enable Zram (Better ram management)
[*]Enable KSM (Better ram management)
[*]Fix Xposed. Works again
[*]Update APN's. Mobistar argentina, pls report if something doesn't work
[*]CMForks changes: github.com/cmforks. Most noticeable:
[*][CMForks] Notify when wifi is connected
[*][CMForks] Settings: many crash fixes
[*][CMForks] Trebuchet: many crash fixes and some enhancements
[*][KERNEL] Multiple crash and security fixes
[*][KERNEL] Removed verified bootstate from kernel command prompt
[*][KERNEL] Some small optimizations
[/LIST]
22 December
[LIST]
[*]Added latest security patch (11-2016)
[*]Using Google's Vorbis decoder
[*]VP9 works again with mostly every file. Does increase cpu usage by a lot!
[/LIST]
24 May
[LIST]
[*]Fixup ffmpeg mpeg2 softwae video decoder
[*]Use Google MP3 decoder instead of ffmpeg (wrong channel count and sample-rates)
[*]Enable ffmpeg VP9 software decoding, 2x times better performance
[/LIST]
21 May
[LIST]
[*]Replacing CIP codecs for FFmpeg 3.0
[*]Fixing permissions of multiple executables (fixes videostream bug)
[*]Updated IA Resampler patch (some audio didn't resample right)
[*]Kernel security updates
[*]CM11 CVE updates
[/LIST]
7 April
[LIST]
[*]Security updates of March
[*]Security updates in kernel, from CM kernel 3.0.* security updates
[*]TI Wpa supplicant used for battaery management (hope it helps)
[*]Using Intel Optimized Audio Resampler
[*]Add asf parser for WMA, WMV and ASF media file types
[*]Use Intel Optimized Audio codecs (CIP)
[*]Add Apple Loseless Audio Codec support, needs testing
[*]SQlite optimization flags added
[*]Fix to Bluetooth PAN network
[*]Media changes:
[*]Faster thumbnail creation through hardware support
[*]Hardware rotation of media
[*]Added stream flags to audio blobs, needed by vendor blobs
[*]Enhanced media capabilities (see github)
[/LIST]
9 February
[LIST]
[*]Cyanogenmod updates
[*]February security updates
[*]WMA support through FFMPEG
[*]Back to stock kernel
[*]Removed obsolete files
[*]Provided 3.0.101 kernel in Download section
[/LIST]
25 December
[LIST]
[*] Reverted kernel changes
[*] Gone back to Intel TI Wifi Source
[*] Fixed Xposed
[*] Latest security updates (dec-2015)
[/LIST]
8 December
[B] I recommend doing a clean flash![/B]
Device tree:
[LIST]
[*]Using new Intel Optimized RenderScript
[*]Remove TARGET_ARCH_LOWMEM, we don need it
[*]Building kernel from source
[*]Now using a backup of the PDS partition
[*]New TI Wlan driver
[*]Enabled Bluetooth LE
[*]Reverted to WPA 8 from WPA 8 TI, for battery and stability
[/LIST]
Patches:
[LIST]
[*]KERNEL: Add support for x86 kernel building
[*]WIFI: needs gpio hooks to work
[*]WIFI: may not power on automatically after suspended
[*]KERNEL: Don't build dtbs (arm)
[*]HOUDINI: Using legacy way of detecting if houdini is enabled, this fixes crash in ART
[/LIST]
Kernel:
[LIST]
[*]Building from source
[*]Updated to 3.0.101
[*]Merged OXAVELAR's changes, still need to look at the ramdisk changes from him
[*]Enable fast charge from PosixCompatible, his "configuring" app still needs to be implemented
[*]Fix IDLE driver crash in kernel
[*]Add optimization flags to build
[/LIST]
26 October
[B]If u have Xposed installed, remove it before updating the rom![/B]
[LIST]
[*]Reverted Houdini update (fixes HERE maps crash)
[*]Better houdini implementation in framework (no need for workarounds)
[*]Fix VLC crash (symbol lookup crash in linker)
[*]Build enc/dev media libs from source (test if green bar bug is present)
[*]Using Intel Optimized Libm (math)
[*]Latest Stagefright fix
[*]Latest upstream CM patches
[*]NEW Intel Optimized Dalvik with new engine. Speeds up java runtime with speeds up to 50% more (linpack and quadrant tested). Apps will perform much better. Native code reliant apps won't see much change.
[/LIST]
23 September
[LIST]
[*] Update houdini to 4.1.1b.45721
[/LIST]
22 September
[LIST]
[*] Adding houdini back
[/LIST]
19 September
[LIST]
[*]Up-to-date with latest changes upstream (stagefright bugs)
[*]Changed some apn settings, could ffix AR apn's
[/LIST]
13 Augustus
[LIST]
[*]P2P can be enabled (see github)
[*]Bluetooth permission en tethering updates
[*]Better airplane mode control
[*]Greenbar bug in video fixed
[*]Added MMS Settigns
[*]Updated timezones
[*]Increased volume mod by @KREATOR
[*]Latest changes from CM11
[*]Stagefright vulnerability fixed
[/LIST]
9 April
[LIST]
[*]Fix video flickering (In most cases)
[*]Reverted Wifi updates (Wifi should work normally again for all)
[*]Using prebuilt media blobs, removing color distortion in some media files
[/LIST]
5 April
[LIST]
[*]Fix video flickering (In most cases)
[*]Fix GPS battery drain on boot (was very small)
[*]Wifi updates
[/LIST]
1 April (fools)
[LIST]
[*]Fix frontcam recording
[*]Change behavior of airplane mode, now correctly tells the system radio is off
[*]Small ramdisk changes
[*]Update bootanimation resolution
[*]Camera scenes now work. It may crash from time to time, just relaunch the app. Working on this to further improve this where i can
[*]Change zip name for more clarity
[/LIST]
26 February
[LIST]
[*]Add framework for AGPS
[*]Add direct camera launch from dedicated camera (setting is in English)
[/LIST]
23 February
[LIST]
[*]Fix USB and Bluetooth tethering
[*]Fix USB tile in quick settings
[*]Fix Airplane deactivate mode
[*]Fix AGPS (first time takes some time)
[*]Fix Headset key-mapping
[/LIST]
18 February
[LIST]
[*]Fix reboot to recovery
[*]Fix multi reboot options
[*]DPI can now be changed from build.prop
[/LIST]
16 February
[LIST]
[*]Enabled LED settings for apps and battery
[*]Enable camera button wake setting (no camera app starting)
[*]App installed with ARM support now gets arch 'ARM' from systen.getprop(os.arch), Here maps now work
[*]Took automatic brightness settings from Omar's ROM
[/LIST]
4 Januari
[LIST]
[*]Completely fixed wifi mac adres
[*]Using wpa_supplicant TI for now for BC scanning
[*]NFC doesn't download firmware, needs testing
[*]Removed XPROC... sharing
[*]Using watchdogd from source
[*]Add HDR camera support
[*]Using intel media libs from source
[/LIST]
14 December
[LIST]
[*]Enable more NFC settings. Tag and others should work
[*]Wifi mac fixed. If u have no wifi, execute fix-mac.sh (make it executable chmod 755) from terminal and reboot. This will give u the mac from the last version
[*]Fix external storage 'rw' permissions for media
[*]Fix charge only mode
[*]Some other small changes i forgot
[/LIST]
8 December
[LIST]
[*] Initial release
[/LIST]

Contribute?!

If you have any fixes and features that u want to have implemented to get a better experience, please share and provide the code and ask for a merge to my github! Only fixes and features with code! We/I can't do much with just ideas!

Thanks and credits

xNeo92x

DinizZ

fe2k7

Omar-Avelar

BirneKlub9

dagoban

Burn02

roymental

FourOne82

PosixCompatible

Igor

Julianwi

Cyanogenmod

LineageOS

Motorola

Intel

All the rest that have helped to construct these builds and develop software for xt890 directly or indirectly in the past.

DATA Encryption

Encryption works on this device with this ROM out of the box, but U will need to disable the PDS partition backup. Do the following:

Boot ones without encrytion enabled

Backup the file /data/pdsdata.img to a secure location somewhere else (not on the phone, for safe keeping)

Rename the file /system/bin/pdsbackup.sh to pdsbackup.bk or something else

Reboot and encrypt the device

If for some reason your pds partition is faulty, u can repair it with the backup u have on the secure location.

XDA:DevDB Information

Unofficial LineageOS, ROM for the Motorola RAZR i

Contributors

Hazou

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

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.0.x

Based On: LineageOS

Version Information

Status: Stable

Current Stable Version: LineageOS 14.1

Stable Release Date: 2018-01-13

Created 2014-12-08

Last Updated 2018-03-24