• 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+Kernel 3.10] [LA.UM.5.8.r1-02600-8x98] [7.1.2] CAF Rom for Xiaomi Mi3/4 [20-Aug]

vasishath

Senior Member
Nov 30, 2013
865
5,198
93
29
Chandigarh


What is CAF?
CAF stands for Code Aurora Forum. Qualcomm releases stock AOSP android with optimisations for their chipsets periodically on CAF.

Based off latest Qualcomm sources from tag LA.UM.5.8.r1-00400-8x98.0 (msm 8998).


Working:
Just about Everything.


Not Working:
You tell


Installation

  • Flash rom
  • flash gapps (opengapps recommended)

Changelog:
* OSS Camera HAL (CAF tag LA.BF.1.1.3_rb1.15)
* Native Video recording without Hack (More details in below para)
* Dirac Sound
* Rootless Substratum support
* Tons of bug fixes

A note on video recording:
In android nougat, google split up mediaserver into several components to enhance security since the discovery of stagefright security bugs. As a result, the video recording and encoding, which were done on same process are now done on seperate process. So, this required changes to camera HAL. Since most of the devices do not have camera HAL sources, so they had no way but to revert android's security measures to make video recording work (hence the video recording hack was introduced).

As i said earlier, I didnt wanted to revert the security steps taken by google so i decided to take up another project here.

So now, i'd like to announce that I have successfully prepared open source camera HAL.
Yes, you read it right.. open source camera HAL for our very own cancro.


Since now we have open source camera, I have upgraded the HAL to support the new recording method introduced in android nougat (credits to @ashwin007 for his backport commits). This means, no security hack has been used in this ROM.

And as an added benefit, now we have more options and ways to fine tune our camera due to OSS. :eek::eek:

Test as much features of camera as u can. Feedback is welcome.
Source

XDA:DevDB Information
Android Nougat 7.1, ROM for the Xiaomi Mi 3

Contributors
vasishath, Shahan_mik3
Source Code: https://source.codeaurora.org

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
Based On: CAF

Version Information
Status: Stable
Stable Release Date: 2017-08-20
Beta Release Date: 2017-08-20

Created 2016-09-04
Last Updated 2017-08-20
 
Last edited:

Shahan_mik3

Elite Member
Mar 8, 2013
4,979
16,043
0
Bangalore

*Can I flash this on my Mi3w/Mi4w/Mi4LTE?
Yes. This should work on all 3 devices

*Do I need to flash Kernel with rom?
Yes, u need to flash ZeurionX for it to boot until we post regarding not to flash

*Omg root is missing what m i going to do *cry*?
flash the supersu link from op or flash whichever u want.

*Can I flash xxx/xx gapps?
Yes, any gapps with N support

*I am getting force close(FC) for google apps/some apps/anything. How do i fix it?
Give that app permission in Settings>Apps

*There is No file explorer? Add it!

No as this is AOSP it stays the same. Settings>Storage>Explore this is the default way or You can Install any explorer u want from play store or externally.

*Can u add my fav feature which makes my phone look like a cat?
No.. Features wont be added unless we find it necessary


device source will be updated later after some cleanup and fixes. so dont spam regarding that
*updating
 
Last edited:

nealgosalia

Senior Member
Feb 13, 2015
127
400
0
25
Mumbai
Review of ROM and screenshots

The ROM is really smooth and has really nice animations! No bugs as of now except the ones mentioned above. Overall great ROM! Do try!
P.S. Please don't complain like a noob and abuse the dev if you encounter a problem. The joke's on you.
DO NOT PM ME FOR THE LINK
 

Attachments

Last edited:

thwartfulGUY

Senior Member
Mar 15, 2015
75
13
0
20
New Delhi
Been using this ROM on my MI 4 for past 12 hours and here are my findings

There are no groundbreaking bugs as is and it can definitely be used as a daily driver.

As mentioned by the OP, video recording does not work but if you download a custom camera app from play store (I tried Footrej).. It seems to work properly. I haven't tried with other apps though. But the camera is still horrible. It is not able to focus properly and there's also a lot of noise.
Clock app FC can be fixed by downloading the Clock app by Google from Play Store and disabling the system one as both are exactly the same but there won't be any FCs in the Play Store one

Performance wise it's pretty decent, though it does hang sometimes here and there. But considering this is literally the first ROM for Nougat for cancro, it's excellent! (I wish there was a x.75 speed for animations *sigh*)

Battery life is also okay-ish. I won't say it's the best but it's not terrible either.

As for other stuff, there is a lot of delay when waking up device through dt2w or s2w. You might wanna look into that. And as already recognized by the OP, the backlight is not working though I hadn't really noticed it before others pointed it out.

P.S. Suggestions in Settings are damn annoying! Is there any way to disable them?
 
Last edited:

Waltex00

Member
Apr 28, 2015
20
1
0
Is that the stock ui/themes? Looks good.

The ROM is really smooth and has really nice animations! No bugs as of now except the ones mentioned above. Overall great ROM! Do try!
P.S. Please don't complain like a noob and abuse the dev if you encounter a problem. The joke's on you.
Do try this ROM! :D

Is that the stock ui/themes? Looks good.
 

Rawwr

Elite Member
Oct 25, 2012
1,560
671
0
Universe 10
The ROM is really smooth and has really nice animations! No bugs as of now except the ones mentioned above. Overall great ROM! Do try!
P.S. Please don't complain like a noob and abuse the dev if you encounter a problem. The joke's on you.
Do try this ROM! :D
how did you got the download link :eek:

---------- Post added at 10:35 AM ---------- Previous post was at 10:34 AM ----------

Is that the stock ui/themes? Looks good.
AOSP don't have theme engine built in, it's pure vanilla.

if you want you can install layers (don't complain if you face bugs since the rom is in testing)-
 
  • Like
Reactions: Nanda21