[ROM][SNAPSHOT][8.1.0] AOSP Oreo for Xperia SP - Xperia SP Original Android Development

{
"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 the release
My Android 8.0 bring-up started in April with my AOSP Master project.
Master being the mainline public Android development, it helped getting
most of the hardware requirements for the next Android release prepared
and ready for the evolution along the weeks. Though 8.0.0 introduced
more hardware changes and improvements, it was ready for about 75% of the needs.
Full details about the initial boot are explained here : #post73504552​
Downloads Links
AOSP 8.x Oreo (Unlocked Bootloader) :
Xperia SP (Huashan) - 8.1.0 / 8.0.0 : https://mega.nz/#F!aotknK6I!H9kNGqNSbUPYbKRdF-EeBg
Google Applications (optional) :
MindTheGapps : https://androidfilehost.com/?w=files&flid=170282 (Use packages for ARM, Android 8.x)
OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 8.x, Micro)
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-sp/orig-development/-t3309938
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_msm8960t
About AOSP : Repositories available on https://android.googlesource.com/​
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_o_mr1
Device tree : https://github.com/AdrianDC/android_device_sony_huashan
Kernel sources : https://github.com/AdrianDC/android_kernel_sony_msm8960t
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.
Q : [Oreo] Downloaded files can't be opened directly
A : Normal issue common to all devices, yet to be fixed.
> For now, use "Show internal storage" and open the files directly.
Q : [Oreo] Clean install with OpenGApps - Google services force closes
A : OpenGApps Oreo is not yet finished and stable.
> Ignore the FCs and wait until the Setup Wizard configuration is done.​
AOSP available for Xperia Huashan also thanks to :
- Google AOSP
- The LineageOS Team
- CodeAurora Forums
- The CyanogenMod Team​
XDA:DevDB Information
AOSP Oreo 8.1, ROM for the Sony Xperia SP
Contributors
AdrianDC
Source Code: https://android.googlesource.com/
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.4.x
Based On: AOSP
Version Information
Status: Snapshot
Created 2017-09-01
Last Updated 2020-08-15

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 : Ok
- SEPolicies : Enforcing
ALSO WORKING ON SONY HUASHAN
Music Lights Effects implementation fully working
Presentation of the features : https://forum.xda-developers.com/showpost.php?p=73049970&postcount=399
YouTube Presentation : https://www.youtube.com/watch?v=GHk__DhyL60
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

