[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] thelazyindian:
[IMG=""]http://i.imgur.com/8GE23Vj.png[/IMG]

/* 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
*/

About Project:

Citrus-CAF, unlike the name suggests, was initially based off CyanogenMod, in the early days of Marshmallow, we even had another name at that point. Later, taking into consideration feedbacks of the very first slew of testers and carefully studying the needs and demands of our users, we rebased the project to Code Aurora Sources, more commonly known as CAF. Time went by and Nougat released, and we decided that it was time, Citrus-CAF had to see the daylight. We rebased everything to the brank spanking Nougat released. Later we realized the true potential of CAF tags, how each of them altered the device performance on different SOCs. After a lot of thinking, we decided to keep different sources for difference SOCs in our git and hours of debugging later, the Xiaomi Redmi Note 3 was the first device to get a taste of our Tangy Nougat. In the beginning, it was just two people behind , but in time, a lot of people joined us, as each giving their own contibutions.

Citrus-CAF was built to create an amazing combination of customization, performance and most of the demanded features by our users, whereas we've Cardinal, to deliver minimal customizations, but the greatest stability!

Meanwhile, all of our Tangy sources are publicly available on our Github. We also do own a Google+ Community, where you can.... uhm... you know, do what all others do at forums and communities! (Just kidding, we got builds over there and a feature-wish bucket too :P) Hope you enjoy your stay and taste the Tanginess of our work!

Out of lemon, with love!

NOTE: There's nothing like, "we've decided to keep the customizations minimum, so as to provide stock AOSP experience, but with necessary features", cause this isn't Cardinal. This is Citrus

**Custom Squash**

*QS and Status Bar tweaks*

- Battery percentage

- Battery Styles [Including AOSPA Style]

- Charging Symbol Near Charging Percentage [Flash Logo etc]

- Show AM/PM toggle

- Time alignment

- Battery LED (shows only if device supports)

- Lights with screen on (only if device supports)

- Play music QS,NFC,Reboot and many extra tile

- Moved SystemUI to Custom Squash

- Quick Setting Customizations[Toggle for QS Tile Titles ,Control number of columns and rows,upto 8 QS Tiles]

- Carrier label [Advanced]

- Network traffic

- Power Notification controls [By Default]

- Enable/Disable Logo on Status Bar

- Ticker Style [KK Style Notifications]

- Display Bluetooth Battery status

- Advanced Data, Bt, WiFi , Qs toggle

- USB tether Tile

- QS Header image

- Scrollable QQS Tiles

- Custom Header Included

- Weather Settings

- Citrus-CAF Logo, Custom Icons (Sports,Gaming,DC etc..) with 3 Positions (left,right,center)

- Statusbar Weather

- Notification Count

- Battery Bar and Customizations

- Roaming indicator switch

- VoLTE Icon

- Media player Queue on Notification

- AutoBrightness toggle in QS

- Expanded desktop tile

- Data disabled icon toggle

- Reboot/recovery tile

- Camera sound toggle

*UI Tweaks*

- Expanded Desktop

- Wake on Plug Toggle

- Volume Steps

- Customize Other Sounds

- Less Notification Sound

- Increasing Ring

- Custom logos

- Unlink Notification and Ringer Volume

- Qs Quick pull-down

- Enabled Night Light

- Notification Lights and Customizations

- Option to Disable Safe Headsets volume

- Screen Color Controls

- Screenshot Type Toggle

- Custom Squash Summary Text

- Google Assistant enabled by default [Needs Gapps ]

- FP Unlock (Unlock Device with FP after Reboot)

- New Ambient Stuff

- Add importance level to block lock screen notification

- Locksceen Rotation

- Immersive Recents

- Blur Personalization

- Restart SystemUI option in reboot menu

- Screen Recorder [Advanced]

*Buttons*

- DUI - Fling & Smartbar & Pulse

- Full Hardware key custom rebinding

- Disable HW Buttons and Backlight (Control Backlight as well)

- Volume Rocker Wake

- Volume keys Music Playback control

- Volume up for DND

- Volume Down to exit DND

- Show/Hide DND switch on volume panel

- Force Volume key to control media volume

- Allow Home button when ringing

- Advanced Power Menu

- HW Key Screen Pinning

