[Sony Xperia S, Acro S, Ion] mickybart:
nAOSP ROM 5.1 and 6.0 for Xperia Acro S

The purpose of this rom is to provide a rom not so far of the AOSP with some cool features (nAOSP means "near AOSP").

As I'm using some external works to do this rom, I first want to thanks the community and specially billchen1977,ViPER4Android Team ,Cyanogenmod Team , FXP Team

I have not this device and so [MENTION=7196026]vsergeyev[/MENTION] convinced me to do it and he has done all the tests. You can thanks him.

A lot of things (like the flashing procedure) will point on Xperia S thread where I'm active. You can post in Xperia S thread if needed EXCEPT if this is relevant to Acro S (flashing, adoptable/portable external storage etc).

About Adoptable storage on Android 6:

You are free to use portable or adoptable option for your external sdcard. Don't forget that if you answer "Adoptable", the external sdcard will be FORMATTED and will NOT be usable on an other devices. If you want the classical behavior, you will need to select "Portable"

nAOSP 6.0 Marshmallow Changelog (features, issues, etc)

b12

Please read the associated post to don't have issues with Superuser

android-6.0.1_r61 (August security fixes)

Superuser: Bye to Superuser, welcome to Superuser with AppOps

su: Support for multiuser and the new Superuser

Ui: Battery styles (see Settings/nAOSProm/More) - compatible with GravityBox (thanks [MENTION=6754437]millosr[/MENTION])

Ui: Optimizing application displays the application name (thanks [MENTION=6754437]millosr[/MENTION])

ROM Updater : Remove download action from notification

Layers: doze invert color is now automatically set by the theme (manual option removed)

Bluetooth: Accept all incoming files

Settings: Display safe entries into nAOSP section (depends on current user, root access ...),battery styles, substratum, root access control per user

SELinux: add missing nfc and mediaserver rules (+ fix selinux denied ioctl by checking binder fd type: sockets using ashmem accessors)

Boot: check f2fs not run anymore

kernel: bma250: more fix about bma250_ic_write issues when motion (pickup/significant) are in use with accelerometer.

Gapps: /persist/gapps-config.txt

include b11 (unreleased for acroS)

Daydream: supported (see Settings/Display) - disabled by default

Sensors: Significant motion added (Full doze and localization/low power mode support) - disabled by default

Sensors: Pickup sensor implementation reviewed (just a high_g detection on Y axe) - disabled by default

Kernel: accelerometer: merge bma250_ng and bma250_motion drivers to avoid conflict and provide a better hardware managment

Kernel: cpufreq: Fix issues when a cpu goes back online and was clocked to the max frequency of 2.05 Ghz.

Kernel: Color calibration: full support of RGB Multipliers with kcal_ctrl driver implementation.

Kernel: Leds: Store the brightness requested. That permit to better control the requested brightness when thermanager/other changing the max_brightness value.

CPU Hotplug: mpdecision daemon is back (will manage cpu1 online state)

Offline charging: new pictures for chargemon (thanks [MENTION=4902681]Jurn_Software[/MENTION])

Day/night mode: support new kcal_ctrl driver.

Settings: Enable/disable some sensors (pickup, significant motion, ...), Support substratum application

Themes: Full support of Layers 4.0

Dialer/InCall: Automatic spearkerphone (see Dialer/Settings/proximity speakerphone) - disabled by default

Translations: update for uk [MENTION=4902681]Jurn_Software[/MENTION] ), fr

include b10 (unreleased for acroS)

android 6.0.1_r46 (June Security patch)

Settings: Double Tap to sleep can be disabled (thanks [MENTION=6754437]millosr[/MENTION])

Quick Settings: Immersive mode (hide NavBar and/or Status Bar). If you dirty flash, you can add it with SystemUI Tuner. (thanks [MENTION=6754437]millosr[/MENTION])

Dialer: Fix "invalid number" issue (based on [MENTION=4610285]runekock[/MENTION] feedback. thanks)

include b09_r43 (unreleased for acroS)

Eleven updated

TWRP: 3.0.2+

Previous versions

b09

android 6.0.1_r20 (April Security patch)

kernel: Intermediate security fix of march added

Quick Settings: add Caffeine (thanks [MENTION=6754437]millosr[/MENTION])

ROM Updater: fix a permission issue (thanks [MENTION=6754437]millosr[/MENTION])

b08

android 6.0.1_r17 (March Security patch)

Hw Keys: launch Camera application with Camera key can be configured to Disabled, Long press only or default

Battery: 1910mah

Translation: update pt/pt-rBR [MENTION=4537643]ThunderBolt_BR[/MENTION])

b07

New partition layout with /data and /sdcard merged. please read the flashing procedure.

kernel: Wake Gesture support (double tap, sweep). Touchscreen power managed by proximity sensor when screen off

kernel: governor SMARTMAX by default. OC supported.

Selinux: Fully supported and Enforced

TWRP: (3.0.0 on Android 6) with Support of new partition layout and encryption footer length. /data/media will be preserved and used for backup/restore (recovery.img on the OTA zip file)

TWRP: Add Crypto, Battery status and FOTA backup/restore/install support

WakeUp: Permit to control wake gesture (Settings/nAOSProm/WakeUp)

ViPER4Android: Sound FX managed by ViPER4Android version 2.4.0.1

Email: Patched to bypass Exchange Security Policy (No Pin code etc)

