[ROM][UNOFFICIAL][9.0] LineageOS 16.0 for Xperia X [FINAL]

Search This thread

armorgeddon

Senior Member
Nov 23, 2008
61
20
Thank you very much for your comments Spaceoid and PislickB3. For possible future issues with that I'll save the hints PislickB3 gave in his or her comment though in this case it turned out to be caused purely by a bug in the app I was using.

@PislickB3 Unfortunately I can't help with that apart from that browsers should be able to use Widewine DRM and possibly also Kodi (at least it does on Windows and Linux).
 

h___m

Member
Dec 31, 2021
8
2
I have successfully flashed with additional gapps and su. (with twrp)

After that I flashed again without gapps. After the reboot there is the lineage logo with a bow and a moving point. And then there is no change. The boot process is hanging.

I can only reboot with power+volume up. Booting in fastboot is not possible, I assume that I must activate dev mode, but lineage is not booting completely. So I cannot activate dev mode ...

Has someone an idea what I can do? It seems I have the xperia x bricked. :-(
 

57op

Senior Member
Jun 9, 2011
445
296
I have successfully flashed with additional gapps and su. (with twrp)

After that I flashed again without gapps. After the reboot there is the lineage logo with a bow and a moving point. And then there is no change. The boot process is hanging.

I can only reboot with power+volume up. Booting in fastboot is not possible, I assume that I must activate dev mode, but lineage is not booting completely. So I cannot activate dev mode ...

Has someone an idea what I can do? It seems I have the xperia x bricked. :-(
you can still shutdown the device and later boot into recovery or fastboot mode :)
keep pressing power + volume up until you hear the device vibrating 3 times.

at this point it's shut down and you can use power + volume down combination to boot into recovery
 

h___m

Member
Dec 31, 2021
8
2
you can still shutdown the device and later boot into recovery or fastboot mode :)
keep pressing power + volume up until you hear the device vibrating 3 times.

at this point it's shut down and you can use power + volume down combination to boot into recovery
I think I made a mistake: I used

fastboot flash boot twrp-3.6.0_9-0-20211115-suzu.img

to start twrp for flashing lineage. So there is no recovery. Power and Vol down starts only the incomplete boot of lineage os.

I should have used
fastboot flash
recovery twrp-3.6.0_9-0-20211115-suzu.img
, I think.
 

57op

Senior Member
Jun 9, 2011
445
296
I think I made a mistake: I used

fastboot flash boot twrp-3.6.0_9-0-20211115-suzu.img

to start twrp for flashing lineage. So there is no recovery. Power and Vol down starts only the incomplete boot of lineage os.

I should have used
fastboot flash
recovery twrp-3.6.0_9-0-20211115-suzu.img
, I think.
in fastboot mode, run
Code:
fastboot boot twrp-3.6.0_9-0-20211115-suzu.img
 

h___m

Member
Dec 31, 2021
8
2
Thanks for your reply and btw a Happy New Year.

I can not enter fastboot mode: Lineage OS is flashed on the device. The dev mode is not activated and I can not boot Lineage to activate the dev mode. Without dev mode fastboot is not possible, I think.
 

h___m

Member
Dec 31, 2021
8
2
... Tomorrow I will try again to get with the flash mode key to fastboot. Perhaps I made there something wrong ...
 

h___m

Member
Dec 31, 2021
8
2
... Tomorrow I will try again to get with the flash mode key to fastboot. Perhaps I made there something wrong ...
in fastboot mode, run
Code:
fastboot boot twrp-3.6.0_9-0-20211115-suzu.img
OK, Power +Vol up worked after clean reboot of my PC.
Thanks for your patience and to all that make LineageOS possible.
 

57op

Senior Member
Jun 9, 2011
445
296
... Tomorrow I will try again to get with the flash mode key to fastboot. Perhaps I made there something wrong ...

OK, Power +Vol up worked after clean reboot of my PC.
Thanks for your patience and to all that make LineageOS possible.
happy to know that it worked out well for you :)
and happy new year too

p.s. i just wish Chippa would release device tree source code, please
 
  • Like
Reactions: armorgeddon

Superkenel

