FORUMS
Remove All Ads from XDA

[ROM][7.0/6.0] AOSP-OMS for Xperia SP

2,161 posts
Thanks Meter: 12,646
 
By AdrianDC, Recognized Developer on 13th April 2016, 09:39 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.
 */

What is AOSP ?
Quote:

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 ?
Quote:

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 ?
Quote:

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...-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.

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

About UNOFFICIAL builds
Device tree : https://github.com/AOSP-RRO/device_sony_huashan/
Kernel sources : https://github.com/AdrianDC/android_...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

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://forum.xda-developers.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

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

Name:	Screenshot_20160925-230914.png
Views:	2646
Size:	139.8 KB
ID:	3886228   Click image for larger version

Name:	Screenshot_20160925-230929.png
Views:	2628
Size:	61.5 KB
ID:	3886229   Click image for larger version

Name:	Screenshot_20160925-230935.png
Views:	2610
Size:	139.2 KB
ID:	3886230   Click image for larger version

Name:	Screenshot_20160925-230950.png
Views:	2502
Size:	47.2 KB
ID:	3886231   Click image for larger version

Name:	Screenshot_20160925-231033.png
Views:	2470
Size:	17.0 KB
ID:	3886232   Click image for larger version

Name:	Screenshot_20160925-231056.png
Views:	2404
Size:	54.5 KB
ID:	3886233  
The Following 39 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
 
 
13th April 2016, 09:39 PM |#2  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 12,646
 
More
Reserved
FEATURES AND ISSUES
Code:
- Boot : Ok
- GApps : OpenGApps Micro Ok
- ROM Recovery : Ok (see below)
- FOTA Recovery : Ok (see below)
- WiFi : Ok (real SONY MAC address)
- Bluetooth : Ok (real SONY MAC address)
- WiFi Hotspot : Ok (2.4GHz and 5GHz)
- RIL - Phone - Data : Ok
- GPS : Ok
- Camera : Ok
- Camcorder : Ok
- Lights : Ok, regular AOSP lights support
- MicroSD : Ok, only Ext4 support missing from ROM
- Accelerometer : Ok
- Compass : Ok
- Gyroscope : Ok
- AOSP sensors : Ok
- FM Radio : Ok
- Vibrator : Ok
- Microphone : Ok
- Audio & external audio : Ok
- Bluetooth audio : Ok
- NFC : Ok
- Kernel : Ok, Updating frequently
- Graphics : Ok
- 3D Rendering : Ok
- Clock : Ok (RTC real hardware clock, in TWRP recovery too)
- Powered-off alarm : Ok
- Offline Charging : Ok
- Encryption : Works but system gets slower
- SEPolicies : Fully enforced
Attached Thumbnails
Click image for larger version

Name:	screenshot.png
Views:	3328
Size:	93.4 KB
ID:	3717588  
The Following 15 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
13th April 2016, 09:39 PM |#3  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 12,646
 
More
Reserved
IMPORTANT FEATURES TO KNOW
  • Boot sequence : Once the LEDs light up :
    - Press Volume - to open CyanogenRecovery,
    - 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

Current local manifest of the ROM build
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://github.com/AOSP-RRO/manifest -->
<manifest>

  <project name="AOSP-RRO/device_sony_huashan" path="device/sony/huashan" remote="github" revision="nougat" />

</manifest>
The Following 20 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
14th April 2016, 09:36 PM |#4  
halloarno's Avatar
Senior Member
Flag Zuidlaren
Thanks Meter: 310
 
More
Verry verry smooth rom!! Clean & fast (the best performance I have had on my xsp). I haven't engaged any bug so far. Outstanding work AdrianDC. Thanks!
The Following User Says Thank You to halloarno For This Useful Post: [ View ] Gift halloarno Ad-Free
15th April 2016, 05:59 PM |#5  
trungpda93's Avatar
Junior Member
Flag hanoi
Thanks Meter: 0
 
Donate to Me
More
which recovery use for this rom , i used twrp-3.0.1-r6-fota-huashan.zip for CM13 worked fine, but it not work for this rom
15th April 2016, 06:56 PM |#6  
Member
Thanks Meter: 4
 
More
Thanks Adrian. You are the king.
Is theis rom better than CM13 in performance ?
The Following User Says Thank You to parkavenu For This Useful Post: [ View ] Gift parkavenu Ad-Free
15th April 2016, 09:33 PM |#7  
Member
Flag Dhaka
Thanks Meter: 45
 
More
Smoothest ROM I've tested so far!!
Only con is that it lacks some important customization features...( I guess that's because it's aosp). Hope a smooth RRO rom with some CM level customization will fulfill the gap in future
The Following 4 Users Say Thank You to Sibat Al Nistas For This Useful Post: [ View ] Gift Sibat Al Nistas Ad-Free
16th April 2016, 03:30 AM |#8  
Member
Thanks Meter: 11
 
More
I somehow don't see the NFC toggle option in settings in wireless and network
16th April 2016, 11:16 AM |#9  
Member
Thanks Meter: 4
 
More
Which kernel should I use with this ROM?
Now I'm using CM13 on my XSP. Do I need to use another kernel?
16th April 2016, 11:17 AM |#10  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 12,646
 
More
Every single ROM has its own kernel and installs it, you don't need to change anything.
The Following User Says Thank You to AdrianDC For This Useful Post: [ View ]
16th April 2016, 02:58 PM |#11  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 12,646
 
More
I added infos about the SystemUI Tuner from Marshmallow in the OP.

For everything related to the recent audio HAL update (low volumes, ...),
please do follow this and test everything you can : http://forum.xda-developers.com/xper...7#post66390074
The Following 3 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
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