Browser, Music and Gallery2: AOSP version replaced by CyanogenMod version

Dialer: Materialized Icon added

Quick Search: Removed. Be free to use another application like Google Search provided with GApps

GApps: Patch to avoid force close due to permissions (you need to flash the ROM + OpenGapps in one shot and to reboot directly after that)

Double Tap to Sleep on the status bar

Minfree setting supported

Volume Keys can control track (next/previous/stop) when screen off and music is playing

Doze: Support adaptive brightness (Ambient Display)

Notification during Doze: Invert color for dark theme supported (avoid a black text on black background)

Menu/Home Keys: By default press Menu will launch App switcher and long press on Menu will trigger Menu. Long press on Home will launch Search Engine. This is the modern layout but you can use the old one too

Power Key: Include Reboot menu (Normal, Soft, Recovery and Bootloader)

Hw Keys: Use Camera button to launch Camera Application (Short press if screen is off and long press if screen is on)

Quick Setting: Can be pull down directly with one finger on the 1/3 right of the Status bar

Quick Settings: Add Fast Charge, Lockscreen, ADB wifi, Day/Night tiles

Recent Applications : Close all applications button on the right bottom

Settings: nAOSProm section that permit you to configure the ROM, to start WakeUp, Layers Manager, Superuser and SuperSU if available.

Settings: Color Calibration improved to support Night and Day settings. Presets are now available.

Settings: Add About nAOSProm

NavBar: On-screen keys can be enabled/disabled from Settings/nAOSProm/More

Developer mode and Tuner UI enabled by default

Superuser integration

Battery: Menu include the Fast Charge option (Fast charge will be always disabled after a reboot)

KSM: Kernel Same-page merging disabled by default. (See Settings/nAOSProm)

Signature Spoofing: Permit an application to fake his signature mainly for Microg/NoGapps (disable by default)

Adaptive Brightness: Speed up transition when you go to a brighter environment (~1.5s).

Busybox include

NFC: supported

USB OTG support (thanks [MENTION=2505474]Phantasm4489[/MENTION])

GSM: 2G/3G switch fixed

Xposed : Supported with Selinux enforcing

Auto Power Mode : Doze and applications standby enabled by default (see Settings/nAOSProm)

Localisation: support GPS/Wifi/GSM fix with Google GMS

init rc: complete rework of init process to simplify it (remove some scripts and unused services)

Bluetooth 3.0 Headset: Seems to support HFP and A2DP profiles (thanks to report with your model)

Google Now on Tap : Support with Long press on Home

OTA: support with ROM Updater (see Settings/About phone/Updates)

OTA: Recovery: OTA will automatically flash recovery.img into FOTA

OTA: Layers: OTA will preserve theme files when flashing a new ROM

SuperSU: force system installation with the new stable version 2.65 (/system/.supersu). Can be overrided by /data/.supersu

Fix offline charging

Fix FM Radio and Bluetooth crash when FMRadio is closed without headphone.

Fix DeskClock crash when trying to view world cities

Translation: en, fr, es (@vayavalla), pt-rBR [MENTION=4537643]ThunderBolt_BR[/MENTION]), uk [MENTION=4902681]Jurn_Software[/MENTION]), it [MENTION=6209407]nicofossa[/MENTION]), pl [MENTION=4528283]A6ekAK[/MENTION]), sr [MENTION=6754437]millosr[/MENTION])). Thanks Guys for your help :)

Partition Layout: /data and /sdcard merged. F2FS is the only filesystem supported for /cache and /data now

nAOSP 5.1 Lollipop Changelog (features, issues, etc)

b29

New partition layout with /data and /sdcard merged. please read the flashing procedure.

see 6.0 b07 changelog that is pretty similar for b29 (except specific Android 6 stuffs and some features like lockscreen/ADB wifi tiles on Quick Settings)

Download

Release available under :

https://www.androidfilehost.com/?w=files&flid=51010

Overclocking

Overclocked kernel are tested on my own device BUT I won't be responsible for any damages on yours

Please don't enable mpdecision on OC kernel.

By default the ROM will use stock frequencies.

Thermanager

By default if the device is too hot it will reduce the screen brightness and CPU clock. When the device will be cool enough it will restore brightness and CPU clock but at 1.5Ghz only.

If you want to force thermanager to restore the clock to a specific value defined by an external overclocking tool, you can edit /system/etc/thermanager.xml.

See http://xdaforums.com/showpost.php?p=62419397&postcount=2465

ViPER4Android

All credits go to ViPER520 and the amazing works.

You should read detail and go to thanks developers.

xda : http://xdaforums.com/showthread.php?t=2191223

website: http://vipersaudio.com/blog/?page_id=31

Layers

Themes are supported with Layers Manager.

This is not a CM Theme Engine so you can just use Layers themes.

Howto flash

About Adoptable storage on Android 6:

You are free to use portable or adoptable option for your external sdcard. Don't forget that if you answer "Adoptable", the external sdcard will be FORMATTED and will NOT be usable on an other devices. If you want the classical behavior, you will need to select "Portable"

6.0 and 5.1 procedure

Translation help

6.0 translation files

Source

nAOSP 5.1

nAOSP 6.0

Release

Kernel: 3.4.0

Android: 5.1.1 and 6.0.1

Thanks

- billchen1977

- ViPER4Android Team

- Cyanogenmod Team

- FXP Team

- TWRP Team

- All the community around Android

FAQ