yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] tr4nqui1i7y:
New build in the OP.

Changelog - Switched to MIUI Kernel - No longer necessary to flash Franco.Kernel

Vendor flash might no longer be necessary
[Nexus 6P General] Wohee:
Nice, quick question though, why not use the newer MTC20L ? Is it because the build is built on MTC20F ?
[Nexus 6P General] tr4nqui1i7y:
It's actually based on an even older version. 6.0.1 MMB29V.

Patchrom is 6.0. So I was having Difficulties with 6.0.1. Even though you wouldn't think one 6.0.1 build could be that different from another.

TL;DR - MIUI is a P.I.T.A, and super picky

I'm hoping to accomplish the more difficult tasks once I get to the Dr. What I am facing, makes mental activity a little more challenging than necessary. That's why I am only crushing the 'simple' bugs for now.
[Nexus 6P General] tr4nqui1i7y:
Gapps are fc'ing like a mofo.

Unfortunately, might have to change the build.prop to say we're using the Mi5 or something with MIUI and similar screen res.

Input, welcome and appreciated!
[Nexus 6P General] tr4nqui1i7y:
This Will be the first thing I get when the donations go through.

I need a drink after this hahaha. Tried six different methods for play services so far.

Next is to change the build.prop, if this last method doesn't work.

EDIT: Last method didn't work...

EDIT2: THIS will be the first thing I buy LOL. Same scotch, bigger bottle!
[Nexus 6P General] tdg2k15:
Try reflecting build.prop to more of a similar device to our 6p ... Might be the only solution for now.
[Nexus 6P General] skw5115:
I restored a backup of miui my mi note pro and now all notification sounds are working for me. Still can't apply sounds manually though
[Nexus 6P General] tr4nqui1i7y:
That's what my current project is.

You restored a mi note pro backup to the nexus 6P?
[Nexus 6P General] tr4nqui1i7y:
Changed the build.prop to match a Mi 5. That didn't do it.
[Nexus 6P General] skw5115:
Yeah, I signed into my mi account and did a restore of the system, apps, etc. Not via twrp
[Nexus 6P General] tr4nqui1i7y:
Gotcha. That makes a lot more sense
[Nexus 6P General] JustPlayingHard:
There's a booting build?!? Wow, that is quite impressive. I just checked MiCode (github) and they now have a Marshmallow branch. Could that be a cause of a working build?
[Nexus 6P General] rowihel2012:
Yea and working fine

Just need root

Gaaps