Senior Member
Nov 6, 2021
54
4
Sony Xperia X
Sony Xperia XA2
FEATURES AND ISSUES
  • Boot: Ok
  • Bluetooth: Ok
  • WiFi: Ok
  • WiFi Hotspot: Ok
  • RIL - Phone - Data: Ok
  • GPS: Ok
  • Camera: Ok
  • Camcorder: Ok
  • 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: Ok (HCE: Ok)
  • Kernel: Ok
  • Graphics: Ok
  • 3D Rendering: Ok
  • Clock: Ok
  • DRM: Ok
  • Offline Charging: Ok
  • USB: Ok
  • USB Tethering: Ok
  • USB OTG: Ok
  • Encryption: Ok
  • SEPolicies: Enforcing
IS GPS localisation only working with Gapps ? I've no sucess with MicroG ( I want a degooglised phone )
[ UPDATE My sony Xperia X suzu have a russian Glonass instead of an american GPS, so the satellite's localisation work with GNSS app ( like Harnisch Statut GNSS 9.8d ) ]
 
Last edited:

Superkenel

Senior Member
Nov 6, 2021
54
4
Sony Xperia X
Sony Xperia XA2
mU06hk7.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 9.x (Pie),​
which is designed to increase performance and reliability over stock Android for your device.​
All the source code for LineageOS is available in the LineageOS GitHub repo.​
And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.​
Official LineageOS website : http://lineageos.org
About LineageOS Legal : http://lineageos.org/legal/

Important Information
1. This ROM has nothing related to ODM images! So you don't need to ask/install anything like that, just follow the instructions.
2. This ROM will never work fully with newer versions of Google Camera (GCam)!
Downloads Links
LineageOS 16.x:
Google Applications (optional):
OpenGapps: http://opengapps.org/ (ARM64->Android 9.0->Pico, Nano or Micro)​
Information: Flash the GApps before the first boot. If not, a clean flash is recommended.​
Recommended Recovery (optional):

Flashing and updating
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
LineageOS addonsu for root access:
  • Download the addonsu for arm64: LineageOS Downloads / Extras
  • Flash the zip on a working Lineage installation (once)
  • Upon ROM updates, the addonsu is preserved
  • Reboot

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
  • Share a log of the error with CatLog for example
Also thanks to:
  • The LineageOS Team
  • The CyanogenMod Team
  • Everyone involved in working and testing

Contributors
Chippa_a
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.10.x

Version Information
Status:
Stable
So I've wipe all my phone then installed your Lineage Os 16, without Gapps or with ****ty Gapps ( that's immediatly made hot the processor Lol ! ) the GPS don't work !
Why did you write that it was working ? Is my device broken ?
[ UPDATE My sony Xperia X suzu have a russian Glonass instead of an american GPS, so the satellite's localisation work with GNSS app ( like Harnisch Statut GNSS 9.8d ) ]
 
Last edited:

Spaceoid

Senior Member
Mar 29, 2013
439
174
Dortmund
So I've wipe all my phone then installed your Lineage Os 16, without Gapps the GPS don't work. I am downloading and installing Gapps.
If you search the thread for the keyword "GPS" you will notice that this ROM has suffered from GPS problems for a long time. It might be that your GPS not working is not because of missing Gapps, but because of general ROM issues.
This ROM is based on a newer kernel version than stock, and that kernel sadly never got completely debugged; it has built-in GPS issues, which is why most ROMs for the X Compact that are based on Android versions newer than 8 will have GPS problems "by design".
 
Last edited:

Superkenel

Senior Member
Nov 6, 2021
54
4
Sony Xperia X
Sony Xperia XA2
If you search the thread for the keyword "GPS" you will notice that this ROM has suffered from GPS problems for a long time. It might be that your GPS not working is not because of missing Gapps, but because of general ROM issues.
This ROM is based on a newer kernel version than stock, and that kernel sadly never got completely debugged; it has built-in GPS issues, which is why most ROMs for the X Compact that are not based on Android versions newer than 8 will have GPS problems "by design".
it's the xperia X here ( not the xperia x compact ), and the GPS is noted working in the post... I just wouldn't have bought this phone ( I watched this post before).

[ UPDATE My sony Xperia X suzu have a russian Glonass instead of an american GPS, so the satellite's localisation work with GNSS app ( like Harnisch Statut GNSS 9.8d ) ]
 
Last edited:

Superkenel

Senior Member
Nov 6, 2021
54
4
Sony Xperia X
Sony Xperia XA2
As far as I can tell (don't need GPS often) GPS works without GApps and without MicroG on my Xperia X with this ROM.
On the aliexpress website where I've bought my refurbished xperia X, it's wrote that the GPS work with AGPS and GLONASS ( only ), glonass is a russian... ( I am in France )
So I've installed a freeware for glonass localisation "Status GNSS", and some satellites was detected ( only with the sim inserted ), some russian satellites and one US satellite... but it can't detect my position yet ( so strange to detect satellites and no location anyway ???? ).
Tomorow I'm going to try it on my bicycle.
But I don't understand that's not logical.

[ UPDATE My sony Xperia X suzu have a russian Glonass instead of an american GPS, so the satellite's localisation work with GNSS app ( like Harnisch Statut GNSS 9.8d ) ]
 
Last edited:

Spaceoid

Senior Member
Mar 29, 2013
439
174
Dortmund
On the aliexpress website where I've bought my refurbished xperia X, it's wrote that the GPS work with AGPS and GLONASS ( only ), glonass is a russian... ( I am in France )
So I've installed a freeware for glonass localisation "Status GNSS", and some satellites was detected ( only with the sim inserted ), some russian satellites and one US satellite... but it can't detect my position yet ( so strange to detect satellites and no location anyway ???? ).
Tomorow I'm going to try it on my bicycle.
But I don't understand that's not logical.
I know I was using a different device back then (Xperia X Compact), but in the end it was the same ROM developer and the phones are, from a chip perspective, very similar. The issue you mentioned is exactly the issue I had with the phone, too. Lots of satellites in sight, but no GPS lock, or no GPS lock without waiting for 20 mins.
 

armorgeddon

Senior Member
Nov 23, 2008
61
20
There is the open source app GPSTest that you guys could use as a help to see what's going on.
I never tried GPS on this device without a simcard being inserted in case that could play a role. Idk.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 25
    mU06hk7.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 9.x (Pie),​
    which is designed to increase performance and reliability over stock Android for your device.​
    All the source code for LineageOS is available in the LineageOS GitHub repo.​
    And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.​
    Official LineageOS website : http://lineageos.org
    About LineageOS Legal : http://lineageos.org/legal/

    Important Information
    1. This ROM has nothing related to ODM images! So you don't need to ask/install anything like that, just follow the instructions.
    2. This ROM will never work fully with newer versions of Google Camera (GCam)!
    Downloads Links
    LineageOS 16.x:
    Google Applications (optional):
    OpenGapps: http://opengapps.org/ (ARM64->Android 9.0->Pico, Nano or Micro)​
    Information: Flash the GApps before the first boot. If not, a clean flash is recommended.​
    Recommended Recovery (optional):

    Flashing and updating
    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
    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
    • Share a log of the error with CatLog for example
    Also thanks to:
    • The LineageOS Team
    • The CyanogenMod Team
    • Everyone involved in working and testing

    Contributors
    Chippa_a
    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 3.10.x

    Version Information
    Status:
    Stable
    17
    The new build with January 2020 security patches is available!

    Download: https://drive.google.com/open?id=1syBndgMkTK30-tAiBN4QWNc8FtbaQOQk
    14
    The new build is available!
    It includes May 2020 security patches and various improvements like:
    * fingerprint authentication should be fixed for some applications
    * brightness/autobrightness should work better
    * general performance improvements

    This build is currently marked as final.
    Thanks to everyone who used this ROM and helped to improve it by valuable feedback!

    P.S. Please don't ask about LineageOS 17.1 release plans for this device, as I'm not ready to give an ETA at this moment.

    Download: https://drive.google.com/open?id=1woBVJ2z0iJK4TtIKcLW95iuiHeSo1Iyv
    13
    FEATURES AND ISSUES
    • Boot: Ok
    • Bluetooth: Ok
    • WiFi: Ok
    • WiFi Hotspot: Ok
    • RIL - Phone - Data: Ok
    • GPS: Ok
    • Camera: Ok
    • Camcorder: Ok
    • 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: Ok (HCE: Ok)
    • Kernel: Ok
    • Graphics: Ok
    • 3D Rendering: Ok
    • Clock: Ok
    • DRM: Ok
    • Offline Charging: Ok
    • USB: Ok
    • USB Tethering: Ok
    • USB OTG: Ok
    • Encryption: Ok
    • SEPolicies: Enforcing
    13
    The new build is available!

    It was decided to release another final build.
    The main reason for this was to solve an issue with the fingerprint scanner, when it could become unavailable after a while.
    As a bonus, this build also includes July security patches.

    Download: https://drive.google.com/file/d/18qJ9OnR5vRzcnxD96LqEZbcW9vEywqVd/view?usp=sharing