[ROM][SNAPSHOT][7.1] LineageOS 14.1 for Xperia TX

AdrianDC

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

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 7.x (Nougat),
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 14.x (Unlocked Bootloader) :
Xperia TX (Hayabusa) - 14.1 : https://mega.nz/#F!O19HlahT!cY17UTilVThss5RD9TwSRQ

Google Applications (optional) :
OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 7.x, Micro or Pico)
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.

Recommended Recovery (optional) :
TWRP 3.0 : http://forum.xda-developers.com/xperia-t-v/t-development/recovery-twrp-3-0-0-touch-recovery-t3319588

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/hayabusa/changes/
About LineageOS device side : See my GitHub trees linked below


Unification of the user partitions into UserData
Read more about the UserData unification :
- https://wiki.lineageos.org/devices/hayabusa/


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 the Recovery
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Every additional zip you want to flash
- Reboot

LineageOS update / upgrade :
- (Information) Don't wipe anything unless you want to
- (CM / UNOFFICIAL) Nothing to wipe when switching
- (FUTURE RELEASES) Might need clean, informations will be updated
- Flash the latest LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
- (Optional) Every additional zip you want to flash
- Reboot

LineageOS official upgrade from older builds :
- (Information) Read the following post : Update & Build Prep
- (Optional) Backup your applications and / or ROM
- (CM / UNOFFICIAL) Flash the EXPERIMENTAL migration build and reboot to Android
- Flash the latest LineageOS ROM and reboot to Android

LineageOS addonsu for root access :
- (Information) Read the Root section of the Q&A thread
- (Download) Download the addonsu for arm : LineageOS Downloads / Extras
- (Optional) Flash the zip on a working Lineage installation (once)
- (Information) 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


Q&A - FAQ
LineageOS 14.1 Hayabusa Regular Questions and Answers : Q&A Thread

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 Hayabusa also thanks to :
- The LineageOS Team
- The CyanogenMod Team
- Everyone involved in working and testing​


XDA:DevDB Information
LineageOS 14.1, ROM for the Sony Xperia T

Contributors
Adrian DC
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x

Version Information
Status: Snapshot

Created 2016-12-31
Last Updated 2020-08-15
 

AdrianDC

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

FEATURES AND ISSUES
Code:
- Boot : Ok
- GApps : OpenGApps Micro Ok
- Partitions (Data, Cache) : Ext4 and F2FS supported
- ROM Recovery : Broken for signed official (see below)
- FOTA Recovery : Ok (see below)
- WiFi : Ok (real SONY MAC address)
- Bluetooth : Ok (real SONY MAC address)
- WiFi Hotspot : Ok (2.4GHz and 5GHz)
- RIL - Phone - Data : Ok
- GPS : Ok
- Camera : Ok
- Camcorder : Ok
- Lights : Ok
- MicroSD : Ok
- Accelerometer : Ok
- Compass : Ok
- Gyroscope : Ok
- AOSP sensors : Ok
- FM Radio : Ok
- Vibrator : Ok
- Microphone : Ok
- Audio & external audio : Ok
- Bluetooth audio : Ok
- NFC : Ok
- Kernel : Ok, Updating frequently based on Huashan kernel
- Graphics : Ok
- 3D Rendering : Ok
- Clock : Ok (RTC real hardware clock, in TWRP recovery too)
- Powered-off alarm : Ok
- Offline Charging : Ok
- Encryption : Works but system gets slower
- UserData Unification : Ok
- SEPolicies : Fully enforced
 
Last edited:

AdrianDC

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

IMPORTANT FEATURES TO KNOW
  • Boot sequence : Once the LEDs light up :
    - Press Volume - to open the ROM 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


Current local manifest of the ROM build
Code:
<!-- https://github.com/AdrianDC/laos_development_sony8960/blob/local_manifests/hayabusa.xml -->
 
Last edited:
Jul 14, 2015
10
0
0
currently using this lineage-14.1-20170115-UNOFFICIAL-hayabusa.zip, and its really good
but what if i install stock rom gapps, is there any problem?

---------- Post added at 10:50 AM ---------- Previous post was at 10:10 AM ----------

currently using this lineage-14.1-20170115-UNOFFICIAL-hayabusa.zip, and its really good
but what if i install stock rom gapps, is there any problem?
not enough space?
 

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,943
208
Île-de-France
adriandc.github.io
- UserData Unification no longer included inside the ROM release.
- New unify_userdata package generated to handle the same purpose
- restore_sdcard updated & both rehosted in a new folder
- Reliable CyanogenRecovery from Snapshot 13.0 kept online as safe working recovery
- Lineage Wiki informations updated and will be merged soon with the informations needed
 

Myo Thu Htet

Senior Member
May 7, 2011
238
32
48
Yangon
www.4htet.com
First I flash the rom, and i flash unify_userdata-20170128.zip. While flashing unify_userdata-20170128.zip, phone rebooted into CM recovery and showing error. And now, I have only 2GB usable. And when I try again to flash unify zip, it shows already unified and showing error 7. Any IDEAS????
 

lobotron

Senior Member
Jan 21, 2017
63
15
8
First I flash the rom, and i flash unify_userdata-20170128.zip. While flashing unify_userdata-20170128.zip, phone rebooted into CM recovery and showing error. And now, I have only 2GB usable. And when I try again to flash unify zip, it shows already unified and showing error 7. Any IDEAS????
this might mean a lot of flashing, I would try:
1.fastboot flash recovery-13.0-20161220-SNAPSHOT-ZNH5YAO3XM-hayabusa.img
2.in CWM factory reset
3. install restore_sdcard-xxx.zip, follow instructions
4. reboot recovery
5. install unify_userdata-xxx.zip, follow instructions
6. fastboot flash twrp-3.0.2-20170108-boot-hayabusa.img
in TWRP look for partitions, if all is fine install rom and twrp.zip
else start over from 1
 
  • Like
Reactions: Myo Thu Htet

Myo Thu Htet

Senior Member
May 7, 2011
238
32
48
Yangon
www.4htet.com
this might mean a lot of flashing, I would try:
1.fastboot flash recovery-13.0-20161220-SNAPSHOT-ZNH5YAO3XM-hayabusa.img
2.in CWM factory reset
3. install restore_sdcard-xxx.zip, follow instructions
4. reboot recovery
5. install unify_userdata-xxx.zip, follow instructions
6. fastboot flash twrp-3.0.2-20170108-boot-hayabusa.img
in TWRP look for partitions, if all is fine install rom and twrp.zip
else start over from 1
where is the back key for CM recovery??
I followed your instructions and there still showing system partation has 14GB usage. Is that normal?? Can somebody show me screenshot( setting> storage) after unification.
 
Last edited:

lobotron

Senior Member
Jan 21, 2017
63
15
8
where is the back key for CM recovery??
4 phones without hardware buttons the +++go back+++ item would have been nice ..., but you can always pull out the battery which has the advantage that you really reboot the bootloader

I followed your instructions and there still showing system partation has 14GB usage. Is that normal?? Can somebody show me screenshot( setting> storage) after unification.
I can't screenshot.
Unification still failed, you can check in twrp if you select storage, for example in install. You may add a factory reset in between 4-5.

Better first check the system space and if it's fine install the rom. Good luck!
 
  • Like
Reactions: Myo Thu Htet

lobotron

Senior Member
Jan 21, 2017
63
15
8
This is the storage setting after clean flash
some general clarification, in the hope I got it right:
The unification just changes the amount of memory available to the system and data.
The rom will be stored in system, so what you see in (for example):

TWRP -> Install-> select storage-> Internal Storage

is the amount the user might use for apps and general usage, system will not appear.Your Phone has 16GB I would expect round about 10000MB, it's a guess as I have a different model out of the same family.

As long as there is something tiny it does not make much sense to install the rom as it's the wrong layout which will leave you with very little space to use.

So you will have to install the unification zip in TWRP.

If this fails CWM (1.) should help you out, first try if it can complete the unification - install unify_userdata from CWM.
If it reports the error 7 you will have to revert, to get rid of this error:

reboot CWM, factory reset, install restore_sdcard-xxx.zip, follow instructions, it will reboot itself. Afterwards reboot CWM again, factory reset, install unify_userdata, follow instructions, it will reboot itself.

Now unification should have succeeded.

Reboot into flashmode, flash twrp.img. Install the rom if storage has a reasonable value.

else try to fetch and tell what failed, the storage reported by the rom is calculated on the basis of a successful unification and therefore without any helpful information.
 
  • Like
Reactions: Myo Thu Htet

Myo Thu Htet

Senior Member
May 7, 2011
238
32
48
Yangon
www.4htet.com
this might mean a lot of flashing, I would try:
1.fastboot flash recovery-13.0-20161220-SNAPSHOT-ZNH5YAO3XM-hayabusa.img
2.in CWM factory reset
3. install restore_sdcard-xxx.zip, follow instructions
4. reboot recovery
5. install unify_userdata-xxx.zip, follow instructions
6. fastboot flash twrp-3.0.2-20170108-boot-hayabusa.img
in TWRP look for partitions, if all is fine install rom and twrp.zip
else start over from 1
That s work :)
Thanks sir
 

Myo Thu Htet

Senior Member
May 7, 2011
238
32
48
Yangon
www.4htet.com
some general clarification, in the hope I got it right:
The unification just changes the amount of memory available to the system and data.
The rom will be stored in system, so what you see in (for example):

TWRP -> Install-> select storage-> Internal Storage

is the amount the user might use for apps and general usage, system will not appear.Your Phone has 16GB I would expect round about 10000MB, it's a guess as I have a different model out of the same family.

As long as there is something tiny it does not make much sense to install the rom as it's the wrong layout which will leave you with very little space to use.

So you will have to install the unification zip in TWRP.

If this fails CWM (1.) should help you out, first try if it can complete the unification - install unify_userdata from CWM.
If it reports the error 7 you will have to revert, to get rid of this error:

reboot CWM, factory reset, install restore_sdcard-xxx.zip, follow instructions, it will reboot itself. Afterwards reboot CWM again, factory reset, install unify_userdata, follow instructions, it will reboot itself.

Now unification should have succeeded.

Reboot into flashmode, flash twrp.img. Install the rom if storage has a reasonable value.

else try to fetch and tell what failed, the storage reported by the rom is calculated on the basis of a successful unification and therefore without any helpful information.
Thanks sir, now unification is successful and I m enjoying LinageOS. Thank you very much :)
 

phool4fool

Member
Nov 23, 2010
8
1
0
My Xperia TX LT29i don't wake up when it's idle for some time even power button don't do anything. I've tried both LineageOS and AOSP Nougat but I'm facing same issue. I've to remove battery each time which is very annoying.
Can anybody guide me to solve this issue?