[KERNEL] Unleashed Nexus Player v7 [12/23/2014]

defconoi

Senior Member
Oct 31, 2008
3,184
6,076
0
SCHUYLKILL HAVEN
www.android-unleashed.com
Here ya go guys, first Nexus Player Kernel with exfat, BFQ I/O Scheduler support and some tweaks:

Project name: Unleashed Kernel
Code:
  ion-storm - add ak-changelog
 Ecco park - net: wireless: bcmdhd  reduce kernel logging
 Ecco park - net: wireless: bcmdhd abort ongoing-scan for disconnection
 Ecco park - net: wirelss: bcmdhd fix roaming bug
 Ecco park - net: wirelss: bcmdhd  fixed disconnect issue for connecting status
 ion-storm - net: wireless: bcmdhd: Allow preallocation for WLFC_INFO
 Ecco park - net: wirelss: bcmdhd fixed pcie suspend/resume issue
 Ecco park - net: wireless: bcmdhd enable STATIC MEMORY ALLOCATION
 Ritter Yeh - net: wireless: bcmdhd: Enable dongle_isolation for PCIe/built-in type driver
 Ecco park - net: wirelss: bcmdhd fix the corner case of PCIe linkdown
 Ritter Yeh - net: wireless: bcmdhd: Fix race condition during flow ring creation and deletion
 Dmitry Shmidt - net: wireless: bcmdhd: Fix compilation for non PCIE_FULL_DONGLE case
 Ecco park - net: wireless: bcmdhd change the turn off/on sequence of WLAN
 Ecco park - net: wireless: bcmdhd reduced the MAX_CNTL_TX_TIMEOUT to 1
 Ritter Yeh - net: wireless: bcmdhd: Fixed failure to enter PS mode while roaming in suspend
 Ecco park - net: wireless: bcmdhd: add recovery logic for resumed on timeout.
 Ecco park - net: wireless: bcmdhd add RECOVERY mechanism of PCIe LinkDown
 Chris Fries - Staging: android: binder: Ratelimit binder debug messages
 lungtsai_lin - net: wireless: bcmdhd: Fix parameter to set wifi tx back off for SAR
 Dmitry Shmidt - net: wireless: bcmdhd: Fix country update on dhd_stop()
 Dmitry Shmidt - net: wireless: bcmdhd: Allow vendor OUI customization for SoftAP
 ion-storm - Enable F2FS, NTFS, CIFS, NFS filesystems
 Riley Andrews - staging: binder: Change binder mutex to rtmutex.
 Thomas Gleixner - futex: Add another early deadlock detection check
 ion-storm - defconfig: update
 Paul Reioux - page_alloc: Make watermarks tunable separately
 faux123 - scripts: remove localversion "+" from kernel version strings
 Srivatsa S. Bhat - cpufreq: governor: Be friendly towards latency-sensitive bursty workloads
 Mel Gorman - mm: disable zone_reclaim_mode by default
 Yuchung Cheng - tcp: enable sockets to use MSG_FASTOPEN by default
 Ard Biesheuvel - ARM: crypto: add NEON accelerated XOR implementation
 Kamalesh Babulal - sched/debug: Add load-tracking statistics to task
 Mauro Andreolini - block, bfq: add Early Queue Merge (EQM) to BFQ-v7r6 for 3.10.8+
 Paolo Valente - block: introduce the BFQ-v7r6 I/O sched for 3.10.8+
 Arianna Avanzini - block: cgroups, kconfig, build bits for BFQ-v7r6-3.10.8+
 franciscofranco - Added fsync on/off support.
 Michael Wang - sched: Implement smarter wake-affine logic
 Miao Xie - lib/memcopy: use glibc version
 Miao Xie - lib/string: use glibc version
 Fengguang Wu - readahead: make context readahead more conservative
 Jan Kara - block: Reserve only one queue tag for sync IO if only 3 tags are available
 Jan Kara - writeback: Fix occasional slow sync(1)
 Junxiao Bi - writeback: fix race that cause writeback hung
 Namjae Jeon - writeback: fix writeback cache thrashing
 Dave Chinner - sync: don't block the flusher thread waiting on IO
 flar2 - tweak fifo_batch
 Greg Kroah-Hartman - lz4: add overrun checks to lz4_uncompress_unknownoutputsize()
 Greg Kroah-Hartman - lz4: fix another possible overrun
 Greg Kroah-Hartman - lz4: ensure length does not wrap
 Sergey Senozhatsky - lz4: fix compression/decompression signedness mismatch
 Richard Laager - lib/lz4: correct the LZ4 license
 Chanho Min - lib: add lz4 compressor module
 Kyungsik Lee - lib: add support for LZ4-compressed kernel
 Kyungsik Lee - decompressor: add LZ4 decompressor module
 Zeev Tarantov - staging: Add Snappy compression library (v3)
 flar2 - Add exFAT support
 flar2 - AIO: Don't plug the I/O queue in do_io_submit()
 Mel Gorman - mm: slub: Default slub_max_order to 0
 flar2 - Add /dev/frandom support
Instructions:
Code:
adb reboot bootloader
fastboot flash boot boot.img
  • v3: Added NTFS, NFS/CIFS/F2FS Filesystem support (tested and working) may need to disable selinux: setenforce 0
  • v4: Add 512mb zram as default on boot for better memory performance
  • v5: Updated wireless Drivers & optimizations
  • v6: Added USB Webcam support & USB Audio (tested and working with all UVC/V4L usb cameras)
  • v7: Added FIOPS IO scheduler forward port for improved performance

Download:
https://www.androidfilehost.com/?w=files&flid=22831&sort_by=date&sort_dir=DESC

Source:
https://github.com/ion-storm/nexusplayer
 
Last edited:

nimdae

Senior Member
Feb 19, 2010
643
76
0
Texas
www.beausteward.com

defconoi

Senior Member
Oct 31, 2008
3,184
6,076
0
SCHUYLKILL HAVEN
www.android-unleashed.com
Do these filesystems actually function? I added these to my own kernel in testing and could get none of these working. I also added NTFS with write support and that did actually function correctly. I'd love to see CIFS or NFS working, along with F2FS and/or EXT2.
missed NTFS support adding that now, they should mount but selinux probably needs to be disabled because it blocks it
 
  • Like
Reactions: trvbone

defconoi

Senior Member
Oct 31, 2008
3,184
6,076
0
SCHUYLKILL HAVEN
www.android-unleashed.com
Do these filesystems actually function? I added these to my own kernel in testing and could get none of these working. I also added NTFS with write support and that did actually function correctly. I'd love to see CIFS or NFS working, along with F2FS and/or EXT2.
Here is v3 with NTFS support added in:
https://www.androidfilehost.com/?fid=95857557620393927
try and mount a NTFS drive and report back, also do setenforce 0 to disable selinux
 
  • Like
Reactions: trvbone

defconoi

Senior Member
Oct 31, 2008
3,184
6,076
0
SCHUYLKILL HAVEN
www.android-unleashed.com
Kernel Update

Code:
Unleashed v5:
Code:
 ion-storm - add ak-changelog
 Ecco park - net: wireless: bcmdhd  reduce kernel logging
 Ecco park - net: wireless: bcmdhd abort ongoing-scan for disconnection
 Ecco park - net: wirelss: bcmdhd fix roaming bug
 Ecco park - net: wirelss: bcmdhd  fixed disconnect issue for connecting status
 ion-storm - net: wireless: bcmdhd: Allow preallocation for WLFC_INFO
 Ecco park - net: wirelss: bcmdhd fixed pcie suspend/resume issue
 Ecco park - net: wireless: bcmdhd enable STATIC MEMORY ALLOCATION
 Ritter Yeh - net: wireless: bcmdhd: Enable dongle_isolation for PCIe/built-in type driver
 Ecco park - net: wirelss: bcmdhd fix the corner case of PCIe linkdown
 Ritter Yeh - net: wireless: bcmdhd: Fix race condition during flow ring creation and deletion
 Dmitry Shmidt - net: wireless: bcmdhd: Fix compilation for non PCIE_FULL_DONGLE case
 Ecco park - net: wireless: bcmdhd change the turn off/on sequence of WLAN
 Ecco park - net: wireless: bcmdhd reduced the MAX_CNTL_TX_TIMEOUT to 1
 Ritter Yeh - net: wireless: bcmdhd: Fixed failure to enter PS mode while roaming in suspend
 Ecco park - net: wireless: bcmdhd: add recovery logic for resumed on timeout.
 Ecco park - net: wireless: bcmdhd add RECOVERY mechanism of PCIe LinkDown
 Chris Fries - Staging: android: binder: Ratelimit binder debug messages
 lungtsai_lin - net: wireless: bcmdhd: Fix parameter to set wifi tx back off for SAR
 Dmitry Shmidt - net: wireless: bcmdhd: Fix country update on dhd_stop()
 Dmitry Shmidt - net: wireless: bcmdhd: Allow vendor OUI customization for SoftAP
 ion-storm - Enable F2FS, NTFS, CIFS, NFS filesystems
 Riley Andrews - staging: binder: Change binder mutex to rtmutex.
 Thomas Gleixner - futex: Add another early deadlock detection check
 ion-storm - defconfig: update
Updated the wireless drivers from the newer N9 code which has our same chipset, futex, binder optimizations and reduced wireless logging for performance.

Download:
https://www.androidfilehost.com/?fid=95864024717066489
 
  • Like
Reactions: trvbone

defconoi

Senior Member
Oct 31, 2008
3,184
6,076
0
SCHUYLKILL HAVEN
www.android-unleashed.com
I just compiled the kernel for external usb webcam support:
Code:
CONFIG_VIDEO_DEV=y
CONFIG_VIDEO_V4L2_COMMON=y
CONFIG_USB_VIDEO_CLASS=y
CONFIG_VIDEO_MEDIA=y
CONFIG_V4L_USB_DRIVERS=y
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
but it would seem there is something missing in android tv that doesnt allow it
 
  • Like
Reactions: trvbone

DeVSS

Member
Jul 7, 2007
16
6
0
Excuse the noobness here, but with NTFS support, does this mean we can plug in an ntfs usb drive and it will be seen as system drive and install apps to it?
 

defconoi

Senior Member
Oct 31, 2008
3,184
6,076
0
SCHUYLKILL HAVEN
www.android-unleashed.com
Excuse the noobness here, but with NTFS support, does this mean we can plug in an ntfs usb drive and it will be seen as system drive and install apps to it?
This would require some fstab editing on your part, just use stickmount and there may be an apps2sd app that could do it, or possibly a symlink, selinux will be need to set permissive as well
 
  • Like
Reactions: trvbone

ggrammer

Senior Member
Jan 24, 2010
151
25
0
Kernel has been running great so far. Your efforts are appreciated. How is the kernel looking for overclocking?
 
Last edited:

defconoi

Senior Member
Oct 31, 2008
3,184
6,076
0
SCHUYLKILL HAVEN
www.android-unleashed.com
Kernel has been running great so far. Your efforts are appreciated. How is the kernel looking for overclocking?
I probably won't add overclocking for a while, the CPU is more powerful than anything ATM, for now I'm focusing on io/memory tweaks, since that seems to be the bottleneck, I will be adding as much as possible, and will keep this updated with the latest kernel code available.
 
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