[UNOFFICIAL][13.0][6.0.1][2017-04-18] LineageOS 13.0 for Xiaomi MiPad (mocha)

Search This thread

highwaystar_ru

Senior Member
Sep 17, 2016
344
2,363
Here is one more ROM for Mi PAD. This one I consider as stable daily driver.

What working:
  • audio
  • sensors (autorotation)
  • wifi
  • 3D graphics
  • hardware accelerated video playback
  • camera
  • SD card and USB mounting
  • gapps

Known problems:
  • not enough space to install gapps in /system
  • microphone doesnt work
  • you have to merge 2 system partitions in one to install 2017-02-25 and newer builds

2017-02-21
Initial release
download: lineage-13.0-20170221-UNOFFICIAL-mocha.zip

2017-02-25
changelog:
  • whole new audio based on opensource tinyhal (microphone should work both builtin and headset). Please report any regression.
  • new libwvm means widevine drm should work now
  • big system partition (1.2Gb). You have to install it on merged system1 and system2, if you have already merged just install.
  • SD card mount fix included (previosly avaliable as boot.img)
  • Wifi uses unique device MAC addres from /BKB partition
  • cleaned some useless blobs like powerservice daemon
download:lineage-13.0-20170225-UNOFFICIAL-mocha.zip

2017-03-07
changelog::
  • Added settings for enable Navigation bar ( check in Settings -> Buttons). Hardware keys disables when nav bar switched on.
  • Vibration intensity setting (check in Settings -> Sound)
  • Settings for notification and battery LED (color, intensity)
  • Settings for buttons backlight intensity
  • Added ffmpeg codecs for format unsupported by hardware or google, like flac
Download: lineage-13.0-20170307-UNOFFICIAL-mocha.zip

2017-04-18
  • battery animation on offline charging
  • userspace cpquiet governor by default (resolves all lags in video)
  • updated hwui props in build.prop (improve screen stability, less black pixels in chrome)
  • bigger shader cache (seems to little improved graphic perfomance)
  • updated wifi driver and firmware
  • hope finally resolved wifi disconnection issue by disabling IpReachability monitor

Download: lineage-13.0-20170418-UNOFFICIAL-mocha.zip
Fix for 2017-04-18 build
fixed boot.imgboot-20170420.img
  • MAC address loading fixed
  • Resolved issue with wifi Switch On
  • Added hardboot exec patch for work as main rom for MultiROM

gihub source code links:
Device tree (cm-13.0 branch)
Kernel (cm-13.0 branch)
Vendor blobs (cm-13.0 branch)

Thanks for author of this repository for building custom webview.apk manumanfred/android_external_chromium-webview


Merge partitions
Mi Pad by default has 2 /syetm partition, each 640Mb. It is not enogh to install LineageOS and Gapps. To install 2017-02-25 build and newer you have to merge 2 system partition in one 1.2Gb system partition. To dod this follow instruction http://en.miui.com/thread-118294-1-1.html

Root Access
If you want root acces flash SuperSU zip https://xdaforums.com/apps/supersu

XDA:DevDB Information
LineageOS 13.0 for Xiaomi MiPad (mocha), ROM for the Xiaomi Mi Pad

Contributors
highwaystar_ru
Source Code: https://github.com/HighwayStar/android_device_xiaomi_mocha

ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
Based On: CyanogenMod, LineageOS

Version Information
Status: Beta

Created 2017-02-21
Last Updated 2017-04-20
 

Attachments

  • Screenshot_20170221-182259.jpg
    Screenshot_20170221-182259.jpg
    140.3 KB · Views: 14,066
  • Screenshot_20170221-182306.jpg
    Screenshot_20170221-182306.jpg
    150.9 KB · Views: 13,731
  • Screenshot_20170221-182317.png
    Screenshot_20170221-182317.png
    121.2 KB · Views: 14,016
  • Screenshot_20170226-002045.png
    Screenshot_20170226-002045.png
    143 KB · Views: 12,308
  • Screenshot_20170226-002107.png
    Screenshot_20170226-002107.png
    52.4 KB · Views: 12,236

VALRCIEL

