yashsingh1/xdaforums huggingface dataset:
[Nexus Player Original Android Development] bdkoepke:
Thanks defconoi, turns out I was using the wrong boot.img. After finding the correct file your suggestion worked perfectly.

I'm actually working on usb video support. I'm trying to build a skype/hangouts system for my family that will double as a video system. After enabling uvc video support my camera was detected successfully by https://play.google.com/store/apps/details?id=infinitegra.app.usbcamera&hl=en and was able to take pictures and camcord. The defconfig used by the nexus player already looks pretty optimized.

There is more work to go before native android apps will be able to use the usb camera, but I'm working on it :) Once I get it to a point of stability I'll forward the kernel config to you. I have a feeling some android frameworks will need to be modified as well. Hopefully the Xposed framework will work with ART soon and I'll be able to release my patches as an xposed hook. If I can get this to work the nexus player will end up being a pretty nice video conferencing system.

Anyway, thanks again.
[Nexus Player Original Android Development] bkdg100:
usb camera support would be really great . please keep us up to date on your progress.
[Nexus Player Original Android Development] defconoi:
I have a logitech C510, added UVC support and its not detected, can you share exactly what you added to get it detected?
[Nexus Player Original Android Development] defconoi:
here are the defconfig options I added for usb video:

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

/dev/video0 is not present for the logitech C510

edit:

Just realized im missing USB Audio & CONFIG_VIDEO_CAPTURE_DRIVERS, we'll see if those fix the issue
[Nexus Player Original Android Development] bdkoepke:
Seems like the C510 supports UVC: http://en.wikipedia.org/wiki/List_of_USB_video_class_devices.

I ensured that my usb device worked on Linux. dmesg prints that it runs UVC 1.0.

I also attached my boot.img and .config (as nexusplayer.img, rename it to .config). I can confirm that it works with the Logitech C920.
[Nexus Player Original Android Development] defconoi:
right before u posted this I figured it out, had to enable those above and usb audio fixed it, here is v6 with usb audio and uvc usb video enabled:

https://www.androidfilehost.com/?fid=95864024717067950
[Nexus Player Original Android Development] defconoi:
any way to get this working with hangouts/skype?
[Nexus Player Original Android Development] bdkoepke:
That is what I'm working on currently. I'm not exactly sure how android determines which devices are supported by the framework, but I will be working on it this week in my spare time. I will be sure to post here if I make any headway. If anyone has android/java/ndk/c experience then please pm me. Would be worth coordinating efforts.
[Nexus Player Original Android Development] defconoi:
I found a patch that probably wont apply cleanly that sets external usb webcams as internal cameras but its for eclair:

https://android-m912.googlecode.com/files/v4l2_camera_v2.patch
[Nexus Player Original Android Development] myshyak:
Any chance to add mpeg2/dts support? Or it it's not in kernel?
[Nexus Player Original Android Development] defconoi:
mpeg2/dts needs to be enabled android side
[Nexus Player Original Android Development] pchtc:
wouldnt it be great if they just let us purchase the mpeg2 license

thats how it works on raspberry pi

and its only 2$ id gladly pay more than that to have proper playback in xbmc/kodi

its nice to say that mpeg 2 is old and h.264 is what current

but all tvtuners extract video in mpeg2

so mpeg2 licese is needed for proper tv playback

@ defconoi

is there a chance that your moded kernel might shut off certain cores at times

your kernel is great

i find tat since switching to it in and xbmc x86 instead of arm

sometimes it crashes

the issue could be the x86 version of xbmc/kodi and might have nothing to do with the kernel

have you experienced this

should i just try chaging the governor?
[Nexus Player Original Android Development] defconoi:
Kernel Update

Here is a small update that gave a significant performance boost, FIOPS io scheduler forward ported to Linux 3.10+

https://www.androidfilehost.com/?fid=95864024717068843
[Nexus Player Original Android Development] pchtc:
thank you

working good so far
[Nexus Player Original Android Development] defconoi:
this is a very new soc so I'm unsure if any hotplugs for msm will even work, we may need extensive rewrites of drivers, Im working on porting intelliplug now.
[Nexus Player Original Android Development] Haxxa:
With the kernel supporting NFS/CIFS filesystems, I am confused aren't these network communication protocols for File Servers? Does this kernel allow mounting of Network Shares? Sorry for my ignorance in this area...
[Nexus Player Original Android Development] YoshiFan501:
does adb root work with this kernel?

EDIT: Adb recognizes this as a production build, so it does not.
[Nexus Player Original Android Development] midnightzak:
Can I use this with LolliRock?
[Nexus Player Original Android Development] bdkoepke:
Thanks for attaching this. I believe that patch will work after updating it. I think the interface has changed slightly as well. I also think it is worth coordinating with LolliRock since he is interested in doing the same thing.
[Nexus Player Original Android Development] zulu99:
Hi defconoi, i'm full open in collaboration. You are doing a great work on kernel. If you want you can manage all the kernel part also of LolliRock firmware.

My intention is only to transform the Nexus Player in the best device ever for TV, following Google Android standards. I need a good Nexus device for TV in wich all apps made with standard Android Api can work well. Not like chinese company that destroy many original AOSP android parts.

So, open my ramdisk part and let me know if you can add without problems your kernel.

The libhoudini.so stuff in default.prop is important for arm compatibility. And i added also mtp,adb functionality.

Let me know if you want that i add your kernel in my ramdisk, or you want do all by yourself and publish also your kernel with ramdisk part of LolliRock.

I repeat, all my works are for the community. I want only a standard, pure Android AOSP device for TV that is not very different from standard AOSP source code.

All my work is your work when you want and this is valid for all.
[Nexus Player Original Android Development] defconoi:
I'll definately be adding support for your rom, right now awaiting a new mobo from newegg then I'll use abootimg and throw in your changes, but if you like feel free to do that now if you have the time, It'll be 4-7 days until I get my developer box back up
[Nexus Player Original Android Development] Toneman07:
What program do you recommend for setting Linux to permissive? I tried terminal emulator but it told me I was denied access (rooted with unleashed kernel) thanks for the awesome kernel
[Nexus Player Original Android Development] KalenXI:
I use this program: https://play.google.com/store/apps/details?id=com.mrbimc.selinux
[Nexus Player Original Android Development] Toneman07:
Ended up using adb to open shell su 0 setenforce 0 changed to permissive but file explorer sees a USB but fails to open
[Nexus Player Original Android Development] zulu99:
With the last v7 version, when i connect the usb webcam, i can't find /dev/video0 or /dev/video*

instead with my old version i can, but this is necessary to have the webcam video HAL working.

this is my .config i hope you can compare and merge.

https://mega.co.nz/#!HYQzDI7B!Y1glsS9f_QwAD-iSfjP8KRtdkZPQHNloD97YpPmGAl0
[Nexus Player Original Android Development] mknrls:
[MENTION=1316336]defconoi[/MENTION] could you Unleashed the adt-1 kenel also, if you dont mind?

Heres the my github organization repo for the adt-1 (sources) https://github.com/adt1-dev

Device tree still in the works.
[Nexus Player Original Android Development] defconoi:
hey i'm about to update this kernel to support lollirock as well, did you make any init changes for the /dev/video0?
[Nexus Player Original Android Development] zulu99:
Sure , the ramdisk is inside my boot image. I suggest to get my ramdisk + your kernel image, in this way you can full support also lollirock.

Thanks defconoi
[Nexus Player Original Android Development] Cuzz1369:
Any chance of getting Blueputdroid compatibility?
[Nexus Player Original Android Development] YoshiFan501:
If I can make a request.

allow insecure adbd in the next release?

so adb root and adb remount can work?
[Nexus Player Original Android Development] jerflash:
Hey guys disregard. was having OTG problems but they were hardware related
[Nexus Player Original Android Development] TooYellow:
Howdy, I'm eager to give this a shot as the NP does seem pokey at times. Is there an easy way to go back to stock just in case? Would flashing the boot.img file from the stock image work? Or would I need to wipe?

Thanks to defconoi for all your work!
[Nexus Player Original Android Development] pchtc:
yes

download the img from google

https://developers.google.com/android/nexus/images

this device name is fugu

extract the kernel (boot.img)

and flash it
[Nexus Player Original Android Development] trvbone:
Can we use an app like flashify or if there's another option to flash this kernel boot image without unplugging everything and taking it to my desktop and running ADB from there?
[Nexus Player Original Android Development] pchtc:
if you are rooted

and the app you have supports flashing img's

it will work
[Nexus Player Original Android Development] Sammy4Life:
USB OTG Improvements?

