[ROM] [N6F26Q] AOSP Nougat (12 Jan 2017)

Search This thread

Carlos_Manuel

Senior Member
Apr 28, 2011
4,092
5,368
24
Kuressaare
This ROM is in early stage and some functions aren't working just yet. Currently this is unstable, buggy and not recommended for daily use.
This is for i9105P (with NFC support), but should work fine on a non-NFC version of S2 Plus(?).

Flashing this ROM is in your own responsibility. It is recommended to make a backup before flashing this! (Backup EFS).
(wipe, data (not internal storage), system, cache, art/dalvik cache. In TWRP Recovery > "Wipe" > "Advanced Wipe")

Download 12 Jan 2017 (latest build)

What's working:
  • Audio playback (buggy)
  • Bluetooth
  • Camera
  • GPS
  • Microphone
  • NFC
  • RIL
  • USB OTG
  • WiFi
  • Sensors

What's not working:
  • *

SELinux is set to permissive until all the important functions gets fixed.
Audio won't work if SELinux is set to enforcing, because libSamsung_Resampler.so have text relocations.

Bugs:
Audio playback doesn't work correctly.(?)
Screenshots and app thumbnails are blank (Will be fixed, when there's proper fix for it).
OpenGLRenderer: Switches and input box lines are not visible...
Browser (webview): Video playback doesn't work properly. Use Chrome browser for properly working video playback.

To flash this ROM, use Mm/N compatible recovery.

Sources:


Thanks to:
@GHsR - for keeping this device alive, making Android stable and for his sources, etc. :)
pawitp - for his patches,
@Ziyan - for helping me every time I needed help with something
Google
CyanogenMod
 

Attachments

  • DSC_0094.jpg
    DSC_0094.jpg
    256.1 KB · Views: 9,372
Last edited:

DodoGTA

Inactive Recognized Developer
Feb 18, 2015
2,943
1,143
This is for i9105P (with NFC support), but should work fine on a non-NFC version of S2 Plus(?). This ROM is buggy, unfinished and unstable, so this is not for daily use.

Flashing this ROM is in your own responsibility, make a backup before flashing this! (Backup EFS).
It's recommended to wipe, data (not internal storage), system, cache, art/dalvik cache. In TWRP Recovery > "Wipe" > "Advanced Wipe"

Download AOSP Nougat (2016-09-09)

What's working:
  • Audio playback and recording
(Works only in a permissive SELinux mode, recording may not work correctly)
lib_Samsung_Resampler.so has text relocations and I can't find any compatible replacement library for it...

  • Bluetooth
  • Camera (taking pictures works fine, but video recording not)
(may not work correctly, if switching to video recording and re-opening camera2.

  • NFC
  • RIL (calling, mobile data and SMS)
  • USB OTG
  • All the sensors should work
What's not working:
  • WiFi
  • GPS
  • Video recording?

This is using webview built by pawitp (v.47), sine my built webview v54 doesn't work for some reason.
SELinux is set to permissive until all the important functions gets fixed.

Some of the patches aren't applied just yet, that's why screenshots will be blank and rotation animation is abnormal.
The reason you see ds_i9105p in the build number is, because this is based on my Dreams ROM project, but currently has no other changes than AOSP and device related fixes/workarounds/...

glgps crashes because of my hex editing, that can be fixed later by modifying glgps-compat(?)

To flash this ROM, use Mm compatible recovery.
I use TWRP 3.0.2.0

Sources:


Thanks to:
@GHsR - for keeping this device alive, making Android stable, for his sources, etc. :)
pawitp - for his patches,
@Ziyan - for helping me every time I needed help with something
Google
CyanogenMod
Offtopic:
I've got Wi-Fi working on AOSP 7.0 (but for GT-S7582)

Sent from my GT-S7580 using Tapatalk
 
D

Dinkec27

Guest
Does recent apps still look a bit weird?
Btw for anyone having problems flashing Gapps you can only flash Pico OpenGapps,all of the other ones will give a bootloop
 

Carlos_Manuel

Senior Member
Apr 28, 2011
4,092
5,368
24
Kuressaare
Does video playback work on this ROM?

Sent from my GT-S7580 using Tapatalk

I've only tested playing the screen record videos. I have to make more testings on Monday.

Does recent apps still look a bit weird?
Btw for anyone having problems flashing Gapps you can only flash Pico OpenGapps,all of the other ones will give a bootloop

Recents and screenshots will be fixed on the next build.
 

bonerserk

Senior Member
Jun 16, 2014
206
42
Verona
Great work guy! Thank you! I was able to install open gapps Pico without problems but when I try to configure my account it always crashes! Was someone able to install successfully google services and apps?

Sent from my GT-I9105P using Tapatalk
 

Carlos_Manuel

Senior Member
Apr 28, 2011
4,092
5,368
24
Kuressaare
New build (2016/09/14)
https://drive.google.com/file/d/0B4Z8DsxsJxQqbHNYS0JyWllibzA/view?usp=sharing

WiFi is now working.

Included patches from Ghsr's build_tools repository (aosp-7.0 branch)
Mheap schreenshot commit isn't included as it causes freezes and reboots.
WiFi was broken because of an old incorrect commit for frameworks/opt/net/wifi, thanks to Ghsr for pointing that out.

device/samsung/galaxys2plus-common:
move macloader to late_start class
Adapt some changes from ghsr's Initial N bringup commit

kernel/samsung/galaxys2plus-common (Commits from Ghsr's kernel (branch aosp-7.0) :
galaxys2plus: Disable deprecated USB Device FS
netfilter: x_tables: make sure e->next_offset covers remaining blob size
selinux: add SOCK_DIAG_BY_FAMILY to the list of netlink message types
net: diag: Add the ability to destroy a socket.
selinux: nlmsgtab: add SOCK_DESTROY to the netlink mapping tables
galaxys2plus: Add LZMA compressed ramdisk support
galaxys2plus: Regenerate defconfig
 
Last edited:

bonerserk

Senior Member
Jun 16, 2014
206
42
Verona
New build (2016/09/14)
https://drive.google.com/file/d/0B4Z8DsxsJxQqbHNYS0JyWllibzA/view?usp=sharing

WiFi is now working.

Included patches from Ghsr's build_tools repository (aosp-7.0 branch)
Mheap schreenshot commit isn't included as it causes freezes and reboots.
WiFi was broken because of an old incorrect commit for frameworks/opt/net/wifi, thanks to Ghsr for pointing that out.

device/samsung/galaxys2plus-common:
move macloader to late_start class
Adapt some changes from ghsr's Initial N bringup commit

kernel/samsung/galaxys2plus-common (Commits from Ghsr's kernel (branch aosp-7.0) :
galaxys2plus: Disable deprecated USB Device FS
netfilter: x_tables: make sure e->next_offset covers remaining blob size
selinux: add SOCK_DIAG_BY_FAMILY to the list of netlink message types
net: diag: Add the ability to destroy a socket.
selinux: nlmsgtab: add SOCK_DESTROY to the netlink mapping tables
galaxys2plus: Add LZMA compressed ramdisk support
galaxys2plus: Regenerate defconfig
Very good job! All seems to work fine!
Only google play services doesn't work!
Reading on gapps forum it seems related to the system webview! In the developer option there's the possibility to change the default webview with chrome but doesn't work.

Thank you for your job!

Sent from my GT-I9105P using Tapatalk
 

Carlos_Manuel

Senior Member
Apr 28, 2011
4,092
5,368
24
Kuressaare
Very good job! All seems to work fine!
Only google play services doesn't work!
Reading on gapps forum it seems related to the system webview! In the developer option there's the possibility to change the default webview with chrome but doesn't work.

Thank you for your job!

Sent from my GT-I9105P using Tapatalk
It's webview related, yes.
I built webview 51.0.2704.91 with the egl syncing patch, but it still crashes on Browser2 and Play services. I couldn't find any fixes for this. :eek:
 

Top Liked Posts

Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone