[Mi 3 Android Development] Shivam Kumar Jha:
​

#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* 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 point the finger at me for messing up your device, I will laugh at you.
*/

What is Code Aurora Forums ?

Code Aurora Forum (CAF) is a consortium of companies with projects serving the mobile wireless industry. Software projects it concerns itself with are e.g. Android for MSM, Femto Linux Project, LLVM, MSM WLAN and Linux-MSM. Code Aurora is basically AOSP plus all Qualcomm specific enhancements and optimization.​

What is AOSP-CAF ?

AOSP-CAF is based on CAF with few LAOS patches & HAL to help us build the ROM using LAOS device sources,

stored on https://github.com/AOSP-CAF/.

I added some customisations to the sources & is stored here https://bitbucket.org/cafnougat/. Here is the manifest in case you want to build for other device(s).
​

Q&A - FAQ

Can I flash a custom kernel?

Not recommended, you can try but then don't report possible kernel issues here.

Is rom prerooted?

No, Flash from here. I recommend using Magisk since OMS did not work with SuperSU for me.

Yes in built magisk addon.

Can you add blah blah app or blah blah feature to the rom?

I plan to add basic customisation & Night Display. That's it

Added

When will you update the rom?

No ETA's.

Final Build uploaded.

Is the ROM suited for daily usage ?

In my opinion, Yes.

Downloads Links

ROM

Magisk Root

Flashing and updating

AOSP-CAF clean install :

- (Optional) Wipe the data & cache (Backup to make sure not to loose data)

- Flash the AOSP-CAF ROM zip from the Recovery

- (Optional) Flash the GApps to have the Google Applications

- (Optional) Flash the SuperSU zip (recommended, see Q&A informations)

- (Optional) Every additional zip you want to flash

- Reboot

AOSP-CAF update / upgrade :

- (Information) Don't wipe anything unless you want to

- Flash the latest AOSP-CAF ROM zip from the Recovery

- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes

- (Optional) Flash the SuperSU zip (recommended, see Q&A informations)

- (Optional) Every additional zip you want to flash

- Reboot
​

Device related source's

Device tree : https://github.com/ShivamKumarJha/android_device_xiaomi_cancro/tree/n-aosp-caf

Kernel sources : https://github.com/ShivamKumarJha/android_kernel_xiaomi_cancro

Vendor : https://github.com/ShivamKumarJha/proprietary_vendor_xiaomi
​

Issues and reports

- Report issues only if you use the ROM kernel

- If an additional mod is installed, make sure it's unrelated, and mention it

- Make sure the issue wasn't discussed earlier in the threads

- Share a log of the error with CatLog for example
​

Thanks to :

- AOSP and CodeAurora Forums

- The CyanogenMod Team

- Men_in_black007 and the AOSP-CAF Team

- Citrus CAF for customisations

- Me for spending considerable time

- Everyone involved in the sources used

XDA:DevDB Information

CAF ROM , ROM for the Xiaomi Mi 3

Contributors

Shivam Kumar Jha, Men_in_black007, linuxxx,aniket.lamba

Source Code: https://bitbucket.org/cafnougat/

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.4.x

ROM Firmware Required: Unlocked bootloader, TWRP

Based On: CAF

Version Information

Status: Testing

Created 2017-02-09

Last Updated 2017-09-26