[ROM][10] LineageOS 17.1 + 18.1 (official trees - unofficial build) [SURYA]KARNA]

Search This thread

conservpocs

Senior Member
Oct 24, 2020
84
12
I think this quest of gardiol for making his distro official was a total loss of time for everyone following this thread. He even admited it is now pointless, and he refocuses on something else (los18 and a11). I fear that someone else has already done good enough job on los18 so that starting form scratch will again be a waste of good energy for him and all of us expecting something that could never happen. there will always be something closed source in any cheap chinese phone like surya!
 

sm4rk0

Member
Oct 10, 2011
23
17
Zrenjanin
What Willy @gardiol did with LOS 17 wasn't useless at all. First of all, he provided us the stable and clean LineageOS thus enabling us to liberate our devices. Second, he learned something about Android OS development and he's now more mature and ready for making LOS 18 reality for our devices. He's the only one in this thread doing something while we're just waiting for a usable ROM and still some people dare to complain...

Thank you Willy and please carry on!
 

conservpocs

Senior Member
Oct 24, 2020
84
12
OK, but sawamen published his first build of los18.1 on 21january2021 and has kept progressing since then. So what is the point of doing another los 18 other that learning how to do for willy only ? Will he again want to make that other build official ?
 

sturges

Member
Apr 14, 2021
29
6
So at the moment what's the best rom (android 10 or 11) to install for this device?

This one is apparently abandoned until the A11 build is released, not sure about Sawamen's LOS (conflicting reports from people on the threads), issues in latest ArrowOS oss build, AICP hangs while charging, a few issues with crDroid too, no nfc and random reboots with WaveOS...
 
Last edited:
  • Like
  • Wow
Reactions: pnin and _exian_

L_e_x_t_e_r

Senior Member
May 21, 2019
110
23
So at the moment what's the best rom (android 10 or 11) to install for this device?

This one is apparently abandoned until the A11 build is released, not sure about Sawamen's LOS (conflicting reports from people on the threads), issues in latest ArrowOS oss build, AICP hangs while charging, a few issues with crDroid too, no nfc and random reboots with WaveOS...
crDroid 7.6 Official is great...I use it since two weeks and very happy with. ANX2.3 is working 100% so camera is fully working, too. It has a very good battery management, no reboots or other problems. crDroid has a very stable base of latest LOS18.1
 

sturges

Member
Apr 14, 2021
29
6
crDroid 7.6 Official is great...I use it since two weeks and very happy with. ANX2.3 is working 100% so camera is fully working, too. It has a very good battery management, no reboots or other problems. crDroid has a very stable base of latest LOS18.1
In crDroid thread I was reading a couple of reports that nfc payments don't work, also a couple of users reported screen freezing, and issues with new oss version.

Also the changelog says it's based on Wave OS which is based on AOSP?
 
Last edited:

slim8shady9

Member
  • Jul 3, 2012
    6
    4
    Sorry, I expressed myself inaccurate!



    so his OS 18 (possibly) never gets official!

    The unofficial-los18 maintainer explained here the reason, as you can see below.

    Hey! I will not maintain official builds!
    Someone applied earlier.

    I suppose that someone is @gardiol.

    Maybe they can work together now, since @gardiol abandoned los-17.1 branch and they are working on the same ROM...
     
    • Like
    Reactions: pnin

    L_e_x_t_e_r

    Senior Member
    May 21, 2019
    110
    23
    In crDroid thread I was reading a couple of reports that nfc payments don't work, also a couple of users reported screen freezing and also other errors. I was hoping for a more stable rom...

    Also the changelog says it's based on Wave OS which is based on AOSP?
    NFC works here. Other bugs here not shown...I allways do a clean fastboot-recovery before I use a new ROM to have a clean and stable base!!!
     
    • Like
    Reactions: sturges

    gardiol

    Senior Member
    Feb 23, 2011
    720
    885
    San Carlo Canavese
    photos.gardiol.org

    gardiol

    Senior Member
    Feb 23, 2011
    720
    885
    San Carlo Canavese
    photos.gardiol.org
    NFC works here. Other bugs here not shown...I allways do a clean fastboot-recovery before I use a new ROM to have a clean and stable base!!!

    NFC is broken on all current OSS roms for Surya because they all base on Ghostried trees which, being him on Karna, have no NFC support or at least partial NFC support. This is one of the reasons i am basing my work on a different base.
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 14
      The 18.1 trees have been submitted to official review.
      12
      I hope we had the last official review. I will be merging vendor tree today and i hope to be able to fork device tree officially in the next days. After that will be a short time before official builds will start. Let's cross fingers and be a little bit more patient.
      8
      @gardiol
      Also thanks for hanging around here on the forums and helping other people. It's great to have developers like you here. (y)
      Though I'm not on this ROM, I'd like to second this: please stay on XDA instead of moving to that useless social networking app that everyone is gravitating towards lately. There is zero support there, just a stream of jabber.
      7
      First release for 18.1 out!
      Check first post.

      It's quite stable and good.
      6
      Why you aren't useing trees from crDroid? This ROM works =perfect=!

      I don't know what to say...
      If this rom works perfect, why would i use some other rom trees? Moreover, i need trees that can be accepted by los and that excludes anything derived from current surya trees.

      That's why i have rewrote it for 17.1 and why i am doing the same for 18.1.
    • 49
      Lineage_OS_Logo.png



      LineageOS 17.1 official trees / unofficial builds for surya and karna.

      LineageOS 18.1 unOfficial, official request in progress, for surya and karna.

      We are official!


      But "official" builds cannot be built yet until we move to fully OSS vendor partition. Be patient now, it will happen thank to the amazing underlying Ghostrider work, but i need to adapt it to LOS trees which are different.

      Work on the 18.1 with full vendor partition, that will be officially built is in progress.


      /*
      * 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
      • Infrared (IR)
      • NFC (Surya only)

      Known issues:
      • Honestly at this time, nothing?

      Download:

      There is also a MIcroG build if you don't like Google Apps!
      There is also, for help and support, the:
      Instructions:
      • For 17.1: flash VENDOR + FIRMWARE from Android 10 (Q)
      • For 18.1: flash FIRMWARE from Android 11 (R) - no vendor required.
      • 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!
      If you have any issues flashing, like persistent GApps or booting issues, try to cleanup the phone with the following procedure:
      • Download a full MIUI rom recovery package from XiaomiFirmwareUpdater
      • ... (make sure you download the full rom package for RECOVERY, it is about 2.4Gb!) ...
      • From recovery, flash the zip file. This will cleanup all the partitions.
      • Now flash again this ROM.
      This problem is related to the fact that TWRP and OrangeFox both don't support dynamic partitions properly yet.

      Tested with Magisk 23.0, newer version should work.
      Suggested GAPPS: OpenGapps nano or pico. Any package bigge than micro will NOT flash, this is due to opengapps scripts not working with dynamic parttion!


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

      Contributors

      Build by @gardiol
      Thanks to @Maharajah99, @janhammer504 , and quite so many others.

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

      Additional notes

      SafetyNet does not pass by default, you need to follow the steps on post n.3 below. This is due to Google issues and LOS rules.

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

      Version Information
      Status:
      Testing, unofficial.

      Created 2020-12-13
      Last Updated 2021-06-19
      18
      I have some news. I am working on Lineage-18.1 and so far i am having some good progress.
      I managed to boot it, it's still unstable and a lot work is required, but it's steady.

      It is OSS based, so this will be official no doubt this time.
      16
      I am working at cleaning the tree to meet official requirements. More news will be posted in the net days.
      15
      Changelog

      19 June 2021 (17.1)
      Upstream sync
      June patches

      17 June 2021 (18.1)
      fixed haptic issues
      Fixed Netflix error 5.10
      Fixed idle drain
      Fixed NFC denial
      Upstream sync

      07 June 2021 (18.1)
      Fix aptX
      Fix boot from MIUI to LOS not working

      07 June 2021 (18.1)
      Fix netflix
      Fic video recording length
      Fix GBoard rounded corners

      05 June 2021 (18.1)
      First release of 18.1 build!

      11 May 2021 (17.1)
      LOS upstream sync with May patches

      18 April 2021
      LOS upstream sync with April patches
      Dpmd crash resolved
      ️LOS call recorder enabled
      ️Removed all permissive domains

      09 April 2021
      Upstream sources sync

      28/29 March 2021
      Fixed video recording bug
      Fixed audio crackling (finally!)
      Removed all "parts", added doze and refresh rate specific settings
      Getting trees ready for official
      (note: UnofficlalBuild and Experimental builds are from 28 March, MicroG from 29th)

      13 March 2021
      Two builds are available...
      Unofficial, the same old build, but with March security patches.
      Experimental, featuring a full vendor partition, but still SELinux permissive, but a ton of improvements including fixed video recording length, 4K video recording and playback and more minor issues.
      Pick your choice!

      27 February 2021
      Really fixed yellow tint once for all
      Enabled VoIP transition
      Updated proprietary blobs
      Haptic improvements
      Various minor optimizations
      LOS upstream sync

      19 February 2021
      Improved Wifi
      Improved audio
      LOS upstream sync

      06 February 2021
      Improved brightness levels
      Finished reworking tree
      February LOS upstream sync
      Latest security patches

      24 Jannuray 2021
      Fixed "Fast Charging" string, except for original charger!!! (Fast charging IS working, just does not says it's fast in lockscreen).
      Added 30Hz and 50Hz display frequency in display options
      Cleaned up audio routes


      19 Jannuary 2021
      Reverted a prop which was interferring with whatsapp videos.

      18 Jannuary 2021
      Fixed fingerprints
      Rewritten init_surya.cpp
      Removed more useless stuff
      Activated correctly second SIM card
      Added a few translations
      Improved brighness
      Improved Wifi networks
      Fixed tethering+bluetooth

      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
      14
      I have been contacted back by LineageOS team regarding the "official" status. There are few things that needs to be fixed before it will happen, and i am working on it. It will take time but i plan to follow trough to official as planned.