[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] NotesOfReality:
/*
* 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.
*/

Read the whole OP! Be respectful to each other and don't ask for ETAs, it's considered as being rude!

AOSP Extended is an AOSP based rom which provides stock UI/UX with various customisations features along with the Substratum theme engine. The project has been made by cherry-picking various commits from various other projects. Being based on AOSP it provides a smooth and lag-free experience out of the box. We will constantly try to add more features and make it even better in future updates. A ROM by a user, for a user. #StayAOSP #ExtendYourDevice #BeExtended

#ExtendYourDevice Here are the Extensions! on top of AOSP! We are constantly trying to update the list. Our aim is not to provide all the features available on earth. We are not thinking of cherry-picking every feature out there. Our aim is to add important features that we think should be here and also what you think. For addition of more tweaks or features, head on to our G+ community and post the list of features that you want! Features with commits will be more helpful!

[B]
-DUI(Fling/Pulse/Smartbar)
-Substratum Theme Engine
-Omni's QSHeaders Background
-One Handed UI
-MicroG
-Grid Recents UI
-AppOps
-Expanded Desktop
-Statusbar Clock/Date Customizations
-Dashboard Suggestions/Summaries (Enable/Disable)
-Notification Intervals
-Increasing Volume in Ringtone
-D2S On Navbar
-Long Press Back button to Kill App
-Dashboard Column Configurations
-Detailed Location QS Tile!
-Statusbar Traffic Indicators
-Notification Count
-DT2s On Statusbar
-QS Quick Pulldown
-QS Brightness Slider (Enable/Disable)
-QS Tiles Animations
-Force Expand Notifications (Enable/Disable)
-Immersive Mode messages (Enable/Disable)
-Flashlight Notifications
-Immersive Recents
-Toast Icon
-MediaScanner Behaviour On Boot
-Power Menu Customizations
-Additional Battery Saver steps
-Volume Rocker Tweaks (Wake/Music seek/Keyboard cursor control/Swap in landscape mode)
-Add Gestures Back to Settings App
-QS Haptic Feedback
-One Tap Data & Wifi Tile
-Auto Brightness Icon Toggle
-Breathing Notifications
-Clickable Clock and Date in Statusbar Header
-Long Press Gear Icon in Statusbar Header Launches Extensions
-Show 4G instead LTE switch
-Night Mode QS Tile
-Long press Caffeine Tile Action
-Customize QS Rows/Columns
-Customize small QS Tiles
-StatusBar Brightness Control
-Lockscreen Shortcut
-Double Tap on Lockscreen to Sleep
-Quick Unlock for PIN/Password
-Battery Styles and Percentage
-FMRadio
-Navbar QS Tile
-Flip Button Animation
-Unlink Notification Volume
-Status bar Clock Seconds
-Partial Screenshot Type
-Screenshot Delay
-VIA Browser
-Phonograph
-Pixel's UI (Navbar/Accent/Pixel launcher)
-Camera Sound Toggle
-Advance Ambient Display
-Longpress Power Button on Lockscreen for Torch
-Disable FC
-Wakelock Blocker
-Toggle Lockscreen Media Art
-Toggle Lockscreen Music Visualizer
-Ticker
-Bluetooth QS Tile Easy Toggle
-Disable QS on Lockscreen
-Invert Ambient Display's Color
-Toggle Dynamic Notification Card's Color
-Low Battery Notification Toggle
-Hide Clock/Date/Alarm Text from Lockscreen
-Lockscreen Clock's Font Customizations
-Weather on Lockscreen
-AEXPapers
-Heads up Customizations
-DU's HW Button Rebinding
-Button Backlight Customizations
-Recents Clear All FAB button and Re-positioning
-Recents Free Ram bar
-Custom Carrier label
-Dynamic Navbar
-Paranoid Android PIE Controls
-Pocket Lock & Pocket Judge (Accidental Touch)
And many more coming in future! Many extensions are added in each update so we miss out adding new extensions in this list. So always keep on checking the latest changelog in our G+ Community, and there you can monitor the previous changelogs as well, to see how far we have come![/B]