Senior Member
Feb 27, 2015
140
29
YOGYAKARTA
I have no words to describe except what @OoSTARTERoO said.
I am starting to really love my mipad.
Kudos to @highwaystar_ru
Camera is working fine.
I will check with Antutu after some time.
Anyway, I cannot seem to use sd card as internal storage .. is this a bug ?

This from myfriend
AnKiT (W@rlocK):For all who were searching for Extsdcard... its in /mnt/media_rw/9016-4EF8Go to the directory and from options add shortcut to Desktop.. and access External Sdcard from desktop... ?
 

hell1134

Senior Member

I think I mis-explained. I can access SD card from file manager, but, I cannot set it as Internal Storage - adoptable storage feature of MM roms.

---------- Post added at 08:51 PM ---------- Previous post was at 08:33 PM ----------

OK ... found a solution to gapps installation.
1) Install the rom
2) Boot
3) Reboot to recovery
4) Backup the ROM in SD Card (internal will be erased)
5) Wipe - advanced - select all except SD card & OTG
6) Reboot to recovery
7) Restore the backup from SD card
8) Reboot to recovery (again)
9) Install gapps (I use pico)
10) Reboot.
 

Genie's

Senior Member
Feb 21, 2014
581
397
Gwangju
I used this ROM and almost everything is OK except HW decoding in MX Player / VLC.
There're some lags when I watch movie with MX / VLC.

Otherwise, very good ROM, thx.
 

drakonizer

Retired Forum Moderator
Here's an easier and quicker way to install gapps:
-> Repartition /system
-> Install the ROM
-> From the TWRP main menu, select Wipe -> Select Advanced -> Select the system partition and click on Repair or change file system
-> Click on resize
-> After the process is done, flash gapps.

This would mean no waiting for twrp to backup and restore the entire partition. Fair warning though, I have tested this on one of my other devices, not the Mi Pad. Though I am pretty sure it'll work, it'll help if someone tried it and reported so that it can be added to the OP.
 
Last edited:

Azazel Azay

Senior Member
(Guide) How to merge system1 & system2. And how to flash CM13.

1. Download the bin file from : here
2. Place it in /sbin folder in root using any root file explorer, set permissions 755 (check image in attachments)
3. Download Repartition zip from : here
4. Reboot into recovery.
5. Flash Repartition zip (downloaded in step 3). After flashing this recovery will reboot automatically.
6. Now Wipe everything except internal and external storage. (Create backup of your current ROM just in case, if you want.)
7. Flash latest Lineage OS 13 zip.
8. Go to Wipe > Advance > Select 'System' > Repair and Resize Filesystem > Resize file system.
9. Go back and flash gapps zip + superuser zip.
10. Reboot now :)
 

Attachments

  • Screenshot_20170221-230017.png
    Screenshot_20170221-230017.png
    24.4 KB · Views: 838
Last edited:

Navin9

Member
Apr 5, 2016
47
9
Guys you won't believe it this ROM is amazing. This is smoothest ROM on mi pad . I'm sharing some screen shots . Thisron worth a shot folks.
 

Attachments

  • Screenshot_20170221-174849.png
    Screenshot_20170221-174849.png
    46.4 KB · Views: 930
  • Screenshot_20170221-231915.png
    Screenshot_20170221-231915.png
    255.6 KB · Views: 920
  • Screenshot_20170221-232049.png
    Screenshot_20170221-232049.png
    105.4 KB · Views: 939
  • Screenshot_20170221-232031.jpg
    Screenshot_20170221-232031.jpg
    99.8 KB · Views: 922
  • Screenshot_20170221-232115.png
    Screenshot_20170221-232115.png
    95 KB · Views: 902
  • Screenshot_20170221-232044.jpg
    Screenshot_20170221-232044.jpg
    103.9 KB · Views: 889
  • Screenshot_20170221-232105.jpg
    Screenshot_20170221-232105.jpg
    126.3 KB · Views: 875