Changes log
21/12 : Upgrade stable release on Android 8.1.0_r52 December
>>> General update against the initial LineageOS 15.1 official release
>>> Manual networks selection resolved
05/09 : Upgrade stable release on Android 8.1.0_r46 September
>>> Camera binaries improvements developed for AOSP P to resolve the crash log spam
15/08 : Upgrade stable release on Android 8.1.0_r43 August
>>> Multiple Kernel CVE patches and improvements
>>> Media volume now has 25 steps instead of 15, call volume 7 instead of 5
>>> Improvements to trigger the bootanimation earlier on boot
>>> Status bar icons tints resolved: Battery percentage, VPN
06/06 : Upgrade stable release on Android 8.1.0_r30 June
>>> CellularTile now has a detail view for Mobile Data
>>> Trebuchet Launcher improvements:
----- Predictive apps switch between day / night / headphones
13/05 : Upgrade stable release on Android 8.1.0_r26 May
>>> Maintenance upgrade release
06/05 : Update stable release on Android 8.1.0_r20 April
>>> My implementation of FBNotifier backlight in the LEDs kernel driver
----- Resolves backlight always on issues in offline charger
----- Proper low-level solution avoiding deprecated brightness controls
>>> Offline charger boot will reboot the device rather than direct boot
----- Restored the default AOSP behaviour for better support
----- Improves usability for MultiROM users (access to secondary ROMs)
>>> Offline charger LED battery indicator brought back
22/04 : Upgrade stable release on Android 8.1.0_r20 April
>>> Evolutions from frameworks/av to support legacy HAL1 Camcorder properly
----- Final solution found with Milos Ratkovic
----- Camcorder running fine on 720p and 1080p
>>> DocumentsUI (Files) showing internal storage by default
>>> Logcat's Diag_Lib spam resolved and silenced
>>> Sources improvements and cleanups related to AOSP P-DP1
>>> Kernel binder 64 bits API
>>> My backuptool in system evolution for future AOSP portability (for P)
----- Upgrades to this release will make the transition, do not jump over it
19/02 : Upgrade stable release on Android 8.1.0_r11 February
>>> Updated / adapted advanced reboot UI from LineageOS 15.1
>>> Updated and safer legacy libraries SHIM implementation
>>> Developer sRGB toggle hidden on Oreo once again
>>> Updated LineageOS applications with redesigned icons
>>> Further Oreo related device tree improvements
22/01 : Update stable release on Android 8.1.0_r6 January
>>> Incoming calls answer swipe responsiveness also improved (#201337)
>>> Recovery flash assert re-enabled, upgrade to TWRP 3.2.1
>>> Device trees updates and merged minor improvements
>>> Updated Lineage Trebuchet, Recorder and Messaging apps
04/01 : Upgrade stable release on Android 8.1.0_r4 January
>>> Android Go configurations enabled on Sony Huashan
>>> Oreo 8.1 system_server preoptimization improving performance
>>> Lockscreen swipe responsiveness highly improved (#198421)
>>> Thermal nodes are made readable by third-party applications like AIDA64
>>> Network kernel change potentially improving deep-sleeps
>>> Unfinished work in progress on codecs and camcorder recordings
08/12 : Upgrade stable release on Android 8.1.0_r1 December (Information)
>>> Fully rebased and updated projects on the initial Android 8.1 release
>>> Upgrades from 8.0 to 8.1 allowed through backuptool for GApps
>>> Clean installs of OpenGApps zips require install script changes to 8.1 and API 27
>>> Sony Huashan built with normal Android Oreo configurations, Sony Blue with Android Oreo Go
>>> One important difference with Android Go : Multitasking UI is flat on Go. Check Huashan and Blue screenshots
02/12 : Update stable release on Android 8.0.0_r33 November (Prerelease of Android 8.1)
>>> Finished legacy Sony Camera port for the Oreo HIDL stack instead of the old modules stack
>>> Data and Cache partitions are now allowed to use F2FS on AOSP
>>> Messaging additions ports from LineageOS : Swipe right to delete, optional emoticons access, ...
>>> Persistent USB Drive notification ported from our 2016 LineageOS / CM sources
>>> Additional improvements from LineageOS Trebuchet (Launcher3) with configurations
14/11 : Upgrade stable release on Android 8.0.0_r33 November (Prerelease of Android 8.1)
>>> Autobrightness HAL issue causing hot-reboots since r21 solved
>>> Addition of LineageOS Recorder app (Voice and screen video recorder)
>>> Bringup-additions from LineageOS Trebuchet for Launcher3 with advanced configurations
>>> Working Widevine DRM implementation for Oreo
10/11 : Upgrade release on Android 8.0.0_r33 November (Prerelease of Android 8.1)
>>> Audio HAL upgrade against upstream finished, 3.5 jack audio fixed
>>> Includes Pixel 2 XL auto-dim navigation bar
>>> Improvements on the incall handset volume
06/11 : Upgrade release on Android 8.0.0_r21 September (Prerelease of Android 8.1)
>>> Necessary ports for Android 8.1 pre-release and new UI changes
>>> Minor improvements of the DeviceSettings UI and moved under Gestures
>>> New Audio HAL upstream updates (work in progress for full legacy support)
>>> New NFC HAL upstream updates (work in progress for full NXP support)
20/10 : Update release. Minor device fixes and new Tiles
>>> Minor improvements of the DeviceSettings UI
>>> Fixed offline charging backlight on / off
>>> Added generic tiles for : NFC, Ambient Display, Heads Up, USB Tether, Volume
11/10 : Upgrade release on Android 8.0.0_r15 October
05/10 : New Oreo vibrator implementation (to confirm per device / user),
>>> further device development and upgrades for Oreo,
>>> improved DeviceSettings for Oreo (Ambient Display, Lights Effects),
>>> DeviceSettings extension to configure HighTouchSensitivity (under Languages & Input),
>>> camera working without needing to patch sepolicies permissive,
>>> Camera2 change to revive the app after boots without camera found,
>>> minor WiFi improvements, some Settings additions and fixes,
>>> various upstream fixes and improvements from AOSP Master
30/09 : Minor improvement to the DeviceSettings redesign,
>>> AOSP DeskClock alarm handling fixes, SDCardFS storage support,
>>> almost finalized clean and new enforced sepolicies (to confirm per device / user)
19/09 : Upgrade release on Android 8.0.0_r9. Sensors fully fixed, Gestures working,
>>> Lineage Eleven used as Music Player instead of outdated AOSP Music
11/09 : Update release. Bluetooth fixed, FMRadio restored, Camera initial fix, sensors partial upgrade,
>>> DeviceSettings redesign, NightDisplay added, backuptool implemented (for GApps persistency)
01/09 : Initial public release for Huashan, Android 8.0.0_r3
Recent branches commits
Devices + common projects: https://github.com/AdrianDC/aosp_development_sony8960_o_mr1/branches/all
Original AOSP 8.0 sources with following relevant additions
Huashan device tree, 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 Oreo
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_o_mr1[/url] -->
</manifest>

About the initial public release - 01/09/2017
I use it as daily since July on Huashan (SP) and Mint (T)
For now, Camera is removed on purpose as I'm working on it. The initialization fails in the middle
Bluetooth worked up to July, and since then the list is empty due to timeouts. Being looked at
Binding with already paired Bluetooth devices like car radio should work but rare user-unfriendly conditions for now
Installs and works properly with MultiROM current release

Thank you bro for hard works.

WOW ! Amazing speed !!!!!!!!!!!!!!!!!!
Thank you so much bro

I am looking forward to development for now working fast thx for support

Man, a 2013 device getting an almost working Oreo before almost every other device. Adrian, you're a legend. Thank you for your incredible hard work for our beloved device.

This is definitely super awesome. Man, I can not thank you enough for all your effort you put into tbe development for this (my beloved) device. YOU are the reason, why I'm still using this device as my daily driver. Thank you sooo sooo much!
Greets
NyQuilXT

I N C R E D I B L E ! ! !
Thank you sir AdrianDC​

OH. MY. GOD.
it released, but without camera and bluetooth
waiting for fixes.
adrian, youre awesome!

Hmm tonight I'm will install it with ARISE sound system
Sent from my LG-H818 using Tapatalk

Wow, just wow. Thank you soo much for everything. My SP is alive thanks to you.

Quick review:
Rom is smoother than 7.1.2
UI is fully white
UI has some improvements
The arise sound system can't install(if you install core+ any modules you will face with a bootlooop)
If you want root u should install Supersu 2.82 (I tried 2.79 and it didn't work)
Sent from my LG-H818 using Tapatalk

I testing
Kernel from nougat work on this rom?

GamingHQ said:
I testing
Kernel from nougat work on this rom?
Click to expand...
Click to collapse
No way!

MicroG work?

GamingHQ said:
MicroG work?
Click to expand...
Click to collapse
Yes! Working rom with gapps.

error 6 :/
---------- Post added at 11:11 PM ---------- Previous post was at 11:11 PM ----------
ok I change recovery is ok

Wow, thanks AdrianDC!
I'll definetely try it next week.

Related

[ROM][SNAPSHOT][7.1.2] AOSP Nougat for Xperia SP

{
"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 7.x Nougat (Unlocked Bootloader) :
Xperia SP (Huashan) - 7.1.2 : https://mega.nz/#F!LtNjDKBQ!YdZPyZghv07Tp2J8EgxcfQ
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/xpe...t/recovery-twrp-3-0-0-touch-recovery-t3309938
Informations and references :
Kernel CVEs : Security patches status https://cve.lineageos.org/android_kernel_sony_msm8960t
About AOSP : Repositories available on https://android.googlesource.com/​
Flashing and updating
AOSP 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 lose data)
- Flash the AOSP ROM zip from the Recovery
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Every additional zip you want to flash
- Reboot
AOSP update / upgrade :
- (Information) Don't wipe anything unless you want to
- Flash the latest AOSP ROM zip from the Recovery
- (Optional) Flash the GApps 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
Device tree : https://github.com/AdrianDC/android_device_sony_huashan
Kernel sources : https://github.com/AdrianDC/android_kernel_sony_msm8960t
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 completely. OpenGApps recommended.
Q : I see errors during the installation, is it normal ?
A : If it is E:unknown command [log] , ignore it for now
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 : The AOSP Keyboard does not support swipe gestures ?
A : Unfortunately the sources for swipe gestures are not available
and Google still requires their prebuilt library to be there for AOSP Keyboard.
Download the following libjni_latinimegoogle.so API 23 from OpenGApps
and push it to /system/lib/libjni_latinimegoogle.so using root access,
or use my one-time install zips : https://mega.nz/#F!ThEAkCRa!byhSwuoTbf6lnC1JxgKrig.​
AOSP available for Huashan also thanks to :- Google AOSP
- The LineageOS Team
- CodeAurora Forums
- The CyanogenMod Team​
XDA:DevDB Information
AOSP Nougat 7.1.2, ROM for the Sony Xperia SP
Contributors
Adrian DC
Source Code: https://android.googlesource.com/
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
Based On: AOSP
Version Information
Status: Snapshot
Created 2016-08-27
Last Updated 2020-08-15
Reserved
FEATURES AND ISSUES
Code:
- Boot : Ok
- GApps : OpenGApps Micro Ok
- Partitions (Data, Cache) : Ext4 supported
- Dual 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, regular AOSP lights support
- MicroSD : Ok, only Ext4 support missing from AOSP
- 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 (RTC real hardware clock, in TWRP recovery too)
- Powered-off alarm : Ok
- Offline Charging : Ok
- Encryption : Status unknown
- SEPolicies : Fully enforced
IMPORTANT FEATURES TO KNOW
Boot sequence : Once the LEDs light up :
- Press Volume - to open CyanogenRecovery,
- 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
Recent branches commits
Devices + common projects: https://github.com/AdrianDC/aosp_development_sony8960/branches/all
Changes log
31/12 : New release on Android 7.1.2_r36 sources (October CVE patches)
02/08 : Updated device sources, Lights Effects minor fix
14/07 : New release on Android 7.1.2_r24 sources (July CVE patches) & Initial Music Lights Effects release (About)
01/07 : Updated kernel vulnerabilities patches, fixes and external storage for Camera2
18/06 : New release on Android 7.1.2_r17 sources (June CVE patches / Pixel) & Jelly Browser updates
12/05 : Updated kernel vulnerabilities patches, improved Jelly Browser app
02/05 : New release on Android 7.1.2_r8 sources (May patches / Pixel) & Camera2 fixes
26/04 : New release with updated and unified AOSP 7.1.2 / LineageOS device sources
13/03 : New release on Android 7.1.1_r25 sources (March CVE patches / Pixel)
07/02 : New release on Android 7.1.1_r20 sources (February CVE patches / Pixel)
29/01 : Updated device sources, fixed AOSP Recovery build
07/01 : New release on Android 7.1.1_r9 sources (January CVE patches)
30/12 : Updated device sources, restored Double power to Camera option
13/12 : New release on Android 7.1.1_r6 sources
09/12 : Updated device sources, tethering kernel support added for AOSP 7.1.1
07/12 : New release on Android 7.1.1_r4 sources (About)
25/11 : Some Pixel colours and round icons, Downloads play/pause, minor fixes (About)
16/11 : Google SetupWizard fixes, minor improvements, dexopt disabled (About)
12/11 : Original RIL, USSD fixed, cleanups, Android 7.1.0_r7 (About)
29/10 : Sources improvements and working camcorder (About)
24/10 : Updated release for Huashan, Android 7.1.0_r4 (About)
17/10 : Updated release for Huashan, Android 7.0.0_r14 (About)
28/08 : Initial release for Huashan, Android 7.0.0_r1
Original AOSP 7.1 sources with following relevant additions
Huashan device tree, 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 Nougat
AV: Initial camcorder partial support
Camera2: Fixes for wrongly rotated photos and improvements
Screenshots: Fix MTP list updates
Settings: Remove Google system updates
UI: Add reboot option to power menu
UI: Various efficiency improvements and fixes
UI: Some Pixel designs like NavBar and colours
Downloads: Add the ability to Play/Pause
Telephony: Support for older RIL layers
Telephony: Provide default networks APNs from CM
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"?>
<!-- https://android.googlesource.com/platform/manifest -->
<manifest>
<!-- See https://github.com/AdrianDC/aosp_development_sony8960 -->
</manifest>
Woow, you're unbelievable !
Gonna try and report when it's available
Thank you for all of your efforts and giving time to our device
Thank you so much, the best developer of all Xperia phones ??
wow, well done mate!
really keeping XSP alive
Hello. I will try to help compiling and see if I can fix any bugs. I helped solving some minor bugs in the Motorola Xoom Lollipop and Marshmallow roms by Schischu.
By the way. This repository <project name="CyanogenMod/android_device_qcom_sepolicy" path="device/qcom/sepolicy" remote="github" revision="see-gerrit" /> should have revision staging/cm-14.0 instead of see-gerrit.
see-gerrit does not exist.
Great job by the way.
Awesooooooooooooooome.
I entered the forum to see Android N for Hushan
Thank you very much.
Great job
I Cant believe It
Big Thanks
Youre The Best:laugh::laugh::laugh::laugh:
VERY VERY BIG THANKS @Adrian DC! :highfive::highfive::highfive::highfive::highfive::highfive:
Amazing, I believed you will bring up Nougat to XSP but I didnt think it will be that quick. BTW you wrote that you are using cm qcom/sepolicy. Am I the only one for who this is causing big troubles when porting to A device? Did you have to make any edits? I had to and there are still many neverallows caused by qcom/sepolicy :/
Adam Myczkowski said:
Amazing, I believed you will bring up Nougat to XSP but I didnt think it will be that quick. BTW you wrote that you are using cm qcom/sepolicy. Am I the only one for who this is causing big troubles when porting to A device? Did you have to make any edits? I had to and there are still many neverallows caused by qcom/sepolicy :/
Click to expand...
Click to collapse
During bringup, I had a few manual changes but no longer needed,
you can find 2 commits related to sepolicies on gerrit,
and one I haven't published that is just for execmod text relocations.
Do not waste time with neverallows on a bringup,
delete them every time you have a failure,
and once everything's stable, put it back all and fix.
Adrian DC said:
During bringup, I had a few manual changes but no longer needed,
you can find 2 commits related to sepolicies on gerrit,
and one I haven't published that is just for execmod text relocations.
Do not waste time with neverallows on a bringup,
delete them every time you have a failure,
and once everything's stable, put it back all and fix.
Click to expand...
Click to collapse
Okay, these neverallows were most annoying thing. I haven't seen any SEPolicy commits on cm gerrit but Ill definitely check it out now. Tho this is what I've done to fix SEPolicy (not counting neverallows). device_qcom_sepolicy and one commit here platform_system_sepolicy just if you want to know or maybe I did the same as you (lol). I will get on SEPolicy as soon as I can and thanks for the tip and quick reply! I love everything you do for THIS device.
Wwwwwooooowwwww!!!!!!
Big Thanks to
Youre The Best
Fix Android version in OP. And broken camcorder means, that we ain't able to save photos/videos?
Hi
Thx Bro
GooD & Stable ROM :good:
unable to bypass SETUP WIZARD. What to do? :/
mani169 said:
unable to bypass SETUP WIZARD. What to do? :/
Click to expand...
Click to collapse
Flash it without gapps.
n78 shadow said:
Flash it without gapps.
Click to expand...
Click to collapse
thanks. let me try. but then what about google play store?

[ROM][SNAPSHOT][7.1.2] AOSP Nougat 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 7.x Nougat (Unlocked Bootloader) :
Xperia T (Mint) - 7.1.2 : https://mega.nz/#F!H5cyEK6b!4Y6PuM434TYyNxICj9w91Q
Xperia TX (Hayabusa) - 7.1.2 : https://mega.nz/#F!npcljbAA!RWB52EuxwFFSwBjxUSh7bQ
Xperia V (Tsubasa) - 7.1.2 : https://mega.nz/#F!i9NVxBDa!kHCeH3DAAz16rz4WOeedow
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/xpe...t/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 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) Wipe the data & cache (Backup to make sure not to lose data)
- Flash the AOSP 7 ROM zip from the Recovery
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Every additional zip you want to flash
- Reboot
AOSP update / upgrade :
- (Information) Don't wipe anything unless you want to
- Flash the latest AOSP 7 ROM zip from the Recovery
- (Optional) Flash the GApps 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_msm8960
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 completely. OpenGApps recommended.
Q : I see errors during the installation, is it normal ?
A : If it is E:unknown command [log] , ignore it for now
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 : The AOSP Keyboard does not support swipe gestures ?
A : Unfortunately the sources for swipe gestures are not available
and Google still requires their prebuilt library to be there for AOSP Keyboard.
Download the following libjni_latinimegoogle.so API 23 from OpenGApps
and push it to /system/lib/libjni_latinimegoogle.so.​
AOSP available for Xperia Blue devices also thanks to :- Google AOSP
- The LineageOS Team
- CodeAurora Forums
- The CyanogenMod Team​
XDA:DevDB Information
AOSP Nougat 7.1.2, ROM for the Sony Xperia T
Contributors
Adrian DC
Source Code: https://android.googlesource.com/
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
Based On: AOSP
Version Information
Status: Snapshot
Created 2016-10-30
Last Updated 2020-08-15
Reserved
FEATURES AND ISSUES
Code:
- Boot : Ok
- GApps : OpenGApps Micro Ok
- Partitions (Data, Cache) : Ext4 supported
- Dual 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, only Ext4 support missing from ROM
- 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 (RTC real hardware clock, in TWRP recovery too)
- Powered-off alarm : Ok
- Offline Charging : Ok
- Encryption : Status unknown
- UserData Unification : Ok
- SEPolicies : Fully enforced
IMPORTANT FEATURES TO KNOW
Boot sequence : Once the LEDs light up :
- Press Volume - to open CyanogenRecovery,
- 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
Recent branches commits
Devices + common projects: https://github.com/AdrianDC/aosp_development_sony8960/branches/all
Changes log
31/12 : New release on Android 7.1.2_r36 sources (October CVE patches)
14/07 : New release on Android 7.1.2_r24 sources (July CVE patches) & kernel updates
01/07 : Updated kernel vulnerabilities patches, fixes and external storage for Camera2
18/06 : New release on Android 7.1.2_r17 sources (June CVE patches / Pixel) & Jelly Browser updates
13/05 : Updated kernel vulnerabilities patches, improved Jelly Browser app
03/05 : New release on Android 7.1.2_r8 sources (May patches / Pixel) & Camera2 fixes
26/04 : New release with updated and unified AOSP 7.1.2 / LineageOS device sources
13/03 : New release on Android 7.1.1_r25 sources (March CVE patches / Pixel)
07/02 : New release on Android 7.1.1_r20 sources (February CVE patches / Pixel)
29/01 : Updated device sources, fixed AOSP Recovery build
07/01 : New release on Android 7.1.1_r9 sources (January CVE patches)
09/12 : Updated device sources, tethering kernel support added for AOSP 7.1.1
07/12 : New release on Android 7.1.1_r4 sources (About)
25/11 : Some Pixel colours and round icons, Downloads play/pause, minor fixes (About)
16/11 : Google SetupWizard fixes, minor improvements, dexopt disabled (About)
12/11 : Original RIL, USSD fixed, cleanups, Android 7.1.0_r7 (About)
30/10 : Initial release for Mint, Hayabusa and Tsubasa, Android 7.1.0_r4
Original AOSP 7.1 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 Nougat
AV: Initial camcorder partial support
Camera2: Fixes for wrongly rotated photos and improvements
Screenshots: Fix MTP list updates
Settings: Remove Google system updates
UI: Add reboot option to power menu
UI: Various efficiency improvements and fixes
UI: Some Pixel designs like NavBar and colours
Downloads: Add the ability to Play/Pause
Telephony: Support for older RIL layers
Telephony: Provide default networks APNs from CM
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"?>
<!-- https://android.googlesource.com/platform/manifest -->
<manifest>
<!-- See https://github.com/AdrianDC/aosp_development_sony8960 -->
</manifest>
You are just spoiling the community with all this releases and Android diversity, thanks again
Thanks sir i hope you read all of my Pm about cm14.1 anyways thanks it possible gain root via superSU?
Cheer - AOSP 4 xV, I would never have expected!
Thank you so much! :good: :highfive:
Is there a way to make basketbuild to work properly???
anyone find out how to root this rom?
nhicko95 said:
anyone find out how to root this rom?
Click to expand...
Click to collapse
OP => Q&A
20161112: New release supporting the original RIL telephony stack, hence USSD and stable SIM.
A new release will be coming in the next hours, adding fixes for the Google SetupWizard
on clean installation. Therefore no more permanent crashes from the wizard on boot
and the ability to fully use the Google SetupWizard to configure the phone & have provision.
(access to the navigation keys, the QuickSettings & others features that are locked without it)
The reason behind these issues were that the Google SetupWizard requires a lot of memory
to compile with ART, and 1024MB RAM devices configurations did not expect such a heavy usage.
The fix is here for those interested: https://github.com/AdrianDC/aosp_development_sony8960/commits/frameworks_native
It also includes a small UI change that was requested quite a lot,
I'll leave you judge of that, see the screenshot...
Also includes some improvements I did since the last build for CM 14.1.
Adrian DC said:
A new release will be coming in the next hours, adding fixes for the Google SetupWizard
on clean installation. Therefore no more permanent crashes from the wizard on boot
and the ability to fully use the Google SetupWizard to configure the phone & have provision.
(access to the navigation keys, the QuickSettings & others features that are locked without it)
The reason behind these issues were that the Google SetupWizard requires a lot of memory
to compile with ART, and 1024MB RAM devices configurations did not expect such a heavy usage.
The fix is here for those interested: https://github.com/AdrianDC/aosp_development_sony8960/commits/frameworks_native
It also includes a small UI change that was requested quite a lot,
I'll leave you judge of that, see the screenshot...
Also includes some improvements I did since the last build for CM 14.1.
Click to expand...
Click to collapse
Im still waiting
nhicko95 said:
Im still waiting
Click to expand...
Click to collapse
No need to say you're waiting a release or an update,
especially when it's mentioned it'll be in the coming hours.
Adrian DC said:
No need to say you're waiting a release or an update,
especially when it's mentioned it'll be in the coming hours.
Click to expand...
Click to collapse
It is suitable for secondary rom?
Why not ?
In fact I use all my ROMs as secondary on MicroSD.
Finished a new project to root AOSP 7.1 on Sony 8960.
Rooting instructions added to the main post.
A new build will also come today.
Adrian DC said:
Finished a new project to root AOSP 7.1 on Sony 8960.
Rooting instructions added to the main post.
A new build will also come today.
Click to expand...
Click to collapse
wow thats what im waiting for
thanks Sir AdrianDC its working
If I want to switch from CM14.1 to AOSP 7.1.0, how about the data migration? Do I have to revert it, or does this also work on AOSP 7.1.0?
Thanks in advance!
Klaus N. said:
If I want to switch from CM14.1 to AOSP 7.1.0, how about the data migration? Do I have to revert it, or does this also work on AOSP 7.1.0?
Thanks in advance!
Click to expand...
Click to collapse
Won't work properly because both have different databases, especially for the telephony
where CyanogenMod bumps the database version to add the support of legacy & irregular telephony elements.
Does this rom support f2fs?

[ROM][SNAPSHOT][8.1.0] AOSP Oreo 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 the release
My Android 8.0 bring-up started in April with my AOSP Master project.
Master being the mainline public Android development, it helped getting
most of the hardware requirements for the next Android release prepared
and ready for the evolution along the weeks. Though 8.0.0 introduced
more hardware changes and improvements, it was ready for about 75% of the needs.
Full details about the initial boot are explained here : #post73504552​
Downloads Links
AOSP 8.x Oreo (Unlocked Bootloader) :
Xperia T (Mint) - 8.1.0 / 8.0.0 : https://mega.nz/#F!u0N3lYza!0rQtcd5Mk-0zpnels9tOHQ
Xperia TX (Hayabusa) - 8.1.0 / 8.0.0 : https://mega.nz/#F!i0skESpR!m5j5c5lazJeI_H18mt2r1g
Xperia V (Tsubasa) - 8.1.0 / 8.0.0 : https://mega.nz/#F!b9lmSYLL!ibG35w4avd3voejlQG2gDA
Google Applications (optional) :
MindTheGapps : https://androidfilehost.com/?w=files&flid=170282 (Use packages for ARM, Android 8.x)
OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 8.x, Micro)
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_o_mr1
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.
Q : [Oreo] Downloaded files can't be opened directly
A : Normal issue common to all devices, yet to be fixed.
> For now, use "Show internal storage" and open the files directly.
Q : [Oreo] Clean install with OpenGApps - Google services force closes
A : OpenGApps Oreo is not yet finished and stable.
> Ignore the FCs and wait until the Setup Wizard configuration is done.​
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 8.1, ROM for the Sony Xperia T
Contributors
AdrianDC
Source Code: https://android.googlesource.com/
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.4.x
Based On: AOSP
Version Information
Status: Snapshot
Created 2017-09-01
Last Updated 2020-08-15
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 : Ok
- SEPolicies : Enforcing
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
Changes log
21/12 : Upgrade stable release on Android 8.1.0_r52 December
>>> General update against the initial LineageOS 15.1 official release
>>> Manual networks selection resolved
05/09 : Upgrade stable release on Android 8.1.0_r46 September
>>> Camera binaries improvements developed for AOSP P to resolve the crash log spam
15/08 : Upgrade stable release on Android 8.1.0_r43 August
>>> Multiple Kernel CVE patches and improvements
>>> Media volume now has 25 steps instead of 15, call volume 7 instead of 5
>>> Improvements to trigger the bootanimation earlier on boot
>>> Status bar icons tints resolved: Battery percentage, VPN
06/06 : Upgrade stable release on Android 8.1.0_r30 June
>>> CellularTile now has a detail view for Mobile Data
>>> Trebuchet Launcher improvements:
----- Predictive apps switch between day / night / headphones
13/05 : Upgrade stable release on Android 8.1.0_r26 May
>>> Maintenance upgrade release
06/05 : Update stable release on Android 8.1.0_r20 April
>>> My implementation of FBNotifier backlight in the LEDs kernel driver
----- Resolves backlight always on issues in offline charger
----- Proper low-level solution avoiding deprecated brightness controls
>>> Offline charger boot will reboot the device rather than direct boot
----- Restored the default AOSP behaviour for better support
----- Improves usability for MultiROM users (access to secondary ROMs)
>>> Offline charger LED battery indicator brought back
22/04 : Upgrade stable release on Android 8.1.0_r20 April
>>> Evolutions from frameworks/av to support legacy HAL1 Camcorder properly
----- Final solution found with Milos Ratkovic
----- Camcorder running fine on 720p and 1080p
>>> DocumentsUI (Files) showing internal storage by default
>>> Logcat's Diag_Lib spam resolved and silenced
>>> Sources improvements and cleanups related to AOSP P-DP1
>>> Kernel binder 64 bits API
>>> My backuptool in system evolution for future AOSP portability (for P)
----- Upgrades to this release will make the transition, do not jump over it
19/02 : Upgrade stable release on Android 8.1.0_r11 February
>>> Updated / adapted advanced reboot UI from LineageOS 15.1
>>> Updated and safer legacy libraries SHIM implementation
>>> Developer sRGB toggle hidden on Oreo once again
>>> Updated LineageOS applications with redesigned icons
>>> Further Oreo related device tree improvements
>>> Unnecessary Lights HAL log spam disabled
22/01 : Update stable release on Android 8.1.0_r6 January
>>> Incoming calls answer swipe responsiveness also improved (#201337)
>>> Recovery flash assert re-enabled, upgrade to TWRP 3.2.1
>>> Device trees updates and merged minor improvements
>>> Updated Lineage Trebuchet, Recorder and Messaging apps
04/01 : Upgrade stable release on Android 8.1.0_r4 January
>>> Android Go configurations enabled on Sony Huashan
>>> Oreo 8.1 system_server preoptimization improving performance
>>> Lockscreen swipe responsiveness highly improved (#198421)
>>> Thermal nodes are made readable by third-party applications like AIDA64
>>> Network kernel change potentially improving deep-sleeps
>>> Unfinished work in progress on codecs and camcorder recordings
08/12 : Upgrade stable release on Android 8.1.0_r1 December (Information)
>>> Fully rebased and updated projects on the initial Android 8.1 release
>>> Upgrades from 8.0 to 8.1 allowed through backuptool for GApps
>>> Clean installs of OpenGApps zips require install script changes to 8.1 and API 27
>>> Sony Huashan built with normal Android Oreo configurations, Sony Blue with Android Oreo Go
>>> One important difference with Android Go : Multitasking UI is flat on Go. Check Huashan and Blue screenshots
02/12 : Update stable release on Android 8.0.0_r33 November (Prerelease of Android 8.1)
>>> Finished legacy Sony Camera port for the Oreo HIDL stack instead of the old modules stack
>>> Data and Cache partitions are now allowed to use F2FS on AOSP
>>> Messaging additions ports from LineageOS : Swipe right to delete, optional emoticons access, ...
>>> Persistent USB Drive notification ported from our 2016 LineageOS / CM sources
>>> Additional improvements from LineageOS Trebuchet (Launcher3) with configurations
14/11 : Upgrade stable release on Android 8.0.0_r33 November (Prerelease of Android 8.1)
>>> Autobrightness HAL issue causing hot-reboots since r21 solved
>>> Addition of LineageOS Recorder app (Voice and screen video recorder)
>>> Bringup-additions from LineageOS Trebuchet for Launcher3 with advanced configurations
>>> Working Widevine DRM implementation for Oreo
07/11 : Upgrade release on Android 8.0.0_r21 (Prerelease of Android 8.1)
>>> [Sony Blue devices] Builds removed due to a display driver issue preventing boot
>>> Necessary ports for Android 8.1 pre-release and new UI changes
>>> Minor improvements of the DeviceSettings UI and moved under Gestures
>>> New Audio HAL upstream updates (work in progress for full legacy support)
>>> New NFC HAL upstream updates (work in progress for full NXP support)
20/10 : Update release. Minor device fixes and new Tiles
>>> Minor improvements of the DeviceSettings UI
>>> Fixed offline charging backlight on / off
>>> Added generic tiles for : NFC, Ambient Display, Heads Up, USB Tether, Volume
11/10 : Upgrade release on Android 8.0.0_r15 October
05/10 : New Oreo vibrator implementation (to confirm per device / user),
>>> further device development and upgrades for Oreo,
>>> improved DeviceSettings for Oreo (Ambient Display settings),
>>> camera working without needing to patch sepolicies permissive,
>>> Camera2 change to revive the app after boots without camera found,
>>> minor WiFi improvements, some Settings additions and fixes,
>>> various upstream fixes and improvements from AOSP Master
30/09 : Minor improvement to the DeviceSettings redesign,
>>> AOSP DeskClock alarm handling fixes, SDCardFS storage support,
>>> almost finalized clean and new enforced sepolicies (to confirm per device / user)
19/09 : Upgrade release on Android 8.0.0_r9. Sensors fully fixed, Gestures working,
>>> Lineage Eleven used as Music Player instead of outdated AOSP Music
11/09 : Update release. Bluetooth fixed, FMRadio restored, Camera initial fix, sensors partial upgrade,
>>> DeviceSettings redesign, NightDisplay added, backuptool implemented (for GApps persistency)
01/09: Initial public release for Mint, Hayabusa and Tsubasa, Android 8.0.0_r3
Recent branches commits
Devices + common projects: https://github.com/AdrianDC/aosp_development_sony8960_o_mr1/branches/all
About Sony Blue devices
You can cross-reference with Huashan: http://forum.xda-developers.com/-/-t3666304
I work on both platforms in parallel as they are now equal in terms of functionality and stability
Original AOSP 8.0 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 Oreo
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_o_mr1[/url] -->
</manifest>
About the initial public release - 01/09/2017
I use it as daily since July on Huashan (SP) and Mint (T)
For now, Camera is removed on purpose as I'm working on it. The initialization fails in the middle
Bluetooth worked up to July, and since then the list is empty due to timeouts. Being looked at
Binding with already paired Bluetooth devices like car radio should work but rare user-unfriendly conditions for now
Installs and works properly with MultiROM current release
wow great rom keep up the great work sir
Sent from my amami using XDA Labs
Good job
Nice! big thanks for the development still continue for this O-ld device
great work bro:good:
@AdrianDC
Awesome work as always :good: You have to be deserved of promoted as a "Senior Recognized Developer"
As the XT device is my nieces one and she needs it, I unfortunately can't test it... But I will upgrade, as soon as your work becomes official
This Oreo here really gives me reason to assume @AdrianDC builds faster than his shadow. :good:
How does he do that?
God bless you sir.
Nys work bro.. Working good. But when I reboot my Xperia V, after the booting completes it is showing "Process system is not responding". I just force closed it. But everything is working fyn. When will u release new update with camera support? Thank you for the effort.
kichuxda said:
Nys work bro.. Working good. But when I reboot my Xperia V, after the booting completes it is showing "Process system is not responding". I just force closed it. But everything is working fyn. When will u release new update with camera support? Thank you for the effort.
Click to expand...
Click to collapse
no ETA
Sent from my amami using XDA Labs
when i install fresh install this rom, I'm encounter with error 3
I'm also try after flashing boot.img
Really!?!? Why are you doing this?!? You are the greatest tolerant developer! You can do it for money like others. But you doing it free! Respect! Greatest!
Nice work!
With your help my -at last 4 jears old- smartphone is still "alive"... Only the Battery is a bit out of date
Continue Developing!
Details: I redesigned the DeviceSettings UI
The access is no longer attached to Oreo's new Settings layout System, but instead in Display where it should be
Summaries were added and icons removed to match the surrounding options
The original Ambient Display switch is manually hidden for the moment, will see if it's kept that way or not
The design follows the main Settings design, ActionBar colors match the proper theme, back arrow enabled
Ambient Display now toggled in a switch bar similar to WiFi
Useless first section title removed
asadi20 said:
when i install fresh install this rom, I'm encounter with error 3
I'm also try after flashing boot.img
Click to expand...
Click to collapse
I encountered the same problem I could not install
hamidkar64 said:
I encountered the same problem I could not install
Click to expand...
Click to collapse
me I'dont encounter any prob except on proximity wake
Sent from my amami using XDA Labs
Can xperia vc use the aosp oreo of xperia v?
Can xperia vc use the aosp oreo of xperia v?:困惑:

[ROM][SNAPSHOT][8.1] LineageOS 15.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 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
About the LineageOS 15.1 features : https://www.xda-developers.com/lineageos-15-feature-list-overview-screenshots-video/
About the LineageOS 15.1 release : https://lineageos.org/Changelog-16/​
Downloads Links
LineageOS 15.x (Unlocked Bootloader) :
Xperia T (Mint) - Official : https://download.lineageos.org/mint
Xperia TX (Hayabusa) - Official : https://download.lineageos.org/hayabusa
Xperia V (Tsubasa) - Official : https://download.lineageos.org/tsubasa
Xperia T (Mint) - Development : https://mega.nz/#F!a59XVCqa!r4Z-qyMmYIPuBP0uYD0VAw
Xperia TX (Hayabusa) - Development : https://mega.nz/#F!H4UHSZDR!vE5FGxauDI8H8EYU9NIYyA
Xperia V (Tsubasa) - Development : https://mega.nz/#F!2llT1LRb!YhgMoXHEg0K-ZqyAdmOKqw
Google Applications (optional) :
OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 8.x, Micro)
MindTheGapps : https://androidfilehost.com/?w=files&flid=170282 (Use packages for ARM, Android 8.x)
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 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 :
- https://wiki.lineageos.org/devices/mint/​
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
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
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
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
LineageOS 15.1 Mint 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 Xperia T/TX/V also thanks to :
- Google AOSP
- The LineageOS Team
- The CyanogenMod Team
- Everyone involved in working and testing​
XDA:DevDB Information
LineageOS 15.1, ROM for the Sony Xperia T
Contributors
AdrianDC
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.4.x
Version Information
Status: Snapshot
Created 2018-03-03
Last Updated 2020-08-15
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 : Ok
- SEPolicies : Enforcing
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
Changes log
21/12 : Official nightly migration over Android 8.1.0_r52 December
14/08 : Upgrade stable release on Android 8.1.0_r43 August
>>> Multiple Kernel CVE patches and improvements
>>> New settings for the status bar's clock (position, AM/PM)
>>> Black lights selection resolved (blue light glitch)
>>> Backuptool securities re-enabled (always update GApps for Oreo upgrades)
>>> Media volume now has 25 steps instead of 15, call volume 7 instead of 5
>>> Improvements to trigger the bootanimation earlier on boot
12/07 : Upgrade stable release on Android 8.1.0_r36 July
>>> Fully black mode implemented for Night mode
>>> New carbon black style added for Light mode
>>> Vendor security patch level added to device informations
>>> Trust warnings management improved with toggles
>>> Platform and RAM added to the About / Model & hardware dialog
25/06 : Upgrade stable release on Android 8.1.0_r30 June
>>> Introduced LineageOS Trust features
>>> Status bar icons tints resolved: Battery percentage, VPN, network indicators
>>> AOSP TwilightService reverted for LiveDisplay to prevent GPS always on
>>> LineageOS Recovery new install/progress animation
27/05 : Update stable release on Android 8.1.0_r26 May
>>> CellularTile now has a detail view for Mobile Data
>>> Dialer / Settings / Sounds and vibration settings improvements:
----- Do Not Disturb during calls option added
>>> Snap GPS location feature fixed
>>> Trebuchet Launcher improvements:
----- Predictive apps switch between day / night / headphones
>>> Merged fixes for LineageOS properties and backuptool barriers
12/05 : Upgrade stable release on Android 8.1.0_r26 May
>>> LineageOS build structure changes / improvements
>>> Work in progress fixes around LineageOS properties and backuptool barriers
>>> Minor fix about the offline charger LED battery indicator
05/05 : Update stable release on Android 8.1.0_r20 April
>>> My implementation of FBNotifier backlight in the LEDs kernel driver
----- Resolves backlight always on issues in offline charger
----- Proper low-level solution avoiding deprecated brightness controls
>>> Offline charger boot will reboot the device rather than direct boot
----- Restored the default AOSP behaviour for better support
----- Improves usability for MultiROM users (access to secondary ROMs)
>>> Offline charger LED battery indicator brought back
29/04 : Update stable release on Android 8.1.0_r20 April
>>> Evolutions from frameworks/av to support legacy HAL1 Camcorder properly
----- Final solution found with Milos Ratkovic
----- Camcorder running fine on 720p and 1080p
12/04 : Upgrade stable release on Android 8.1.0_r20 April
>>> Common ROM sources updates
>>> Minor device sources changes
>>> Recent kernel CVEs updates thanks to Roman Yarullin
31/03 : Upgrade stable release on Android 8.1.0_r15 March
>>> Evolutions from frameworks/av to support legacy HAL1 Camcorder
>>> Camcorder running fine on 720p YUV (restricted for now)
>>> DocumentsUI (Files) showing internal storage by default
>>> Logcat's Diag_Lib spam resolved and silenced
>>> Sources improvements and cleanups related to AOSP P-DP1
>>> Kernel binder 64 bits API
>>> Lineage HighTouchSensitivity option brought back
03/03 : Initial LineageOS 15.1 public XDA release
>>> Status equal to equivalent AOSP 8.1 releases
18/02 : Initial LineageOS 15.1 test users release
>>> Status equal to equivalent AOSP 8.1 releases
2017: Initial LineageOS 15.0 ports, internal bringup
>>> Kept private in favour of the AOSP 8.0 / 8.1 releases
About Sony Blue devices
You can cross-reference with Huashan: http://forum.xda-developers.com/-/-t3758221
I work on both platforms in parallel as they are now equal in terms of functionality and stability
root for xperia V not work..
alexmakerperson said:
root for xperia V not work..
Click to expand...
Click to collapse
Use addon su 14.1
I'm deeply impressed, greatest rom I ever tried, thank you so much!
Thank you for supporting the device.
The problem with installation of gapps,gives an error com.android.phone and interface is disabled.But after setting up the error no longer appear.
Thanks for this rom, installed it last week and it is really running fine.
One question about the camcorder: What's the actual status of the problem, do you think it is fixable?
Can xperia vc use the LineageOS 15.1 of xperia v?
Can xperia vc use the LineageOS 15.1 of xperia v? please.
Expended desktop doesn't work property. I have black screen after locking.
And I have problem with offline charging. My device has black screen in off state when I connecting the device to charging.
When new version will come? When we'll get functional of camcorder?
Adrian, you are made perfect rom! Pleas solve this problems. Thanx!!
hi
Next release : Upgrade stable release on Android 8.1.0_r15 March
>>> Evolutions from frameworks/av to support legacy HAL1 Camcorder
>>> DocumentsUI (Files) showing internal storage by default
>>> Logcat's Diag_Lib spam resolved and silenced
>>> Sources improvements and cleanups related to AOSP P-DP1
>>> Lineage HighTouchSensitivity option brought back
Waiting for updates
hamidkar64 said:
hi
Next release : Upgrade stable release on Android 8.1.0_r15 March
>>> Evolutions from frameworks/av to support legacy HAL1 Camcorder
>>> DocumentsUI (Files) showing internal storage by default
>>> Logcat's Diag_Lib spam resolved and silenced
>>> Sources improvements and cleanups related to AOSP P-DP1
>>> Lineage HighTouchSensitivity option brought back
A moment to update
Click to expand...
Click to collapse
If you think so, then go for it!
Be happy ?
Many many Thanks
Last firmware has artifacts in front camera. And expended desktop work bad yet.
Thank you for working back camera!
hi
I've been installing a version with error 7, but I'm using a multi-rom
I'm experiencing app freezes with the latest build (it's also the first one I use, I was previously using LineageOS 14.1). It seems that sometimes, when a picture has to be loaded and shown, the app freezes and becomes completely unresponsive. I get this problema in apps like Twitter or Feedly, but it's never happened to me with Chrome.
@AdrianDC
8.1.0_r20 April - couple of issues:
1. boot loop
2. TWRP losses touch
It's kind of mint is dead, for me
Any help?
Hi Adrian
Please add notification's inline reply and multi-window
Thanks
Sent from my Xperia V using Tapatalk
jahanbin95 said:
Hi Adrian
Please add notification's inline reply and multi-window
Thanks
Sent from my Xperia V using Tapatalk
Click to expand...
Click to collapse
These features are disabled in Android Go. To have them back you need to flash Low-RAM Property Patcher for Android in TWRP, but remeber that you will lose all the Android Go optimizations. More features or more speed, the choice is yours. The good news is that you can switch between the two versions at any time simply by flashing the low ram property patcher.
Longhorn87 said:
These features are disabled in Android Go. To have them back you need to flash Low-RAM Property Patcher for Android in TWRP, but remeber that you will lose all the Android Go optimizations. More features or more speed, the choice is yours. The good news is that you can switch between the two versions at any time simply by flashing the low ram property patcher.
Click to expand...
Click to collapse
Thank you [emoji4]
these features are practical for me[emoji41]
Sent from my Xperia V using Tapatalk

[ROM][SNAPSHOT][8.1] LineageOS 15.1 for Xperia SP

{
"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 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
About the LineageOS 15.1 features : https://www.xda-developers.com/lineageos-15-feature-list-overview-screenshots-video/
About the LineageOS 15.1 release : https://lineageos.org/Changelog-16/​
Downloads Links
LineageOS 15.x (Unlocked Bootloader) :
Xperia SP (Huashan) - Official : https://download.lineageos.org/huashan
Xperia SP (Huashan) - Development : https://mega.nz/#F!G0UhlDQB!inUr23iQ9L2KKraBZRwvTg
Google Applications (optional) :
OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 8.x, Micro)
MindTheGapps : https://androidfilehost.com/?w=files&flid=170282 (Use packages for ARM, Android 8.x)
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-sp/orig-development/-t3309938
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_msm8960t
About LineageOS updates : ChangeLog available on https://download.lineageos.org/huashan/changes/
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) 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
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/LineageOS/android_device_sony_huashan
Kernel sources : https://github.com/LineageOS/android_kernel_sony_msm8960t
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
LineageOS 15.1 Mint / Hayabusa / Tsubasa 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 Xperia SP also thanks to :
- Google AOSP
- The LineageOS Team
- CodeAurora Forums
- The CyanogenMod Team​
XDA:DevDB Information
LineageOS 15.1, ROM for the Sony Xperia SP
Contributors
AdrianDC
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.4.x
Version Information
Status: Snapshot
Created 2018-03-03
Last Updated 2020-08-15
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 : Ok
- SEPolicies : Enforcing
ALSO WORKING ON SONY HUASHAN
Music Lights Effects implementation fully working
Presentation of the features : https://forum.xda-developers.com/showpost.php?p=73049970&postcount=399
YouTube Presentation : https://www.youtube.com/watch?v=GHk__DhyL60
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
Changes log
21/12 : Official nightly migration over Android 8.1.0_r52 December
14/08 : Upgrade stable release on Android 8.1.0_r43 August
>>> Multiple Kernel CVE patches and improvements
>>> New settings for the status bar's clock (position, AM/PM)
>>> Black lights selection resolved (blue light glitch)
>>> Backuptool securities re-enabled (always update GApps for Oreo upgrades)
>>> Media volume now has 25 steps instead of 15, call volume 7 instead of 5
>>> Improvements to trigger the bootanimation earlier on boot
12/07 : Upgrade stable release on Android 8.1.0_r36 July
>>> Fully black mode implemented for Night mode
>>> New carbon black style added for Light mode
>>> Vendor security patch level added to device informations
>>> Trust warnings management improved with toggles
>>> Platform and RAM added to the About / Model & hardware dialog
25/06 : Upgrade stable release on Android 8.1.0_r30 June
>>> Introduced LineageOS Trust features
>>> Status bar icons tints resolved: Battery percentage, VPN, network indicators
>>> AOSP TwilightService reverted for LiveDisplay to prevent GPS always on
>>> LineageOS Recovery new install/progress animation
27/05 : Update stable release on Android 8.1.0_r26 May
>>> CellularTile now has a detail view for Mobile Data
>>> Dialer / Settings / Sounds and vibration settings improvements:
----- Do Not Disturb during calls option added
>>> Snap GPS location feature fixed
>>> Trebuchet Launcher improvements:
----- Predictive apps switch between day / night / headphones
>>> Merged fixes for LineageOS properties and backuptool barriers
11/05 : Upgrade stable release on Android 8.1.0_r26 May
>>> LineageOS build structure changes / improvements
>>> Work in progress fixes around LineageOS properties and backuptool barriers
>>> Minor fix about the offline charger LED battery indicator
05/05 : Update stable release on Android 8.1.0_r20 April
>>> My implementation of FBNotifier backlight in the LEDs kernel driver
----- Resolves backlight always on issues in offline charger
----- Proper low-level solution avoiding deprecated brightness controls
>>> Offline charger boot will reboot the device rather than direct boot
----- Restored the default AOSP behaviour for better support
----- Improves usability for MultiROM users (access to secondary ROMs)
>>> Offline charger LED battery indicator brought back
29/04 : Update stable release on Android 8.1.0_r20 April
>>> Evolutions from frameworks/av to support legacy HAL1 Camcorder properly
----- Final solution found with Milos Ratkovic
----- Camcorder running fine on 720p and 1080p
12/04 : Upgrade stable release on Android 8.1.0_r20 April
>>> Common ROM sources updates
>>> Minor device sources changes
>>> Recent kernel CVEs updates thanks to Roman Yarullin
31/03 : Upgrade stable release on Android 8.1.0_r15 March
>>> Evolutions from frameworks/av to support legacy HAL1 Camcorder
>>> Camcorder running fine on 720p YUV (restricted for now)
>>> DocumentsUI (Files) showing internal storage by default
>>> Logcat's Diag_Lib spam resolved and silenced
>>> Sources improvements and cleanups related to AOSP P-DP1
>>> Kernel binder 64 bits API
>>> Lineage HighTouchSensitivity option brought back
02/03 : Initial LineageOS 15.1 public XDA release
>>> Status equal to equivalent AOSP 8.1 releases
18/02 : Initial LineageOS 15.1 test users release
>>> Status equal to equivalent AOSP 8.1 releases
2017: Initial LineageOS 15.0 ports, internal bringup
>>> Kept private in favour of the AOSP 8.0 / 8.1 releases
The competition between AOSP and Lineage for Xperia SP has begun
The competition between AOSP and Lineage for Xperia SP has begun.
Only one can be a winner.
Who?
Adrian!:good:
In the summer of 2017, I watched your huge successes in the development of the android.
Then I bought two copies of the C5303 expecting you to be able to prepare Android Oreo for them.
I was not disappointed.
For many months, I've been comparing ROM stock to next versions 7.1.2 and now 8.x.x.
I can not come out of admiration for your abilities.
Big, big thanks for the fun you give us, ROM users.
Adrian, you're amazing. Thanks to your skills and abilities, we still get new, efficient and stable versions of the android.
finally !! thank you @AdrianDC
@AdrianDC you are the KING!
You're kind of a legend for some people right now, even on the Z2 forums.
Amazing work as always, runs smooth and it seems to be one of your greatest creations.
Best regards from the XDA family
so, having no experience with lineage, but loving oreo on the sp, what's the difference ?
obviously people love lineage, but why ?
sell it to me, people....
scruffy1 said:
so, having no experience with lineage, but loving oreo on the sp, what's the difference ?
obviously people love lineage, but why ?
sell it to me, people....
Click to expand...
Click to collapse
https://youtu.be/WfE3ClKRaWY
thanks for that... gestures ! i see....
edit : well, i'm sold
oreo is great, but this is even greater
thanks adrian
You can find the highly detailed LineageOS 15.1 features list by @MishaalRahman here :
https://www.xda-developers.com/lineageos-15-feature-list-overview-screenshots-video/
Hi, camcorder don't work? Camcorder : Work in progress...
Well, i found this: https://forum.xda-developers.com/showpost.php?p=75723920&postcount=642 and this: https://forum.xda-developers.com/showpost.php?p=75289683&postcount=540
Thanks AdrianDC
Great job @AdrianDC as always.
Tried installing the AOSP 8.1.0 with a complete wipe(System,Caches,Internal Storage...followed by formatting data[not sure if it matters....but just tried]), but Google Pay Services force closes every time. Is it the same issue with this LOS? Thanks in advance.
Hi good afternoon the location not work fine and can't find my place and I have no problem with locations of rom 7.1.2 and work fine.
Any ideas?
Thanks.
meysam1712 said:
Hi good afternoon the location not work fine and can't find my place and I have no problem with locations of rom 7.1.2 and work fine.
Any ideas?
Thanks.
Click to expand...
Click to collapse
I can confirm this behavior.
puppetminds said:
Tried installing the AOSP 8.1.0 with a complete wipe(System,Caches,Internal Storage...followed by formatting data[not sure if it matters....but just tried]), but Google Pay Services force closes every time. Is it the same issue with this LOS? Thanks in advance.
Click to expand...
Click to collapse
Do not use pico version of Gapps there is probably bug in it still please use latest nano OpenGapps 8.1
Haxk20 said:
Do not use pico version of Gapps there is probably bug in it still please use latest nano OpenGapps 8.1
Click to expand...
Click to collapse
I have tried pico version and I confirm: it doesn't work. OP says MICRO opengapps version, and it works without problem.
Enviado desde mi FRD-L09 mediante Tapatalk
Anyone have problem with Viber or similar chat app, if i'm in other app like browser it doesn't show notification, only show when i enter Viber, i had the same problem in Aosp rom... Seems like some ram management issue, or Viber maybe...
i installed pico
it faffs around a lot during the initial install with lots of apps crashing and stopping
and then after enough time to settle in, by ignoring the phone, it later works without any problems at all
i had to install maps (not part of pico), and the location was vague, but i don't turn services on for that anyway - google know plenty about me without stalking me too

Categories

Resources