App themes to work
[Nexus 6P General] Thanaya:
Can someone please provide a mirror for the zip file? Mediafire is blocked in my university wifi. :(

Thanks!
[Nexus 6P General] tr4nqui1i7y:
Not exactly the cause yet. It did help a lot. If you build straight from Patchrom it won't boot. Unless that's been fixed now.

The boot.img needs fixes, and you need to flash a vendor.img. If you flash the vendor that matches the build it will boot with no error message, but no signal. If you use the vendor provided, it boots with an error; but there's signal!
[Nexus 6P General] tr4nqui1i7y:
How's the situation, bud? I saw that South cakalacki got hit around 11am. Severe flooding, and heavy winds.

You and yours doing ok?

EDIT: How was everyone effected/affected by the storm? My town ended up being safe.
[Nexus 6P General] tr4nqui1i7y:
We might have root and gapps. A user stated that they got gapps working by removing the setup.apk. They also stated they got root working. They flashed su, deleted supersu app, allowed root in permissions, it says failed but apps can still attain root.
[Nexus 6P General] MidnightDevil:
No google services FC with setup removal ?
[Nexus 6P General] greveldinges:
Do you happen to know what version of gapps was used? I'd like to try it out.
[Nexus 6P General] tr4nqui1i7y:
I'm not sure yet. Looking into it

Still figuring it out.
[Nexus 6P General] JustPlayingHard:
Oh, wow. That's a flip of a coin, it's either No bugs but no signals or Bugs but Signal... Damn.. let's praise for a quicker working patchrom release.

Also I saw someone doing an Angler(our device) branch, could that mean something?
[Nexus 6P General] tr4nqui1i7y:
Yea, they're trying to get a build to boot without any tweaks or anything. It'll allow building without needing much setup or tweaking.
[Nexus 6P General] JustPlayingHard:
Ah! Would love to see an official build from them ;D
[Nexus 6P General] mbl1979:
Wow, lol
[Nexus 6P General] blior32017:
now its show error 6
[Nexus 6P General] tr4nqui1i7y:
Updater-script is still the problem then. End of line conversion error. Can someone post the first ten lines of the update script so I can fix it. I'm mobile atm. Otherwise, we'll have to wait until I'm home.
[Nexus 6P General] tr4nqui1i7y:
Try removing the first two lines.
[Nexus 6P General] mbl1979:
I'm mobile as well. Exited on getting this to boot tonight.
[Nexus 6P General] tr4nqui1i7y:
I am as well. I am currently not employed, so I will be putting in as much time as possible into this.
[Nexus 6P General] mbl1979:
I'm off until Saturday, I'll be up late working with you. ;)
[Nexus 6P General] thoiloidainhan:
Best of luck guys. I'm on the road and need my phone atm else I'd help testing
[Nexus 6P General] tr4nqui1i7y:
No worries. Definitely hold off then. I need to get the updater-script fixed. I might re-build from scratch tonight. It almost seems like it merged the old and new together, rather than taking only what was necessary for the new script.
[Nexus 6P General] mbl1979:
I'll be standing by for a test zip. :)
[Nexus 6P General] PieOfJustice:
Thanks for taking the time to do this.
[Nexus 6P General] tr4nqui1i7y:
Thank you for being appreciative.

I haven't worked on anything since MIUI for the Droid X, so I appreciate everyone's patience.
[Nexus 6P General] tr4nqui1i7y:
OP Updated. I don't think this one will boot yet. Something to test while I recompile, and check a few things.
[Nexus 6P General] TheUndertaker21:
Love mui sensation days. I'd try it out
[Nexus 6P General] tr4nqui1i7y:
Don't flash anything in this thread unless you've read, and are comfortable, with the OP.

I hope we can get something usable to you, and all of the other patient MIUI fans out there!
[Nexus 6P General] HerroMoto:
Appreciate this as well. Unfortunately I need a working phone for work so I won't be able to test until this becomes more stable. Will stay on the lookout in this thread. Thank you again!
[Nexus 6P General] tr4nqui1i7y:
No problem! Hope to get this up sooner, rather than later.

Recompiling now, going to double check everything and upload the 4th test when it's ready.
[Nexus 6P General] mbl1979:
Downloading now.

---------- Post added at 09:36 PM ---------- Previous post was at 09:35 PM ----------

And yes always appreciative of devs taking time out to create what powers are droid's. :)
[Nexus 6P General] :
Thanks for this! I want to test it but "possibility of hard/soft brick"... I'm not so skilled. I'll follow this thread closely! Good luck to testers!

I'll try to flash it in MultiROM. I guess it's a right test, too.

LE - Flashed in MultiROM. All steps ended with success but the phone doesn't boot. It stays at Google logo and after 3 minutes reboot in recovery. [Nexus 6P, stock, rooted, MultiROM].
[Nexus 6P General] tr4nqui1i7y:
Built a new test from the ground up. This one looks promising. Uploading now.
[Nexus 6P General] tr4nqui1i7y:
Unfortunately, unless the en.miui port team picks it up; we'll never have an official build. The old nexus stuff was supported, so maybe with time.
[Nexus 6P General] tr4nqui1i7y:
open_gapps-arm64-6.0-pico-20160331

and

SR1-SuperSU-v2.78-SR1-20160915123031

Were the packages the user had success with.

After flashing su, allow root permissions in the permissions app. It will say that it fails. Try to attain root in an app and it should work.

Remove the setup wizard from gapps. Flash. Boot. There will be a lot of Force Closes. After a bit you should be able to use the play store.

