[X Style (Pure) Android Development] SpasilliumNexus:
Semi-stock ROM (personal build)

for Moto X Pure (X1575)

Android version: 5.1.1 | Build: LPH23.116-18

Last updated: 11-02-2015​

Here is a personal build of mine that is tweaked the way I believe it should be.

Although most are minor changes, and nothing awesome like Cataclysm for Nexus 5, it is enough for me to enjoy the ROM more and fix what Motorola missed.

This is for the Pure (X1575) only!​

What's in my semi-stock build?

Deodexed

Busybox

Fully compatible with Android Pay

NOTE 1: If Android Pay did not work for you, even on complete stock, it will not magically work on this build either.

NOTE 2: Before using Android Pay, disable SuperSU in the app's settings first. After you are done making your transaction, re-enable SuperSU.

Screenshots of Android Pay in action earlier today (as of 10-20-2015) when I went to buy a $25 Google Play Gift Card using my Google Wallet card on this ROM.

ViPER4Android FX included and preconfigured with super audio driver

Configuring ViPER4Android FX:

Be sure to either set the kernel to permissive using an app like SELinux Changer, or use a Tasker task to allow ViPER to run in enforcing.

Disable the stock Audio Effects setting under Settings > Sound & notification > Audio Effects.

Set V4A to compatible mode.

*Only tested with Google Play Music and Spotify.

*Debloated apps*

/system/app
EmailGoogle
GoogleHindiIME
GooglePinyinIME
HoloSpiralWallpaper
JapaneseIME
KoreanIME
LauncherConfig
LiveWallpapers (NOT the picker. LWP are still supported.)
MediaShortcuts
NoiseField
VisualizationWallpapers

/system/priv-app
Mms

/system/etc
install-recovery.cfg
recovery-resource.dat

/system
lost+found
recovery-from-boot.p

*System Apps and Icons Materialized*

Tag
GPS
Bluetooth
Toast frame
Power widget
framework-res
SettingsProvider
SIM toolkit (Stk)
Ongoing calls, missed calls and SMS icon

*Stock app changes*

Updated Moto apps
Updated Google Apps
Google apps package set up to match the Marshmallow GApps on Nexus devices.
To keep compatibility with Android Pay, some apps are installed as user apps and not as system apps.

*String-based changes*

"Home" > "Launcher"
"Model number" > "Model name"
"One does not simply become a developer"
Changed tap/pay help URL from Moto's to Google's
Expanded battery saver options from %0 (none) to %30
"Default notification ringtone" > "Notification tone"

*System-based changes*

Ascending sounds disabled
Smooth scrolling cache disabled
Allow sending APKs via Bluetooth
Unknown sources enabled by default

*Theme-based changes*

Smoother loading spinners
Recents items are more rounded
Smoother upload and download animation
Apps that still use holo dark use pure black instead
Bluetooth icon is 40% transparent when disconnected
Statusbar and icons aligned with to match Marshmallow sizes (24dip, 23dip)
Included Google's ringtones, notification, and alert sounds in addition to Moto's
Changed Motorola's stock UI sounds (which were still KitKat. WHY?) to Lollipop/Marshmallow

*Build.prop additions*

ro.build.selinux=1 [SELinux status under About Phone]
ro.usb.host=1
lpa.decode=false
tunnel.decode=false
lpa.releaselock=false
lpa.use-stagefreight=false
persist.sys.isUsbOtgEnabled=1
net.tethering.noprovisioning=true
dalvik.vm.dex2oat-filter=everything
dalvik.vm.image-dex2oat-filter=everything

Changelog:

10-20-15

Initial release

10-22-15

3-Way power menu (Power off, Reboot, Recovery)

Google Dialer with Caller ID + Lookup and Google Contacts

60 minute screen off timer option under Display settings

.25 and .75 options for animation speed under developer settings

Busybox binary updated

Addon.d support (backup hosts script included)

Android Marshmallow Fonts (although I can't see a difference)

Materialized SoundRecorder icon

Materialized WiFi WPS icon

Stop FolderMount from asking to reboot twice during its fixing process due to Moto's default config with SD cards

1. Fixes write permissions > Asks to reboot
2. Changes
- "persist.fuse_sdcard=false" to "true"
- "persist.esdfs_sdcard=true" to "false"
- Asks to reboot again

Switched from stock kernel to VadimTK's optimized kernel (v5). For kernel updates, please visit his thread to download them.

Added Color Control app 1.2 by savoca (user app, uninstallable) to accompany the new kernel.

To change governors, schedulers, and such, use your favorite kernel tweaking app.

App updates

/data/app

Google+ 6.6.0.105800701

/system/app

Android System WebView 47.0.2526.26s

Gmail 5.7.105901136.release

Google Maps 9.16.2

Sheets 1.4.412.07.40

YouTube updated 10.40.58

/system/priv-app

Google App 5.5.26.19.arm64

Google Play Store 5.10.30

Google Play Services 8.3.00 (2353383-240)

10-24-15

Enabled lockscreen rotation

Re-enabled notification ticker

Faster animations all around (rotation, notification pulldown, open/close apps, scrolling)

Display current and new version information in Package Installer when manually installing APKs

Enabled Moto's "one-click clear all recents." This also displays the amount of RAM free after clearing.

App updates

Device Policy 6.84

Google Maps 9.16.2 arm64

Google Play Movies 3.9.23

Motorola Migrate 1.7.0.06

Screenshots of Moto's clear all recents and package installer:

As for Moto's clear all recents and its awkward alignment, I couldn't configure it to be moved further to the right, and seems to be locked to that position.

11-02-15

-Rebuilt using the latest version of SuperR's Kitchen (0.9.3.7) and de-odexing tools

--VoLTE toggle in the hidden Dialer menu may or may not work still for Verizon users. I can't test as I am on T-Mobile.

-Changed the assert to limit ROM flashing only to the Moto X Pure Edition (XT1575)

--If you know what you're doing with a model other than the XT1575 and this ROM, remove the assert.

-SuperSU beta 2.52 now gets installed upon flashing the ROM automatically

-V4TK optimized kernel updated to v6

-Added the ability to set a home page in Chrome (stable, beta, dev)

-Cleaned up reboot and recovery icons (coloring and size)

-Text select handle materialized

-Bluetooth enabled by default (on clean installs)

-Allow all rotations, even upside down

-Hide cast quick tile

-Un-hide hotspot quick tile

-Dual pane settings on portrait or landscape rotation

--I can't remember if it already shows a dual layout with stock Settings app while in landscape, but apps like Gmail, Translate, YouTube, and MX Player now show a dual layout in both rotations

-Removed stock PhaseBeam wallpaper in favor of CyanogenMod's version, which allows changing color

App updates

Android System Webview 47.0.2526.35

Clock 4.2.1 (2383161)

Docs 1.4.432.07.40

Google App 5.5.28.19.arm64 beta

Google Calendar 5.2.5-106395923-release

Google Now Launcher 1.3.large

Hangouts 5.1.105976615

Keep 3.2.444.0

Moto Actions 1.11.39

Photos 1.8.0.106438466

Sheets 1.4.432.06.35

Slides 1.2.432.12.40

Downloads:

Once again, X1575 (Pure) ONLY!:

V2

11-02-15 (1.2GB): semi-stock_for_moto_x_pure_edition_v2_5.1.1-11-02-15

Credits

: SuperR, Chainfire, CyanogenMod, SlimRom, SimpleAOSP, VadimTk, codebugged, Cl3Kener