[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] DroidThug:
Android, Reimagined.

For the best experience, view the thread on a web browser like Chromium or Firefox.

Desktop: Brilliant. Mobile: Good. Tapatalk: OK. XDA-Labs: Horrible.

YOU are doing modifications to your device.
YOU are responsible for what you do.
We are not responsible for any damages, data loss or any type of unexpected,
bad or damaging results! If you have **SERIOUS** problems with this software,
please contact the developers or maintainers. We are not liable for anything
bad that happens to your device.
As long as you are responsible, some companies such as Xiaomi
WILL HONOR IT. Some people occasionally describe them as heroes.
Don't be stupid and bet on that though, please be responsible for what you do.
We prohibit you from overclocking to 1337 GHz thinking, that an OEM would
replace your glorious space heater etc.
We recommend you to take the advice above regardless.

halogenOS Checklist

Although no data should be lost or damaged by the flashing process,

we advise you to follow the following steps if you are coming from another rom:

Please take a full nandroid backup!

Please copy your back up to an external device.

Backing up your Internal Storage is also recommended.

When completed, please clean flash the build!

Although you usually can dirty flash halogenOS over other ROMs, considering the other

ROM has the same Android version, it is not guaranteed. In case of serious

crashes please do a clean flash.

You can dirty flash halogenOS 7 (Nougat) over halogenOS 6 (Marshmallow)

without any problems. Although we can't promise that it will work for you,

we can tell you that this has been tested. In fact, [MENTION=6584600]xdvs23[/MENTION] did a dirty flash of

XOS 7 over XOS 6 and has no problems.

If you get app crashes after dirty flashing over XOS 6 or another ROM, please just

clear the app data of those apps, and it should work fine then.

XOS is a new generation Android-based cutting-edge OS based on the Android Open Source Project and Code Aurora Forum releases.

What is XOS?

halogenOS, also known as XOS is a new Android ROM which ships with the global aim to

become a modular ROM which keeps as high as potentially possible operating

performance on your mobile device while still maintaining a sufficient feature

base of nice, small and minimal features that would not be available via any

external feature base, extension, mod or plugin.

We hope you have a truly halogenified experience!

Internals of XOS

At core, the ROM is composed mainly of components from the Android Open Source Project (AOSP)

and CodeAuroraForums (CAF),

featuring only extremely minor set of components from LineageOS (LaOS or LN) which

have been added to source in order to allow for better cross-device compatibility.

Our LOVE to others

A huge thanks goes to those behind the AOSP and CAF, the LineageOS Project and all of its

contributors for the sources used in the development of the base ROM which we

started with inclusive of all the work and dedication their team puts in order to

keep us updated on the awesome contributions that they make.

We will be keen on ensuring that we be up to date with the code from our base sources,

with regular ROM updates hopefully coming from time to time.

Please do not ask for ETA's (else you shall be spooked by Mr Skeltal). Almost all of us are

students, and with the current lifestyles and routines we have, it is not that easy to acquire

time to develop the ROM, though we'll be sure to keep you updated and release OTAs as

soon as they are available and ready for publication. If you want to be really updated quick,

then join us on Telegram: http://telegram.me/halogenos

Visit our website for features such as: Downloads, Information etc.

http://halogenos.org

(constantly updated)

​

Common stuff

The ROM is super stable as of now and we'll maintain a clean and proper ROM.

Known issues are going to be fixed as soon as possible. We don't have infinite time.

Highlights (some are mido-only):

Reworked Lockscreen Visualizer

New implementation of button backlight

Modern Services -> Google Assistant etc.

Substratum

Full media support (FFMPEG, video codecs, ...)

Great Audio quality, no distortions, no crap

Optimized many portions of the system including surfaceflinger, inputflinger, System Server, and more

Super fast boot

Superuser-capable

Soundmod support (not all soundmods work on Nougat, it's not our fault)

addon.d support (backups your gapps etc. when flashing new build - don't wipe system before flashing!)

init.d support

BusyBox

Disabled Access Time for all partitions (We don't need access time. When access time is enabled, it will store the exact date of the access when a file is accessed, what just wastes write cycles (in theory) and has impact in I/O performance.)

Super smooth

Signature Spoofing toggle (Support for MicroG)

Support for trusted third-party WebViews like Chrome

Long press on home for assist toggle

Security Patches in kernel

Kernel optimizations

Kernel - Upstreamed Linux base to 3.18.55 and CAF Base to LA.UM.5.6.r1-04700-89xx.0

OpenGapps (Mini/Micro/Nano recommended) and Banks GApps support

DoubleTapToWake and DoubleTapToSleep

Alert Slider

Full KeyHandler & KeyDisabler support

Dexpreopt for faster (first) boot time and less space consumption on data partition

Upgrade & Boot the ROM in just 5 minutes - no more endless waiting for flashing a new build

Very high compatibility with other ROMs

VERY IMPORTANT:

If you want to use root via SuperSU, make sure to use SuperSU 2.78 SR5 (or newer). Otherwise you won't be able to use sensors. You can also use Magisk and Phh's superuser if you desire to.

How to update the ROM:

Download the latest zip

Reboot into TWRP (Please use official TWRP)

Do not wipe anything

Flash the ROM

Flash SuperSU 2.78 SR5+ or Magisk)

Reboot

You don't need to wipe Cache/Dalvik.

You don't need to flash gapps again. There is some magic going on which keeps your GApps. Just make sure that you don't wipe system before flashing.

You don't need more than 5 minutes.

How to install the ROM for the first time:

Download the latest zip

Reboot into TWRP (Please use official TWRP)

Wipe system, data and cache (If you want to try a dirty flash, dont wipe anything)

Flash the ROM

Flash gapps if you want

Flash Magisk 11.5 (or newer) or SuperSU

Reboot

Screenshots

Currently right now, halogenOS will only include the stock Android theme.

We are going to use a custom theme as soon as that theme is working perfectly fine.

[MENTION=5325978]regalstreak[/MENTION]

[MENTION=6584600]xdvs23[/MENTION] (actually xdevs23, but that was already taken on XDA)

[MENTION=4671636]sewer56lol[/MENTION]

[MENTION=6013245]jbw716[/MENTION]

[MENTION=254736]marpe[/MENTION]

[MENTION=264093]dango99[/MENTION]

[MENTION=6641107]hunter_bruhh[/MENTION]

[MENTION=6552280]MSF-Jarvis[/MENTION]

[MENTION=5782959]keessonnema[/MENTION]

ROM Download Links

Download halogenOS now

SourceForge

ROM Sources

All sources incl. ROM, Kernel, Trees @ halogenOS GitHub Organisation.

Redmi Note 4

Kernel source

Device tree

Vendor tree

Join our

Telegram group

Telegram News Channel

Telegram Off-Topic Group

Telegram Testers Group

Credits

CodeAurora

CyanogenMod

And everyone else who contributed and helps us!

In case you feel left out here, please contact us!

Try the links here if you can't click on them (XDA Labs) etc.

SourceForge

halogenOS webpage

​

XDA:DevDB Information

halogenOS, ROM for the Xiaomi Redmi Note 4

Contributors

DroidThug, abhishek987, xdevs23, Everyone mentinoned Above!

Source Code: http://github.com/halogenOS

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.18.55

ROM Firmware Required: MIUI 8 7.2.25 Firmware

Based On: AOSP, CodeAurora Forums

Version Information

Status: Stable

Current Stable Version: XOS 7.1

Stable Release Date: 2017-06-04

Created 2017-06-04

Last Updated 2017-06-04