[UNOFFICIAL][14.1][7.1.2][2017-09-11] LineageOS 14.1 for Xiaomi MiPad (mocha)

Search This thread

nawalanuj

New member
Mar 24, 2020
1
0
You are great. I have some issues on my tab. When i watch movie on mx player with my bluetooth headphone its fine until i connected to internet. Video suddenly leg. What i do.
 

sharif_one

Member
Dec 27, 2013
13
0
Works Smooth, Thanks

I installed lineage 16 rom for mipad 1 but it was laggy.
This is smooth although old rom in 2020
 

Vandemar

New member
May 1, 2015
1
0
I recently installed this ROM and I think it's the best for MI PAD and the only one with camera.
The only problems till now it's higher battery consumption than miui and sometimes UI slows down.
It's a pity that it's not updated anymore.
 

H4mm3RH3AD

New member
May 11, 2020
2
0
Kinda noob here. Installed los 14.1 (unofficial) on my mi pad. It had omx issues, but I fixed them by removing two lines in build.prop (however now it only works on shield blobs). Then, after I booted up, i noticed that the 3dmark scores were low(1499- due to lower clock speed). I tried to fix this by flashing f1xy kernel, but the cpu now underclocked to 1.6 ghz. So, I modified init.foxy.rc of the kernel using codeblocks so that the cpu would boost up to 2.2 ghz and would aim for 85% usage. The score went up to 2050-ish and the cpu boosted up to 2.0 ghz. Heres where I decide to do something stupid : I decide to overclock it. I pirated tegra overclock just to see if the thermal guard was active, it showed that the thermal guard became active at 91 deg celsius. I was not aware that this app did not support my processor(tegra k1) so I assumed that the kernel was bad and flashed smoke instead, also modifying it to boost all the way upto 2.2 ghz. Then I booted and saw that thermal protection was still at 91 C, so I flashed magisk and tried to lower the temp to 80 C. It was buggy and I was unsure of whether if it worked. Then I realised that the app did not support tegra k1, so I clean flashed los 14.1 with f1xy kernel, this time with a preferred load of 95%. When I booted up and tried to install 3dmark, the cpu went up to an insane temperature(sharp hot to touch), so fearing consequences, I shut it down immediately.

My questions are:

Does the tegra k1 have emergency shutdown?

Which file specifies the junction temperature?
 

Jankev

Senior Member
Apr 25, 2016
75
10
Thanks to this ROM my mipad 1 touch screen works again, shield blob does not support my new mipad 1 display.
 

rh_91

New member
Sep 23, 2020
1
1
Random crashes in Mi Pad 1 Lineage os 14.1

[*]random crashes going to system ui restart loop

Hello,
I recently installed Lineage OS 14.1 which is downloaded from the latest link. Everything works good but the system frequently crashes and goes into boot loop, please help me fix it so that I can enjoy the OS maintained by you
Thank You.:angel:
 
  • Like
Reactions: happy2deepak

akbsp495001

New member
Oct 27, 2020
1
0
Hello I am having compatibility issue with 2 apps namely marrow and prepladder...I am unable to play video lectures in both these apps
Anybody please help me out..what should I do..
I am from India
 

mipadadi16

Member
Aug 25, 2021
10
0
I got freeze on Zoom Cloud meeting app after log in on it. But, if I do not login, it work well. Did anyone have the same issue ? or know how to fix it ? Thanks
 

Doku

Senior Member
May 25, 2008
108
4
Bangalore
I am facing issue with Microsoft Teams not being able to log in. It works from browser (Chrome) but not from the app. Any one figure out whats up with the login issues with certain apps (Teams, Xoom etc.) Willing to experiment if someone has suggestions.
 

turbomann

