• 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][UNOFFICIAL][Mi 4i][8.0] LineageOS 15.0

Shrukul

Senior Member
Mar 2, 2014
178
399
0
25
Hubli


LineageOS is a free, community built, aftermarket firmware distribution of Android 8.0 (Oreo), 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.

What's working :

  • Boots
  • RIL (Calls, SMS, Data)
  • Wifi
  • Bluetooth
  • Camera
  • Video Playback
  • Audio ( Record and Playback )
  • Sensors
  • Flash
  • Led
  • GPS
  • Video recording
  • Hardware Buttons
What's not working :

  • Hotspot
  • SELinux is permissive

Workarounds for battery drain, lag and heat (optional):
  • Install Kernel Auditor and go to cpu tab and set cpu governor to interactive for both cluster and go to io sched tab and set io scheduler to bfq.

Instructions :
  • Download the latest build and gapps
  • You need to be on firmware 8.1.5.0. If you're not, download the firmware from the downloads section.
  • Reboot to recovery
  • Flash the latest build and gapps
  • Reboot
Downloads :
Reporting Bugs
  • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab /sys/fs/pstore/console-ramoops. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
  • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

Code:
What is your--
Phone model:
Lineage version:
Lineaage Download url:
Gapps version:
 
Did you--
wipe:
 restore with titanium backup:
reboot after having the issue:
 
Are you using--
a task killer:
a non-stock kernel:
CMSettings/Performance settings (other than stock):
other modifications:
 
Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
Source :


Credits :

XDA:DevDB Information
LineageOS 15 for Xiaomi Mi 4i

Contributors
Shrukul
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: 8.1.5.0
Based On: LineageOS

Version Information
Status: Stable
Current Stable Version: 1
Stable Release Date: 2017-09-12

Created 2017-09-12
Last Updated 2017-09-12
 
Last edited:

arth_vish

Senior Member
Mar 19, 2015
64
7
0
Great to see Oreo for Mi4i which has been literally dumped by Xiaomi.. Can any one who has installed this rom provide feedback n screenshots...:eek::good:
 

heyDante

Member
Feb 26, 2017
30
3
0
Do I need to flash the 8.1.5.0 firmware?
If yes please provide a link.
And thank you very much for this ROM. I appreciate your hard work.
 

tumredkar

Member
Jun 8, 2015
14
1
0
If possible fix some bugs

First of all thanks buddy for giving such great rom for mi4i

please try to fix these bugs
1. Hotspot
2. In wifi even after adding one network it doesn't connect to hidden network
3.Picture in picture mode isn't working
3. Try to add Pixel launcher
4.FM isn't working
 

aswinna7

New member
Apr 13, 2015
4
0
0
26
thrissur
Hatsoff Dude !!

Most of the devs are leaving us... But you worked hard and brought a stable build for us... And Your OREO tastes yummy... :p Working fine... No over heating issues and lags... Never checked the SOT... Just flashed an hour ago... Till now no probs... Once again thanx...
 

Nilu99

Senior Member
Feb 25, 2017
124
10
18
Really good work....everyone is leaving the mi4i but you gave Android 8.0 to this mobile....A big thanks for your effort...