• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

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

Search This thread

mcsmart

Senior Member
Aug 8, 2011
151
108
@gardiol I’d like to express big thanks for your continuous efforts in upstreaming the work you have put into this ROM. Contributing to official trees is extremely valuable and key to long-term support and further improvements. So I am very glad that you are putting so much work into this. I know reviews on LineageOS Gerrit can sometimes be frustrating and lengthy, so I’d like to give you a heads up for this.

Also thanks for hanging around here on the forums and helping other people. It's great to have developers like you here. (y)
 

temporarium

Senior Member
@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.
 

INTseed

Member
Feb 12, 2011
48
11
Delete.
 

Attachments

  • Screenshot_20210619-220545.png
    Screenshot_20210619-220545.png
    101.1 KB · Views: 93

qaz13

Member
Jan 3, 2013
24
5
will the slow, fast and turbo charging indications be fixed? turbo charging is currently not available. ((now slow and fast charging is supported
 

gardiol

Senior Member
Feb 23, 2011
729
911
San Carlo Canavese
photos.gardiol.org
Released new build for 17.1 see first post.

33W original charger will show "slow charge" but instead its turbo charge.

I am sorry to say 99% of the action nowadays is on telegram, i keep xda updated because i like it more, but indeed in telegram i have literally much more support, testers, faster feedback and in general it's much efficient than xda. Its the sad truth.

As for netflix error 5.10, sorry, i can suggest some thing to try, but you should contact me on telegram.
 

ibrahm24

Member
May 13, 2021
12
2
After dirty flashing the latest version vibration works again, thanks.
Any idea why notification dots don't appear on icons (phone, sms)? I checked and they are enabled in settings
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    New build is up, FORMAT DATA is mandatory!
    6
    Guys!
    New builds are up! See first posts.
    Update for 17.1 (both unofficial and MicroG)
    Update for 18.1 (both unofficial and MicroG)

    If you have ANY issues with 18.1 ensure that:
    1. You are on LATEST stable A11 firmware for your region
    2. Flash this zip (MOD EDIT: Zip attached with post) in recovery before flasinhg ROM zip (work around TWRP and OFOX buggy partition handling)

    Do those points before reporting any bugs.

    Sorry for telegram links, but... everything is there nowadays and so also support. Not that i like it, but it's just way it is. If anybody mirrors those files feel free to post here new links.
    4
    THREAD CLEANED

    Please note off-topic posts have been removed on OP's request.

    Sorry for telegram links, but... everything is there nowadays and so also support. Not that i like it, but it's just way it is. If anybody mirrors those files feel free to post here new links.
    No i cannot, because doing so would create unmaintained copies of both files which will cause issues as soon as the main ones are updated or changed.
    I understand your issue, as i wrote earlier, but i don't think its a good think to mirror files in this way from official sources.
    gardiol, regarding your posts above, may I remind you that Telegram links are allowed in development threads if, and only if, full support is provided on the forum, here in the thread as well. This is also mentioned in the WhatsApp/Telegram Guidelines. If you're not going to provide support here, you're waiving your right to mention Telegram links in this thread, and they will be subject to removal.

    Also, download links hosted on Telegram are not permitted under any cirumstances. That is as per the Forum Rules:
    11. Don’t post with the intention of selling something.
    • ...
    • Off-site downloads are permitted if the site is non-commercial and does not require registration.
    • ...
    Since Telegram requires registration, it is not an allowed to be used as a download host. As a courtesy, I've edited your post and attached that zip file in your post so that it can be downloaded by everyone, not just the users who are on Telegram. Going forward, please make sure you're not linking files from Telegram. :)

    Have a nice day, and thanks for sharing your work with the community!

    Regards,
    shadowstep
    Forum Moderator
    3
    Speaking of trust, what TWRP version would you recommend? I use brigudav's which works well, but there's no github, no changelog...

    Honestly, i use this one:
    link (telegram)

    It's still buggy as all TWRP and OFOX are for Poco X3, but thats the best one i found so far. It's a pity no serious recovery dev is working on poco x3.
    3
    For gapps, i strongly recoment the "Mind The Gapps", they are super minimal but works GREAT. Including Android Auto.
  • 50
    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!
    Note: on the same download links you can find also MicroG builds for both 17.1 and 18.1!

    There is also, for help and support, the:
    Instructions:
    • NOTE: it is MANDATORY to flash latest stable firmware for your region!
    • 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 (latest TWRP only is suggested! OrangeFox has issues).
    • 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 for LineageOS 17.1: OpenGapps nano or pico.
    Suggested GAPPS for LineageOS 18.1: Mind The Gaps (
    here)


    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-07-13
    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

    20 July 2021 (both 17.1 and 18.1)
    July patches
    For 18.1: mi_thermald added back
    For 18.1: dynamic 30-120Hz fixed

    13 July 2021 (18.1)
    All new trees!
    FORMAT data is MANDATORY

    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.