• We are moving to xdaforums.com!

    Posts made between now and when the migration is complete will not be carried over.
    You will be automatically redirected once the migration is complete.

[ROM][11] LineageOS 18.1 [OFFICIAL]

Search This thread

Cerhio

Senior Member
Feb 25, 2013
225
30
Has anyone got Lineage OS working with the new update? Also, should I be concerned that the updater app keeps crashing after installing?
 

landsome

Senior Member
May 4, 2015
582
151
I might give the Galaxy s10e Exynos a try. The XZ2C will make a good phone for vacations.
Or a Pixel 4a, if you can still find it. A bit lighter and a more polished OS than the S10e (which is great - I have both, as well as the XZ2c, which btw works superbly with the official LOS 18.1 by Oliver).
 

Cerhio

Senior Member
Feb 25, 2013
225
30
I get no data with the new update. Battery life is single digit percent better.

I do not recommend anyone update to this latest version.
 

benh77

Member
Oct 28, 2012
13
1
I've been doing weekly updates for months and battery as good as ever. Even on days when I use heavily it lasts all day no problem.
 
If battery life would impact everyone then dev would be more responsive. Bug usually takes a small amount of people.

For example I would never use VolTE but that doesn't mean that this feature bugs should be ignored.
 
Last edited:

Flopinours

New member
May 12, 2022
4
1
Hi there !
I just created an account because I can't install LOS on my newly acquired xz2 compact.
I search over the web and in this particular thread and couldn't find a solution.. So I decided to write this.

I bought it two days ago (second hand) and it was under android 9 which I upgraded to 10 via flashtool (the official app told me that my phone was already up to date).

I followed the official Lineage installation process here --> https://wiki.lineageos.org/devices/xz2c/install
Then I unlocked successfully the bootloader, and the problem started when I needed to "Temporarily booting a custom recovery using fastboot".

I've put the
"fastboot flash boot lineage-18.1-20220506-recovery-xz2c.img" command and received this output the first time "fastboot: error: Failed to identify current slot" and then from the second this one "
fastboot: error: boot partition is smaller than boot image"

Searching over the web I tried to change boot to boot_a or boot_b with no success..

Did someone had the same problem as me ? Or can help me with that ?

Thank you anyway for reading this !

My specs :
- Xperia xz2 compact model H8314
- Android version : 10
- Android build number : 52.1.A.3.49
 

landsome

Senior Member
May 4, 2015
582
151
Hi there !
I just created an account because I can't install LOS on my newly acquired xz2 compact.
I search over the web and in this particular thread and couldn't find a solution.. So I decided to write this.

I bought it two days ago (second hand) and it was under android 9 which I upgraded to 10 via flashtool (the official app told me that my phone was already up to date).

I followed the official Lineage installation process here --> https://wiki.lineageos.org/devices/xz2c/install
Then I unlocked successfully the bootloader, and the problem started when I needed to "Temporarily booting a custom recovery using fastboot".

I've put the
"fastboot flash boot lineage-18.1-20220506-recovery-xz2c.img" command and received this output the first time "fastboot: error: Failed to identify current slot" and then from the second this one "
fastboot: error: boot partition is smaller than boot image"

Searching over the web I tried to change boot to boot_a or boot_b with no success..

Did someone had the same problem as me ? Or can help me with that ?

Thank you anyway for reading this !

My specs :
- Xperia xz2 compact model H8314
- Android version : 10
- Android build number : 52.1.A.3.49
Use the installation procedure on the official LOS channel for 18.1. But before you do that, make sure you follow these steps (I know you have already installed A10, but make sure the protocol below was followed, incl. booting to apps):

fastboot reboot bootloader
fastboot --set-active=a
fastboot reboot bootloader
fastboot getvar all
> in flash mode > Flash stock ROM with newsflasher [answer p, then n] > boot to apps
fastboot reboot bootloader
fastboot --set-active=b
fastboot reboot bootloader
fastboot getvar all
> in flash mode > Flash stock ROM with newsflasher [answer p, then n] > boot to apps again

Hope this helps.
 

Flopinours

New member
May 12, 2022
4
1
Thank you! I'll try this tomorow and post the result, have a good week end :)
Use the installation procedure on the official LOS channel for 18.1. But before you do that, make sure you follow these steps (I know you have already installed A10, but make sure the protocol below was followed, incl. booting to apps):

fastboot reboot bootloader
fastboot --set-active=a
fastboot reboot bootloader
fastboot getvar all
> in flash mode > Flash stock ROM with newsflasher [answer p, then n] > boot to apps
fastboot reboot bootloader
fastboot --set-active=b
fastboot reboot bootloader
fastboot getvar all
> in flash mode > Flash stock ROM with newsflasher [answer p, then n] > boot to apps again

Hope this helps.
 

zynexiz

