[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] hrafninn:
RR-N-v5.8.5-20171021-markw-Unofficial

DOWNLOAD - https://drive.google.com/open?id=0B-OQDz7YcxFOVVp0Vi1rTTZvOW8

INSTALLATION

Download latest build

Backup your current rom in TWRP

Flash rom

Flash Gapps (micro or smaller recommended)

Reboot

Do a full wipe if any issues

FEATURES

Features taken from official Resurrection Remix. Features may be missing in this unofficial build.

Resurrection Remix OS 5.8.5 (Android 7.1.2 Nougat)
Based On Latest Google Android 7.1.2

Resurrection Remix Crowdin : [url]https://crowdin.com/project/resurrectionremix/[/url]

RR Customizations:
-Enable/Disable Navbar
-Navbar Button Customization smartbar
-Navbar Pulse
-Navbar Fling
-Double Tap To sleep navbar

-Statusbar
-Brightness Slider
-Enable/Disable Show Notification Count
-SuperUser Indicator Switch
-Double Tap To sleep Statusbar
-Carrier Label
-Carrier Label Switch
-Carrier label Color
-Carrier Label size
-Clock Customizations
-Time & date
-Day & date Toogle
-Center/Right/Left Clock Choice
-Date Format
-Clock Font Styles
-Battery
-Battery Bar customization
-Battery Icon Customization(circle/landscape/Potrait and more)
-Battery % Text
-Network Traffic Indicator
-Network Traffic Arrows Switch
-Incoming/OutGoing Traffic
-Network traffic Color
-Statusbar RR Logo
-RR logo Color
-Position
-Custom Logos
-logo Color
-Position
-Style
-StatusBar Weather
-Weather Color
-Weather Position(left/right)
-Weather Font Style
-Weather size
-StatusBar Ticker
-Ticker Text color
-Ticker Icon Color

-Animations
-Toast Animations
-ListView Animations
-System Animations
-Power Menu Animations
-Misc Animations

-Gestures
-Gestures Anywhere Feature
-3 Finger Swipe Screenshot Gesture

-App Circle Bar
-Choose apps in AppSidebar
-Trigger Width
-Trigger Hieght
-Trigger Position
-App Sidebar
-Choose apps in App circle
-Trigger Width
-Trigger Hieght
-Trigger Position
-Pie
-Pie Trigger(left ,Right ,Bottom)
-Pie Targets
-Pie Colors
-More Pie Features

-Recents Panel
-Clear All button Switch
-Clear All Tasks Switch
-Clear All Button Location(Top right,Top Left,Top Center,Bottom Left,Bottom Right,Bottom Center)
-Full Screen Recents
-Recents Styles
-OmniSwitch

-Cclock Widget
-CLock And Alarm Customizations
-Weather Panel Customizations
-Calender Events

-LockScreen
-Lockscreen Bottom Shortcuts
-Lockscreen General Shorcuts
-100+ Icons for Shortcuts
-Double Tap to Sleep Lockscreen
-Lockscreen Media Art/Enable Disable
-Quick PIN/Patter Unlock
-LockScreen Wallpaper
-Lockscreen Weather Widget
-Lockscreen Icons Color

-Quick Settings Draggable Tiles
-Customizable Tiles
-Dyanamic Tiles Adjustment
-Number of columns/rows
-Tile Animations
-Notification Drawer
-LongPress Toogles to Enter Settings
-Disable Immersive Mode Messages
-Force Expand Notification
-Quick PullDown
-Smart Pulldown
-Notification Panel Transperency
-Volume Dialog Transperency
-Notification Panel Stroke
-Volume Dialog Stroke

-Buttons
-Backlight Timer
-Backlight Strength

-Advanced Reboot Menu
-Power Menu Customizations
-Power Off
-Reboot(Recovery, Bootloader, Hot Reboot)
-ScreenShot
-Power Menu End Calls Switch
-Restart SystemUI
-Airplane Mode
-ScreenRecord
-On the Go Mode
-Sound Panel

-Home Button(For devices with HW keys Only)
-Home Button answer call
-Long Press Actions
-Double Tap Actions

-Menu Button(For devices with HW keys Only)
-Short Press Actions
-Long Press Actions

-Search Button(If Device Supports)
-Short Press Action
-Long Press Action

-Volume Buttons
-Wake Up Device
-Playback Control
-Ringtone Volume Control
-Keyboard Cursor Control
-Swap Buttons on Landscape mode
-Volume Key Answer

