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

[ROM][STABLE][10] LineageOS 17.1 for Xperia T/TX/V

Search This thread

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,960
Île-de-France
adriandc.github.io

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,​
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

Downloads Links
LineageOS 17.1 (Unlocked Bootloader) :
Xperia TX (Hayabusa) - Development : https://mega.nz/folder/mwshGbgT#DOA5_15Xva97wUC_kY_YJQ
Xperia V (Tsubasa) - Development : https://mega.nz/folder/qw8RwDwI#U3rQ22ZsqsxOpj3u0oF1Gg
Google Applications (optional) :
OpenGApps : https://opengapps.org (Use packages for ARM, Android 10.0, pico)​
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.​
Recommended Recovery (optional) :
Disable the default Low-RAM features (optional) :
Low-RAM Property Patcher : http://forum.xda-developers.com/-/-t3737373
Tools required for bootimage patches such as root :
Informations and references :
About LineageOS updates : ChangeLog available on https://download.lineageos.org/mint/changes/
About LineageOS device side : See my GitHub trees linked below​

Unification of the user partitions into UserData
Read more about the UserData unification :
- Xperia T (Mint) : LineageOS Wiki
- Xperia TX (Hayabusa) : LineageOS Wiki
- Xperia V (Tsubasa) : LineageOS Wiki

