yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] headcreepz:
For some reason it won't boot for me either...Which vendor are you flashing?
[Nexus 6P Android Development] Mystique:
I will try this in the morning. I would think something in /sdcard/Android/ might be the problem. I am going to backup /sdcard and just factory image back to the latest 6.0.1

Then flash twrp after first reboot and then take it from there.

Assuming the this is rooted?

Can you use magisk and such?
[Nexus 6P Android Development] millbean:
What should I use for for root? Tried magisk with no luck
[Nexus 6P Android Development] snsone:
The only thing i haven't done from your steps is the root zip but I assume that won't make of a difference will try it later probably
[Nexus 6P Android Development] millbean:
Ok got root to work by setting up magisk via XDA labs. Only issue I've seen so far is when playing games they keep shutting down. Anyone else having same issue? Appreciate the work put into this and your other work Al
[Nexus 6P Android Development] dariolob:
It does make a difference, indeed! (Well, at least in my case)

I've built MIUI from source some time ago for my 6P but in the end I decided not to release it because of this issue: I guess it's because the dm-verity check in the kernel prevents the device to boot. Magisk/superSU disables it and then it boots just fine!
[Nexus 6P Android Development] snsone:
Good to know lol. I just assumed since moonpie's build can boot without root. Gonna try it out as soon as I can. Thanks
[Nexus 6P Android Development] Kenkanekiei:
oh my god! flashing magisk did the trick !! thanks alot :D

its booting now . never had a clue flashing root would fix it :)
[Nexus 6P Android Development] MrCreel:
I like the updated rom, but my apps seems to be force closing and restarting, when gaming or messenger, YouTube and such
[Nexus 6P Android Development] snsone:
Indeed flashing magisk worked great. Gonna see about those apps crashing. Trying YouTube. Default browser crashed several times
[Nexus 6P Android Development] dariolob:
[MENTION=1955721]snsone[/MENTION] [MENTION=888103]MrCreel[/MENTION]

About the apps crashing: try switching language to English and see if force closes are less frequent.

On my personal build I had the same problem, and after investigating a bit I've discovered it's a bug of the multilanguage version of MIUI, something wrong about permissions that should have been fixed on the main development branch of MIUI (but not on patchrom, it seems).

More info to come, in the next days I should have some spare time to work on this!
[Nexus 6P Android Development] snsone:
Thanks for the info. I'm on English anyway and so far only the browser crashed. I'm using chrome anyway and YouTube hasn't crashed so far in 1 hour and 1 alt tab so I guess it is good on my end. The only annoying part is when after a restart the screen would freeze the the presses register as if the system continues to run just the screen doesn't update. The problem is on moonpie as well I'm guessing it is because of magisk since it's the only thing I have flashed so far and nobody complained.

Edit: yap games crash.
[Nexus 6P Android Development] turboedm:
flashed the updated ROM. First time on MIUI. Loving it so far. But.. WiFi Calling has.. no toggle. Anyway to fix that?
[Nexus 6P Android Development] MrCreel:
Still issues with apps randomly closing and crashing ,tried turning of MIUI optimization , memory optimization and changing to English, no luck.
[Nexus 6P Android Development] mb0x:
yes, same problem. browser and some apps closing frequently. moonpie is more stable than [MENTION=5178679]libnijunior[/MENTION]'s. but they all do great work for 6P.
[Nexus 6P Android Development] MrCreel:
Does apps crash on moonpie ?
[Nexus 6P Android Development] snsone:
Moonpie doesn't crash
[Nexus 6P Android Development] MrCreel:
Awesome, what's the difference between the updated ROM and moonpie actually?
[Nexus 6P Android Development] dariolob:
I'm currently working on a new MIUI test build based on [MENTION=5178679]libnijunior[/MENTION] 's source code. I MAY have found the source of the problem :)

Moonpie doesn't crash of course, but libnijunior's source is better and there are some useful patches in it!
[Nexus 6P Android Development] snsone:
For starters moonpie is chinese and the updated is international
[Nexus 6P Android Development] MrCreel:
Ah, then I'll stay on updated, can't a word Chinese
[Nexus 6P Android Development] snsone:
It's pretty useable the menus are in English but the MIUI apps are in Chinese and theme store has paid themes instead of everything free. I used Google translator since you can select the text.

