LineageOS is an aftermarket firmware for a number of cell phones and tablets based on the open-source Android operating system. It offers features not found in the official Android-based firmwares from vendors. Read more about LineageOS at lineageos.org.
The Huawei Ascend Mate 2 (mt2l03) does not receive official releases of LineageOS. I provide unofficial builds here. Bug reports on these builds are not accepted through LineageOS’ bug tracking system. More information about the Huawei Ascend Mate 2 can be found on the LineageOS Wiki.
Minimum Firmware Version
Your Huawei Ascend Mate 2 (mt2l03) must be upgraded to stock firmware version B322 before installing LineageOS. This only needs to be done once; it will update the vendor firmware that is permanently stored on the device. If the option exists, taking over-the-air updates until your device is running B322 is the easiest option. Otherwise, you can manually update your device as follows. This will wipe all of your personal data from the device!
- Download and unpack HUAWEI MT2-L03C00B322 from Huawei
- Format a 4GB or larger MicroSD card to FAT32
- Copy UPDATE.APP and UPDATE_VENDOR.APP to a directory named
dload
on the MicroSD card - Turn off the device and insert the MicroSD card
- Press and hold Volume-Up + Volume-Down + Power (in this order) until the HUAWEI logo shows, then release only the Power key (keep holding the volume keys)
- Release the volume keys when the phone enters Software Upgrade mode
- The update will begin automatically and reboot when finished
Recovery Info
Not compatible with official TWRP releases. Please use unofficial TWRP.
Security Advisory
All of the following releases have their Android Security Bulletin date marked with an asterisk (*). This is to indicate that while Android Frameworks has been fully patched, this device’s HAL (hardware abstract layer) and kernel should not be considered fully patched. Both the HAL and the linux-3.4 based kernel are deprecated by AOSP and no longer receive updates from Qualcomm or AOSP. Considerable effort has been put into updating the kernel with known CVE patches (cve.lineageos.org/android_kernel_huawei_msm8928) and the status of each patch is tracked here. Please recognize that backporting patches to this linux-3.4 based kernel is difficult and the backports applied have not been verified by security experts. Further, AOSP has no incentive to disclose any other vulnerabilities that may exist in linux-3.4 based kernels since security updates have ended for devices utilizing this kernel version. Enjoy responsibly.
FM Radio Info
Sorry, I haven’t managed to resolve audio output from the built-in FM radio app. It’s pretty low on my priority list, so your best option is to use SpiritF as an alternative. There is a compiled APK at F-Droid: f-droid.org/en/packages/fm.a2d.sf (you don’t need the F-Droid app, just download fm.a2d.sf_111.apk
).
Downloads
- LineageOS 14.1:
lineage-14.1-20180406-UNOFFICIAL-mt2.zip (310 MB)
SHA1:ce86254732931c4b94293477978e10919a6ae040
Commit history:
– android_device_huawei_mt2: fad4ae6a47068435baffcb9da972b01cf9d6f4da
– android_kernel_huawei_msm8928: cff815ec66c5d59dc6fee08f72470b4281481334
– proprietary_vendor_huawei: 94134d0fa31d70db8604352877170187c33213d0
Based on branchcm-14.1
as of 05 Apr 2018
Includes fixes for Android Security Bulletins through March 2018*
Kernel CVE patch status:
– Current: gist.github.com/mdmower/6cfc51c888ff1ab2b0ec1e3a430b0424/f9b90866a5b0f8c32675018330bdab24493b3da2
– Reference: cve.lineageos.org/android_kernel_huawei_msm8928
Additional commits:
– Settings: Asterisk security patch for old kernels
– Revert bad April fools joke (1/2)
– Revert bad April fools joke (2/2)
- LineageOS 14.1:
lineage-14.1-20180119-UNOFFICIAL-mt2.zip (308 MB)
SHA1:c5ff253b2c7263cad377fde5067add491c3192fd
Commit history:
– android_device_huawei_mt2: 9aba124c42276214b5a9b3f9984c8dd6685528fc
– android_kernel_huawei_msm8928: 1903da398cd5bf2e373448091e229e1973184af8
– proprietary_vendor_huawei: 94134d0fa31d70db8604352877170187c33213d0
Based on branchcm-14.1
as of 19 Jan 2018
Includes fixes for Android Security Bulletins through January 2018*
Kernel CVE patch status:
– Current: gist.github.com/mdmower/6cfc51c888ff1ab2b0ec1e3a430b0424/6d9622b97b9bb1a7063c05e7520884a8d53585d3
– Reference: cve.lineageos.org/android_kernel_huawei_msm8928
Additional commits:
– Settings: Asterisk security patch for old kernels
- Archive of older releases at Android File Host
- GApps: Open GApps
- Recovery: Unnoficial builds of TWRP are available here.