[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.
*/

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