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 on github : LineageOS Github repo.
Unofficial build of LineageOS 14.1 (Android 7.1.2) for the M2 Note
Code:
#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!
*/
- Hardware acceleration
- RIL for SMS/Calls/Internet
- GPS
- WiFi
- Vibration
- Audio
- Bluetooth / A2DP
- MTP and Mass Storage mode
- External SD
- Camera (Videos & Photos)
- Gestures
- Gamepads support
- All Sensors
- Tethering
- USB Otg
- mBack button!
- LiveDisplay (natively)
- Power-On Alarms (wakes the device 1m30 before an alarm)
- Sdcardfs (default)
- Ext4 backported from 3.18 with crypto and lazytime
- F2FS latest stable with lazytime
- Zram (w/ LZ4 comp.)
- Offline-Charging Mode
- Signed build (user/release-keys)
- Selinux enforcing :fingers-crossed:
- Security Patch September 2019
Thanks to Prasenjit Roy for the quick-review video :highfive:
https://www.youtube.com/watch?v=Uy1sVlSeYks
Download:
Build 25 (Stable 9 "PrettyLate") : HERE (Gdrive link)
md5: fadd90ec9ec6dded055231386c7186e2
- [lineage] sources updated as of today, includes September 2019 security bulletin
- [device] fixed orientation sensor (still works after a week without reboots)
- [kernel] upstream updates, small fixes and CVEs
Build 24 (Stable 8 "Late") : Here(temp. Gdrive link)
- [lineage] sources updated as of today, includes November 2018 security bulletin
- [device] fixed hardware HEVC encoding/decoding, should make some audio/video apps more stable
- [kernel] upstream updates, small fixes and CVEs from November '18 for the wifi driver included.
Build 23 (Stable 7 "Spring") :
- [lineage] sources updated as of today, includes May 2018 security bulletin
- [device] enabling the virtual navbar will now disable the hardware button (for those with a broken buttons <3 )
- [kernel] upstream updates, fixed exfat kernel drivers
Build 22 (Stable 6 "M'lady") :
- [lineage] sources updated as of today, includes January 2018 security bulletin
- [device] lights HAL built from source, leds settings cleaned (battery notification was not on stock rom, the settings were unused), mtk omx settings were fine-tuned (should reduce the lag when playing HQ videos), broken ffmpeg VIDEO (and aac) codecs were removed to keep things tidy.
- [storage] encryption AND "formatting an sdcard as internal storage" should now properly work (updated kernel and TWRP)
- [kernel] upstream updates, fully upstreamed encryption, ext4, dm, md and sdcardfs drivers, fixed encryption and sd as internal storage for ext4 & f2fs, a few tweaks/cleanup. NFS was reverted from the kernel, CIFS is now built, I'm not sure if I want to build both as NFS might not be used if by any of us, if anyone wants kernel support for NFS, voice yourself.
- [blobs] removed a couple unused blobs, updated md_init / nvram_daemon to prevent crashes during modem start/stop/restart and during encryption process.
- [doze] doze package was fixed by Dinolek ( hand-wave to wake and co, features) and now works properly
- [shim] updated shim for graphic buffers by Dinolek, mtk_agps is now shim-free and was updated to a Nougat blob.
How to report Issues
- If you find a bug please check if an exisiting issue is already mentioned and create one with details and logs here : Bug reports @ Github issues
Make sure you fit those criteria first : - Make a backup, do a "Wipe Clean" install
- Make sure you don't use MODifications (flash clean, try again)
- Check the open/closed issues (most of the problems faced should have a mention about how it was fixed or how to workaround rare bugs)
- Check google first, there might already be solutions, there's also "howto" (for making logs, using a different i/o scheduler, etc..
)
- Explain and give details, add logs as much as possible (and please take the time to search how to do those tasks, I know most of you are well intentioned when asking "how can I make logs", but you're not helping only me, you're helping yourself and everyone else who might/has the same issue :good: )
Issues
First boot and bluetooth :
NOTE: for those having issues with bluetooth not enabling, you need to actually copy/paste the file :
"/data/nvram/APCFG/APRDEB/BT_Addr" to "/data/", it should look like "/data/BT_Addr".
For some reasons (I couldn't find the definitive solution so far), it seems nvram can't access the "BT_Addr" in nvram and falls back to reading it from /data/BT_Addr (which is just a copy of BT_Addr). Using enforcing makes the nvram_daemon unallowed to create files in /data, which is why you need to copy it yourself. If anyone wants to make a small flashable fix.zip, I'll link it here
First boot and camera :
You can flash from TWRP this little fix : CameraFix-Dinolek-Los14.1.zip (Download section)
Proximity Sensor :
If your proximity sensor doesn't work and/or you have a black screen after hanging a call, you can find a flashable zip named "Mtk-prox.sensor.FIX.v2.zip" under the download section.
Flash this zip will install the small proximity calibration helper written by xen0n (here - thanks to him
[*] V2: should be automatic on boot/reboot, if not see the note for V1.
[*] V1: Usage is simple, if you need to calibrate your proximity sensor, just open terminal app (you can enable Terminal app in Settings>DevOptions), start the terminal and type :
"meizupshelper c" ( c as in Calibration)
Voilà !
How to install Recovery / TWRP :
Use the recovery linked in the download section of this thread
-> How to install TWRP <- I don't support unlocking bootloader AND installing TWRP, check the corresponding threads :highfive:
How to install G-apps :
LineageOS now recommends these G-apps package : click here, I installed the corresponding package to our rom : "Nougat Base Gapps package for 7.1.2 (arm64)", seems fine so far
Open-Gapps should work too, refer to lineageOS wiki for more infos.
Don't be cruel:
If you want to mirror the rom or port it to another device, go ahead! Just do the right things and give proper credits. Thank you!
XDA:DevDB Information
[Stable] LineageOS-14.1 for Meizu M2 Note [7.1.2], ROM for the Meizu M2 Note
Contributors
Moyster, Fire855
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
Based On: LineageOS
Version Information
Status: Stable
Current Stable Version: 9
Stable Release Date: 2019-09-12
Created 2017-10-21
Last Updated 2019-09-15