• 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.2][OFFICIAL][WT88047] LineageOS 14.1

nicknitewolf

Recognized Developer
Sep 10, 2013
1,280
3,438
0
Singapore

LineageOS is a free, community built, aftermarket firmware distribution of Android 7.1.2 (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 Changelog for a full list of changes & features.

Important information:
This thread is for LineageOS 14.1 opensource builds for Wingtech WT88047, marketed as Redmi 2 by Xiaomi (but I'm not sure this company really exist). The following will not be supported in this thread:
  • Custom Kernels
  • Mods
  • Modified system files
  • Xposed

What's working :

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

What's not working :

  • Use VOL UP + VOL DOWN + POWER button to enter recovery mode

Instructions :

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

Downloads :

Official Weekly Builds:
https://download.lineageos.org/wt88047

TWRP:
http://forum.xda-developers.com/showthread.php?t=3611503

Open GApps ARM - 7.1.2 - Nano:
http://opengapps.org/

I would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!

Credits :

@banmeifyouwant: For his initial kernel source
@ketut.kumajaya: For his major contributions to Wingtech (OSS Xiaomi)
@zwliew: Initial device tree reference, contributions for OSS kernel
@premaca: "Me: HAALP!" He answered me
LineageOS Team
CyanogenMod Team
Xiaomi: For MAYBE providing the not so useful Kernel Source Code after 1 whole year of waiting

Donations :

Bitcoin addresses:

Paypal:

Source Code :

XDA:DevDB Information
[ROM][7.1.2][WT88047] LineageOS 14.1, ROM for the Xiaomi Redmi 2

Contributors
nicknitewolf, premaca, ketut.kumajaya
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: LP Bootloader
Based On: LineageOS

Version Information
Status: Nightly

Created 2016-12-31
Last Updated 2017-09-23
 
Last edited:

nicknitewolf

Recognized Developer
Sep 10, 2013
1,280
3,438
0
Singapore
My local manifest for those who want to build. (May subject to sudden changes. Don't come here crying if it suddenly does not want to compile)

Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="LineageOS/android_device_wingtech_wt88047" path="device/wingtech/wt88047" remote="github" revision="cm-14.1" />
  <project name="LineageOS/android_kernel_wingtech_msm8916" path="kernel/wingtech/msm8916" remote="github" revision="cm-14.1" />
  <project name="LineageOS/android_device_cyanogen_msm8916-common" path="device/cyanogen/msm8916-common" remote="github" revision="cm-14.1" />
  <project name="TheMuppets/proprietary_vendor_wingtech" path="vendor/wingtech" remote="github" revision="cm-14.1" />

  <project name="LineageOS/android_device_qcom_common" path="device/qcom/common" remote="github" />
  <project name="LineageOS/android_external_stlport" path="external/stlport" remote="github" />
</manifest>
 
Last edited:

nicknitewolf

Recognized Developer
Sep 10, 2013
1,280
3,438
0
Singapore
Supported Firmware:

Downloads:

wt88047: https://goo.gl/FNbbMP
wt86047: https://goo.gl/YHufVo

Note:
It is the firmware LineageOS supports and all users are expected to be on this very firmware. So it's mandatory that you flash this firmware via TWRP if you're newly installing Lineage.
You don't need to reflash this everytime you update you LineageOS build.

To add on:
There seems to be some confusion with this post in general. If you are coming from a stock MIUI Lollipop build, it is highly unlikely that you would need to update your firmware with the one above since Xiaomi hardly updates its firmware on older devices. Otherwise, if you are not sure what firmware you currently have, I urge you to flash the firmware linked above.

Why should I even flash this firmware?
The simple answer is that this firmware is known working with LineageOS builds and I am currently running it. Running other versions of the firmware (Like the Kitkat firmware) may warrant unheard of bugs and / or bugs that have been squashed long ago.

When should I flash this firmware?
This firmware should only be flashed once, anytime before the first boot into LineageOS.
 
Last edited:

nicknitewolf

Recognized Developer
Sep 10, 2013
1,280
3,438
0
Singapore
Change-log:

Official NIGHTLY changelog:
https://download.lineageos.org/wt88047/changes

Third Party NIGHTLY changelog:
https://www.cmxlog.com/14.1/wt88047

Older change-logs:

20170114
- Enable adaptive LMK
- Adjust vm heapsize by total system ram
- Random fixes
- Upstream

20170111
- Enable SDCARDFS by default
- Tune ART JIT
- Update audio HAL again (small change)

20170109
- Various fixes
- Upstream
- Android 7.1.1_r9

20160108
- Update Sound drivers
- Update Sound HAL
- Disable VM_BMS (Because xiaomi is weird and don't support this)
- Update SDCARDFS drivers (Might be enabling by default in next build)

20170106
- Fixed unified LED HAL
- enable vm_bus
- Updated IMS blobs from potter

20170104
- Updated Unified LED functionality

Initial Build (20161230)
- SDCardfs is disabled by default
- libhealthd replaced with LineageOS OSS charger
 
Last edited:

nicknitewolf

Recognized Developer
Sep 10, 2013
1,280
3,438
0
Singapore
Other Links / Info

How to Report Bugs?
State your:
  • Device Model
  • Build Number and Version (Eg. 20170201 NIGHTLY or 20170205 UNOFFICIAL)
  • Bootloader [Lollipop]
  • Logcat
  • Dmesg
SU Addon:
https://download.lineageos.org/extras
LineageOS no longer comes pre-rooted

* Note: Using any other methods to root your device other than the above method will result in me ignoring your bug report and / or pleas for help.

TWRP Thread: https://forum.xda-developers.com/redmi-2/development/recovery-twrp-touch-recovery-t3611503
 
Last edited:

Venkatesh

Senior Member
Mar 1, 2012
971
653
93
Supported Firmware:

Downloads:

wt88047:https://goo.gl/FNbbMP
wt86047:https://goo.gl/YHufVo

Note: It is the firmware CyanogenMod supports and all users are expected to be on this very firmware. So it's mandatory that you flash this firmware via TWRP if you're newly installing CM.
You don't need to reflash this everytime you update you CyanogenMod build.
Nick, thanks for update. Please change cyanogenmod word here.