Let me know how your case goes. Try to help other users. Hopefully through testing, we can narrow down the bugs and eliminate them.
[Nexus 6P General] JustPlayingHard:
At least it's progress :)
[Nexus 6P General] MidnightDevil:
What about Magidisk as root method? Anyone remembered that?

Just came to my mind...

I will get busy too with this.
[Nexus 6P General] tr4nqui1i7y:
Magisk? Or is that different? I haven't been following all the different su binaries.

Magisk, magidisk, kingroot, phh, supersu, whatever they are.
[Nexus 6P General] JustPlayingHard:
I'm sure they meant Magisk not Magdisk because auto Correction.
[Nexus 6P General] MidnightDevil:
True, autocorrect took over.. lol, cheers. Im doing backups, then I might spend sometime trying some stuff.
[Nexus 6P General] skeliton lord:
Here is a gapps package with the setup wizard removed *its all been commented out so if it still installs it its because I missed a line* need someone to test and lemme know if setup wizard is installed or not. Im located in Florida and currently running on generator power so I'm limited as to what I can do. Its based off pico 3/31 with no other modifications. This is a google drive link, so if it has too many downloads google blocks it. Please only download if you know how to find out if setup wizard installed as well as knowing how to remove it if it is installed

GAPPS

link fixed

Once I have power restored I'll look into getting play services to stop crashing as well
[Nexus 6P General] tr4nqui1i7y:
Why is there two updater-scripts? Did you save your new one as updater-script1 by chance? Or was it like that prior?

I only looked at the file structure. I haven't downloaded to look yet.
[Nexus 6P General] thoiloidainhan:
I received notification for March security update within 5 minutes of the ROM booting up lol. Have never received ota notification since I owned the 6p
[Nexus 6P General] tr4nqui1i7y:
Did you apply it? I'm not sure that those updates work yet.
[Nexus 6P General] skw5115:
There's a double of everything in the zip
[Nexus 6P General] skeliton lord:
Fixing now, thanks for pointing it out, it double extracted for some reason

---------- Post added at 10:05 PM ---------- Previous post was at 09:58 PM ----------

Link fixed. Me and my windows laptop don't always get along lol
[Nexus 6P General] thoiloidainhan:
No I didn't. Something seemed off so I chickened out lol
[Nexus 6P General] tr4nqui1i7y:
I wouldn't unless you make a backup first.
[Nexus 6P General] thoiloidainhan:
Aye. I saw you open a thread on miui forum as well. Have u received any help or tip from there? Must be frustrating to be the only 1 around who know what the hell is going on
[Nexus 6P General] tr4nqui1i7y:
Nope. Only questions about how to port lol.

It is frustrating. The only people helping, are those you can see in this thread. I don't know where all the interest for this device having MIUI went.
[Nexus 6P General] thoiloidainhan:
Well the interest is definitely there, but its mostly from users like me who know nothing about development. Also miui is notoriously behind with os version and therefore doesn't bode well with nexus users/devs who all go orgasmic with an alphabetical change in build number... Xiaomi made a good jump to 6.0 base now so hopefully we will see more action soon.

[PSA] GUYS, U BETTER SHOW tr4nqui1i7y SOME REAL "LOVE” OR HE'S GONNA LEAVE US HIGH AND DRY

Enough off-topic from me. Best of luck solving those last few bugs
[Nexus 6P General] tr4nqui1i7y:
Lol. That's all I can say. Lol

Edit:

In return for a fully stable, daily driver, I expect one trillion dollars. Otherwise, I'll just keep adding bugs.
[Nexus 6P General] rowihel2012:
:laugh:

i will gave you three trillion dollars

gave me stable miui :victory:rom
[Nexus 6P General] tr4nqui1i7y:
I'll need to see some bank statements to know you have the money. Or bitcoin.
[Nexus 6P General] Dhutchi3:
Gapps

So I'm new to xda, but I've been playing with this rom for the past couple of days and stumbled across another developers work that solved my gapps issue. I've also obtained root. I can't share the links though. Please pm me if you are willing to post for everyone.

