[ROM][10/12] LineageOS OFFICIAL [SURYA]KARNA]

Search This thread

fhloston

Senior Member
Jul 14, 2016
51
29
OnePlus 3
Xiaomi Mi Pad 4 Plus
  • Like
Reactions: H0rdak

dribgnikcom

New member
Dec 19, 2023
1
1
Is there any way to calibrate the compass? It is absolutely useless.

EDIT: It works very well with Mi's compass program.
 
Last edited:
  • Like
Reactions: Pan_Nekdo

clonato

Senior Member
Sep 19, 2008
232
44
Bergamo
I've been using this phone with LOS as my daily driver for more than 2 years and never really encountered any problems with banking apps or G Pay. I'm not sure how much changed with the switch from SafetyNet to PlayIntegrity, I am still using SafetyNetFix and the apps still work (although the app of my bank detected root, however, it let me proceed).
But it's important to remember that by system updates (which come weekly) you lose root access and you need to reflash Magisk zip. If you don't have an SD card, it might be problem if you don't have access to computer (with SD card, you can flash it from it).
Hi

which configuration are you using with SafetyNet?
 

tminus3

Senior Member
Hi All,

I'm thinking about flashing my trusty X3 NFC with either LOS or Arrow.
I'm on Arrrow v12.1 right now, but I can't seem to get the camera working properly (takes 5-10 seconds to take a picture or switch sensors, slow motion and time lapse videos won't work).

Since I've used LOS with great pleasure before I was wondering how the cameras are working, and how do I install from my current rom?
 

lojelo

Senior Member
Jan 21, 2022
56
2
I've just installed LOS on my Poco x3 nfc things are fine until I installed Brave browser. I am having problems with Brave browser it's the only program that is making LOS freeze and I have to keep hold of the power button to get out of it so the phone has to power down completely.

Anyone else had this problem?



Ps. Wish I kept quiet now chrome is also freezing.

This is happening on the latest nightly release.


Just an update on this will start with how I actually put LOS on my phone

I followed this video I don't usually flash things this way I have used TWRP to flash my Samsung tablets in the past but thought I would try it this way for a change.


Though since doing so I have had nothing but problems

Brave and Chrome keep freezing most times needing a power down so phone works again.

I now keep getting System UI is not responding.

When charging, the battery it reaches 88% and stops there for over an hour before eventually reaching 100%.

So last night I put twrp-3.7.0_12-4-surya-16.12.img what I want to know is can you wipe and format all the data on the phone and then flash the Poco x3 nfc with LOS then add MindTheGapps-13.0.0-arm64-20230808_213316 and use the fix for playstore via trwp.

Thanks for any advice and help
 
Last edited:

lojelo

Senior Member
Jan 21, 2022
56
2
Well I did a clean install using twrp and still Chrome and Brave freeze constantly looks like I might have to try another ROM.
 

osm1000

Member
Jan 29, 2023
6
0
Integration "charging control" feature for Lineage rom for poco x3 nfc

Hello, please can you integrate the "charging control" feature in settings, battery. The feature is already integrated in my lineage phones "xiomi mi mix 2" and "mi 8"... See screenshots:

With this feature you can set that the phone stops automaticly charging at the percentacy you have set.

Thank you
 

Attachments

  • photo_2024-01-14_00-30-30.jpg
    photo_2024-01-14_00-30-30.jpg
    67.2 KB · Views: 24
  • photo_2024-01-14_00-30-23.jpg
    photo_2024-01-14_00-30-23.jpg
    55.2 KB · Views: 24
Last edited:

Pan_Nekdo

Member
Sep 1, 2022
8
4
I've just installed LOS on my Poco x3 nfc things are fine until I installed Brave browser. I am having problems with Brave browser it's the only program that is making LOS freeze and I have to keep hold of the power button to get out of it so the phone has to power down completely.

Anyone else had this problem?



Ps. Wish I kept quiet now chrome is also freezing.

This is happening on the latest nightly release.


Just an update on this will start with how I actually put LOS on my phone

I followed this video I don't usually flash things this way I have used TWRP to flash my Samsung tablets in the past but thought I would try it this way for a change.


Though since doing so I have had nothing but problems

Brave and Chrome keep freezing most times needing a power down so phone works again.

I now keep getting System UI is not responding.

When charging, the battery it reaches 88% and stops there for over an hour before eventually reaching 100%.

So last night I put twrp-3.7.0_12-4-surya-16.12.img what I want to know is can you wipe and format all the data on the phone and then flash the Poco x3 nfc with LOS then add MindTheGapps-13.0.0-arm64-20230808_213316 and use the fix for playstore via trwp.

Thanks for any advice and help
Do you use battery saver? At least for me it makes the phone completely unusable, without it it's just fine.
 

lojelo

Senior Member
Jan 21, 2022
56
2
No @Pan_Nekdo

I tried everything mate but no matter what I did both froze after a few seconds of opening, I had enough of it and installed crdroid not had any problems with any apps or freezing at all.

Though since installing crdroid I am having problems installing anything else or even doing much inside twrp I keep getting

cannot decrypt adopted storage because /data will not mount

unable to mount storage
unable to mount /data/recovery/.twrps


So it looks like I might have to flash twrp again see if that fixes the above problem.
 

alksndb

Member
Jun 25, 2021
21
1
I've already changed to crdroid

I yesterday also changed to crdroid. And it not have this bug and brightness slider you can ajust much better in settings... First look that crdroid much better than leanage..
 

diegopl2

Member
Feb 13, 2024
13
6
Hi all, I have flashed last LOS nightly in my Poco x3 NFC and I'm not able to activate NFC, if a press the greyed button nothing happens and after a minute that button dissapear.
 

Attachments

  • Screenshot_20240222-234811_Ajustes.png
    Screenshot_20240222-234811_Ajustes.png
    46.1 KB · Views: 16
  • Screenshot_20240223-000927_Ajustes.png
    Screenshot_20240223-000927_Ajustes.png
    24.3 KB · Views: 16

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Will we have LOS 21?
  • 68
    Lineage_OS_Logo.png


    LineageOS 19.1 Official and currently built by LineageOS official infrastructure.


    17.1 has never been official (and it's upstream dead since 31st December 2021),
    18.1 is official, discontinued builds,
    19.1 is official, discontinued builds,
    20.0 is official and built weekly.

    /*
    * 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:
    • Everything

    Known issues:
    • Honestly at this time, nothing?
    • Some people report SystemUI freezes, in this case setting minimum refresh rate to 60Hz and peak refresh rate to 90Hz sohuld solve the issue.

    Camera Notes
    ANX camera is not recomended and will most probably NOT work.
    To get a fully working camera try one of the gcams here.
    Do not forget to copy&load the associated xml file!

    Official LOS uses oss camera service, so xml written for other custom roms might not work.
    The gcams at the above link have modified xmls for LOS.


    Download:

    There is also a MIcroG build if you don't like Google Apps!
    If you care for official microg builds, check here they will be ready when they will be ready, those builds are not done by me nor supported by me, do not ask me about it.

    There is also, for help and support, the:
    Instructions:
    • Make sure to flash at the firmware 14.0.5.0 (anything newer will work) from XiaomiFirmwareUpdater firmware page
    • 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...
    • ... flash gapps zip ...
    • ... If you want Magisk, flash zip ...
    • 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 MIUI page
    • ... (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 25.2, newer version should work, but you MUST follow the SafetyNet fix guide in the next post if you want Play Store certification.

    Suggested GAPPS for LineageOS: Mind The Gaps (here, make sure to download the ones for your android version 10, 11 or 12).



    XDA DevDB Information
    LineageOS 20.0 ROM for the Xiaomi Poco X3 NFC

    Contributors

    Build by @gardiol

    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 13
    ROM Kernel: Linux 4.x

    Version Information
    Status:
    Official and Unofficial.

    Created 2020-12-13
    Last Updated 2023-09-13
    20
    Passing SafetyNet and Google Play Certification

    SafetyNet and Play Store certification

    (guide updated 24 aug 2022, for Magisk 25.2)

    LineageOS, by charter, does not alter any safety ptotection set by Google. In our case, having an unlocked bootloader, safetynet will always fail by Google decision. Now, passing safety net is required for banking apps and even some games. Also, it is required for "play store certification", which will prevent you from even searching for some apps (like Netflix).
    Blame Google for all this.

    --ALL STEPS ARE MANDATORY, NONE CAN BE SKIPPED UNLESS EXPLICITY OPTIONAL--

    Install Magisk

    Download latest stable magisk apk from Magisk website (https://github.com/topjohnwu/Magisk). Rename it as .zip and flash it from recovery. Some recoveries, like TWRP, will flash the apk directly, others will require the rename.
    Boot LOS and install the apk file.

    Hide Magisk apps and Enable Zygisk & blocklist

    Open Magisk App, go to settings and hide the magisk app. Give it a name you will remember.
    After magisk app has been hidden, go back to settings and enable Zygisk (beta).
    Now apply the blocklist and select all the apps you like NOT to detect Magisk. This must include Google Play Services and Google Play Store.

    Install SafetyNet fix module

    kDrag0n developed a fix that can be flashed via Magisk. You must download the module (https://github.com/kdrag0n/safetynet-fix/releases), select at least version 2.2.1, and install it from inside Magisk app.

    Setup Fingerprint

    Download latest Props module for Magisk (https://xdaforums.com/t/module-magi...t-prop-edits-and-more-v6-1-2.3789228/page-274) and install it within Magisk. Reboot your phone.
    Now, after reboot, open a terminal (use "adb shell" from pc, or install termux from play store) and type:
    su (grant root access!)
    props (a text based menu will popup)
    Now select "1" (edit fingerprint), type "f" (pick fingerprint) select "22" (poco) then select any one poco x3 model. Which one really doesn't matter, but make sure to choose the right Android version.
    Confirm and reboot phone.

    Clear caches for Google stuff

    Now, open settings - apps and clear data&cache for Google Play Store and Google Play Services.
    One last reboot!

    Don't want root?

    If you dont want root... Just disable it from within Magisk!

    OPTIONAL Additional stuff

    Magisk from 24.1 removed the built-in modules repository. If you like it back, you can install Fox's Magisk Module Manager app (https://github.com/Fox2Code/FoxMagiskModuleManager).


    LineageOS on SafetyNet (https://www.lineageos.org/Safetynet)
    Kdrag0n on SafetyNet (https://github.com/kdrag0n/safetynet-fix)
    SafetyNetFix Magisk Module (https://github.com/kdrag0n/safetynet-fix/releases)
    Magisk download (https://github.com/topjohnwu/Magisk)
    Props Module for Magisk (https://xdaforums.com/t/module-magi...t-prop-edits-and-more-v6-1-2.3789228/page-274)
    fox's Magisk Module Manager (https://github.com/Fox2Code/FoxMagiskModuleManager)
    19
    Changelog


    LineageOS is official for Surya!
    No more builds are posted here, head to official Lineage OS download page.


    +++ OLDER NON RELEVANT HISTORY FOLLOWS +++

    20 December 2021 (17.1)
    Last 17.1 build ever for Surya
    December security patches

    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
    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.
    18
    Official build is again underway and will be ready in a few days.
    Everything has been approved this time we are just waiting for hudson & wiki merge to be approved.

    I think there is good hope that the first official build will be next week.