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

Search This thread

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,950
208
Île-de-France
adriandc.github.io
Android-9-Pie-slice-featured-810x298_c.png

Code:
#include <std_disclaimer.h>
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */


Downloads Links
AOSP 9 Pie (Unlocked Bootloader) :
Xperia T (Mint) - 9 : https://mega.nz/#F!Ol9DCKYA!W80n2JMKsUlFFQi_-z3e2w
Xperia TX (Hayabusa) - 9 : https://mega.nz/#F!LltSFSLQ!_LQTzsvozfI-S9QMmmYydw
Xperia V (Tsubasa) - 9 : https://mega.nz/#F!K91F1IQJ!4arN1uBwuvKl6vc3yXiWJg

Google Applications (optional) :
MindTheGapps : https://androidfilehost.com/?w=files&flid=170282 (Use packages for ARM, Android 9.0)
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.

Recommended Recovery (optional) :
TWRP 3.x : http://forum.xda-developers.com/xperia-t-v/orig-development/-t3319588

Configure the default Low-RAM features (optional) :
Low-RAM Property Patcher : http://forum.xda-developers.com/-/-t3737373

Informations and references :
Kernel CVEs : Security patches status https://cve.lineageos.org/android_kernel_sony_msm8x60
About AOSP : Repositories available on https://android.googlesource.com/


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