Edit - sent my info to the OP. Hopefully he can put it together for everyone. Hope it helps!
[Nexus 6P General] tr4nqui1i7y:
[MENTION=7777956]Dhutchi3[/MENTION] sent me this helpful information! [MENTION=4129353]thoiloidainhan[/MENTION] for some helpful tweaks to the guide, and hosting the gapps so you don't need to register on en.miui

"To obtain root

Flash supersu v 2.65 -20151226141550 - ask for root in permissions - after fail method delete supersu app. Root will be present

Gapps

http://en.miui.com/forum.php?mod=viewthread&tid=370542&highlight=pico+gapps

https://drive.google.com/open?id=0B9B4OtsBnw04ZmdQb1JDUW5tLW8 - mirror

Replace contact sync with the one in here

http://xiaomitips.com/download/gapps-miui-android-6-0-marshmallow/

download ultra gapps lite and flash w twrp

clear data and cache for all google apps with rom app manager

use root explorer to run userinit.sh command. (Download scriptmanager on the store. Execute userinit as root)(userinit.sh is in /data/local)

I am running play store, gmail, and google app without issue. Haven't tested everything else yet"

Let me know your experience. I'll update the package, and try to make a different su package if it works out.
[Nexus 6P General] thoiloidainhan:
F yeah!!! Can't wait to go home and test it
[Nexus 6P General] artists889:
I can't get this link in the MIUI thread to work, can't download the ultra Gapps lite
[Nexus 6P General] skw5115:
You have to reply in the thread. Thats how most of the threads work in en.miui. So that means you need to make an account
[Nexus 6P General] OGWAUN:
Is this okay to flash from stock 7.0? Wiped system data and cache and then flashed the MIUI zip but it was stock at the Google boot screen. I don't know if that's normal or not? If not can anybody post a way to flash. Really trying to test.
[Nexus 6P General] thoiloidainhan:
Flash vendor too. And first boot takes very long time

---------- Post added at 07:07 AM ---------- Previous post was at 06:47 AM ----------

LINK FOR ULTRA GAPPS LITE PACKAGE

https://drive.google.com/open?id=0B9B4OtsBnw04ZmdQb1JDUW5tLW8
[Nexus 6P General] greveldinges:
Is flashing the vendor image still necessary after OP got the MIUI kernel working?
[Nexus 6P General] thoiloidainhan:
Nah. The above poster needs to flash vendor because he was already on N

---------- Post added at 08:16 AM ---------- Previous post was at 08:09 AM ----------

UltraGapps and root work beautifully following [MENTION=7777956]Dhutchi3[/MENTION] instructions
[Nexus 6P General] greveldinges:
I'm gonna try it out now, I'll let you guys know how it goes.
[Nexus 6P General] mr2sweet:
how were you able to run userinit.sh command I'm stuck on that part
[Nexus 6P General] thoiloidainhan:
Download scriptmanager on the store. Execute userinit as root
[Nexus 6P General] mr2sweet:
where is the file userinit? I can't get root to work either
[Nexus 6P General] thoiloidainhan:
/data/local. Need to get root working first follow tr4nqui1i7y instructions a few posts back
[Nexus 6P General] alexfadhili2:
Yes finally I can use this rom!

This might be a silly question but what are the chances you guys think Xposed will work on this? Or am I just reaching. Want to know if it's worth a try before I do it
[Nexus 6P General] holigan360:
how to get root with SuperSU, please be more detailed with steps. 1.65 SuperSU install and do not get permissions and the app does not work ...
[Nexus 6P General] thoiloidainhan:
To obtain root

Flash supersu v 2.65 -20151226141550 - open Security app - permissions - root. Popup says fail, ignore that. Delete supersu app. Open whatever root apps u want, root will be auto granted

---------- Post added at 10:36 PM ---------- Previous post was at 10:28 PM ----------

Now we need xposed and theme store fixed. Anyone got more of those neat tricks :>

Tried xposed 86 and solarwarez’s miui xposed but neither boots
[Nexus 6P General] joransrb:
Awesome work guys, going to try it later :good:

