• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

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

AdrianDC

Recognized Developer
Dec 22, 2009
2,187
12,864
0
Île-de-France
adriandc.comeze.com




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 T (Mint) - Development : https://mega.nz/folder/G88HVBaK#3q6WZTdeO5raTlqyi1PaBg
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) :
TWRP 3.4.x : http://forum.xda-developers.com/xperia-t-v/orig-development/-t3319588

Configure the default Low-RAM features (optional) :
Low-RAM Property Patcher : http://forum.xda-developers.com/-/-t3737373

Tools required for bootimage patches such as root :
Boot Bridge for Sony ELF : https://forum.xda-developers.com/-/-/-t3506883

Informations and references :
Kernel CVEs : Security patches status https://cve.lineageos.org/android_kernel_sony_msm8x60
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
Common tree : https://github.com/LineageOS/android_device_sony_blue-common
Device tree (T) : https://github.com/LineageOS/android_device_sony_mint
Device tree (TX) : https://github.com/LineageOS/android_device_sony_hayabusa
Device tree (V) : https://github.com/LineageOS/android_device_sony_tsubasa
Kernel sources : https://github.com/LineageOS/android_kernel_sony_msm8x60
Common tree (Development) : https://github.com/AdrianDC/android_device_sony_blue-common
Device tree (T, Development) : https://github.com/AdrianDC/android_device_sony_mint
Device tree (TX, Development) : https://github.com/AdrianDC/android_device_sony_hayabusa
Device tree (V, Development) : https://github.com/AdrianDC/android_device_sony_tsubasa
Kernel sources (Development) : https://github.com/AdrianDC/android_kernel_sony_msm8x60
Vendor blobs : https://github.com/TheMuppets/proprietary_vendor_sony


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
ROM OS Version: Android 10
ROM Kernel: Linux 3.4.x

Version Information
Status: Beta

Created 2020-08-13
Last Updated 2020-08-29
 

AdrianDC

Recognized Developer
Dec 22, 2009
2,187
12,864
0
Île-de-France
adriandc.comeze.com
Reserved

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,187
12,864
0
Île-de-France
adriandc.comeze.com
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, but avoid Backup + Restore of /system, flash the ROM (TWRP issue)
CHANGELOG
Code:
 Future release:
  - Kernel CVEs updates to check

 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:

hamidkar64

Senior Member
Sep 7, 2014
66
30
0
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,187
12,864
0
Île-de-France
adriandc.comeze.com
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

forawhile

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

Today's release resolve GPS issues.
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?
 
Last edited:
  • Like
Reactions: AdrianDC

AdrianDC

Recognized Developer
Dec 22, 2009
2,187
12,864
0
Île-de-France
adriandc.comeze.com
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,187
12,864
0
Île-de-France
adriandc.comeze.com
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
0
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

Last edited:

forawhile

Member
Jun 24, 2018
14
3
0
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,187
12,864
0
Île-de-France
adriandc.comeze.com
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