Flashing and updating
AOSP clean install :
- (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool
- (Optional) Install TWRP Recovery to the FOTA partition (Read the TWRP thread)
- (Optional) Wipe the data & cache (Backup to make sure not to lose data)
- Flash the AOSP ROM zip from recovery
- (Optional) Flash a GApps package to have the Google Applications
- (Optional) Every additional zip you want to flash
- Reboot

AOSP update / upgrade :
- (Information) Do not wipe anything unless you want to
- Flash the latest AOSP ROM zip from recovery
- (Optional) Flash a GApps package if you want to, otherwise preserved.
- (Optional) Every additional zip you want to flash
- Reboot


About the builds


Issues and reports
- Report issues only if you use the ROM kernel
- If an additional mod is installed, make sure it's unrelated, and mention it
- Make sure the issue wasn't discussed earlier in the threads
- Share a log of the error with CatLog for example


Q&A - FAQ
Q : Is root access included into AOSP ?
A : No but you can now root with my Boot Bridge and a superuser tool.

Q : Is the ROM suited for daily usage ?
A : Yes. Check the list below to decide for yourself.

Q : Where can I change the Quick Tiles and Status Bar ?
A : Long press the Settings icon in the notifications drawer.
> You will have access to the SystemUI Tuner from Marshmallow.

Q : When USB is connected to a computer, I can't access the storage ?
A : The phone is in charge-only mode by default (since Android Nougat),
> due to a stronger security logic regarding unauthorised data access.
> Swipe down the notifications and change the USB mode.​


AOSP available for Xperia T/TX/V also thanks to :
- Google AOSP
- The LineageOS Team
- CodeAurora Forums
- The CyanogenMod Team​

XDA:DevDB Information
AOSP Oreo 9, ROM for the Sony Xperia T

Contributors
AdrianDC
Source Code: https://android.googlesource.com/

ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.4.x
Based On: AOSP

Version Information
Status: Snapshot

Created 2019-08-17
Last Updated 2020-08-15
 

AdrianDC

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

FEATURES AND ISSUES
Code:
- Boot : Ok
- GApps : OpenGApps Micro recommended
- Partitions (Data, Cache) : Ext4 and F2FS supported
- Bluetooth : Ok
- WiFi : Ok
- WiFi Hotspot : Ok
- RIL - Phone - Data : Ok
- GPS : Ok
- Camera : Ok
- Camcorder : Ok
- Lights : Ok
- MicroSD : Ok
- Accelerometer : Ok
- Compass : Ok
- Gyroscope : Ok
- AOSP sensors : Ok
- Touchscreen : Ok
- FM Radio : Ok
- Vibrator : Ok
- Microphone : Ok
- Audio & music : Ok
- Bluetooth audio : Ok
- NFC : Ok
- Kernel : Ok
- Graphics : Ok
- 3D Rendering : Ok
- Clock : Ok
- DRM : Ok
- Offline Charging : Ok
- USB : Ok
- USB OTG : Ok
- Encryption : Not tested yet
- SEPolicies : Permissive, enforcing is a work in progress


IMPORTANT FEATURES TO KNOW
  • Boot sequence : Once the LEDs light up :
    - Press Volume - to open AOSP Recovery,
    - Press Volume + to open the FOTA recovery (TWRP usually) if available
  • Powered-off alarm : When you have set an alarm
    - If you power down the device, it will wake automatically 5 minutes before
    - If you let the device charge offline, it will automatically reboot 5 minutes before
  • Gestures : Events like hand-wave and pocket removal can be enabled in the Settings
  • Force reboot : You can reset the device by holding Power and Volume+ 5 seconds
 
Last edited:

AdrianDC

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

Changes log
  • 17/08 : Initial public release on Android 9.0.0_r46 August

  • 2018: Initial AOSP 9 ports, internal bringup
    >>> Kept private for development purposes


Recent branches commits

About Sony Blue devices

Original AOSP 9 sources with following relevant additions
  • Blue devices trees, kernel and vendor
  • Bionic: Support for SHIMs (Camera)
  • Build: Backup tool full support (GApps)
  • NFC: Proper support & removed log spam
  • Toybox: Support for init_sony boot selection
  • AV: Camera support for Pie
  • AV: Initial camcorder partial support
  • Camera2: Fixes for wrongly rotated photos and improvements
  • UI: Various efficiency improvements and fixes
  • Telephony: Support for older RIL layers
  • Audio: 8960 adapted HAL and FM support
  • FM: Fully implemented with AOSP FM Radio
  • Music: Minor fix to permissions
  • Settings: Minor visual rendering improvements
  • Healthd: Support for Huashan offline charger
  • Core: Disabled flash_recovery service from AOSP
  • Sepolicies: Minimal changes and fully enforced ROM

Current local manifest
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!-- [url]https://android.googlesource.com/platform/manifest[/url] -->
<manifest>

  <!-- See [url]https://github.com/AdrianDC/aosp_development_sony8960_p[/url] -->

</manifest>
 
Last edited:

xperanto

Senior Member
Jan 22, 2017
69
60
18
Hi @AdrianDC, are you planning to do an Android Go version for this devices? If so then it would be great!

He already did in some way. If you define Android Go as "The Android Go operating system is based on the regular version of Android but it’s optimized to run on smartphones with 512 MB to 1 GB of RAM", adriandc already povided a patch based on it with the Low-RAM Property Patcher, as stated above.

When you follow the link https://forum.xda-developers.com/android/software-hacking/mod-low-ram-property-patcher-android-t3737373 you will find the following statement:

Low-RAM Property Patcher is made to give Android Oreo users an easy control
over the low-ram property from the Go configuration, responsible for the UI changes of Go.

Its purpose is to simply enable or disable the low-ram property from the build.prop,
but also to retain this user decision through the ROM upgrades (new releases, OTA)...
and
Developers should get less requests to compile with or without Go

As adrian mentioned the low-ram patch in this Pie-ROM description, it should work for this release, too, not only for Oreo. (s.Edit)

The solution provided by adriandc with a patch is even better than a whole standalone ROM, because you can switch it on or off and in the end it is up to the user if he wants to use it or not.

The idea behind it is very well done by adriandc.
To answer your question: He already did!

Edit, clarification:
As stated above: "Configure the default Low-RAM features" means, that it is already enable by default. The low-ram-enabler is only needed to reenable it, if you used the disable-patch, as stated in this thread
https://forum.xda-developers.com/showpost.php?p=80492509&postcount=15
Flashing android_lowram_enabler is not required, it's a no-op, however android_lowram_disabler will bring back disabled features per user choice.

The android_lowram_enabler tool serves a purpose only to come back from a disabler and for any other devices not using Go low RAM configs.
 
Last edited:
  • Like
Reactions: AdrianDC

theunlucky

Member
Apr 15, 2015
48
8
0
Schaffhausen
Hi,
I wanted to give my Xperia T the joy of PIe, but am encountering a few issues:
coming from 8.1 (also AOSP, without Gapps), i did
- install the newest TWRP-image (3.3.1-0, came from 3.3.0-0)
- deleted dalvik, data and cache,
...after that, TWRP couldn't read from ext. SD-card anymore.
booted up the old system, copied the new image and gapps to the internal storage.
- redone the dalvik/data/cache-wipe
- installed AOSP-image, installed Gapps and the low-ram-thingy.
...after reboot, the assistant starts up, lets me connect to my WLAN (i get asked for the sim-pin), then comes the "search for updates"-dialog, where it stucks (got it running for 60 minutes)

...i connected to "my" wlan, passphrase's correct, the XT gets an IP, all as it should be.

redone the whole process with just AOSP (to get the option to upload the lineage-image to the internal storage, as there's still no ext. sd-card available)

Is there a way to skip the update-search? (can't use UMTS, as i'm running a prepaid-card)
(if not: how to get the lineage-image on the phone? can connect the cable and it starts charging the battery, but I need to set it to "transfer files" which isn't possible as the assistant doesn't let me access the info-bar - system is responding when trying to change volume)

Edit: was able to activate the mtp-mode in TWRP, giving lineageOS a shot right now, will update if solved or not

Edit2: was able to install lineageOS (and mindthegapps) and set it up without error...
...is above mentioned issue common? how could i switch to AOSP without re-encountering the setup-problem?
 
Last edited:

xperanto

Senior Member
Jan 22, 2017
69
60
18
Is there a way to skip the update-search? (can't use UMTS, as i'm running a prepaid-card)

On AOSP of Xperia SP huashan, some users encountered the same issue.
The solution as mentioned in this thread https://forum.xda-developers.com/xperia-sp/orig-development/rom-aosp-pie-xperia-sp-t3958464 by user fsw_informatrix is simply to remove the SIM-card first, and to not connect to wlan during the first setup.

Also make sure to use mindthegapps and not opengapps. Hope this helps.
 

theunlucky

Member
Apr 15, 2015
48
8
0
Schaffhausen
] by user fsw_informatrix is simply to remove the SIM-card first, and to not connect to wlan during the first setup.

Also make sure to use mindthegapps and not opengapps. Hope this helps.

Well I had the Sim-Card in, but I tried to NOT configure WLAN - it was mandatory (assistant starts, asks for either WLAN or UMTS, there's no way to work around that)

Where's the difference between mindthegapps and opengapps?
 

xperanto

Senior Member
Jan 22, 2017
69
60
18
Well I had the Sim-Card in, but I tried to NOT configure WLAN - it was mandatory (assistant starts, asks for either WLAN or UMTS, there's no way to work around that)

Where's the difference between mindthegapps and opengapps?

Again, please read the thread from above, espacially this post
https://forum.xda-developers.com/showpost.php?p=80377565&postcount=10

First one was "Stuck on "Checking for updates..", so I found first here : https://www.reddit.com/r/GalaxyS9/co...updates_after/ this reply : "I had to completely disconnect from wifi, took the sim out so it would skip that process. Its finally working fine now." method confirmed in this XDA thread here : https://forum.xda-developers.com/nok...t3767866/page2 in the post #15 : "Try without SIM card inserted. It should work."
Alternatively, in this thread : https://forum.xda-developers.com/201...dates-t3571496 the method explained in post #4 worked well also :
"On the TWRP Terminal:
echo "ro.setupwizard.mode=DISABLED" >> /system/build.prop
this will skip the first setup!
edit: may need to mount /system"

Mindthegapp and Opengapp is also discussed somewhere in the thead.
 

eternalcookie

New member
Oct 26, 2019
1
0
0
I used mindthegapps instead of opengaps and the sign in problem went away :good:

But i have a problem; the phone doesn't stay off after shutdown and turns back on. I have flashed latest TWRP twice via fastboot but the problem is still there. However if i connect the phone to charger right after shut down it will stay off and recharge :confused:

I used Nova launcher instead of the built-in UI and the phone runs fine and smooth. Unfortunately Xperia V doesn't support notification access for external apps and I'm looking for a workaround for that too. In general, i like the OS and the user experience is good so I'm going to keep it. Props to the dev :)
 

gnewer

New member
Nov 8, 2019
1
0
0
I really appreciate the work done by AdrianDC to keep xperia v alive. I am running this ROM for a week now after using official jelly bean by Sony for years.
Most of the time it works good without problem and I want to keep it for daily usage.
But I encountered some bugs :
1. Shut down function don't work. It actually restarts after 5 or 10 seconds of black screen.
2.some times during some medium to heavy work the screen freezes and the phone restarts itself.
3.some times during some medium to heavy work the CPU temperature goes up to 65 Celsius and the phone shut down.
4.battery usage and charging time increased comparing to last official ROM . an important notice is that I first installed gapps and the battery drain was a disaster and it showed charging takes 22 hours to complete ! But then I flashed and reinstalled ROM with mindtheapps and it is far better and charging takes 2.5 hours to complete.
And with full usage it goes empty after 3 hours. Poor 1700 battery after all.
5.in telegram and wattsapp videos won't play in app. I should use 3rd app to open video via files manager .
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    Android-9-Pie-slice-featured-810x298_c.png

    Code:
    #include <std_disclaimer.h>
    /*
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.
     */


    Downloads Links
    AOSP 9 Pie (Unlocked Bootloader) :
    Xperia T (Mint) - 9 : https://mega.nz/#F!Ol9DCKYA!W80n2JMKsUlFFQi_-z3e2w
    Xperia TX (Hayabusa) - 9 : https://mega.nz/#F!LltSFSLQ!_LQTzsvozfI-S9QMmmYydw
    Xperia V (Tsubasa) - 9 : https://mega.nz/#F!K91F1IQJ!4arN1uBwuvKl6vc3yXiWJg

    Google Applications (optional) :
    MindTheGapps : https://androidfilehost.com/?w=files&flid=170282 (Use packages for ARM, Android 9.0)
    Information : Flash the GApps before the first boot. If not, a clean flash is recommended.

    Recommended Recovery (optional) :
    TWRP 3.x : http://forum.xda-developers.com/xperia-t-v/orig-development/-t3319588

    Configure the default Low-RAM features (optional) :
    Low-RAM Property Patcher : http://forum.xda-developers.com/-/-t3737373

    Informations and references :
    Kernel CVEs : Security patches status https://cve.lineageos.org/android_kernel_sony_msm8x60
    About AOSP : Repositories available on https://android.googlesource.com/


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


    Flashing and updating
    AOSP clean install :
    - (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool
    - (Optional) Install TWRP Recovery to the FOTA partition (Read the TWRP thread)
    - (Optional) Wipe the data & cache (Backup to make sure not to lose data)
    - Flash the AOSP ROM zip from recovery
    - (Optional) Flash a GApps package to have the Google Applications
    - (Optional) Every additional zip you want to flash
    - Reboot

    AOSP update / upgrade :
    - (Information) Do not wipe anything unless you want to
    - Flash the latest AOSP ROM zip from recovery
    - (Optional) Flash a GApps package if you want to, otherwise preserved.
    - (Optional) Every additional zip you want to flash
    - Reboot


    About the builds


    Issues and reports
    - Report issues only if you use the ROM kernel
    - If an additional mod is installed, make sure it's unrelated, and mention it
    - Make sure the issue wasn't discussed earlier in the threads
    - Share a log of the error with CatLog for example


    Q&A - FAQ
    Q : Is root access included into AOSP ?
    A : No but you can now root with my Boot Bridge and a superuser tool.

    Q : Is the ROM suited for daily usage ?
    A : Yes. Check the list below to decide for yourself.

    Q : Where can I change the Quick Tiles and Status Bar ?
    A : Long press the Settings icon in the notifications drawer.
    > You will have access to the SystemUI Tuner from Marshmallow.

    Q : When USB is connected to a computer, I can't access the storage ?
    A : The phone is in charge-only mode by default (since Android Nougat),
    > due to a stronger security logic regarding unauthorised data access.
    > Swipe down the notifications and change the USB mode.​


    AOSP available for Xperia T/TX/V also thanks to :
    - Google AOSP
    - The LineageOS Team
    - CodeAurora Forums
    - The CyanogenMod Team​

    XDA:DevDB Information
    AOSP Oreo 9, ROM for the Sony Xperia T

    Contributors
    AdrianDC
    Source Code: https://android.googlesource.com/

    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 3.4.x
    Based On: AOSP

    Version Information
    Status: Snapshot

    Created 2019-08-17
    Last Updated 2020-08-15
    4
    Reserved

    FEATURES AND ISSUES
    Code:
    - Boot : Ok
    - GApps : OpenGApps Micro recommended
    - Partitions (Data, Cache) : Ext4 and F2FS supported
    - Bluetooth : Ok
    - WiFi : Ok
    - WiFi Hotspot : Ok
    - RIL - Phone - Data : Ok
    - GPS : Ok
    - Camera : Ok
    - Camcorder : Ok
    - Lights : Ok
    - MicroSD : Ok
    - Accelerometer : Ok
    - Compass : Ok
    - Gyroscope : Ok
    - AOSP sensors : Ok
    - Touchscreen : Ok
    - FM Radio : Ok
    - Vibrator : Ok
    - Microphone : Ok
    - Audio & music : Ok
    - Bluetooth audio : Ok
    - NFC : Ok
    - Kernel : Ok
    - Graphics : Ok
    - 3D Rendering : Ok
    - Clock : Ok
    - DRM : Ok
    - Offline Charging : Ok
    - USB : Ok
    - USB OTG : Ok
    - Encryption : Not tested yet
    - SEPolicies : Permissive, enforcing is a work in progress


    IMPORTANT FEATURES TO KNOW
    • Boot sequence : Once the LEDs light up :
      - Press Volume - to open AOSP Recovery,
      - Press Volume + to open the FOTA recovery (TWRP usually) if available
    • Powered-off alarm : When you have set an alarm
      - If you power down the device, it will wake automatically 5 minutes before
      - If you let the device charge offline, it will automatically reboot 5 minutes before
    • Gestures : Events like hand-wave and pocket removal can be enabled in the Settings
    • Force reboot : You can reset the device by holding Power and Volume+ 5 seconds
    4
    Reserved

    Changes log
    • 17/08 : Initial public release on Android 9.0.0_r46 August

    • 2018: Initial AOSP 9 ports, internal bringup
      >>> Kept private for development purposes


    Recent branches commits

    About Sony Blue devices

    Original AOSP 9 sources with following relevant additions
    • Blue devices trees, kernel and vendor
    • Bionic: Support for SHIMs (Camera)
    • Build: Backup tool full support (GApps)
    • NFC: Proper support & removed log spam
    • Toybox: Support for init_sony boot selection
    • AV: Camera support for Pie
    • AV: Initial camcorder partial support
    • Camera2: Fixes for wrongly rotated photos and improvements
    • UI: Various efficiency improvements and fixes
    • Telephony: Support for older RIL layers
    • Audio: 8960 adapted HAL and FM support
    • FM: Fully implemented with AOSP FM Radio
    • Music: Minor fix to permissions
    • Settings: Minor visual rendering improvements
    • Healthd: Support for Huashan offline charger
    • Core: Disabled flash_recovery service from AOSP
    • Sepolicies: Minimal changes and fully enforced ROM

    Current local manifest
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- [url]https://android.googlesource.com/platform/manifest[/url] -->
    <manifest>
    
      <!-- See [url]https://github.com/AdrianDC/aosp_development_sony8960_p[/url] -->
    
    </manifest>
    1
    Runs perfectly :good: thank you @AdrianDC.
    1
    Hi @AdrianDC, are you planning to do an Android Go version for this devices? If so then it would be great!

    He already did in some way. If you define Android Go as "The Android Go operating system is based on the regular version of Android but it’s optimized to run on smartphones with 512 MB to 1 GB of RAM", adriandc already povided a patch based on it with the Low-RAM Property Patcher, as stated above.

    When you follow the link https://forum.xda-developers.com/android/software-hacking/mod-low-ram-property-patcher-android-t3737373 you will find the following statement:

    Low-RAM Property Patcher is made to give Android Oreo users an easy control
    over the low-ram property from the Go configuration, responsible for the UI changes of Go.

    Its purpose is to simply enable or disable the low-ram property from the build.prop,
    but also to retain this user decision through the ROM upgrades (new releases, OTA)...
    and
    Developers should get less requests to compile with or without Go

    As adrian mentioned the low-ram patch in this Pie-ROM description, it should work for this release, too, not only for Oreo. (s.Edit)

    The solution provided by adriandc with a patch is even better than a whole standalone ROM, because you can switch it on or off and in the end it is up to the user if he wants to use it or not.

    The idea behind it is very well done by adriandc.
    To answer your question: He already did!

    Edit, clarification:
    As stated above: "Configure the default Low-RAM features" means, that it is already enable by default. The low-ram-enabler is only needed to reenable it, if you used the disable-patch, as stated in this thread
    https://forum.xda-developers.com/showpost.php?p=80492509&postcount=15
    Flashing android_lowram_enabler is not required, it's a no-op, however android_lowram_disabler will bring back disabled features per user choice.

    The android_lowram_enabler tool serves a purpose only to come back from a disabler and for any other devices not using Go low RAM configs.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone