yashsingh1/xdaforums huggingface dataset:
[Mi 3 Android Development] Dr. Ramm:
TeamHorizon's XenonHD rom builds for Xiaomi MI3w/MI4 (aka cancro))

http://www.xenonhd.com/

XenonHD is a custom firmware aka ROM for various Android devices. It is based on LineageOS 14.1 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".​

Device Source:

https://github.com/TeamHorizon/android_device_xiaomi_cancro

https://github.com/TeamHorizon/android_kernel_xiaomi_cancro

Flashing Instructions:

To install this ROM you will need to have a latest custom Recovery such as TWRP installed.

Copy the downloaded ROM to your phone.

Boot into your recovery

Back up your ROM

Enter recovery

Make a full wipe (system, data, cache, dalvik)

Install the ROM

Install GAPPS package

Reboot - the first boot can take up to 5 minutes

Download Links:

ROM: Official / experimental / AFH mirror

Gapps: opengapps.org​

MicroG: microg.org[/SIZE][/CENTER]

Main features:

XenonOTA

XenonHD Changelog

NovaLauncher, Adaway, Kernel Adiutor, SuperSU

Root, adb, dev options, advanced reboot & installing apks enabled by default

Pixel UI, navbar, wallpaper

Material sounds & icons

DayNight theme

Network indicator & battery bar in status bar

Live Volume Steps

DT2S on lockscreen

Custom Quick Settings Tiles

Removed unnecessary things

Under the hood improvements and optimizations

...and more on the way!
​

Bugs:

Same as on LineageOS

Links:

G+: https://plus.google.com/u/0/communities/110254322179967248992

Github: https://github.com/TeamHorizon?tab=repositories

Crowdin (translations): https://crowdin.com/project/xenonhd-rom

Changelog (auto-updated): https://mirrors.c0urier.net/android/teamhorizon/Changelog.txt

XDA:DevDB Information

Official XenonHD 7.1.2_r2 ROM by TeamHorizon, ROM for the Xiaomi Mi 3

Contributors

Dr. Ramm, linuxxx

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.4.x

ROM Firmware Required: twrp, merged partitions

Based On: CyanogenMod

Version Information

Status: Nightly

Created 2016-10-28

Last Updated 2017-04-18
[Mi 3 Android Development] Dr. Ramm:
reserved for links

Main link is here

temp folder (while preparing builds from team horizon)

https://www.androidfilehost.com/?w=files&flid=123573
[Mi 3 Android Development] Dr. Ramm:
reserved 2
[Mi 3 Android Development] kevalthakkar:
Downloading :good:
[Mi 3 Android Development] thinhx2:
Thank you
[Mi 3 Android Development] neodante:
He he he ! Thanks [MENTION=6407961]dr.ram[/MENTION]m ???
[Mi 3 Android Development] Minions_Army:
Sounds good

Downloading
[Mi 3 Android Development] Anarchy16:
worth a wait . thanks:angel:
[Mi 3 Android Development] jellyfeels:
great rom!!

is there anyway to disable headup notification?
[Mi 3 Android Development] reality1234:
Bugs?
[Mi 3 Android Development] trung335:
Downloading .

tks :D
[Mi 3 Android Development] thinhx2:
rotation not work
[Mi 3 Android Development] Dr. Ramm:
for me - everything is fine. btw build with working camera rec is uploaded on afh
[Mi 3 Android Development] Dr. Ramm:
https://mirrors.c0urier.net/android/teamhorizon/experimental/cancro/
[Mi 3 Android Development] zeref18:
changelog?
[Mi 3 Android Development] Dr. Ramm:
upstream changes + working video rec + official tag
[Mi 3 Android Development] zeref18:
thanks for your work sir..