Senior Member
Sep 1, 2011
142
30
Halmstad
Have anyone manage to encrypt external storage? I just got a 256GB micro SD card, but I can't find a way to secure the data on it. I don't want all my pictures or documents to be open to the world if I somehow loose my phone. One way would be to expand the card as internal, but that option if grayed out for some reason, and there doesn't seem to be a way to use encfs on the external storage at all (or FDE for that sake). In 2022 data at rest encryption is a pretty crucial thing to have IMO.

[EDIT] Found a way to enable adoptable storage thru ADB with sm list-disks then sm partition disk: x,x private and sm set-force-adoptable on. After a reboot the option to use the card as internal storage was enabled. https://www.nextpit.com/how-to-format-microsd-cards-as-internal-storage
 
Last edited:

DrTrax

Senior Member
Jan 23, 2013
117
26
GT-i9250
Sony Xperia XZ2 Compact
Is there a possibility to replace the recovery with TWRP?

I kinda managed to get TWRP installed... on slot A but slot B have the Lineage Recovery and BTW my TWRP on slot A is bugged, doesn't boot up properly, I even don't know which one I should choose 🙈

My first time handling devices with multiple partitions (I guess)
 

Cerhio

Senior Member
Feb 25, 2013
225
30
Just an update: battery life seems to be better. I still have problems with data.

I just purchased an S10e based off the recommendations above. Whoever's running this rom, great job. You made this phone last for me longer than most other phones I've used. I'm going to keep my XZ2C as a backup.

Thanks for everything.
 

House3272

Senior Member
Jan 11, 2011
67
6
Having issue with microphone during call.
It's super low and inaudible unless I talk directly into the mic on the bottom loudly and close up.

But microphone itself is fine I think, using the recorder app, recorded volume is normal.

Any ideas?
 

zpunout

Senior Member
Aug 26, 2015
404
93
Samsung Galaxy S5
Moto G5 Plus
Having issue with microphone during call.
It's super low and inaudible unless I talk directly into the mic on the bottom loudly and close up.

But microphone itself is fine I think, using the recorder app, recorded volume is normal.

Any ideas?
I had a similar issue while my XZ2c was running the stock OS, had to open the phone up to replace the microphone which then fixed it. It's worth replacing the battery during the process if the phone is opened up. If possible, I would try to temporarily reinstall the stock OS to try rule out any possible hardware failures before attempting to open the phone up though. It is very easy to ruin the display panel by poking the thin plastic sheet too far under the display. I've ruined 3 out of 5 display panels this way on various phones and had to buy replacements.
 

Cerhio

Senior Member
Feb 25, 2013
225
30
For anyone thinking of going to the S10e as your next compact phone: don't.

I just purchased one and promptly returned it. The battery life was atrocious. I was loosing a percentage of battery every few minutes just browsing the internet. I can't imagine getting through a normal day without having to charge it at least twice.

I might try and wait for the Android 6A as it's relatively compact and cheap and has a decent battery. Does anyone have any other suggestions for a compact phone?

Finally, apologies to the developer of this rom. Your work is amazing. I'll take these minor data issues over horrible battery life any day.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    Hi everyone,
    as some of you may already know, I've decided to step down as device maintainer for the Xperia XZ2 Compact.
    Thankfully, @dtrunk90 has volunteered to take over - he's a skilled dev who has already made valuable contributions in the past few months, and I'm sure he'll continue to do so.

    That being said, I really enjoyed on this device. I want to thank @Sjll who made all of this possible and everyone contributing to the Xperia Open Devices Program -- even though we don't always share the same views (which is what made Sjll and me start this project in the first place), I have nothing but respect for their hard work.
    10
    The first official 18.1 build is up, enjoy: https://download.lineageos.org/xz2c
    10
    A new build is up, please check the OP. Feel free to test and report bugs - we'd like to enable official 18.1 weekly builds soon.
    8
    http%3A%2F%2Fi.imgur.com%2F2okPze5.png


    LineageOS is a free, community built, aftermarket firmware distribution of Android 10, which is designed to increase performance and reliability over stock Android for your device.

    Code:
    /*
    * 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.
    */

    NOTE
    Should you ever face any issues, capture logs. I also need to know what build you're on (build number or at least a date).
    Hint: "It doesn't work" is not a bug report and posts like this will be ignored.


    KNOWN ISSUEs
    • The Sony stock camera does not work at the moment.

    INFO
    This ROM does not use the device trees/kernel from sonyxperiadev (aka SODP). The device tree was made from scratch, and the stock kernel (based off 52.1.A.x.y) has been used.

    DOWNLOAD
    Official builds

    NOTE: Since the official builds are signed, you can't simply upgrade from my unofficial builds -- you can either migrate to an official build using a script or do a clean install.

    All unofficial builds

    INSTRUCTIONS
    Just flash the builds as usual. Make sure to be on the latest stock firmware.

    SOURCE
    LineageOS
    Kernel
    5
    CHANGELOG
    20210516:
    - fixed WiFi display/screen casting
    - addressed performance issues and lags

    20210515:
    - updated to 18.1
    - fixed remaining most of the bugs
    - set SELinux to enforcing

    20201128:
    - fixed NFC

    20201127:
    - initial public release.