[ROM][SNAPSHOT][8.1] LineageOS 15.1 for Xperia T/TX/V

davidpolo

New member
Jun 25, 2012
3
0
0
Barcelona
Thank you very much @AdrianDC.

I have installed on my Xperia T the LineageOS 15.1-20190724-nightly-mint. Everything works well, except when it enters in sleep mode.

I cannot use the SD card as internal memory because the phone crashes when it enters in sleep mode. I have to reboot the phone, it doesn't respond.

It only works well when I'm using the SD card as portable storage.

Any ideas?

Thanks for your help.
 

AdrianDC

Recognized Developer
Dec 22, 2009
2,187
12,865
0
Île-de-France
adriandc.comeze.com
The 16.0 audio issues should be solved with the -patch-1.zip flashable addition,
therefore the calls issue will be solved too.

I'll look at the MicroSD issue when I have time.

Once this is over, both LineageOS 16.0 and AOSP 9 can start having their dedicated threads with links.
 
  • Like
Reactions: jahanbin95

jahanbin95

Member
May 7, 2015
43
2
0
The 16.0 audio issues should be solved with the -patch-1.zip flashable addition,
therefore the calls issue will be solved too.

I'll look at the MicroSD issue when I have time.

Once this is over, both LineageOS 16.0 and AOSP 9 can start having their dedicated threads with links.
thank you:fingers-crossed::good:
Can this patch fix the video playback ?
and what about V?
 
Last edited:

AdrianDC

Recognized Developer
Dec 22, 2009
2,187
12,865
0
Île-de-France
adriandc.comeze.com
The new -patch-2.zip resolves the reported MicroSD internal and external support issue (f2fs and vFAT by default).

exFAT might still have an issue, I'll look at it.

Regarding video playback : as calls, it was directly related to the lack of working audio services.
 

jahanbin95

Member
May 7, 2015
43
2
0
The new -patch-2.zip resolves the reported MicroSD internal and external support issue (f2fs and vFAT by default).

exFAT might still have an issue, I'll look at it.

Regarding video playback : as calls, it was directly related to the lack of working audio services.
thank you
thank you ..............

---------- Post added at 09:52 AM ---------- Previous post was at 08:54 AM ----------

The new -patch-2.zip resolves the reported MicroSD internal and external support issue (f2fs and vFAT by default).

exFAT might still have an issue, I'll look at it.

Regarding video playback : as calls, it was directly related to the lack of working audio services.
installed latest LOS 16 without clear date on LOS 15 official and
I tested these patches but they didn't work
with clear date its ok
 
Last edited:

jahanbin95

Member
May 7, 2015
43
2
0
As stated on the wiki and in this thread's instructions, switching between official and unofficial releases is not supported and may result in corrupted or lost data.
ok thanks
but sometimes vibration on touch and app notifi and automatic style(dark/light) has problem
 
Last edited:

xperanto

Senior Member
Jan 22, 2017
59
54
0
Regarding video playback : as calls, it was directly related to the lack of working audio services.
With the latest update of LOS 15.1 my former solution of "fixing" no headset-mic for voip didn`t work.
Removing the line didn`t work either.

Instead, I had to add

Code:
<device name="SND_DEVICE_IN_HEADSET_MIC_FLUENCE" acdb_id="11"/>
in input devices of audio_platform_info.xml for making it work again.

Now Signal Messenger and similar are working again with the mic of the wired headset, but again i don`t know if this is the correct way in correlation with fluence/echo cancelation.
 
  • Like
Reactions: mirhl

AdrianDC

Recognized Developer
Dec 22, 2009
2,187
12,865
0
Île-de-France
adriandc.comeze.com
With the latest update of LOS 15.1 my former solution of "fixing" no headset-mic for voip didn`t work.
Removing the line didn`t work either.

Instead, I had to add

<device name="SND_DEVICE_IN_HEADSET_MIC_FLUENCE" acdb_id="11"/>

in input devices of audio_platform_info.xml for making it work again.

Now Signal Messenger and similar are working again with the mic of the wired headset, but again i don`t know if this is the correct way in correlation with fluence/echo cancelation.
Thank you for your report and analysis.

I have reproduced the issue on Huashan with Telegram calls and the Sony headset,
here is the patch for Huashan and Blue, 15.1 and 16.0 : https://review.lineageos.org/q/I1a63674f0fbc3a1854640b5be8ca3cde54181bdd
 
Last edited:

xperanto

Senior Member
Jan 22, 2017
59
54
0
Massive commit uploads

Dear all,

please have a look at [email protected]
and try to count, how many commits adriandc has uploaded to the 8960/t kernel on Aug 25.

wtf?
25 commits per page, 29 and a half pages! Do the math. This is just insane!

