[ROM][SNAPSHOT][8.1.0] AOSP Oreo for Xperia SP

Search This thread

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,973
Île-de-France
adriandc.github.io
Screenshot_20170821-144926-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.
 */


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


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
 

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,973
Île-de-France
adriandc.github.io
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 : Ok
- SEPolicies : Enforcing


ALSO WORKING ON SONY HUASHAN
Huashan-Music-Lights-Effects.jpg


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
 

Attachments

  • screenshot-20171208-005411.jpg
    screenshot-20171208-005411.jpg
    34.2 KB · Views: 12,913
  • screenshot-20171208-005422.jpg
    screenshot-20171208-005422.jpg
    53.5 KB · Views: 12,685
  • screenshot-20171208-005449.png
    screenshot-20171208-005449.png
    82.7 KB · Views: 12,307
  • screenshot-20171208-005511.png
    screenshot-20171208-005511.png
    99.2 KB · Views: 11,516
  • Screenshot_20171208-005609.jpg
    Screenshot_20171208-005609.jpg
    45.2 KB · Views: 11,190
  • Screenshot_20171208-110702.png
    Screenshot_20171208-110702.png
    181.8 KB · Views: 10,844
Last edited:

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,973
Île-de-France
adriandc.github.io
Changes log
  • 21/12 : Upgrade stable release on Android 8.1.0_r52 December
    >>> General update against the initial LineageOS 15.1 official release
    >>> Manual networks selection resolved
  • 05/09 : Upgrade stable release on Android 8.1.0_r46 September
    >>> Camera binaries improvements developed for AOSP P to resolve the crash log spam
  • 15/08 : Upgrade stable release on Android 8.1.0_r43 August
    >>> Multiple Kernel CVE patches and improvements
    >>> Media volume now has 25 steps instead of 15, call volume 7 instead of 5
    >>> Improvements to trigger the bootanimation earlier on boot
    >>> Status bar icons tints resolved: Battery percentage, VPN
  • 06/06 : Upgrade stable release on Android 8.1.0_r30 June
    >>> CellularTile now has a detail view for Mobile Data
    >>> Trebuchet Launcher improvements:
    ----- Predictive apps switch between day / night / headphones
  • 13/05 : Upgrade stable release on Android 8.1.0_r26 May
    >>> Maintenance upgrade release
  • 06/05 : Update stable release on Android 8.1.0_r20 April
    >>> My implementation of FBNotifier backlight in the LEDs kernel driver
    ----- Resolves backlight always on issues in offline charger
    ----- Proper low-level solution avoiding deprecated brightness controls
    >>> Offline charger boot will reboot the device rather than direct boot
    ----- Restored the default AOSP behaviour for better support
    ----- Improves usability for MultiROM users (access to secondary ROMs)
    >>> Offline charger LED battery indicator brought back
  • 22/04 : Upgrade stable release on Android 8.1.0_r20 April
    >>> Evolutions from frameworks/av to support legacy HAL1 Camcorder properly
    ----- Final solution found with Milos Ratkovic
    ----- Camcorder running fine on 720p and 1080p
    >>> DocumentsUI (Files) showing internal storage by default
    >>> Logcat's Diag_Lib spam resolved and silenced
    >>> Sources improvements and cleanups related to AOSP P-DP1
    >>> Kernel binder 64 bits API
    >>> My backuptool in system evolution for future AOSP portability (for P)
    ----- Upgrades to this release will make the transition, do not jump over it

  • 19/02 : Upgrade stable release on Android 8.1.0_r11 February
    >>> Updated / adapted advanced reboot UI from LineageOS 15.1
    >>> Updated and safer legacy libraries SHIM implementation
    >>> Developer sRGB toggle hidden on Oreo once again
    >>> Updated LineageOS applications with redesigned icons
    >>> Further Oreo related device tree improvements
  • 22/01 : Update stable release on Android 8.1.0_r6 January
    >>> Incoming calls answer swipe responsiveness also improved (#201337)
    >>> Recovery flash assert re-enabled, upgrade to TWRP 3.2.1
    >>> Device trees updates and merged minor improvements
    >>> Updated Lineage Trebuchet, Recorder and Messaging apps
  • 04/01 : Upgrade stable release on Android 8.1.0_r4 January
    >>> Android Go configurations enabled on Sony Huashan
    >>> Oreo 8.1 system_server preoptimization improving performance
    >>> Lockscreen swipe responsiveness highly improved (#198421)
    >>> Thermal nodes are made readable by third-party applications like AIDA64
    >>> Network kernel change potentially improving deep-sleeps
    >>> Unfinished work in progress on codecs and camcorder recordings
  • 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
  • 10/11 : Upgrade release on Android 8.0.0_r33 November (Prerelease of Android 8.1)
    >>> Audio HAL upgrade against upstream finished, 3.5 jack audio fixed
    >>> Includes Pixel 2 XL auto-dim navigation bar
    >>> Improvements on the incall handset volume
  • 06/11 : Upgrade release on Android 8.0.0_r21 September (Prerelease of Android 8.1)
    >>> 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, Lights Effects),
    >>> DeviceSettings extension to configure HighTouchSensitivity (under Languages & Input),
    >>> 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 Huashan, Android 8.0.0_r3


Recent branches commits

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

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

</manifest>
 
Last edited:

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,973
Île-de-France
adriandc.github.io
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
 
Last edited:

Gavao

Member
Feb 12, 2017
37
6
I am looking forward to development for now working fast thx for support
 
Last edited:
  • Like
Reactions: AdrianDC

NyQuilXT

Senior Member
Jan 15, 2016
180
364
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
 

alitavas

Senior Member
Mar 18, 2013
126
59
Tehran
Quick review:
Rom is smoother than 7.1.2
UI is fully white
UI has some improvements

The arise sound system can't install(if you install core+ any modules you will face with a bootlooop)
If you want root u should install Supersu 2.82 (I tried 2.79 and it didn't work)

Sent from my LG-H818 using Tapatalk
 
G

GuestD0535

Guest
error 6 :/

---------- Post added at 11:11 PM ---------- Previous post was at 11:11 PM ----------

ok I change recovery is ok :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 135
    Screenshot_20170821-144926-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.
     */


    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


    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
    79
    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 : Ok
    - SEPolicies : Enforcing


    ALSO WORKING ON SONY HUASHAN
    Huashan-Music-Lights-Effects.jpg


    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
    59
    Changes log
    • 21/12 : Upgrade stable release on Android 8.1.0_r52 December
      >>> General update against the initial LineageOS 15.1 official release
      >>> Manual networks selection resolved
    • 05/09 : Upgrade stable release on Android 8.1.0_r46 September
      >>> Camera binaries improvements developed for AOSP P to resolve the crash log spam
    • 15/08 : Upgrade stable release on Android 8.1.0_r43 August
      >>> Multiple Kernel CVE patches and improvements
      >>> Media volume now has 25 steps instead of 15, call volume 7 instead of 5
      >>> Improvements to trigger the bootanimation earlier on boot
      >>> Status bar icons tints resolved: Battery percentage, VPN
    • 06/06 : Upgrade stable release on Android 8.1.0_r30 June
      >>> CellularTile now has a detail view for Mobile Data
      >>> Trebuchet Launcher improvements:
      ----- Predictive apps switch between day / night / headphones
    • 13/05 : Upgrade stable release on Android 8.1.0_r26 May
      >>> Maintenance upgrade release
    • 06/05 : Update stable release on Android 8.1.0_r20 April
      >>> My implementation of FBNotifier backlight in the LEDs kernel driver
      ----- Resolves backlight always on issues in offline charger
      ----- Proper low-level solution avoiding deprecated brightness controls
      >>> Offline charger boot will reboot the device rather than direct boot
      ----- Restored the default AOSP behaviour for better support
      ----- Improves usability for MultiROM users (access to secondary ROMs)
      >>> Offline charger LED battery indicator brought back
    • 22/04 : Upgrade stable release on Android 8.1.0_r20 April
      >>> Evolutions from frameworks/av to support legacy HAL1 Camcorder properly
      ----- Final solution found with Milos Ratkovic
      ----- Camcorder running fine on 720p and 1080p
      >>> DocumentsUI (Files) showing internal storage by default
      >>> Logcat's Diag_Lib spam resolved and silenced
      >>> Sources improvements and cleanups related to AOSP P-DP1
      >>> Kernel binder 64 bits API
      >>> My backuptool in system evolution for future AOSP portability (for P)
      ----- Upgrades to this release will make the transition, do not jump over it

    • 19/02 : Upgrade stable release on Android 8.1.0_r11 February
      >>> Updated / adapted advanced reboot UI from LineageOS 15.1
      >>> Updated and safer legacy libraries SHIM implementation
      >>> Developer sRGB toggle hidden on Oreo once again
      >>> Updated LineageOS applications with redesigned icons
      >>> Further Oreo related device tree improvements
    • 22/01 : Update stable release on Android 8.1.0_r6 January
      >>> Incoming calls answer swipe responsiveness also improved (#201337)
      >>> Recovery flash assert re-enabled, upgrade to TWRP 3.2.1
      >>> Device trees updates and merged minor improvements
      >>> Updated Lineage Trebuchet, Recorder and Messaging apps
    • 04/01 : Upgrade stable release on Android 8.1.0_r4 January
      >>> Android Go configurations enabled on Sony Huashan
      >>> Oreo 8.1 system_server preoptimization improving performance
      >>> Lockscreen swipe responsiveness highly improved (#198421)
      >>> Thermal nodes are made readable by third-party applications like AIDA64
      >>> Network kernel change potentially improving deep-sleeps
      >>> Unfinished work in progress on codecs and camcorder recordings
    • 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
    • 10/11 : Upgrade release on Android 8.0.0_r33 November (Prerelease of Android 8.1)
      >>> Audio HAL upgrade against upstream finished, 3.5 jack audio fixed
      >>> Includes Pixel 2 XL auto-dim navigation bar
      >>> Improvements on the incall handset volume
    • 06/11 : Upgrade release on Android 8.0.0_r21 September (Prerelease of Android 8.1)
      >>> 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, Lights Effects),
      >>> DeviceSettings extension to configure HighTouchSensitivity (under Languages & Input),
      >>> 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 Huashan, Android 8.0.0_r3


    Recent branches commits

    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"?>
    <!-- [url]https://android.googlesource.com/platform/manifest[/url] -->
    <manifest>
    
      <!-- See [url]https://github.com/AdrianDC/aosp_development_sony8960_o_mr1[/url] -->
    
    </manifest>
    50
    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
    35
    Android Oreo 8.1 - December 8th release for Sony Huashan / Sony Blue devices
    >>> 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

    About GApps on AOSP 8.1
    >>> I added support in backuptool for "8." instead of "8.0" or "8.1", hence upgrades should not be breaking
    >>> Clean installs or flashing updated OpenGApps 8.0 require changes in their zip / installer.sh:
    Code:
    req_android_sdk="27";
    req_android_version="8.1";