[ROM][UNOFFICIAL][13] LineageOS 20 for Xperia X Compact

Search This thread

Asta01

Member
Dec 21, 2018
19
0
For me, its OK.
 

Attachments

  • Screenshot_20230601-163420_EX Kernel Manager.png
    Screenshot_20230601-163420_EX Kernel Manager.png
    89.6 KB · Views: 83
Apr 12, 2022
10
3
same with me its ok , but this applies in stand by position ( without any activity on the screen ) , try using franco kernel manager , check the cpu section , and check if there are similarities with my device?

edit :
image ( example 1 ) stand by position without any activity on the touch screen Low cpu usage in " Minimum CPU frequency "
image ( example 2 ) there is activity on the touch screen max frequency cpu usage in " Minimum CPU frequency "
 

Attachments

  • Sreenshot_20230602_055245.jpg
    Sreenshot_20230602_055245.jpg
    47.3 KB · Views: 82
  • Sreenshot_20230602_055246.jpg
    Sreenshot_20230602_055246.jpg
    51.6 KB · Views: 71
  • Sreenshot_20230602_055247.jpg
    Sreenshot_20230602_055247.jpg
    51.7 KB · Views: 72
Last edited:

bananabytes

Member
Sep 6, 2016
35
8
Hi, thanks for this rom, it seems to be doing well so far and I upgraded from the last version.
However I can't hear any sound on the phone app, neither the stock phone or google phone that I installed. I was able to get the sound on Google Voice by messing with volume/switching to speaker mid call but I can't figure it out for the phone. i tried the trick for the don't unlock unless screen is on and several reboots and it didn't seem to help. Any help would be really appreciated.

edit: if I connect to the phone once via bluetooth or wired headset during a call, it seems to fix it, not sure if for the whole reboot or just the next call. After reboot the issue is still there until I plug in headphones again.
 
Last edited:

Chippa_a

Recognized Developer
Oct 10, 2015
331
3,270
Sony Xperia X
OnePlus 9RT
Hi, thanks for this rom, it seems to be doing well so far and I upgraded from the last version.
However I can't hear any sound on the phone app, neither the stock phone or google phone that I installed. I was able to get the sound on Google Voice by messing with volume/switching to speaker mid call but I can't figure it out for the phone. i tried the trick for the don't unlock unless screen is on and several reboots and it didn't seem to help. Any help would be really appreciated.

edit: if I connect to the phone once via bluetooth or wired headset during a call, it seems to fix it, not sure if for the whole reboot or just the next call. After reboot the issue is still there until I plug in headphones again.
This issue will be fixed in the next update.
 

Chippa_a

Recognized Developer
Oct 10, 2015
331
3,270
Sony Xperia X
OnePlus 9RT
New build is available!
  • June 2023 security patches
  • Fixed an issue where the speaker wasn’t working during a phone call
  • LineageOS upstream updates and fixes

You can install the new build manually or using the built-in Updater app (requires at least TWRP 3.6.x or LineageOS Recovery).

NOTE: If you are installing this build for the first time and sensors are not working, just install the previous build (20230522) and then update it to the latest one. It looks like there is an issue with selinux context update in this (20230623) build when you come from ROMs (like stock) with different selinux context.
 
Last edited:
New build is available!
  • June 2023 security patches
  • Fixed an issue where the speaker wasn’t working during a phone call
  • LineageOS upstream updates and fixes

You can install the new build manually or using the built-in Updater app (requires at least TWRP 3.6.x or LineageOS Recovery).
hi mr @Chippa_a
i got a problem on android 12 LOS 19 final rom, the problem is:

1. Audio often turns itself off, including alarms, all social media apps (ring notifications), screen lock/unlock sounds, touch sounds, keypad sounds, ring phones, message sounds, and all audio turns off in an instant. but if you reboot the audio goes back to normal.

I hope you to fix it so that the ROM runs well and perfectly even though it's final🙏
Thank for you 🙏🙏🙏
 

Chippa_a

Recognized Developer
Oct 10, 2015
331
3,270
Sony Xperia X
OnePlus 9RT
i got a problem on android 12 LOS 19 final rom
LineageOS-19.1 will no longer receive any updates, that's why it marked as final.

Anyway, this issue is old (present in 20 as well) and hard to reproduce and debug, so cannot be fixed for now.

Btw, I would really like to see specific ROM versions discussed in the relevant threads.
 
  • Like
Reactions: Tri Akbar Fitriana

OKalman

Member
Apr 26, 2023
5
0
Hi!
For me some sensors doesn't work: the screen doesn't rotate (auto rotate is on).
Also I can't boot to twrp. I use command 'fastboot boot twrp.img' , phone in flash mode (blue light), then screen turns to black.
Please help.
 

