How do you change chromecast name in AOSP - Nexus Player Q&A, Help & Troubleshooting

I am running http://forum.xda-developers.com/member.php?u=1469500's AOSP 6 v1.1 rom on 2 Nexus Players. Everything is working great except they both present themselves as "Nexus Player" to chromecast compatible apps. That makes it impossible to reliably pick the right one. I'm sure the chromecast name is stored somewhere, but I haven't been able to find it. There is no option in the settings like there is on stock rom.
Thanks

Related

Missing Apps

There's a few semi-vital apps missing from the Galaxy Tab which I've installed from my Nexus One and they work fine.
As far as I know these are either standard AOSP or Google released apps.
Calculator: http://dl.dropbox.com/u/31993/Android%20APKs/Calculator.apk
Car Home: http://dl.dropbox.com/u/31993/Android%20APKs/CarHomeGoogle.apk
Car Home Launcher: http://dl.dropbox.com/u/31993/Android%20APKs/CarHomeLauncher.apk
I would've thought Car Home would be in the market, but it's not showing up for me, so I just dumped the APKs into my dropbox and installed them onto the Tab and it works fine.
I also dumped the desk-clock app on which works fine, but it crashes if you select "Dock settings" as there's no such sub-menu in the settings on the tab. I know you can use the Frame app on the tab for much the same effect, but I like the bouncing clock feature of it (there's also some reasonable 3rd party alternatives). In case anyone wants it, it's also there at http://dl.dropbox.com/u/31993/Android%20APKs/DeskClock.apk
Thank you for these!!
You are awesome sir! Thank you.

[Debate] Root on Google Nexus Player

