• 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][OFFICIAL][9.0] XenonHD 9.0 | Enforcing | VoLTE

LinuxPanda

Senior Member
May 24, 2017
691
531
93
India

Code:
[B]/* Disclaimer 
* 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 blame me in any way for what happens to your device, I will laugh at you.
* BOOM! goes the dynamite
*/[/B]
TeamHorizon's XenonHD rom builds for Xiaomi Redmi 5 (rosy)
[url]http://www.xenonhd.com/[/URL]

XenonHD is a custom firmware aka ROM for various Android devices. It is based on LineageOS 16.0 with additional features, performance and battery life improvements.
The idea behind XenonHD is to give users a ROM that is "blazing fast, rock stable and buttery smooth".

Download Links:
ROM: Official Stable
Changelog: Stable
Gapps: Open GApps | MindTheGapps
, MindTheGapps Mirror
Only Pico/Nano are the recommended Open GApps packages
Please check Open GApps Package Comparison for full details

Other Links:
Github
Google+
Telegram

Flashing Instructions:
You need to flash manually via recovery because OTA update doesn't seem to work with twrp/orangefox.

Clean Flash
• Downloaded the new rom build to your phone using the direct link or XenonOTA app
• Reboot to recovery
• Take full backup in twrp
• Wipe (system, data, cache, dalvik)
• Flash the new build
• Install GApps package
• Reboot - The first boot can take up to 5 minutes

Dirty Flash
• Downloaded the new rom build to your phone using direct link or XenonOTA app
• Disable Magisk modules if you're using any
• Reboot to recovery
• Take full backup in twrp
• Wipe (system, cache, dalvik)
• Flash the new build
• Reboot

What's working:
• Audio
• Bluetooth
• Call recording
• Camera/Camcorder/Flash
• Charging/Offline-charging
• Cast
• Doze/Deep-sleep
• Fingerprint
• FM radio
• Google voice assistant
• GPS
• Hotspot/Tethering
• IR?
• SELinux [without neverallows]
• Sensors
• Torch
• RIL (Calls, SMS, Data)
• VoLTE
• Wi-Fi

Known issues:
• Volte [Apparently volte breaks other things, so no volte until a proper fix is made]
• Google voice assistant [Found the proper fix, but it breaks in-call volume adjustment, so RIP for now]

Notes:
• ROM built with doge kernel, so report bugs only if you're using doge kernel
• Join, Telegram Group for support

Necessary config changes for gcam:
1) Video recording resolution should be set to 1080/720p
2) HDR mode should be turned off for selfie cam

Device Source:
Kernel Source
Device Source
Vendor Source

XDA:DevDB Information
Official XenonHD 9.0 ROM by TeamHorizon, ROM for the Xiaomi Redmi 5

Contributors
xDoge
Source Code: [url]https://github.com/TeamHorizon[/URL]

ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.18.x
ROM Firmware Required: Oreo
Based On: LineageOS

Version Information
Status: Stable

Created: 2019-04-06
Last Updated: 2020-01-26
 
Last edited:

LinuxPanda

Senior Member
May 24, 2017
691
531
93
India
ChangeLogs
20200126
Code:
[COLOR="DimGray"][B]ROM Changes[/B]
• Reverted some memory config changes
• Added some new memory config changes
• Fixed WhatsApp web camera issue
• Add trim properties
[B]Kernel Changes:[/B]
• Removed memory resource controller for cgroups & swap[/COLOR]
20200118
Code:
[COLOR="DimGray"][B]ROM Changes[/B]
• January security patch
• Memory config changes
• Possible fix for whatsapp camera green tint issue
[B]Kernel Changes:[/B]
• Enabled cpusets
• Enabled memory resource controller for cgroups & swap[/COLOR]
20191228
Code:
[COLOR="DimGray"][B]Kernel Changes:[/B]
• Fixed gcam focus issue[/COLOR]
20191215
Code:
[COLOR="DimGray"][B]ROM Changes[/B]
• Upstream changes
• Audio config changes
• December security patch
[B]Kernel Changes:[/B]
• Rebuilt again from scratch using Oreo source code released by Xiaomi
• Memory management changes
• Fixed force reload of background apps after few mins
• Fixed mic issue in apps like telegram, messenger, instagram etc.[/COLOR]
20190715
Code:
[COLOR="DimGray"][B]ROM Changes[/B]
• July security patch [9.0.0_r44]
[B]Kernel Changes:[/B]
• Upstreamed to CAF tag LA.UM.7.6.r1-05500-89xx.0
• Disabled cpusets
• Disabled cpuboost
• Reverted the memory management changes from the previous build[/COLOR]
20190621
Code:
[COLOR="DimGray"][B]ROM Changes[/B]
• Fixed fingerprint sensor which was not working for few users
• Swap size increased to 1GB
[B]Kernel Changes:[/B]
• Upstreamed to 3.18.140
• Upstreamed to CAF tag LA.UM.7.6.r1-05300-89xx.0
• Memory management changes
• Gcam, focus issue fixed
• Gcam, screen turning dark on focusing fixed[/COLOR]
20190516
Code:
[COLOR="DimGray"]• Fixed in-call volume adjustment[/COLOR]
20190513
Code:
[COLOR="DimGray"][B]ROM Changes[/B]
• May security patch [9.0.0_r37]
• Fixed Wifi casting selinux denial issue
• Addressed some selinux denials
• UI responsiveness improved
• Removed dirac audio support as it was interfering with all other equalizers
• Add AudioFX
• VoLTE fixed finally [To enable VoLTE icon, [U]Settings -> XenonHD Hub -> Miscellaneous[/U]]
[B]Kernel Changes:[/B]
• Fixed CPU throttling issue
• Upstreamed to CAF tag LA.UM.7.6.r1-04800-89xx.0
• Upstreamed to 3.18.139
• Gcam focus issue fixes
• Gcam portrait mode crash fix
• Removed triple framebuffer support
• Fixed CPU throttling issue
• Changed default i/o scheduler to CFQ[/COLOR]
20190421
Code:
[COLOR="DimGray"]• Back to [U]Userdebug[/U] variant build [Because tons of errors in the logs with user builds even though it was working fine]
• Removed raw camera permissions [In gcam night mode, it just displayed dark screen instead of the actual frame]
• RIL changes
• Switched back to rosy oreo thermal blobs[/COLOR]
20190419
Code:
[COLOR="DimGray"]• Voice recording fixed
• Audio config changes
• Addressed camera specific selinux denials
• Switched back to rosy oreo audio blobs [Audio quality & volume levels seems better/proper with rosy specific audio blobs, hence the change][/COLOR]
20190418
Code:
[COLOR="DimGray"][B]ROM Changes[/B]
• [U]User[/U] variant build
• Dalvik/hwui config changes
• RIL config changes
• Audio configs updated to pie
• Fixed google voice assistant [Tested with MindTheGapps & OpenGApps nano]
• Addressed some selinux denials
[B]Kernel Changes:[/B]
• Upstreamed to CAF tag LA.UM.7.6.r1-04500-89xx.0
• Disabled vga arb support[/COLOR]
20190411
Code:
[COLOR="DimGray"][B]ROM Changes[/B]
• Enabled interaction boost support [seems to improve ui responsiveness]
• Possible fix for color calibration issue
[B]Kernel Changes:[/B]
• Add/enable triple framebuffer support
• Disabled kcal support[/COLOR]
20190409
Code:
[COLOR="DimGray"]• Official stable build
• April security patch [9.0.0_r35]
• Build signed with XenonHD's private keys [Need clean flash else won't boot][/COLOR]
20190406
Code:
[COLOR="DimGray"]• Initial Unofficial BETA build [9.0.0_r34]
• [COLOR="Red"][U]VoLTE won't work, so don't ask[/U][/COLOR][/COLOR]
 

Attachments

Last edited:

LinuxPanda

Senior Member
May 24, 2017
691
531
93
India
FAQ

1) Will there be regular updates?
Atleast once/month, usually after aosp security patch is merged.
Apart from that, Ill release a new build in case of major bugs that breaks the ROM to be used as daily driver.

2) When will you fix VoLTE?
After xiaomi releases miui pie stable for redmi 5. :cool:
On a serious note, I don't have volte only sim, so I have no idea.

Fixed.

3) Reporting bugs
DO NOT Report bugs if
• if you didn't perform a clean install.
• if you're running a custom kernel.
• if you've installed Xposed.
• if you're using battery/thermal mods.

4) How to report bugs?
• Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.
• Mention what custom stuffs you've installed in the rom, like Magisk modules, etc.
• If the problem disappears after disabling selinux, disable SELinux and grab logs using SysLog app.
• If its a random reboot, grab dmesg. [Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless.]

5) Disabling SELinux
Needs root. You can disable SELinux via the following options.
SELinux Mode Inverter Magisk module
SELinuxModeChanger App
Terminal Emulator App

To disable SELinux using a terminal emulator, run the following commands
Code:
> su
> setenforce 0
6) Taking Logs
Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.
Using adb
Using MatLog app
Using SysLog app for audit logs

 
Last edited:
  • Like
Reactions: danish9292

AnthonyArkz

Member
Jun 12, 2018
9
2
3
I noticed a bug with the color calibration on the settings. If u change the saturation and lock the screen, after some minutes or seconds, when you turn on the screen again, the colors will be weird ( like inverted colors ).
 

Manosdocpap

Senior Member
Feb 26, 2017
160
76
0
Hello again, thanks for the ROM, it is sailing smooth but a small graphic glitch is that status bar items are again placed as if there was rounded screen. The borders are way in the middle. They should have been to the sides more.
 

LinuxPanda

Senior Member
May 24, 2017
691
531
93
India
New build is up. Dirty flash will do.

You need to flash manually via recovery because OTA update doesn't seem to work with twrp/orangefox.

20190411
Code:
[COLOR="DimGray"][B]ROM Changes[/B]
• Enabled interaction boost support [seems to improve ui responsiveness]
• Possible fix for color calibration issue
[B]Kernel Changes:[/B]
• Add/enable triple framebuffer support
• Disabled kcal support[/COLOR]
Hello again, thanks for the ROM, it is sailing smooth but a small graphic glitch is that status bar items are again placed as if there was rounded screen. The borders are way in the middle. They should have been to the sides more.
I did try changing some configs but it seems more config changes are needed because UI still looks the same.
 
  • Like
Reactions: danish9292

LinuxPanda

Senior Member
May 24, 2017
691
531
93
India
New stable build is up. Need clean flash as this is User variant build and all future builds will be the same.

20190418
Code:
[COLOR="DimGray"][B]ROM Changes[/B]
• [U]User[/U] variant build
• Dalvik/hwui config changes
• RIL config changes
• Audio configs updated to pie
• Fixed google voice assistant [Tested with MindTheGapps & OpenGApps nano]
• Addressed some selinux denials
[B]Kernel Changes:[/B]
• Upstreamed to CAF tag LA.UM.7.6.r1-04500-89xx.0
• Disabled vga arb support[/COLOR]
 
Last edited:

ThigSchuch

Member
Apr 16, 2016
46
7
8
System crashes on latest build when I try to record audio.
I tested in Telegram and in recorder stock app.

About the System eating RAM, it begins in 2~3 days, I'll see, installed just right now.
 
  • Like
Reactions: LinuxPanda