Chippa_a

Recognized Developer
Oct 10, 2015
331
3,270
Sony Xperia X
OnePlus 9RT
Hi!
For me some sensors doesn't work: the screen doesn't rotate (auto rotate is on).
Also I can't boot to twrp. I use command 'fastboot boot twrp.img' , phone in flash mode (blue light), then screen turns to black.
Please help.
This way to boot TWRP doesn't work on these devices. Please read the installation process in the TWRP thread, there is also information on how to enter recovery mode.

As for the sensors, just install the previous build (20230522) and then update it to the latest one. It looks like there is an issue with selinux context update in the latest build (20230623) when you come from ROMs (like stock) with different selinux context.
 

OKalman

Member
Apr 26, 2023
5
0
Thank you!
I rolled back to stock firmware, then the sensors worked. After this I installed LOS 18, then LOS 20. Now the auto rotate works.
TWRP issue also solved after formating 'data'.
 

xxirioxx

Member
Jan 26, 2018
20
7
I'm using the new release for some days and it's very good. I found one annoying bug and some other minor issues.
Main bug: after a while, wifi tethering and wifi cannot be activated and I must reboot the phone in order to make them work again (USB tethering is not affected by this problem)
Minor bugs:
  • I disabled Bluetooth geolocation to get deep sleep working
  • Messaging app doesn't show notifications: solved running this command adb shell dumpsys deviceidle whitelist +com.android.messaging (source)
  • Deep sleep is not working if you keep Facebook Lite running in background (not really a bug, I just want to let other users know :))
EDIT: to reproduce the bug. enable and disable wifi tethering two or three times. In the last attempt wifi tethering (and wifi) will no longer work until the next reboot.
 
Last edited:

Hez0

Member
Sep 19, 2015
10
2

Dear Chippa_a,​

Thank you so much for giving new life to my phone.
Gcam is so much better than the stock app I was using in Lineage OS16. I'm having so much fun taking photos, that actually look decent now! That was the main reason why I upgraded, but of course, Android 13 does a lot of things so much better too, making the upgrade worth it.

The only bug that might seem annoying, which I was well expecting, was the sound randomly (seemingly) turning itself off, solved by a restart. I truly don't mind putting up with this bug for the other benefits this rom brings.

Thank you for your work and dedication to this project, Chippa. God bless.
 

xxirioxx

Member
Jan 26, 2018
20
7

Dear Chippa_a,​

Thank you so much for giving new life to my phone.
Gcam is so much better than the stock app I was using in Lineage OS16. I'm having so much fun taking photos, that actually look decent now! That was the main reason why I upgraded, but of course, Android 13 does a lot of things so much better too, making the upgrade worth it.

The only bug that might seem annoying, which I was well expecting, was the sound randomly (seemingly) turning itself off, solved by a restart. I truly don't mind putting up with this bug for the other benefits this rom brings.

Thank you for your work and dedication to this project, Chippa. God bless.
Hello, I noticed a lot of users have this strange sound bug, but it never happened to me. I don't know the cause but maybe can be useful to know one of the first things I do is to disable AudioFX just because I don't like it. If someone wants to try, this is the command I used:
Code:
adb shell pm disable-user --user 0 org.lineageos.audiofx
 

xxirioxx

Member
Jan 26, 2018
20
7
same with me its ok , but this applies in stand by position ( without any activity on the screen ) , try using franco kernel manager , check the cpu section , and check if there are similarities with my device?

edit :
image ( example 1 ) stand by position without any activity on the touch screen Low cpu usage in " Minimum CPU frequency "
image ( example 2 ) there is activity on the touch screen max frequency cpu usage in " Minimum CPU frequency "
You are right, I felt the phone was hotter than the stock rom during the usage, so I checked the core status with 3C CPU Manager and I can confirm the frequency is set to maximum every time there is a user input on touchscreen. It seems touchscreen event overrides every setting. But I don't think this is the real problem because also the stock rom (that uses interactive governor instead of schedutil) behaves in similar way, not fixed to 1.4 GHz, but oscillating from 600MHz and 1.3 GHz on touchscreen events. Instead, I think CPU frequency is sticked to high values even when the screen is turned off, I'll investigate about it.
By the way, chippa_a, you really did a good job! Hope my previous posts can be useful.
 

xxirioxx

