[OTA][3.18][4.9][UNOFFICIAL]LineageOS 17.1[MIDO]

Search This thread

sinterklaas61

Member
Feb 27, 2020
7
0
Kyiv
Thank you as always for the great work and would like to join the question from chuchipando
Will Project Mainline be supported on Lineageos 17 .1 with version 4.9 of the kernel?
Thanks again
 

mewbow1

Member
Jun 4, 2015
35
10
LineageOS

Device:Redmi Note 4X (Mido)
Rom OS Version:Android 10Q
Rom Kernel:Linux 4.9.x
Based On:LineageOS 17.1
Rom Firmware Required:Unlocked Bootloader, Latest Xiaomi Firmware
Developer/Maintainer:Aryan Kedare
Created: 2020-05-18
Last Updated: 2020-06-13
Status: Stable
Telegram Group/Discussion:LineageOS Unofficial • Mido
Download LineageOS Unofficial 17.1 Q 4.9:
GitHub 2020-06-13
AndroidFileHost 2020-06-13
OTA / dirty / clean flash
For a clean flash see the "Installation" below⇓


Analysis of LineageOS Unofficial 17.1 Q 4.9release of 13th of June 2020:
Τested thoroughly. Based on LineageOS (Vanilla/No Gapps). The latest release of 13th of June, comes with pre-installed the Linux kernel MoeSyndrome vanilla 4.9.227. It is a powerful, reliable, smooth, secure and stable rom with fairly good battery performance and excellent CPU performance. It is not ideal for games due to the high temperatures. For daily use for the time being. The battery discharge when the mobile screen is inactive, is about 0.5% per hour and it lasts for 40 hours, with normal use. The temperature of the battery is between 26°C - 40°C. CPU's temperature is between 27°C - 44°C (External temperature: 19°C - 38°C). Memory and CPU are working flawlessly and are very very fast. During the inspection, the mobile phone was found to have 41 applications open (fb, telegram, messenger, whats up, opera, google, gallery, email, 3 different cam apps e.t.c.) and simultaneously to play music, record video, have open Data, Wi-Fi, GPS, screen recording and taking backups with 2 different apps, without any error or delay.

Working: Everything - except Infrared (IR) Blaster (Kernel side issue, not rom's) & SELinux (SELinux set to permissive - officialy won't work on LineageOS 17.1 Q 4.9 Kernel - which is a major security issue. We hope to see resolved soon): Boots, Calls, SMS, Data, Fingerprint, Wi-Fi, Bluetooth, Camera, Camcorder, Video Playback, Call recording, Audio, Mi Sound Enhancer, Dirac Sound, Sensors, Flash, LED, GPS, Volte, Face Unlock, Miracast/Cast/Wireless Display, Magisk, Smart Lock, Encryption, SafetyNet. No unneeded customizations and bloatware apps. Not support MicroG (I may not know how to install it). Flash Pico, Nano or Micro OpenGapps.

Screen Recording Video: Rom evaluation test by recording the screen with the internal recording application (video without editing).
MP4, 87,3 MB, 00:02:04, 1080x1920, (video were taken on 2020-06-24)Watch
LineageOS Unofficial 17.1 Q 4.9 2020-06-13 by Aryan &
CAF Kernel 4.9.228 2020-06-23 0839 by Nicklas373 &
Adreno 500 Series OpenGL & Vulkan Drivers [email protected] | V1.1.128
MP4, 94,4 MB, 00:02:14, 1080x1920, (video were taken on 2020-06-21)Watch
LineageOS Unofficial 17.1 Q 4.9 2020-06-13 by Aryan &
MoeSyndrome Kernel 4.9.228 2020-06-20 2357 by krasCGQ
MP4, 87,4Mb, 00:02:06, 1080x1920, (video were taken on 2020-06-20)Watch
LineageOS Unofficial 17.1 Q 4.9 2020-06-13 by Aryan &
CAF Kernel 4.9.227 2020-06-12 1916 by Nicklas373


Kernel 4.9.x (Why?): (Linux 4.9.228 Sat, 2020-06-20 10:28) is far more secure and performant than Linux 3.18.x was and it is supported by Linux until Jan, 2023 (longterm stable). It has security updates, bug fixes, it is more faster in animation & snappier and is EAS (Energy Aware Scheduling). Also Android 10+ dropped support for 3.18 kernels. Linux Kernel 3.18.x is an ancient Linux Kernel, which is now EOL (end of life/discontinued) from support from actual Linux Foundation.


Installation of LineageOS Unofficial 17.1 Q 4.9:

