yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] hell1134:
It probably won't work as the shield had a 64 bit processor while the mi pad had a 32 bit one. But ( hopefully ) I'm wrong. :p
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] drakonizer:
Fortunately you ARE wrong. The NVidia Shield K1 has the exact same processor as we do, and it's got 6.0+

If it were 64bit, then we would have never been able to port the shield kernel. You are probably confusing it with the Nexus 9 or the newer shield tablet (not sure if there is one).
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] hell1134:
Thank God !! I had it confused with nexus 9. Thanks for clearing it up.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
how about optimization? Is it better than xiaomi kernel?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Harrynowl:
It can't be worse than Xiaomi's commitless crap they gave us :)
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
yes! it must be :P
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Palm Trees:
I've just ordered a Mi Pad 2 (64GB Android only). I hope you can do some magic on this device :)
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Harrynowl:
Xiaomi kernel, is broken :D
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] nit.in_cs:
any update on port?!

,op deletd my old reply
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] highwaystar_ru:
Here is current progress: device tree and vendor now ready for testing and development on top of cm12.1

https://github.com/HighwayStar/android_device_xiaomi_mocha

https://github.com/HighwayStar/android_vendor_xiaomi_mocha

CM12.1 can be built from these repo and boot as start point for development. It almost identical previous 2015 published CM12.1 (audio and camera doesnt work). Here is build for flashing with recovery https://drive.google.com/file/d/0B5PmQOJwoI0wb2lnQ2JFT3FDRU0 . Stock binary kernel used in this build, but one of new opensource kernel can be tested here and modified for future cm13

I've tried to fix missing symbols for audio hal, but it leads for new errors like mediaserver segfault, so it looks like we have to implement opensource audio hal, maybe based on this https://github.com/AOSTVP/androidtv_device_nvidia_tegra_k1/tree/androidtv-6.0/ardbeg/nvaudio
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Harrynowl:
Good work. Does this build still have the GUI lag like the old one?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] highwaystar_ru:
Yes, gui lag still here, but I think it caused by broken audio HAL.. When gui lags there are a lot of messages about broken sound in logcat. When testing with kernel with no sound there is no GUI lag.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Harrynowl:
Makes sense. No possibility to shim the HAL?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] highwaystar_ru:
I've tred to patch external libs in cm tree, and managed to load audio hal, but it starts to crash medisaerver somewhere inside libtinyalsa. Need more debugging for this. Build posted above contains these changes and now onlly complains nvaudio.conf is wrong. If you put nvaudio.conf from miui it will initalize audio, but next medisaerver will segfault.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
Thanks for developing!
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] highwaystar_ru:
Good new everyone! Sound now working on cm 12.1.

Here is new test build: https://drive.google.com/file/d/0B5PmQOJwoI0wMExsQzdwVEJhMms

To build same your need some patches fro missing symbols https://github.com/HighwayStar/android_device_xiaomi_mocha/issues/2 . Help for implementing these patches as .so libs (shims) for loading in LD_PRELOAD are welcome.

Device tree and vendor updated on github. The main problem was in audio.primary.tegra.so. It uses MonoPipe class from frameworks/av, which changed significantly since 4.4. Fortunatly it used only in 2 functions. I binary patched audio.primary.tegra.so to skip them, so its not call MonoPipe constructor any more and doesnt crash. Second issue is something different in libtinyalsa.so, use binary from miui for now.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] hell1134:
So now the only bug is camera.

How is the overall responsiveness of the system?? GUI lags are gone in this built?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] :
Great job.

---------- Post added at 02:58 PM ---------- Previous post was at 02:56 PM ----------

Does it have any other bugs?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] omarhasan96:
graphics lag bug present
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] highwaystar_ru:
Quick update:

boot.img with fixed /mnt/tmp/fc log spam and some improvement in gui perfomance. Install it via install -> install image in recovery.

And build with all used blobs updated to ones from miui 6.12.29 to keep all files sync to one version (boot.img fix included). cm-12.1-20170102-UNOFFICIAL-mocha.zip

