• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][PORT][8.1.0] MIUI 10 Global 8.11.23 [07.12.18]

ProtoDeVNan0

Elite Member
Apr 3, 2013
1,394
5,945
0
MIUI 10 Global Port for OnePlus 6!


Features:
Stock MIUI 10 Global 8.11.23 Oreo
Debloated
Automated Flasher


What works:
Almost everything, check bugs!
Notch works fine.
Brightness works great too!

What doesn't work / Bugs:
NFC (Don't worry though.. Just have to find a MIUI phone with nfc hardware and use it's firmware as base. And it should work!)
Flashlight toggle (3rd party flashlight apps work fine)
Stock MIUI Camera didn't work so just use latest GCam or OOS Camera.
Mi Account (Probably needs Xiaomi Hardware)
Dash Charge shows as not charging but battery level goes up quickly.
Alert Slider(duh?)

How to Install:
Make sure You're on Oreo firmware!

Note: Backup Your nudes before flashing the rom! It will wipe Your internal storage.

Windows Users:
Extract the zip somewhere.
Reboot to fastboot and plug Your phone in.
Double tap on flasher_windows.bat (Don't run it as admin)
Wait till it finishes flashing.
Boot TWRP
Mount Vendor
Flash WiFi_Fix.zip
Done! Enjoy Your rom!

Linux Users:
Extract the zip somewhere.
Reboot to fastboot and plug Your phone in.
Open terminal in folder with rom files.
Use:
chmod 777 flasher_linux.sh
./flasher_linux.sh
Wait till it finishes flashing.
Boot TWRP
Mount Vendor
Flash WiFi_Fix.zip
Done!

If You want to update, or You don't want to format Your data use "flasher_no_format_data".



Check screenshots in attached images!

Download:
MIUI 10 Global 8.11.23 Port for OnePlus 6 1.1- AFH

Warning! DO NOT flash MIUI OTA's! They may brick Your phone! If You end up flashing one anyway, just use EDL mode or fastboot to go back to stock firmware.

Note: I'm going to update this rom every time a new security patch comes out or something. I love MIUI 10 so I'll make sure to keep it up to date! :) (Don't expect day one updates though)

If You have any other problems, just ask here on XDA or for the fastest support PM me or ask someone in my group on Telegram
Join my group!

If You want to motivate me to work more, buy me a coffee!

https://www.paypal.me/protodevnan0

Credits:
erfanoabdi for vendor patcher idea.
fxsheep for his sgsi guide and wifi fix.
OnePlus for creating OP6!
My friend Dylan for always supporting me :D
If I forgot anyone, just PM me on Telegram!



XDA:DevDB Information
[ROM][PORT][8.1.0] MIUI 10 Global 8.11.23 [07.12.18], ROM for the OnePlus 6

Contributors
ProtoDeVNan0
Source Code: https://github.com/OnePlusOSS/android_kernel_oneplus_sdm845

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: OxygenOS Oreo Firmware
Based On: MIUI 10

Version Information
Status: Stable

Created 2018-12-07
Last Updated 2018-12-07
 

Attachments

Last edited:

[email protected]

Senior Member
Oct 22, 2016
357
90
0
Kerala
MIUI 10 Global Port for OnePlus 6!


Features:
Stock MIUI 10 Global 8.11.23 Oreo
Debloated
Automated Flasher


What works:
Almost everything, check bugs!
Notch works fine.
Brightness works great too!

What doesn't work / Bugs:
NFC (Don't worry though.. Just have to find a MIUI phone with nfc hardware and use it's firmware as base. And it should work!)
Flashlight toggle (3rd party flashlight apps work fine)
Stock MIUI Camera didn't work so just use latest GCam or OOS Camera.
Mi Account (Probably needs Xiaomi Hardware)
Alert Slider(duh?)

How to Install:
Make sure You're on Oreo firmware!

Note: Backup Your nudes before flashing the rom! It will wipe Your internal storage.

Windows Users:
Extract the zip somewhere.
Reboot to fastboot and plug Your phone in.
Double tap on flasher_windows.bat (Don't run it as admin)
Wait till it finishes flashing.
Boot TWRP
Mount Vendor
Flash WiFi_Fix.zip
Done! Enjoy Your rom!

Linux Users:
Extract the zip somewhere.
Reboot to fastboot and plug Your phone in.
Open terminal in folder with rom files.
Use:
chmod 777 flasher_linux.sh
./flasher_linux.sh
Wait till it finishes flashing.
Boot TWRP
Mount Vendor
Flash WiFi_Fix.zip
Done!



Check screenshots in attached images!

Download:
MIUI 10 Global 8.11.23 Port for OnePlus 6 (All Files_Flasher) - Android File Host

Warning! DO NOT flash MIUI OTA's! They may brick Your phone! If You end up flashing one anyway, just use EDL mode or fastboot to go back to stock firmware.

Note: I'm going to update this rom every time a new security patch comes out or something. I love MIUI 10 so I'll make sure to keep it up to date! :) (Don't expect day one updates though)

If You have any other problems, just ask here on XDA or for the fastest support PM me or ask someone in my group on Telegram
Join my group!

If You want to motivate me to work more, buy me a coffee!
https://www.paypal.me/protodevnan0

Credits:
erfanoabdi for vendor patcher idea.
fxsheep for his sgsi guide and wifi fix.
OnePlus for creating OP6!
My friend Dylan for always supporting me :D
If I forgot anyone, just PM me on Telegram!




XDA:DevDB Information
[ROM][PORT][8.1.0] MIUI 10 Global 8.11.23 [07.12.18], ROM for the OnePlus 6

Contributors
ProtoDeVNan0
Source Code:https://github.com/OnePlusOSS/android_kernel_oneplus_sdm845

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: OxygenOS Oreo Firmware
Based On: MIUI 10

Version Information
Status: Stable

Created 2018-12-07
Last Updated 2018-12-07
Great:victory:
 

ProtoDeVNan0

Elite Member
Apr 3, 2013
1,394
5,945
0
Hey, e.g. the Mi Mix 2s has NFC hardware so you could try that. Also, is there a reason why you opted for Oreo instead of Pie?
Well.. I didn't have much success with booting MIUI 10 Pie yet.. And it seems like only mid end Xiaomi phones have no MIUI security stuff. Images from high end Xiaomi phones don't want to boot.

I'm working on MIUI 10 Pie too but for now MIUI 10 Oreo is better than nothing :eek:.

And I'm trying to fix NFC now, I already added NFC files etc to system but NFC settings don't appear in Settings app. Will try more things though.

miui theme works??
It's a part of Mi Account so only stock theme works. I'll try to find some way to fix Mi Account though. Unless it checks some low level values that can't be faked.

Edit: MIUI Themes might work, someone said to use MIUI Theme Editor App.
 
Last edited:
  • Like
Reactions: javad79

omar2005

Senior Member
Jun 11, 2016
256
112
43
Doha
Can i flash this without wiping internnal storage? I am decrypted if that helps.......
And everytime i update i have to wipe internal storage?
 

ProtoDeVNan0

Elite Member
Apr 3, 2013
1,394
5,945
0
Can i flash this without wiping internnal storage? I am decrypted if that helps.......
And everytime i update i have to wipe internal storage?
Yes You can.

1. Flash OxygenOS Oreo
2. Wipe data in TWRP (don't format)
3. Edit my flasher scripts and remove "-w" from every command
4. Run Flasher
5. Flash WiFi Fix
6. Reboot.

Later I'll add update flashers and flashers that don't wipe internal storage.
 
  • Like
Reactions: omar2005

Skorm92

Senior Member
Mar 16, 2013
52
52
0
Sprang-Capelle
I have no words, I love you.
I don't have an NFC (xiaomi) device for you, but if it has any additional value/purpose/use, I could send you my Mi5C?

See it as a form of contribution/donation, or a thank you for your work :)

EDIT: Do you have Nougat/Pie in scope as well?
 
Last edited:
  • Like
Reactions: gerti1986

Fobos531

Retired Forum Moderator
Oct 6, 2014
1,029
440
0
/home/
Well. Don't worry! I'm currently uploading a 1.1 version with a couple of fixes and I added flashers that don't format data.
Also, perhaps you could try and take a look at HitoLiu's MIUI port for the OnePlus 3. He got the alert slider working and maybe you could reuse most of his code to fix the slider for the OP6.
 
  • Like
Reactions: James Blode

ProtoDeVNan0

Elite Member
Apr 3, 2013
1,394
5,945
0
I have no words, I love you.
I don't have an NFC (xiaomi) device for you, but if it has any additional value/purpose/use, I could send you my Mi5C?

See it as a form of contribution/donation, or a thank you for your work :)

EDIT: Do you have Nougat/Pie in scope as well?
Nougat.. Nope. Our bootloader, kernel, vendor won't work with it. But I am working on MIUI 10 Pie. I'm pretty close to getting it to boot but yeah, with this MIUI I was close to getting it to boot for like 3 months lol. With every port I'm getting more and more experience so that helps too.

And sure.. If You don't need it and it's just collecting dust then sure! I love working with various devices, it helps a lot with gaining experience too. PM me on Telegram @ProtoDeVNan0 or on XDA and yeah :eek:. (But only if You don't need it.)

Also, perhaps you could try and take a look at HitoLiu's MIUI port for the OnePlus 3. He got the alert slider working and maybe you could reuse most of his code to fix the slider for the OP6.
He also made 5T builds that probably would work even better on OP6 than OP3 builds. I'll check them out, try to boot them etc, but I'm not sure if reusing someone's code isn't kinda like stealing.. I'd rather want to ask him for permission first.


Additional to this post, fxsheep used some permissiver in his treble port to allow the use of a MIUI account, maybe that something you can use as starting off point?
Permissiver only changes selinux to permissive and I already changed selinux to permissive. Fxsheep tried it on Xiaomi device so that's why it probably works for him. Also, I'll try to apktool edit smali code of Mi Account app to not check for HW values or tell it to check for some other value that exists in all devices etc. (Kinda similar to knox faking in samsung devices)
 
Last edited:
  • Like
Reactions: SharkEzz

ProtoDeVNan0

Elite Member
Apr 3, 2013
1,394
5,945
0
Okay! So here's this new update!

Changelog:
Enabled colour settings for notification LED
Corrected some typos
Added better notch support (Icons don't get covered by the notch)
Modified device config files to better match OP6 specs (OLED, 3300mAh battery etc)
Added CUST partition files
Added new flasher that doesn't format data (Make sure to wipe data in TWRP though)
Added some NFC stuff to system (try using Google Pay and see if it works now, or some NFC reader app)


Download:
MIUI 10 Port for OnePlus 6 Flasher 1.1 - AFH

Until a new MIUI 10 Security Patch comes out. I'll be working on MIUI 10 Pie.

 

AndroidSword

Senior Member
Oct 31, 2016
884
1,038
93
21
Delhi
Okay! So here's this new update!

Changelog:
Enabled colour settings for notification LED
Corrected some typos
Added better notch support (Icons don't get covered by the notch)
Modified device config files to better match OP6 specs (OLED, 3300mAh battery etc)
Added CUST partition files
Added new flasher that doesn't format data (Make sure to wipe data in TWRP though)
Added some NFC stuff to system (try using Google Pay and see if it works now, or some NFC reader app)

Download:
MIUI 10 Port for OnePlus 6 Flasher 1.1 - AFH

Until a new MIUI 10 Security Patch comes out. I'll be working on MIUI 10 Pie.
Hey btw, I need to ask you does Full Screen Gestures work with this Port? And if possible could you comment on the battery life too?