[Nubia Red Magic 5G Lite ROMs, Kernels, Recoveries,] yangcyborg:
LineageOS 21.0 for Nubia Play 5G / Red Magic 5G Lite​

LineageOS is a free, community built, aftermarket firmware distribution of Android 14 (U), 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 works:

- Audio

- Bluetooth

- Calls/SMS/Mobile data

- Camera (Photo/Video/Flashlight)

- DT2W

- Fingerprint sensor (fod)

- GPS

- Keydisabler

- NFC

- Notification LED

- Torchlight

- Volte

- Wifi

- Selinux enforce

Additions (for Red Magic 5G Lite):

- Light Strip (support 4 modes)

a) NOTIFICATION -- Set back led strip breath (green)

b) Battery Charging -- Set back led strip rhythml (green)

c) Battery Low -- Set back led strip blink (red)

d) Battery Full -- Set back led strip light up (rainbow)

- Logo Leds

a) NOTIFICATION -- Set back led strip breath

b) Battery Charging -- Set back led strip light up

Broken:

You tell me

Installation:

Download the zip(s)

Install Lineage Recovery

Perform a nandroid backup of your current ROM (Optional)

Wipe data/factory reset

Flash LineageOS

Reboot

Source code:

device-common: https://github.com/LineageOS/android_device_nubia_sm7250-common

device tree: https://github.com/LineageOS/android_device_nubia_nx651j

kernel: https://github.com/LineageOS/android_kernel_nubia_sm7250

Clean code with kernel rebased on top of latest caf sm8250 tag.

Downloads (Shared folder):

Google Drive (for international users): lineage-21.0-UNOFFICIAL-nx651j

123pan (for Chinese users): lineage-21.0-UNOFFICIAL-nx651j

Changelog:

2023-12-29

Update Lineage code

Update kernel source code from qcom/sm8250 (4.19.300)

2023-12-20

Update Lineage code

December 2023 Quarterly Platform Release and Security update (android 14_r17)

2023-12-10

overlay: CarrierConfig: Show 4G instead of LTE to match stock behaviour

2023-12-08

sepolicy: Remove duplicated rules

Update double tap to wake node

Cleanup init.nubia.rc entries

Do not balance msm_drm and kgsl_3d0 IRQs

overlay: Disable global mode and CDMA choices.

overlay: Use CarrierConfig DTMF & CSP booleans.

overlay: Cleanup Telephony overlays

sepolicy: Update battery info context

Add property for factory reset protection feature

sepolicy: Allow fastbootd access to all partitions

Simplify custom fastbootd naming

2023-12-02

Fix the issue that camera files cannot be saved

Fix I/O error when sideload in recovery mode

2023-11-30

Move to QTI health AIDL service

Add support for charging Leds on offline / recovery mode

2023-11-26

Update Lineage code

Update kernel source code from qcom/sm8250

November 2023 Security update (android 14_r14)

Update firmware images from stock A11 (except abl)

Set default network preference to NR

Overlay: enable 5G SA and NSA

2023-11-17

Initial build

XDA: DevDB Information:

[ROM][UNOFFICIAL][NX651J] LineageOS 21.0 for Nubia Play 5G / Red Magic 5G Lite, ROM for all devices (see above for details)

Contributors:

@yangcyborg

github page: https://github.com/Cyborg2017

Thanks:

LineageOS Official

ROM OS Version: LineageOS 21.0

ROM Kernel: Linux 4.19.300

Based On: Android 14_r17

Version Information

Status: Testing

Created: 2023-11-17

Last Updated: 2023-12-20