What not working yet:

camera

sensors

led (keys ans notification)
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Sudeep Duhoon:
As it boots now and has few bugs left I guess a new thread by you would be appropriate as the OP seems like in coma or something. :rolleyes:
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] hell1134:
Does the zip contain the updated boot.img ? or do I need to flash it separately after flashing the zip ?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] :
Yes
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] highwaystar_ru:
To resolve remained gui lags please try to remove /system/vendor/lib/hw/power.tegra.so with root access. And please report if it helps. Works for me. Forget to remove this blob, it replaced by opensource version now.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] hell1134:
Confirmed to be working. It is (almost) smooth as butter.

EDIT : There are some micro lags, but, at this stage it is to be expected. I will try antutu tomorrow.

Awesome work BTW.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Zokinet:
Where can I download the latest build to test it on my MiPad 2.

Thanks.

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] hell1134:
This is for Mi Pad 1. For Mi Pad 2, you might want to head over to :

https://xdaforums.com/mi-pad/development/rom-resurrection-remix-mm-5-7-4-t3526898
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] kapilmahawar:
Great work guys. You people are keeping our device alive. All hail the developers !!
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] hell1134:
OK ... tested with latest antutu benchmark 3 times :

Test 1 : 78821

Test 2 : 77605

Test 3 : 76285
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
I think we should make new thread for CM12.1
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Zokinet:
Thanks you Hell.

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
It is smooth, but not for daily use

Earphone doesn't seems to work

But...still the best lollipop ROM for mi pad
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] hell1134:
Confirmed. Plugging in headphones does not get detected, sound still comes from the speakers.

Major bugs :

- Headphones detection

- Sensors

- Hardware touch keys work but do not light up

- Camera not working. Launching camera from lockscreen hangs the entire system.

Minor bugs:

- Micro lags

- SIM card options shown, though not working (duh). Need to remove it completely.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] highwaystar_ru:
Small update here https://drive.google.com/file/d/0B5_sAUH2ebtgTkhGQWxucl85dEk/edit

Fixed

headset jack detection

leds (keys backlight and notification led)

fixed navagation keys codes for synaptics touch panel

simcard icon removed

/system/vendor/lib/hw/power.tegra.so blob removed

Camera and sensors doesnt work. Something wrong with wifi, always disconnect after sleep.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] hell1134:
I hope dirty flashing on top of your previous release will work.

EDIT : I clean flashed the updated ROM. Headset works fine.

But, the volume slider is behaving peculiarly - On pressing the button, the volume changes and the slider shows up, but it does not move. I have to wait till the slider disappears and then when I press the volume button the slider shows the correct level, but again refuses to move (however, volume does change).

Also, please remove the sms app. Not required in our device.

[MENTION=7737930]highwaystar_ru[/MENTION] - The ROM seems to be coming along very well.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
Yes! I'm gonna use this rom for daily use!

It's liquid smooth.... smoother than any other rom

If i find any bug, I'll report it to you right away!

(Ps. micro lags are not that irritating i think it might be just lollipop's problem)

(Also, im not gonna use camera anyway :P)

---------- Post added at 11:58 AM ---------- Previous post was at 11:52 AM ----------

There's an little problem with playing youtube video

It stops every 5~6 seconds...

And it's bit laggy on youtube

I found an solution(?) to it

1. Play the video

2. Press multitasking button

3. Enter other applications

4. Returne to Youtube

And then you can watch video on youtube...
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] hell1134:
Yeah ... its because of those micro lags.

Can you turn on "Force GPU rendering" in development settings and check whether youtube problems are solved ?

(I think the lags are slightly reduced ... but again it may be placebo effect)
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
Unfortunately, it didn't helped
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] nit.in_cs:
can anyone confirm if apps like f.lux, twilight or nightowl are working, night read mode?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] hell1134:
How to disable the soft navigation bar?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
Add

qemu.hw.mainkeys=1

To the end of build.prop
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Sudeep Duhoon:
Really amazing work. :)

At last mi pad will be revived.

Gonna test to see if there is colour control (really need it)

Will try to find bugs and send logs.

Off topic:

Is it possible to add kcal control? As many mi pad's display is plagued by yellow tint (one of them)

Thanx all of you for spending countless hours working on this device. :highfive:
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] :
We should first fix major bugs.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Sudeep Duhoon:
I know. There is colour control alreadt to make it white. Just asked 'is it possible' in future.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] :
I think we will have live view at least)
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Opsdri:
This really is a good news! Thanks to the developer. I hope i can help some time.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Sudeep Duhoon:
1. Wifi stayed connected over night for me, not disconnected a single time and tab was awake the whole time.

Will check for alarms and wake locks and report.

2. Volume change is working fine.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
So the problem is...

1. Camera

2. Sensors

3. Micro lags

4. Youtube lag

5. App force closing (chrome, google now launcher... So on)

But still It's useable!

---------- Post added at 06:04 AM ---------- Previous post was at 05:58 AM ----------

Volume works fine

But wifi disconnects when it's on sleep, and connects immediately when you wake it up.

Tab can be awake since it's loaded before.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] nit.in_cs:
check wifi advance setting keep wlan on during sleep to always
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] bitelmaniaco:
Thank you for yout work!! How can I test it?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
I think there's an error with exoplayer

This is causing a problem with youtube
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] highwaystar_ru:
Here is new test build: cm-12.1-20170105-UNOFFICIAL-mocha.zip

Fixed:

Sensors working now using MultiHAL from CyanogenMod xiaomi ferrari device tree.

Building now with common_full_tablet_wifionly.mk template to drop useless telephony.

Doesnt work:

Wifi doesnt reconncet after sleep

Laggy video playback.

Cameras doesnt work

Any help with fixing this issues are welcome.

---------- Post added at 11:11 AM ---------- Previous post was at 10:51 AM ----------

Meaning log with video lag issue is

D/NvOsDebugPrintf(30212): TVMR: cbBeginSequence: 1013: NumOfSurfaces = 8, InteraceStream = 0, InterlaceEnabled = 0, bSecure = 0, MVC = 0 Semiplanar = 1, bReinit = 1
D/NvOsDebugPrintf(30212): Allocating new output: 1280x720 (x 10), ThumbnailMode = 0
E/OMXNodeInstance(30212): setParameter(23:Nvidia.h264.decode, ParamPortDefinition(0x2000001)) ERROR: UnsupportedSetting(0x80001019)
W/ACodec (29931): [OMX.Nvidia.h264.decode] setting nBufferCountActual to 15 failed: -1010
E/OMXNodeInstance(30212): setParameter(23:Nvidia.h264.decode, ParamPortDefinition(0x2000001)) ERROR: UnsupportedSetting(0x80001019)
W/ACodec (29931): [OMX.Nvidia.h264.decode] setting nBufferCountActual to 14 failed: -1010
E/OMXNodeInstance(30212): setParameter(23:Nvidia.h264.decode, ParamPortDefinition(0x2000001)) ERROR: UnsupportedSetting(0x80001019)
W/ACodec (29931): [OMX.Nvidia.h264.decode] setting nBufferCountActual to 13 failed: -1010

Hardware codec reports for some reason than it doesnt support something.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] hell1134:
Just installed it (clean install). But, autorotate doesn't seem to work.

Antutu is not detecting the sensors (acceleratometer, gyroscope, etc.)
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
https://github.com/google/ExoPlayer/issues/1317

I hope this might help our video lag problem
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] hell1134:
Are the sensors working for everyone else in the latest build ?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Anatasia:
It seems that it's not related to our H.264 codec problem, just Opus codec and the audio rendering. Maybe this one can help https://code.google.com/p/android/issues/detail?id=184112
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
Hmm... Then why youtube video works after

running another app and coming back?

Also why another video player works well?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Nihhaar:
Cool work [MENTION=7737930]highwaystar_ru[/MENTION]. I am amazed how it just booted from 4.4 kernel with tegra tree :P Lemme see wat can I do with it.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] nit.in_cs:
[MENTION=7009240]Nihhaar[/MENTION] its a all new ported kernel from sheild tab
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] highwaystar_ru:
No this builds all uses stock binary kernel for now.

Another little update for today cm-12.1-20170105-UNOFFICIAL-mocha-wifi-fix.zip

Fixed wifi connection in sleep mode by using stock binary wpa_supplicant.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] hell1134:
Hmm .... are the sensors working correctly now - like auto-rotate, gyroscope, accelerator, etc. ?

EDIT : Rotation works .... yay!
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] darryl1234:
I would urge some1 to make a new thread of Cm 12.1 rom .
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
Yeah we need new thread for Cm12.1

---------- Post added at 02:50 AM ---------- Previous post was at 02:47 AM ----------

@highwaystar_ru

Can you release kernel source for cm12.1 ?

I wanna look into it and help what i can
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Anatasia:
Maybe it's related to memory/cache buffering mechanism. Based on the log, it seems that nBufferCountActual parameter was too high. If we can lower it, thing could be changed.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
Then this might help too

https://github.com/raspberrypi/firmware/issues/152

Similar nBufferCountActual problem with buffer size error

For now, I'm not at home so i can't fix it

If I somehow manage to fix it, i'll commit this to github
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] highwaystar_ru:
https://android.googlesource.com/pl...elease/media/libstagefright/OMXCodec.cpp#1753

Looks like 5.1 version introdeuced extraBuffers

https://android.googlesource.com/pl....1_r14/media/libstagefright/OMXCodec.cpp#1906

Same for ACodec.cpp source.

Removing it fixes errors in log, but it crash somewhere else for me, may be I messed something else, will check again.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] nit.in_cs:
*ðŸ‘Œ
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] highwaystar_ru:
I have recheced the libstagefright code and found messages like

D/NvOsDebugPrintf(30212): TVMR: cbBeginSequence: 1013: NumOfSurfaces = 8, InteraceStream = 0, InterlaceEnabled = 0, bSecure = 0, MVC = 0 Semiplanar = 1, bReinit = 1
D/NvOsDebugPrintf(30212): Allocating new output: 1280x720 (x 10), ThumbnailMode = 0
E/OMXNodeInstance(30212): setParameter(23:Nvidia.h264.decode, ParamPortDefinition(0x2000001)) ERROR: UnsupportedSetting(0x80001019)
W/ACodec (29931): [OMX.Nvidia.h264.decode] setting nBufferCountActual to 15 failed: -1010
E/OMXNodeInstance(30212): setParameter(23:Nvidia.h264.decode, ParamPortDefinition(0x2000001)) ERROR: UnsupportedSetting(0x80001019)
W/ACodec (29931): [OMX.Nvidia.h264.decode] setting nBufferCountActual to 14 failed: -1010
E/OMXNodeInstance(30212): setParameter(23:Nvidia.h264.decode, ParamPortDefinition(0x2000001)) ERROR: UnsupportedSetting(0x80001019)
W/ACodec (29931): [OMX.Nvidia.h264.decode] setting nBufferCountActual to 13 failed: -1010

Is not an fatal error. It's going OK after this.

Now really fix for youtube: replace /system/vendor/lib/mediadrm/libwvdrmengine.so with one from shield libwvdrmengine.so

Also found that I put wrong kernel to last build, not binary stock one but custom built from source, it produces some errors in dmesg
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
01-07 10:22:02.106 E/WifiUtil(6455): Wifi Property Access not supported , falling back to wifiLocks method
01-07 10:22:02.107 E/WifiUtil(6455): Not able to get max link speed
01-07 10:22:02.107 E/WifiUtil(6455): java.lang.NoSuchMethodException: getMaxLinkSpeed []

I tried to play game via Geforce now but there's an major issue with WifiUtil

Any solutions...?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Sudeep Duhoon:
on early-init

# Set init and its forked children's oom_adj.

write /proc/1/oom_score_adj -1000

Changed to

on early-init

# Set init and its forked children's oom_adj.

write /proc/1/oom_score_adj -16

feels more smooth now.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] thepetro95:
Baseband is unknown when Come fix
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
http://askubuntu.com/questions/60672/how-do-i-use-oom-score-adj

As im not that good at Android..

I heard that oom_score_adj uses parameter from -1000 to 1000

Why did you set it to -16?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] hell1134:
Mi pad does not have cellular or SIM capabilities. Hence, baseband is unknown. It is not a problem.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] thepetro95:
Other Bug I saw navigation bar no go away
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Juanmiwow:
Just add this at the end of build.prop And reboot your device.

qemu.hw.mainkeys=1*
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] darryl1234:
Apex launcher is crashing repeatedly. Even trebuchet. Any fixes ??
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] highwaystar_ru:
Yes, please test this libEGL.so replace /system/lib/libEGL.so with root acces or with adb root.

Now testing it for 1.5 hour and didnt had any crashes. Please report after some hours of testing if it gets better I will include it to new build.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] darryl1234:
I tried replacing d file with Es file explorer n my device crashed n now its stuck on MI logo :crying:
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
Did you set file permission properly?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] darryl1234:
i dnt think so i just replaced it n my device hanged so i rebooted
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Sudeep Duhoon:
Was just messing around.

Worked here. Reboot to twrp and chmod 0644

[
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] blackjack®:
After change this file libEGL.so no more crash launcher and this file fix screen rotate now no need use app screen rotate great work!:good:

Confirm:good::good::good:

---------- Post added at 07:52 AM ---------- Previous post was at 07:49 AM ----------

Confirm here this file fix YouTube playback id error now play YouTube at 1440p smoothly no more lag:good::good::good:
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
Mine works just fine with that
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] nit.in_cs:
make a new build with all fixes till now, and

whats are the bugs now,

camera?!
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Sudeep Duhoon:
Works here.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] hell1134:
Yes please make a new build with all the fixes. Right now there are so many fixes scattered in various posts that it is becoming difficult to keep a track of what all to flash and change.

PS: please add the line in build.prop to disable soft navigation keys.

The remaining bugs are:

1) camera

2) micro lags (visible especially in screen rotation)

BTW :

1) Is geforce now working?

2) Also, I assume the "lower than shield score" is due to mi pad having a higher resolution ?!
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] blackjack®:
https://youtu.be/nY4NJPxCwm0

bug navigation keys

Sound record no working

mic from headset no working
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] AbhaYsinGH007:
I don't have navigation bar bug, try to clean flash the latest build again
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] :
We should check offscreen tests.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] AbhaYsinGH007:
I think geforce works now...

yes lower scores are because of high resolution and also Nvidia shield is running on very stable, optimizied mm rom
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] scurrvy2020:
Great work on this guys! This is already the most functional 12.1 ROM for Mi Pad!

I have done the patch to increase the system partition to 1.2 GB so I can flash larger gapps packages; however, when I flash this ROM the system partition reverts to 635 MB.

Is this a difference between KK and L?

Would it be possible to make this work with a larger system partition?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] blackjack®:
one more bug when shut down device charges battery not show status battery only show blackscreen
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
No, geforce now doesn't work

I got an errorcode 80341005 and can't stream games
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] nit.in_cs:
great job guys?✌
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] highwaystar_ru:
Here is build with all fixes for now cm-12.1-20170108-UNOFFICIAL-mocha.zip

/system/vendor/lib/mediadrm/libwvdrmengine.so from shield included to fix youtube app

custom libEGL trying to fix random force closes

on-screen navbar removed

Doesnt work:

camera

hardware decoded video plays laggy for me
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] OoSTARTERoO:
Can you please fix geforce now problem?

I think there's an error with it
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] blackjack®:
Yes it work now i reflash rom+flash boot7117.img now my wifi work normally
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] VALRCIEL:
Please some one update op so easy to follow.