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

Search This thread

mickybart

Senior Member
Sep 22, 2014
1,122
5,627
Montreal
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/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://forum.xda-developers.com/showthread.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
 
Last edited:

mickybart

Senior Member
Sep 22, 2014
1,122
5,627
Montreal
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)
 
Last edited:

mickybart

Senior Member
Sep 22, 2014
1,122
5,627
Montreal
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_packages_apps_Settings/tree/nAOSP-7.1.1

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

Framework/base
https://github.com/mickybart/android_frameworks_base/tree/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_packages_apps_ROMUpdater/tree/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_packages_apps_WakeUp

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

Dialer
https://github.com/mickybart/android_packages_apps_Dialer/tree/nAOSP-7.1.1

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

PackageInstaller
https://github.com/mickybart/android_packages_apps_PackageInstaller/tree/nAOSP-7.1.1

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

mickybart

Senior Member
Sep 22, 2014
1,122
5,627
Montreal
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
 
Last edited:

impradeepy

Senior Member
Aug 24, 2012
117
92
new delhi
Thanks for the android 7 took 8minutes from flashing to 1st boot wow:)
Amazing work developers feeling lucky:)
 

Attachments

  • Screenshot_20160916-005717.png
    Screenshot_20160916-005717.png
    219.5 KB · Views: 9,599
  • Screenshot_20160916-005739.png
    Screenshot_20160916-005739.png
    78.1 KB · Views: 8,265
  • Screenshot_20160916-005829.png
    Screenshot_20160916-005829.png
    61.8 KB · Views: 9,434
  • Like
Reactions: sarkzkalie

salva93

Senior Member
Nov 11, 2011
251
6
Genoa
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?
 

anth0nymDROID

Senior Member
Mar 13, 2013
218
35
berlin
Splitscreen working
:victory:
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
 

Attachments

  • Screenshot_20160915-234523.png
    Screenshot_20160915-234523.png
    107.5 KB · Views: 3,852

prohibeat

Senior Member
Jan 29, 2008
133
57
Hello guys, again, many thanks to mickybart for keeping xperia s up to date.

Question to those who tried this rom. Is performance of Android 7.0 on our old device ok enough? I know this is alpha but what's the performance comparison of simple things between this and Android 6.0?
 

mickybart

Senior Member
Sep 22, 2014
1,122
5,627
Montreal
Display size small Text big. thanks to you ;) also i encrypted my device mobile network is working data also

I have update the working/not working section. Thanks for the feedback about encryption. (Maybe ext 4 crypt will be backported a day to better fit 7.0)

earphone is working fine for me.. @mickybart what do u mean by headset not detected???sorry if I got it wrong

thank you for this great rom, headset working perfectly

I mean that when I plug a headset on the jack plug of the phone, for me the sound is not redirected. I tested it with Dialer and Eleven. For both it is not working.
Let me know if we are speaking about the same things :)
 

anth0nymDROID

Senior Member
Mar 13, 2013
218
35
berlin
I have update the working/not working section. Thanks for the feedback about encryption. (Maybe ext 4 crypt will be backported a day to better fit 7.0)





I mean that when I plug a headset on the jack plug of the phone, for me the sound is not redirected. I tested it with Dialer and Eleven. For both it is not working.
Let me know if we are speaking about the same things :)
It's working for me. I have Eleven disabled viperfx is Not Setup music Player is Google Play music
I Can make Call with Change over to Headset successfully have Not tried with an incoming Call yet
 

heavens dragon

Senior Member
Nov 4, 2010
295
95
great work @mickybart and @millosr :laugh: i downloaded, flashed the rom and already started working on to fix my theme :p anyway you probably already know about this bug but once camera is opened(default one) or it's flash light related which works but takes times to start, it keeps running in background.
Hj6MDGy.png


NFC seems to be working tested with galaxy Note 3 and it shared the file via NFC, only crashed bcuz bluetooth is not working.