Member
Jan 26, 2018
20
7
Use EX Kernel Manager.I am using on Los16.It's great.Can fix this.Sorry,Los20 is in testing for now.Good job @Chippa_a.THANKS!!!🥰
Ex Kernel Manager doesn't work in this ROM, but after some tests I can confirm the governor works fine. The phone was overheating because there were some processes acting in strange way comparing them to the stock ROM. I used 3C Task Manager to find the processes consuming CPU and I solved uninstalling the apps I really don't need and enabling battery limitation for ING Bank. Maybe there are some other optimizations I can do but now the phone is colder than before.
Instead, I want to report another issue: you can't disable the fingerprint sensor when the screen is off. As you can see in the image, disabling the switch has no effect.
photo_2023-07-20_22-39-46.jpg
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    You're welcome, yes, .sh files need to be placed in /data/adb/service.d Magisk directory. Overheating problem is fully solved except for camera. When camera is used, after about 10 minutes the phone becomes hot even if all maximum CPU and GPU frequencies are set to minimum (by the thermal-engine.sh script service).
    1
    Has anyone experienced extreme battery drainage issues? This was on a fresh install of the latest rom with MindtheGapps and magisk. I noticed the battery draining while charging while on a video call. Turning brightness down to the lowest setting didnt do anything, neither did terminating the call and then turning the screen off. The phone eventually died.
    I've wiped cache in recovery and am hoping this won't happen again.

    I was using the same rom before with BitGapps, but I found there were a couple of issues that made me change: one was that upon restarting, it took a long time for apps to initalise, and the phone would lag for a good few minutes. This rom with Mindthegapps on the other hand is as smooth as butter! It's awesome, except for this battery drainage thing that just happened.

    EDIt: The extreme drainage hasn't occured again, but I found google maps was draining the battery faster than it could charge. I'll keep monitoring.
    This ROM overheats very much while the camera is active. I think this is why you noticed the battery draining during a video call. But later you said the battery kept discharging, so this could be related to some process running. If you enabled developer feature, you can list running processes using this command: adb shell top. If you don't want to use a PC, you can install a task manager (I like 3C Task Manager).
    Now let's talk about something else: I have two good news :D
    1) I updated my scripts, especially los20tweak.sh, because I noticed the configuration sometimes was not applied. Now the scripts starts after 2 minutes and writes the settings 20 times every 7 seconds (as I said before, I know this is ugly... but I can't find another solution).
    2) You'll be glad to know that now there's no need to restart your phone to have wifi and tethering working again! I want to share with you my workaround: just kill the process "[email protected]", Android will restart the service and wifi will work again. Just run this command as root in a terminal (or in Tasker)
    Code:
    1
    It turns out this was occurring because of the charger in the car. Nothing to do with the operating system. Loving this Rom with Mindthegapps so far. I don't understand how a gapps variant can affect how the phone operates so much.

    EDIT: Just tried out this version of gcam and it works well:
    I took the time to try a bunch of gcam's. I tried at least one variant of the gcam's listed on this page (link below), that specifies that it is made for multiple phones (just CTRL + F "multiple" on the following link):


    Not the most thorough examination of all the gcam versions, but that's what I was willing to do.

    Parrot043's version was the only one that I found that is able to take front camera shots (provided that you disable HDR and top/motion shot). Most of the others either crash when selecting the front camera or just won't take front camera pictures (even with HDR and top/motion shot disabled).

    I then tried every Parrot043 version, starting from the newest versions, until I hit a version that worked properly. Most of the newer versions will crash when going into the settings menu. The newest version that works properly is 8.2.300 version 9, which can be found here:


    Note: I can't seem to get portrait mode to work though.

    If you don't care about front camera, there is something noteworthy to mention with rear camera pictures and gcam variants: that is that some newer versions seem to take slightly poorer quality pictures when zooming in x2, and I suspect it is because it doesn't actually utilise the optical zoom of the lens, but just relies on digital. The reason why I suspect this is because those versions will x2 zoom instantly, while the others (like Parrot043's version) are kind of jittery in it's zooming in. Also, the poorer quality versions cut off more of the surrounding image (different aspect ratio) than the optically zoomed version pictures.
    If you want to know if your version of gcam takes one type of picture or the other, you can differentiate the two by looking at the resolution of the image. The digital zoom x2 images will take pictures at 4574x3392, while the optical zoom x2 images will take them at 4208x3120.
  • 10
    2okPze5.png

    Code:
    #include <std_disclaimer.h>
    /*
    * 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.
    */

    About LineageOS
    LineageOS is a free, community built, aftermarket firmware distribution of Android 13, which is designed to increase performance and reliability over stock Android for your device.​
    LineageOS is based on the Android Open Source Project, with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.​
    All the source code for LineageOS is available in the LineageOS GitHub organization.​
    And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.​
    You can also view the changelog for a full list of changes & features.​
    Official LineageOS website : http://lineageos.org
    About LineageOS Legal : http://lineageos.org/legal

    Important Information

    1. This ROM operates without ODM images, just follow the installation instructions.
    2. This ROM does not intended to support Google Camera, but you can try to play with some mods.

    About FDE and FBE
    Full-disk encryption (FDE) has been completely deprecated since Android 13, and now we use software implementation of File-based encryption (FBE).
    FDE and FBE methods are incompatible with each other. FBE cannot decrypt data encrypted with FDE and cannot encrypt existing files. That's why you need to perform factory reset/format data (not just "wipe data") before switching between ROM's with different encryption methods.
    To make it a bit clear:
    - FDE (e.g. stock, LineageOS-16/19) -> FBE (LineageOS-20) -> NOT POSSIBLE! Format data is required.
    - FBE -> FBE -> POSSIBLE! You can update/upgrade using "dirty" installation as before, in case if encryption methods are the same
    Moreover, to work with new encryption you need a recovery with appropriate support.
    Downloads Links
    LineageOS 20:
    Google Applications (optional):
    MindTheGapps: https://androidfilehost.com/?w=files&flid=322935 (Android 13.0 -> arm64)
    Recommended Recovery (optional):

    Flashing and updating

    Before installation, please make sure you have read and understood everything correctly about FDE and FBE encryption methods.
    LineageOS clean install:
    • Download the latest build of LineageOS ROM
    • Full wipe and factory reset (recommended / backup to make sure not to loose data)
    • Flash the LineageOS ROM zip from the Recovery
    • Flash the GApps to have the Google Applications (optional)
    • Every additional zip you want to flash (optional)
    • Reboot
    LineageOS update/upgrade:
    • Download the latest build of LineageOS ROM
    • Wipe cache and dalvik cache
    • Flash the latest LineageOS ROM zip from the Recovery
    • Every additional zip you want to flash (optional)
    • Reboot
    You can also update using the built-in Updater (requires at least TWRP 3.6.x or LineageOS Recovery)

    About the builds:

    Issues and reports
    • Report issues only if you are using the ROM kernel
    • If an additional mod is installed, make sure it's unrelated, and mention it
    • Make sure the issue wasn't discussed earlier in the threads
    • Grab a logcat right after the problem has occurred
      (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing)
    • If it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0
      (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    Also thanks to:
    • The LineageOS Team
    • The SODP Team
    • Everyone involved in working and testing
    Contributors
    Chippa_a
    ROM OS Version: 13.x
    ROM Kernel: Linux 4.9.x

    Version Information
    Status:
    Beta
    7
    FEATURES AND ISSUES
    • Boot: Ok
    • Bluetooth: Unknown
    • WiFi: Ok
    • WiFi Hotspot: Unknown
    • RIL - Phone - Data: Ok
    • GPS: Ok
    • Camera: Unknown
    • Camcorder: Unknown
    • Lights: Ok
    • MicroSD: Ok
    • Accelerometer: Ok
    • Compass: Ok
    • Gyroscope: Ok
    • QTI sensors: Ok
    • Touchscreen: Ok
    • FM Radio: N/A
    • Fingerprint: Ok
    • Vibrator: Ok
    • Microphone: Ok
    • Audio & music: Ok
    • Bluetooth audio: Ok
    • NFC: Unknown (HCE: Unknown)
    • Kernel: Ok (WIP)
    • Graphics: Ok
    • 3D Rendering: Ok
    • Clock: Ok
    • DRM: Unknown
    • Offline Charging: Ok
    • USB: Ok
    • USB Tethering: Unknown
    • USB OTG: Ok
    • Encryption: Ok
    • SEPolicies: Enforcing
    4
    New build is available!
    • June 2023 security patches
    • Fixed an issue where the speaker wasn’t working during a phone call
    • LineageOS upstream updates and fixes

    You can install the new build manually or using the built-in Updater app (requires at least TWRP 3.6.x or LineageOS Recovery).

    NOTE: If you are installing this build for the first time and sensors are not working, just install the previous build (20230522) and then update it to the latest one. It looks like there is an issue with selinux context update in this (20230623) build when you come from ROMs (like stock) with different selinux context.
    3
    Hi, thanks for this rom, it seems to be doing well so far and I upgraded from the last version.
    However I can't hear any sound on the phone app, neither the stock phone or google phone that I installed. I was able to get the sound on Google Voice by messing with volume/switching to speaker mid call but I can't figure it out for the phone. i tried the trick for the don't unlock unless screen is on and several reboots and it didn't seem to help. Any help would be really appreciated.

    edit: if I connect to the phone once via bluetooth or wired headset during a call, it seems to fix it, not sure if for the whole reboot or just the next call. After reboot the issue is still there until I plug in headphones again.
    This issue will be fixed in the next update.
    2
    After update lineage-20.0-20230522-UNOFFICIAL-kugo , double tap to wake work , nice