[Kernel] [MAINLINE] [Linux-5.XX BASED] [GCC9] Mainline Linux For Xiaomi Mi6 [New Update 5.11.14]

Search This thread
Aug 13, 2013
26
3
Code:

* Your warranty is now void.
* I'm not responsible for anything that may happen to your phone by installing any custom kernels.
* You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected developers.

Code:

This is a mainline linux port with some out of tree patch for DRM/PANEL and GPU
not tested on Android yet . Only ARM Linux distributions are been tested

How to test :

Make a new folder on /data/.stowaways
Grab any Linux OS you want to test place the rootfs on /data/. stowaways/postmarketOS.img
Than flash the kernel bellow and reboot


Note:

Wifi currently dos not works out of the box but if anyone want to try it just flow below guide


Update 25/04/2021:
+ update linux to 5.11.14
+ battery status are working now (charging may or may not work)
+ wifi working with some additional step along with firmware attached below
+ Bluetooth working fine
+ DRM/PANEL working via JDI-FHD-R63452
+ GPU working with mesa gallium driver
+ Haptics
+ Touchscreen using mainline RMI4
+ Vol Up key
+ Power button


NB: for wifi you will need
  • Install the following packages: pd-mapper, tqftpserv, qrtr & rmtfs
using your package manager if they are available if not clone than from this repo <https://github.com/jhugo/linux/tree/5.5rc2_wifi> and build and install
than clone & build & install diag-router from <https://github.com/andersson/diag>
run:
/bin/diag-router &
systemctl start rmtfs tqftpserv pd-mapper
After that you will be able to connect to the wifi successful




See screenshot bellow of a running Manjaro plasma-mobile OS

Screenshot_20210416_174020~2.pngScreenshot_19700308_181633.png

Screenshot_20210416_174837.pngScreenshot_19700308_181422.png

Ubuntu 21.04

Screenshot from 2021-03-17 14-43-20.png Screenshot from 2021-03-17 13-46-19.png
Screenshot from 2021-03-17 13-55-35.pngScreenshot from 2021-03-17 14-50-11.png
and this thered edited on Debian 11 with phosh gui

Source :

 

Attachments

  • 5.11-rc4-xiaomi-msm8998.img
    21.8 MB · Views: 23
  • 5.11.14-xiaomi-msm8998.img
    7.9 MB · Views: 7
  • 5.11.14-xiaomi-msm8998.zip
    17.4 MB · Views: 11
  • firmware.zip
    45 MB · Views: 10
  • Screenshot_19700308_180851.png
    Screenshot_19700308_180851.png
    208 KB · Views: 136
Last edited:
Aug 13, 2013
26
3

artful

Member
  • Mar 28, 2006
    7
    8
    Fstab is empty。
    I think it is possible that the SDCard is not decrypted, so I will try it when I have spare time.
     

    Attachments

    • fstab.txt
      126 bytes · Views: 4

    Top Liked Posts

    • There are no posts matching your filters.
    • 2
      Code:

      * Your warranty is now void.
      * I'm not responsible for anything that may happen to your phone by installing any custom kernels.
      * You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected developers.

      Code:

      This is a mainline linux port with some out of tree patch for DRM/PANEL and GPU
      not tested on Android yet . Only ARM Linux distributions are been tested

      How to test :

      Make a new folder on /data/.stowaways
      Grab any Linux OS you want to test place the rootfs on /data/. stowaways/postmarketOS.img
      Than flash the kernel bellow and reboot


      Note:

      Wifi currently dos not works out of the box but if anyone want to try it just flow below guide


      Update 25/04/2021:
      + update linux to 5.11.14
      + battery status are working now (charging may or may not work)
      + wifi working with some additional step along with firmware attached below
      + Bluetooth working fine
      + DRM/PANEL working via JDI-FHD-R63452
      + GPU working with mesa gallium driver
      + Haptics
      + Touchscreen using mainline RMI4
      + Vol Up key
      + Power button


      NB: for wifi you will need
      • Install the following packages: pd-mapper, tqftpserv, qrtr & rmtfs
      using your package manager if they are available if not clone than from this repo <https://github.com/jhugo/linux/tree/5.5rc2_wifi> and build and install
      than clone & build & install diag-router from <https://github.com/andersson/diag>
      run:
      /bin/diag-router &
      systemctl start rmtfs tqftpserv pd-mapper
      After that you will be able to connect to the wifi successful




      See screenshot bellow of a running Manjaro plasma-mobile OS

      Screenshot_20210416_174020~2.pngScreenshot_19700308_181633.png

      Screenshot_20210416_174837.pngScreenshot_19700308_181422.png

      Ubuntu 21.04

      Screenshot from 2021-03-17 14-43-20.png Screenshot from 2021-03-17 13-46-19.png
      Screenshot from 2021-03-17 13-55-35.pngScreenshot from 2021-03-17 14-50-11.png
      and this thered edited on Debian 11 with phosh gui

      Source :

    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