-Miscellaneous
-Selinux Switch (Switch Between Permissive and Enforcing Selinux if Device has Selinux Enabled)
-cLock Shortcut
-Disable Battery Saver Warning Color
-OTA U
-Cammera Shutter Sound Enable/Disable

-SystemUI Tuner
-Enabled By default
-Removed Demo mode and Tweaked SystemUI Tuner As compared To AOSP
-StatusBar Icons Cuzomizations
-Quick Settings Customizations

-Other Features
-Perfomance Profiles
-LCD Density
-Expanded Desktop Mode
-Heads Up Switch and customizations
-Live Display
-Configurable 0,90,180,270 Degree Rotation
-Lock Screen Autorotate Switch
-Native Tap to Wake From Marshmallow
-Double Tap Power Button To enable Camera gesture
-Prevent Accidental Wakeup
-Wake Phone on Charging Plug
-Battery Light Customizations
-Notification Light Customizations
-Font size
-CM privacy guard
-Performance Tweaks(Kernel Aduitor Inbuilt)

[STRIKE]-CM root inbuilt[/STRIKE]

[STRIKE]-RR OTA[/STRIKE]
-A Whole new RR Configurations
-OverAll Smoothness Improvements
-Optimizations to Improve Battery
-Includes All Android Nougat Features
-Includes ALL CM14.1 Features
-AND MUCH MUCH MORE

PREVIOUS BUILDS

RR-N-v5.8.5-20171018-markw-Unofficial - [url]https://drive.google.com/open?id=0B-OQDz7YcxFOY1JHOW9XUmdMTW8[/url]
RR-N-v5.8.5-20171017-markw-Unofficial - [url]https://drive.google.com/open?id=0B-OQDz7YcxFOQUdTY3VlT2F6eGc[/url]
RR-N-v5.8.5-20171004-markw-Unofficial - [url]https://drive.google.com/open?id=0B-OQDz7YcxFOMWc0aDNEQjBuQ1U[/url]
RR-N-v5.8.5-20171002-markw-Unofficial - [url]https://drive.google.com/open?id=0B-OQDz7YcxFOakdWY3ppZ2dnUkU[/url]
RR-N-v5.8.5-20170930-markw-Unofficial - [url]https://drive.google.com/open?id=0B-OQDz7YcxFObkN6Z2FrcUZzZ3M[/url]
RR-N-v5.8.5-20170927-markw-Unofficial - [url]https://drive.google.com/open?id=0B-OQDz7YcxFONGVnQ2tZcXhYeUU[/url]
RR-N-v5.8.4-20170924-markw-Unofficial - [url]https://drive.google.com/open?id=0B-OQDz7YcxFOM2VMWEE4SHhEcEE[/url]
RR-N-v5.8.4-20170923-markw-Unofficial - [url]https://drive.google.com/open?id=0B-OQDz7YcxFOazl0VU1uczhSSFE[/url]
RR-N-v5.8.4-20170912-markw-Unofficial - [url]https://drive.google.com/open?id=0B-OQDz7YcxFOVV90WldkUWhGSVk[/url]
RR-N-v5.8.4-20170909-markw-Unofficial - [url]https://drive.google.com/file/d/0B-OQDz7YcxFOajhXUU1Nb0hIMzQ/view[/url]
RR-N-v5.8.4-20170906-markw-Unofficial - [url]https://drive.google.com/file/d/0B-OQDz7YcxFObFNTM0VURVRFYzA/view[/url]
RR-N-v5.8.4-20170905-markw-Unofficial - [url]https://drive.google.com/file/d/0B-OQDz7YcxFOMGhIUUpnVFJVMU0/view[/url]

BUGS

Dark video recording with front facing camera during low light (temp fix: use Bacon Camera)

Sometimes battery percentage does not decrease after a full charge (temp fix: reboot)

[*]Fast charging not working for some. (temp fix: install this zip)

Mostly the same as in latest LineageOS from Razziell (due to same sources).

SOURCES

Device/vendor - https://github.com/Razziell

Kernel - https://github.com/animalchik

Qcom - https://github.com/LineageOS

Rom - https://github.com/ResurrectionRemix

My Git - https://github.com/hrafninn

CHANGELOG

2017-10-21 Charging bug fixed (?)
Forced fast charge
Qnovo charging
Gradual backlight
Quick wakeup
CPU freq fix + 1209 mHz
Radio tweaks
Reverted auto-brightness fix

2017-10-18 Auto brightness dim fix
CPU frequency 844 MHz
Re-added radio/compass tweaks
V2: Fixed front-facing camera

2017-10-17 [URL="https://github.com/karevn"]Karevn[/URL]'s EBBG DT2W fix
Smoother auto brightness
Default LCD density
Increased audio buffer
Fingerprint wakeup fix
Governor battery tweaks
Minor RR bug fixes
Latest security patches

2017-10-04 Fingerprint boost
Volume boost
Lionfish governor
Sioplus I/O scheduler
Dt2W improvements

2017-10-02 Disable VDD restriction
Final fix for DT2W
New RR translations

2017-09-30 Vibration intensity settings
Advanced reboot (possibly fixed)
D2TW can now be disabled

2017-09-27 Kernel: Impulse governor
Device: Final RR update

2017-09-24 Kernel: Zen Decision hotplug
Adreno Idler tweaks
Device: Airplane mode disabled by default

2017-09-23 Kernel: CPU Boost
Adreno Idler
TCP default algorithm: Westwood
Default I/O scheduler: Deadline
Device: Latest RR changes
Security patches 2017-09-05
System.prop changes
Changes to compass/sensors

2017-09-12 New kernel (Mokee sources)
Minor thermal fix

2017-09-09 Quick charging fixed
Kernel improvements (quicker boot)
Smaller changes to RR
Updated/synced sources

2017-09-06 Updated/synced sources
Ultra compression on zip (smaller file size)
Updated build info (hrafninn@resurrected)

2017-09-05 Initial release

FREQUENTLY ASKED QUESTIONS

[COLOR="SeaGreen"][B]Q[/B] Is your build better than Razziell's?[/COLOR]
[B]A[/B] Considering Razziell has abandoned Resurrection Remix I would say so.
The sources are more up to date in my build and is therefore probably more
stable.

[COLOR="SeaGreen"][B]Q[/B] Are there any kernel alternatives?[/COLOR]
[B]A[/B] My RR builds feature the kernel from [URL="https://github.com/anomalchik/android_kernel_xiaomi_msm8953"]animalchik[/URL] which is the only current
alternative with open source codes to my knowledge and will because of that
be the default kernel in future RR builds unless source codes are released
for another possibly better kernel. Many have requested Nosgoth V2+ which is
a continuation of animalchik's kernel made by Razziell. It's downloadable
from [URL="https://drive.google.com/file/d/0B0IUHdLYs_HnbnhVVXp1WEFsWDQ/view"]here[/URL]. It will not be in RR by default since it's still closed source.

[COLOR="seagreen"][B]Q[/B] How is battery life?[/COLOR]
[B]A[/B] In general, just excellent. Compared to MIUI it's maybe a bit behind since
MIUI limits background processes more than other roms.

[COLOR="seagreen"][B]Q[/B] How does the camera work?[/COLOR]
[B]A[/B] Most issues with the camera are fixed. The only issue left is that video
recording on the front facing camera is pretty dark, especially in
low light. If that is a problem download [URL="https://play.google.com/store/apps/details?id=com.fgnm.baconcamera"]Bacon Camera[/URL].

[COLOR="seagreen"][B]Q[/B] I experience low speaker volume. How do I fix this?[/COLOR]
[B]A[/B] Not sure if it qualifies as a bug in the rom, but I agree that speaker
volume is pretty low. To fix this, simply flash [URL="https://xdaforums.com/android/apps-games/soundmod-axon-7-dolby-atmos-t3412342"]Dolby Atmos[/URL] through TWRP
and simply activate "Volume Leveler". As an added benefit there's a lot
of settings to play around with.

[COLOR="seagreen"][B]Q[/B] When will you fix this bug?[/COLOR]
[B]A[/B] Unless I have caused the bug I probably won't be fixing it. I am not a
skilled developer, just someone who wants to build and share roms for a
device that has way too few developers.

[COLOR="seagreen"][B]Q[/B] How often will you release new builds?[/COLOR]
[B]A[/B] Probably around once a week if I have time and there are new commits.

[COLOR="seagreen"][B]Q[/B] Does the rom need a clean flash or is a dirty flash enough?[/COLOR]
[B]A[/B] It depends. If you come from MIUI or any Android 6 rom a clean flash is
needed, but when flashing from another rom on Nougat you can often get away
with a dirty flash. Sometimes you need to reflash Gapps to get everything
to work though.
[COLOR="seagreen"]
[B]Q[/B] My device got bricked while flashing your rom, how will you reimburse me?[/COLOR]
[B]A[/B] I won't. There is always a risk of bricking when flashing new firmware. I
always try to test a build before releasing it, but it's not always possible.
Be sure to create a backup in TWRP before flashing any rom

DONATE - If you wish to support me.