[ROM][FINAL][9.0] LineageOS 16.0 for Xperia Z - Xperia Z Original Android Development

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​​
Downloads Links
LineageOS 16.0 (Unlocked Bootloader) :​Test builds :
lineage-16.0-20191020-UNOFFICIAL-yuga.zip | by CyberWalkMaN for Xperia Z
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
​​Google Applications (optional) :​OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 9.0, Nano or Pico)​Information : Flash the GApps before the first boot. If not, a clean flash is recommended.​​Flashing and updating​LineageOS clean install :​- (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool​- (Optional) Wipe the data & cache (Backup to make sure not to loose 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 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​​
​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​​
​About LineageOS Legal : http://lineageos.org/legal/​​The LineageOS team would like to thank everyone involved​in helping with testing, coding, debugging & documenting! Enjoy!​​
​Also thanks to :​- The LineageOS Team​- The CyanogenMod Team​- Everyone involved in working and testing​
XDA:DevDB Information
[ROM][FINAL][9.0] LineageOS 16.0 for Xperia Z, ROM for the Sony Xperia Z
Contributors
CyberWalkMaN, AdrianDC
Source Code: https://github.com/fusion3-common
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.4.x
Version Information
Status: Stable
Created 2019-04-23
Last Updated 2019-10-20

FEATURES AND ISSUES
Code:
- Boot : Ok
- GApps : OpenGApps Nano Ok
- FOTA Recovery : Ok (see below)
- WiFi : Ok (real SONY MAC address)
- Bluetooth : Ok (real SONY MAC address)
- WiFi Hotspot : Ok (2.4GHz only)
- RIL - Phone - Data : Ok
- GPS : Ok
- Camera : Ok
- Camcorder : 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
- Graphics : Ok
- 3D Rendering : Ok
- Clock : Ok
- Offline Charging : Ok
- SEPolicies : Work In Progress

At the moment, FM radio, manual network selection and auto brightness does not work (maybe something else). New builds will be uploaded as source updates / bug fixes are updated.

Not working
-hidden wifi
-Auto rotate

I someone able to test MHL?

Rubenos said:
I someone able to test MHL?
Click to expand...
Click to collapse
MHL not supported

sravants said:
MHL not supported
Click to expand...
Click to collapse
Thanks to bad. Why is that?

Running it now, thank you @CyberWalkMaN !

Good work, I like it!
Found bugs
Night silent mode seems not to work.
The phone ringed at night.
In the app mobile data usage screen is the options button invisible.
Bluetooth symbol is not shown in status bar.

MartinX3 said:
Bluetooth symbol is not shown in status bar.
Click to expand...
Click to collapse
BT icon is showing if phone is connected to a device only.
It is a Pie feature.

Flounderist said:
BT icon is showing if phone is connected to a device only.
It is a Pie feature.
Click to expand...
Click to collapse
My pie on my xz2 shows the BT Symbol always if the Hardware is activated and changes the Symbol if a device is connected.

MartinX3 said:
My pie on my xz2 shows the BT Symbol always if the Hardware is activated and changes the Symbol if a device is connected.
Click to expand...
Click to collapse
All of my 3 devices running LOS 16 are showing BT only in the quick tile menu. I assume it is a LOS feature then.

Flounderist said:
All of my 3 devices running LOS 16 are showing BT only in the quick tile menu. I assume it is a LOS feature then.
Click to expand...
Click to collapse
sad that it's a los 16 feature.
I like to know if I activated bluetooth by accident or forgot to turn it off.
But yes, I looked only at stock, aosp and omnirom.

MartinX3 said:
But yes, I looked only at stock, aosp and omnirom.
Click to expand...
Click to collapse
I don't think it will affect your battery life that much.
By the way I keep BT tile in the first row to be sure I didn't forgot to turn it off.

Flounderist said:
I don't think it will affect your battery life that much.
By the way I keep BT tile in the first row to be sure I didn't forgot to turn it off.
Click to expand...
Click to collapse
I'm not sure, it's an old hardware revision and the board anyway likes to get hot, but thank you for this useful idea.

MartinX3 said:
the board anyway likes to get hot
Click to expand...
Click to collapse
Yuga get hot even when switched off
If you want to keep device a little cooler without a big performance loss, disable all kernel's touch boosts using kernel adiutor, and slightly under clock CPU to 1350 GHz.
Also set interactive governor and then set target_load as 90.

Flounderist said:
Yuga get hot even when switched off
If you want to keep device a little cooler without a big performance loss, disable all kernel's touch boosts using kernel adiutor, and slightly under clock CPU to 1350 GHz.
Also set interactive governor and then set target_load as 90.
Click to expand...
Click to collapse
Shouldn't that get set as default in this los 16 ROM?
And thank you

MartinX3 said:
Shouldn't that get set as default in this los 16 ROM?
And thank you
Click to expand...
Click to collapse
Nope. Boosts are active and CPU is set at 1512 max freq as usual.
Interactive governor is the default, but target loads are different.

is its semi stable? wanna try it

darknessemo05 said:
is its semi stable? wanna try it
Click to expand...
Click to collapse
Apart sensors not working, it is absolutely fine.

Related

[ROM][NIGHTLIES][7.1] LineageOS 14.1 for Xperia Z

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) :
Nightlies : https://download.lineageos.org/yuga
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.
Informations and references :
About LineageOS updates : ChangeLog available on http://www.cmxlog.com/14.1/yuga/
About LineageOS device side : See my GitHub trees linked below​
Flashing and updating
LineageOS clean install :
- (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool
- (Optional) Wipe the data & cache (Backup to make sure not to loose 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 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
Device tree : https://github.com/fusion3-common/android_device_sony_Yuga/commits/cm-14.1
Kernel sources : https://github.com/fusion3-common/android_kernel_sony_apq8064/commits/cm-14.1
Vendor blobs : https://github.com/fusion3-common/proprietary_vendor_sony/commits/cm-14.1​
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​
About LineageOS Legal : http://lineageos.org/legal/
The LineageOS team would like to thank everyone involved
in helping with testing, coding, debugging & documenting! Enjoy!
[/INDENT]
LineageOS available for Yuga also thanks to :
- The LineageOS Team
- The CyanogenMod Team
- Everyone involved in working and testing​
XDA:DevDB Information
[ROM][NIGHTLIES][7.1] LineageOS 14.1 for Xperia Z, ROM for the Sony Xperia Z
Contributors
Daedroza, AdrianDC, Chippa_a, Olivier, Namelos, CyberwalkmaN, sigprof
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
Version Information
Status: Testing
Created 2017-07-16
Last Updated 2017-11-10
Reserved
FEATURES AND ISSUES
Code:
- Boot : Ok
- GApps : OpenGApps Micro Ok
- 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
- Graphics : Ok
- 3D Rendering : Ok
- Clock : Ok
- Offline Charging : Ok
- SEPolicies : Fully enforced
Many thanks and I wish you all the best making official port of Xperia Z for LineageOS. :good:
I'm personally looking a stable, hopefully, official LineageOS version for my great phone. I think current different LineageOS versions for yuga are big mess; there have been two LineageOS version and also RR ja XenonHD versions and I just cannot see the goal for having so many different versions for big, but still limited audience of custom rom users. Above all, LineageOS is best known custom rom and most easier way to go forward for the "land of custom roms".
I hope, if possible(and necessary), that you, Benlue and Chippa-a can contribute together to keep this great device alive.
Pezqu said:
Many thanks and I wish you all the best making official port of Xperia Z for LineageOS. :good:
I'm personally looking a stable, hopefully, official LineageOS version for my great phone. I think current different LineageOS versions for yuga are big mess; there have been two LineageOS version and also RR ja XenonHD versions and I just cannot see the goal for having so many different versions for big, but still limited audience of custom rom users. Above all, LineageOS is best known custom rom and most easier way to go forward for the "land of custom roms".
I hope, if possible(and necessary), that you, Benlue and Chippa-a can contribute together to keep this great device alive.
Click to expand...
Click to collapse
If you're capable of providing of kernel log, logcat, I will be more than happy to fix issues.
I've fixed almost 34 issues from 48 logs collected over the year. Including ancient F2FS bug.
I just need bigger 'capable' audience, and I will get things done.
Thanks,
thank you for your hard work
I just flashed the build
I'll test it and report it back to you
Thanks from me too for your hard work to keep this great device alive. Time to switch back ( again ) to my Z, will start from scratch with a nice clean flash and report. I could test your kernel before for several days, ( Thanks to @namenlos ) it looks very promising.
Many thanks for your effort indeed.
S.N.A.P said:
thank you for your hard work
I just flashed the build
I'll test it and report it back to you
Click to expand...
Click to collapse
is the july build works fine than 0628?
Just a reminder for everyone here. Please do not post irrelevant questions like "device doesn't boot", "Phone lag" "blablabla". Another developer has started working on supporting our device, Please do not spam thread unnecessarily.
Many Many Thanks to Daedroza for supporting our device!!!!!!!
Colossus23 said:
is the july build works fine than 0628?
Click to expand...
Click to collapse
for my usage, so far so good, everything works fine and smooth
S.N.A.P said:
for my usage, so far so good, everything works fine and smooth
Click to expand...
Click to collapse
i already flash it very smooth nice!
Is there no substratum OMS support? I though this was part of the standard lineage os?
littleantony said:
Is there no substratum OMS support? I though this was part of the standard lineage os?
Click to expand...
Click to collapse
Sorry, but Lineage-OS provides no substratum support.
can you make the kernel compatible with Fauxsound sound control like Airless kernel ?
Pezqu said:
[...]I hope, if possible(and necessary), that you, Benlue and Chippa-a can contribute together to keep this great device alive.
Click to expand...
Click to collapse
Both, daedroza and Chippa-a are working on bringing LineageOS on fusion3 devices to a stable state, that can be included in the official weekly builds. If you look at the sources (github.com/fusion3-common) you will see many commits by both of them among others. A lot of them landed in the official Lineage repo or are under review and will soon be included. Don't worry there is a collaboration by lots of people to bring everything to a stable, official weekly compatible state. Almost all of that is public and can be found on review.lineageos.org and github.com. BenLue and others are invited to send in patches too, preferrably to review.lineageos.org.
A little OT and heads up
is there a way to change font in lineage os?0716 build?
great news...at last the Evolving Era has begon......
gl all players...
Folks asking, this is a development thread.
- No custom mods
- No Substratum Support
- Nothing that will create unwanted noise in developing / stabilizing this ROM.
- No Xposed @pjohn23
Thanks, use only if you're willing to test and are ready to go outside your comfort zone at the time being.
Installed the rom and tested for two days, working smooth no issues or lags so far. Tested playing high-end games and camera all good.

[ROM][NIGHTLIES][8.1.0] LineageOS 15.1 for Xperia Z

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 8.x (Oreo),
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 15.x (Unlocked Bootloader) :
Nightlies : https://download.lineageos.org/yuga
Google Applications (optional) :
OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 8.x, Nano or Pico)
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.
Flashing and updating
LineageOS clean install :
- (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool
- (Optional) Wipe the data & cache (Backup to make sure not to loose 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 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​
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​
About LineageOS Legal : http://lineageos.org/legal/
The LineageOS team would like to thank everyone involved
in helping with testing, coding, debugging & documenting! Enjoy!​
Also thanks to :
- The LineageOS Team
- The CyanogenMod Team
- Everyone involved in working and testing​
XDA:DevDB Information
[ROM][NIGHTLIES][8.1.0] LineageOS 15.1 for Xperia Z, ROM for the Sony Xperia Z
Contributors
Daedroza, Chippa_a, CyberWalkMaN, AdrianDC, MardonHH
Source Code: https://github.com/fusion3-common
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.4.x
Version Information
Status: Stable
Created 2017-12-19
Last Updated 2018-12-22
Reserved
FEATURES AND ISSUES
Code:
- Boot : Ok
- GApps : OpenGApps Micro Ok
- 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 : Work in Progress
- 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
- Graphics : Ok
- 3D Rendering : Ok
- Clock : Ok
- Offline Charging : Work in progress
- SEPolicies : Work in progress
Nice
thank you so much for your work ^^ we are really appreciated
only 1 question : the rom is a little bit laggy sometimes, is it because the rom is in alpha stage or the phone is too weak to run on Oreo ????
Excieted
OOOh cant wait for the new update
Hey my question may be stupid.
It says that OpenGapps (Use packages for ARM, Android 7.x, Micro or Pico). why is it not Android 8.0?
Failed to install Android 7.x, Micro ! want to install 8 version
android 8.0 Micro gapps installed , why you told us to install 7 version nothing happen with 7 version
where is ¨on go mode¨ ? pocket mode missing ? Not found from where to change lock screen buttons or to remove it ? where is record screen mode ? 1st boot 4-5 minutes 2nd boot 10-12 seconds on the first boot when it searching for updates everything crashing and then when you wait and finish the tutorial everything gets better.
7.1.2 RR yuga is better - not missing these things.
cyparisss1 said:
Failed to install Android 7.x, Micro ! want to install 8 version
android 8.0 Micro gapps installed , why you told us to install 7 version nothing happen with 7 version
Click to expand...
Click to collapse
826148133 said:
Hey my question may be stupid.
It says that OpenGapps (Use packages for ARM, Android 7.x, Micro or Pico). why is it not Android 8.0?
Click to expand...
Click to collapse
Guess he forgot to edit that. Anyway install the 8.0 micro one will do.
Gapps install log
here is the log gapps 8 micro file ---->> View attachment 4366379
Put the logs in 1 file and only upload that file. nO use of pasting the entire log here. Or at least use pastebin
Nice project
S.N.A.P said:
thank you so much for your work ^^ we are really appreciated
only 1 question : the rom is a little bit laggy sometimes, is it because the rom is in alpha stage or the phone is too weak to run on Oreo ????
Click to expand...
Click to collapse
Yes bro it is laggy (when you open applications) , still is not stable version.
What are you thinking?? Its clear thats not a Stable Version. Its first in Developement. But its very Cool for our Old Z that is Possible to create an Android 8 Rom. I hope the Rom in the Next Time are Stable. Good Luck
Gesendet von meinem EVA-L09 mit Tapatalk
Root
Dude nice job out there .. 85% stable rom... but I'm satisfied now...
I'm just wondering how to gain a root access in this rom ??
I tried the link you gave in the instruction but there is no supersu for Lineage 15
I hope this rom more stable. I waiting to test.. Hehe
Updated build.
Newer sources, fixes most of the application crashes (specifically Files android app).
Nothing special at the moment to test (other than rotation sensors and GPS). Please give it a try.
Thx a lot for your work on this old device.
In contrast to the 19.12.17 build, the new 26.12.17 stops recognizing my sim card.
Switching to the old build brings back the sim card...
Another point i recognized: The power consumption is much higher than the 14.x builds.
Thanks, I will look into this SIM Card issue.
Well, other than open-source drivers (aka DASH), there are no specific changes that affects battery life. I am sure on longer term, DASH will improve battery life (speaking strictly on 14.1 development build that I am testing).
However, I would not comment anything until 15.0 builds get SEPolicies cleaned up first.
xsbextreme said:
Thx a lot for your work on this old device.
In contrast to the 19.12.17 build, the new 26.12.17 stops recognizing my sim card.
Switching to the old build brings back the sim card...
Another point i recognized: The power consumption is much higher than the 14.x builds.
Click to expand...
Click to collapse
Fixed the build, please test again.
no recognizing my sim card
I install new version, it seems every things is ok.
no sim card problem in 26.12.27, it's work normally.

[ROM][FINAL][9.0] LineageOS 16.0 for Xperia ZR

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​​
Downloads Links
LineageOS 16.0 (Unlocked Bootloader) :​Test builds :
lineage-16.0-20191019-UNOFFICIAL-dogo.zip | by CyberWalkMaN for Xperia ZR
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
​​Google Applications (optional) :​OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 9.0, Nano or Pico)​Information : Flash the GApps before the first boot. If not, a clean flash is recommended.​​Flashing and updating​LineageOS clean install :​- (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool​- (Optional) Wipe the data & cache (Backup to make sure not to loose 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 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​​
​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​​
​About LineageOS Legal : http://lineageos.org/legal/​​The LineageOS team would like to thank everyone involved​in helping with testing, coding, debugging & documenting! Enjoy!​​
​Also thanks to :​- The LineageOS Team​- The CyanogenMod Team​- Everyone involved in working and testing​
XDA:DevDB Information
[ROM][FINAL][9.0] LineageOS 16.0 for Xperia ZR, ROM for the Sony Xperia ZR
Contributors
CyberWalkMaN, AdrianDC
Source Code: https://github.com/fusion3-common
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.4.x
Version Information
Status: Stable
Created 2019-04-22
Last Updated 2019-10-20
FEATURES AND ISSUES
Code:
- Boot : Ok
- GApps : OpenGApps Nano Ok
- FOTA Recovery : Ok (see below)
- WiFi : Ok (real SONY MAC address)
- Bluetooth : Ok (real SONY MAC address)
- WiFi Hotspot : Ok (2.4GHz only)
- RIL - Phone - Data : Ok
- GPS : Ok
- Camera : Ok
- Camcorder : 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
- Graphics : Ok
- 3D Rendering : Ok
- Clock : Ok
- Offline Charging : Ok
- SEPolicies : Work In Progress
At the moment, FM radio, manual network selection and auto brightness does not work (maybe something else). New builds will be uploaded as source updates / bug fixes are updated.
save form borkmark
Thanks for keeping this device alive!
report issue for this rom
- i using apps(youtube, facebook, ect) after 5 min force close
- i dont know what happen this rom very heavy, very lag,
but i love this rom, very awesome,
fix this issue, after that i try this rome again
thank you @CyberWalkMaN
Thanks you so much master @CyberWalkMaN
New build uploaded (lineage-16.0-20190823-UNOFFICIAL-dogo.zip), major changes since May:
All sensors works now (Thanks to @Chippa_a)
Manual network selection fixed
Telegram calls fixed (Need to confirm)
FM Radio fixed
Small gps improvement
Performance improvement
Updated kernel (fixed bug with rebooting instead of shutting down and some other bugs), also we now use binder and lmk from AOSP 3.18 kernel
SELinux denials resolved at 90%
Magisk issue fixed
Android 9.0.0_r46 (August security patches)
Addonsu is already included, you can enable root access in the developer settings
New build uploaded (lineage-16.0-20191019-UNOFFICIAL-dogo.zip), major changes since August:
Fast battery drain fixed (for 15.1 nightlies too)
SELinux denials resolved at 99% (You can make builds in enforced SELinux, but I would recommend continuing to build them in permissive). Current build in permissive SELinux.
Oktober security patches
Minor performance and stability improvements (for 15.1 nightlies too)
Added missing props for gps and Miracast.
Build status - Stable.
Addonsu is already included, you can enable root access in the developer settings
This is where my support for android 8-9 for Z/ZL/ZR/Tablet Z ends, this build will be the last. All the changes made in the sources are already available on github.com/LineageOS, if someone wants to continue supporting and get the official LineageOS 16.0 - write to PM, I will explain in detail what remains to be done in the sources. Also, if someone wants to try to build other roms for our devices based on android 8-9 from the available sources - try to choose CAF-based roms (for example, AOKP, LineageOS, Ressurection Remix, AICP, etc.), then with 95% chance you will build and run the rom. Our sources are based on CAF, and for the build of roms based on AOSP, additional fixes are required, plus there will be problems with sound anyway.
I also want to note that I made a most part of the changes made in 16.0 to the official 15.1 nightlies, which should significantly improve their stability and performance
thanks for everything
thank you very much, hopefully someone is able to catch up
hello
thank you for thisd work im been using andoid 8but im got problem with mic if some one call me he cant hear me , so im back to origenal firmware i wll try the new room andoid 9 hope its work with no problem
good luck all
thank you
Can i use in so 4e lock bootloader?
Thank you for this. Used it to revive my old ZR.
Hello
Please help with installing the firmware
When installing, I receive an error E3004 or 7
Just want to leave a post to say thanks.
I managed to install LineageOS 16.0-20191019-UNOFFICIAL-dodgo + OpenGapps for Android 9.0 successfully.
====================
For those who may still want to go through the same process:
Here are some tips:
1) Use the tool zadig to install WinUSB driver, which easily replaces as Sony's S1Boot Fastboot driver
See: https://android.stackexchange.com/questions/129174/windows-10-fastboot-driver
2) When flashing TWRP recovery using fastboot command, I had to use the parameter flash:raw instead of flash to make it working:
See: https://stackoverflow.com/questions/65076311/fastboot-error-cannot-get-boot-partition-size
Btw, this device is using the same SoC as ASUS Nexus 7 2013 (Qualcomm APQ8064 Snapdragon S4 Pro).
sorry let me post my problem on this tread thanks
I install crDroidAndroid-9.0-20191020-dogo-v5.9
stock 5.1.1 upgrade to crDroid android 9 version
but when downgrade to 5 ,The phone is black screen , return to crdroid is normal function.
how to downgrade android version...? Seem like android have prevent roolback
Any way to access this build now? Thanks
Please check download link at android file host site it has problem

[ROM][SNAPSHOT][9] AOSP Pie for Xperia T/TX/V

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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.
*/
Downloads Links
AOSP 9 Pie (Unlocked Bootloader) :
Xperia T (Mint) - 9 : https://mega.nz/#F!Ol9DCKYA!W80n2JMKsUlFFQi_-z3e2w
Xperia TX (Hayabusa) - 9 : https://mega.nz/#F!LltSFSLQ!_LQTzsvozfI-S9QMmmYydw
Xperia V (Tsubasa) - 9 : https://mega.nz/#F!K91F1IQJ!4arN1uBwuvKl6vc3yXiWJg
Google Applications (optional) :
MindTheGapps : https://androidfilehost.com/?w=files&flid=170282 (Use packages for ARM, Android 9.0)
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.
Recommended Recovery (optional) :
TWRP 3.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
Informations and references :
Kernel CVEs : Security patches status https://cve.lineageos.org/android_kernel_sony_msm8x60
About AOSP : Repositories available on https://android.googlesource.com/​
Unification of the user partitions into UserData
Read more about the UserData unification :
- https://wiki.lineageos.org/devices/mint/​
Flashing and updating
AOSP 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 AOSP ROM zip from recovery
- (Optional) Flash a GApps package to have the Google Applications
- (Optional) Every additional zip you want to flash
- Reboot
AOSP update / upgrade :
- (Information) Do not wipe anything unless you want to
- Flash the latest AOSP ROM zip from recovery
- (Optional) Flash a GApps package if you want to, otherwise preserved.
- (Optional) Every additional zip you want to flash
- Reboot​
About the builds
Development project : https://github.com/AdrianDC/aosp_development_sony8960_p
Device tree (T) : https://github.com/AdrianDC/android_device_sony_mint
Device tree (TX) : https://github.com/AdrianDC/android_device_sony_hayabusa
Device tree (V) : https://github.com/AdrianDC/android_device_sony_tsubasa
Kernel sources : 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 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
Q : Is root access included into AOSP ?
A : No but you can now root with my Boot Bridge and a superuser tool.
Q : Is the ROM suited for daily usage ?
A : Yes. Check the list below to decide for yourself.
Q : Where can I change the Quick Tiles and Status Bar ?
A : Long press the Settings icon in the notifications drawer.
> You will have access to the SystemUI Tuner from Marshmallow.
Q : When USB is connected to a computer, I can't access the storage ?
A : The phone is in charge-only mode by default (since Android Nougat),
> due to a stronger security logic regarding unauthorised data access.
> Swipe down the notifications and change the USB mode.​
AOSP available for Xperia T/TX/V also thanks to :
- Google AOSP
- The LineageOS Team
- CodeAurora Forums
- The CyanogenMod Team​
XDA:DevDB Information
AOSP Oreo 9, ROM for the Sony Xperia T
Contributors
AdrianDC
Source Code: https://android.googlesource.com/
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.4.x
Based On: AOSP
Version Information
Status: Snapshot
Created 2019-08-17
Last Updated 2020-08-15
Reserved
FEATURES AND ISSUES
Code:
- Boot : Ok
- GApps : OpenGApps Micro recommended
- Partitions (Data, Cache) : Ext4 and F2FS supported
- 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
- NFC : Ok
- Kernel : Ok
- Graphics : Ok
- 3D Rendering : Ok
- Clock : Ok
- DRM : Ok
- Offline Charging : Ok
- USB : Ok
- USB OTG : Ok
- Encryption : Not tested yet
- SEPolicies : Permissive, enforcing is a work in progress
IMPORTANT FEATURES TO KNOW
Boot sequence : Once the LEDs light up :
- Press Volume - to open AOSP 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
Reserved
Changes log
17/08 : Initial public release on Android 9.0.0_r46 August
2018: Initial AOSP 9 ports, internal bringup
>>> Kept private for development purposes
Recent branches commits
Devices + common projects: https://github.com/AdrianDC/aosp_development_sony8960_p/branches/all
About Sony Blue devices
You can cross-reference with Huashan: http://forum.xda-developers.com/-/-t3958464
I work on both platforms in parallel as they are now equal in terms of functionality and stability
Original AOSP 9 sources with following relevant additions
Blue devices trees, kernel and vendor
Bionic: Support for SHIMs (Camera)
Build: Backup tool full support (GApps)
NFC: Proper support & removed log spam
Toybox: Support for init_sony boot selection
AV: Camera support for Pie
AV: Initial camcorder partial support
Camera2: Fixes for wrongly rotated photos and improvements
UI: Various efficiency improvements and fixes
Telephony: Support for older RIL layers
Audio: 8960 adapted HAL and FM support
FM: Fully implemented with AOSP FM Radio
Music: Minor fix to permissions
Settings: Minor visual rendering improvements
Healthd: Support for Huashan offline charger
Core: Disabled flash_recovery service from AOSP
Sepolicies: Minimal changes and fully enforced ROM
Current local manifest
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!-- [url]https://android.googlesource.com/platform/manifest[/url] -->
<manifest>
<!-- See [url]https://github.com/AdrianDC/aosp_development_sony8960_p[/url] -->
</manifest>
Runs perfectly :good: thank you @AdrianDC.
Hi @AdrianDC, are you planning to do an Android Go version for this devices? If so then it would be great!
Soul_Gamerz said:
Hi @AdrianDC, are you planning to do an Android Go version for this devices? If so then it would be great!
Click to expand...
Click to collapse
He already did in some way. If you define Android Go as "The Android Go operating system is based on the regular version of Android but it’s optimized to run on smartphones with 512 MB to 1 GB of RAM", adriandc already povided a patch based on it with the Low-RAM Property Patcher, as stated above.
When you follow the link https://forum.xda-developers.com/android/software-hacking/mod-low-ram-property-patcher-android-t3737373 you will find the following statement:
Low-RAM Property Patcher is made to give Android Oreo users an easy control
over the low-ram property from the Go configuration, responsible for the UI changes of Go.
Its purpose is to simply enable or disable the low-ram property from the build.prop,
but also to retain this user decision through the ROM upgrades (new releases, OTA)...
Click to expand...
Click to collapse
and
Developers should get less requests to compile with or without Go
Click to expand...
Click to collapse
As adrian mentioned the low-ram patch in this Pie-ROM description, it should work for this release, too, not only for Oreo. (s.Edit)
The solution provided by adriandc with a patch is even better than a whole standalone ROM, because you can switch it on or off and in the end it is up to the user if he wants to use it or not.
The idea behind it is very well done by adriandc.
To answer your question: He already did!
Edit, clarification:
As stated above: "Configure the default Low-RAM features" means, that it is already enable by default. The low-ram-enabler is only needed to reenable it, if you used the disable-patch, as stated in this thread
https://forum.xda-developers.com/showpost.php?p=80492509&postcount=15
Flashing android_lowram_enabler is not required, it's a no-op, however android_lowram_disabler will bring back disabled features per user choice.
The android_lowram_enabler tool serves a purpose only to come back from a disabler and for any other devices not using Go low RAM configs.
Click to expand...
Click to collapse
Where can I find the last update from 2019-10-13?
There is no link or download available.
Hi,
I wanted to give my Xperia T the joy of PIe, but am encountering a few issues:
coming from 8.1 (also AOSP, without Gapps), i did
- install the newest TWRP-image (3.3.1-0, came from 3.3.0-0)
- deleted dalvik, data and cache,
...after that, TWRP couldn't read from ext. SD-card anymore.
booted up the old system, copied the new image and gapps to the internal storage.
- redone the dalvik/data/cache-wipe
- installed AOSP-image, installed Gapps and the low-ram-thingy.
...after reboot, the assistant starts up, lets me connect to my WLAN (i get asked for the sim-pin), then comes the "search for updates"-dialog, where it stucks (got it running for 60 minutes)
...i connected to "my" wlan, passphrase's correct, the XT gets an IP, all as it should be.
redone the whole process with just AOSP (to get the option to upload the lineage-image to the internal storage, as there's still no ext. sd-card available)
Is there a way to skip the update-search? (can't use UMTS, as i'm running a prepaid-card)
(if not: how to get the lineage-image on the phone? can connect the cable and it starts charging the battery, but I need to set it to "transfer files" which isn't possible as the assistant doesn't let me access the info-bar - system is responding when trying to change volume)
Edit: was able to activate the mtp-mode in TWRP, giving lineageOS a shot right now, will update if solved or not
Edit2: was able to install lineageOS (and mindthegapps) and set it up without error...
...is above mentioned issue common? how could i switch to AOSP without re-encountering the setup-problem?
theunlucky said:
Is there a way to skip the update-search? (can't use UMTS, as i'm running a prepaid-card)
Click to expand...
Click to collapse
On AOSP of Xperia SP huashan, some users encountered the same issue.
The solution as mentioned in this thread https://forum.xda-developers.com/xperia-sp/orig-development/rom-aosp-pie-xperia-sp-t3958464 by user fsw_informatrix is simply to remove the SIM-card first, and to not connect to wlan during the first setup.
Also make sure to use mindthegapps and not opengapps. Hope this helps.
xperanto said:
] by user fsw_informatrix is simply to remove the SIM-card first, and to not connect to wlan during the first setup.
Also make sure to use mindthegapps and not opengapps. Hope this helps.
Click to expand...
Click to collapse
Well I had the Sim-Card in, but I tried to NOT configure WLAN - it was mandatory (assistant starts, asks for either WLAN or UMTS, there's no way to work around that)
Where's the difference between mindthegapps and opengapps?
theunlucky said:
Well I had the Sim-Card in, but I tried to NOT configure WLAN - it was mandatory (assistant starts, asks for either WLAN or UMTS, there's no way to work around that)
Where's the difference between mindthegapps and opengapps?
Click to expand...
Click to collapse
Again, please read the thread from above, espacially this post
https://forum.xda-developers.com/showpost.php?p=80377565&postcount=10
First one was "Stuck on "Checking for updates..", so I found first here : https://www.reddit.com/r/GalaxyS9/co...updates_after/ this reply : "I had to completely disconnect from wifi, took the sim out so it would skip that process. Its finally working fine now." method confirmed in this XDA thread here : https://forum.xda-developers.com/nok...t3767866/page2 in the post #15 : "Try without SIM card inserted. It should work."
Alternatively, in this thread : https://forum.xda-developers.com/201...dates-t3571496 the method explained in post #4 worked well also :
"On the TWRP Terminal:
echo "ro.setupwizard.mode=DISABLED" >> /system/build.prop
this will skip the first setup!
edit: may need to mount /system"
Click to expand...
Click to collapse
Mindthegapp and Opengapp is also discussed somewhere in the thead.
I used mindthegapps instead of opengaps and the sign in problem went away :good:
But i have a problem; the phone doesn't stay off after shutdown and turns back on. I have flashed latest TWRP twice via fastboot but the problem is still there. However if i connect the phone to charger right after shut down it will stay off and recharge
I used Nova launcher instead of the built-in UI and the phone runs fine and smooth. Unfortunately Xperia V doesn't support notification access for external apps and I'm looking for a workaround for that too. In general, i like the OS and the user experience is good so I'm going to keep it. Props to the dev
It there future releases plan for AOSP version? Or will not release anymore?
I really appreciate the work done by AdrianDC to keep xperia v alive. I am running this ROM for a week now after using official jelly bean by Sony for years.
Most of the time it works good without problem and I want to keep it for daily usage.
But I encountered some bugs :
1. Shut down function don't work. It actually restarts after 5 or 10 seconds of black screen.
2.some times during some medium to heavy work the screen freezes and the phone restarts itself.
3.some times during some medium to heavy work the CPU temperature goes up to 65 Celsius and the phone shut down.
4.battery usage and charging time increased comparing to last official ROM . an important notice is that I first installed gapps and the battery drain was a disaster and it showed charging takes 22 hours to complete ! But then I flashed and reinstalled ROM with mindtheapps and it is far better and charging takes 2.5 hours to complete.
And with full usage it goes empty after 3 hours. Poor 1700 battery after all.
5.in telegram and wattsapp videos won't play in app. I should use 3rd app to open video via files manager .
Is anyone know what is the build instruction for this AOSP version?

[ROM][BETA][11] LineageOS 18.1 for Xperia T/TX/V

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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 18.1 (Unlocked Bootloader) :​Xperia T (Mint) - Development : https://mega.nz/folder/vgNWkTCT#9KPQFa16ETF-lvooSTWThQ​Xperia TX (Hayabusa) - Development : https://mega.nz/folder/T9MUVJ4C#rO3CIVKjKrFg7nmR0jjnZw​Xperia V (Tsubasa) - Development : https://mega.nz/folder/vpUGhZoK#8AgXq9lMGttCM1jYHTMGfw​​Google Applications (optional) :​OpenGApps : https://mega.nz/folder/e9NhVARL#N-csHttthHy0wUJjMI_Ekw​Information : Flash the GApps before the first boot. If not, a clean flash is recommended.​​Recommended Recovery (optional) :​TWRP 3.5.x : http://forum.xda-developers.com/xperia-t-v/orig-development/-t3319588​​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 :​Boot Bridge for Sony ELF : https://forum.xda-developers.com/-/-/-t3506883​​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 the device​- Wait a few minutes for optimizations to finish and the SIM to load before the setup​​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 18.1, ROM for the Sony Xperia SP
Contributors
AdrianDC
Version Information
ROM OS Version: Android 11
ROM Kernel: Linux 3.4.x
Status: Beta
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
FEATURES AND ISSUES
Code:
Boot : Ok
GApps : Ok
Partitions (Data, Cache) : Ok
Bluetooth : Ok
WiFi : Ok
WiFi Hotspot : Ok
USB Tethering : 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
Gestures : 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 : ? (May fail to encrypt, TODO)
SEPolicies : ? (Permissive, TODO)
Kernel CVE : Partially outdated
Root : Ok (with ADB)
TWRP : Ok (TWRP 3.5.0 recommended, system restore may need a ROM reflash due to a TWRP internal issue)
CHANGELOG
Code:
Future release:
- Work in progress
25/01/2021:
- Upgrade release on Android 11.0.0_r27 January
03/01/2021:
- Update release on Android 11.0.0_r19 December
- Calendar fixes to support Android Go builds without widgets
- CPU deep sleep repaired, improving the battery life
- Migration to my HIDL Lights HAL to resolve lights issues and power usage
- GPS functionalities restored
02/01/2021:
- Initial public release on Android 11.0.0_r19 December
28/12/2020:
- Initial beta testers release on Android 11.0.0_r19 December
Thank you very much @AdrianDC
I'm glad you support our little Xperia so we can enjoy our mobile
The only issue that seems to me to be very nerve-wracking is "average memory use", which is 95% occupied and works, and after running a program, the phone speed drops sharply.
- Bluetooth stopped at the beginning of the smartphone and did not turn on at all.
Also Launcher does not have a widget and it seems that it can not be added
Hoping to develop this ROM
_a_m_i_r_gh_ said:
The only issue that seems to me to be very nerve-wracking is "average memory use", which is 95% occupied and works, and after running a program, the phone speed drops sharply.
- Bluetooth stopped at the beginning of the smartphone and did not turn on at all.
Also Launcher does not have a widget and it seems that it can not be added
Click to expand...
Click to collapse
Thanks !
Concerning RAM, the 841MB of RAM available on our Xperia SP are always going to be an issue,
as of now, I feel the device performs better than 17.1 on a daily usage basis,
the 768MB ZRAM improves the memory stress issue a lot since 17.1,
and I'm still working on trying to reduce things we don't need to improve responsiveness.
For your Bluetooth issue, which nobody else reported yet, could you please send me the logs for debugging (PM) ?
As for Launcher without widgets, that's normal, I'm now using full Android Go configurations,
and the widgets feature is one of the few ones removed from Go to improve RAM / responsiveness,
thus we are now using the Trebuchet Go variant of the Launcher app.
Side-note, there's a Calendar app failure related to the lack of widgets in Go,
I fixed it (along the Messaging and Music apps already done), next build will have it.
I just installed & must say this looks very promising, so far no issues and a much better feeling than with 17.1. Bluetooth seems to work here. I can even use the square again. So my oldest mobile has the newest lineage now, unbelievable. @AdrianDC Thanks again very much and all the best for 2021!
Next build will include the HIDL Lights HAL I worked on for 17.1 but never finished,
this will resolve the lights errors (despite working as it is) and reduce battery usage,
however it'll need some testing on Xperia V and Xperia TX devices (as I test on Xperia T).
Wow, amazing!
Thanks @AdrianDC
The batter drain seems very fast, Xperia TX
Another issue, there is no NFC toggle in Settings-Connected Deivces, as well as in Quick Settings
Will update to 3rd. Jan version
skytorch said:
The batter drain seems very fast, Xperia TX
Click to expand...
Click to collapse
AdrianDC said:
however it'll need some testing on Xperia V and Xperia TX devices (as I test on Xperia T).
Click to expand...
Click to collapse
Just wow! that you are still working on it!
I have some Vs, a SP and a T. If you have any ROMs to test and need some logs for V or else, feel free to leave a notice. They are not my daliy drivers, so you could even "fry" them.
Overall very promissing on tsubasa and very smooth. "Feels" way better than 17.1 already.
Thanks for maintaining such a ancient device @AdrianDC
Magisk 21.4 + BootBridge seems doesn't work right now?
i can complete the installation but when i reboot to system no magisk was installed
So, this ROM enables low-RAM patch by default and we don't need to apply the low-RAM patch again, right?
g440i said:
So, this ROM enables low-RAM patch by default and we don't need to apply the low-RAM patch again, right?
Click to expand...
Click to collapse
Yes, all my LineageOS / AOSP builds since 2017/2018 were built with Android Go configurations,
hence the Low RAM configuration has always been enabled by default,
the patcher is there to disable the flag on these builds and to enable it on other devices.
skytorch said:
Another issue, there is no NFC toggle in Settings-Connected Deivces, as well as in Quick Settings
Click to expand...
Click to collapse
As you probably saw later on, the NFC feature was resolved in the latest builds.
hung2k said:
Thanks for maintaining such a ancient device @AdrianDC
Magisk 21.4 + BootBridge seems doesn't work right now?
i can complete the installation but when i reboot to system no magisk was installed
Click to expand...
Click to collapse
Looking into it whenever I have time, apparently Magisk v21.2 was killing the device's boot,
and Magisk v21.4 _may_ be flashable but non-effective : https://github.com/topjohnwu/Magisk/issues/3636
AdrianDC said:
Yes, all my LineageOS / AOSP builds since 2017/2018 were built with Android Go configurations,
hence the Low RAM configuration has always been enabled by default,
the patcher is there to disable the flag on these builds and to enable it on other devices.
As you probably saw later on, the NFC feature was resolved in the latest builds.
Looking into it whenever I have time, apparently Magisk v21.2 was killing the device's boot,
and Magisk v21.4 _may_ be flashable but non-effective : https://github.com/topjohnwu/Magisk/issues/3636
Click to expand...
Click to collapse
Thanks for your reply
but i can't instsll 20.4 while the installing step showing cannot mount /vendor
i guess maybe related to system as root in new lineage18.1's build?
another minor question, i can't add a clock widget in the home screen using default launcher, is it normal ?
before i use nova launcher 5.5.4 but in LOS18 it crash on startup so i try to use default one but having problem
hung2k said:
Thanks for your reply
but i can't instsll 20.4 while the installing step showing cannot mount /vendor
i guess maybe related to system as root in new lineage18.1's build?
another minor question, i can't add a clock widget in the home screen using default launcher, is it normal ?
before i use nova launcher 5.5.4 but in LOS18 it crash on startup so i try to use default one but having problem
Click to expand...
Click to collapse
v20.4 will never work, Magisk added support for Android 11 on v21.x.
It will have to be fixed either by Magisk or device side if anything is found.
On Android 11, LineageOS 18.1, I migrated to full Android Go configurations,
which disables some system features to reduce the RAM and CPU fingerprints,
the most visible of these is the widgets, they are disable and the launcher is the Go variant.
AdrianDC said:
v20.4 will never work, Magisk added support for Android 11 on v21.x.
It will have to be fixed either by Magisk or device side if anything is found.
On Android 11, LineageOS 18.1, I migrated to full Android Go configurations,
which disables some system features to reduce the RAM and CPU fingerprints,
the most visible of these is the widgets, they are disable and the launcher is the Go variant.
Click to expand...
Click to collapse
got it, thanks for explanation
AdrianDC said:
Yes, all my LineageOS / AOSP builds since 2017/2018 were built with Android Go configurations,
hence the Low RAM configuration has always been enabled by default,
the patcher is there to disable the flag on these builds and to enable it on other devices.
As you probably saw later on, the NFC feature was resolved in the latest builds.
Looking into it whenever I have time, apparently Magisk v21.2 was killing the device's boot,
and Magisk v21.4 _may_ be flashable but non-effective : https://github.com/topjohnwu/Magisk/issues/3636
Click to expand...
Click to collapse
Got, found NFC toggler in "Quick Settings". So the toggler item in Settings was removed intendedly?
Someone show screenshots please.

Categories

Resources