FORUMS
Remove All Ads from XDA

[ROM][8.0.0] AOSP Oreo for Xperia SP

2,029 posts
Thanks Meter: 10,615
 
By AdrianDC, Recognized Developer on 1st September 2017, 04:10 PM
Post Reply Email Thread

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

The last remaining issues or details are being worked upon,
in parallel to our LineageOS 15.0 bring-up, which I will not release in public
until we have made significant progress to have a reason to publish along my AOSP releases.

Downloads Links
AOSP 8.x Oreo (Unlocked Bootloader) :
Xperia SP (Huashan) - 8.0.0 : https://mega.nz/#F!aotknK6I!H9kNGqNSbUPYbKRdF-EeBg

Google Applications (optional) :
OpenGapps : Official downloads yet to be released. Google for unofficial ones, compatibility with Oreo yet to be determined
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/xper...overy-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_o
Device tree : https://github.com/AdrianDC/android_...s/lineage-15.0
Kernel sources : https://github.com/AdrianDC/android_...s/lineage-15.0
Vendor blobs : https://github.com/AdrianDC/propriet...s/lineage-15.0

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 : Almost. I use it as daily, but 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] A system dialog shows up on boot
A : Normal issue common to all devices, yet to be fixed

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

AOSP available for Xperia Huashan also thanks to :
- Google AOSP
- The LineageOS Team
- CodeAurora Forums
- The CyanogenMod Team

XDA:DevDB Information
AOSP Oreo 8.0, ROM for the Sony Xperia SP

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

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
Based On: AOSP

Version Information
Status: Beta

Created 2017-09-01
Last Updated 2017-09-02
The Following 81 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
 
 
1st September 2017, 04:10 PM |#2  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 10,615
 
Donate to Me
More
FEATURES AND ISSUES
Code:
- Boot : Ok
- GApps : Unofficial for now. Recommended until released: https://androidfilehost.com/?fid=745425885120757579
- Bluetooth : Ok
- WiFi : Ok
- WiFi Hotspot : Ok
- RIL - Phone - Data : Ok
- GPS : Ok
- Camera : Ok, work in progress
- Camcorder : Partially
- 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 : Unknown
- Offline Charging : Ok
- USB : Ok
- USB OTG : Ok
- Encryption : Ok
- SEPolicies : Enforcing

ALSO WORKING ON SONY HUASHAN


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

Name:	Screenshot_20170902-114023.jpg
Views:	2886
Size:	38.9 KB
ID:	4260197   Click image for larger version

Name:	Screenshot_20170902-114121.jpg
Views:	2764
Size:	50.4 KB
ID:	4260207   Click image for larger version

Name:	Screenshot_20170902-114040.png
Views:	2812
Size:	137.4 KB
ID:	4260208   Click image for larger version

Name:	Screenshot_20170902-114528.png
Views:	2786
Size:	237.6 KB
ID:	4260209   Click image for larger version

Name:	Screenshot_20170902-114629.png
Views:	2798
Size:	75.3 KB
ID:	4260210   Click image for larger version

Name:	Screenshot_20170902-114652.png
Views:	2826
Size:	85.7 KB
ID:	4260213   Click image for larger version

Name:	Screenshot_20170902-114700.png
Views:	2684
Size:	230.6 KB
ID:	4260214  
The Following 47 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
1st September 2017, 04:10 PM |#3  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 10,615
 
Donate to Me
More
Reserved
Recent branches commits
Changes log
  • Next build : Minor improvement to the DeviceSettings redesign
  • 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

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"?>
<!-- https://android.googlesource.com/platform/manifest -->
<manifest>

  <!-- See https://github.com/AdrianDC/aosp_development_sony8960_o -->

</manifest>
The Following 33 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
1st September 2017, 04:29 PM |#4  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 10,615
 
Donate to Me
More
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 31 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
1st September 2017, 04:34 PM |#5  
hussein1's Avatar
Senior Member
Flag New York City
Thanks Meter: 229
 
More
Thank you bro for hard works.
The Following User Says Thank You to hussein1 For This Useful Post: [ View ] Gift hussein1 Ad-Free
1st September 2017, 04:38 PM |#6  
Araib93's Avatar
Senior Member
Flag Rawalpindi
Thanks Meter: 210
 
More
WOW ! Amazing speed !!!!!!!!!!!!!!!!!!
Thank you so much bro
The Following 2 Users Say Thank You to Araib93 For This Useful Post: [ View ] Gift Araib93 Ad-Free
1st September 2017, 05:56 PM |#7  
Junior Member
Thanks Meter: 6
 
More
I am looking forward to development for now working fast thx for support
The Following User Says Thank You to Gavao For This Useful Post: [ View ] Gift Gavao Ad-Free
1st September 2017, 06:32 PM |#8  
feromgar's Avatar
Senior Member
Flag Barranquilla
Thanks Meter: 46
 
More
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.
The Following 7 Users Say Thank You to feromgar For This Useful Post: [ View ] Gift feromgar Ad-Free
1st September 2017, 06:41 PM |#9  
Member
Thanks Meter: 24
 
More
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
The Following 3 Users Say Thank You to NyQuilXT For This Useful Post: [ View ] Gift NyQuilXT Ad-Free
1st September 2017, 07:42 PM |#10  
Junior Member
Flag Salonica
Thanks Meter: 22
 
More
I N C R E D I B L E ! ! !

WOW!!! AdrianDC!!!

Thank you sir AdrianDC
The Following 3 Users Say Thank You to Excalipub For This Useful Post: [ View ] Gift Excalipub Ad-Free
2nd September 2017, 04:42 AM |#11  
laim_name's Avatar
Member
Thanks Meter: 28
 
Donate to Me
More
OH. MY. GOD.
it released, but without camera and bluetooth
waiting for fixes.
adrian, youre awesome!
The Following User Says Thank You to laim_name For This Useful Post: [ View ] Gift laim_name Ad-Free
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes