FORUMS
Remove All Ads from XDA

[ROM] [7.x] nAOSProm for Xperia S

1,115 posts
Thanks Meter: 5,603
 
By mickybart, Senior Member on 15th September 2016, 06:29 PM
Post Reply Email Thread
nAOSP ROM 7.x for Xperia 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").

In addition to my work, I'm using some external works to do this rom so I first want to thanks the community and specially millosr,billchen1977,ViPER4Android Team ,Cyanogenmod Team , FXP Team

nAOSP 7.1 Nougat Changelog
b04 (7.1.2)

sdcardfs is used by default. In case of an issue with a specific application (old one ?), you can revert to fuse.
IMPORTANT: It is now possible to use ext4 again as some of you (me either) encountered some corruptions after few month with f2fs.
  • October security patches (android-7.1.2_r36)
  • kernel update (from Xperia S AOSP 8.1 work)
  • sdcarfs : replace fuse (see Settings/nAOSProm)
  • sdcardfs: reduce IOs and memory usage
  • /cache and /data: ext4 and f2fs supported

b03 (7.1.2)
Please cleanup data and cache of Substratum after ROM update. If it is not working, please read post #1457 and #1458
  • June security patches (android-7.1.2_r17)
  • Rebase Substratum support on mr2 branch (Rootless mode)
  • TWRP 3.1.1

b02 (7.1.2)
  • May security patches (android-7.1.2_r10)
  • Gallery2 reintroduced @millosr)
  • Wallpaper picker fixed @millosr)
  • Google Assistant by default @millosr)

b01 (7.1.2)
  • Android 7.1.2
  • April security patches (android-7.1.2_r5)
  • Su: security patches
  • PowerHAL
  • Lightbar: Low power mode (by default)
  • MPDecision: disabled. CPU1 controlled by PowerHAL exclusively
  • Governor: Interactive by default (automatic switch to conservative or powersave by PowerHAL)
  • Dev: rebase to mr2 branch
  • TWRP: 3.1.0 (OTA, official support for android 7.1)
  • FS: Update f2fs user tools to 1.6 (from omni)
  • Traduction: update for Simplified Chinese, Spanish and Russian (send me your nicknames and I will add credits )
  • libcore: SafetyNet workaround (basicIntegrity and ctsProfileMatch support) - will not work in every case

b03 (7.1.1)
  • android-7.1.1_r22 (February security fixes)
  • Settings: enable Gestures (into Device section after User) to manage pickup, double tap on power to run camera and wakeup
  • Sensors: Pickup: stable and enabled by default

b02 (7.1.1)
Please clean flash to fix battery drain visible on b01
  • android-7.1.1_r9 (January security fixes)
  • OTA: Support addon.d (Gapps and hosts file will be restored so you don't need to flash gapps anymore during a dirty flash) @millosr)
  • OTA: Support resize /system automatically for those with bigger /system (compatible with addon.d as the resize occurs before addon.d restore)
  • QS: Number of columns configurable @millosr)
  • Status bar: bring back support of custom battery style @millosr)
  • Navbar: Pixel style + fix crash when enabled for some applications @millosr)
  • RIL: fixed manual network selection requests @millosr)
  • Launcher3: Search bar not displayed anymore for those without search provider (not tested when a service provider is available). Dark icons on status bar if the top wallpaper is not dark.
  • Eleven, Gallery, ...: Switch from CM to LineageOS repos

b01 (7.1.1)
  • android-7.1.1_r4 (December security fixes)
  • Themes: Pixel blue by default
  • Settings, WakeUp, ROMUpdater: fix for Pixel blue @millosr)
  • QS: Fast Charge tile removed. Fast Charge integrated with Battery tile. Properly handle the fact that a fast charge change require an unplug/plug to be effective.
  • Tethering usb/wifi fixed @AdrianDC)
  • Launcher3: Give it a try, looks like Pixel Launcher
  • Round Icons enabled

b02
  • SeLinux: Offline charging fixed
  • OMS7: few fixes like doze invert for dark theme
  • Themes/Audio: fix StrictMode issue with theme files (fix issue like SystemUI crash with Low battery sound)
  • MTPDocumentProvider crash fixed

