[UNOFFICIAL] LineageOS 13.0 for Xiaomi Mi Pad 2

Search This thread

Harrynowl

Senior Member
Sep 17, 2016
330
575
https%3A%2F%2Fi0.wp.com%2Fliliputing.com%2Fwp-content%2Fuploads%2F2016%2F12%2Flineageos-logo.jpg%3Fresize%3D513%252C267%26ssl%3D1

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:
http%3A%2F%2Fi.imgur.com%2FyG18r6g.png
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:
4A8Y8US.png
1JWMcC3.png

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
 
Last edited:

jlazkano

Senior Member
Nov 27, 2011
425
47
First version works well here.

Thanks!

Kind regards.

Enviado desde mi MI 5 mediante Tapatalk
 
M

Maxdalax

Guest
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?
 

ferreinf

Senior Member
Jun 26, 2010
2,314
537
You've done it ☺️
Subscribed, thank you for your time.
Maybe adding kcal support will help with colours.

Sent from my OnePlus 2
 

Jogor

Senior Member
Jan 4, 2011
111
41
OnePlus 9
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..:)
 

Harrynowl

Senior Member
Sep 17, 2016
330
575
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>
 

Harrynowl

Senior Member
Sep 17, 2016
330
575
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.

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
 
Last edited:

Vihru

Senior Member
May 25, 2012
2,419
596
Finland
Thanks a lot! you are hero! Mi Pad 2 is so good device and need this kind of rom! hopefully camera get fixed someday.. that it can be used..
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 45
    https%3A%2F%2Fi0.wp.com%2Fliliputing.com%2Fwp-content%2Fuploads%2F2016%2F12%2Flineageos-logo.jpg%3Fresize%3D513%252C267%26ssl%3D1

    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:
    http%3A%2F%2Fi.imgur.com%2FyG18r6g.png
    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:
    4A8Y8US.png
    1JWMcC3.png

    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
    17
    Hi, there.
    I have some news. deadman bought a Yoga Book which is powered by cherrytrail.
    And he sent me Lollipop and Noughat Intel Cherrytrail BSP.
    So what this means for Mipad 2 (latte):
    It has prebuilt libs with Noughat CPU/GPU drivers for x86/86_64
    This BSP has a camera HAL source so we can try to build it from source to try to fix a camera.
    Also it has a CHT Noughat kernel source.
    So it looks promising.
    12
    We have deep sleep

    And finally also a kernel that works on stock ROM

    Few things to sort and I'll update

    I'm not sure if cam is fixable
    10
    Hey, all.
    Pls test this kernel:
    V2.2
    https://drive.google.com/file/d/0B-Fin8UxrD6PZEhnLXFIaEp0U2s/view
    Report what does not work
    Report is deep sleep works
    Attach dmesg
    Thanks.

    ---------- Post added at 09:50 AM ---------- Previous post was at 09:12 AM ----------

    OK, well, on my tablet:
    WIFI - works
    Deep sleep - works
    Audio - works
    Sensors - works

    Other was not tested.
    BTW, new kernel (v2.3) with fixed sensors:
    https://drive.google.com/open?id=0B-Fin8UxrD6PN1g4ZklRS1c3enM

    Now, i am waiting from yourth report.
    8
    Deep sleep fix?

    Verstuurd vanaf mijn MI PAD 2 met Tapatalk
    It still have not fixed yet but i am working on it