[ROM][7.1.2][UNOFFICIAL] LineageOS-14.1 Xiaomi Redmi Note 4 MTK

Search This thread

hetor99

Senior Member
Sep 2, 2015
393
196

jellybean13

Senior Member
Aug 16, 2017
64
43
Linyi
FIX: Fix OMX problems (Lineage OS 14.1 ONLY)
Please replace "/system/etc/media_codecs.xml" with this one (in appendices), and then, reboot device and enjoy.
Before (Screenshot_20180731-193049.png):
OMX (MediaTek) is not working (Could not play FLAC audios).
After (Screenshot_20180801-161529.png):
OMX (FFmpeg) is working.

That's all. Thank you.

Sent from my nikel using XDA Labs
 

Attachments

  • media_codecs.xml
    3.7 KB · Views: 78
  • Screenshot_20180731-193049.jpg
    Screenshot_20180731-193049.jpg
    147.4 KB · Views: 550
  • Screenshot_20180801-161529.jpg
    Screenshot_20180801-161529.jpg
    146.7 KB · Views: 542

LewAngell

Member
Jul 7, 2017
13
5
FIX: Fix OMX problems (Lineage OS 14.1 ONLY)
Please replace "/system/etc/media_codecs.xml" with this one (in appendices), and then, reboot device and enjoy.
Before (Screenshot_20180731-193049.png):
OMX (MediaTek) is not working (Could not play FLAC audios).
After (Screenshot_20180801-161529.png):
OMX (FFmpeg) is working.

That's all. Thank you.

Sent from my nikel using XDA Labs

Which ROM are you currently using ??? This one with Android 8.1.0 that you carried ???
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    Whats Working ?
    Hardware acceleration
    Wifi
    Bluetooth
    Vibration
    Audio
    MTP and Mass Storage modes
    Doze
    Offline charging
    RIL (Calls,Msg)
    Operator name
    GPS
    Hotspot

    Known issues:
    Fingerprint Scanner
    Camera(install camera fix patch with twrp for solve problem)
    Rotation Sensor (work partially)
    SD-Card
    Calls


    Source code: https://github.com/LineageOS
    Device Tree: https://github.com/SamarV-121/android_device_xiaomi_nikel

    Credit & Thanks to :
    (SamarV-121, Team_MAD , Verevka , sandstranger , vgdn1942 , DeckerSU , Danielhk , jonnyxda , Moyster , adrianom)

    ROM OS Version: 7.1.2
    ROM Kernel : Linux 3.18.x


    Changelog: 2017-07-30
    Calls [RIL] Fixed
    Some Improvements

    2017-08-12
    Changelog:

    Data Fixed
    Add AGPS
    Fix power off Alarm
    Fix Traffic counter
    Optimization of battery consumption and performance
    Update sources

    ********Do Wipe System and Data with Twrp and install Rom*********
    Download Link :
    https://www.androidfilehost.com/?fid=961840155545588213
    Camera fix patch : https://www.androidfilehost.com/?fid=745425885120756749

    Video From Rom : https://www.youtube.com/watch?v=BTs-ELobJOQ

    Source : http://en.miui.com/thread-723898-1-1.html

    Note: i am not tested this rom...
    3
    FIX: Fix OMX problems (Lineage OS 14.1 ONLY)
    Please replace "/system/etc/media_codecs.xml" with this one (in appendices), and then, reboot device and enjoy.
    Before (Screenshot_20180731-193049.png):
    OMX (MediaTek) is not working (Could not play FLAC audios).
    After (Screenshot_20180801-161529.png):
    OMX (FFmpeg) is working.

    That's all. Thank you.

    Sent from my nikel using XDA Labs
    2
    Bug: Could not play *.flac audios
    This bug caused by mediacodec, especially MTKOMX. Only MediaTek Android 6.0 (author: cofface) has not have this bug so far.
    2
    This file may help you fix "Could not detect SD card" bug.

    WARNING: You need to add a code which can create /nvcfg in /init.mt6797.rc
    2
    This device (nikel) has two basebands rather than a baseband. It means that you need to add some settings which is about CDMA baseband.

    This screenshot comes from MediaTek AOSP Android 6.0 (MRA58K).