I don`t want to kiss a** with my post, but the link gives a slight idea of the work which is done "behind the scene".
When you realize, how many devices have already been dropped from LOS-support, even from "payed professionals", the commitment of adriandc and all the others for msm8960/sony_blue is just incredible and astonishing.
 
  • Like
Reactions: mhmghomi and Jadimo

g440i

Senior Member
May 26, 2011
110
3
0
Hong Kong
Hi, I have a problem about MHL on my Xperia TX connecting with TV. The screen is sending to the TV correctly, but for audio, it's extremely low in volume. Initially I guess there is no audio from MHL using LineageOS, but finally I figured out that there is audio but it's very soft. I need to turn my volume in the TV to nearly MAX in order to hear the audio from the phone through MHL. Is there any fix for this?
 

xperanto

Senior Member
Jan 22, 2017
59
54
0
Howto Fix Xperia T LT30p tmd_mdx80 Screen (washed out colors/wrong gamma curve)

If you encounter a "mediocre" tmd_mdx80 screen with very washed out colors and gamma values which are way too high, like i did and like it is described in this monster-270-post-thread https://forum.xda-developers.com/showthread.php?t=1909710 , this is not due to a "bad screen" but due to wrong values in nvm, which will even survive a stock- or custom ROM flash until you "break" the values and let the right default values be rewritten with a latest Stockrom-flash from 2014 (stockrom through flashboot-mode because screen will go blanc after breaking nvm and you can`t flash LOS neither through twrp with a blanc screen nor LOS with flashboot).





Bonus: Disable annoying auto Dynamic light/contrast adaption and CABC (Content Adaptive LCD Backlight Control)


The Xperia T with a tmd_mdx80 features not just one, but two dynamic light adaption controls by default. This results in a very annoying screen auto-up-and-down dimming based on the displayed content which is especially annoying while watching videoclips or wiping though photos in a gallery.

To disable the first one is easy. Just open /etc/pre_hw_config.sh (you will need write-permission for /system or use amaze) and change the two values of


Code:
echo 1 > /sys/class/leds/lcd-backlight_1/use_dls
echo 1 > /sys/class/leds/lcd-backlight_2/use_dls
to

Code:
echo 0 > /sys/class/leds/lcd-backlight_1/use_dls
echo 0 > /sys/class/leds/lcd-backlight_2/use_dls
and reboot. After that the dynamic control got less, but isn`t gone completely. Disableing the "second one", CABC, is more complicated, because you have to compile your own custom-kernel and repack it with adriandc`s bootimage editor (thank you for that adriandc!).

To disable it (technically you can`t disable or remove it completely, because twrp still relies on it, so you just make it "flat"), compile the kernel with the following modification in

android_kernel_sony_msm8x60-lineage-15.1/drivers/video/msm/mipi_r63306_panels/mipi_tmd_mdx80.c

change line 37 to 40 from

Code:
static char cabc_user_param[] = {
	0xBE, 0xFF, 0x0F, 0x00, 0x0C, 0x10, 0x02,
	0x00, 0x5D, 0x00, 0x00, 0x80, 0x32
};

to

Code:
static char cabc_user_param[] = {
	0xBE, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00,
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};


repack the boot.img, put it on /sdcard or your external sdcard and just reflash the custom boot.img after every LOS-update through twrp.

In the end my screen on my LT30p looked even better than on my tsubasa.


If someone is interested in a detailed howto, feel free to ask.
 

xperanto

Senior Member
Jan 22, 2017
59
54
0
"Warning: The Sony Xperia V/SP/T is no longer maintained. A build guide is available for developers that would like to make private builds, or even restart official support. "

https://wiki.lineageos.org/devices/tsubasa

Dear AdrianDC,

thank you again for your support over the last years.
It would be great if you could save a link to the last official LOS-Versions on the initial Post of this thread.

---------- Post added at 03:14 AM ---------- Previous post was at 03:14 AM ----------

"Warning: The Sony Xperia V/SP/T is no longer maintained. A build guide is available for developers that would like to make private builds, or even restart official support. "

https://wiki.lineageos.org/devices/tsubasa

Dear AdrianDC,

thank you again for your support over the last years.
It would be great if you could save a link to the last official LOS-Versions on the initial Post of this thread.
 

forawhile

Member
Jun 24, 2018
14
3
0
GPS nor working

Xperia V Lineage OS official release date 25/02/2020.
My GPS can' t fix before 20 minutes or more. How can I solve this problemi? No app fixed this problem.
 

AdrianDC

Recognized Developer
Dec 22, 2009
2,187
12,865
0
Île-de-France
adriandc.comeze.com
Hi everyone !

During this year heavily busy with work, I only made progress on Android 10 rarely, every 2 or 3 months, in a limited way.

Got back on it this week, cleaned up things done over the year and finally resolved the Sony SEMC Camera stack on Android 10,
as I don't want to put builds in public if major features do not work in a decent way.

I almost merged everything upstream, only things like SEPolicies, CVEs and minor things are left.

LineageOS 17.1 is now available in public : https://forum.xda-developers.com/xperia-t-v/rom-lineageos-17-1-xperia-t-tx-t4147077

For the record, I saved the latest LineageOS 15.1 nightly on my development downloads.