• 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.1][UNOFFICIAL] LineageOS 14.1 [OMS][FEB 14][CANCRO]

Shivam Kumar Jha

Senior Member
Dec 28, 2013
361
3,184
0
Hyderabad

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.

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 out Gerrit Code Review. You can also view the website for further information.

I've added OMS support to these Unofficial LineageOS builds so we can enjoy Substratum themes for the time being till Lineage OS theme engine arrives.
I've pushed all the local changes to support OMS to my Github repositories. You can check the manifest in case you want to build it yourself for other devices. Also there's a patch to allow Audio Mods to run in Enforcing SeLinux.


What's working :

  • Boots
  • RIL (Calls, SMS, Data)
  • Wi-Fi
  • Bluetooth
  • Camera
  • Camcorder
  • Video Playback
  • Audio
  • Sensors
  • Flash
  • LED
  • GPS

What's not working :
  • No Video recording from Snap camera (Use 3rd party apps) fixed from Nov 5th build

Instructions :
  • Download the latest build and GApps
  • Reboot to recovery
  • Flash the latest build and GApps
  • Reboot

Downloads :


Credits :
  • @linuxxx
  • LineageOS Team
  • Xiaomi: For providing the Kernel Source Code

Device Github
Kernel Github
Vendor Github

XDA:DevDB Information
[7.x][UNOFFICIAL] LineageOS 14.1 , ROM for the Xiaomi Mi 3/4

Contributors
Shivam Kumar Jha, linuxxx
Source Code: https://github.com/LOSOMS/android

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Unlocked bootloader, TWRP
Based On: CyanogenMod

Version Information
Status: Testing

Created 2016-10-26
Last Updated 2017-02-14
 
Last edited:

Shivam Kumar Jha

Senior Member
Dec 28, 2013
361
3,184
0
Hyderabad
Screenshots:
Screenshot_20161026-184137.png Screenshot_20161026-184115.png Screenshot_20161028-131055.png Screenshot_20161028-131418.png
Screenshot_20161028-134148.jpg Screenshot_20161028-134223.jpg

Changelog:
25 10 16 : Initial CM 14.0 build
28 10 16 : Initial CM 14.1 build
30 10 16 : Removed Doze, re-synced with CM sources
01 11 16 : used common qcom binaries, re-synced with CM sources
04 11 16 : re-synced with CM sources
05 11 16 : fixed video recording in snap
09 11 16 : Upstream CM changes, Re-added CancroDoze package, Cherry-picked some commits in kernel
09 01 17 : Initial Lineage OS build
12 01 17 : Upstream Lineage OS changes
14 01 17 : Upstream Lineage OS changes + added OMS support
20 01 17 : Upstream LineageOS changes, Latest substratum patches , Upstream kernel & device changes, Built with dexpreopt, New overlays (wifi related), Sepolicies changes, Fast charge enabled by default, Blur UI
26 01 17 : Round icon, Removed mpdecision, Lockscreen blur disabled by default, Upstream LAOS changes
29 01 17 :
  • Updated to 7.1.1_r13 tag
  • Upstream Lineage OS changes
  • Built with dexpreopt (lesser boot time)
  • Updated Audio Configs for Mi3w & Mi4
  • Updated changepowermode.sh script (should have better battery life & performance)
  • Updated configs (now Videos open & seek significantly smoother)
  • Updated GPS files
  • Updated Wifi files
  • Updated proprietary firmware (calibration table, modem, xtwifi)
  • Updated NFC files
  • Optimised init.qcom.post_boot.sh (cpu min frequency will go to 300MHz, enabled fast charge by default )
  • Added interactive cpu governore permissions to init.qcom.factory.sh
  • Updated start_sensors() function
  • Updated USB related files
  • Updated init.qcom.rc (TCP tweaks, allow interfaces to get v6 address when tethering is enabled, make sensor late_start )
  • Enabled modem fast dormancy function
  • fixed charger_monitor: failed to start wakelock timer (thanks to DrRamm)
  • re added mpdecision
2017 02 14 :
  • Upstream LAOS changes
  • Merged latest Substratum patches
  • Built with more audio flags
  • Reverted back to old GPS files, Audio acdbdata, start_sensors()
  • Updated dirac audio config file
  • Ivans AOSP N camera libs
  • Custom OTA (You'l receive notifications of next update from this update)
 
Last edited:

Shivam Kumar Jha

Senior Member
Dec 28, 2013
361
3,184
0
Hyderabad
cmte???? :D:fingers-crossed:
Not yet., some CMTE related changes are present in gerrit ..

When to get CM14.Android 7.1?;);)
Soon,

Will upload CM 14.1 once I reach home today
cm-14.1-20161028-UNOFFICIAL-cancro.zip

Can I flash this directly over Cm13 or is a clean flash recommended?
Not recommended

is there a way to get rid of left and right button on navigation bar?
You mean recent & back buttons ?

Is this stable enough as a daily driver?
Bluetooth audio issues are there sometimes,
SeLinux is permissive
Rest work fine., Now you can decide for yourself

left and right button?? what do you mean?? can you be more specific?
 
Last edited:

chiwawa10

Senior Member
Sep 19, 2016
151
66
0
Kuala Lumpur
Sweet looks like we'll be seeing a build of CM14.1 (based on android 7.1) soon. Knowing that @linuxxxx contribute to the official CM13 cancro build, and he is a contributor listed here. Does it sounds like this is gonna be the official CM14/CM14.1 when it comes out?
 

Shivam Kumar Jha

Senior Member
Dec 28, 2013
361
3,184
0
Hyderabad
Sweet looks like we'll be seeing a build of CM14.1 (based on android 7.1) soon. Knowing that @linuxxxx contribute to the official CM13 cancro build, and he is a contributor listed here. Does it sounds like this is gonna be the official CM14/CM14.1 when it comes out?
NO, nothing like that at all.. I have'nt contributed anything to official CM trees.. @linuxxxx is mentioned here in contributors as I've used device/kernel/vendor trees he contributed into.. this CM build is unofficial and will remain like that., we're lucky to have him maintaining CM for us :)
 

thilak devraj

Elite Member
Jun 12, 2016
2,036
651
0
bangalore
  • Like
Reactions: Shivam Kumar Jha

Anarchy16

Senior Member
Dec 25, 2015
614
274
63
sandakan
NO, nothing like that at all.. I have'nt contributed anything to official CM trees.. @linuxxxx is mentioned here in contributors as I've used device/kernel/vendor trees he contributed into.. this CM build is unofficial and will remain like that., we're lucky to have him maintaining CM for us :)
is it okay to flash gapps7 or do i need to dwnload gapps 7.1 ?
 

mixmoto

Member
Oct 12, 2007
34
5
0
Hi @Shivam Kumar Jha
thank you very much for your work on cancro devices!
I want to inform you of some small bugs on cm14.1 28 oct.
1 cant use rebbot or advanced reboot (visible in settings but isn't visible in the power options)
2 i cant canghe battery profile because fc
3 antutu bench crash at the middle of the test
4 google camera 4.2 have fc at the start of app

about device performance it's possible to improve?

thank you for your good work have a good day!