[BLISS ROMS Development] youling257:
mainline kernel，even though "rtk_hciattach -n -s 115200 /dev/ttyS1 rtk_h5" and patch /net/rfkill/rfkill-gpio.c for rtl8723bs Bluetooth，still can't work on nougat，but work on marshmallow.

the reason is selinux security，need “ANDROID: Paranoid network Bluetooth” ，CONFIG_ANDROID_PARANOID_NETWORK=y

“Bluetooth is working on some machines using stable builds, and less likely”

https://github.com/youling257/android-4.12/commit/ca049645d75b1686b9f24775ccb5ef1b3b70ddd6

https://github.com/youling257/android-4.12/commit/8fc50bcdd78600b47db8e8d19b7378a30a844ef3

https://github.com/youling257/android-4.12/commit/222b2db4b86b01ed2428dd8ba56134dbc752acd0

---------- Post added at 08:11 AM ---------- Previous post was at 08:00 AM ----------

no necessary “ANDROID: Paranoid network ipv4/ipv6”，https://github.com/youling257/android-4.9/commit/12f8cb426fd2420d0da963ecaf230fba084c47c6 https://github.com/youling257/android-4.9/commit/aa26b3701e86e7e807801f79462d1b0a49f0899c https://github.com/youling257/android-4.9/commit/5aa5793cebb0581668e03b8f78936c32b48e4adc

in order to do these

Welcome to Ubuntu Artful Aardvark (development branch) (GNU/Linux 4.9.35-android-x86+ i686)

* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage

Ubuntu 12.04 LTS end-of-life is April 25, 2017 -- Upgrade your Precise systems!
$ sudo do-release-upgrade -m server

0 个可升级软件包。
0 个安全更新。

*** /dev/block/sda2 will be checked for errors at next reboot ***

*** 需要重启系统 ***
Last login: Tue Jul 11 03:01:20 2017 from 127.0.0.1
youling257@localhost:~$ su
密码：
root@localhost:/home/youling257# apt update
获取:1 http://cn.archive.ubuntu.com/ubuntu artful InRelease [237 kB]
命中:2 http://cn.archive.ubuntu.com/ubuntu artful-updates InRelease
命中:3 http://cn.archive.ubuntu.com/ubuntu artful-backports InRelease
获取:4 http://cn.archive.ubuntu.com/ubuntu artful-proposed InRelease [235 kB]
命中:5 http://security.ubuntu.com/ubuntu artful-security InRelease
获取:6 http://cn.archive.ubuntu.com/ubuntu artful/main i386 Packages [1,131 kB]
获取:7 http://cn.archive.ubuntu.com/ubuntu artful/main Translation-en [555 kB]
获取:8 http://cn.archive.ubuntu.com/ubuntu artful/main i386 DEP-11 Metadata [467 kB]
获取:9 http://cn.archive.ubuntu.com/ubuntu artful/main DEP-11 64x64 Icons [298 kB]
获取:10 http://cn.archive.ubuntu.com/ubuntu artful/restricted i386 Packages [8,632 B]
获取:11 http://cn.archive.ubuntu.com/ubuntu artful/universe i386 Packages [8,269 kB]
35% [11 Packages 2,974 kB/8,269 kB 36%]

Welcome to Ubuntu Artful Aardvark (development branch) (GNU/Linux 4.12.0-android-x86+ i686)

* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage

Ubuntu 12.04 LTS end-of-life is April 25, 2017 -- Upgrade your Precise systems!
$ sudo do-release-upgrade -m server

0 个可升级软件包。
0 个安全更新。

*** 需要重启系统 ***
Last login: Fri Jul 7 20:12:42 2017 from 127.0.0.1
youling257@localhost:~$ su
密码：
root@localhost:/home/youling257# cd /data/data/com.termux/files/home/3
root@localhost:/data/data/com.termux/files/home/3# git remote remove origin
root@localhost:/data/data/com.termux/files/home/3# apt update
获取:1 http://cn.archive.ubuntu.com/ubuntu artful InRelease [237 kB]
命中:2 http://cn.archive.ubuntu.com/ubuntu artful-updates InRelease
命中:3 http://cn.archive.ubuntu.com/ubuntu artful-backports InRelease
获取:4 http://cn.archive.ubuntu.com/ubuntu artful-proposed InRelease [235 kB]
命中:5 http://security.ubuntu.com/ubuntu artful-security InRelease
获取:6 http://cn.archive.ubuntu.com/ubuntu artful/main i386 Packages [1,130 kB]
获取:7 http://cn.archive.ubuntu.com/ubuntu artful/main Translation-en [555 kB]
获取:8 http://cn.archive.ubuntu.com/ubuntu artful/main i386 DEP-11 Metadata [467 kB]
获取:9 http://cn.archive.ubuntu.com/ubuntu artful/main DEP-11 64x64 Icons [298 kB]
获取:10 http://cn.archive.ubuntu.com/ubuntu artful/universe i386 Packages [8,266 kB]
获取:11 http://cn.archive.ubuntu.com/ubuntu artful/universe Translation-en [4,768 kB]
获取:12 http://cn.archive.ubuntu.com/ubuntu artful/universe i386 DEP-11 Metadata [2,821 kB]
获取:13 http://cn.archive.ubuntu.com/ubuntu artful/universe DEP-11 64x64 Icons [7,898 kB]
获取:14 http://cn.archive.ubuntu.com/ubuntu artful/multiverse i386 Packages [148 kB]
获取:15 http://cn.archive.ubuntu.com/ubuntu artful/multiverse i386 DEP-11 Metadata [44.2 kB]
获取:16 http://cn.archive.ubuntu.com/ubuntu artful/multiverse DEP-11 64x64 Icons [207 kB]
获取:17 http://cn.archive.ubuntu.com/ubuntu artful-proposed/universe i386 Packages [226 kB]
获取:18 http://cn.archive.ubuntu.com/ubuntu artful-proposed/universe Translation-en [125 kB]
获取:19 http://cn.archive.ubuntu.com/ubuntu artful-proposed/universe i386 DEP-11 Metadata [45.0 kB]
获取:20 http://cn.archive.ubuntu.com/ubuntu artful-proposed/universe DEP-11 64x64 Icons [99.2 kB]
获取:21 http://cn.archive.ubuntu.com/ubuntu artful-proposed/main i386 Packages [128 kB]
获取:22 http://cn.archive.ubuntu.com/ubuntu artful-proposed/main Translation-en [55.0 kB]
获取:23 http://cn.archive.ubuntu.com/ubuntu artful-proposed/main i386 DEP-11 Metadata [19.8 kB]
获取:24 http://cn.archive.ubuntu.com/ubuntu artful-proposed/main DEP-11 64x64 Icons [40.3 kB]
已下载 27.8 MB，耗时 26秒 (1,043 kB/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 28 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
root@localhost:/data/data/com.termux/files/home/3# git remote add origin https://github.com/youling257/android-4.12.git
root@localhost:/data/data/com.termux/files/home/3# git push -u origin master
对象计数中: 94, 完成.
Delta compression using up to 4 threads.
压缩对象中: 100% (93/93), 完成.
写入对象中: 100% (94/94), 15.24 KiB | 0 bytes/s, 完成.
Total 94 (delta 84), reused 2 (delta 1)
remote: Resolving deltas: 100% (84/84), completed with 66 local objects.
To https://github.com/youling257/android-4.12.git
4eb444107292..8fc50bcdd786 master -> master
分支 master 设置为跟踪来自 origin 的远程分支 master。
root@localhost:/data/data/com.termux/files/home/3#