Documents is also crashing on 1st run after reboot and it's empty but 'Settings->Storage->Explore' is working(probably know bug too) but here's crash log for it maybe it will help:
EDIT: it's showing the files
Code:
09-16 18:59:14.430 5445-5445/com.android.mtp E/AndroidRuntime: FATAL EXCEPTION: main
                                                               Process: com.android.mtp, PID: 5445
                                                               java.lang.RuntimeException: Unable to get provider com.android.mtp.MtpDocumentsProvider: java.lang.IllegalStateException: command '7 appfuse mount 10010 5445 MtpDocumentsProvider' failed with '400 7 Command failed'
                                                                   at android.app.ActivityThread.installProvider(ActivityThread.java:5814)
                                                                   at android.app.ActivityThread.installContentProviders(ActivityThread.java:5403)
                                                                   at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5342)
                                                                   at android.app.ActivityThread.-wrap2(ActivityThread.java)
                                                                   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528)
                                                                   at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                   at android.os.Looper.loop(Looper.java:154)
                                                                   at android.app.ActivityThread.main(ActivityThread.java:6077)
                                                                   at java.lang.reflect.Method.invoke(Native Method)
                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
                                                                Caused by: java.lang.IllegalStateException: command '7 appfuse mount 10010 5445 MtpDocumentsProvider' failed with '400 7 Command failed'
                                                                   at android.os.Parcel.readException(Parcel.java:1691)
                                                                   at android.os.Parcel.readException(Parcel.java:1636)
                                                                   at android.os.storage.IMountService$Stub$Proxy.mountAppFuse(IMountService.java:1368)
                                                                   at android.os.storage.StorageManager.mountAppFuse(StorageManager.java:1239)
                                                                   at com.android.mtp.AppFuse.mount(AppFuse.java:69)
                                                                   at com.android.mtp.MtpDocumentsProvider.onCreate(MtpDocumentsProvider.java:136)
                                                                   at android.content.ContentProvider.attachInfo(ContentProvider.java:1751)
                                                                   at android.content.ContentProvider.attachInfo(ContentProvider.java:1726)
                                                                   at android.provider.DocumentsProvider.attachInfo(DocumentsProvider.java:177)
                                                                   at android.app.ActivityThread.installProvider(ActivityThread.java:5811)
                                                                   at android.app.ActivityThread.installContentProviders(ActivityThread.java:5403)*
                                                                   at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5342)*
                                                                   at android.app.ActivityThread.-wrap2(ActivityThread.java)*
                                                                   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528)*
                                                                   at android.os.Handler.dispatchMessage(Handler.java:102)*
                                                                   at android.os.Looper.loop(Looper.java:154)*
                                                                   at android.app.ActivityThread.main(ActivityThread.java:6077)*
                                                                   at java.lang.reflect.Method.invoke(Native Method)*
                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)*
                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)*
09-16 18:59:23.759 571-1496/system_process W/ActivityManager: Unable to launch app com.android.mtp/10010 for provider com.android.mtp.documents: launching app became null
09-16 18:59:23.760 5406-5426/com.android.documentsui E/ActivityThread: Failed to find provider info for com.android.mtp.documents
09-16 18:59:23.760 5406-5426/com.android.documentsui W/RootsCache: Failed to load some roots from com.android.mtp.documents: android.os.RemoteException: Failed to acquire provider for com.android.mtp.documents
09-16 18:59:25.536 5406-5681/com.android.documentsui W/Adreno-GSL: <get_panel_settings:3805>: Android framework reported version 2. So, don't force ES30
09-16 18:59:25.537 5406-5681/com.android.documentsui I/Adreno-EGL: <qeglDrvAPI_eglInitialize:381>: EGL 1.4 QUALCOMM build: MINGHSUC_AU_LINUX_ANDROID_KK_2.7_RB1.04.04.02.007.047+PATCH[ES]_msm8960_refs/tags/AU_LINUX_ANDROID_KK_2.7_RB1.04.04.02.007.047__release_ENGG ()
                                                                   OpenGL ES Shader Compiler Version: 17.01.12.SPL
 
Last edited:
@mickybart all things related to headset is working perfectly(receiving call,dialing number,music player,mx player)

Flashlight is working (open camera)
To use as torch I downloaded tiny flashlight app.by this switching on the flash as torch is working but its also taking some seconds to start like camera app...
 
Last edited:

mickybart

Senior Member
Sep 22, 2014
1,122
5,627
Montreal
It's working for me. I have Eleven disabled viperfx is Not Setup music Player is Google Play music
I Can make Call with Change over to Headset successfully have Not tried with an incoming Call yet

@mickybart all things related to headset is working perfectly(receiving call,dialing number,music player,mx player)