*Lock Screen*

- Lockscreen visualizer toggle

- Double tap to sleep on lockscreen

- Lockscreen media art toggle

- Lockscreen Items

- Lockscreen Charging Info

- FP Unlock at start

- Lockscreen torch

- Lockscreen Shortcuts

- Enable/Disable haptic feedback for successful finger print authentication

- Display Music Visualizer

- OmniJaws weather on lock screen

- Locksceen Rotation

*Misc*

- Enable/Disable SIM Cards [Device Specific]

- Toast Icon

- App OPS

- Custom Summary

- Clear All Fab

- Memory Bar at recents

- One Handed Mode

- Three Finger Screenshot

- Scrolling Cache

- Where to play Ringtones from

- Omni Music FX

- Accidental Touch feature

- Ambient Lift-to-Wake

- Battery status on Ambient display

- Jelly Browser[Integrated]

- Margarita Theme [Our own Tangy Citrus Theme]

- Sensor block per-package

- Added Adb over network, Accidental Touch, Notification, Lift-to-Wake QS tile

*Substratum*

- Full substratum support.

Downloads

Download Citrus-CAF Official Builds: https://goo.gl/cM8dYi

Download TWRP: From [MENTION=4222965]deadman96385[/MENTION]'s thread https://goo.gl/RbhRGa

Download Dynamic GAPPS : https://telegram.me/dynamic_gapps

Download OpenGAPPS: https://opengapps.org

Flashing Instructions:

1. Reboot to bootloader

2. fastboot boot twrp-dedman.img

3. Wipe system, data, dalvik, internal

4. Flash ROM

5. Reboot to bootloader and again fastboot boot twrp-dedman.img OR reboot to recovery if you have flashed recovery

6. Flash Magisk(Compulsory)

7. Flash GAPPS(optional)

8. Reboot system

Credits

CyanogenMod

Substratum

PureNexusProject

DirtyUnicorns

AOSP-RRO

AOSParadox

ASOPA

[MENTION=3516174]recenz[/MENTION]
[MENTION=6070905]abhishek987[/MENTION]
[MENTION=4222965]deadman96385[/MENTION]
[MENTION=5393309]ghpranav[/MENTION]
[MENTION=7637048]talk2indrajit[/MENTION]

All the testers & members of Tissot Dev Group

Extreme apologies if we've missed out someone, please feel free to PM, in case we've forgotten to pin your name here!

FAQs:

Is this ROM based on AOSP or CM?

It's actually based on CAF

Does this ROM have CMTE or RRO-Layers?

None, we've Substratum on board!

<some random app> is forceclosing on my device, what should I do?

Report the issue with proper logs on our Google+ Community.!

How to take Logs ?

This video should help you - https://youtu.be/-LfT5Rt3p70

I would like to suggest a feature for this ROM?

Sure, post it under the "Feature Wish" section in our Google+ Community, though we're not planning on adding more features to this ROM, ATM. We'll certainly look into it.

Does the zip include SuperSU, or should I flash it separately?

Nup , user has to flash himself.

So, you guys, a part of Cardinal?

Aaah, yes! Yes we are! :)

So, I've this working build ready for an unsupported device. I would like to go official with it. What should I do?

Contact Rohit Poroli/Adarsh MR

So, how do I find out the latest updates, I mean, is there some kinda, a channel, apart from the Google+ Community?

Oh yes, there is. Head to @TheCitrusChannel on Telegram

Source Information:

Citrus-CAF on Github: https://github.com/Citrus-CAF

Kernel source: https://github.com/thelazyindian/kernel_xiaomi_msm8953/tree/tissot-n-oss

Our Google+ Community: https://plus.google.com/communities/110928715574226998482

Our Telegram Channel:https://telegram.me/TheCitrusChannel

Our Telegram Group: https://t.me/CitrusCAF

XDA:DevDB Information

Citrus-CAF, ROM for the Xiaomi Mi A1

Contributors

CurioZuk, Adarsh1998

Source Code: https://github.com/Citrus-CAF

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.x

Based On: CAF

Version Information

Status: Stable

Current Stable Version: 3.6

Stable Release Date: 2018-02-22

Created 2018-02-22

Last Updated 2018-02-22