Skip to content

LineageOS/android_device_xiaomi_mi89xx-mainline

Repository files navigation

Android device tree for Xiaomi devices with MSM89xx SoC running mainline kernel

Kernel repositories

Target Path URL Branch
mi8916 kernel/xiaomi/mi8916-mainline https://github.com/msm8916-mainline/linux wip/msm8916/v6.16-rc4
mi8953_a kernel/xiaomi/mi8953-mainline https://github.com/msm8953-mainline/linux 6.15/main
mi89x7, tiare_mainline kernel/xiaomi/mi89x7-mainline https://github.com/msm89x7-mainline/linux msm89x7/6.15

Kernel patches

  • ANDROID: usb: gadget: configfs: Add Uevent to notify userspace (Fixes USB in normal mode)
  • Revert "staging: remove ashmem" (Fixes media codec)
  • Revert "dm: fix copying after src array boundaries" (Fixes kernel crash during APEX mount on 6.15+)
  • Revert "dm: always update the array size in realloc_argv on success" (Fixes kernel crash during APEX mount on 6.15+)
  • Revert "remoteproc: qcom_wcnss: Fix on platforms without fallback regulators" (Fixes qcom-wcnss-pil probe error on 6.15+)
  • Revert "remoteproc: qcom_wcnss: Handle platforms with only single power domain" (Fixes qcom-wcnss-pil probe error on 6.15+)
  • Revert "usb: dwc3: remove unused sg struct member" (Fixes USB Gadget data transfer on 6.13+ on msm8953)
  • Revert "usb: dwc3: gadget: Remove dwc3_request->needs_extra_trb" (Fixes USB Gadget data transfer on 6.13+ on msm8953)
  • Revert "usb: dwc3: gadget: Cleanup SG handling" (Fixes USB Gadget data transfer on 6.13+ on msm8953)
  • Revert "drm/msm/dpu: move scaling limitations out of the hw_catalog" (Fixes tearing display on 6.13+)

Notes for mi8916 target

  • The target may boot only on Redmi 2 (wt88047) as of now.
  • The target uses SD card for /data mountpoint. Make sure to have a SD card with 2 GB size at minimum inserted.

Notes for tiare_mainline target

  • The device has recovery partition sized at 25 MB which is too small to hold recovery.img built from the target. To boot the recovery.img, flash the image to boot partition and continue with normal boot.
  • The target is 32-bit, which requires the following changes to be made in AOSP tree in order to boot:
    1. On packages/modules/Connectivity/bpf/loader/NetBpfLoad.cpp, locate to the next line of the line containing [Arm] 64-bit userspace required on 6.2+ kernels (%d). (which should be return 1;), remove the line.
    2. On system/netd/server/XfrmController.cpp, in function validateResponse, replace the return statement containing Error netlink message with return netdutils::status::ok;.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •