• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

1emrys1

Senior Member
May 29, 2013
762
564
First thank you for LOS for this phone.
I installed the first version from official sources clean with formating data. The 22/07 dirty .
I see 3 strange things .
1. I can not find menu for change 3 icon menu to gestures.
2. After 3 hours of use I lost functionality of button last used applications. Pressing it does not work - no list of run apps, double press does not jump to previous application.
I added function to long press ( split window ) and is ok, but when I add list of last used apps - does not work.
3. Google message never use voice notification when new SMS arrives. I checked all permissions, and all should be ok ...
Just search gestures in settings.

For recent apps issue, did you freeze the default launcher using titanium backup or another such app?
 

Tomek0000

Senior Member
Jun 14, 2015
406
110
Just search gestures in settings.

For recent apps issue, did you freeze the default launcher using titanium backup or another such app?
This is true, I use nova and I found default launcher is starting sometimes and for be sure , I freezed trebuchet using SD Maid. Should not I do it ? I unfreeze it for teest.

This is it.
Button fixed.
Arrived SMS notification was eated by NCleaner , but after fix LCD showed notification from NCleaner for a moment , and it did not worked before unfreeze.

Is trebuchet not only launcher but works as android system part ? Why additional core functionality is build in launcher ?

Big thank you for excelent suggestion .
 
Last edited:

gardiol

Senior Member
Feb 23, 2011
767
977
San Carlo Canavese
photos.gardiol.org
This is true, I use nova and I found default launcher is starting sometimes and for be sure , I freezed trebuchet using SD Maid. Should not I do it ? I unfreeze it for teest.

This is it.
Button fixed.
Arrived SMS notification was eated by NCleaner , but after fix LCD showed notification from NCleaner for a moment , and it did not worked before unfreeze.

Is trebuchet not only launcher but works as android system part ? Why additional core functionality is build in launcher ?

Big thank you for excelent suggestion .
No need to freeze it. Specially because you risk a borked phone if your other launcher stop working for whatever reason. Trebuchet will not cause any issues if left unfrozen.
 
  • Like
Reactions: sturges

1emrys1

Senior Member
May 29, 2013
762
564
This is true, I use nova and I found default launcher is starting sometimes and for be sure , I freezed trebuchet using SD Maid. Should not I do it ? I unfreeze it for teest.

This is it.
Button fixed.
Arrived SMS notification was eated by NCleaner , but after fix LCD showed notification from NCleaner for a moment , and it did not worked before unfreeze.

Is trebuchet not only launcher but works as android system part ? Why additional core functionality is build in launcher ?

Big thank you for excelent suggestion .

Google made launcher an important part of android since last 3 android versions. The default launcher now contains many systemui elements and is not safe to disable.
So never remove or freeze stock launcher on any device or Android rom.
 

temporarium

Senior Member
Google made launcher an important part of android since last 3 android versions. The default launcher now contains many systemui elements and is not safe to disable.
So never remove or freeze stock launcher on any device or Android rom.
Been doing that for years with zero issues. As long as you have one that the system detects, you shouldn't need any others, especially ones from G.
 

1emrys1

Senior Member
May 29, 2013
762
564
Been doing that for years with zero issues. As long as you have one that the system detects, you shouldn't need any others, especially ones from G.
Recent apps will stop working if you disable/remove the system launcher.
And I'm not talking about quickstep module and magisk hackery.
For a normal custom rom user, it is not safe to disable the system launcher(on android 10 and 11) even if he wants to use another launcher.
 

temporarium

Senior Member
Recent apps will stop working if you disable/remove the system launcher.
And I'm not talking about quickstep module and magisk hackery.
For a normal custom rom user, it is not safe to disable the system launcher(on android 10 and 11) even if he wants to use another launcher.
No "hackery" required. Slim recents working just fine.

Anyway, nothing to do with the ROM or this topic. Just thought I'd throw that in so that one doesn't blame the user for a ROM deficiency and v.v.
 

1emrys1

Senior Member
May 29, 2013
762
564
No "hackery" required. Slim recents working just fine.

Anyway, nothing to do with the ROM or this topic. Just thought I'd throw that in so that one doesn't blame the user for a ROM deficiency and v.v.
Slim recents is not part of most custom roms.
Are you tone deaf or just not willing to understand?

1.Flash any custom rom like lineage, crdroid, pixel experience. Should be based on Android 10 or 11
2. Install nova launcher or another 3rd party launcher. Freeze or remove the default launcher

Result - recent screen will stop working.

In fact the person I originally replied to had the exact same problem. Just scroll a few replies above. He was using this rom with nova launcher and he had frozen the system launcher with SD maid app and his recents stopped working. He re enabled the system launcher and his problem was fixed.

When I'm specifically informing you about something, do some research and educate yourself. Any rom that is not slimrom or doesn't have slim recent will face this issue. And this means 99.9% of roms other than slim.

Also see - Dunning Kruger Effect
 
  • Like
Reactions: Juno1337

temporarium

Senior Member
Slim recents is not part of most custom roms.
Are you tone deaf or just not willing to understand?

1.Flash any custom rom like lineage, crdroid, pixel experience. Should be based on Android 10 or 11
2. Install nova launcher or another 3rd party launcher. Freeze or remove the default launcher

Result - recent screen will stop working.

In fact the person I originally replied to had the exact same problem. Just scroll a few replies above. He was using this rom with nova launcher and he had frozen the system launcher with SD maid app and his recents stopped working. He re enabled the system launcher and his problem was fixed.

When I'm specifically informing you about something, do some research and educate yourself. Any rom that is not slimrom or doesn't have slim recent will face this issue. And this means 99.9% of roms other than slim.

Also see - Dunning Kruger Effect
Shh. Take a deep breath. You don't have to get frustrated 🙄. You were helpful once, but now you're just grumpy. Enjoy your day 👋🏻

Also see - Resurrection Remix and many other modern ROMs
 

v44r

Member
Nov 28, 2020
10
6
So how can we delete the installed gapps? I want to go back to a clean lineageos but the /system/addon.d/70-gapps script backups and restores the google apps whenever I reinstall the rom zip. In the past (eons ago, in LG G3 times :p) I knew I could format /system and get rid of everything, but now I can't find a way to format /system in twrp 3.5.2.

Can we fastboot erase system without any unintended consequences? I'm new to this new era of dynamic super partitions.

(edit) I should have mentioned: I haven't found a way to mount the /system partition rw either (to manually remove the damned addon.d/70-gapps.sh). Clicking on it in twrp with the switch "Mount system partition read-only" disabled does nothing. I can only mount it read-only.
 
Last edited:

sturges

Senior Member
Apr 14, 2021
71
15
I want to go back to a clean lineageos but the /system/addon.d/70-gapps script backups and restores the google apps whenever I reinstall the rom zip
I also had this problem last month. I went to the advanced wipe menu in twrp, and in addition to the usual wipe options I did a "factory reset". I guess there are probably better solutions.
 

Top Liked Posts

  • 1
    Don't worry, reason for warning on

    Info about surya is this commit

  • 11
    "Now Official" announced on the official LOS subreddit:

    https://www.reddit.com/r/LineageOS/comments/pohbcv
    😁
    5
    By the way, this release will be the LAST one with test-keys. From the next one, i will start signing with release keys, so a clean flash will be mandatory AFTER today's build. But this will help with some apps that check for test keys and refuse to work.
    4
    "Are we there yet???"
    Donkey (c) 😁

    Hi! First of all, thanks for that and for bringing (almost) official LOS to X3 NFC, all of us!

    Not asking for ETA, but do you have a rough idea of when next update will be available? Within a few days or some weeks, for instance.
    I'm (and probably others) just about to flash LOS for the first time on my brand new X3 and as next release will need a clean install I'd like to know if better to hold a bit on apps install or not, to avoid lots of apps data backup/restore.

    I've read the whole thread and I saw you were on vacation recently....so welcome back and have your time. But if you can give us your feelings would be nice! Thanks again!
    Look on the download server, under test folder, the 10/09 build called "signed" , flash that one... Already signed with release keys. Its my daily driver so perfectly stable.
    4
    I will post this evening a new release. Will update first post too.
    MIcroG build will also follow soon.
  • 56
    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-09-98
    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
    Changelog

    19 September 2021 (17.1)

    September security patches.

    06 September 2021 (18.1)
    New debloated kernel
    Fixed screen recorder rate limiter
    Fixed DriveDroid (and more usb gadget stuff)
    Added proximy check to prevent screen wakeup option
    August patches
    Fixed minor denials (battery improvement)

    31 July 2021 (18.1)
    Fixed lots of denials
    Greatly improved battery life
    more minor fixes.

    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
    16
    I am working at cleaning the tree to meet official requirements. More news will be posted in the net days.
    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.