[ROM+Kernel 3.10] [LA.UM.5.8.r1-02600-8x98] [7.1.2] CAF Rom for Xiaomi Mi3/4 [20-Aug]

864 posts
Thanks Meter: 5,202
By vasishath, Senior Member on 4th September 2016, 05:54 AM
Post Reply Email Thread

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).

Just about Everything.

Not Working:
You tell

  • Flash rom
  • flash gapps (opengapps recommended)

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

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

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

vasishath, Shahan_mik3
Source Code:

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
The Following 151 Users Say Thank You to vasishath For This Useful Post: [ View ] Gift vasishath Ad-Free
4th September 2016, 05:54 AM |#2  
OP Senior Member
Flag Chandigarh
Thanks Meter: 5,202
Downloads -



Open gapps:

Any compatible version should work.
The Following 81 Users Say Thank You to vasishath For This Useful Post: [ View ] Gift vasishath Ad-Free
4th September 2016, 05:59 AM |#3  
Shahan_mik3's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 16,108
Donate to Me

*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
The Following 65 Users Say Thank You to Shahan_mik3 For This Useful Post: [ View ] Gift Shahan_mik3 Ad-Free
4th September 2016, 06:00 AM |#4  
yadavjpr's Avatar
Senior Member
Flag Pune
Thanks Meter: 246
Links? ROM? Source?
4th September 2016, 06:06 AM |#5  
nealgosalia's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 400
Donate to Me
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.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20160904-120402.png
Views:	56050
Size:	132.8 KB
ID:	3864323   Click image for larger version

Name:	Screenshot_20160904-120423.jpg
Views:	57174
Size:	113.9 KB
ID:	3864324   Click image for larger version

Name:	Screenshot_20160904-120307.jpg
Views:	57228
Size:	111.6 KB
ID:	3864325   Click image for larger version

Name:	Screenshot_20160904-120330.png
Views:	55124
Size:	82.7 KB
ID:	3864326   Click image for larger version

Name:	Screenshot_20160904-120348.png
Views:	53052
Size:	100.7 KB
ID:	3864327   Click image for larger version

Name:	Screenshot_20160904-120412.png
Views:	24266
Size:	67.0 KB
ID:	3864328   Click image for larger version

Name:	Screenshot_20160904-120455.png
Views:	23942
Size:	109.0 KB
ID:	3864329   Click image for larger version

Name:	Screenshot_20160904-120718.png
Views:	23694
Size:	50.5 KB
ID:	3864330  
The Following 31 Users Say Thank You to nealgosalia For This Useful Post: [ View ] Gift nealgosalia Ad-Free
4th September 2016, 06:07 AM |#6  
Shahan_mik3's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 16,108
Donate to Me
Originally Posted by yadavjpr

Links? ROM? Source?

Hold ur horses son...let us make a thread atleast. Have some patience
The Following 5 Users Say Thank You to Shahan_mik3 For This Useful Post: [ View ] Gift Shahan_mik3 Ad-Free
4th September 2016, 06:23 AM |#7  
@ssasin.monish's Avatar
Senior Member
Flag ::::Near Hell::::
Thanks Meter: 479
Donate to Me
4th September 2016, 06:51 AM |#8  
sdnavale's Avatar
Thanks Meter: 102
Yet another reserved.
4th September 2016, 07:56 AM |#9  
thwartfulGUY's Avatar
Flag New Delhi
Thanks Meter: 14
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?
The Following 4 Users Say Thank You to thwartfulGUY For This Useful Post: [ View ] Gift thwartfulGUY Ad-Free
4th September 2016, 08:00 AM |#10  
thinhx2's Avatar
Senior Member
Flag Quảng Ninh
Thanks Meter: 2,103
Donate to Me
Aosp 7 can build with kernel cyanogen mod 13?
4th September 2016, 08:03 AM |#11  
hanuraiga's Avatar
Senior Member
Flag Middle of Knowhere
Thanks Meter: 67
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes