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.
*/
What is AOSP ?
AOSP is Android as Google publish without other modifications. More or less AOSP is the Nexus devices stock rom without gapps.
Anyway to get a working system I added some changes from CodeAurora Forum and CyanogenMod. I added also non-AOSP features for a better user experience ("Clear All" button in Recents) and I'm NOT going to add something other.
What is OMS / Substratum ?
Substratum is an application, downloadable from the Play Store, that utilizes all of Sony's Overlay Manager Service (OMS), found on the official AOSP code review. This is similar to Layers in terms of stability and customization as it runs off an upgraded version of the Resource Runtime Overlay system, with the added benefit of running up-to-date Sony code on a customized ROM.
More here : https://plus.google.com/communities/102261717366580091389
What is RRO ?
Runtime Resource Overlay (RRO) was contributed by Sony to the Android code base. The RRO framework provides the possibility to modify the look and feel of an application while it is running, without any need to change or recompile the application source code. In short, RRO is a Theme Engine replacement which can do wonders!
More here : http://developer.sonymobile.com/2014/04/22/sony-contributes-runtime-resource-overlay-framework-to-android-code-example/
Downloads Links
AOSP-OMS 7.x (Unlocked Bootloader) :
Xperia SP (Huashan) : https://mega.nz/#F!Ss9iCQoL!b6NvcUi9A7NAksHmrvn1jw
AOSP-OMS 6.0.1 (Unlocked Bootloader) :
Xperia SP (Huashan) : https://mega.nz/#F!yp8DwSwC!DA-ekQ5A3iUvVyy9aLen7w
Google Applications (optional) :
OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 6.0, Micro or Pico)
About AOSP-OMS : Repositories available on https://github.com/AOSP-RRO/
About GApps : Flash the GApps before the first boot. If not, a clean flash is recommended.
Xperia SP (Huashan) : https://mega.nz/#F!Ss9iCQoL!b6NvcUi9A7NAksHmrvn1jw
AOSP-OMS 6.0.1 (Unlocked Bootloader) :
Xperia SP (Huashan) : https://mega.nz/#F!yp8DwSwC!DA-ekQ5A3iUvVyy9aLen7w
Google Applications (optional) :
OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 6.0, Micro or Pico)
About AOSP-OMS : Repositories available on https://github.com/AOSP-RRO/
About GApps : Flash the GApps before the first boot. If not, a clean flash is recommended.
Flashing and updating
AOSP-OMS 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 loose data)
- Flash the AOSP-OMS ROM zip from the Recovery
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Flash the SuperSU zip (recommended, see Q&A informations)
- (Optional) Every additional zip you want to flash
- Reboot
AOSP-OMS update / upgrade :
- (Information) Don't wipe anything unless you want to
- Flash the latest AOSP-OMS ROM zip from the Recovery
- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
- (Optional) Flash the SuperSU zip (recommended, see Q&A informations)
- (Optional) Every additional zip you want to flash
- Reboot
- (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 loose data)
- Flash the AOSP-OMS ROM zip from the Recovery
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Flash the SuperSU zip (recommended, see Q&A informations)
- (Optional) Every additional zip you want to flash
- Reboot
AOSP-OMS update / upgrade :
- (Information) Don't wipe anything unless you want to
- Flash the latest AOSP-OMS ROM zip from the Recovery
- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
- (Optional) Flash the SuperSU zip (recommended, see Q&A informations)
- (Optional) Every additional zip you want to flash
- Reboot
About UNOFFICIAL builds
Device tree : https://github.com/AOSP-RRO/device_sony_huashan/
Kernel sources : https://github.com/AdrianDC/android_kernel_sony_msm8960t/
Vendor blobs : https://github.com/TheMuppets/proprietary_vendor_sony/
ROM sources: https://github.com/AOSP-RRO/
Kernel sources : https://github.com/AdrianDC/android_kernel_sony_msm8960t/
Vendor blobs : https://github.com/TheMuppets/proprietary_vendor_sony/
ROM sources: https://github.com/AOSP-RRO/
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
- 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-OMS ?
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.
Q : The ROM doesn't want to boot, especially as secondary ROM
A : Try removing SuperSU root with http://xdaforums.com/showpost.php?p=63615067
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.
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.
Q : The ROM doesn't want to boot, especially as secondary ROM
A : Try removing SuperSU root with http://xdaforums.com/showpost.php?p=63615067
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.
AOSP-OMS available also thanks to :
- AOSP and CodeAurora Forums
- The CyanogenMod Team
- Alberto97 (for his works on F-AOSP lollipop)
- srisurya95 and akhilnarang for the AOSP-RRO repos
- Men_in_black007 and the AOSP-CAF Team
- SlimROMs
- AOSPB
- The CyanogenMod Team
- Alberto97 (for his works on F-AOSP lollipop)
- srisurya95 and akhilnarang for the AOSP-RRO repos
- Men_in_black007 and the AOSP-CAF Team
- SlimROMs
- AOSPB
XDA:DevDB Information
AOSP-OMS, ROM for the Sony Xperia SP
Contributors
Adrian DC
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
Based On: AOSP
Version Information
Status: No Longer Updated
Created 2016-04-13
Last Updated 2019-08-06
Attachments
-
Screenshot_20160925-230914.png139.8 KB · Views: 2,737
-
Screenshot_20160925-230929.png61.5 KB · Views: 2,720
-
Screenshot_20160925-230935.png139.2 KB · Views: 2,700
-
Screenshot_20160925-230950.png47.2 KB · Views: 2,592
-
Screenshot_20160925-231033.png17 KB · Views: 2,557
-
Screenshot_20160925-231056.png54.5 KB · Views: 2,497