I always try on not to be a party p**per but also would like to make this debate as civilized as possible so no need to bash me if you found my doubts in a negative way.
But after spending all this time with the Nexus Player of Google, I found myself with the conclusion, why is worthy my time for any root for the device.
At least I have a goal on showing my step-dad that paying DirecTV (Nothing against DirecTV BTW, just want to save money) is not 24/7 cost-effective versus Google Play Service and popular streaming services.
Heck, I didn't even felt left out in terms that versus Apple TV, the Nexus Player is still short without service like WWE, Amazon, NFL, etc. I was happy with the service available as of the writing of this.
To tell you the truth, the exact moment when I read all the possibility for free TV and streaming needs with Kodi (XBMC), I realized that was exactly why I bought the Google Nexus Player on the first place, beside having an alternate set-top box instead of my lovely Playstation 3 and except for improvement on hardware level for Android TV (reboot capacity WILL BE so WELCOMED!) I don't see how rooting the device can be compared as rooting a Smartphone.
Also some needs that we find regularly on Android Smartphone can be requested to Google either by AOSP or direct feedback (I realize that Google might just ignore anyways) and I am pretty sure that future Android 5.0.x or 5.x version will be synonymous of improvements.
No, this is not ignorance and definitely not naive-ness, perhaps I need another point of view to better understand or see more benefits for rooting the device.
Again, please I created this thread as a informative and debatable spot for this topic, do not flame me and not flame each other if you don't agree with an specific opinion.
TheGeeZus said:
I always try on not to be a party p**per but also would like to make this debate as civilized as possible so no need to bash me if you found my doubts in a negative way.
But after spending all this time with the Nexus Player of Google, I found myself with the conclusion, why is worthy my time for any root for the device.
At least I have a goal on showing my step-dad that paying DirecTV (Nothing against DirecTV BTW, just want to save money) is not 24/7 cost-effective versus Google Play Service and popular streaming services.
Heck, I didn't even felt left out in terms that versus Apple TV, the Nexus Player is still short without service like WWE, Amazon, NFL, etc. I was happy with the service available as of the writing of this.
To tell you the truth, the exact moment when I read all the possibility for free TV and streaming needs with Kodi (XBMC), I realized that was exactly why I bought the Google Nexus Player on the first place, beside having an alternate set-top box instead of my lovely Playstation 3 and except for improvement on hardware level for Android TV (reboot capacity WILL BE so WELCOMED!) I don't see how rooting the device can be compared as rooting a Smartphone.
Also some needs that we find regularly on Android Smartphone can be requested to Google either by AOSP or direct feedback (I realize that Google might just ignore anyways) and I am pretty sure that future Android 5.0.x or 5.x version will be synonymous of improvements.
No, this is not ignorance and definitely not naive-ness, perhaps I need another point of view to better understand or see more benefits for rooting the device.
Again, please I created this thread as a informative and debatable spot for this topic, do not flame me and not flame each other if you don't agree with an specific opinion.
Click to expand...
Click to collapse
I dunno, i rooted mine because i really needed to have expandable storage. So i rooted for chainfires stickmount. So i could have all my movies on my external hard drive run through xbmc natively.
↑This!↑
I have not rooted mine but if i do it will be for the ex-storage as well.. i am at the point of not storing a lot of movies because they are almost all online for a fee or free if you go that way.. We watch a movie once or twice and that is the end of it.. So to add to your debate i don't at this point see why you would root this device.
Would like a reboot function..
Im sure someone will come up with some nice ways to use root.. give them a week or so lol..
The main current use for rooting in my home is support for PS3 & 4 controllers wirelessly, using stick mount & folder mount to store game data and kodi data on an external drive and the ability to modify xml to re-arrange the order of programs in the NP's leanback interface (kodi gets top billing). My daughters now have immediate access to over twenty very large installed games so far thanks to folder mount. I also store all my kodi fanart, cover art, cd art, etc on the external as it takes up so much space internally for my large media collection that kodi accesses from my nas.
There will be future uses for root as well, of course (there always is), but these were my immediate needs.
Elrondolio said:
The main current use for rooting in my home is support for PS3 & 4 controllers wirelessly, using stick mount & folder mount to store game data and kodi data on an external drive and the ability to modify xml to re-arrange the order of programs in the NP's leanback interface (kodi gets top billing).
Click to expand...
Click to collapse
I recently rooted my NP, and I'm completely new to android and rooting. My main desire is to be able to get all of my sideloaded apps into the leanback interface, and to be able to rearrange the order and hide app icons I don't use. I've noticed by default Kodi RC2 appears in the leanback interface.
Do you have any tips for modifying the leanback interface in the way I've described?
kaess said:
I recently rooted my NP, and I'm completely new to android and rooting. My main desire is to be able to get all of my sideloaded apps into the leanback interface, and to be able to rearrange the order and hide app icons I don't use. I've noticed by default Kodi RC2 appears in the leanback interface.
Do you have any tips for modifying the leanback interface in the way I've described?
Click to expand...
Click to collapse
Since things are so new with the leanback launcher there hasn't been much time for any semi-automated tools/apps to be coded to accomplish what you want. Manually, however, is very doable depending on your desired time investment.
You can modify select sideloaded apps to make them show up on the leanback interface by uncompressing its apk, editing its manifest then re-compressing and re-sideloading. See this post: How to sideload XBMC/Kodi on Nexus Player. See also this helpful post from @zlexy : [Q] Launching Netflix From Within Kodi.
You can re-arrange the order of apps listed in the leanback interface by editing leanback launcher's database. See this post by @ariful : [Q] Rearranging Apps on Android TV Nexus Player.
Again, these methods are a bit labour intensive... it'll have to be that way until more devs start/finish coding for this brand new interface/device and/or for Google to release more customizable updates. Good luck.
Elrondolio said:
Since things are so new with the leanback launcher there hasn't been much time for any semi-automated tools/apps to be coded to accomplish what you want. Manually, however, is very doable depending on your desired time investment.
You can modify select sideloaded apps to make them show up on the leanback interface by uncompressing its apk, editing its manifest then re-compressing and re-sideloading. See this post: How to sideload XBMC/Kodi on Nexus Player. See also this helpful post from @zlexy : [Q] Launching Netflix From Within Kodi.
You can re-arrange the order of apps listed in the leanback interface by editing leanback launcher's database. See this post by @ariful : [Q] Rearranging Apps on Android TV Nexus Player.
Again, these methods are a bit labour intensive... it'll have to be that way until more devs start/finish coding for this brand new interface/device and/or for Google to release more customizable updates. Good luck.
Click to expand...
Click to collapse
The last thing you said is exactly why I am resisting the temptation.
I am being fair with the fact that this is the first face of Android Tv and there is yet more to see and I am faithful that most feature that needs root for now, Google might have something on their sleeves, but they are waiting to see how many Nexus Player gets sold, specially after the holidays.
My mom and my step-dad were impressed with the Nexus Player so great, that my step-dad sold me the Google Chromecast as he wanted to have an experience on his own and he really didn't find the Cast environment hard but he liked the more controlled environment of the Nexus Player, so we are buying a second one for me and I will let him take the first one after the second arrives.
I think that is another example that rooting (again, my exception is that a proven restart method gets developed) for now is not needed in base of a normal usage and still haven't got the problem of storage (yet, I know the day will come).