Ok, so I'm not sure if this is a function of kernel or what but I'll post here with the request and maybe you guys can help identify if it's a kernel issue or not?

I purchased two Inateck HBU3VL3-4 USB 3.0 hub with gigabit ethernet. The Ethernet portion of the device initially did not work with a micro usb to full usb adapter, but the usb's did work. Following some instructions from this thread http://xdaforums.com/nexus-player/general/howto-100m-ethernet-np-t2954475/page2, I plugged in Ethernet cable, turned the device off, plugged it in the back of the player, booted into recovery and restarted and woila! this worked!!! ;)

The problem though is this has worked exactly ONCE. As you know during testing and things, we wipe and reset etc etc. After a reset, I CANNOT get either dongles to connect via Ethernet at all. I'm wondering if this is a software issue in the Kernel somewhere? Forgive me I'm not a programmer. Why on earth would a USB dongle require a reboot into recovery is beyond me in the first place, but it worked ONCE.

My router, wire etc all are fine, as I have tested an eliminated everything else. I'm also having a hard time believing it's a hardware issue, since the problem only started after resetting and the neither of the devices work on Ethernet. They both work fine with external thumb drives so the USB portion is functioning.
[Nexus Player Original Android Development] trvbone:
I'm curious without a recovery for this device how are we able to convert to F2FS? Also can some sort of Read Write mount USB drive or device for storage be built in.
[Nexus Player Original Android Development] Sammy4Life:
Not sure I understand, after rooting the device I used a 16gb MircoSD card with a usb adapter and plugged it in. Worked fine, ES File explorer was able to see it, however, emulators were not. After using stickmount by chainfire, I was able to fully mount the USB drive and all emulators can now see partition. I think it mounted as /sdcard/usbdrive/sda1 if I recall.
[Nexus Player Original Android Development] trvbone:
That is how my USB shows up, as sda1, but its not consistent sometimes it shows up in ES File Explorer sometimes it doesn't like after the Nexus player goes to sleep sometimes it disappears until I run stickmount again.....
[Nexus Player Original Android Development] Sammy4Life:
Stickmount was able to automount the usb device every single time, I've already upgraded to the Pro version. My concern now, is the the Ethernet connection. Not sure why it won't just work like the first time....

Is there some ifconfig type command for android that I could run via adb? I'll have to investigate these commands see if I can come up with something. I'm guessing that the devices would show up as wlan0 and eth0 somewhere... just not sure how to check.
[Nexus Player Original Android Development] trvbone:
Okay now I've asked four different places and I still can't get an answer on how do I get the pro version onto the Nexus Player, I purchased the pro version I have the free installed but nothing I can find gives me the license apk and clicking on upgrade to pro does nothing either.

---------- Post added at 04:43 PM ---------- Previous post was at 04:42 PM ----------

I'm using Plugable USB 2.0 to Ethernet and works great my USB hub is also a Plugable 2.0 4-port powered.
[Nexus Player Original Android Development] Sammy4Life:
Here's a suggestion:

Install it on your phone, go to ES File Explorer, swipe to right, click on Apps, scroll down and backup both stickmount and stickmount pro apk files. Copy both files to local computer.

adb install stickmount (wait till install), goto Nexus player, run it once. Close it.

adb install stickmountpro.apk, goto Nexus Player and run stick mount. (There should be no indication you installed the pro version.) At least that is how it is on the phone.

I'll be doing the same shortly.

---------- Post added at 04:56 PM ---------- Previous post was at 04:53 PM ----------

Also, it seems that my Ethernet Woe's have fixed themselves. I'm not quite sure how or why. Disabling Wifi automatically kicked it over to the wire. I was under the impression that on boot, the wire takes precedence over wifi, but I digress. The Mitch in the Glatrix has taken care of itself :) for now.
[Nexus Player Original Android Development] trvbone:
Lol "Mitch in the Glatrix" nice Yea I forgot to mention that I disabled Wireless, sorry.

---------- Post added at 05:06 PM ---------- Previous post was at 05:03 PM ----------

Maybe I could just do similar steps but backup from my rooted tablet to DRIVE then push files to Nexus player with Send Anywhere app or maybe just download from drive.... Thanks for triggering my brain thoughts....
[Nexus Player Original Android Development] Sammy4Life:
My method from above works, stickmount pro shows up and there is indeed a secondary app icon, but I doesn't do anything.

Yeah, I suppose there are 4-5 different ways to get 'em on there. Good luck and thanks for the feedback.
[Nexus Player Original Android Development] trvbone:
I used the backup on tablet upload to drive then download to NP now have pro installed and my USB automounts after reboot even. We'll see if it stays consistent.

Sent from my Nexus 6
[Nexus Player Original Android Development] theinspector:
Does this still work with the latest update? Does this improve performance by a lot? And last question is will I have to lose all my installed content to flash this? Thanks!
[Nexus Player Original Android Development] trvbone:
What latest update?

Sent from my Nexus 6
[Nexus Player Original Android Development] sldier11:
suspend option

For a feature request would it be possible to get a suspend feature?

I upgraded to the nexus player from the pivos xios. My main grief with the NP is it doesn't suspend android and my plugged in HDD is always on and spinning. Any one know a fix for this? I tried 3rd party app like quick boot. It does work to shutdown or restart the NP but no way to turn on the player if it shutdown but by unplugging it.

Any advice will be appreciated. Thanks
[Nexus Player Original Android Development] midnightzak:
Does the timeout/sleep option in Android settings not turn off your drive? I've got a SSD attached, so I can't tell if it is still running when my NP goes dark.
[Nexus Player Original Android Development] sldier11:
I realize my request for a feature to suspend android isn't kernal thing. sorry about that.

But would it be possible in the Kernal to turn off power to the USB when the NP goes into sleep mode?

Something like this

my drive stays on at all times. i set my suspend on the NP to 30 mins but drive never shuts down unless I unplug it.

On another note I just flashed this Kernal and it's awesome! I can stream certain content now with less stutter that I couldn't before like IPTV on Kodi or even native apps like Vevo work better.

Google really needs to get their stuff together. It's lame that we need to go through this much trouble to get out of the box functionality working.

Thanks for your work.
[Nexus Player Original Android Development] ctsdad:
Plex

I would love to just get a Plex App working. I have sideloaded the APK but it doesn't work for me.
[Nexus Player Original Android Development] drilus:
You'd be better off posting that question in the QandA section. This thread is for kernel questions....not software.
[Nexus Player Original Android Development] H4k3r4r34l:
Can i flash this under stock image or only lollirock?
[Nexus Player Original Android Development] Sleeepy2:
Stock works fine, that's what I am using
[Nexus Player Original Android Development] trvbone:
What's set enforce 0? Is it a terminal command? Also are all of the settings you discuss on here automatic or is there an app we need to use to adjust kernel settings?

Sent from my Nexus 6
[Nexus Player Original Android Development] phin586:
What is a good NFS client to use with this?
[Nexus Player Original Android Development] sldier11:
I used this simple app to set the SELinux Mode to Permissive. Although if you are rooted and using StickMount then correct me if I'm wrong but this is not as necessary. StickMount worked fine before I even flashed this kernel.
[Nexus Player Original Android Development] trvbone:
Man the speed and efficiency difference from just flashing this kernel on stock rom is amazing. So what cool stiff can I do now that I'm on this kernel can I mount a big external NTFS drive to be used as installed app storage? Not like folder mount for just obb files but like apps to SD or USB........

Sent from my Nexus 6
[Nexus Player Original Android Development] theinspector:
How do I access the USB drive? I used selinux mode changer to change it to permissive. I've tried a few file managers and they don't pull it up. Only way is with stick mount. I had it set as fat32 but I formated it to be NTFS like it says to do.
[Nexus Player Original Android Development] trvbone:
Um I'm not sure if this helped me or not..... But I installed TWRP app and checked the SD card patch box option near the bottom of settings window. This allows write permissions to the SD card I believe which I think kept my USB drive mounted. Idk give it a shot...

Sent from my Nexus 6
[Nexus Player Original Android Development] theinspector:
How do I get twrp installed? I've tried one method but wasn't successful.
[Nexus Player Original Android Development] trvbone:
Well what I do is install the app apk extractor then from that app you will browse through the installed apps on your phone or tablet and share it too Google drive if you've got that installed on your Nexus player.

Sent from my Nexus 6

---------- Post added at 11:06 PM ---------- Previous post was at 11:04 PM ----------

Here's the link https://play.google.com/store/apps/details?id=com.ext.ui