Flashing and updating
LineageOS clean install :
- (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool​
- (Optional) Install TWRP Recovery to the FOTA partition (Read the TWRP thread)​
- (Optional) Wipe the data & cache (Backup to make sure not to lose data)​
- Flash the LineageOS ROM zip from recovery​
- (Optional) Flash a GApps package to have the Google Applications​
- (Optional) Every additional zip you want to flash​
- Reboot​
LineageOS update / upgrade :
- (Warning) Do not update / upgrade between OFFICIAL and UNOFFICIAL builds​
- (Information) Do not wipe anything unless you want to​
- Flash the latest LineageOS ROM zip from recovery​
- (Optional) Flash a GApps package on first install / upgrade. Not required later, but do update sometimes​
- (Optional) Every additional zip you want to flash​
- Reboot​

About the builds

Issues and reports
- Report issues only if you use the ROM original kernel
- If an additional mod is installed, make sure it is unrelated, and mention it
- Make sure the issue was not discussed earlier in the thread
- Acquire ADB logcat logs to a file : how-to-take-logs-in-android
- If the device crashed and rebooted, retrieve this file from the device : /proc/last_kmsg
- Use Permissive Kernel Patcher and share logcat logs if it solves issues

Legal
About LineageOS Legal : http://lineageos.org/legal/
The LineageOS team would like to thank everyone involved
in helping with testing, coding, debugging & documenting! Enjoy!

LineageOS available for Xperia T/TX/V also thanks to :
- Google AOSP​
- LineageOS Team​
- Arne (arco68)​
- Everyone involved in working and testing​

XDA:DevDB Information
LineageOS 17.1, ROM for the Sony Xperia SP

Contributors
AdrianDC

Version Information
ROM OS Version: Android 10
ROM Kernel: Linux 3.4.x
Status: Stable
 
Last edited:

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,960
Île-de-France
adriandc.github.io
IMPORTANT FEATURES TO KNOW
  • Boot sequence : Once the LEDs light up :
    - Press Volume - to open LineageOS Recovery,
    - Press Volume + to open the FOTA recovery (TWRP usually) if available
  • Powered-off alarm : When you have set an alarm
    - If you power down the device, it will wake automatically 5 minutes before
    - If you let the device charge offline, it will automatically reboot 5 minutes before
  • Gestures : Events like hand-wave and pocket removal can be enabled in the Settings
  • Force reboot : You can reset the device by holding Power and Volume+ 5 seconds
 
Last edited:

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,960
Île-de-France
adriandc.github.io
FEATURES AND ISSUES
Code:
Boot                       : Ok
GApps                      : Ok (OpenGApps Pico recommended)
Partitions (Data, Cache)   : 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
AOSP sensors               : Ok
Touchscreen                : Ok
FM Radio                   : Ok
Vibrator                   : Ok
Microphone                 : Ok
Audio & music              : Ok
Bluetooth audio            : Ok
Video playback             : Ok
NFC                        : Ok
Kernel                     : Ok
Graphics                   : Ok
3D Rendering               : Ok
Clock                      : Ok
DRM                        : Ok
Offline Charging           : Ok
USB                        : Ok
USB OTG                    : Ok
Encryption                 : Ok
SEPolicies                 : Ok (Enforced)
Kernel CVE                 : Partially outdated (ToDo)
Root                       : Ok (with ADB, supported with Magisk + BootBridge)
TWRP                       : Ok (TWRP 3.5.0 recommended, system restore may need a ROM reflash due to a TWRP internal issue)

CHANGELOG
Code:
Future release:
  - Kernel CVEs updates to check

28/12/2020:
  - Update release on Security level 2020-12-05

25/10/2020:
  - Update release on Security level 2020-10-05

20/09/2020:
  - Upgrade release on Security level 2020-09-05 (android-10.0.0_r46 August)
  - Back gesture navigation with keyboard swipe conflicts resolved (topic:ten-back-gesture-go)

30/08/2020:
  - Multiple kernel optimizations and debugging features cleanups (thanks Tomoms)
  - Previously patched SEPolicies included and now considered stable

27/08/2020:
  - Patch regarding SEPolicies for FM Radio support (extends the 26/08/2020 patch)

26/08/2020:
  - Patch regarding SEPolicies for FM Radio support and sensors detection

23/08/2020:
  - Migration to userspace Low Memory Killer daemon (LMKD) instead of the old kernel LMK
  - Massive kernel updates against upstream, especially LZ4 and ZRAM (257 commits)
  - Additional SEPolicies updates

20/08/2020:
  - Updates to enforced SEPolicies
  - Actionbar previous button in DeviceSettings fixed

19/08/2020:
  - Enforced SEPolicies security with all rules refactored and cleaned up,
    if anything looks "blocked", please report with ADB logs

16/08/2020:
  - GPS legacy support fixed

15/08/2020:
  - Video playback fixed
  - ZRAM 768MB reenabled
  - Bootimage support for Magisk
  - RIL updates
  - Minor lights selection fix

13/08/2020:
  - Initial public release on Android 10.0.0_r41 June

11/08/2020:
  - Initial beta testers release on Android 10.0.0_r41 June

2019 - 2020:
  - Initial AOSP 10 / LineageOS 17.0 / 17.1 ports
  - Internal bringup
 
Last edited:

forawhile

Member
Jun 24, 2018
14
3
Thank you very much for this new release. In my experience GPS does not fix.
 
Last edited:

hamidkar64

Senior Member
Sep 7, 2014
66
30
KERMAN
Please give details when you post such reports.

The issue you most likely have is because you're not using the recommended GApps variant.
Android 10 uses much more spaces in system, even though I reduced it.



I noticed that I downloaded the pico version that you mentioned several times from the oppengapps site, but unfortunately I encountered an error during the installation, so from the site https://download.mokeedev.com/extension.html#gapps
I downloaded and my problem was solved
Sorry for the bad writing I have
Good luck
 

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,960
Île-de-France
adriandc.github.io
I noticed that I downloaded the pico version that you mentioned several times from the oppengapps site, but unfortunately I encountered an error during the installation, so from the site https://download.mokeedev.com/extension.html#gapps
I downloaded and my problem was solved
Sorry for the bad writing I have
Good luck

I'm running both Xperia SP Huashan and Xperia T Mint since early this week, both with OpenGApps 10.0 Pico installed.

If you have an issue, try to look at the OpenGApps log, they create a .log file to see what went wrong.
Also, try to mention which device you have since this covers T, TX and V (I know you have a V Tsubasa).
 
  • Like
Reactions: hamidkar64

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,960
Île-de-France
adriandc.github.io
Thank you very much for solving GPS issue. Now GPS gets a lot of sats. Despite that GPS takes a lot of time for 3D fixing. Is there any solution?

Both my Huashan SP and Mint T got a GPS fix in less than a minute, while being indoor.
I use the "GPS Test" application, which shows satellites in view, in use, strengths, ...

I can't change much about it, it works the way it used to.
 
  • Like
Reactions: forawhile

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,960
Île-de-France
adriandc.github.io
A new release 19/08/2020 is available :
  • Enforced SEPolicies security with all rules refactored and cleaned up (if anything looks "blocked", please report with ADB logs)
Mint should be fine, everything looks to be working fine right now with the enforced security.
Hayabusa and Tsubasa need to be tested + I would require first and normal boot ADB logs.
Please PM me ADB logs if you see anything not working / behaving as it should and explain what you did.
 

forawhile

Member
Jun 24, 2018
14
3
Indeed, the GPS stack was starting but failing upon receival due to our legacy stack.

Today's release resolve GPS issues.

Tsubasa; Last release (20/08/2020).
I added my logcat. I have just a delay with GPS 3d fix. I tested the hardware and the antenna and all seems ok.
 

Attachments

  • logcat.log
    350.4 KB · Views: 11
Last edited:

forawhile

Member
Jun 24, 2018
14
3
Tsubasa release date 20/08/2020 + root.
The Camera phone crashes after taking some photos (16 in my case) and the system becomes instable.
 
Last edited:

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,960
Île-de-France
adriandc.github.io
A new release 23/08/2020 will be available, on my side, the performance and normal usage have improved a lot :

  • Migration to userspace Low Memory Killer daemon (LMKD) instead of the old kernel LMK
  • Massive kernel updates against upstream, especially LZ4 and ZRAM (257 commits)
  • Additional SEPolicies updates
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12

    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,​
    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

    Downloads Links
    LineageOS 17.1 (Unlocked Bootloader) :
    Xperia TX (Hayabusa) - Development : https://mega.nz/folder/mwshGbgT#DOA5_15Xva97wUC_kY_YJQ
    Xperia V (Tsubasa) - Development : https://mega.nz/folder/qw8RwDwI#U3rQ22ZsqsxOpj3u0oF1Gg
    Google Applications (optional) :
    OpenGApps : https://opengapps.org (Use packages for ARM, Android 10.0, pico)​
    Information : Flash the GApps before the first boot. If not, a clean flash is recommended.​
    Recommended Recovery (optional) :
    Disable the default Low-RAM features (optional) :
    Low-RAM Property Patcher : http://forum.xda-developers.com/-/-t3737373
    Tools required for bootimage patches such as root :
    Informations and references :
    About LineageOS updates : ChangeLog available on https://download.lineageos.org/mint/changes/
    About LineageOS device side : See my GitHub trees linked below​

    Unification of the user partitions into UserData
    Read more about the UserData unification :
    - Xperia T (Mint) : LineageOS Wiki
    - Xperia TX (Hayabusa) : LineageOS Wiki
    - Xperia V (Tsubasa) : LineageOS Wiki

    Flashing and updating
    LineageOS clean install :
    - (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool​
    - (Optional) Install TWRP Recovery to the FOTA partition (Read the TWRP thread)​
    - (Optional) Wipe the data & cache (Backup to make sure not to lose data)​
    - Flash the LineageOS ROM zip from recovery​
    - (Optional) Flash a GApps package to have the Google Applications​
    - (Optional) Every additional zip you want to flash​
    - Reboot​
    LineageOS update / upgrade :
    - (Warning) Do not update / upgrade between OFFICIAL and UNOFFICIAL builds​
    - (Information) Do not wipe anything unless you want to​
    - Flash the latest LineageOS ROM zip from recovery​
    - (Optional) Flash a GApps package on first install / upgrade. Not required later, but do update sometimes​
    - (Optional) Every additional zip you want to flash​
    - Reboot​

    About the builds

    Issues and reports
    - Report issues only if you use the ROM original kernel
    - If an additional mod is installed, make sure it is unrelated, and mention it
    - Make sure the issue was not discussed earlier in the thread
    - Acquire ADB logcat logs to a file : how-to-take-logs-in-android
    - If the device crashed and rebooted, retrieve this file from the device : /proc/last_kmsg
    - Use Permissive Kernel Patcher and share logcat logs if it solves issues

    Legal
    About LineageOS Legal : http://lineageos.org/legal/
    The LineageOS team would like to thank everyone involved
    in helping with testing, coding, debugging & documenting! Enjoy!

    LineageOS available for Xperia T/TX/V also thanks to :
    - Google AOSP​
    - LineageOS Team​
    - Arne (arco68)​
    - Everyone involved in working and testing​

    XDA:DevDB Information
    LineageOS 17.1, ROM for the Sony Xperia SP

    Contributors
    AdrianDC

    Version Information
    ROM OS Version: Android 10
    ROM Kernel: Linux 3.4.x
    Status: Stable
    6
    IMPORTANT FEATURES TO KNOW
    • Boot sequence : Once the LEDs light up :
      - Press Volume - to open LineageOS Recovery,
      - Press Volume + to open the FOTA recovery (TWRP usually) if available
    • Powered-off alarm : When you have set an alarm
      - If you power down the device, it will wake automatically 5 minutes before
      - If you let the device charge offline, it will automatically reboot 5 minutes before
    • Gestures : Events like hand-wave and pocket removal can be enabled in the Settings
    • Force reboot : You can reset the device by holding Power and Volume+ 5 seconds
    6
    The next release will resolve these :

    4
    FEATURES AND ISSUES
    Code:
    Boot                       : Ok
    GApps                      : Ok (OpenGApps Pico recommended)
    Partitions (Data, Cache)   : 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
    AOSP sensors               : Ok
    Touchscreen                : Ok
    FM Radio                   : Ok
    Vibrator                   : Ok
    Microphone                 : Ok
    Audio & music              : Ok
    Bluetooth audio            : Ok
    Video playback             : Ok
    NFC                        : Ok
    Kernel                     : Ok
    Graphics                   : Ok
    3D Rendering               : Ok
    Clock                      : Ok
    DRM                        : Ok
    Offline Charging           : Ok
    USB                        : Ok
    USB OTG                    : Ok
    Encryption                 : Ok
    SEPolicies                 : Ok (Enforced)
    Kernel CVE                 : Partially outdated (ToDo)
    Root                       : Ok (with ADB, supported with Magisk + BootBridge)
    TWRP                       : Ok (TWRP 3.5.0 recommended, system restore may need a ROM reflash due to a TWRP internal issue)

    CHANGELOG
    Code:
    Future release:
      - Kernel CVEs updates to check
    
    28/12/2020:
      - Update release on Security level 2020-12-05
    
    25/10/2020:
      - Update release on Security level 2020-10-05
    
    20/09/2020:
      - Upgrade release on Security level 2020-09-05 (android-10.0.0_r46 August)
      - Back gesture navigation with keyboard swipe conflicts resolved (topic:ten-back-gesture-go)
    
    30/08/2020:
      - Multiple kernel optimizations and debugging features cleanups (thanks Tomoms)
      - Previously patched SEPolicies included and now considered stable
    
    27/08/2020:
      - Patch regarding SEPolicies for FM Radio support (extends the 26/08/2020 patch)
    
    26/08/2020:
      - Patch regarding SEPolicies for FM Radio support and sensors detection
    
    23/08/2020:
      - Migration to userspace Low Memory Killer daemon (LMKD) instead of the old kernel LMK
      - Massive kernel updates against upstream, especially LZ4 and ZRAM (257 commits)
      - Additional SEPolicies updates
    
    20/08/2020:
      - Updates to enforced SEPolicies
      - Actionbar previous button in DeviceSettings fixed
    
    19/08/2020:
      - Enforced SEPolicies security with all rules refactored and cleaned up,
        if anything looks "blocked", please report with ADB logs
    
    16/08/2020:
      - GPS legacy support fixed
    
    15/08/2020:
      - Video playback fixed
      - ZRAM 768MB reenabled
      - Bootimage support for Magisk
      - RIL updates
      - Minor lights selection fix
    
    13/08/2020:
      - Initial public release on Android 10.0.0_r41 June
    
    11/08/2020:
      - Initial beta testers release on Android 10.0.0_r41 June
    
    2019 - 2020:
      - Initial AOSP 10 / LineageOS 17.0 / 17.1 ports
      - Internal bringup
    3
    28/12/2020:
    - Update release on Security level 2020-12-05