battery status style not work
[Mi 3 Android Development] Dr. Ramm:
I know, team horizon didnt have time for fix it =(
[Mi 3 Android Development] Anarchy16:
i flash 161030 experimental build

-encounter forceclose on setupwizard

other than that, everything is working flawlessly :D

thanks dev :highfive:

ooh, btw, u need to update thread cause it is based on 7.1

i got an error while flashing gapps7 . i download gapps7.1 and flash and it work :laugh:
[Mi 3 Android Development] Dr. Ramm:
Ohhhh i m so sorry, forget to change it...yeah, use opengapps 7.1
[Mi 3 Android Development] :
nope - camera not available on playstore.

apk files from various sources are not working. either the app fc or device freezes.

Can you suggest any excellent camera app...

i have tested footej / camera mx and open camera ( i have bought it infact ). out of these three only footej supports slo mo but that is not as smooth as snap.
[Mi 3 Android Development] reality1234:
How about this?

https://play.google.com/store/apps/details?id=com.marginz.snaptrial
[Mi 3 Android Development] vishal24387:
Slow motion camera doesnt work on any Nougat build. It works only on official RR build based on marshmallow.
[Mi 3 Android Development] :
It does work with snap on cm ROM as well as other cm based roms.

On this ROM it works with default snap app .

1. Select video quality HD720p .

2. Focus mode continuous.

3. High Frame rate recording - Slow motion 120 FPS.

4. Stabilization -Off
[Mi 3 Android Development] vishal24387:
Are you talking about Nougat based builds?? Try to play recorded video. I am sure it will play with normal speed and not as slow motion video.
[Mi 3 Android Development] :
Yes i am talking about current xenon hd rom latest build on 7.1.1

It plays in slow motion.
[Mi 3 Android Development] vishal24387:
Strange. I am using official AICP latest nightly. I can record slow motion video recording. But when I play it, it play in normal speed. For eg if I record 10 sec video then it should play for 40 sec (bacause its 120 fps). But it plays for 10 sec with normal speed. May be this rom has able to achieve that necessary things to work slow motion video recording.
[Mi 3 Android Development] :
Give this rom a try,.. i like the doze gestures...wake up on lift and wave to wake...
[Mi 3 Android Development] vishal24387:
I am sure its not working for me. I flashed 22nd Jan latest build. I did all settings like you said. I am using mi3w. Are you using mi4?? May be that is a reason why its working for you and not for me.

Till now RR official rom based on marshmallow by [MENTION=4835685]Matoxxi[/MENTION] was the only rom where slow motion vdo recording for mi3 actually worked. I requested to many devepopers to look into his rom. But seems like no one is interested :(
[Mi 3 Android Development] :
yup i am on mi4w (indian variant)
[Mi 3 Android Development] juanrra242:
has anyone tried the zoom in video mode recording? i want to know if it my problem or its ROM related.

thanks in advance.
[Mi 3 Android Development] particlemaniac:
Dr Ramm, do you plan to make the next build without dexpreopt? Since in the last experimental build (31st January) the file size is considerably smaller and I think it is because you built the ROM without dexpreopt. I am happy with it (a smaller size ROM) since I can flash Gapps mini. If you decide to make the ROM always without dexpreopt in the future, I will reflash this ROM and push mini Gapps in it (now I am using micro Gapps, since there is not enough to space to flash Gapps mini).

Btw, I found that the default value for for Window scale animation, transition scale animation and animation duration scale is 0.75, which is too small. The animation is very quick. But it gets uggly because it is super quick. Can you make 1.0 as the default value? Because sometimes we need to see beautiful animation.

Thanks to the developer. I decide to use this ROM as daily driver, since all official ROM ( like lineage, mokees, RR, DU etc) does not upport LTE preferred mode for my Mi 4LTE. This ROM also one of the smoothest. In AnTuTu , I consistently get 48.000-50.000 . This ROM produce the highest result!!.
[Mi 3 Android Development] :
Dr. Ramm any update ?
[Mi 3 Android Development] :
Zooming does not work.
[Mi 3 Android Development] juanrra242:
Camera fv-5 and cinema FV-5 are good replacements ,i have tested them with the rom and all features work.

Greetings.
[Mi 3 Android Development] DotcomL:
The download links are pointing to mirrors for the kenzo device, not cancro.
[Mi 3 Android Development] zx604176460:
https://mirrors.c0urier.net/android/teamhorizon/N/experimental/cancro/
[Mi 3 Android Development] DotcomL:
Thanks I just mean as a to-fix for OP. Modifying the url does the job :)
[Mi 3 Android Development] Maicka:
Hello.

Rom is ok for mi4 cancro ? Stable for eveyday use ?

Sorry for my bad english.

Thanks !
[Mi 3 Android Development] DotcomL:
Perfectly stable for me, mi4 LTE. 1 random reboot in 1 week. Previously with CM13.1 I had random reboots every day.
[Mi 3 Android Development] Adi59:
Which version are you using? experimental or official "XenonHD-170122-Official-cancro.zip" ?
[Mi 3 Android Development] Dr. Ramm:
So I m alive and this project still under mantain =) Welcome to the new update. Many improvements, new features, translations and etc. Rom changes, kernel optimization and some device stuff. You can download it from AFH or Official site
[Mi 3 Android Development] wahjoe66:
Would u please give us the changelog? Thanks
[Mi 3 Android Development] xdarkstar:
It is there in the official site
[Mi 3 Android Development] lazye53:
https://mirrors.c0urier.net/android/teamhorizon/N/experimental/cancro/Changelog.txt
[Mi 3 Android Development] hbbxmjbb:
Unfortunately, magisk is not the latest.
[Mi 3 Android Development] vishal1404:
Just update it from magisk app
[Mi 3 Android Development] Adi59:
In the first post, the links are for kenzo device, shouldn't it be cancro?