[Q] AudioCast w/o root or Xposed?

I'm trying to fit my Galaxy Note 4 into my previous media setup. What I need is away to audio cast (capture and stream) to a DLNA client on my RaspberryPi from Google Music on my Note.
Previously I had a Nexus device and I just root and installed Xposed to audio cast through BubbleUPNP app and their xposed module.
I realize that I could still root my Note 4 and create the exact same configuration, however, with ART/LOLLIPOP around the corner it doesn't seem like a long term solution (mainly because xposed is still not compatible with ART and it appears it won't be a short development process). So I'm looking for a more permanent configuration.
Also I'd like to stay away from rooting or otherwise molesting my stock install of the OS. I think this phone runs great and I use it for work and would rather not have to spend hours in ODIN flashing fixes and hacks to get things working after I push a custom config too far.
Does anyone know of a clean way to audiocast to a DLNA client on the Note 4?
This maybe?
https://play.google.com/store/apps/details?id=com.joaomgcd.autocast
Thanks for the reply photoshopgeek, however, I'm not trying to cast to my chromecast in this case. I need to cast to my RaspberryPi.
Not sure if this will work. If it does you'll need the premium version
https://play.google.com/store/apps/details?id=com.koushikdutta.cast

Shortcut to launch Google apps? (Play Music, Movies)