On both roms tho you need to have 640 dpi for the apps to display correctly.
[Nexus 6P Android Development] MrCreel:
Looking forward to it
[Nexus 6P Android Development] dariolob:
Success! I've built MIUI from libnijunior's source and successfully fixed apps crashing, some theme inconsistencies and built a custom kernel without dm-verity check. The rom will now boot without the need of flashing Magisk/SuperSU. There are still a couple of annoyances left, but the main bugs are gone! I'll release it soon :)
[Nexus 6P Android Development] snsone:
What kind of annoyances? The themes? Most stuff sort themselves out with 640dpi. Looking forward to try it out thanks for the app crash fix.
[Nexus 6P Android Development] headcreepz:
That is great news!!
[Nexus 6P Android Development] ReckyYe:
I can't download
[Nexus 6P Android Development] MrCreel:
Great, can't wait! :)
[Nexus 6P Android Development] fsabatino:
Our silence is only a sign of respect for your time and dedication. Don't think for a moment that we are still not anxiously waiting for your release. :)
[Nexus 6P Android Development] MrCreel:
It has been released, 5 days ago :)

https://xdaforums.com/nexus-6p/development/rom-miui-8-nexus-6p-t3617829
[Nexus 6P Android Development] fsabatino:
And here I was, patiently monitoring this thread! ;) Thanks for the link and info aaaaaand, the great work!!
[Nexus 6P Android Development] ketogeno:
Is there any working mirror?
[Nexus 6P Android Development] :
Yes. A lot of the features on MIUI require a Xiaomi account.
[Nexus 6P Android Development] fedef12evo:
I cant download anything from browser, it says failed every time, and I have ota notification for march patch
[Nexus 6P Android Development] Ulver:
I got it to boot when using the vendor.img provided. I didn't have much time to mess with it. The Google play force closes were pretty rampant. I did end up going back to a previous backup. I'll try it again when I have more time.
[Nexus 6P Android Development] :
Have you been into Tools folder, and selected downloads? There is a limit on downloads of 1mb try changing to unlimited. Also ignore all OTA notification. You will keep getting all the way up to Android 7 or 7.1 but MIUI won't work if you install. Press it and keep pressed on notification until it allows you to block these notifications.

Also im using chrome as my browser which downloading without any issues.
[Nexus 6P Android Development] :
Regarding the Google force closures

The force closes stop after 20 or so, or you could install the Google fix script I've attached to the download section which should fix that issue
[Nexus 6P Android Development] Ulver:
I couldn't get the force closes to stop. I'm pretty sure it was more than 20. I ran the script and still got force closes. I tried to flash super su and run the script as root, but couldn't get root access. It's probably user error, I'll give it another go later today. Thanks!
[Nexus 6P Android Development] :
Well to be honest I did not use the Google apps I've included.

I installed Google from MIUI store. I got a few errors but ignored them and logged into Google account and then the errors stopped.

Good luck
[Nexus 6P Android Development] ShooterLight:
Does this build have the white statusbar icons on white background bug? (e.g: In settings app) Can someone post some screenshots of the rom? I would try myself but sadly I have no time right now.
[Nexus 6P Android Development] Ulver:
I'll probably give the Google installer a go instead. I'm used to doing it like that on past Xiaomi devices running the China ROM.
[Nexus 6P Android Development] sumner2q:
how do I run the script that is provided to stop the google foceclosed
[Nexus 6P Android Development] :
I have left a description on the first page, however. You need to install Root and then download a file browser such as root browser, which will allow you to execute the script.
[Nexus 6P Android Development] thatkindaguy:
I did exactly that, and I still get the force closes.
[Nexus 6P Android Development] syrkles:
I flashed magisk and phh superuser and root works fine
[Nexus 6P Android Development] :
Do a fresh install of Miui including a factory wipe. Then install Google from MIApp Store. I have a picture and short description on first page. You wont need to install root or the googlefix. After 20 or so errors they stop for good.
[Nexus 6P Android Development] Ulver:
Got it going, force close free! What worked is using the MIUI Google Installer apk and installing Google services, play store apks, calendar/contacts sync apks individually.

One issue I found is when I'm connected to WiFi I can't send MMS. Once I disconnect from WiFi, I can send MMS just fine.

Thanks!!
[Nexus 6P Android Development] ahmed534:
mount system partition in twrp and tick read/write. enjoy
[Nexus 6P Android Development] :
For anyone still having issues with Google I found a way to not get ANY error messages.