Maybe OP can update the first post with the new updated info ?
[Nexus 6P General] harish_hpd:
xposesd x86? ours is arm64 na?
[Nexus 6P General] thoiloidainhan:
V86...
[Nexus 6P General] greveldinges:
The method for root and gapps works, but I did not find the ROM stable enough. Sharing through reddit is fun caused crashes, the homescreen-layout seems a little off, and I've experienced some other crashes. It is quite speedy though, just needs a little more polishing.

Also, for who wants to know, it's multilanguage.
[Nexus 6P General] Aswin08:
Works great with Multirom!

Thanks for the effort.
[Nexus 6P General] MidnightDevil:
Question, do I still need to replace contacts sync from Zenco ultra lite and replace with gapps for miui one?
[Nexus 6P General] d3viou5:
Been following this thread from the start, and figured enough progress has been made to give it a try. Loved MIUI since the original galaxy note. Miss the iOS rip off magnifying glass for text editing though. Great work [MENTION=3745842]tr4nqui1i7y[/MENTION]. The perseverance of (particularly) yourself and the community is making the N6P the phone to have. Anyway here's my experiences:

I'm coming from SAOSP (N) and I flashed the vendor and fullota.zip from the OP. Booted fine, but still got a system warning associated with vendor image at both the pattern decrypt and main home screens. Either way, got in and looking super smooth and real good. I followed the instructions from a few posts back. Got root successfully, then installed the gaps package linked, which wiped out the MIUI keyboard for some reason. As soon as I flashed the Gapps package I got the usual force closes all over the place. It also left me with no keyboards installed. Dunno why. It said that Google Keyboard was installed for a brief moment, then both that and the MIUI KB disappeared. Managed to install fleksy from the MIUI store which let me continue. I replaced the contacts provider, and tried to run the script, but SManager kept telling me permission was denied.

I would imagine it's a vendor issue for me. I didn't flash anything in the wrong order. Had to restore a nandroid as I've gotta be up for work in the morning and I need my phone. Will try again tomorrow. Great work all involved, looking forward to seeing what progress tomorrow brings!
[Nexus 6P General] ilia1985:
Flash mmb29v vendor and no issues at all
[Nexus 6P General] mr2sweet:
For some reason this isn't working for me. I flash the supersu package and I get the popup so I ignore it. When I go to delete the supersu app there isn't one to be found. Can you host the supersu package you used maybe?
[Nexus 6P General] artists889:
Works great, I couldn't get the Google contacts sync apk suggested to install or MMS to work (which sucks) but I enjoyed the overall exp after I got most of the Google apps up n running
[Nexus 6P General] Galaxysm:
I wanna flash with multirom too, what steps did u take? I'm on a old version of DU atm
[Nexus 6P General] Aswin08:
My primary is PureNexus MM...Multirom v33...

Just added the MIUI as secondary,nothing else :good:
[Nexus 6P General] Galaxysm:
No vendors no nothing extra?
[Nexus 6P General] Aswin08:
You are in MM right?if so need of any vendors.You have to flash old vendor if you are coming from N.
[Nexus 6P General] Galaxysm:
Yes, I'm still on MM. Thanks
[Nexus 6P General] rowihel2012:
MIUI 8

Is superb

Really fast and smooth like butter
[Nexus 6P General] Dhutchi3:
Root and Gapps

Hey everyone, If you are still having trouble getting root and gapps to work I put a tutorial together to help. This is how I originally got gapps up and working. I'm too new so I cant post the links but if you PM me I will be happy to send the tutorial to you with attached links.
[Nexus 6P General] tr4nqui1i7y:
Updated the OP to include root and gapps.
[Nexus 6P General] tr4nqui1i7y:
[MENTION=7777956]Dhutchi3[/MENTION] Sent this helpful write up. Since this user can't post links, I have to post for them.

"I merged the new contacts sync into the gapps package.

Okay I've seen a few people having trouble with this so I've put together the files needed to gain root and working gapps/sync. This will work coming from fresh install of the MIUI rom.