PS: good job with the ROM! Thank you!
[Mi 3 Android Development] xdarkstar:
It has been long time since I last installed this rom but boy am I happy I came back to this. Great work and thank you , Dr. Ramm hope you continue this
[Mi 3 Android Development] Adi59:
[MENTION=6774031]Dr. Ramm[/MENTION] or someone else who knows:

Can I install the experimental version of ROM coming from the stable version(170122) without making a full wipe (system, data, cache, dalvik)??
[Mi 3 Android Development] Dr. Ramm:
why not, but better do it
[Mi 3 Android Development] wahjoe66:
Waiting for an update:)
[Mi 3 Android Development] Dr. Ramm:
me too
[Mi 3 Android Development] Adi59:
The last experimental update is quite good and stable....you should label it as stable. Goodjob
[Mi 3 Android Development] Dr. Ramm:
Thnk's but I think that thr lastest buils isn't enough stable then previous (I dont know why I think so). Next build willl be 7.1.2. No eta, as usually =)
[Mi 3 Android Development] Dr. Ramm:
Changelog 17.04.17

Tested from myself 1 day

ROM upstream changes to 7.1.2

All kernel upstream changes from lineageOS
[Mi 3 Android Development] lazye53:
fast charging ?

Does Bluetooth sound work?
[Mi 3 Android Development] latifdnb:
View attachment 4117417

Thanks
[Mi 3 Android Development] dace.manutd:
One question my friend I currently have LineageOS on my Mi 4 LTE version, and I am getting poor battery life on my phone, something like this https://xdaforums.com/lg-g3/help/lineage-os-battery-drain-t3577418 other than that Rom is great. So if I change ROM to Xenon will my battery life be better, what is your experience. I really don't want to go back to MIUI, multitasking in MIUI is a real pain.
[Mi 3 Android Development] hbbxmjbb:
Check your applicationsb,I don't think that's a bug.
[Mi 3 Android Development] Dr. Ramm:
check wakelocks in wakelock detecter app
[Mi 3 Android Development] kurohyo:
This is so far the smoothest rom on mi4 that i've ever tried. Buttery smooth, fast animation, no random reboot, multitasking is good, and fast charging works also!!

Thumbs up for the developer :)

can I ask what version of viper4android that work on this rom?
[Mi 3 Android Development] ebeldamasta:
i'm using ARISE Deuteromoy + Dolby add-ons.

Working great!:good:
[Mi 3 Android Development] Dr. Ramm:
Under testing...

Highlights

* ROM
34fdb01 manifest: android-7.1.2_r2 -> android-7.1.2_r8 [dadi11]
c0407d9 New XenonHD translations [dadi11]
1bd1d0e cm: nuke browser, welcome jelly [dadi11]

* vendor/xiaomi/
a473a3d cancro: update gps stuff from bacon [DrRamm]

* device/xiaomi/cancro/
779ce25 cancro: sepolicy bluetooth [DrRamm]
41d9cf0 cancro: few tweaks [DrRamm]
dd6655e cancro: fix build [DrRamm]
14bde65 cancro: trying switch to magisk instead su [DrRamm]
64bbf84 Overlay:Enable NightLight Conflicts: overlay/frameworks/base/core/res/res/values/config.xml [DrRamm]
29dfcb5 cancro: Enable zRAM [DrRamm]
16cf50e IPV6 [DrRamm]
88badb0 disable vulkan [DrRamm]
fdcd5ca try fix lte [DrRamm]
7dc2935 fix import contact from sim card [DrRamm]
76925e1 cancro: add zram [DrRamm]

* kernel/xiaomi/cancro/
cfdd256 cancro: dtsi : tunning [DrRamm]
39895ac cancro: qcrypto fix [DrRamm]
f7ecf15 msm_thermal: using temp threshold parameter and set default value [DrRamm]
c64779b page-writeback: Increase these numbers to help save some battery [DrRamm]
[Mi 3 Android Development] wahjoe66:
I hope bluetooth audio works flawlessly
[Mi 3 Android Development] wahjoe66:
Does bluetooth audio works? Thats so important for me, thanks for an update
[Mi 3 Android Development] teodos:
I have the same question, does the Bluetooth audio work?
[Mi 3 Android Development] Dr. Ramm:
I dont have any bluetooth device
[Mi 3 Android Development] latifdnb:
View attachment 4150420

Audio FX blank
[Mi 3 Android Development] Dr. Ramm:
Yeah, probalby. AudioFX is ****iest "eq" that I have faced. Install ViperFX via migisk and forget about it
[Mi 3 Android Development] Vinchester1986:
Fast charging doesn't work for me in the latest experimental build. It takes more than three ours from 0 to 100%. Any solutions? Thanks.
[Mi 3 Android Development] Dr. Ramm:
Test and report. Implemented custom power hal. Fast charging works properly

https://www.androidfilehost.com/?fid=961840155545567974
[Mi 3 Android Development] Dr. Ramm:
So any report? If nope - update and njoy

Changelog:

blahblahblah power hal (there is no more changepowermode.sh) and gps hal too.

https://mirrors.c0urier.net/android/teamhorizon/N/experimental/cancro/

https://www.androidfilehost.com/?fid=817550096634773238
[Mi 3 Android Development] deif102:
:laugh: I will try this build, thanks for your work
[Mi 3 Android Development] wahjoe66:
Great. Would it posssible to make bluetooth audio streaming works? Thanks
[Mi 3 Android Development] tomgar:
[MENTION=6774031]Dr. Ramm[/MENTION] I've seen that your ROM is Android pure which does not look like MIUI. Don't you like MIUI?.
[Mi 3 Android Development] Dr. Ramm:
Sorry?
[Mi 3 Android Development] hbbxmjbb:
MIUI is a choice,but not the only one.Thanks.
[Mi 3 Android Development] wahjoe66:
Dont u like nougat AOSP?
[Mi 3 Android Development] atomix18:
Does bluetooth audio workng with this rom?
[Mi 3 Android Development] "theviper":
Very stable rom and has pretty good battery life too. The only problem that I am facing is audiofx has stopped pops up randomly. Maybe just remove audiofx in further builds? Otherwise very rock solid rom. :good:
[Mi 3 Android Development] xdarkstar:
Have u installed any sound mod ?
[Mi 3 Android Development] "theviper":
I haven't flashed any sound mod. Just the rom and open gapps.
[Mi 3 Android Development] Dr. Ramm:
Update:

All Lineage OS changes such as Lock apps in recent

I dont remember but smthng in device tree (bt again and etc - look into changelog)

Removed AudioFX, fixed Agps

Upstream changes from redkancut

As usually u can download from official site or afh
[Mi 3 Android Development] atomix18:
Can anyone say if bluetooth audio is working?
[Mi 3 Android Development] Dr. Ramm:
nope I guess
[Mi 3 Android Development] atomix18:
But what abou this patch that has been applied in JIRA LAOS...
[Mi 3 Android Development] Dr. Ramm:
building with this fix. thanks you
[Mi 3 Android Development] atomix18:
You are welcome, but i haven't done anything, just shared this file frome JIRA. Big thanks to the person who made this fix. Hope it works and finally have LAOS roms with working bluetooth audio :)
[Mi 3 Android Development] Dr. Ramm:
https://www.androidfilehost.com/?fid=889764386195909243
[Mi 3 Android Development] atomix18:
Thank you very much, flashing right now :)
[Mi 3 Android Development] atomix18:
BT audio is working perfectly, good job!
[Mi 3 Android Development] rightpp86:
Will try it later.
[Mi 3 Android Development] cippa lippa:
trying this rom experimental 17/06 seems nice but why i have the slow charge when i charge with adapter?
[Mi 3 Android Development] lazye53:
Could you do something for infrared?

Writing code every time with the terminal is annoying.

My short experience;

Bluetooth audio stream is good for me, Otg Ntfs Rw works very well.

Faster and cooler than other ROMs. Gps works well for me.

The amount of free RAM is very good for me. I have 4g key settings.

Please look at these.

1) The volume of the microphone is low when talking to the loudspeaker (all los roms have this problem)

2) Fast charging is in progress, but charging is completed within 2 hours and 40 minutes. Can you speed up the speed? (Charging will take 2 hours and 15 minutes in the unofficial RR version.)
[Mi 3 Android Development] Dr. Ramm:
Nope I have a mi3

Didnt notice it

Ask [MENTION=6331651]travarilo[/MENTION] about it (I use his kernel)
[Mi 3 Android Development] lazye53:
Thank you for your work anyway ;)
[Mi 3 Android Development] pramusw:
someone got charging slowly ? other rom no problem , but xenonhd got this

sry for my bad english
[Mi 3 Android Development] Dr. Ramm:
Update

Rom: upstream changes

Kernel: few improvements + redkancut upstream (new hotplug and etc)

device/vendor:

- Ustream changes from Lineage OS (as usually thanks Joey)

- Try to add aptX (need feedback)

- Faster brightness

- A lot of updates / fixes / optimizations (check changelog in About)

As usually you can download it from AFH or OFFICIAL
[Mi 3 Android Development] atomix18:
I don't know why but only in Xenon Hd bluetooth audio seems to be working fine and patching audio.policy file is not the reason for that. I tried Mokee, Lineage OS and other LAOS based roms and patched audio.policy file in all of them but there is no sound at all over BT audio. So Dr.Ramm please keep XenonHD updated, because i will use this rom from now on.
[Mi 3 Android Development] lazye53:
I absolutely agree that this rom is the most trouble-free rom for me :)
[Mi 3 Android Development] atomix18:
Dr.Ramm is Aptx available in XenonHd?
[Mi 3 Android Development] atomix18:
When i did search for aptx in system folder this was the result...

And in build.prop aptxHD is enabled, so that's why bluetooth audio works i think. Great!
[Mi 3 Android Development] Dr. Ramm:
Yeah but I dont have br device to check diff

Nope I have changed in kernel, audiopolicy, rc scripts and in sh scripts
[Mi 3 Android Development] lazye53:
Everything is absolutely flawless, absolutely smooth.

The only Los-based custom rom that Bluetooth sound streaming works properly.

The quick charge works for Mi4 because it does not reach the 2000Mah fast charge value, but it is too slow for me.

And again the infrared found in the Mi4 is not activated by default on this rom.

These are not a problem, but together with them, Rom could be a lot nicer.

Certainly I do not think to go to another ROM for too long, the performance of the kernel and multitask is not so good on any ROM.

During the phone call, the sound from the speaker is very low.

I hope you fix it in the next update.
[Mi 3 Android Development] atomix18:
The only rom with working bluetooth audio without any interruptions is XENON HD which is Lineage OS based too. I have tested it for 2+ weeks with listening to music on my car stereo everyday trough BT Audio.

Why Lineage OS team didn't fixed this issue yet i just can not understand.

Thank you Dr.Ramm for your hard work to fix this problem!
[Mi 3 Android Development] qimonk:
One question sir , bluetooth issue come from kernel or Rom ?. Becouse im faster worker, so i need fast charger feature for support my work. As i know the fast charging from kernel. If i change kernel is take effect for sound via bluetooth ?. Thanks.
[Mi 3 Android Development] Adi59:
I have installed this ROM on my MI4(the 3g version), how do you activate the IR?
[Mi 3 Android Development] coolfire92:
I have a weird problem.

After sometime websites stop loading properly (in chrome and Firefox). But restarting the device fixes it and sites load properly.

