[WIP][DEV] MIUI 9 for Mi A1 - Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De

This rom is not for dayly use. I open this thread in order to devs/porter try to fix and rom be fully functional. Please do not report bugs at this stage because is known as buggy rom and the thread will be full of flooding. This thread is intended for developers or experience porters.
I have ported miui 9. The system boots up but the main problem is that cannot pass initial configuration because mi servers cannot verify/activated device. Right now I have tried to change devicename on build.prop and default.prop, changing bool flags on device features to non xiaomi device and so on. Nothing seems to work. As an important data,Provision.apk is is responsible for connecting and verifying the device during the initial configuration.
Ok, so, I have made 2 ports, one from Mi5x and other from Redmi 5 plus. I use tissot stock 7.8.24 as base.
MI 5x port:
Port rom is miui china official dev 8.4.12
Download rom: https://www.androidfilehost.com/?fid=818222786056029774
As a workaround to pass initial configuration, my friend @AnkyWalker send me a twrp data backup file after install same rom and pass initial config on his Mi5x device. Put the file on TWRP/snxxx/ and restore and you will be on launcher. Now you can install an app to take logs.
TWRP data backup: https://www.androidfilehost.com/?fid=962339331458991576
You will see system ui is crashing time to time. according anr traces log, find device and mi cloud is the responsible.
anr_info: https://www.androidfilehost.com/?fid=962339331458991575
anr_traces:https://www.androidfilehost.com/?fid=818222786056029784
Redmi 5 plus port:
Port rom is miui global stable 9.5.4.0
Download rom: https://www.androidfilehost.com/?fid=818222786056029785
How to install:
Reboot to recovery
Install rom
Install magisk zip
Reboot to bootloader
fastboot flash userdata userdata.img from Mi5x nougat i.e https://www.androidfilehost.com/?fid=746163614322263787
fastboot reboot
Tips to port:
-I use superr kitchen in linux to build the system. You must use raw images since sparse new.dat and meta-data/perm will not boot.
-Mount point for system is / as you can see on fstab ,so ramdisk is on / and system files are on /system/, thats the main difference.
-You can extract and compare wich files has been changed but basically, using fstab from stock and lib/modules will succesfully boot miui.
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

reserved

Members if you wish to thank the OP, use the thanks button vice posting and clutter the thread and in case you missed the Statement in the OP:
This rom is not for dayly use. I open this thread in order to devs/porter try to fix and rom be fully functional. Please do not report bugs at this stage because is known as buggy rom and the thread will be full of flooding. This thread is intended for developers or experience porters.

FIX FOR MI5X VERSION
After restoring data by twrp, delete always by twrp manager the following folders:
- Autoregistration
- CloudService
- Mi Drive
- SampleAuthenticatorService
- SampleExtAuthService
- SecureExtAuthService
- SecureSampleAuthService
- XiaomiAccount
- XiaomiSimActivateService
After reboot no more errors, but wifi and hotspot not working.
P.S. There is an update that it's impossible to do automatically by mobile data for an error, if this update is done manually is possible that wifi obtain a fix.

Wow, eagerly waiting for stable release, all da best

fosseperme said:
FIX FOR MI5X VERSION
After restoring data by twrp, delete always by twrp manager the following folders:
- Autoregistration
- CloudService
- Mi Drive
- SampleAuthenticatorService
- SampleExtAuthService
- SecureExtAuthService
- SecureSampleAuthService
- XiaomiAccount
- XiaomiSimActivateService
After reboot no more errors, but wifi and hotspot not working.
P.S. There is an update that it's impossible to do automatically by mobile data for an error, if this update is done manually is possible that wifi obtain a fix.
Click to expand...
Click to collapse
where are the folders?

niisp1 said:
where are the folders?
Click to expand...
Click to collapse
Inside system/app

Waiting for beta? thanks for your hardwork DAV.

please keep it up.Your hard work is appreciated.Thank you a lot.

fosseperme said:
FIX FOR MI5X VERSION
After restoring data by twrp, delete always by twrp manager the following folders:
- Autoregistration
- CloudService
- Mi Drive
- SampleAuthenticatorService
- SampleExtAuthService
- SecureExtAuthService
- SecureSampleAuthService
- XiaomiAccount
- XiaomiSimActivateService
After reboot no more errors, but wifi and hotspot not working.
P.S. There is an update that it's impossible to do automatically by mobile data for an error, if this update is done manually is possible that wifi obtain a fix.
Click to expand...
Click to collapse
1st flash 1.3GB ROM ? Mi5x
2nd restore twrp data backup?
Right ?

Wow. It's so interesting. keep going! I'll be wait for stable version. Thank's for working hard on it :good:

ruperxl89 said:
It is awesome, any bugs??is stable??thank you
Click to expand...
Click to collapse
Can't log in to miui services and wifi isn't working.
Wysłane z mojego Mi A1 przy użyciu Tapatalka

Mirdeusz said:
Can't log in to miui services and wifi isn't working.
Wysłane z mojego Mi A1 przy użyciu Tapatalka
Click to expand...
Click to collapse
Ok thank you

This is quite a big advancement for the Mi A1! Well done!
I must ask though: I wonder if Redmi 5 Plus Oreo MIUI builds would be possible to be ported later aswell, and also to the Redmi Note 4, considering it's the same chipset? We know Xiaomi won't be pushing Android 8 to Redmi Note 4 ever, perhaps a port from the R5 Plus could bring some "official" freshness to the RN4?

fosseperme said:
FIX FOR MI5X VERSION
After restoring data by twrp, delete always by twrp manager the following folders:
- Autoregistration
- CloudService
- Mi Drive
- SampleAuthenticatorService
- SampleExtAuthService
- SecureExtAuthService
- SecureSampleAuthService
- XiaomiAccount
- XiaomiSimActivateService
After reboot no more errors, but wifi and hotspot not working.
P.S. There is an update that it's impossible to do automatically by mobile data for an error, if this update is done manually is possible that wifi obtain a fix.
Click to expand...
Click to collapse
Not working bro!
Always system ui stop!