b01
  • android-7.1.0_r6 (November security fixes)
  • initial release - same level than 7.0 b06
  • Power Off fixed
  • kernel: Supplementary patch for Dirty COW (thanks @millosr)
  • Gapps: Wizard issue fixed (clean flash) (thanks @Jurn_Software, @Adrian DC)
  • FMradio fixed
  • selinux: fix suntrold permissions
  • Substratum: full support (bootanim, fonts..., OMS7)
  • OTA: ROM Updater back online

nAOSP 7.0 Nougat Changelog (DISCONTINUED)
Previous versions


b06
Please remove your themes before flashing the ROM as Substratum is now fully supported (but not the legacy one)
  • android-7.0.0_r19 (November security fixes)
  • kernel: security updates
  • OMS7 support

b05
  • android-7.0.0_r14
  • SELinux: Enforced
  • Fix camcorder
  • Fix battery draining when screen off
  • Audio: incall: port voice session and volume/mute control from nAOSP 5.1
  • Navigation bar tuner (see System UI Tuner)
  • Dialer: automatic proximity speaker
  • New audio sounds from Google Nexus devices
  • Tethering: Available for everyone (no provisionning, bypass tethering plan)
  • Ui: QS USB Tethering
  • Ui: QS Sync
  • Ui: Press on Clock or Date from status bar will start Alarm or Calandar Apps (new alarm or new event on Long press)
  • Time: Disable uneeded proprietary time_daemon which causing unexpected clock change
  • Themes: full substratum themes support (base, dialer, contacts, settings...)
  • Exchange: bring back support from Android 6.0
  • Jack: add manual plug/unplug control for broken jack detection (see nAOSProm settings and Quick Settings) - thanks to @sne and @heavens dragon for the icon
  • su: include supolicy (from SuperSU)
  • Night mode: Automatic mode and rework for 7.0/Kcal support - see System UI Tuner/Color and Appearance
  • SafetyNet: experimental workaround (working fine with SafetyNet Helper but not with Android Pay. don't know for PokemonGo)
  • TWRP: not included (please use the one from nAOSP 6.0 b13)

b04
  • android-7.0.0_r11 (October security patches)
  • Bluetooth: fix that permit to toggle on the bluetooth after a clean flash @millosr)
  • fix multiple soft reboot (eg: video playback on Gallery) @millosr)
  • TWRP: include twrp (fix adb shell when /system mounted, log alert...) - in case of an issue to flash opengapps you will have to revert the recovery to the one provided on nAOSP 6.0 b13 or your fota backup
  • gapps-config.txt: do not install GooglePackageInstaller (needed for integrated Superuser)

b03
  • Kernel : multiple security fixes + sdcardfs support
  • Busybox included
  • Adaway, Susbtratum legacy apps supported (some time Adaway is not able to write and need a second try)
  • diag: Fix permissions for /dev/diag and services that need it
  • GPU: Enable tiled
  • 2D: Support 60 fps + managed by the GPU to reduce CPU load (improve global responsivness).
  • OMX: Hw encoder support
  • Webview provider (Developer Settings)

b02
  • Bluetooth (thanks @millosr) - All incoming files supported
  • FMRadio
  • Camera slow start issue fixed
  • Flashlight
  • Camera2 : crash and portrait issue fixed
  • DeskClock : crash on World button fixed
  • Email: Fake security for Exchange

b01
  • android-7.0.0_r6 (September security fixes)
  • Selinux : PERMISSIVE (temporary)
  • telephony: opensource libril and rild (thanks @millosr)
  • Memory: Malloc SVELTE mode (reduce memory space but slower allocation speed)
  • Pretty much everything already into nAOSP 6.0 b13



Download
Release available under :
https://www.androidfilehost.com/?w=files&flid=49217

Overclocking
Overclocked kernel are tested on my own device BUT I won't be responsible for any damages on yours.
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://forum.xda-developers.com/show...postcount=2465

ViPER4Android
All credits go to ViPER520 and the amazing works.
You should read detail and go to thanks developers.
xda : http://forum.xda-developers.com/show....php?t=2191223
website: http://vipersaudio.com/blog/?page_id=31

Themes
Themes are supported with Substratum only (OMS).
This is not a CM Theme Engine and so you can just use Substratum OMS themes.

Howto flash
flashing procedure for 7.x

Translation help
Translation for 7.x

Known issues
Maybe never an empty list but we are trying !

Source
nAOSP 7.0
nAOSP 7.1
nAOSP 7.1.1
nAOSP 7.1.2

Release
Kernel: 3.4.0
Android: 7.x

Thanks
- millosr
- billchen1977
- ViPER4Android Team
- Cyanogenmod Team
- FXP Team
- TWRP Team
- All the community around Android

FAQ
The Following 95 Users Say Thank You to mickybart For This Useful Post: [ View ] Gift mickybart Ad-Free
 
 
15th September 2016, 06:30 PM |#2  
OP Senior Member
Flag Montreal
Thanks Meter: 5,603
 
Donate to Me
More
Flashing procedure

You need to merge partitions /data and /sdcard (already done if you come from nAOSP 6.0).

Please, read the 6.0 procedure to flash this ROM. (ext4 and f2fs are both supported again since 7.1.2 b04)

If you come from nAOSP 6.0 b13, you can simply flash the ROM as usual (a clean flash is preferable if you migrate from 6.0)

About Gapps: Due to odex, the ROM takes more space than before so please prefer Micro Gapps.

About SuperSU: Not yet supported (if you flash it, you will have a bootloop)
The Following 22 Users Say Thank You to mickybart For This Useful Post: [ View ] Gift mickybart Ad-Free
15th September 2016, 06:30 PM |#3  
OP Senior Member
Flag Montreal
Thanks Meter: 5,603
 
Donate to Me
More
Translation

If you have some time and want to translate missing parts on the ROM your help is welcome. You can create a pull request with github or if you are not familiar with this tool, you can send files to me directly or in the forum. BUT I really prefer if you can create a pull request. If you don't know how to do it, ask some help in the forum

New languages are welcome (some language are not supported by Android so check here: http://stackoverflow.com/a/30028371 )

Reference files are English and French ones.

Thanks

Settings
https://github.com/mickybart/android...ee/nAOSP-7.1.1

Reference files:
./res/values/urom_strings.xml
./res/values-fr/urom_strings.xml

Framework/base
https://github.com/mickybart/android...ee/nAOSP-7.1.1

Core

Reference files:
./core/res/res/values/urom_strings.xml
./core/res/res/values-fr/urom_strings.xml

SystemUI

Reference files:
./packages/SystemUI/res/values-fr/urom_strings.xml
./packages/SystemUI/res/values/urom_strings.xml

ROM Updater
https://github.com/mickybart/android...ee/nAOSP-7.1.1

Reference files:
./res/values/strings.xml
./res/values-fr/strings.xml

Translation needed only (except if the language is missing) for :
<string name="old_update_summary">
<string name="lost_downloaded_update_summary">
<string name="backup_title">
<string name="backup_summary">
<string name="custom_recovery_title">
<string name="custom_recovery_summary">
<string name="apply_update_wipe_dialog_text">
<string name="apply_update_post_dialog_text">
<string name="apply_update_wipe_post_dialog_text">
<string name="browser_redirect_dialog_title">
<string name="browser_redirect_dialog_message">

WakeUp
https://github.com/mickybart/android...es_apps_WakeUp

Reference files:
./res/values/strings.xml
./res/values-fr/strings.xml

Dialer
https://github.com/mickybart/android...ee/nAOSP-7.1.1

Reference files:
./res/values/urom_strings.xml
./res/values-fr/urom_strings.xml

PackageInstaller
https://github.com/mickybart/android...ee/nAOSP-7.1.1

Reference files:
./res/values/urom_strings.xml
./res/values-fr/urom_strings.xml
The Following 9 Users Say Thank You to mickybart For This Useful Post: [ View ] Gift mickybart Ad-Free
15th September 2016, 06:31 PM |#4  
OP Senior Member
Flag Montreal
Thanks Meter: 5,603
 
Donate to Me
More
7.1 : Working / Not working

Working:
  • GSM
  • Wifi
  • Audio (Earphone, speakerphone, headset)
  • Video
  • Camera
  • USB OTG
  • GPS
  • All sensors (include PickUp and Significant Motion sensors)
  • NFC
  • ViPER4Android (sound FX)
  • Encryption (GSM is working too)
  • Flashlight
  • Bluetooth
  • OMX Hw codec
  • 2D up to 51 fps
  • Camcorder
  • SELinux enforced
  • FMradio
  • Software navigation bar

Not working / Bugs:
  • GPS: Russian Glonass sats not locked
  • Youtube at 60fps
  • 2D not able to reach 60 fps (51 fps max)
  • SuperSU (use builtin root)

7.0 : Working / Not working (DISCONTINUED)


Working:
  • GSM
  • Wifi
  • Audio (Earphone, speakerphone, headset)
  • Video
  • Camera
  • USB OTG
  • GPS
  • All sensors (include PickUp and Significant Motion sensors)
  • NFC
  • ViPER4Android (sound FX)
  • Encryption (GSM is working too)
  • Flashlight
  • Bluetooth
  • FMRadio
  • OMX Hw codec
  • 2D to 60 fps
  • Camcorder
  • SELinux enforced

Not working / Bugs:
  • Documents UI: crashing on 1st run after reboot (MTP host message)
  • GPS: Russian Glonass sats not locked
  • Power Off (need a hard power off)
  • Youtube at 60fps
  • SuperSU (use builtin root)
  • low battery (<15%) crash SystemUI

To implement:
  • PowerHAL
The Following 23 Users Say Thank You to mickybart For This Useful Post: [ View ] Gift mickybart Ad-Free
15th September 2016, 08:34 PM |#6  
Senior Member
Flag new delhi
Thanks Meter: 92
 
More
Thanks for the android 7 took 8minutes from flashing to 1st boot wow
Amazing work developers feeling lucky
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20160916-005717.png
Views:	8510
Size:	219.5 KB
ID:	3876306   Click image for larger version

Name:	Screenshot_20160916-005739.png
Views:	7238
Size:	78.1 KB
ID:	3876307   Click image for larger version

Name:	Screenshot_20160916-005829.png
Views:	8382
Size:	61.8 KB
ID:	3876308  
The Following User Says Thank You to impradeepy For This Useful Post: [ View ] Gift impradeepy Ad-Free
15th September 2016, 08:58 PM |#7  
Senior Member
Genoa
Thanks Meter: 6
 
More
thanks for the rom i have now a z3 compact but i will try this on my old xperia s for test

you need logcat and kmsg right?
15th September 2016, 10:53 PM |#8  
anth0nymDROID's Avatar
Senior Member
berlin
Thanks Meter: 32
 
More
Splitscreen working

Camera working (Google Camera)
Video Playback working in Google Photos
Musik with Google Play music
Bugs Bluetooth (as stated in op) nothing else sofar
no crashes so far
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20160915-234523.png
Views:	3410
Size:	107.5 KB
ID:	3876417  
15th September 2016, 11:30 PM |#9  
OP Senior Member
Flag Montreal
Thanks Meter: 5,603
 
Donate to Me
More
Quote:
Originally Posted by anth0nymDROID

Splitscreen working

Camera working (Google Camera)
Video Playback working in Google Photos
Musik with Google Play music
Bugs Bluetooth (as stated in op) nothing else sofar
no crashes so far

Are you using Display Size to small ? I think that split mode fit well with this settings
The Following 2 Users Say Thank You to mickybart For This Useful Post: [ View ] Gift mickybart Ad-Free
15th September 2016, 11:39 PM |#10  
anth0nymDROID's Avatar
Senior Member
berlin
Thanks Meter: 32
 
More
Quote:
Originally Posted by mickybart

Are you using Display Size to small ? I think that split mode fit well with this settings

Display size small Text big. thanks to you also i encrypted my device mobile network is working data also
16th September 2016, 04:19 AM |#11  
nageswarswain's Avatar
Senior Member
Flag JAJPUR,ODISHA,INDIA
Thanks Meter: 339
 
Donate to Me
More
earphone is working fine for me.. @mickybart what do u mean by headset not detected???sorry if I got it wrong
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