So I installed Google via Mi App Store and after each bit of google install i.e. framework and store. I went into Security/Permissions app and gave each Google app pretty much full access to everything, and I didn't get a single error message. Hope that makes sense.
[Nexus 6P Android Development] d3viou5:
Ok, got everything up and running so here's some input:

Far less buggy than the other MIUI rom, but still suffers from many of the same issues.

Themes work

No white icons on white background in settings

Changing DPI messes with the weather icon (only some DPI values)

Miui email app still crashes

Permissions had to be granted to play services using the Nova shortcut hack in the other thread

One handed mode doesn't work

Getting root using supersu is finicky but it does work!

Xposed bootloops

That's as far as I got, I had to restore from a backup after trying xposed.
[Nexus 6P Android Development] TheUndertaker21:
Sweet. I love miui
[Nexus 6P Android Development] WelcomeToTheSkye:
By any chance did you try the miui specific xposed?
[Nexus 6P Android Development] Ulver:
Hey Dizzee, is something you plan on keeping up on? Such as releasing new builds from time to time?
[Nexus 6P Android Development] d3viou5:
I didn't....... Didn't even know there was a MIUI specific exposed. You got a link and I'll try? Back up and running now.

A.R.I.S.E works BTW.......

:D
[Nexus 6P Android Development] WelcomeToTheSkye:
This is the latest from the thread... Downloaded it a while back ago but I lost the link to the thread... Somewhere in XDA lmao
[Nexus 6P Android Development] kaatisu84:
Wondering the same thing!
[Nexus 6P Android Development] d3viou5:
No joy.... Bootloop.
[Nexus 6P Android Development] :
I made the ROM because I Love MIUI and wanted it as a daily driver. I decided to share it as I know how much other people wanted it. Right now everything I need is working perfectly. However, if I feel there is major benefits in updating or fixing something then I will keep this page updated.

I may take a look at the MIUI mail app, however I use Gmail so it is not a major issue. I may try updating the base ROM when I have spare time. Also I am thinking of updating the boot image but that's about it at the moment.

Glad you guys are enjoying it.
[Nexus 6P Android Development] sohoer:
I flash it on 7.1.1pre,it also work!Good Job!

But,when install xposed,it cant start

I am crying~~~~

flash it again %>_<%
[Nexus 6P Android Development] OGWAUN:
is there any way to make it completely English
[Nexus 6P Android Development] casonswag:
Why play services keep fcin on me it keeps popping up ? Everything else runs fine besides that
[Nexus 6P Android Development] rsohne:
How did you fix it? I must be missing something.
[Nexus 6P Android Development] :
You know there is a simple Xposed uninstaller which would allow it to boot MIUI again without the need for reflashing.
[Nexus 6P Android Development] :
I think all the Google play issues are due to permissions. Open Security - Permissions and give all google apps all permissions. If you still get it then you need to reflash Gapps and I believe that should fix it :good:
[Nexus 6P Android Development] rsohne:
Thanks for the port dev! Everything running great except for permissions on Google Play Services. Tried everything you have suggested. I cant seem to find the script you mentioned. Have scoured these 7 pages twice. Anything else I could try?
[Nexus 6P Android Development] casonswag:
Same here my google play service just keeps force closing idk why and how to stop that i tried clearing the data from the google services app but still force closing
[Nexus 6P Android Development] :
I noted that the script was not working for users so I pulled it.

The only way I have found to 100 percent get Google Play Services running without force closing is after a fresh install, install Google Play from the MI App Store. I have included a screenshot of the Google App which works for me. IT will install several apps 1 at a time. After each 1 installed go to permissions and enable those permissions.

I hope this helps.
[Nexus 6P Android Development] casonswag:
Okay thanks ill reflash and try that again just download the playstore from MI app right ?
[Nexus 6P Android Development] rsohne:
Thanks, I wiped and reinstalled the rom. I loaded the Google Play Services from the Mi App Store and everything is running great. Thanks again.
[Nexus 6P Android Development] nontheoretical:
Error seven is an assert failure. Did you modify your build prop to say it was a device other than "angler"?

Removing the assert line from the update script should do the trick, or you could revert your build prop if you aren't comfortable modifying the ROM before you flash it.
[Nexus 6P Android Development] ariefabuzaky:
What average SOT do you reach it ?
[Nexus 6P Android Development] skw5115:
Or wipe the system before flashing....
[Nexus 6P Android Development] casonswag:
I had gotten that to but after i wiped system then it flashed good as it should
[Nexus 6P Android Development] Jammol:
Question.

