Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

[ROM][8.1.0] AOSP Oreo for Xperia T/TX/V

2,057 posts
Thanks Meter: 11,042
By AdrianDC, Recognized Developer on 1st September 2017, 05:10 PM
Post Reply Email Thread

#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 :!u0N3lYza!0rQtcd5Mk-0zpnels9tOHQ
Xperia TX (Hayabusa) - 8.1.0 / 8.0.0 :!i0skESpR!m5j5c5lazJeI_H18mt2r1g
Xperia V (Tsubasa) - 8.1.0 / 8.0.0 :!b9lmSYLL!ibG35w4avd3voejlQG2gDA

Google Applications (optional) :
OpenGapps : (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.0 :

Informations and references :
Kernel CVEs : Security patches status
About AOSP : Repositories available on

Unification of the user partitions into UserData
Read more about the UserData unification :

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 :
Device tree (T) :
Device tree (TX) :
Device tree (V) :
Kernel sources :
Vendor blobs :

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 : 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 : [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 Blue devices 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

Source Code:

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.4.x
Based On: AOSP

Version Information
Status: Stable

Created 2017-09-01
Last Updated 2017-12-07
The Following 42 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
1st September 2017, 05:10 PM |#2  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 11,042
- 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 : Work in progress
- 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

  • 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
Attached Thumbnails
Click image for larger version

Name:	screenshot-20171208-003628.jpg
Views:	132
Size:	34.3 KB
ID:	4354926   Click image for larger version

Name:	screenshot-20171208-003723.jpg
Views:	140
Size:	53.5 KB
ID:	4354927   Click image for larger version

Name:	screenshot-20171208-004020.png
Views:	126
Size:	82.4 KB
ID:	4354928   Click image for larger version

Name:	screenshot-20171208-004039.png
Views:	210
Size:	99.1 KB
ID:	4354929   Click image for larger version

Name:	Screenshot_20171207-233926.jpg
Views:	132
Size:	46.7 KB
ID:	4354930   Click image for larger version

Name:	photo_2017-12-08_11-04-21.jpg
Views:	202
Size:	44.8 KB
ID:	4355246  
The Following 22 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
1st September 2017, 05:10 PM |#3  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 11,042
Recent branches commits
About Sony Blue devices
Changes log
  • 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

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
<?xml version="1.0" encoding="UTF-8"?>
<!-- -->

  <!-- See -->

The Following 16 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
1st September 2017, 05:30 PM |#4  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 11,042
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
The Following 10 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
1st September 2017, 06:20 PM |#5  
Senior Member
Thanks Meter: 69
wow great rom keep up the great work sir

Sent from my amami using XDA Labs
The Following 2 Users Say Thank You to nhicko95 For This Useful Post: [ View ] Gift nhicko95 Ad-Free
1st September 2017, 07:39 PM |#6  
Thanks Meter: 10
Good job
2nd September 2017, 12:55 AM |#7  
Flag Samarinda
Thanks Meter: 16
Nice! big thanks for the development still continue for this O-ld device
The Following User Says Thank You to DREAMVERSE For This Useful Post: [ View ] Gift DREAMVERSE Ad-Free
2nd September 2017, 07:25 AM |#8  
Junior Member
Thanks Meter: 2
great work bro
The Following User Says Thank You to m#bakan For This Useful Post: [ View ] Gift m#bakan Ad-Free
2nd September 2017, 02:45 PM |#9  
Senior Member
Flag Nuremberg
Thanks Meter: 401
Awesome work as always 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
The Following User Says Thank You to Klaus N. For This Useful Post: [ View ] Gift Klaus N. Ad-Free
2nd September 2017, 04:35 PM |#10  
MichaBit's Avatar
Senior Member
Thanks Meter: 87
This Oreo here really gives me reason to assume @AdrianDC builds faster than his shadow.
How does he do that?
The Following 3 Users Say Thank You to MichaBit For This Useful Post: [ View ] Gift MichaBit Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes