[ROM][10] LineageOS 17.1 (unofficial) [SURYA]KARNA]

gardiol

Senior Member
Feb 23, 2011
542
456
93
San Carlo Canavese
photos.gardiol.org
Lineage_OS_Logo.png



LineageOS 17.1 unofficial for surya and karna.

I plan to apply for official status after enough testing is done.

/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* 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.
*/
What's working :
  • WiFi
  • VoLTE
  • VoWIFI
  • FM Radio
  • RIL (telephone, SIM, 2G/3G/4G/LTE/+/blah...)
  • Tethering
  • Bluetooth + AAC
  • Tethering + bluetooth working
  • Safety net passed
  • SELinux Enforcing in Trust
  • DT2W
  • WiFi Display fully working

Known issues:
  • Stock GAPPS do not flash
  • Ambient display (AOD) disabled.
  • Charging LED when phone is off

Download:

Instructions:
  • SURYA: Make sure you flashed firmware 12.0.4+!
  • KARNA: Make sure you flashed firmware 12.0.5+!
  • Download this build and Magisk (optionally) and gapps (optionally).
  • Put the zip on your MicroSD (suggested) or connect via USB to PC.
  • Boot to recovery (OrangeFox beta or latest TWRP build).
  • Wipe Dalvik, Cache and format data. This IS NOT OPTIONAL!
  • Reboot recovery after wipe and format.
  • Flash this ROM zip...
  • ... (suggested) reboot system and do the initial setup ...
  • ... If you want Magisk and/or gapps: boot back to recovery,
  • Flash GAPPS and/or Magisk.
  • Reboot and enjoy!
Tested with Magisk 20.4, newer version should work.
Suggested GAPPS: OpenGapps nano or pico.

XDA:DevDB Information
LineageOS 17.1, ROM for the Xiaomi Poco X3 NFC

Contributors

Build by @gardiol
Special thanks to @Maharajah99

Device tree sources: device tree
Kernel sources: kernel
Vendor sources: vendor

Additional notes

Things do look good so far. I will give it a few days then i will see to apply for official. That will not come easy nor fast, LineageOS is known to be very demanding and hard to apply for, this is why it's one of the best and stable ROMs out there.

ROM OS Version: Android 10
ROM Kernel: Linux 4.x

Version Information
Status:
Testing, unofficial.

Created 2020-12-13
Last Updated 2021-01-07
 
Last edited:

gardiol

Senior Member
Feb 23, 2011
542
456
93
San Carlo Canavese
photos.gardiol.org
Changelog

05 Jannuary 2021

WiFi Display fixed, finally!
Resolved bug with speakerphone and reboot

05 Jannuary 2021
WiFi Display not fixed
Product partition enlarged
Device Tree reworked for proper contribution recognition
AOD disabled. Once fixed will be available again.

01 Jannuary 2021
DT2W Fixed.

29 December 2020
New device tree is up.
Brightness works again
DT2W not working
AOD not working
FM Radio fixed (again)

29 December 2020
Final fix for low volume recording.
WiFI Display still not fixed (please send logs!!!)
Device tree cleaned up a lot
add Higher Aspect Ratio
statusbar : avoid display parameters on Notch
SELinux is showing Enforcing in Trust

28 December 2020
Added audio fixes for low volume.
Added full WiFi Display support (to be confirmed)

26 December 2020
New parittion size.
Bluetooth now reporting working properly.

24 December 2020
Tentative SELinux enforcing.

22 December 2020
Added FM radio support, FM radio working.
SELinux still permissive

20 December 2020
Reworked vendor mixing camera blobs from A10 branch and telephony from A11 branch.
Camera is reported working.
SIM card is reported working.
VoLTE and WoWiFi reported working.
FM Radio NOT working.

19 December 2020
New beta build for camera fix.
Let me know if it works!

18 December 2020
SIM card works
missing camera
selinux permissive, will try to fix in later build
 
Last edited:

gardiol

Senior Member
Feb 23, 2011
542
456
93
San Carlo Canavese
photos.gardiol.org
With latest build (to be release yet) safetynet will NOT pass. In order to pass safetynet again, you need to flash the dedicated module in the Magisk Garage below or do the old fashioned way using magisg props module and setting the fingerprint.

Check out this thread for some usefull magisk modules for POCO X3:
Magisk Garage
 
Last edited:

Vulnerability

Senior Member
Sep 14, 2017
51
20
8
Thanks for the ROM! Is this built with the official kernel release? Or are you using the one built by @xyyx ? Also I'm assuming SELinux is enforcing?

I'll flash it later this week most likely :)