Not sure what is causing this. Tried with and without adblock. Updated to latest gapps and also tried changing tcp algo.
[Mi 3 Android Development] Adi59:
I update the ROM to 0703 version and it just happened to me the same with chrome, but only for 2 website: gsmarena.com and buienradar.nl; For ex 9gag.com just loaded normally.....after the reboot the 2 website loaded normally. Very strange. I will keep an eye on it these days...

Edit: For anyone facing similar issues, delete the file name "hosts" from "system/etc". [MENTION=6774031]Dr. Ramm[/MENTION] Could you tell me the new ip addresses you added in the latest version? (I've got it backed up) or just upload a "host" file from a previous version.
[Mi 3 Android Development] Dr. Ramm:
lol use adaway/maigisk
[Mi 3 Android Development] Adi59:
Hey,

Thanks, I used maigisk with a module "Unified Hosts adblocker". How can I test it?(I did run the command in terminal and the hosts file is successfully downloaded) I still get ads in youtube and other websites I visit.

Edit: i run the terminal command again, looks like now is good. (I just google adblock test :D)
[Mi 3 Android Development] Mi3nD:
BT file transfer problem

Does anyone have problems with BT file transfer? BT audio is running fine but when I try to transfer a file it just shuts Bluetooth off.

Tks
[Mi 3 Android Development] Sparkfluxx:
soooo....no updates?
[Mi 3 Android Development] ar157:
Advanced QS Easy Toggle for mobile data not directly switch on/off, Sir, but another toggle working fine.

This rom is great, using 2017-07-03 experimental and its sooo stable.

just one question, sir, would you like to add big circle for battery status style in the next update? cause i really love it >,<
[Mi 3 Android Development] EmiruIkuno:
idts. but O is coming out on cancro. Let's hope OMS is supported this time.
[Mi 3 Android Development] lazye53:
Do you have an update plan?
[Mi 3 Android Development] Prashanth Meesara::
Fast charging isn't working fine , it charges 35% per hour with stock charger. Why is this problem is in almost all custom roms? Is that related to Xiaomi not providing source code?
[Mi 3 Android Development] dadi11:
I know many of XenonHD users were waiting for this moment...

we're opening a public official telegram group right now!

See you there: http://goo.gl/7roVZk
[Mi 3 Android Development] Adi59:
Is the development for cancro XenonHD stopped?
[Mi 3 Android Development] Dr. Ramm:
nope i m just dont have time but on next week i try to make update
[Mi 3 Android Development] Adi59:
Nice, i like the ROM very much. Looking forward to the Android security update! I'll buy you a beer when i'm back from holidays(1-2weeks) via paypal (donation option).

Keep up the good work!
[Mi 3 Android Development] sinz0000:
Waiting for update
[Mi 3 Android Development] Dr. Ramm:
Well njoy update

Clean flash required

1. Rom changes (idk)

Fixed one line for name in call (now it shows in two lines)

2. Kernel:

Switching back to my kernel.

Variuos fixes

Major: Updated wifi to LA.BF.1.1.3_rb1.15

3. Device:

Enable MMS with mobile data off

Update AAC bitrates for video recording

Tweak mpdecision parameters (travarilo)

Fixed AdAway - I missed it

Clean up + fixes

Update wifi configs and blobs from MIUI 7.9.14

4. Vendor:

Added libdirac (Joey missed patch for it when rebase to N)

Added libthermal libs for camera

Updated wcnss and venus blobs from MIUI 7.9.14

Updated adreno blobs from bacon to LA.BF.1.1.3_rb1.12 (travarilo)

Download:

From OTA

From Xenon HD server : click

Mirror on AFH click
[Mi 3 Android Development] Haggiskop:
How about SoT?
[Mi 3 Android Development] sinz0000:
I got about 4 hours.

Rom is very smooth, no bugs encountered in 24 hours.
[Mi 3 Android Development] Vinchester1986:
Hi, nice rom, thanks. But there's a problem with playing videos in Instagram. Any ideas how to fix it?
[Mi 3 Android Development] :
What's your problem?
[Mi 3 Android Development] Vinchester1986:
Videos are not playing.
[Mi 3 Android Development] :
Do you use official Instagram or unofficial mods like OGinsta?

If you are using OGinsta, then go to settings and turn off->start playing videos with sounds. That should fix it. Its a well known issue.