Senior Member
Apr 20, 2014
233
61
no solution for "fine tuning" of BT driver to avoid issues yet? My mouse was disconnected at sometime :(
 

Top Liked Posts

  • There are no posts matching your filters.
  • 159
    Here is first attempt to build LineageOS 14.1 for XiaoMi MiPad

    Current state is: mostly working
    I finally found solution to fix old mipad stock graphic blobs to load on cm13 and Los 14.1. This build is proof of concept to show it is possible to have Nougat on old good MiPad.

    What working:
    • WiFi (better than 12.1, now using opensource wpa_supplicant)
    • Sensors (autorotation works)
    • LEDs
    • audio including microphone
    • hardware accelerated video playback
    • camera

    What not working:
    • audio (currently plays only some system sounds, all other failed because of wrong PCM format)
    • camera
      [*]lineage Music add doesnt play anything (3rd paty players seems to work fine)
      [*]windevine drm not working (need updated liibs, to be done in next build)
      [*]probably hardware acceleration playback (missed symbols for some omx libs)
      [*]not enough space to install gapps into /system partition
      [*]random crashes going to system ui restart loop
    • webview crashing with ERROR:gl_fence_egl.cc(63)] Failed to wait for EGLSync. error:EGL_BAD_MATCH (gapps and play market unusable)



    Github links:
    Device tre (cm-14.1 branch)
    Vendors blobs (cm-14.1 branch)
    Kernel (cm-14.1 branch)


    2017-02-16
    Download:lineage-14.1-20170216-UNOFFICIAL-mocha.zip
    Changelog:
    • Initial release
    2017-02-20
    Changelog:
    • Audio fixed
    • Using patched webview, gapps should work now
    • SD card and usb mounting fixed
    Download: lineage-14.1-20170220-UNOFFICIAL-mocha.zip

    2017-02-26
    changelog:
    • random crashes and black screens resolved
    • new Audio HAL based on opensource tinyhal (microphone works 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 (access to SD card from all apps)
    • hardware accelerated video playback now works
    • cleaned some useless blobs like powerservice daemon
    • updated wifi firmware
    Download:lineage-14.1-20170226-UNOFFICIAL-mocha.zip

    2017-03-03
    Changelog:
    • Fixed mp3 and flac playback in Music app (disabled offloading since it broken for mp3 and enable ffmpeg for other formats)
    • Updated wvm libs, Widevine DRM L3 now works
    Download: lineage-14.1-20170303-UNOFFICIAL-mocha.zip

    2017-03-11
    Changelog:
    • KeyDisabler (alow to enable navbar and disable hardware buttons)
    • Vibrator intensity control
    • hwui props in build.prop makes screen more stable in browsers (black pixels on screen issue)
    • Updated LED capabilities (RGB notification, settings for battery and notification colors, button backligth brightness)
    • Userspace cpuquiet governor by default. Looks like this is best option to get smooth playback. (cores dosnt switches off but only changes its freq)
    • Fixed offline charging mode. Now shows animaton with current battery level. Also previous 14.1 builds cant be offline charged from PC USB port, now this issue resolved
    • return glcomposer compositor. Now looks stable, it should be because of hwui right props added. *broken*
    Download: lineage-14.1-20170311-UNOFFICIAL-mocha.zip broken

    2017-03-12
    • composer changed back to surfaceflinger. Solves issues with blck screen or reboots in 20170311 build
    Download lineage-14.1-20170312-UNOFFICIAL-mocha.zip

    2017-04-21
    • test version with Nexus 9 blobs
    • webview slow work resolved with new graphic blobs
    • Browser replaced with Gelllo
    • lineage code updated up to 7.1.2
    Known issues:
    • Bluetooth broken
    • Doesnt load proper mac address
    • Some graphic issues in general user interface
    Download: lineage-14.1-20170421-UNOFFICIAL-mocha.zip
    Download fixed boot.imgboot-20170429.img - fixes wifi and bluetooth issues on 2017-04-21 lineage 14.1 build.

    2017-05-02
    Changelog:
    • camera works now
    • Browser replaced with Gelllo
    • lineage code updated up to 7.1.2

    Known issues:
    • this build still uses old graphic blobs, so webview apps is laggy.
    • if camera doesnt work after dirty flash try to delete /data/nvcam folder from adb root console or root file manager
    Download: lineage-14.1-20170502-UNOFFICIAL-mocha.zip

    Webview apk is one patched to work on broadcom GPU with same problem as ours: https://github.com/manumanfred/android_external_chromium-webview

    2017-09-11 NEW!
    Changelog:
    • Lineage OS 14.1 sources updated
    • Webview updated and rebuilt with only changes necessary for Mi Pad. Most of webview related issues now resolved. Faster and smoother scrolling in webview based apps, some apps now startings works, like Gogle Books. See webview patch applied below.
    • device tree cleaned for proper work with proprietary blob files. Now they can be extracted from stock rom or device and makefiles can be properly generated in vendor.
    • Using opensource version of libbt-vendor - maybe some changes in bluetooth perfomance.

    Download lineage-14.1-20170911-UNOFFICIAL-mocha.zip from Google Disk or from MailRu mirror

    Webview patch applied:
    Code:
    diff --git a/gpu/config/gpu_driver_bug_list.json b/gpu/config/gpu_driver_bug_list.json
    index b8f5489ce086..6bf7f9250237 100644
    --- a/gpu/config/gpu_driver_bug_list.json
    +++ b/gpu/config/gpu_driver_bug_list.json
    @@ -1,6 +1,6 @@
     {
       "name": "gpu driver bug list",
    -  "version": "10.93",
    +  "version": "10.94",
       "entries": [
         {
           "id": 1,
    @@ -2542,6 +2542,19 @@
           "features": [
             "rely_on_implicit_sync_for_swap_buffers"
           ]
    +    },
    +    {
    +      "id": 236,
    +      "description": "MiPad Nvidia drivers g_ignore_egl_sync_failures work around",
    +      "cr_bugs": [123456],
    +      "gl_vendor": "NVIDIA.*",
    +      "machine_model_name": ["MI PAD"],
    +      "os": {
    +       "type": "android"
    +      },
    +      "features": [
    +        "ignore_egl_sync_failures"
    +      ]
         }
       ],
       "comment": [

    special patched webview prebuilts located here https://github.com/HighwayStar/android_external_chromium-webview (branch cm-14.1-mocha)

    Merge partitions
    Mi Pad by default has 2 /system 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 access flash addonsu-arm-signed.zip from https://download.lineageos.org/extras

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

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

    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.10.x
    Based On: CyanogenMod, LineageOS

    Version Information
    Status: Alpha

    Created 2017-02-16
    Last Updated 2017-09-11
    45
    I'm still here. there is no new builds because there is no major progress in device tree development. I made FM radio tuning works, but there is no still sound from radio.

    Also I have found that blobs from https://github.com/Toradex-Apalis-TK1-AndroidTV/proprietary_vendor_toradex_apalis-tk1 are compatible with MiPad and it provides NVIDIA 343 driver. This driver resolves random EGL crash (no need to patch lineage source libEGL), but it still doesnt work with webview.

    But there is another thing. Nexus 9 (flounder/volantis) 32 bit blobs are compatible with MiPad as well, and it provides same NVIDIA 343 driver. Using all jetson blobs and replacing /system/vendor/lib/egl files with one from Nexus 9 vendor image fixes webview issue.

    All these new blobs are great but it breaks camera on lineage 13, and it have to be resolved.
    27
    Sorry for long silence here, but finally did something new. Now Lineage 14.1 with working cam (old blobs) has major improvement in term of working with webview apps like Google books, Gmail and many more.

    2017-09-11 NEW!
    Changelog:
    • Lineage OS 14.1 sources updated
    • Webview updated and rebuilt with only changes necessary for Mi Pad. Most of webview related issues now resolved. Faster and smoother scrolling in webview based apps, some apps now startings works, like Gogle Books. See webview patch applied below.
    • device tree cleaned for proper work with proprietary blob files. Now they can be extracted from stock rom or device and makefiles can be properly generated in vendor.
    • Using opensource version of libbt-vendor - maybe some changes in bluetooth perfomance.

    check first post for download links.
    27
    If it possible to make los14.1 run stable and sound working it is better to go with los14.1. At least it has upstream support, and some things here works better. I cant make opensource wpa_supplicant working on 12.1, but here it works. Microphone in cm12.1 is also hard to fix, because there is only LD_PRELOAD for lib and microphone require MonoPipe class from 4.4 to work, but it will break other things. On cm13 or los14.1 it is possible to use LD_SHIM_LIBS to fix only broken libs and not break working.

    For now I'm trying what cause los14.1 unstable, sometimes it may work for hours, but when it crashed to black screen and buttons backlight it starts endless bootloop.