Sent from my Nexus 6
[Nexus Player Original Android Development] toe451:
hey, does this work on 5.1 update ? Thanks...
[Nexus Player Original Android Development] QUEDRO:
I will echo the above question. Also Would like to know how stable is the latest version. I see it wasn't updated in a while.
[Nexus Player Original Android Development] sldier11:
I can confirm this Kernel doesn't work at 5.1

I flashed it and the nexus player wouldn't boot so I re-flashed the original 5.1 boot.img

Looking forward to this Kernel being updated
[Nexus Player Original Android Development] trvbone:
This is the only thing holding me back from updating.... Waiting patiently for 5.1 update. Thanks again

Sent from my Nexus 6
[Nexus Player Original Android Development] ruZZ.il:
I assume you flashed a boot.img with this kernel? I think the kernel itself should work fine in 5.1, but would would need to be packaged in an appropriate 5.1 boot.img.
[Nexus Player Original Android Development] trvbone:
Is there a tutorial on the process of doing this?

Sent from my Nexus 6
[Nexus Player Original Android Development] danigraham:
thanks In advance..

Currently on Lollirock v1.6 and we are having SUCH a hard time mounting NFS..

I THINK our current position is only being able to write to the NFS share as Root, getting a permissions error otherwise. Using NAS server and did Busybox Mount. Anyone ever successfully Mount NFS on Lollirock?

And I do apologize, I am aware that Unleashed is no longer its kernel, there are just so few reliable NP threads, I figured I'd try here since it was used before. In the OP for LR it says NFS works yet no one on the threads can make it happen!

Well... he gave up for the night. On to another NP issue. Ethernet connection script... yay!

**PS**

Also looking forward to Unleashed running on 5.1! Life will be so much easier!
[Nexus Player Original Android Development] trvbone:
Update.....? Anyone? Have we heard from Dev?

Sent from my Nexus 6
[Nexus Player Original Android Development] nullstring2:
I tried to package the kernel with the factory boot.img but it hangs on bootup.

Am I going to have to downgrade to get usb audio? That'd be annoying.

I might have to see if I can dive into this a bit.
[Nexus Player Original Android Development] WACOMalt:
Any chance support for volume control is a kernel thing, and something you could add?
[Nexus Player Original Android Development] darylzero:
can i use the kernal on the new update for nexus player 6.0.1 ??
[Nexus Player Original Android Development] ElfinJNoty:
No. This kernel hasn't seen any activity in a long time. See the dates of the comments? And the date in the title of the OP?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] General_Led:
Not sure if this is the right place but maybe someone can help. So I want to root my GS4. I am on 4.4.4 on at&t. I've tried several different methods and none worked. Any help would be greatly appreciated. Thanks
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] nogods:
I just used the method in this link, except I was on 4.4.2 so I used the old version of it (same method just different kernel files): http://xdaforums.com/galaxy-s4-att/general/how-to-root-i337ucufnj4-4-4-4-11-13-2014-t2939553

It worked perfectly to root my AT&T S4. It is just rooted - no custom rom.

I think to add a custom rom i'd have to use a method that installs safestrap like the one at this link: http://xdaforums.com/galaxy-s4-att/...ng-rooting-t2926642/post56453100#post56453100
[Galaxy S III Mini Q&A, Help & Troubleshooting] jimmyslim:
The 3g internet is working but I'm not able to send or receive phone calls + text messages I've checked the imei number with T-mobile customer services and it's not blacklisted.

I've re-flashed stock firmware with odin

Tried NV Rebuild

Tried GSM only and WCDMA only

Any ideas how to fix this thnx

my phone specs

Device Product Model: GT-I8190N

Firmware Build : 4.1.2

Firmware Build ID : JZO54K

Firmware Build PDA : I8190NXXAMJ2

Firmware Region Code: BTU
[Galaxy S III Mini Q&A, Help & Troubleshooting] zak-freestyle:
Please i have the same problem !! Any answer ??
[Shield Tablet Q&A, Help & Troubleshooting] Pospa420:
Hello, when I'm connected to 5GHz wifi (TP-Link Archer C20i) every few minutes I got disconnected from game stream because of connection issue. Also when I'm watching streamed video, this is happening every few minutes and I have to wait like 20 seconds to continue. Does anyone have this issue?
[Shield Tablet Q&A, Help & Troubleshooting] eramesh:
I have the same issue on 2.4GHz channel 10. Chromecast only on channel 10 and it is frustrating to get the streamed video.