Full clean installation - You don't need all the steps
Delete Pin/Pattern/Password Lock & Fingerprint Data from your security settings on your present system (Recommended - This will save you a lot of trouble afterwards)
Backup your mobile settings and apps with Migrate_3.1.1_GPE.apk or Backup-Your-Mobile.apk (Optional)
Backup your Internal storage (Recommended)
Boot on twrp-3.3.1-3-KudProject-mido.img recovery (Recommended for 4.9 kernels - You can flash the file as an image with standard TWRP to Partition "Recovery")
Backup all partitions (Recommended - If something, during the flash of the rom, goes wrong, you have to Restore everything. (Before you make the Backup, remember that you have to delete all Pin/Pattern/Password Lock & Fingerprint Data from your security settings on your system. If you forgot to delete them and after the restore you have problems with them, go to TWRP and follow the directions of this video or this post)
Advanced wipe: Tick (Dalvik/Art Cache, Cache, System, Data, Vendor) and wipe
a. If you have change your firmware, flash the Latest Firmware stable V11.0.2.0.NCFMIXM Global 2019-11-15 (Optional - Always I am doing this, when I am coming from another custom rom or,
b. Sometimes flashing Latest MIUI Official ROM Global Stable Fastboot V11.0.2.0.NCFMIXM 1.8 GB, before reflashing custom ROMs may repair some broken things if we have some years of flashing things here and there and something got corrupted or altered)
a. if 7a. Swipe to wipe Cache & Dalvik
b. if 7b. Advanced wipe: Tick (Dalvik/Art Cache, Cache, System, Data, Vendor) and wipe
Flash the new rom - lineage-17.1-20200613-UNOFFICIAL-aryankedare-4.9-mido.zip
Flash the Gapps (Optional - ARM64/10/Pico/Nano/Micro)
Swipe to wipe Cache & Dalvik
Reboot to the system
Set up the phone
Boot on recovery again
Flash Backup Migrate zip (Optional)
Tick/Remount System - Tick/Unmount System (Otherwise Magisk cannot be flashed)
Flash the latest Magisk 20.4 (Recommended)
Flash any Kernel you want from the following (Optional):
a.Latest CAF Kernel 4.9.228 2020-06-23 (Optional - Improved accuracy for the thermal sensors. Very smooth, fast & stable. Better Battery Backup) See: How to flash CAF Kernel below
b.Latest MoeSyndrome Kernel 4.9.228 2020-06-20 (Optional - Improved accuracy for the thermal sensors. Fast, stable & a little bit rough)
Swipe to wipe Cache & Dalvik
Reboot to the system
Restore settings and apps with Backup-Your-Mobile.apk or Setup Migrate Helper - Uninstall Migrate Helper (Optional)
To stop the warnings from the Trust agent after installation of the 2020-06-13 release, go to Settings > Privacy > Trust > Security Alerts > and switch OFF SELinux (Optional)

YOU ARE OK.
And remember! Never Flash 3.18 Kernel Over The Build.


SafetyNet Success:

Open Magisk Manager app v7.5.1(267)(7) on your system and click on:
Menu > Settings > Magisk Hide. Toggle it ON. Close the Magisk Manager. Reopen it and now confirm that SafetyNet has been activated by clicking on Tap to start SafetyNet check. Again open the Menu and this time you can select Magisk Hide option on menu. Done.
Now your device is safe to run Netflix, Android pay, Pokemon Go and Banking applications. After you have choose Magisk Hide on Magisk Manager, refresh your device state on the Google server (Certified or Uncertified state in PlayStore, by wiping all your data on the settings menu of PlayStore).

And moreover, you can also go again on Magisk Manager and:
Menu > Settings > Hide Magisk Manager (Repackage Magisk Manager with random package and application names). Many bank apps detect Magisk Manager by it's package name, or
Menu > Settings > Clear Repo Cache (Clear the cached information for online repos. This forces the app to refresh online).

After all the changes, you have to reboot and then, you will see that no online application will be able to resist the capabilities of Magisk Manager app. All you need to do, is to know it's capabilities.

Magisk and MagiskHide Installation and Troubleshooting guide
GitHub Magisk Releases


Camera Apps: (Optional)

1. trCamera V1.5 Leader build 4 [FIX].apk 7.2.011 2020-02-13 based on GCam 7.3.030 and config.xml
vian-sith trCamera 1.5 Night v2.xml
vian-sith trCamera 1.5 Day v2.xml

2. HyperCam-RaizenA-10_CFV.apk 2020-04-22 based on GCam 6.1 and config.xml
E3-QD_HypercamMido.xml
QD_HypercamE4_Night.xml
QD_HypercamE4_Day.xml
XTerkRS_-_Vian_-_E3.xml
XTerkRS_-_Vian_-_HyperRaizen_V1.xml
HyperCam_E3_Naazzz_XML.xml

Both camera apps can work together (and with the stock) at the same time, are marvelous and do not crash at all. I think this moment are the best camera apps for our mido android Q. Stock Los 17.1 camera app is working excellent too.
How to Load/Save XML Configs

Parrot043 has also made some very good builds that based on gcam 7.3, which can work very well on our Mido Android 10 and they supports all camera vendors.. Not all versions are stable.
3. MGC_7.3.020_Parrot043_V7 2020-06-05 no config.xml
Before installing Parrot043's cam, remove and clean the data from any other camera application you have installed. Otherwise you will have crashes or lags.



  • Working Magisk Modules:

    1. Use fingerprint scanner as camera shutter button on Redmi Note 4X (Mido).
    v4 by veez21 2019-06-05 9.2kb fpcam-11.zip

  • How to flash CAF Kernel on LineageOS Unofficial 17.1 Q 4.9:

    1. Extract original boot.img from your rom.zip
    2. Boot to twrp-3.3.1-3-KudProject-mido.img recovery.
    3. Flash (restore) the original boot.img on partition "Boot", if you have previously change your stock Kernel
    4. Tick/Remount System - Tick/Unmount System (Otherwise Magisk cannot be flashed)
    5. Flash the latest Magisk 20.4 (Optional)
    6. Flash the CAF-Kernel-Mido-r2-EAS-Q-20200623-0839.zip
    7. Swipe to wipe Cache & Dalvik
    8. Reboot to the system

  • Adreno 500 Series OpenGL & Vulkan Drivers (2020-06-16):

    INSTALL THE DRIVERS BY YOUR OWN RESPONSIBILITY
    Adreno 500 Series OpenGL & Vulkan Drivers [email protected] | V1.1.128 are working excellent on my Redmi Note 4x Mido Snapdragon 625 MSM8953 with LineageOS Unofficial 17.1 Q 4.9 by Aryan Kedare and CAF Kernel 4.9.x by Dicky Herlambang (Nicklas373). Requiring the use of Canary Magisk and not the stable build of the Magisk itself. Otherwise, you will encounter bootloops, black screens or self reboots.

    Adreno 500 Series OpenGL & Vulkan Drivers for chipset Qualcomm Snapdragon 625 MSM8953
    Fully release the potential of GPU to continuously improve gaming experience. The main functions are optimize the GPU driver to game performance and stability. Including OpenGL and Vulkan optimizations.
    Drivers module is only for Android 10.0+: [email protected] | V1.1.128 (2020-06-16)
    Installation only by Canary Magisk (debug):magisk-debug.zip (magisk-uninstaller.zip, app-debug.apk, notes.md, debug.json, stub-release.apk, release.json, GitHub Canary)
    XDA Developers thread:[DRIVER] [9.0+] Adreno 500 Series OpenGL & Vulkan Drivers [[email protected]] [1.1.128]
    Telegram group:Adreno Graphics Drivers
    Download drivers module: MediaFire, GoogleDrive
    Check the version of OpenGL and Vulkan:eek:penGL ES Extensions - The OpenGL/Vulkan Utility

    How to flash Canary Magisk & install the Adreno 500 Series OpenGL & Vulkan Drivers:
    1. Extract original boot.img from your rom.zip
    2. If you have the Magisk installed on your system uninstall it completely. You can do this from the home screen of the Magisk Manager. You have to choose "Complete Uninstall". Magisk self-reboots, uninstalls the Magisk from the Recovery and it returns to the system
    3. Boot to twrp-3.3.1-3-KudProject-mido.img recovery (or any other 4.9 recovery you have installed on your device)
    3. Flash (restore) the original boot.img on partition "Boot"
    5. Flash the Canary Magisk magisk-debug.zip
    6. Flash any Kernel 4.9 you prefer (Optional)
    7. Swipe to wipe Cache & Dalvik
    8. Reboot to the system
    9. Open Canary Magisk Manager application on your system. (The interface is different from the stable build of Magisk 20.4, but all the settings are the same. It does not contain a full uninstall option. Canary Magisk magisk-uninstaller.zip is available in a separate file and is only applicable in Recovery mode)
    10. Adjust the application, just as you would with the stable build of Magisk 20.4.
    11. After setting up the application, go to the Modules page and install from your "Internal storage" the [email protected]_Vulkan-1.1.128_magisk-v2.0(20).zip drivers module
    12. Reboot
    13. Check the version of OpenGL and Vulkan drivers with the OpenGL ES Extensions - The OpenGL/Vulkan Utility
    14. YOU ARE OK. Now the drivers have been installed on your system systemless-ly. (You can disable the "Adreno 500 Series OpenGL & Vulkan Drivers" module, whenever you want from the Canary Magisk Modules page)

    You can also install the Canary builds through Magisk Manager 20.4 by switching over the Menu > Settings > Update Channel to "Custom Channel" and pasting this link:
    https://github.com/topjohnwu/magisk_files/raw/canary/release.json
    Do note that the Canary release channel (it is prepared for Android 10+ and 11) is considered the “bleeding edge” of Magisk releases, and as such, is recommended for developers only and not for average users. Please do not install Canary builds only for the sake of being on the absolute latest release.

  • Other 4.9 Kernels & Recoveries:

    1. Latest OrangeFox Recovery for 4.9 kernels (Recommended - Works very good)
    2. Latest PitchBlack Recovery for 4.9 kernels (Not tested)
    3. Latest Fox kernel 4.9 (Not tested) XDA
    4. Latest Cartel Kernel 4.9 (Not tested)

  • Other LineageOS 17.1 Q (3.18 or 4.9) builds:

    1. Zeelog, also has made a build of LineageOS Unofficial 17.1 Q 4.9 with no Gapps on 2020-05-18, which as many users who have tried it say (me too), that it's an excellent build. For those "purist" perhaps choose Zeelog's LineageOS because it's lack or close to bone stock customizations.
    Zeelog is probably the most important developer at the moment for updating our Mido mobile hardware. Dozens of other developers have relied on his work to support the release of their own custom operating systems. I thank him.

    2. Aryan's LineageOS Unofficial 17.1 Q 3.18 with no Gapps on 2020-06-12. I have tried this build also and it is an excellent build with no bugs or lags, fast stable, smooth and reliable.

    3. David Trpchevski's (LilBlinx), LineageOS Unofficial 17.1 Q 3.18 with stock Gapps (1.22 GB) on 2020-06-22. An excellent developer, who, I'm sure, will have made a very beautiful rom. Unfortunately, I will not try it because I am not a fan of Gapps.

  • Latest Tools for Xiaomi Redmi Note 4X (Mido):

    1. Mi Unlock Tool
    2. Xiaomi Flash Tool
    3. XiaoMiTool V2
    4. Minimal ADB And Fastboot v1.4.3

P.S.
1. I am not a developer, I started using this rom and I liked and I want to help other people.
2. I also want to help Aryan continue to develop the LineageOS for our mido.
3. If you see something wrong in my post please let me know so I can fix it

Post Updated on 2020-06-24 08:15:00 UTC
I will keep the post up to date until the release of the new build by Aryan (if any, I wish).

Did you try V454 driver?
If yes, does it break camera and flashlight?
 
Apr 21, 2020
29
78
Bloemfontein
Xposed EdXposed on LineageOS 17.1 Q 4.9.xxx

Installation Manual only for Redmi Note 4x Snapdragon Mido with LineageOS 17.1 Q 4.9.xxx
  • Requirements:
    1. Unlocked Bootloader
    2. Device must be rooted with Magisk 20.4
    3. Magisk Manager 7.5.1

  • Backup: (Recommended always)
    1. Backup your Internal disk & Sd card
    2. Do a Full System Image Backup:
    A) Delete Pin/Pattern/Password Lock & Fingerprint Data from your security settings on your present system (This will save you a lot of trouble afterwards)
    B) Backup from Recovery: Boot, System Image, Vendor Image, Data, Persist Image

  • Installation:
    Note: There are two variants of the EdXposed module. If you face any issues with the "YAHFA" variant, such as performance issues or trouble booting, feel free to try the "SandHook" one instead.

    1. Install: Magisk Manager > Menu > Downloads > Search for Riru > (Riru Core) v21.2
    2. Reboot
    3. Install: edxp-core\release\EdXposed-YAHFA-v0.4.6.3 (4546)-release.zip
    4. Reboot
    5. Install: EdXposedManager-4.5.7-45700-org.meowcat.edxposed.manager-release.apk
    6. Turn on:
    A) EdXposed Manager > Menu > Modules > EdXposed Manager = ON
    B) EdXposed Manager > Menu > Settings > Framework App List: Black/Whitelist mode = ON
    C) EdXposed Manager > Menu > Settings > Framework App List: Pass SafetyNet = ON
    7. Reboot



This way Magisk SafetyNet passes the basicintefrity & ctsProfile.
I am not facing problems like random reboots, non-working modules, or any other sort of unusual behavior after finishing all the steps.

Update: *** The bad thing is that after I installed the EdXposed and I was happy, now I can't find modules to install. No matter how much I search, they are not compatible with Android 10 most of them. Their development is lagging behind.
 
Last edited:

Kamul_PL

Member
Nov 28, 2015
38
7
Katowice
Problems with camera with Zeelog version of LineageOS

Anyone else has problems with camera in Zeelog lineage-17.1-20200701-UNOFFICIAL-3.18-mido?
Any hints what to do, to make it working? Or the only solution for now is to downgrade to one of previous versions?
 

Ponanda

New member
Jul 2, 2020
1
0
Issues founded

Micro don`t work in headphones if start to record. Micro work in discord and games if start telling without headphones and then put headphones in mobile phone.
 

silver90

Member
Jul 5, 2020
28
1
Can i use this rom for daily, for the average user without any problems?
Now I have latest xiaomi stock firmware and i need install 3.18 kernel Rom and that is that ?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 37
    https%3A%2F%2Fimg.xda-cdn.com%2FNEqGNs6rv5B0hFKzbB7Z_gXjqkY%3D%2Fhttp%253A%252F%252Ffiles.paulfasola.fr%252FCyanogenMod%252FLineageOS.png


    Code:
    /*
     * I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...). 
     * Please do some research if you have any concerns about features included in the products you find here 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. 
     * Your warranty will be void if you tamper with any part of your device / software.
     * Same statement for XDA.
     */
    LineageOS is a free, community built, aftermarket firmware distribution of Android 10 (Q), which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

    What's working :
    • Boots
    • RIL (Calls, SMS, Data)
    • Fingerprint
    • IR Blaster
    • Wi-Fi
    • Bluetooth
    • Camera
    • Camcorder
    • Video Playback
    • Audio
    • Sensors
    • Flash
    • LED
    • GPS
    • Volte
    • Vilte
    • Cast/Miracast

    Known issues:

    • - Selinux Permissive on 4.9 Build
      - Vilte and sim 2 volte broken on both the varients

    Instructions :
    • Download the latest build and GApps
    • Reboot to recovery
    • Flash the latest build and GApps
    • Reboot

    Downloads :

    • AndroidFileHost Server:
    • 3.18 Kernel Here
    • 4.9 Kernel Here

    Huge Thanks To @zeelog For merging all latest stuff in device tree

    XDA:DevDB Information
    LineageOS 17.1 Mido, ROM for the Xiaomi Redmi Note 4

    Contributors
    Aryan Kedare, zeelog, @xtrymind @Flex1911
    Source Code: https://github.com/KudProject/kernel_xiaomi_msm8953-3.18

    ROM OS Version: Android 10
    ROM Kernel: Linux 3.x
    ROM Firmware Required: Unlocked Bootloader, Latest Xiaomi Firmware

    Version Information
    Status: Stable

    Created 2020-01-24
    Last Updated 2020-06-19
    17
    Review - LineageOS Unofficial 17.1 - Android Q - Kernel 4.9 - Mido 2020-06-13


    Device: Redmi Note 4X (Mido)
    Rom OS Version: Android 10 Q
    Rom Kernel: Linux 4.9.x
    Based On: LineageOS 17.1
    Rom Firmware Required: Unlocked Bootloader, Latest Xiaomi Firmware
    Developer/Maintainer: Aryan Kedare
    Created: 2020-05-18
    Last Updated: 2020-06-13
    Status: Stable
    Telegram Group/Discussion: LineageOS Unofficial • Mido
    • Download LineageOS Unofficial 17.1 Q 4.9:
      1. GitHub 2020-06-13
      2. AndroidFileHost 2020-06-13
        OTA / dirty / clean flash
        For a clean flash see the "Installation" below
    • Analysis of LineageOS Unofficial 17.1 Q 4.9 release of 13th of June 2020:
      Τested thoroughly. Based on LineageOS (Vanilla/No Gapps). The latest release of 13th of June, comes with pre-installed the Linux kernel MoeSyndrome vanilla 4.9.227. It is a powerful, reliable, smooth, secure and stable rom with fairly good battery performance and excellent CPU performance. It is not ideal for games due to the high temperatures. For daily use for the time being. The battery discharge when the mobile screen is inactive, is about 0.5% per hour and it lasts for 40 hours, with normal use. The temperature of the battery is between 26°C - 40°C. CPU's temperature is between 27°C - 44°C (External temperature: 19°C - 38°C). Memory and CPU are working flawlessly and are very very fast. During the inspection, the mobile phone was found to have 41 applications open (fb, telegram, messenger, whats up, opera, google, gallery, email, 3 different cam apps e.t.c.) and simultaneously to play music, record video, have open Data, Wi-Fi, GPS, screen recording and taking backups with 2 different apps, without any error or delay.
    • Working: Everything - except Infrared (IR) Blaster (Kernel side issue, not rom's) & SELinux (SELinux set to permissive - officialy won't work on LineageOS 17.1 Q 4.9 Kernel - which is a major security issue. We hope to see resolved soon): Boots, Calls, SMS, Data, Fingerprint, Wi-Fi, Bluetooth, Camera, Camcorder, Video Playback, Call recording, Audio, Mi Sound Enhancer, Dirac Sound, Sensors, Flash, LED, GPS, Volte, Face Unlock, Miracast/Cast/Wireless Display, Magisk, Smart Lock, Encryption, SafetyNet. No unneeded customizations and bloatware apps. Not support MicroG (I may not know how to install it). Flash Pico, Nano or Micro OpenGapps.
    • Screen Recording Video: Rom evaluation test by recording the screen with the internal recording application (video without editing).
      1. MP4, 84,2 MB, 00:01:58, 1080x1920, (video were taken on 2020-06-25) Watch
        LineageOS Unofficial 17.1 Q 4.9 2020-06-13 by Aryan &
        CAF Kernel 4.9.228 2020-06-23 0839 by Nicklas373 &
        Adreno 500 Series OpenGL & Vulkan Drivers [email protected] | V1.1.128
      2. MP4, 87,3 MB, 00:02:04, 1080x1920, (video were taken on 2020-06-24) Watch
        LineageOS Unofficial 17.1 Q 4.9 2020-06-13 by Aryan &
        CAF Kernel 4.9.228 2020-06-23 0839 by Nicklas373 &
        Adreno 500 Series OpenGL & Vulkan Drivers [email protected] | V1.1.128
      3. MP4, 94,4 MB, 00:02:14, 1080x1920, (video were taken on 2020-06-21) Watch
        LineageOS Unofficial 17.1 Q 4.9 2020-06-13 by Aryan &
        MoeSyndrome Kernel 4.9.228 2020-06-20 2357 by krasCGQ
    • Kernel 4.9.x (Why?): (Linux 4.9.230 Thur, 9 Jul 2020 09:44) is far more secure and performant than Linux 3.18.x was and it is supported by Linux until Jan, 2023 (longterm stable). It has security updates, bug fixes, it is more faster in animation & snappier and is EAS (Energy Aware Scheduling). Also Android 10+ dropped support for 3.18 kernels. Linux Kernel 3.18.x is an ancient Linux Kernel, which is now EOL (end of life/discontinued) from support from actual Linux Foundation.
    • Installation of LineageOS Unofficial 17.1 Q 4.9:

      Full clean installation - You don't need all the steps
      1. Delete Pin/Pattern/Password Lock & Fingerprint Data from your security settings on your present system (Recommended - This will save you a lot of trouble afterwards)
      2. Backup your mobile settings and apps with Migrate_3.1.1_GPE.apk or Backup-Your-Mobile.apk (Optional)
      3. Backup your Internal storage (Recommended)
      4. Boot on twrp-3.3.1-3-KudProject-mido.img recovery (Recommended for 4.9 kernels - You can flash the file as an image with standard TWRP to Partition "Recovery" - Latest twrp-3.4.0-0-KudProject-mido.img 2020-06-26 )
      5. Backup all partitions (Recommended - If something, during the flash of the rom, goes wrong, you have to Restore everything. (Before you make the Backup, remember that you have to delete all Pin/Pattern/Password Lock & Fingerprint Data from your security settings on your system. If you forgot to delete them and after the restore you have problems with them, go to TWRP and follow the directions of this video or this post)
      6. Advanced wipe: Tick (Dalvik/Art Cache, Cache, System, Data, Vendor) and wipe
      7. a. If you have change your firmware, flash the Latest Firmware stable V11.0.2.0.NCFMIXM Global 2019-11-15 (Optional - Always I am doing this, when I am coming from another custom rom or,
        b. Sometimes flashing Latest MIUI Official ROM Global Stable Fastboot V11.0.2.0.NCFMIXM 1.8 GB, before reflashing custom ROMs may repair some broken things if we have some years of flashing things here and there and something got corrupted or altered)
      8. a. if 7a. Swipe to wipe Cache & Dalvik
        b. if 7b. Advanced wipe: Tick (Dalvik/Art Cache, Cache, System, Data, Vendor) and wipe
      9. Flash the new rom - lineage-17.1-20200613-UNOFFICIAL-aryankedare-4.9-mido.zip
      10. Flash the Gapps (Optional - ARM64/10/Pico/Nano/Micro)
      11. Swipe to wipe Cache & Dalvik
      12. Reboot to the system
      13. Set up the phone
      14. Boot on recovery again
      15. Flash Backup Migrate zip (Optional)
      16. Flash the latest Magisk 20.4 (Recommended)
      17. Flash any Kernel you want from the following (Optional):
        a. Latest CAF Kernel 4.9.229 2020-07-02 (Optional - Better Battery Backup) See: How to flash CAF Kernel below
        b. Latest MoeSyndrome Kernel 4.9.230 2020-07-09 (Optional - KudProject)
        c. Latest Fox kernel 4.9.228 2020-06-26 (Optional - XDA)
      18. Swipe to wipe Cache & Dalvik
      19. Reboot to the system
      20. Restore settings and apps with Backup-Your-Mobile.apk or Setup Migrate Helper - Uninstall Migrate Helper (Optional)
      21. To stop the warnings from the Trust agent after installation of the 2020-06-13 release, go to Settings > Privacy > Trust > Security Alerts > and switch OFF SELinux (Optional)
      YOU ARE OK.
      And remember! Never Flash 3.18 Kernel Over The Build.

    • Troubleshooting Guide:

      How to delete your Fingerprint data
      1. Go to Settings > Security > DEVICE SECURITY
      2. Delete your fingerprints one by one (The first time that you will try to delete your fingerprints, you cannot delete them. They are staying on the security settings but they are disabled)
      2. Delete your Pin/Pattern/ or Password Lock
      3. Set a new Pin/Pattern/ or Password Lock
      4. Now delete again your fingerprints
      6. Finally, delete again the Pin/Pattern/ or Password Lock that you have specified before (if you want)

      If Call Recording doesn't work
      or you have problems with the microphone, disable "OK Google" (hotword) service and restart. Then see if it is solved. (Open Google app > More > Settings > Voice > HEY GOOGLE Voice Match > Switch OFF Hey Google). I don't know if this problem exist. Some users had reported this issue for the version LineageOS 17.1 Q 4.9 of May 18th.

    • Screenshots (were taken on 2020-06-19) of LineageOS Unofficial 17.1 Q 4.9:

      LineageOS Unofficial 17.1 Q 4.9 2020-06-13 by Arean Kedare with CAF Kernel 4.9.227 2020-06-12 1916 by Nicklas373:

    • SafetyNet Success:

      Open Magisk Manager app v7.5.1(267)(7) on your system and click on:
      Menu > Settings > Magisk Hide. Toggle it ON. Close the Magisk Manager. Reopen it and now confirm that SafetyNet has been activated by clicking on Tap to start SafetyNet check. Again open the Menu and this time you can select Magisk Hide option on menu. Done.
      Now your device is safe to run Netflix, Android pay, Pokemon Go and Banking applications. After you have choose Magisk Hide on Magisk Manager, refresh your device state on the Google server (Certified or Uncertified state in PlayStore, by wiping all your data on the settings menu of PlayStore).

      And moreover, you can also go again on Magisk Manager and:
      Menu > Settings > Hide Magisk Manager (Repackage Magisk Manager with random package and application names). Many bank apps detect Magisk Manager by it's package name, or
      Menu > Settings > Clear Repo Cache (Clear the cached information for online repos. This forces the app to refresh online).

      After all the changes, you have to reboot and then, you will see that no online application will be able to resist the capabilities of Magisk Manager app. All you need to do, is to know it's capabilities.

      Magisk and MagiskHide Installation and Troubleshooting guide
      GitHub Magisk Releases

    • Working Magisk Modules:

      1. Use fingerprint scanner as camera shutter button on Redmi Note 4X (Mido). v4 by veez21 2019-06-05 9.2kb fpcam-11.zip. Only works on Aryan's LineageOS Unofficial 17.1 Q (3.18, 4.9), not on Zeelog's 17.1 Q 4.9 and not tested on David's 17.1 Q 3.18

    • How to flash CAF Kernel on LineageOS Unofficial 17.1 Q 4.9:

      1. Extract original boot.img from your rom.zip
      2. Boot to twrp-3.3.1-3-KudProject-mido.img recovery.
      3. Flash (restore) the original boot.img on partition "Boot", if you have previously change your stock Kernel
      4. Flash the latest Magisk 20.4 (Optional)
      5. Flash the CAF-Kernel-Mido-r2-EAS-Q-20200702-2301.zip
      6. Swipe to wipe Cache & Dalvik
      7. Reboot to the system

    • Adreno 500 Series OpenGL & Vulkan Drivers (2020-06-30 - NEW):

      INSTALL THE DRIVERS BY YOUR OWN RESPONSIBILITY
      Adreno 500 Series OpenGL & Vulkan Drivers [email protected] | V1.1.128 - v2.2(22). Requiring the use of Canary Magisk and not the stable build of the Magisk itself. Otherwise, you will encounter bootloops, black screens or self reboots.


      The driver is still not optimized as the stock one. It does not yet included on the Mido device tree. People think, that with the use of it as Magisk module, they can get better performance, but the truth is, that they just force their phone to use unoptimized driver, instead of the stock driver (optimized) and this makes the phone end up with an unstable behaviour and heat issues.

      Adreno 500 Series OpenGL & Vulkan Drivers for chipset Qualcomm Snapdragon 625 MSM8953
      Fully release the potential of GPU to continuously improve gaming experience. The main functions are optimize the GPU driver to game performance and stability. Including OpenGL and Vulkan optimizations.
      Drivers module is only for Android 10.0+: [email protected] | V1.1.128 - v2.2(22) (2020-06-30)
      Installation only by Canary Magisk (debug): magisk-debug.zip (magisk-uninstaller.zip, app-debug.apk, notes.md, debug.json, stub-release.apk, release.json, GitHub Canary)
      XDA Developers thread: [DRIVER] [9.0+] Adreno 500 Series OpenGL & Vulkan Drivers [[email protected]] [1.1.128]
      Telegram group: Adreno Graphics Drivers
      Download drivers Magisk module 2020-06-30: GoogleDrive sd625-sd626 magisk-v2.2(22)
      Check the version of OpenGL and Vulkan: OpenGL ES Extensions - The OpenGL/Vulkan Utility

      How to flash Canary Magisk & install the Adreno 500 Series OpenGL & Vulkan Drivers:
      1. Extract original boot.img from your rom.zip
      2. If you have the Magisk installed on your system uninstall it completely. You can do this from the home screen of the Magisk Manager. You have to choose "Complete Uninstall". Magisk self-reboots, uninstalls the Magisk from the Recovery and it returns to the system
      3. Boot to twrp-3.3.1-3-KudProject-mido.img recovery (or any other 4.9 recovery you have installed on your device)
      3. Flash (restore) the original boot.img on partition "Boot"
      5. Flash the Canary Magisk magisk-debug.zip
      6. Flash any Kernel 4.9 you prefer (Optional)
      7. Swipe to wipe Cache & Dalvik
      8. Reboot to the system
      9. Open Canary Magisk Manager application on your system. (The interface is different from the stable build of Magisk 20.4, but all the settings are the same. It does not contain a full uninstall option. Canary Magisk magisk-uninstaller.zip is available in a separate file and is only applicable in Recovery mode)
      10. Adjust the application, just as you would with the stable build of Magisk 20.4.
      11. After setting up the application, go to the Modules page and install from your "Internal storage" the Adreno_O[email protected]_Vulkan-1.1.128_sd625-sd626_magisk-v2.2(22).zip drivers module
      12. Reboot
      13. Check the version of OpenGL and Vulkan drivers with the OpenGL ES Extensions - The OpenGL/Vulkan Utility
      14. YOU ARE OK. Now the drivers have been installed on your system systemless-ly. (You can disable the "Adreno 500 Series OpenGL & Vulkan Drivers" module, whenever you want from the Canary Magisk Modules page)

      - If it cause any problem, you can get rid of the problem by disabling or removing the module via Magisk manager application or by deleting the Adreno folder in /data/adb/modules/ via custom recovery.
      Also read the installation methods: Installation Methods for Adreno Graphics Drivers

      You can also install the Canary builds through Magisk Manager 20.4 by switching over the Menu > Settings > Update Channel to "Custom Channel" and pasting this link:
      https://github.com/topjohnwu/magisk_files/raw/canary/release.json
      Do note that the Canary release channel (it is prepared for Android 10+ and 11) is considered the “bleeding edge” of Magisk releases, and as such, is recommended for developers only and not for average users. Please do not install Canary builds only for the sake of being on the absolute latest release.

    • KudProject TWRP System Image Backup:

      1. Delete Pin/Pattern/Password Lock & Fingerprint Data from your security settings on your present system (Recommended - This will save you a lot of trouble afterwards)
      2. Boot into TWRP Recovery
      3. Go to Wipe menu
      4. Advanced wipe: Tick (Dalvik/Art Cache, Cache) and wipe
      5. Go to Backup menu
      6. The default backup options in TWRP are System, Data, and Boot. For most cases, this is sufficient for backing up a ROM. (If your device has the option, backing up android_secure and/or sd-ext may be a good idea. There's usually no reason to back up cache or recovery.
      A System Image Backup takes up more space than a regular System Backup, but the System Image Backup is a bit-perfect backup that, when restored, will not break dm-verity (assuming that you don't break dm-verity before making the backup). If you need a perfect "go back to completely stock" backup then you should be using System Image (and Vendor Image, when available) instead of just System.
      Some devices have "special partitions" like WiMAX, pds, efs, etc. These partitions almost never need to be included in a normal Backup. It's usually a good idea to make a single backup of these partitions and hang on to them just in case. Make use of TWRP's keyboard feature and name your backup of these special partitions accordingly. It is NOT recommended to restore these special partitions unless you are absolutely certain that you need to restore them. Restoring these partitions unnecessarily may result in a bricked device.
      -- Boot (64MB) +
      -- Cache (0MB)
      -- Recovery (64MB)
      -- System (~...MB)
      -- Vendor (~...MB)
      -- System Image (~...MB) +
      -- Vendor Image (~...MB) +
      -- Data (excl. storage) (~...MB) +
      -- Persist (0MB)
      -- Persist Image(32MB) +
      -- Modem (100MB)
      -- EFS (4MB)
      7. Swipe to Backup
      8. As soon as the TWRP System Image Backup finish the job, go to Home > Reboot menu
      9. Choose: Reboot to the system
      Done. You will find your System Image Backup, on the Internal Storage, into the folder TWRP > Backups.
      TWRP Backup

    • Other LineageOS 17.1 Q (3.18 or 4.9) builds:

      1. Zeelog, also has made a build of LineageOS Unofficial 17.1 Q 4.9 with no Gapps on 2020-05-18, which as many users who have tried it say (me too - I have installed this version on my mobile since 24th of June), that it's an excellent build. For those "purist" perhaps choose Zeelog's LineageOS because it's lack or close to bone stock customizations.
      I recommend to anyone who installs version 4.9 of Zeelog not to install OpenGL and Vulkan drivers as the system becomes heavier. However, all the other instructions you will find in this post also apply to the Zeelog version.
      Zeelog is probably the most important developer at the moment for updating our Mido mobile hardware. Dozens of other developers have relied on his work to support the release of their own custom operating systems. I thank him.

      2. Zeelog's LineageOS Unofficial 17.1 Q 3.18 with no Gapps on 2020-07-02. Third OTA release on GitHub. Tested. Reliable, fast and stable. Marvellous rom. (Use it with the latest UG kernel by Zile995).

      3. Aryan's LineageOS Unofficial 17.1 Q 3.18 with no Gapps on 2020-06-12. I have tried this build also and it is an excellent build with no bugs or lags, fast stable, smooth and reliable. (Use it with the latest UG kernel by Zile995).

      4. David Trpchevski's (LilBlinx), LineageOS Unofficial 17.1 Q 3.18 with stock Gapps (1.22 GB) on 2020-06-22. An excellent developer, who, I'm sure, will have made a very beautiful rom. Unfortunately, I will not try it because I am not a fan of Gapps.
    Official LineageOS 16.0 (Maintainer: Aryan Kedare) is probably the last Official built. Mido is not currently supported in LineageOS. So, unless a new maintainer volunteers to maintain LineageOS for Redmi Note 4X (Mido) or bring 17.1, no new official builds will be available.
    P.S.
    1. I am not a developer, I started using this rom and I liked and I want to help other people.
    2. I also want to help Aryan continue to develop the LineageOS for our mido.
    3. The files in the post that are linked to MediaFire (I keep a free MediaFire account) were made for the convenience of those who do not have a Telegram account.
    4. I bear no responsibility if, in your attempt to follow the instructions in the post, you cause damage to your system.
    5. If you see something wrong in my post please let me know so I can fix it

    Post Updated on 2020-07-09 16:10:00 UTC
    15
    New Build Up Guys

    Links In OP
    14
    Guys Lineage 17.1 Thread Is Reopened and Updated
    8
    20200612

    Common Changelog:

    Merged June Patches
    Merged LineageOS Source Updates
    Removed Broken Features
    Updated
    Merged Zeelog Device Tree Changes
    4.9 Changes

    Updated Thermal Blobs
    Switched To Common Xiaomi IRhal
    Updated CarrierConfig from LA.UM.8.6.r1-04400-89xx.0


    20200519

    Initial 4.9 Public Build
    Merged May Patches
    Fixed Dirac
    Merged LineageOS Source Changes
    Added Support For Internal Audio Recordings


    20200420

    Merged LineageOS Source Changes
    Merged Device Changes From zeelog
    Added Gaming Tile
    Added OOS Volte Icon + Toggle
    Added 3 Finger Screenshot Support
    Added Extended Screenshot Support
    Added Screenshot Sound Toggle
    Added Data Switch Tile
    Many Underhood Changes


    20200413

    Merged April Security Patches
    Merged LineageOS Upstreams
    Merged Face Unlock
    Fixed GPS Issues
    Merged Device/Vendor/Kernel Tree Updates From zeelog
    VNDK Enabled Build
    Improved Goodix Cleanup Script
    Removed HD Icon
    Removed Debugging props to make banking apps work
    Many Underhood Changes


    20200316

    - Merged LineageOS Upstreams
    - Updated More Blobs To LA.UM.8.6.r1-03400-89xx.0
    - Updated Goodix Blobs
    - Merged All Changes From Zeelog
    - Merged Fixes For Network fluctuations
    - Merged OTA Support


    20200302

    * Updated More Blobs LA.UM.8.6.r1-02600-89xx.0
    * SElinux Enforcing
    * Merged LineageOS Source Changes
    * Merged Zeelog Device Tree Changes
    * Now Navbar can be disabled
    * Merged Kernel Updates From Zeelog
    * Signed Build With release-keys tag


    20200124

    * initial Build
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone