FORUMS
Remove All Ads from XDA

[UNOFFICIAL] LineageOS 13.0 for Xiaomi Mi Pad 2

330 posts
Thanks Meter: 573
 
By Harrynowl, Senior Member on 1st March 2017, 11:31 PM
Post Reply Email Thread

LineageOS is a free, community built, aftermarket firmware distribution of Android, which is designed to increase performance and reliability over stock Android for your device.

Code:
#include <std_disclaimer.h>
/*
* 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! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
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. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

GPL compliance:
Device tree, kernel and vendor tree: Github

Broken:
  • Camera
  • Some users have a random reboots

Working:
  • 3D Acceleration
  • Wi-Fi
  • Hardware Playback (YouTube, Twitch, etc)
  • Audio
  • Sensors (Lights, rotation, etc)
  • Bluetooth
  • Deep sleep

Bugs:
When you think you've found a bug, please make sure it's repeatable + not a one off. If it is you must provide a dmesg (dmesg > /sdcard/dmesg.txt) and a logcat (logcat -d > /sdcard/logcat.txt) from the on-device terminal emulator.


Screenshots:

Compatibility:
Compatible with Xiaomi Mi Pad 2 (Intel Atom) tablet. 16 or 64GB. Using proprietary blobs based on Intel minnowboard releases and Xiaomi MIUI 8.x developer packages.

Downloads:
1/03/2017
Changelog:

- Initial Release
- Source based kernel

2/03/2017
Changelog:

- Fix sensors
- Fix bluetooth

4/03/2017
Changelog:

- Fix app crashes (apps compiled for ARMv7 launched via houdini)
- Fix colour washout

9/03/2017 (it is the last build by harrynowl)
Changelog:

- Update Houdini libs & binary to improve ARM emulation performance
- Fix LED notification
- Improve the PowerHAL
- Fix offline charging (no longer hangs @ MI logo)
- Merge kernel upstream to 3.14.79

6/05/2017
Changelog:
  • Switch to Lollipop proprietary blobs from Miui LP with Marshmallow bring up (For more info visit this GIthub repo )
  • Merge missing upstream Lollipop commits (For more info visit this Github repo)
  • latte: Use MIUI Stable 8.2.2.0 build fingerprint
  • latte: ramdisk: disable pstore-clean at all
  • Sync latest sources

01/10/2017
Changelog:
  • Sync LineageOS 13 sources
  • Merge ~ 300 upstream commits from android/kernel_common (branch deprecated/android-3.14) to our kernel sources

08/10/2017
Changelog:
  • Sync LOS 13 sources so: October stagefright patch is there
  • Fix a deep sleep issue
  • Fix a some colour inaccuracy issue
  • But some users now can have a random reboots

29/01/2018
Changelog:
  • Bump security patch level to 2018-01-05
  • manifest: android-6.0.1_r81
  • latte: apply changes for camera which were suggested by itsju fro 4PDA
    P.S. Camera now do not crash anymore. Just show a green screen instead of photo.


Gapps:
I suggest the gapps packages available at opengapps.org. You'll need to use the x86 version as the ROM is built with a 32 bit userspace.

Credits & collaborations:
  • KonstaT - Initial Cherry-Trail ground work (device bring up, vendor blob lists)
  • tank0412 - Initial Mi Pad 2 ("latte") bring up & vendor tree
  • Myself - Many fixes, improvements & fixing the kernel
  • android-ia / 01org - Various open source Intel resources
  • LineageOS / AOSP - Base source code

XDA:DevDB Information
LineageOS 13.0, ROM for the Xiaomi Mi Pad

Contributors
Harrynowl, tank0412
Source Code: https://github.com/latte-dev

ROM OS Version: 6.0.x Marshmallow
Based On: LineageOS

Version Information
Status: Beta
Current Beta Version: 1.0
Beta Release Date: 2017-03-01

Created 2017-03-02
Last Updated 2018-01-29
The Following 43 Users Say Thank You to Harrynowl For This Useful Post: [ View ] Gift Harrynowl Ad-Free
 
 
2nd March 2017, 06:34 AM |#2  
Senior Member
Thanks Meter: 46
 
More
First version works well here.

Thanks!

Kind regards.

Enviado desde mi MI 5 mediante Tapatalk
2nd March 2017, 08:00 AM |#3  
Junior Member
Thanks Meter: 2
 
More
Wow, great! Thanks! I'll wait for working bluetooth before moving from RR. But I love the initiative, and I much prefer LineageOS to RR! Will you be moving to the development of 14.1 once the broken features of this ROM eventually are fixed?
2nd March 2017, 08:07 AM |#4  
ferreinf's Avatar
Senior Member
Thanks Meter: 525
 
More
You've done it ☺️
Subscribed, thank you for your time.
Maybe adding kcal support will help with colours.

Sent from my OnePlus 2
2nd March 2017, 09:08 AM |#5  
Member
Thanks Meter: 37
 
More
This is awsome!

Finally both LineageOS and RR for our Mi Pad 2, great work from you and Tank!
The Following User Says Thank You to Jogor For This Useful Post: [ View ] Gift Jogor Ad-Free
2nd March 2017, 12:38 PM |#6  
Harrynowl's Avatar
OP Senior Member
Thanks Meter: 573
 
Donate to Me
More
Quote:
Originally Posted by Jogor

This is awsome!

Finally both LineageOS and RR for our Mi Pad 2, great work from you and Tank!

Our device files can be used to build pretty much any M based ROM like Omni, AOSP and AOKP also
The Following 2 Users Say Thank You to Harrynowl For This Useful Post: [ View ] Gift Harrynowl Ad-Free
2nd March 2017, 12:46 PM |#7  
Member
Thanks Meter: 37
 
More
Quote:
Originally Posted by Harrynowl

Our device files can be used to build pretty much any M based ROM like Omni, AOSP and AOKP also

I actually started to read up on how to build roms myself last week, just to learn abit more..

I installed Linux, set up a github account and forked device tree and all that, but no time to finish it yet..
2nd March 2017, 01:18 PM |#8  
Harrynowl's Avatar
OP Senior Member
Thanks Meter: 573
 
Donate to Me
More
Quote:
Originally Posted by Jogor

I actually started to read up on how to build roms myself last week, just to learn abit more..

I installed Linux, set up a github account and forked device tree and all that, but no time to finish it yet..

To help out, you'll need to add this to your .repo/local_manifests/roomservice.xml in whatever ROM you choose to build.

You often need to adjust the .mk files in the tree as AOSP will not build without changing "lineage_x" to "aosp_x" for example. Similar for Omni etc..

Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- MI PAD 2 -->
<project name="latte-dev/android_device_xiaomi_latte" path="device/xiaomi/latte" remote="github" revision="cm-13.0" />
<project name="latte-dev/android_vendor_xiaomi_latte" path="vendor/xiaomi/latte" remote="github" revision="cm-13.0" />
<project name="latte-dev/android_kernel_xiaomi_latte" path="kernel/xiaomi/latte" remote="github" revision="cm-13.0" />
</manifest>
2nd March 2017, 04:59 PM |#9  
Harrynowl's Avatar
OP Senior Member
Thanks Meter: 573
 
Donate to Me
More
Quote:
Originally Posted by Maxdalax

Wow, great! Thanks! I'll wait for working bluetooth before moving from RR. But I love the initiative, and I much prefer LineageOS to RR! Will you be moving to the development of 14.1 once the broken features of this ROM eventually are fixed?

Devlopment on LineageOS 14.1 is started, but the aging Lolipop blobs are missing some symbols so it's very much a WIP. More focused on making 6.0 work properly

You can see any discussion/progress on our Github link.

Quote:
Originally Posted by ferreinf

You've done it
Subscribed, thank you for your time.
Maybe adding kcal support will help with colours.

Sent from my OnePlus 2

As far as I'm aware KCAL is only for qcom mdss driver
The Following 3 Users Say Thank You to Harrynowl For This Useful Post: [ View ] Gift Harrynowl Ad-Free
2nd March 2017, 06:32 PM |#10  
Zokinet's Avatar
Member
Thanks Meter: 4
 
More
Great work.

Enviado desde mi MI 5 mediante Tapatalk
2nd March 2017, 07:46 PM |#11  
Senior Member
Thanks Meter: 292
 
More
Thanks alot @Harrynowl and @tank0412 - did you read Livedten's notes on the kernel etc. for the Multirom version?
Post Reply Subscribe to Thread

Tags
xiaomi-mipad-2

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes