[Moto X Android Development] Rahh1112:
​

#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 ?

What is OMS ?

Downloads Links

AOSP-OMS 6.0.1:

Download: https://www.androidfilehost.com/?fid=312968873555003333

MD5: 124dcbd525b27c6b92931e54011fd24c

Bluetooth FIX:

Download: https://www.androidfilehost.com/?fid=385035244224386547

MD5: 4ebd82bd83a112aab2cc3a1eb250c68b

GApps (optional, but recommended) :

OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 6.0)

Color Calibration init.d script (optional):

Download: https://www.androidfilehost.com/?fid=457095661767099904

MD5: 19b0f08d0bb94b73b59ae6c1d30303d1

About AOSP-RRO : 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 :

- Flash the AOSP-OMS 6.0.1 ROM zip from the Recovery

- (Optional) Flash the GApps to have the Google Applications

- (Optional) Every additional zip you want to flash

- (Optional) Wipe data and cache (Make a backup to make sure you will not lose anything)

- Reboot

AOSP-OMS update / upgrade :

- (Information) Don't wipe anything unless you want to

- Flash the latest AOSP-OMS 6.0.1 ROM zip from the Recovery

- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes

- (Optional) Every additional zip you want to flash

- Reboot​

About UNOFFICIAL builds

Device tree : https://github.com/AOSP-ghost

Kernel sources : https://github.com/XPerience-AOSP-Lollipop/android_kernel_motorola_ghost/tree/xpe-10.0

Kernel Toolchain : https://bitbucket.org/DespairFactor/arm-eabi-4.9/overview

ROM Toolchain : https://bitbucket.org/DespairFactor/arm-linux-androideabi-4.9/overview

JustArchi's ArchiDroid Optimizations V4.1 : http://xdaforums.com/showthread.php?t=2754997

JustArchi's ArchiDroid Optimizations V4.1 - Source: https://github.com/ArchiDroid/android_build/commit/f9b983e8e11624b48ae575da206f1baf6979772c

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 SysLog for example​

Q&A - FAQ

Q : Is root access included into AOSP-OMS ?

A : Not anymore, I removed it since it was too outdated. Download the lastest zip below:

> UPDATE-SuperSU-*.zip

Q : Is the ROM suited for daily usage ?

A : In theory, yes..but be aware that it may have bugs..

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 for Moto X 2013 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

- Adrian DC for most of the thread design​

Changelog:

2016/10/07:

- Fixed Rotation Sensor
- Fixed Flashlight

2016/10/06:

- Updated to Android 6.0.1 R61
- Removed SuperSU zip, since it was outdated
- Built with [B]DespairFactor@Bitbucket[/B] toolchains
- Built with "JustArchi's ArchiDroid Optimizations V4.1" by [B]JustArchi@XDA[/B]
- Fixed video playback
- New snd_soc_mxm_2x from [B]VitaTaf@XDA[/B], this should improve low-mic-volume as well as "Ok Google" detection
- Changed "persist.audio.handset.mic= " to "analog", this should fix sound in Video Recording and Snapchat
- Now using XPerience Kernel by [B]TeamMex@XDA[/B]

updater-script content:

ui_print("Bluetooth FIX, thanks to DEYVIS CHALES");
ui_print("");

ui_print("Mounting...");
run_program("/sbin/busybox", "mount", "/system");
ui_print("");

ui_print("Extracting files...");
package_extract_dir("system", "/system");
ui_print("");

ui_print("Setting permissions for directory and files...");
set_perm_recursive(0, 0, 0755, 0644, "/system/app/Bluetooth", /system/app/BluetoothExt", /system/app/BluetoothMidiService", /system/etc/bluetooth");
set_perm(0, 0, 0644, "/system/etc/permissions/android.hardware.bluetooth_le.xml", "/system/lib/hw/bluetooth.default.so", "/system/lib/libbluetooth_jni.so");
ui_print("");

ui_print("Unmounting...");
unmount("/system");
ui_print("");

ui_print("Done!");

XDA:DevDB Information

AOSP-OMS UNOFFICIAL, ROM for the Moto X

Contributors

Rahh1112

Source Code: https://github.com/AOSP-RRO

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.4.x

ROM Firmware Required: Unlocked Bootloader, Custom Recovery (TWRP Recommended)

Based On: AOSP

Version Information

Status: Testing

Created 2016-08-06

Last Updated 2016-10-06

XDA:DevDB Information

AOSP-OMS UNOFFICIAL, ROM for the Moto X

Contributors

Rahh1112, TeamMex, JustArchi, VitaTaf, DespairFactor

Source Code: https://github.com/AOSP-RRO

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.4.x

ROM Firmware Required: Unlocked Bootloader, Custom Recovery (TWRP Recommended)

Based On: AOSP

Version Information

Status: Beta

Created 2016-08-06

Last Updated 2016-10-22