How come it can't be based on the latest MM at least?
[Nexus 6P Android Development] casonswag:
Okay i wiped reflashed now i download the play service from the mi apl this time and no fc then i downloaded the playstore from mi app when i try to install playstore or even open playstore i get fc play services still i checked everything in permissions on both apps and still fc i really wanna use this rom but fc is a lil annoying
[Nexus 6P Android Development] :
From the Mi App Store did you install Google Play, Google Services, etc. ? Or did you install the top 1 with the Chinese lettering as shown in the screenshot? You just need to install this 1 Chinese app, and this app will install everything for you, then you just fix permissions.
[Nexus 6P Android Development] casonswag:
Oh wow i didnt see that first app thats what i was doing wrong ok it installed all the google things i need now no fc so far so now when i download a google app do i have to check on all the permissions or no?
[Nexus 6P Android Development] Okaham:
Hey guys help please, not sure what's going on...

I've attached an image below, basically I installed the Google Installer from the Mi Market but then this error shows up (I'm assuming it's an error)

TIA
[Nexus 6P Android Development] Greatness_GH:
the only reason why i cant stay on miui for a long time is the fact that the navigation bar is always white... even on a white background!
[Nexus 6P Android Development] ahmd gomaa:
you may try an app called navbar apps from play store change the navigation bar color to what you want
[Nexus 6P Android Development] :
To port MIUI you have to patch a lot of files manually, and doing so results in a lot LOT of bugs. With this ROM the files had been pre patched by MIUI but they only work for this version of Android. I believe attempting to use Android 7 as a base ROM would be a nightmare at the minute, but when I have a lot of free time I might bring the base ROM up a few versions. That would more than likely result in more bugs.
[Nexus 6P Android Development] :
Ok, well it says Installation Error. Then says download failed. And then the button says retry.

Maybe delete the app and try again. Make sure in the download app settings it is set to unlimited size. And check your wifi is working correctly. Maybe try downloading off wifi.
[Nexus 6P Android Development] Jammol:
Ahh I see now. I was wondering how come both of the ones we have go so far back in security patches. Well it'll be awesome if it could get updated to a more recent version but this will do the trick regardless. Would be nice if they would support this device.
[Nexus 6P Android Development] ahmd gomaa:
Thanks for your efforts

I can't gain root access

When i open supersu app or gives me a black screen then a message stops working.. Not responding

Long press to open Google now is now working

I downloaded Google app and when i edit long press to show assistant and choose Google app it works, but if i choose Google now i feel the vibration but nothing happens

Edit ... For Google now to work... Settings.. installed apps ... defaults .. assistant app.. choose Google app

Still looking for root access
[Nexus 6P Android Development] xchatter:
Great! I will flash this tonight! Thanks! :)
[Nexus 6P Android Development] Linwhu:
Good job!

This MIUI rom works perfect on my phone except some small bugs . A list is given here:

1. click Settings->Additional settings->Quick ball, and a error message will show up:eek:；

2. click Settings->Sound&vibration->Audio settings,another error message:crying:;

3. error of the Mail app.

I have hoped MIUI for such a long time and your work makes my waiting worth. Thank you so much:good:! Looking forward to your next update.
[Nexus 6P Android Development] mattlowry:
what base rom and kernel did you use?
[Nexus 6P Android Development] xchatter:
Supersu always freezes and cant get root to work :/
[Nexus 6P Android Development] drherdman:
SIM issue

I keep getting cant register SIM anyone else getting that?
[Nexus 6P Android Development] :
I've noted an issue with root. I tried to incorporate it with the installation process but failed to boot. I have tried few different root methods with no luck.

Also to answer previous question. The Base rom is Android 6.0.1 and kernel is 3.10.73-g3a7f5a4.
[Nexus 6P Android Development] MidnightDevil:
Give it a go with Magisk :)
[Nexus 6P Android Development] :
Thanks, I will give it a look.
[Nexus 6P Android Development] manny8691:
Hello