Flashlight is working (open camera)
To use as torch I downloaded tiny flashlight app.by this switching on the flash as torch is working but its also taking some seconds to start like camera app...

you right guys it's working for me too ! :D. Probably that my device was not in a good state because I was working on few part of the system (push some new lib, etc)

great work @mickybart and @millosr :laugh: i downloaded, flashed the rom and already started working on to fix my theme :p anyway you probably already know about this bug but once camera is opened(default one) or it's flash light related which works but takes times to start, it keeps running in background.
Hj6MDGy.png


NFC seems to be working tested with galaxy Note 3 and it shared the file via NFC, only crashed bcuz bluetooth is not working.

Documents is also crashing on 1st run after reboot and it's empty but 'Settings->Storage->Explore' is working(probably know bug too) but here's crash log for it maybe it will help:
EDIT: it's showing the files
Code:
09-16 18:59:14.430 5445-5445/com.android.mtp E/AndroidRuntime: FATAL EXCEPTION: main
                                                               Process: com.android.mtp, PID: 5445
                                                               java.lang.RuntimeException: Unable to get provider com.android.mtp.MtpDocumentsProvider: java.lang.IllegalStateException: command '7 appfuse mount 10010 5445 MtpDocumentsProvider' failed with '400 7 Command failed'
                                                                   at android.app.ActivityThread.installProvider(ActivityThread.java:5814)
                                                                   at android.app.ActivityThread.installContentProviders(ActivityThread.java:5403)
                                                                   at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5342)
                                                                   at android.app.ActivityThread.-wrap2(ActivityThread.java)
                                                                   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528)
                                                                   at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                   at android.os.Looper.loop(Looper.java:154)
                                                                   at android.app.ActivityThread.main(ActivityThread.java:6077)
                                                                   at java.lang.reflect.Method.invoke(Native Method)
                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
                                                                Caused by: java.lang.IllegalStateException: command '7 appfuse mount 10010 5445 MtpDocumentsProvider' failed with '400 7 Command failed'
                                                                   at android.os.Parcel.readException(Parcel.java:1691)
                                                                   at android.os.Parcel.readException(Parcel.java:1636)
                                                                   at android.os.storage.IMountService$Stub$Proxy.mountAppFuse(IMountService.java:1368)
                                                                   at android.os.storage.StorageManager.mountAppFuse(StorageManager.java:1239)
                                                                   at com.android.mtp.AppFuse.mount(AppFuse.java:69)
                                                                   at com.android.mtp.MtpDocumentsProvider.onCreate(MtpDocumentsProvider.java:136)
                                                                   at android.content.ContentProvider.attachInfo(ContentProvider.java:1751)
                                                                   at android.content.ContentProvider.attachInfo(ContentProvider.java:1726)
                                                                   at android.provider.DocumentsProvider.attachInfo(DocumentsProvider.java:177)
                                                                   at android.app.ActivityThread.installProvider(ActivityThread.java:5811)
                                                                   at android.app.ActivityThread.installContentProviders(ActivityThread.java:5403)*
                                                                   at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5342)*
                                                                   at android.app.ActivityThread.-wrap2(ActivityThread.java)*
                                                                   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528)*
                                                                   at android.os.Handler.dispatchMessage(Handler.java:102)*
                                                                   at android.os.Looper.loop(Looper.java:154)*
                                                                   at android.app.ActivityThread.main(ActivityThread.java:6077)*
                                                                   at java.lang.reflect.Method.invoke(Native Method)*
                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)*
                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)*
09-16 18:59:23.759 571-1496/system_process W/ActivityManager: Unable to launch app com.android.mtp/10010 for provider com.android.mtp.documents: launching app became null
09-16 18:59:23.760 5406-5426/com.android.documentsui E/ActivityThread: Failed to find provider info for com.android.mtp.documents
09-16 18:59:23.760 5406-5426/com.android.documentsui W/RootsCache: Failed to load some roots from com.android.mtp.documents: android.os.RemoteException: Failed to acquire provider for com.android.mtp.documents
09-16 18:59:25.536 5406-5681/com.android.documentsui W/Adreno-GSL: <get_panel_settings:3805>: Android framework reported version 2. So, don't force ES30
09-16 18:59:25.537 5406-5681/com.android.documentsui I/Adreno-EGL: <qeglDrvAPI_eglInitialize:381>: EGL 1.4 QUALCOMM build: MINGHSUC_AU_LINUX_ANDROID_KK_2.7_RB1.04.04.02.007.047+PATCH[ES]_msm8960_refs/tags/AU_LINUX_ANDROID_KK_2.7_RB1.04.04.02.007.047__release_ENGG ()
                                                                   OpenGL ES Shader Compiler Version: 17.01.12.SPL

For now I have nothing special set for Layers except doze invert.

About Camera I confirm that everything is working but we reach a timeout on the framework of camera2. If I'm activating the torch on the kernel there is no delay for example.
I will try to figure out what changed on 7.0 for camera2 legacy support and that should fix Camera2 and Flashlight.

Thanks about NFC test.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 106
    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/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://forum.xda-developers.com/showthread.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
    31
    Camcorder fix

    We have finally succeed to fix the camcorder in android 7 :)
    @mickybart found some necessary commits and cm change proposals and integrate them in our source tree, and I did some debugging and compile parameters tuning so I have finally succeed to save the video :).

    Technically, in android 7 camera and media servers are separated in two processes so official way to handle this is to update vendor HAL to allow that:
    http://source.android.com/devices/camera/versioning.html#hardening

    Since our vendor HAL is closed source we can't do that easily. Luckily guys from Cyanogenmod team (big thanks to them) found a way to re-integrate these 2 servers:
    http://review.cyanogenmod.org/#/c/165008/

    There were also some necessary changes for frameworks/av and qcom/media projects (thanks to RonGokhale) :
    https://github.com/mickybart/android_frameworks_av/commit/b51845c31ff3f8a53f05f1401e39ea4c52babd71
    https://github.com/mickybart/androi...mmit/18914a00cd87b192dd74012419961b4d5591f118

    I have build incremental OTA update for the fix. You should flash it only if you have nAOSP-7.0-b04. It just updates necessary libraries, adds integrated media/camera server, removes old camera server, and appends one property to /system/build.prop. You don't have to flash gapps and to clean caches. If something goes wrong you can return to recovery and reflash original nAOSP-7.0-b04 and gapps to return to previous state.

    Btw, twrp recovery included in b04 didn't work fine for me so I had to extract and flash recovery from nAOSP-6.0. For your convenience I have share it. You can flash it from adb shell while android is running:
    dd if=/sdcard/recovery-6.0.img of=/dev/block/mmcblk0p11

    Downloads:

    nAOSProm-7.0-b04-camcorder-fix.zip
    Google drive: http://bit.ly/2dTZqiY
    Dropbox: http://bit.ly/2eetefC
    md5sum: 2a3823e01142784a7e07439c8c08076a

    recovery-6.0.img
    Google drive: http://bit.ly/2e6Wi5l
    Dropbox: http://bit.ly/2eAwU78
    md5sum: a40e75e743616890a09d1c75c303cd9c

    Cheers :)
    26
    Hi Guys,

    First of all, thanks to the community and specially to @jgilalonso666, @nageswarswain, @luer, @frov , @Geert G, @frantisekz, @millosr about their proposition to find another device, compiled ROMs and shared.

    I will update the ROM Updater to push @millosr version.
    I accepted the proposition of @Geert G to ship me a 2nd device and I want to thanks a lot @frov and @Geert G. This is really appreciate ! I have no words.

    So yes, I decided to go back in dev on the device and I have now a running boot.img that should be compatible with Oreo.

    Thanks again for your support and PM.
    26
    7.1.1 b01 released

    • 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

    OTA available
    About wallpaper change on the default Launcher3 : please use Gallery and set image as Wallpaper. I have not yet fixed the wallpaper link from the Launcher3.

    EDIT: Sorry for the possible small confusion between 7.1-b01 and 7.1.1-b01. I just realized it after the publication but I need to change ota file and rom build.prop to rename it... so that will stay like that :). Take care of 7.1 vs 7.1.1.
    26
    Good news for 7.1 !

    I have a ROM working with the same level of integration than nAOSP 7.0

    Everything seems to work except the FMradio that I need to debug and a crash of Settings when I try to go into Storage.
    Phone call not yet tested

    The official support of Night mode on 7.1 is better than on 7.0 and I ported it to use Kcal with success.

    I will release a preview really soon