fosseperme said:
FIX FOR MI5X VERSION
After restoring data by twrp, delete always by twrp manager the following folders:
- Autoregistration
- CloudService
- Mi Drive
- SampleAuthenticatorService
- SampleExtAuthService
- SecureExtAuthService
- SecureSampleAuthService
- XiaomiAccount
- XiaomiSimActivateService
After reboot no more errors, but wifi and hotspot not working.
P.S. There is an update that it's impossible to do automatically by mobile data for an error, if this update is done manually is possible that wifi obtain a fix.
Click to expand...
Click to collapse
You were trying this steps??
Mi A1 Firehound 4.5 (8.1.0)

Good stuff, someone who knows what they're doing and beat me to it haha.
Are you using xiomi.eu base? It might have some of the Provision protection removed... Actually probably not.
I remember back in MIUI 8 on my Redmi Note 4 I could just replace with AOSP provision but it would still need SMS activation sadly. I suspect it's pretty deeply rooted, and to remove it or fake it would require dummying-out some stuff in stock MIUI apps (or removing completely like above) and then framework edits.... Eh.
Surely there must be a way to have the device identify as a 5x though. Maybe some kind of fingerprint in vendor or another partition?

CosmicDan said:
Good stuff, someone who knows what they're doing and beat me to it haha.
Are you using xiomi.eu base? It might have some of the Provision protection removed.
I remember back in MIUI 8 on my Redmi Note 4 I could just replace with AOSP provision bit it would still need SMS activation sadly. I suspect it's pretty deeply rooted, and to remove it orndake it would require dummying-out some stuff in stock MIUI apps
Click to expand...
Click to collapse
Would love to see u in Telegram Group suggesting other members who are trying hard to get MIUI working on A1...???

Seen on youtube explain well but not finalized yet
Wifi and hotspot not working

Do you work with wifi apps?

Related

[Tool][ROM] A-ONE 8.0 - OPR1.170623.026.8.2.8 Beta Feb 8/2018 [Fastboot ROM]

Good day XDA users.
These days I'm try to understand Mi A1 system partitions, and it's quite difficult and new for me.
My main goal is to get MIUI working on my Mi A1 phone.
I was able to save leaked Oreo ROM to system sparse format, also I prepare an easy tool for flashing that Oreo ROM via fastboot scripts.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ROM Version:
OPR1.170623.026.8.2.8 Beta
Instructions to install Oreo ROM under unlocked bootloader:
-Install adb drivers for Mi A1
-Unpack MiA1-Tool-Flasher-Oreo.7z tool
-Reboot your Mi A1 on fastboot mode (Hold Vol - & Power)
-Execute Rom-Flasher.bat
-Select one of 3 flashing options (option 2 for avoid conflicts, data will be erased)
-Enjoy Oreo ROM
Disclaimer: do at your own risk, it could erase your data files. Make a backup first
Advantages of use this tool/ROM:
-No need TWRP
-No need to lost your data
-Just reboot on fastboot mode and enjoy
-You can re-lock your bootloader
Changelog OPR1.170623.026.8.1.10 Modded:
1# Debloated
2# Power Menu
3# Touch status bar clock to lock the screen or see Power Menu
4# All system applications updated to latest version
5# Build.prop Tweaks
6# Added MIUI main applications like Mi Remote, Mi File Explorer and Music
7# Root with Magisk
8# TWRP In-built
Download:
8.2.1 - OPR1.170623.026 new Oreo beta:
https://www.androidfilehost.com/?fid=889964283620778036
Changelog OPR1.170623.026.8.2.1:
1# February 2018 android security patch
Bugs:
-Camera is slow again, please root and use SELinuxModeChanger
-Download apk here: View attachment com.mrbimc.selinux_20171031.apk
Downloads:
8.2.8 - OPR1.170623.026 new Oreo beta TWRP zip:
http://www.mediafire.com/file/y0q2f72h9m26xhb/A-One_tissot_8.2.8_v8.0_beta.zip
8.2.6 - OPR1.170623.026 new Oreo beta:
http://www.mediafire.com/file/qy0269twz5emmbm/Mi-A1-OPR1.170623.026.8.2.6-beta.7z
8.2.1 - OPR1.170623.026 new Oreo beta:
https://www.androidfilehost.com/?fid=962187416754458083
8.1.10 - OPR1.170623.026 Modded new Oreo beta Modded:
https://www.androidfilehost.com/?fid=889964283620778036
8.1.10 - OPR1.170623.026 new Oreo beta:
https://www.androidfilehost.com/?fid=889964283620777529
7.12.29 - OPR1.170623.026 new Oreo stable V2:
https://www.androidfilehost.com/?fid=745849072291700464
7.12.27 - OPR1.170623.026]:
https://www.androidfilehost.com/?fid=673791459329069648
3 kernel options to choose from for 7.12.27 version:
https://www.androidfilehost.com/?fid=673791459329069652
7.12.22 - OPR1.170623.026:
https://www.androidfilehost.com/?fid=745849072291696926
3 kernel options to choose from for 7.12.22 version:
https://www.androidfilehost.com/?fid=962021903579500640
7.12.20 - OPR1.170623.026:
https://www.androidfilehost.com/?fid=745849072291696129
Patched boot.img with root and TWRP in built for 7.12.20 version:
https://www.androidfilehost.com/?fid=889964283620773632
7.12.8 version, first Oreo release:
https://www.androidfilehost.com/?fid=817906626617953758
Credits:
Xiaomi
Google
Last version date:
Feb 8 - 2018
Reserved
JamFlux said:
Reserved
Click to expand...
Click to collapse
Hi,
It's possible to flash with FlashFire?
We7dy said:
Hi,
It's possible to flash with FlashFire?
Click to expand...
Click to collapse
Hi.
May be, but you have to unpack system.img and boot.img from .7z tool.
thnks.........
Where is the download link it's not working
Edit-link is working now . Will I have to unlock and root the previous OS . Please tell me in detail. Thanks for your hard work.
dipakd said:
Where is the download link it's not working
Click to expand...
Click to collapse
Use this:
http://qc4.androidfilehost.com/dl/9.../817906626617953758/MiA1-Tool-Flasher-Oreo.7z
Will I be able to get ota?
dipakd said:
Will I be able to get ota?
Click to expand...
Click to collapse
No idea cause Oreo OTA is for beta testers members.
Is This rom is the latest oreo update ?
EPIC Share bro, nice to see you with MIA1, hope in near future we will be able to run Epic rom in our MIA1
talk2indrajit said:
EPIC Share bro, nice to see you with MIA1, hope in near future we will be able to run Epic rom in our MIA1
Click to expand...
Click to collapse
Yeah, I would like MIUI.
I'm analizing how to proceed...
ariefabuzaky said:
Is This rom is the latest oreo update ?
Click to expand...
Click to collapse
Nope. This is repack of leaked backup. So this is one of the first builds.
Displax said:
Nope. This is repack of leaked backup. So this is one of the first builds.
Click to expand...
Click to collapse
Yeah, you right.
This ROM had magisk root removed too.
JamFlux said:
Yeah, I would like MIUI.
I'm analizing how to proceed...
Click to expand...
Click to collapse
I'm really super excited bro :fingers-crossed: today I came to realize that I made a right choice to have a MIA1 after looking you here :fingers-crossed: I know you can find the way to bring MIUI 9 for us soon :fingers-crossed: :good::good::good:
unable to flash
Unable to flash. The massage is "target reported max download size of 536870912."
And I am unable to select 1 & 3 option. Only I could slect 2 no option. What may be problem?
its working i flash it with mi flash tool but it was prerooted and from rom-flasher.bat is not working
dipakd said:
Unable to flash. The massage is "target reported max download size of 536870912."
And I am unable to select 1 & 3 option. Only I could slect 2 no option. What may be problem?
Click to expand...
Click to collapse
Hi.
Make sure you have adb drivers installed for fastboot mode: https://forum.xda-developers.com/showthread.php?t=2588979
Bro @JamFlux im sharing my noob knowledge on mi a1 partiton system.
Bro our mi a1 have skip_initfs on kernel side.
Ab partiton use initfs or ramdisk from system partition intead of boot.img the boot.img ramdisk is only there for recovery only and whole root fs is changed on mia1
And selinux policy also devide into various location on system and boot.img. bro u can see chainfire and topjohn theory how they root ab partiton device they expailed every thing on thier thread "they expailed in pixel thread"
Mi 5x dev able to boot our whole system image and boot.img only changes with ramdisk.
U are the creator of epic miui.
I can wait to see miui on our mia1 now u are looking on our mia1 soo im very happy to see u here to develop for our mia1.
After installing ADB drivers still I am not able to flash Oreo. What should I do now. Same massage is there.
---------- Post added at 03:17 AM ---------- Previous post was at 03:13 AM ----------
Sahil132 said:
its working i flash it with mi flash tool but it was prerooted and from rom-flasher.bat is not working
Click to expand...
Click to collapse
How did you do that can you please explain me?

[OREO] [19-02-2019] MIUI 10 [PORT] [SGSI] [kenzo] [Treble] [v8.11.15]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
MIUI Version: 10
Android Version: OREO (8.1.0)
ROM Type: Port/SGSI/Treble
FLASHABLE
FEATURES:
- welp, writing MIUI features isn't my forte., so instead check out the attached SS of the ROM
SCREENSHOTS:
https://drive.google.com/open?id=1Rsynp-R040Fbl1XAV3dL8sSFTsmOMjGu
Changelog:
-Redo the port from Nitrogen's Final MIUI 8.1 8.11.15 build(thanks to @fxsheep for the guide).
-Russian language added thanks to Kyryll Bondarenko.
-Advanced Reboot and better looking Font by Kyryll Bondarenko.
-Merged in all patches and other misc stuff.
-Contacts sync fixed.
-Fixed Some issues and FC's.
-Finally usable as a Daily Driver(4-8hrs sot LMAO).
Notes:
-If unable to skip MI Account during setup, click on Forgot Passwordand press Skip.
-Max Brightness is 70% (Use a Brightness Control app(playstore) to get 100%)
-If you get a issue with WiFi, Just reboot and it will be fixed.
-If you are unable to add FP, clear FP data using Agni ToolBox (https://forum.xda-developers.com/attachment.php?attachmentid=4392199&d=1516211404)
-Flash only treble Kernels.
-Volte works only if you are coming from a Miui that had it working.
-Use GCAM provided in link below.
-Magisk 17.3 bes.
-Never ever update from Mi Updater App.
-Stock keyboard is some chinese one, just click on keyboard notification and change to Gboard.
BUGS and WAYAROUNDs:
24/11/2018
1. STABLE, can be used as daily driver.
2. Many core MIUI files missing causing random FC's and slowdowns, for instance, Mi Account FC's, so can't add Mi Account and other Miui related stuff. Almost all miui apps ded. :3 95% issues fixed.
3. Camera takes 5-10 secs to open. (GCAM ifdk, try and report) Fixed. (GCAM works too :3).
4. Can't install any app from system. (adb install doesn't work too, bcoz needs you to login to Mi account which is broken)Fixed.
https://www.androidfilehost.com/?fid=11410963190603860188
Flash this patch. Thanks to t.me/Heshuifu
5. Don't ever for what so ever the reason factory reset the phone, if you do, die. after flashing all patches, you can Factory Reset if you want.
6. Ignore "There is an internal problem with your device" PoP-UP after every boot, if I'm free, i'll make a kernel to fix the issue.
7. Screen Flickers quite often and specially if you enable Auto-Brightness, so pls for the sake of kek don't. (this can be fixed? do it)
8. VoLTE might or might not work.(Works for some)(Confirmed working if you are coming from a rom that had volte working)
9. Don't ever enable Dual 4G, we don't hab hardware support. and if you enable, rip.Reboot if you mess with this.
10. Don't ever enable Hotspot when WiFi is on and vica-versa. You will need to reboot for WiFi/Hotspot to work again.
11. FP enrollment shows failed, but it will have saved your FP.(goodix idk, tell me bout it) FP for fpc/goodix fixed. Flash patch 2.
12. More Stuff ig(Like Reading mode and stuff). I don't remember?
13. Battery stats bugged or something else is the issue idk, but the way i saw it, battery drains like water. Fixed .https://tenor.com/rCn5.gif
26-01-2019
-Stock Mi cam sucks, use GCAM
-Reading mode dead.
-FM Radio(IDC use 3rd party ones).
-DT2W always on, use KA/EXKM to disable.
-Deleted Easter Egg(It used to hang the system).
-Turning on WiFi and Hotspot at the same time ****s up both, as mentioned above, reboot to fix.
-Contact Sync with Google(export your contacts from contacts.google.com as .vcf and import).
-I dont remember. But do tell me about it T.me/family24x7 and dont expect a fix.
19-02-2019
-Stock Mi cam sucks
-FM Radio(IDC use 3rd party ones).
-DT2W always on, use KA/EXKM to disable.
-Deleted Easter Egg(It used to hang the system).
-Turning on WiFi and Hotspot at the same time ****s up both, as mentioned above, reboot to fix.
-I dont remember. But do tell me about it T.me/family24x7 and dont expect a fix.
BUGFIXES:
Welp, almost every major BUGS fixed.
Now you can enjoy this ROM as a Daily Driver.
HOW TO INSTALL?
-Download ROM, Vendor, VendorPatch
-Recommended TWRP- Redwolf 028
-Wipe Everything except Internal and SDCard
-Flash in this order:
1. ROM
2. Vendor
3. VendorPatch
-Reboot and Complete setup.
Note: If stuck in bootloop, reboot to recovery, mount system and vendor and flash VendorPatch zip again.
When you go through the initial setup, on the MI account entry page, click "Forgot password" and "Skip".
And I end my Journey of this PORT here today.
Interested People can continue and post patches or their own modded builds. :]
Download Links:
RedWolf Recovery:
https://www.androidfilehost.com/?fid=11410963190603856937
ROM:
https://www.androidfilehost.com/?fid=1395089523397896558
Vendor:
https://www.androidfilehost.com/?fid=1395089523397896694
VendorPatch:
https://www.androidfilehost.com/?fid=1395089523397896557
GCAM:
https://www.androidfilehost.com/?fid=11410963190603908550
Magisk:
https://www.androidfilehost.com/?fid=11410963190603908545
Donate:
If you appreciate my work consider buying me a Cookie!
PayPal: PayPal.me/amog787
UPI: [email protected]
Russian Support Therad: https://4pda.ru/forum/index.php?showtopic=729572&st=47460#entry82540051
CREDITS:
-Thanks to Alex for showing interst in Project Treble for kenzo and starting it.
-Thanks to @fxsheep for SGSI port Guide.
-Thanks to SuperR. (https://forum.xda-developers.com/member.php?u=5787964) for superr Kitchen.
-Thanks to Adarsh MR for the vendor, without him, we couldnt have got stable treble base. Thank him here for that.
-Thanks to @Magicxavi for adding Russian Language and Advanced Reboot options.
-Thanks to ATGDroid for the redwolf TWRP and PBRP for the flashable zip.
-Thanks to Rohan Karanjkar for forcing me to Port MIUI O for kenzo
-Thanks to Joseph and @mdpani for hardcore testing.
Source Code:
Kernel:
https://github.com/BirdSanctuary/kernel_xiaomi_msm8956/tree/oreo-mr1-treble
MIUI:
http://bigota.d.miui.com/8.11.15/miui_MIMAX3_8.11.15_eeab8885a1_8.1.zip
Vendor:
https://drive.google.com/file/d/1MuM--ayo4Gw_hebm55xyd5LfvRGPYs4F/view
​
ScreenShots
czwhynot!
Res, Framework-res.
Bugs here, bugs there, bugs everywhere.
amog787 said:
Reserved
Click to expand...
Click to collapse
Sab moh maya he-
From the Moderator - "Sab moh maya he - everything is all - all is us" more or less it is a philosophical one liner in Hindu more encompassing than a one liner
goodluck @amog787
secret admirer of your work:angel:
Great News.
Press F to pay respecc
Good news... miui Oreo treble booted... I know soon we will get stable also
Good luck:good: waiting for a stable build
[email protected] said:
Good news... miui Oreo treble booted... I know soon we will get stable also
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=78246857&postcount=4
amog787 said:
https://forum.xda-developers.com/showpost.php?p=78246857&postcount=4
Click to expand...
Click to collapse
I know
Amo(Thu)G
https://youtu.be/8k97-J5ipP4
If you just wanna see how rom functions, ...
MIUI 10 Oreo [SGSI] [PORT] [kenzo] [Treble] by amog787
thanks a lot guys,
great work
MiuiPro Evolution | MIUI 10 | Stable | 10.0.1.0 OEDMIFH | Ported
Mod Edit: @561841 , Would be better and more respectful to create your own thread and not hijack other peoples.
561841 said:
<snip>
Click to expand...
Click to collapse
This is Nougat rom
Just used build.prop edit to make it look like oreo
Darkwizzz said:
This is Nougat rom
Just used build.prop edit to make it look like oreo
Click to expand...
Click to collapse
How to check and confirm this is N or O?
Mi Max 3 is having official Oreo.
API Level
561841 said:
<snip>
Click to expand...
Click to collapse
This is pure cancer. Edited build.prop.
Lmao
[email protected] said:
How to check and confirm this is N or O?
Mi Max 3 is having official Oreo.
Click to expand...
Click to collapse
Oreo has miui gestures, Nougat doesn't.
PiP
And many more things.
Or use API level checking apps

[ABANDONED][ROM][PORT][Oreo]MIUI 10 for Mi A1 Epic mod [AROMA]

PROJECT ABANDONED, thanks everybody for trusting me!! See you!
Code:
include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Do not report bugs to Xiaomi, this is a NON official MIUI rom!
Do not report bugs here if you have not installed step by step according installation instructions!
Previous Nougat miui rom -->: https://forum.xda-developers.com/mi...2-epic-mod-t3842031/post77612030#post77612030
We used xiaomi.eu for port plus some customization from Epic Rom
If you want to stay up to date from Epic roms, join telegram group: https://t.me/epic_roms
What works?
All I have tested
What doesn't ?
-FM Radio no sound
-Miui Sound Enhacer Fixed on 8.12.8
-Stock Camera Fingerprint Shutter Fixed on 8.12.8
-Greenish pictures for third party apps Fixed on 8.12.7
-If you are not familiar with MIUI, do some research before posting a bug, most of bugs reported are MIUI settings related
Features
Android version 8.1.0
Rom built in TWRP (you don't need to flash)
Base xiaomi.eu 9.1.17
Added Epic MIUI Mods such a:
Rooted with magisk 18.0
OTA updates available on 8.9.13 and subsequent
Advanced Reboot
Select rows and columns on launcher
More tiles to UI
Third party theme support
Face unlock
A-GPS extra settings
Pico gapps
Advanced reboot
Tweaks
...
Downloads
ROM:https://sourceforge.net/projects/epic-rom/files/MiA1
Fix for stock MIUI portrait mode: if you are going to use mi account, login into it before install this fix. You can find on app ota_updates/addons
Installation
If you are on stock Pie do not install this Rom, otherwise you can brick your phone. See how to downgrade to stock oreo.
Coming from any rom
1-Back up all your data including efs
2-Wipe data and dalvik/Art
3-Flash Rom zip. first boot takes about 15-20 minutes
4-When system boots up, wait 5 minutes to do initial configuration
5-You will feel system "laguiss" during initial setup, after you complete, wait 5 minutes more and reboot
6-Flash MIUI portrait fix ONLY after log into your Mi account ( skip thius step if you do not use Mi account)
Enjoy MIUI
If system does not boot after 25 minutes:
Fastboot flash userdata with command
Code:
fastboot flash userdata userdata.img
download userdata img from --->https://www.androidfilehost.com/?fid=746163614322263787
Reboot to recovery
Flash MIUI ROM
Continue from step 4
If your storage is less than normal, fastboot flash userdata again and reboot
PD: ota service are not working properly due to a/b partition so, if you download from ota you should install manually once the app reboot to recovery, which means you have to install downloaded rom from internal sd card/OTA_updates folder
Contributors
pocaropa
Manish Pathak (@leetcool), thanks for helping in fixing bugs, it would not have been possible without your help
Xiaomi.eu for base rom used, thanks guys
F.A.Q
Google camera is not working?
Enable hal3 via magisk module or find build.prop line "#persist.camera.HAL3.enabled 1" and delete "#". Reboot.
Is required some specific firmware?
Rom is built in firmware from stock november
How to back to stock?
Restore your TWRP backup
Can I install a custom kernel?
You can install oreo kernels which are suitable for stock rom
When do you update the rom?
When we have free time and I feel like doing it. Please don t ask for ETAs
Can you add x or y feature to the rom? Can you port from x miui rom?
No [emoji14]
VOLTE works?
Yes
Don't ask for porting question, just see old thread, ok?
Screenshot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you like please hit thanks a consider a donation; just open Ota updates app and you will see donate button. This make us motivated, thanks!!
Finally OREO Miui 10 for our Tissot, thank you OP
Sent from my Mi A1 using Tapatalk
Awesome work man :good: :victory:
i updated from previous miui rom. its now asking for a reset and a decryption pa
ssword in recovery what to do?
Gonna download now
After flashing the userdata, the rom start working fine , but my internal storage was 16gb , do the format data > flash magisk v18 > and then reboot system. Stuck at EpicROM splash.
What should i do ?
Can we flash it on a trebilised device?
Since non treble ROMs work on treble devices too , will this rom work??
Thank you so much for your hardwork. MIUI epic rom has been my daily rom since Nougat.
Anyway, I have problem with the slow download link from SourceForge.net, get only around 100KB/s. Any chance for a mirror?
Thank youuu
nakchea said:
Thank you so much for your hardwork. MIUI epic rom has been my daily rom since Nougat.
Anyway, I have problem with the slow download link from SourceForge.net, get only around 100KB/s. Any chance for a mirror?
Click to expand...
Click to collapse
Use 3rd Party Downloader Application (recommended : IDM for Android and Internet Download Manager (i know its not free, but have 30 days trial) for Windows)
Close the page if the download is locked and handled by that 3rd Party Download App
enjoy high speed
YESSS! Stock feels so boring.
PORT the MIUI PIE BASED on pocophone
bagusmfski01 said:
After flashing the userdata, the rom start working fine , but my internal storage was 16gb , do the format data > flash magisk v18 > and then reboot system. Stuck at EpicROM splash.
What should i do ?
Click to expand...
Click to collapse
Try flashed again userdata and reboot. Wait until 35 minutes and report please
Enviado desde mi MI A1 mediante Tapatalk
To Anyone have 16GB storage issue
- Flash the rom first, no matter what userdata are you using
- complete the setup
- Reboot to Fastboot your device (Hold power button > Reboot > Bootloader)
- if you have stock tissot userdata, follow this
1. open fastboot rom (folder, make sure you're already extract the zip and zip)(make sure you have download that)
2. open images folder, then find userdata
3. move that to ADB Installation File
4. type this > fastboot flash userdata userdata.img < (just type the fastboot flash userdata userdata.img)
5. Reboot, by typing fastboot reboot
6. check that, if still not match with your device variant (ex : shows 32GB, but your device is 64GB variant), reflash again
- if you have Mi 5X Userdata, follow steps number 4,5,6 but change the userdata file with your own Mi 5X Userdata
starkproject said:
Use 3rd Party Downloader Application (recommended : IDM for Android and Internet Download Manager (i know its not free, but have 30 days trial) for Windows)
Close the page if the download is locked and handled by that 3rd Party Download App
enjoy high speed
Click to expand...
Click to collapse
Thank you. IDM on Android works great for me, up to 1.6MB/s
Help
Hello, I come from MIUI 7.1.2 Epic Rom 8.11.1, I did all the steps, but it does not start the system, they spend like 25 minutes or less and the cell phone restarts and starts and another 25 and restarts, you know what happens? What I can do?
greenis said:
Hello, I come from MIUI 7.1.2 Epic Rom 8.11.1, I did all the steps, but it does not start the system, they spend like 25 minutes or less and the cell phone restarts and starts and another 25 and restarts, you know what happens? What I can do?
Click to expand...
Click to collapse
Flash userdata.img, reboot to recovery and flash the rom again
Enviado desde mi MI A1 mediante Tapatalk
pocaropa said:
Flash userdata.img, reboot to recovery and flash the rom again
Enviado desde mi MI A1 mediante Tapatalk
Click to expand...
Click to collapse
Done, Now i have this How to fix the 16Gb? Can you help me how can I fix it? :llorando:
greenis said:
Done, Now i have this How to fix the 16Gb? Can you help me how can I fix it? :llorando:
Click to expand...
Click to collapse
See comment #14
Enviado desde mi MI A1 mediante Tapatalk
Thanks Developer for your hard work
I will have a try asap
Already downloaded

Mi Max 2 Android (R) 11 [Aosp-Phh]

MI MAX 2
Android 11 by DJsmk123​
1.INTRODUCTION
Well, Android 11, Google’s 11th iteration looks similar to Android 10 but with a handful of new features and changes. The update brings notification history, Chat bubbles, Conversation notifications, screen recorder, new media controls, smart device controls, one-time permission, improved dark theme with the scheduling system, app suggestions, wireless android auto, and many more....
2.Installation Guide
1.First Download AOSP11.zip
2.Now From Any recovery backup your device
Note:Recommended Recovery Orange Fox Recovery
3.Now Wipe all Partition except internal storage
4.Now Install AOSP11.zip
5.if during installation of AOSP11.zip its stuck and reboot to fastboot then try again install without wiping system its will works.
6.Reboot To System and Your Android 11 is Ready to go...
3.Workings
WiFi, Bluetooth, RIL, etc
4.Known Issues
Camera,Flashlight,Fingerprint[Major Issue but i am trying to resolve them]
5.Download Link: https://www.mediafire.com/file/b6v8nilxctnfkf5/aosp11.zip/file [Gapps Included]
6.Source
1.Rom source: https://github.com/phhusson/treble_experimentations/releases
2.Kernel Source:
https://forum.xda-developers.com/t/gsi-vendor-for-mm2-oxygen-by-team-o-8322.4139599/
as this post do not contain Kernel Source so i do not have kernel source....
Note: There is some three Major Bugs camera , Fingerprint And Flashlight and I am trying to resolve them but as i am not developer so its not easy for me
here i will provide log-cat error behind these errors and any one who is interested to resolve them his help will be appreciated as far as these errors the rom is perfect to use in daily life.....
{
CANNOT LINK EXECUTABLE "/system/vendor/bin/mm-qcamera-daemon": library "libgui.so" not found: needed by /vendor/lib/libmmcamera2_stats_modules.so in namespace (default)
CANNOT LINK EXECUTABLE "/vendor/bin/hw/[email protected]": library "libgui.so" not found: needed by main executable
CANNOT LINK EXECUTABLE "/vendor/bin/hw/[email protected]": library "libkeystore_aidl.so" not found: needed by main executable
}
Warning:I am not responsible to anything happen with your device if you are come here then you know what are you doing...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​

			
				
Nice to see A11 booted on Mi max 2. Fingerprint for mido A11 is working. The same fix used for mm2 for A10 may be it works for A11 too. Trying aosp-phh now..
Kunal panchal said:
Nice to see A11 booted on Mi max 2. Fingerprint for mido A11 is working. The same fix used for mm2 for A10 may be it works for A11 too. Trying aosp-phh now..
Click to expand...
Click to collapse
Thankyou...
I will try this.
DJsmk123 said:
Thankyou...
I will try this.
Click to expand...
Click to collapse
You should also check Mi Max2 telegram channel, there are newer kernels and roms. Perhaps you can find necessary libs from them.
DJsmk123 said:
Thankyou...
I will try this.
Click to expand...
Click to collapse
I tried your A11 with mochi fix. Fingerprint works perfectly.
Release GF3258-FP Fix · Jebaitedneko/mochi-porter
This patch ports over Vince HALs and some modded ones to other devices with Goodix-GF3258 fp sensor to enable fp functionality. Should work till A10. Take backup of /vendor before flashing. NOTE: T...
github.com
asdfg34 said:
I tried your A11 with mochi fix. Fingerprint works perfectly.
Click to expand...
Click to collapse
Pls provide me this fix link
DJsmk123 said:
Pls provide me this fix link
Click to expand...
Click to collapse
I edited my previous message.
I love my Mi Max 2 (currently with EvoX 4.7) and it's great to see ongoing development . Looking forward to trying a future release - thank you
Thats so satisfying hearing about A11 for our XIAOMI MI MAX 2.... thanks to you for working hard to give our community a good bugless rom for our MAX 2.
Hey man how are , i flashed the rom doing all the wipping , but after boot logo it says , file ayatem corrupt asking for password . I have entered the password , it says system files damaged or corrupt. What can i do
enius6 said:
Hey man how are , i flashed the rom doing all the wipping , but after boot logo it says , file ayatem corrupt asking for password . I have entered the password , it says system files damaged or corrupt. What can i do
Click to expand...
Click to collapse
I think you should try orange fox recovery and wipe all partition except internal storage now install asop11.zip
It may be go fastboot do not worry go again recovery flash asop11.zip without mount and dismount partitions.
If you find error again then send me screenshot of the error..
DJsmk123 said:
I think you should try orange fox recovery and wipe all partition except internal storage now install asop11.zip
It may be go fastboot do not worry go again recovery flash asop11.zip without mount and dismount partitions.
If you find error again then send me screenshot of the error..
Click to expand...
Click to collapse
I have done it like you said , wiped all tha partitions expect internal , clean flash using orange recovery i got this error . I have flashed again without wiping just like as you saying and got the rror again. It hasn't stuck at boot loader . I will try again and send you the screenshot
enius6 said:
I have done it like you said , wiped all tha partitions expect internal , clean flash using orange recovery i got this error . I have flashed again without wiping just like as you saying and got the rror again. It hasn't stuck at boot loader . I will try again and send you the screenshot
Click to expand...
Click to collapse
Try to flash firmware first then OS
enius6 said:
I have done it like you said , wiped all tha partitions expect internal , clean flash using orange recovery i got this error . I have flashed again without wiping just like as you saying and got the rror again. It hasn't stuck at boot loader . I will try again and send you the screenshot
Click to expand...
Click to collapse
It is because of Android security, you have to format internal sd to avoid this error.
enius6 said:
I have done it like you said , wiped all tha partitions expect internal , clean flash using orange recovery i got this error . I have flashed again without wiping just like as you saying and got the rror again. It hasn't stuck at boot loader . I will try again and send you the screenshot
Click to expand...
Click to collapse
Plz provide me screenshot as well as if possible logcat
DJsmk123 said:
MI MAX 2
Android 11 by DJsmk123​
1.INTRODUCTION
Well, Android 11, Google’s 11th iteration looks similar to Android 10 but with a handful of new features and changes. The update brings notification history, Chat bubbles, Conversation notifications, screen recorder, new media controls, smart device controls, one-time permission, improved dark theme with the scheduling system, app suggestions, wireless android auto, and many more....
2.Installation Guide
1.First Download AOSP11.zip
2.Now From Any recovery backup your device
Note:Recommended Recovery Orange Fox Recovery
3.Now Wipe all Partition except internal storage
4.Now Install AOSP11.zip
5.if during installation of AOSP11.zip its stuck and reboot to fastboot then try again install without wiping system its will works.
6.Reboot To System and Your Android 11 is Ready to go...
3.Workings
WiFi, Bluetooth, RIL, etc
4.Known Issues
Camera,Flashlight,Fingerprint[Major Issue but i am trying to resolve them]
5.Download Link: https://www.mediafire.com/file/b6v8nilxctnfkf5/aosp11.zip/file [Gapps Included]
6.Source
1.Rom source: https://github.com/phhusson/treble_experimentations/releases
2.Kernel Source:
https://forum.xda-developers.com/t/gsi-vendor-for-mm2-oxygen-by-team-o-8322.4139599/
as this post do not contain Kernel Source so i do not have kernel source....
Note: There is some three Major Bugs camera , Fingerprint And Flashlight and I am trying to resolve them but as i am not developer so its not easy for me
here i will provide log-cat error behind these errors and any one who is interested to resolve them his help will be appreciated as far as these errors the rom is perfect to use in daily life.....
{
CANNOT LINK EXECUTABLE "/system/vendor/bin/mm-qcamera-daemon": library "libgui.so" not found: needed by /vendor/lib/libmmcamera2_stats_modules.so in namespace (default)
CANNOT LINK EXECUTABLE "/vendor/bin/hw/[email protected]": library "libgui.so" not found: needed by main executable
CANNOT LINK EXECUTABLE "/vendor/bin/hw/android.hardware.[email protected]": library "libkeystore_aidl.so" not found: needed by main executable
}
Warning:I am not responsible to anything happen with your device if you are come here then you know what are you doing...
View attachment 5159823View attachment 5159825View attachment 5159827View attachment 5159829View attachment 5159837View attachment 5159833View attachment 5159835
​
Click to expand...
Click to collapse
New patchs for fingerprint
1.For Goodix Fingerprint flash Mochi-fix.zip
2.For FPC First flash Mochi-fix.zip and then fpc.fix
for Camera stay tune...
Some Android 11 Rom on the way...
DJsmk123 said:
New patchs for fingerprint
1.For Goodix Fingerprint flash Mochi-fix.zip
2.For FPC First flash Mochi-fix.zip and then fpc.fix
for Camera stay tune...
Some Android 11 Rom on the way...
Click to expand...
Click to collapse
I don't know what the problem might be with the camera but do you have any idea when that might be fixed please?
Thanks for your work.
thewizardoz said:
I don't know what the problem might be with the camera but do you have any idea when that might be fixed please?
Thanks for your work.
Click to expand...
Click to collapse
This vendor image based on android 9 and android 10(Not perfectly) so all libs of camara not working perfectly with android 11 system libs and for updating libs I have to find them and link to system.
Actually i am working on this phone it's sad that I have no extra phone for my personal use.
I can't say how much time...
Thanks for your appreciation
[delete]

How To Guide [SCRIPT][FLASHABLE] Encryption disablers for Redmi Note 10 Pro (MIUI vendor, OSS vendor) [SWEET]

So, here is a little script, which I modified to work on Redmi Note 10 Pro (tested and working on sweet). I didn't create this, only modified it, so all credits goes to ghostrider_reborn.
Edit:
found another working encryption disabler (rmcrypt.zip), working out of the box, so no edit by me, main difference is better error handling - all credits goes to [email protected]
Edit2:
just to have all bases covered, and all info on one place, I attached encryption disabler script for OSS vendor based ROMs, originally created for POCO X3 NFC, but working as well on sweet, created by ghostrider_reborn, so all credits belongs to him...
DISCLAIMER: You know the drill - You are responsible for your own actions - if you choose to use this script on your phone - I am not responsible for any damage that may occurs while (or after) using this script - it works on my device, but I can't guarantee it will work on yours. Also removing encryption off your /data partition may have unforeseen consequences - for you, your data, your phone - this is a serious modifications of your phone - do it only if you know what you are doing - AT YOUR OWN RISK!
Requirements: unlocked bootloader, flashed custom recovery (OFOX, TWRP), flashed prebuilt MIUI vendor or OSS vendor
Installation: flash attached file in custom recovery
First use:
- flash attached file in custom recovery as the last thing before you reboot recovery (for example flash custom ROM, flash GAPPS, MAGISK and then as the last thing this script)
- mandatory! - do a FORMAT DATA confirmed by YES - this is one time only and needed to remove encryption from internal storage (/data partition) - WARNING! - FORMAT DATA will destroy all content on your internal storage - do a backup before you do so!
Usage:
- flash attached file in custom recovery as the last thing before you reboot recovery EVERY time you flashed a new custom ROM, flashed OTA of your installed custom ROM...
- - if you forget to do that, on the next boot to system your internal storage WILL BE ENCRYPTED!
Tested on:
Redmi Note 10 Pro (sweet) + custom ROMs
Not tested/supported :
MIUI itself
Credits:
encryption-disabler-sweet.zip: ghostrider_reborn
Disable_Dm-Verity_ForceEncrypt_20210320.zip: ghostrider_reborn
rmcrypt.zip: [email protected]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
˅˅˅ Important: for OSS vendor based ROMs use Disable_Dm-Verity_ForceEncrypt_20210320.zip ˅˅˅​
Good work...I will try
Thank you for the post/modiciation and the original developer too for his work!
So when i want to change rom, I don't need to do a format data over and over again right?
*On my previous device (ginkgo) when i flashed a custom rom, I don't need to do a format data, i just need to flash this Disable dm verity zip and rom successfully booted without wiping my internal
galileogarin said:
So when i want to change rom, I don't need to do a format data over and over again right?
Click to expand...
Click to collapse
yes, hopefully
(on my previous device (surya) there was this one specific custom ROM (RRemix), for which wipe data was not enough and you must format data even on decrypted storage if you wanted to have clean flash/installation, so I do hope this will not be the case on sweet)
Hallo,
Can somebody confirm this script working?
i tried everything on the world but no suc6
format data x times not working
But i am tired to complete install a rom and all other stuff again and again
Fred Vlippenstein said:
Hallo,
Can somebody confirm this script working?
i tried everything on the world but no suc6
format data x times not working
But i am tired to complete install a rom and all other stuff again and again
Click to expand...
Click to collapse
You can check attached screenshots in OP, there you can see status of my phone - NOT ENCRYPTED. I achieve that by flashing the attached script and FORMAT DATA confirmed by YES. So yes, this script works, at least on my phone did...
added another working encryption disabler script (tested on sweet), check the OP
so which should i use?
rachadiadi said:
so which should i use?
Click to expand...
Click to collapse
- try rmcrypt.zip, it has at least some error handling, which can tell you, if something is wrong with the process of the disabling encryption
- the first one modified by me, is very basic, super simple one, which only blindly try to copy necessary files to the needed location, but never check if that is actually accessible or not, so in the end you'll never know, if that copy process really did what it should (I encountered at least one case, where first script says it finished successfully, but in the end, after reboot to system, my /data partition ended encrypted)
same here,update to miui 12.5 and flash the needed files phone is incrypted again but if i restore the miui v12.0.15 who was decrypted its decryped after reboot
strainge situationaa
no other solution found try every other options
MIUi stock indonesian is not SUPPORTED ?
arifn82 said:
MIUi stock indonesian is not SUPPORTED ?
Click to expand...
Click to collapse
MIUI in general not supported
jeryll said:
MIUI in general not supported
Click to expand...
Click to collapse
any known alternative work-around for miui?
arifn82 said:
any known alternative work-around for miui?
Click to expand...
Click to collapse
AFAIK not ATM
jeryll said:
AFAIK not ATM
Click to expand...
Click to collapse
previously i had a poco x2 and this was possible for that device
arifn82 said:
previously i had a poco x2 and this was possible for that device
Click to expand...
Click to collapse
you can also try latest Orange Fox recovery, which has built in switch for disable forced encryption and is optimized for work with MIUI, but if that actually works you'll need to find out by yourself...
jeryll said:
you can also try latest Orange Fox recovery, which has built in switch for disable forced encryption and is optimized for work with MIUI, but if that actually works you'll need to find out by yourself...
View attachment 5323251
Click to expand...
Click to collapse
will try and inform you !
arifn82 said:
will try and inform you !
Click to expand...
Click to collapse
did it work?
added another working encryption disabler script - this time for OSS vendor based ROMs (tested and working on sweet), check the OP
jeryll said:
added another working encryption disabler script - this time for OSS vendor based ROMs (tested and working on sweet), check the OP
Click to expand...
Click to collapse
Thank you

Categories

Resources