I installed this ROM along with magisk and pph SuperSU . Root permission is working fine but titanium backup hangs on restoring when I attempt restoring any of my apps. I left it trying to restore one app for about 30 mins. Then I had to force close it. Can anyone who is using magisk _ pph confirm that titanium backup is working and could restore apps?
[Nexus 6P Android Development] MidnightDevil:
Yes, it should be. You can install busybox from the market and on the TiB Preferences - App Processing Mode, and try Auto or even Manual if it fails.
[Nexus 6P Android Development] ahmd gomaa:
You mean this attached files?! What steps?!
[Nexus 6P Android Development] :
You just need to install Magisk-v9.zip followed by phh-superuser-magisk-r266-2.zip in recovery.
[Nexus 6P Android Development] ahmd gomaa:
It didn't work for me though

If it worked for you then i Will try again
[Nexus 6P Android Development] :
Did it say failed or anything? After installing in Recovery, install Phh Superuser from Google Play store
[Nexus 6P Android Development] ahmd gomaa:
I flashed both files successfully

Rebooted

Installed manager

But couldn't give root access in permission manager

Will try to flash both files then install manager and phh superuser from play store

I can't live without adaway

I am off work for two days if you need any testing just let me know
[Nexus 6P Android Development] :
If you want to try again. Delete the Manager then reboot to recovery and run the Magisk uninstaller. Then install Magisk and PHH superuser then reboot to Miui. Download PH Superuser from play store and open it. Then try your root app and it should work. If you are looking at Security App-Permissions-Root app this wont show anything so don't bother looking in there.

Good Luck
[Nexus 6P Android Development] ahmd gomaa:
Finally it worked

Thanks
[Nexus 6P Android Development] kaatisu84:
Installed this ROM with no issue. But the XDA app won't open. It says there's an unexpected error. Anyone with similar issue?
[Nexus 6P Android Development] Ulver:
Is anyone else not able to send MMS when connected to WiFi? I'm on T-Mobile if that makes a difference.

Sent from my Nexus 6P
[Nexus 6P Android Development] Lawlrus:
You're the only one that has reported it as far as I see
[Nexus 6P Android Development] xchatter:
I went from the beginning with the latest insructions in the op. When I install Magisk, then I download the module phh_supersu... or however is the name. Then I flash it from recovery and nothing happens. I don't get any new stuff,app or permissions. Any help guys?
[Nexus 6P Android Development] :
Nothing new will appear on home screen.

Install phh SuperSU app from play store then open it. Your root apps will now request root permissions from phh SuperSU app

Hope that helps.
[Nexus 6P Android Development] ps000000:
Very nice MIUI for Angler.

Just success installed with DEC 07 version.

:laugh::good::fingers-crossed:
[Nexus 6P Android Development] ahmd gomaa:
Changelog please
[Nexus 6P Android Development] :
I've just put it on the home page.

Like I said previously, don't be expecting major updates as I am just happy it's working with none/minimal errors. I may update base rom by a few security patches, but 'tis a big job and would cause more bugs with little return.
[Nexus 6P Android Development] xchatter:
Thanks for the hint, but this does not work. I did what you suggested but nothing happened. The SuperSu from playstore did nothing, and if I try to flash supersu, phone dies. :/ So still no root
[Nexus 6P Android Development] ahmd gomaa:
Totally agree
[Nexus 6P Android Development] comscier:
Thx for this awesome rom.

But could you also provide the md5 hash of the file.

I downloaded the file 3 times. With 2 files almost the same size as said on mediafire, but the other one is 50 MB "bigger"...
[Nexus 6P Android Development] :
No Problem

67b5592be7d362795343a05619c655b0
[Nexus 6P Android Development] thoiloidainhan:
Please make xposed work. Couldn't care less about alphabetical change in build number...
[Nexus 6P Android Development] tj gamino:
I was able to access root by flashing superSU in TWRP.. once rebooted went to permissions and clicked root access. Nothing happened , so I uninstalled superSU. And root was granted. It just does its thing.. hope that helps if anybody is having root issues.

The only issue I am having at the moment is themes will not apply. I get the third party denial message and/or can't connect to network message. Tried installing a "older" themes apk. Still same issue.. any ideas??

Thanks in advance. I have always been a huge fan of MIUI. This ROM is just as cool as any other.. but the themes is were all the magic happens.. hopefully I can get a fix soon.
[Nexus 6P Android Development] ahmd gomaa:
Only themes from the store
[Nexus 6P Android Development] Okaham:
Are people's gmail sync'd contacts showing up? Mine don't seem to be showing up...
[Nexus 6P Android Development] ps000000:
Yep.