Flash miui ota file and vendor image (I used MTC20F)

Let Rom fully boot.

Go back into recovery, flash attached superuser app.

Boot phone back up.

Go to security -> Permissions ->Allow root access -> check I understand and press root access. Screen will say failed. Now uninstall superuser app from homescreen.

Install Titanium backup, root explorer, and rom toolbox from links

Test to make sure root is obtained by launching titanium backup.

Boot back into recovery, flash gapps package. Reboot. Force close will still occur on boot and will seem a bit slow

Use Rom toolbox and access app manager. Clear data and cache for Google Play services, Google Services Framework, Google Play store, Google Partner Setup, Google One Time init, Google Keyboard, Google Contacts sync, Google Calendar Sync, Google Backup Transport, and Google Account Manager (and anything else google)

Using root explorer navigate to data/local. Execute userinit.sh. Reboot.

Now you should have root and working google play store and services. I have tested Gmail, Google Plus, Contacts, Google app, Google now, and Google maps. All fully functional and rom running smoothly =)

Hope this helps everyone

Links

Gapps Package [url]http://www86.zippyshare.com/v/msqH641y/file.html[/URL]

Superuser [url]http://www86.zippyshare.com/v/e4ZyyCBI/file.html[/URL]

Titanium Backup - find on market*

Root Explorer - *

Rom Toolbox - *
[Nexus 6P General] blior32017:
woww man thnxx !!!

But I experienced the problem "unfortunately google play store has stopped" Although I followed all your instructions

However all Google applications work correctly

MOD EDIT
[Nexus 6P General] mr2sweet:
Which recovery are you using and are you flashing the fullota or fullota1
[Nexus 6P General] tr4nqui1i7y:
If you're asking me, TWRP 3.0.2-0 and fullota1
[Nexus 6P General] blior32017:
And if you ask me I'm using the latest twrp recovery and the fullota1
[Nexus 6P General] fedef12evo:
Thank you for the rom, however I think that the fastest way is to post a system backup done with twrp, so we Can download It and restore and have fully functional rom
[Nexus 6P General] tr4nqui1i7y:
I was thinking of doing something like that. I'm hoping someone, or I can make better gapps, and su packages before it comes to that.
[Nexus 6P General] thoiloidainhan:
ARISE Sound mod with Dolby Atmos is working too. No trick needed
[Nexus 6P General] gconcepts:
When I flash the linked GAPPS package, I am getting an error message "Could not find 'META-INF/com/google/android/update-binary' in the zip file. Error installing zip file '/sdcard/Download/0B9B4OtsBnw04ZmdQb1JDUW5tLW8.zip'
[Nexus 6P General] desantim:
Quite excited for this. Haven't used miui since.... Way back in HTC hero days. Yes that long ago. Hope this gets stable. Thank you OP!!
[Nexus 6P General] thoiloidainhan:
Have u tried redownloading? Check the zip if the file is indeed missing and not twrp going crazy? U still have problem I'll upload my working gapps package
[Nexus 6P General] gconcepts:
I downloaded about 4 times already and did a md5sum on the file. The zip contains the file. I am on TWRP 3.0.2-2. i will truly appreciate it if you can upload your copy.
[Nexus 6P General] thoiloidainhan:
It's probably your twrp going crazy. I'll give u my gapps just in case
[Nexus 6P General] mr2sweet:
I had the same problem with the linked gapps package.
[Nexus 6P General] thoiloidainhan:
[MENTION=2213357]gconcepts[/MENTION] here

https://drive.google.com/file/d/0Bzj7CIXA9nUqckxlNElGUERCRU0/view?usp=drivesdk
[Nexus 6P General] gconcepts:
Thanks. I'll try this one out.
[Nexus 6P General] zxspectrun:
Wrong post
[Nexus 6P General] gconcepts:
That worked. Thanks
[Nexus 6P General] d3viou5:
That fixed it........

Following the instructions for GAPPS again now. Will let you know how it goes.
[Nexus 6P General] tr4nqui1i7y:
Are you able to connect to Wi-Fi on that vendor?