I've been trying for hours now to do the simplest thing. I need some way to make a shortcut to these apps that is its own standalone APK. Here's why:
The long version: I have a Logitech Harmony Hub. It won't launch apps on the Nexus Player directly, but I have a workaround that involves installing Multilanguage Keymap Redefiner on the Nexus Player, and sending a keyboard command that I've mapped to trigger a specific app. For example, sending F1 launches Netflix. This works flawlessly for just about every app, but the exceptions are Google's own apps (Google Play Music and Google Play Movies). When I map a key to launch one of these two apps, nothing happens.
The short version: My Harmony Hub won't launch them directly.
Here's what I've tried so far:
Attempt: Creating an app with Tasker on my phone that launches the app in question. Basically cloning the app.
Result: This works on my phone to launch it, but once I install the app on the Nexus Player, it does nothing. Perhaps the Android TV version of the app is different from the phone version in such a way that it won't allow this to work.
Attempt: Installing Tasker on the Nexus Player so I could attempt the same steps as above, but from the Nexus Player
Result: Can't install Tasker - no way to accept the disclaimer on Android TV because it's not visible (accessibility settings don't help)
Attempt: Backing up Tasker on my phone using Helium, then installing Helium to restore a backup of Tasker that has already accepted the disclaimer.
Result: Tasker won't back up with Helium. It just creates an empty .json file. Everything else seems to back up fine, of course...
Attempt: Installing TV App Repo, and creating a shortcut to the apps in question
Result: unable to create the shortcuts because the apps in question are not downloaded, but are rather preinstalled.
Attempt: used this website: http://atvlauncher.trekgonewild.de/ to try to create an APK from the respective packages.
Result: According to the "apps" section of the Nexus Player settings, the package name for Google Play Music should be com.google.android.music, however, this did not work. Neither did com.google.music, com.android.music, or come.google.android.music.tv. When I say "didn't work," what I mean is that in each case, it said the package was not found. I thought this was odd since I used the same package name as what was shown in the Nexus Player's settings on the first try. If anyone knows the correct package names for these two apps, that may be the solution to the problem.
"Shortcut" apps won't work, because Multilanguage Keymap Redefiner will let you map commands to launch apps, but not shortcuts. Needs to be a standalone app. If anyone knows any other method besides the one I've proposed that will launch the apps in question with a single key press, I'd love to hear it. I know this is an obscure request, but it seems so simple and I'm really frustrated at this point. Not the type to give up at something like this, there's got to be a way, but I can't find it. As a side not, my Nexus Player is not rooted, and I'd really prefer not to go that route if there is any other option. Thanks in advance.
:crying: :crying: :crying:

Is there a way to change the default media apps on joying

I have a JY-UM135N2PX5 and I want to change the default music and video apps, I dont really want to replace them as much as change them
Im not sure what music player I want right now but I want VLC as the default video player so that when I change the source it will be the media players I use rather than the built-in ones
The navi button has this option but I cannot find any way to do this with the media apps
I tried setting the default in android thinking that maybe it cycled the default android apps but that didnt seem to work however I used an older app so Im not sure if that has anything to do with it as it seemed to have compatibility issues with the version of android I have
stonedhippiecomputerdude said:
I have a JY-UM135N2PX5 and I want to change the default music and video apps, I dont really want to replace them as much as change them
Im not sure what music player I want right now but I want VLC as the default video player so that when I change the source it will be the media players I use rather than the built-in ones
The navi button has this option but I cannot find any way to do this with the media apps
I tried setting the default in android thinking that maybe it cycled the default android apps but that didnt seem to work however I used an older app so Im not sure if that has anything to do with it as it seemed to have compatibility issues with the version of android I have
Click to expand...
Click to collapse
You need Xposed with XFytTweaker.
(and maybe)
I was working on a "poor mans" solution that didn't require Xposed. It does this by replacing the radio, media, dvd and video app with identical apps (with regard to internal package name) that check a setting for a configured app. So for example the media app is com.syu.music, and that one is started from the main server apk. My replacement apk is also com.syu.music (a reason why I need to replace them) and checks for a setting which program to start.
The internal config of my apps is 100% correct and it works on my phone and on any emulator, but not on the Joyings (yet). I assume it is something with signing, but on a different level. As if there is an extra check inside the main server (Sofiaserver.apk or 000000000_com.syu.ms.apk).
If I get it to work, they simply install from my JET apk and can be configured via my JET apk. Of course they only work for apps assigned to the units hardware buttons, or that are somehow started from the main server apk. For the time being I stopped it though. I thought it was quite easy to achieve, but it is not.
And Xposed/XFytTweaker is so much more flexible.
surfer63 said:
You need Xposed with XFytTweaker.
(and maybe)
I was working on a "poor mans" solution that didn't require Xposed. It does this by replacing the radio, media, dvd and video app with identical apps (with regard to internal package name) that check a setting for a configured app. So for example the media app is com.syu.music, and that one is started from the main server apk. My replacement apk is also com.syu.music (a reason why I need to replace them) and checks for a setting which program to start.
The internal config of my apps is 100% correct and it works on my phone and on any emulator, but not on the Joyings (yet). I assume it is something with signing, but on a different level. As if there is an extra check inside the main server (Sofiaserver.apk or 000000000_com.syu.ms.apk).
If I get it to work, they simply install from my JET apk and can be configured via my JET apk. Of course they only work for apps assigned to the units hardware buttons, or that are somehow started from the main server apk. For the time being I stopped it though. I thought it was quite easy to achieve, but it is not.
And Xposed/XFytTweaker is so much more flexible.
Click to expand...
Click to collapse
I have both but I wasn't aware you could do that with xfyttweaker I know you can reprogram the hardware keys but Im looking just to switch the media apps I want the rest, would I need to readd the stock apps and just add my own media players instead of the stock ones or can I choose which ones I want to replace, I looked around a little in xfyttweaker but it wouldnt do what I wanted which was to get rid of that stupid floating button, I thought it was hardcoded but I found a setting to turn it off and found out its called touch assistant I had been all through the settings to learn what I could do with the head unit and set it the way I want but I didnt realize what touch assistant was I thought it was some kind of enhancer for the touchscreen

Categories

Resources