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

Search This thread

vasishath

Senior Member
Nov 30, 2013
884
5,361
32
Chandigarh
Xiaomi Poco F1
Xiaomi Poco F3
2iiv7ra.jpg


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

Senior Member
Mar 8, 2013
4,979
16,046
Bangalore
k54l6d.jpg

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

  • Screenshot_20160904-120402.png
    Screenshot_20160904-120402.png
    132.8 KB · Views: 56,126
  • Screenshot_20160904-120423.jpg
    Screenshot_20160904-120423.jpg
    113.9 KB · Views: 57,259
  • Screenshot_20160904-120307.jpg
    Screenshot_20160904-120307.jpg
    111.6 KB · Views: 57,281
  • Screenshot_20160904-120330.png
    Screenshot_20160904-120330.png
    82.7 KB · Views: 55,183
  • Screenshot_20160904-120348.png
    Screenshot_20160904-120348.png
    100.7 KB · Views: 53,101
  • Screenshot_20160904-120412.png
    Screenshot_20160904-120412.png
    67 KB · Views: 24,310
  • Screenshot_20160904-120455.png
    Screenshot_20160904-120455.png
    109 KB · Views: 23,972
  • Screenshot_20160904-120718.png
    Screenshot_20160904-120718.png
    50.5 KB · Views: 23,780
Last edited:

thwartfulGUY

Senior Member
Mar 15, 2015
75
13
24
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
22
1
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

Senior Member
Oct 25, 2012
1,560
672
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

Top Liked Posts

  • There are no posts matching your filters.
  • 151
    2iiv7ra.jpg


    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
    81
    Downloads -

    Rom

    https://www.androidfilehost.com/?w=files&flid=208453


    Gapps:

    Open gapps: http://opengapps.org/

    Supersu(Root):
    Any compatible version should work.
    66
    k54l6d.jpg

    *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
    47
    New build will be released soon:

    Changelog:

    *Updated to Aosp r6 tag
    *Oms support added (Substratum)
    *Buttons backlight fixed
    *Gapps backup tool added
    *Advanced reboot
    *Offline charging fixed
    *Enabled night mode and Navbar
    *Added latest Snapdragon cam
    *Added browser and music player
    *Custom dpi settings
    ........
    Code:
     * frameworks/base/
    de477d7 BACKPORT: SystemUI: Display bluetooth battery status when available
    56b0ae1 InputWrapper: opt out early if session == null
    f645ef9 Reset battery stats (extracted from https://github.com/CyanogenMod/android_frameworks_base/commit/91039$
    2914d7a camera: add workaround for GoogleCamera3
    d3497f4 Add back 'Show brightness slider'
    5643c56 telephony: Hack GSM and LTE signal strength
    781bd1d0 SystemUI: make sure to expand all the way when flinging
    3dfa503 Fix slow anim when using a gesture to open status bar pulldown
    86fa739 pm: do not verify system apps signatures
    9ddf199 basel: no telephony check for airplane mode in globalactions
    76626cd SystemUI: disable statusbar time refresh when screen off
    3e36ed7 Optimize IncallUI delay for voice calls
    3beb9fe core: Add support for more webviews
    9f462bf fix foreground process will be mistakenly killed when it uses content provider.
    0aa03e8 N-Extras: Add dynamic theme BootAnimation support
    cc38937 N-Extras: AudioService: Allow system effect sounds to be themed
    3ec6f74 N-Extras: Add dynamic theme fonts support (Squash)
    563db28 OMS-N: ApplicationsState: add filter for Substratum overlays [1/2]
    a9d3fe6 OMS-N: Allow on-demand window refreshes using "om refresh"
    66b11c1 OMS-N: Allow multiple targets for enabling and disabling overlays
    1988c5b Prevent IndexOutOfBoundsException
    d5fce88 OMS-N: Disable Zygote preloaded drawables.
    6057756 OMS-N: Themes should be dynamically theming the power menu
    c0e515b OMS-N: Officially announce the rebase completion to Nougat [14/14]
    d3ce2b6 OMS-N: adb shell command to access OverlayManagerService [13/14]
    74a96f5 OMS-N: Ensure unique type IDs when parsing overlays [12/14]
    77bbd42 OMS-N: Persistence on boot through OverlayManagerServiceImpl [11/14]
    286bffa OMS-N: Fix memory leak during idmap creation [10/14]
    dd96c3b OMS-N: Check invariants after ResTable is modified [9/14]
    601ad72 OMS-N: idmap: suppress print for padded resources [8/14]
    af5a693 OMS-N: pm: set EXTRA_REPLACING correctly in ACTION_PACKAGE_ADDED [7/14]
    6511e30 OMS-N: integrate OverlayManagerService into framework [6/14]
    1422191 OMS-N: introduce the OverlayManagerService [5/14]
    026be14 OMS-N: Add ResTable::remove(cookie) [4/14]
    778a56b OMS-N: Make asset manager cookies opaque [3/14]
    6cf82ae OMS-N: installd: add command 'rmidmap' [2/14]
    cdd9362 OMS-N: Support downloaded overlay packages [1/14]
    3b07dc8 Fix Android 7.0 GApps permisions which were causing F/C
    8e4c5f4 Enable SystemUI Tuner by default -Disable long tap and tuner icon
    2d25674 Return NightMode and NavBar editor
    5637b8f Advanced Reboot + Fixs (Squashed) * SystemUI: Add global reboot option -CAF * AdvancedReboot: Add advanced reboot options -CM * AdvancedReboot: Enhance power menu reboot option -CM * Shutdown$
    697a1c2 PowerManagerService: Fix updating of mUserActivitySummary
    bb9f8ad power: Disable keyboard/button lights while dozing/dreaming
    68ff0f8 Add PowerManager integration for button and keyboard backlight.
    bb9b648 display: Don't enable keyboard lights when dozing
    1788db0 keyboard: re-add code to detect lid state and handle lights
    7cd977b Reintroduce button-backlight (and respective inactivity timeout)
    fe022b3 Revert "SystemUI: Add global reboot option."
    192e5f1 Keyguard: don't refresh ui when screen off
    
       * packages/apps/Settings/
    e89693e OMS-N: Apps: show/hide Substratum overlays [2/2]
    2166209 add additional battery saver steps
    88bddb7 Skip Misc/Overcounted battery stats regardless of build type.
       
    * frameworks/native/
    4c64395 OMS-N: installd: add command 'rmidmap'
    43
    Good bye nougat.. Hello Oreo

    PS:- No ETAs please