Top Liked Posts

  • There are no posts matching your filters.
  • 90
    Here is one more ROM for Mi PAD. This one I consider as stable daily driver.

    What working:
    • audio
    • sensors (autorotation)
    • wifi
    • 3D graphics
    • hardware accelerated video playback
    • camera
    • SD card and USB mounting
    • gapps

    Known problems:
    • not enough space to install gapps in /system
    • microphone doesnt work
    • you have to merge 2 system partitions in one to install 2017-02-25 and newer builds

    2017-02-21
    Initial release
    download: lineage-13.0-20170221-UNOFFICIAL-mocha.zip

    2017-02-25
    changelog:
    • whole new audio based on opensource tinyhal (microphone should work both builtin and headset). Please report any regression.
    • new libwvm means widevine drm should work now
    • big system partition (1.2Gb). You have to install it on merged system1 and system2, if you have already merged just install.
    • SD card mount fix included (previosly avaliable as boot.img)
    • Wifi uses unique device MAC addres from /BKB partition
    • cleaned some useless blobs like powerservice daemon
    download:lineage-13.0-20170225-UNOFFICIAL-mocha.zip

    2017-03-07
    changelog::
    • Added settings for enable Navigation bar ( check in Settings -> Buttons). Hardware keys disables when nav bar switched on.
    • Vibration intensity setting (check in Settings -> Sound)
    • Settings for notification and battery LED (color, intensity)
    • Settings for buttons backlight intensity
    • Added ffmpeg codecs for format unsupported by hardware or google, like flac
    Download: lineage-13.0-20170307-UNOFFICIAL-mocha.zip

    2017-04-18
    • battery animation on offline charging
    • userspace cpquiet governor by default (resolves all lags in video)
    • updated hwui props in build.prop (improve screen stability, less black pixels in chrome)
    • bigger shader cache (seems to little improved graphic perfomance)
    • updated wifi driver and firmware
    • hope finally resolved wifi disconnection issue by disabling IpReachability monitor

    Download: lineage-13.0-20170418-UNOFFICIAL-mocha.zip
    Fix for 2017-04-18 build
    fixed boot.imgboot-20170420.img
    • MAC address loading fixed
    • Resolved issue with wifi Switch On
    • Added hardboot exec patch for work as main rom for MultiROM

    gihub source code links:
    Device tree (cm-13.0 branch)
    Kernel (cm-13.0 branch)
    Vendor blobs (cm-13.0 branch)

    Thanks for author of this repository for building custom webview.apk manumanfred/android_external_chromium-webview


    Merge partitions
    Mi Pad by default has 2 /syetm partition, each 640Mb. It is not enogh to install LineageOS and Gapps. To install 2017-02-25 build and newer you have to merge 2 system partition in one 1.2Gb system partition. To dod this follow instruction http://en.miui.com/thread-118294-1-1.html

    Root Access
    If you want root acces flash SuperSU zip https://xdaforums.com/apps/supersu

    XDA:DevDB Information
    LineageOS 13.0 for Xiaomi MiPad (mocha), ROM for the Xiaomi Mi Pad

    Contributors
    highwaystar_ru
    Source Code: https://github.com/HighwayStar/android_device_xiaomi_mocha

    ROM OS Version: 6.0.x Marshmallow
    ROM Kernel: Linux 3.10.x
    Based On: CyanogenMod, LineageOS

    Version Information
    Status: Beta

    Created 2017-02-21
    Last Updated 2017-04-20
    27
    Small update here for lineage 13.0. Fixed offline charging animation, updated wifi driver and firmware, wifi disconnection issue solved.

    Download lineage-13.0-20170418-UNOFFICIAL-mocha.zip

    This build still using old blobs, just to not break everything at once.
    27
    Small update adding more settings

    2017-03-07
    changelog::
    • Added settings for enable Navigation bar ( check in Settings -> Buttons). Hardware keys disables when nav bar switched on.
    • Vibration intensity setting (check in Settings -> Sound)
    • Settings for notification and battery LED (color, intensity)
    • Settings for buttons backlight intensity
    • Added ffmpeg codecs for format unsupported by hardware or google, like flac
    Download: lineage-13.0-20170307-UNOFFICIAL-mocha.zip
    24
    I've attached to download section los13-mount.img. It is boot img with fixed fstab. Now SD card should be accessible by all apps.

    Flash it with 'Install image' to boot. I will include it in next builds.
    22
    Updated, now microphone works and widevine too. Check 1st post for full changelog and download