[Xperia SP Original Android Development] AdrianDC:
​

#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://xdaforums.com/xperia-sp/orig-development/-t3309938

Configure the default Low-RAM features (optional) :

Low-RAM Property Patcher : http://xdaforums.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