Download ROM, GApps here for your device!

Xiaomi Redmi 4 Prime (MARKW)

Google Apps

-OpenGApps/BeansGAppshttps://www.androidfilehost.com/?w=files&flid=171925https://www.androidfilehost.com/?w=files&flid=171925https://www.androidfilehost.com/?w=files&flid=171925

Want to try this awesomeness?

[b]-Download the ROM and GApps of your choice
-Backup each and every partition from TWRP Recovery
-Make a full wipe (system, data, cache, dalvik)
-Flash AEX Package
-Install GAPPS package
-Wipe cache!
-And at last Reboot!
[First boot will take few minutes! Have patience]
Clean Flash is always recommended![/b]

Changelog(Do you want it more precise?PM me or reply,if you want it as precise as possible check GitHub commits)

2018-02-05

AOSP Tag Upstream from r29(latest official AEX one) to r36_N2G48H

Merged January security patch (2018-01-05)

Added HAL 3(Camera2 API)

Reworked auto-brightness configuration presets to make them comfortable

Added Sound Amplifier by Karevn

Added and improved HWUI

Updated New Notification LED library in rom and driver in kernel

2018-03-23

Audio Improvement

Merged March 2018 security patch

Media profiles improvement

Auto-brightness improvement

Other fixes

Here's the official changelog (Which shouldn't be updated since I guess AEX team will never make changes to its Nougat-based project eventhough their "Gerrit Code Review" server is online for Nougat patches too,they're focused on Oreo)

[b]AospExtended 4.6 September Update! Final Nougat release

-Merge September security patch
-Merge latest AOSP Tag
-Merge latest CAF Tag in respective repos
-New AospExtended bootanimation
-Fixed adaptable storage
-Fix memory leaks
-Add support for more boost frameworks from Paranoid Android
-Improve fingerprint scanner performance
-Allow user to add or remove QS tiles with one click
-DUI: Support for left landscape navbar
-DUI: Migrate from broadcasts to API for some action handling
-Fix few NPEs
-Update all translations
-Update AEX Papers
-Update all pre-built packages
-Performance enhancements and bug fixes

Clean flash is always recommended​. Bug reports are not appreciated if not clean flashed.
Remove any kind of security PINs/Password and Fingerprints before flashing this build.

[/b]

If you want any bug to be fixed please write here on xda in detail. Give Logcats, mention your device name, mention if any mods and kernels, if used and please be specific about it. By helping us, you are helping yourself too.

Bugs&Fixes(if there are any)

"Pocket Mode" drains battery if enabled--(FIX)->Disable "Pocket Mode"(Settings-->Display-->Pocket Detection).

"Airplane Mode" enabled by default at the first boot, disable it and since the second boot it should work normally (to be clarified more)

--BTW There aren't any new bugs you may have not found on other nougat based roms for this device

Please Join Our Google+ Community and Subscribe to our Telegram Channel. Also join our Telegram Group Chat!

Do you want to translate to your language? Visit our Crowdin

All sort of contributions are welcomed. You can post your walls in our G+ community. Minimum res we require is W: 1152px | H: 2048px. We don't want our users to fight with each other so we humbly request you to be respectful to each other. We are not earning anything by sharing this ROM. Always read the full OP. Don't Quote the whole OP. Join our channel and communitiy. #StayHappy #ExtendYourDevice

Checkout this ROM!

https://drive.google.com/open?id=1PtyQcEOUWdPpU9VmHM57DlsMuuCXxMgT

They're so many ,it's better to view them using a Google Drive folder

People behind this amazing ROM!

-[MENTION=5566914]ishubhamsingh[/MENTION](Owner/Dev/Designer)

-JDC Team

-AOSP-OMS

-Huge thanks to [MENTION=5272996]srisurya95[/MENTION]& [MENTION=5854483]Akhil Narang[/MENTION](Devs of AOSP-OMS)

-TurboRom

-DirtyUnicorns

-AOSiP

-ZephyrOS

-SlimRoms

-BlissRoms

-LineageOS/Cyanogenmod

-TeamSubstratum

-Nitrogen Project

-Pure Nexus

-OmniROM

-AOSPA

-ABC ROM

-GZR Community

-Lakor Tools for Via Browser

-Kabou Zeid for Phonograph

-[MENTION=7725051]KrapK [/MENTION](Spanish Translation)

-[MENTION=6519039]jhenrique09 [/MENTION](PT BR Translation)

-[MENTION=3065130]kormateusz [/MENTION](For MK Explorer)

-[MENTION=5268708]creative21[/MENTION](For Dark Pixel BootAnimation)

-[MENTION=1255308]SaschaHa[/MENTION](For Slimperience Browser)(Which is removed in this unofficial version)

-[MENTION=7580472]AlienCreature7[/MENTION] and [MENTION=7772507]Wizper99[/MENTION] (For designing the ROM Logo, Fling etc)

I guess there is nothing wrong in reading facts!

-Base Of the ROM & Version?

->Rom is based on AOSP

-Why no "Incremental updates" Support?

->Actually the updates we provide monthly are heavily changed and modified than the previous builds. New stuffs are merged and added. So we don't provide incremental updates and recommend clean flash.

-Does this ROM Support Substratum/CMTE?

->Yes, full Substratum support!

-Which Gapps are recommended?

->OpenGapps or

->BeansGApps

-Will this ROM relock the bootloader?

->No.

-What about XPOSED?

->Still in development. We like Xposed but it messes up with the system so before giving any bug reports make sure you have xposed uninstalled.

-I am facing FCs, Bugs, Some feature is broken?

->Provide full info about your problem with logcats and the procedure to reproduce it.

->How to take Logcats?

https://goo.gl/UcTM9

-Adaway is not working :(

->Download it from here Adaway

-SElinux Linux mode changer app is not working nor Busy Box installer app is working.

->Everything is good with the sources. You should try other things first and then contact your maintainer.

-I want to contribute to the development of this ROM.

->Join our Google+ community

->Join our Telegram group chat

->Join our Xiaomi Redmi 4 Prime Dedicated Telegram group chat by asking [MENTION=7680322]psykkuno[/MENTION] via Telegram[/COLOR][/URL]

-I want to contribute to the translation of this ROM.

->Visit our Crowdin

​

ROM OS Version : 7.1.2 Nougat

ROM Kernel: Linux 3.x

Version Information:

Status: Stable

Release Date: 2018-02-05

Contributors

-SonicBSV(Main developer)

-@karevn

(If I forgot to list someody's name here I'm sorry ,feel free to contact me and I fix it)

Source Code

Rom = https://github.com/AospExtended/manifest

Device Tree = https://github.com/SonicBSV/android_device_xiaomi_markw_n

Kernel Tree = https://github.com/SonicBSV/android_kernel_xiaomi_markw_n/

Vendor Tree = https://github.com/SonicBSV/android_vendor_xiaomi_markw

//Thread designed by Shubham Singh and Amol Amrit and edited by me in order to add some markw-specific infos//

To-Do:

-Fine more Bugs&Fixes list and maybe changelog list too

In case it wasn't clear... This rom is actually discontinued, don't worry because you can still check out many other much more recent and updated roms based on Android Oreo (8.1.0) developed by SonicBSV and other developers

XDA:DevDB Information

[SHARE][ROM][7.1.2_r36_N2G48H][UNOFFICIAL] AospExtended ROM V4.6 [OMS/DUI][MARKW], ROM for the Xiaomi Redmi 4 Prime

Contributors

Micky99, SonicBSV, karevn

ROM OS Version: 7.x Nougat

Version Information

Status: Stable

Stable Release Date: 2018-03-23

Created 2018-02-18

Last Updated 2018-03-30