How to start custom app via http - Google Chromecast

Dear All,
I am a bit stuck. How can I start a custom receiver via http? I tried sending a GET to /apps/1234ABCD (with the code I get on the developer console) but I constantly get 404.
The same code works via ios/android/chrome sdk, but unfortunately I have to use this outside of the ios/android/chrome world...
I did not have success with Wiresharking the network traffic using the chrome sdk, the app id seems to be not trivially stored in the requests.
Any ideas?
Thank You!

The old V1 app ids like youtube, netflix, etc can be launched with a POST but that doesn't work for the new V2 app ids.
I would like to know how to launch the V2 apps as well (as I have my own). From Wireshark, it looks like it might be related to SSL traffic on port 8009 to the Chromecast, but I have not been able to figure out what to send it.

knoxbrder said:
The old V1 app ids like youtube, netflix, etc can be launched with a POST but that doesn't work for the new V2 app ids.
I would like to know how to launch the V2 apps as well (as I have my own). From Wireshark, it looks like it might be related to SSL traffic on port 8009 to the Chromecast, but I have not been able to figure out what to send it.
Click to expand...
Click to collapse
Thank You. At least I know that I am not alone with my problem!
If you find out anything, or have an idea, please don't hesitate to tell me.
It's sad that this is closed this way, can't figure out why.

The 'nodecastor' project on github (_not_ nodecast) seems interesting!

zsoltt said:
The 'nodecastor' project on github (_not_ nodecast) seems interesting!
Click to expand...
Click to collapse
Wow, that was a pain to get installed. But it was worth it. Now I can launch my app from the command line or my webserver without have to start it from an android app or a special chrome plugin. Thanks!
When I have a few hours I need to trace through it and see what it does that required so many other npm installs.

Related

[Q] App for sending and receiving SMS from PC over 3G ??

I have seen few apps that are capable of doing this over Wi-Fi, Bluetooth and USB. But I am more interested in something that can do it over 3G. At work my desktop PC is not on a wireless network; there is Wi-Fi but on a spate subnet with no easy access to the main network. I do have Bluetooth / USB on my main desktop but I work from different PCs therefore its not very convenient for me to pair/connect it each time I go to a different PC. And I don’t use Wi-Fi at home either.
Then there are other benifits to using 3G like I can still access the phone even if I forget it somewhere (i.e at home in the car etc). The new HTC Sense services for HTC Desire HD will have remote access to SMS, call and location information , which is exactly what I'm after. But for now SMS alone is enough.
I came across one App called SMS2PC which can connect to a computer over 3G. But from what I gathered, with that the phone connects to the PC and pushes notifications, not the other way around. This is not going to work for me because at work I am behind a corporate firewall, so my phone cannot access the desktop.
Any other solutions ??
EDIT : i know SMS backup can backup text messages to google, but I can't reply from there. So that wont help much. And I'm not in US, therefore I dont have access to Google Voice service, so replying through that is not going to work either.
Is Google Voice avilable to you (specifically, you will need a Google Voice phone number)? If so, that will be my recommendation. In addition to free SMS and visual voice mail, you can use your Google Voice anywhere that you have access to a web browser. It doesn't have to be your phone.
foxbat121 said:
Is Google Voice avilable to you (specifically, you will need a Google Voice phone number)? If so, that will be my recommendation. In addition to free SMS and visual voice mail, you can use your Google Voice anywhere that you have access to a web browser. It doesn't have to be your phone.
Click to expand...
Click to collapse
No google voice is not available ( as mentioned in my last line , coz I knew some one would suggest that).
I wonder why no one has made such an app so far.
Maybe I'll have to write my own.. haven't done any android programing yet, guess its about the time.. waiting for a break from work to start playing around with it a bit...
PhoenixFx said:
I have seen few apps that are capable of doing this over Wi-Fi, Bluetooth and USB. But I am more interested in something that can do it over 3G. At work my desktop PC is not on a wireless network; there is Wi-Fi but on a spate subnet with no easy access to the main network. I do have Bluetooth / USB on my main desktop but I work from different PCs therefore its not very convenient for me to pair/connect it each time I go to a different PC. And I don’t use Wi-Fi at home either.
Then there are other benifits to using 3G like I can still access the phone even if I forget it somewhere (i.e at home in the car etc). The new HTC Sense services for HTC Desire HD will have remote access to SMS, call and location information , which is exactly what I'm after. But for now SMS alone is enough.
I came across one App called SMS2PC which can connect to a computer over 3G. But from what I gathered, with that the phone connects to the PC and pushes notifications, not the other way around. This is not going to work for me because at work I am behind a corporate firewall, so my phone cannot access the desktop.
Any other solutions ??
EDIT : i know SMS backup can backup text messages to google, but I can't reply from there. So that wont help much. And I'm not in US, therefore I dont have access to Google Voice service, so replying through that is not going to work either.
Click to expand...
Click to collapse
I use smstools. It is in every major repo. However - from your non-technical wording - I assume that you use the gamerz OS (Windos). Worry not, you can easily compile the program yourself, or google for binaries.
HelloH said:
I use smstools. It is in every major repo. However - from your non-technical wording - I assume that you use the gamerz OS (Windos). Worry not, you can easily compile the program yourself, or google for binaries.
Click to expand...
Click to collapse
Yes, I use Windows mostly . Thanks for that link, but I don't think thats quite what I want either. That seems to use the phone as a modem to send and receive SMSs; which means I'll have to connect the phone to a PC locally (i.e USB, IR, BT etc..).
I'm looking for a solution that allows me to connect to the phone remotely over the internet (phone online on 3G) to access and send messages. A setup where there is a PC client which polls the phone periodically for new messages and a server running on the phone allowing the PC client to gain access to its messaging service. So I don't have to connect/disconnect every time when changing PCs, it will also allow me to connect even when the phone is not with me (left behind at home / car ).
Ah, I got it now!
Well, of course you could compile SMSTOOLS for your phone
Or take a look at RemoteSMS or similar apps!
Also possible to remote control your handset via vnc-server. That one has far more possibilities than remote SMS-ing...
HelloH said:
Ah, I got it now!
Well, of course you could compile SMSTOOLS for your phone
Click to expand...
Click to collapse
I’m coming from Windows development side, so pardon me for my ignorance on Linux dev. But from the little I know, you can't compile Unix/C code to Android, am I wrong ? At least not in a straightforward manner... You can only develop apps using their customized Java (Dalvic) , right
Even if its possible, I think developing an app from ground up is far more easier than trying to integrate smstools in to android. Besides, that doesn't solve my problem at all, because accessing the phone from the PC is the issue, and I don't see how running smstools on the phone is going to solve that.
HelloH said:
Or take a look at RemoteSMS or similar apps!
Also possible to remote control your handset via vnc-server. That one has far more possibilities than remote SMS-ing...
Click to expand...
Click to collapse
RemoteSMS only works over Wi-Fi and BT, no 3G support .
I guess remote desktop is one solution, but I prefer a much simpler app. Besides VNC will not send me any notifications, I have to manually check. ..
Looks like I'll have to write my own app for this . Havent done any android development yet, looks like this is going to be my first project..
Wifi Keyboard works on 3g (yes dumb but )
3G might be blocked by some carriers.
Click to expand...
Click to collapse
So it's means it can be used over 3G
PhoenixFx said:
IAnd I'm not in US, therefore I dont have access to Google Voice service, so replying through that is not going to work either.
Click to expand...
Click to collapse
You don't need to be in the US to get a Google Voice account or use it for SMS. I am in Canada and use it for SMS all the time.
See this link. Note that despite the title this will work for any country.
http://www.wifitalk.ca/iphone/howto-google-voice-in-canada/
brunes said:
You don't need to be in the US to get a Google Voice account or use it for SMS. I am in Canada and use it for SMS all the time.
See this link. Note that despite the title this will work for any country.
http://www.wifitalk.ca/iphone/howto-google-voice-in-canada/
Click to expand...
Click to collapse
Thanks, I'll give it a try. Are SMSs free for international numbers as well ?
EDIT : I don't want to login through some unknown proxy server and give out my credentials. Besides, it is not a permanent solution. another dead end
Waiting for new ideas
exadeci said:
Wifi Keyboard works on 3g (yes dumb but )
Click to expand...
Click to collapse
PhoenixFx said:
Waiting for new ideas
Click to expand...
Click to collapse
Hum ..... Have you tried it ?
PhoenixFx said:
I’m coming from Windows development side, so pardon me for my ignorance on Linux dev. But from the little I know, you can't compile Unix/C code to Android, am I wrong ? At least not in a straightforward manner... You can only develop apps using their customized Java (Dalvic) , right
Click to expand...
Click to collapse
Linux is a kernel, and Android is a Linux kernel based operating system. You can compile anything (that compiles for GNU/Linux for the given architecture) for Android/Linux as well. It will be native code however (as opposed to DALVIK, which is VM code). You have the option to cross-compile on your PC, or to compile code right on your phone. It is a command line affair... not some nice one-click task.
BTW I did not see in their own advert, that RemoteSMS would be limited to wifi... you sure? (Would be pretty weird move from them, since communicating over wifi and 3G is not really different from the programmer's point of view)
Found this today , posted on XDA : talkmyphone.
Exacly what I was looking for .
YAY!
Thank you! I have been looking for something like this because I am also behind a corporate firewall at work.

[APP] BraviaControl: Control your Sony Bravia Smart TV

Download from the Store.
I purchased a Sony Bravia KDL-40EX525 a few months ago and noticed that there were official remote control apps for Android and iPhone from Sony but, unfortunatelly, not for WP7 (not even an unofficial one). Since I own a LG Optimus 7 I got curious about this and started to develop something similar for myself, specifically because I hate using the stock remote control to enter text.
I based my work on this blog post http://blogs.msdn.com/b/andypennell...ws-phone-7-5-mango-part-1-ssdp-discovery.aspx. Many thanks to Andy Pennell for that, his post was really helpful and a great starting point.
The app requires you to be on the same network as the TV.
If you want to try this make sure the TV is ON (give it time to initialize the services. It cannot be turned on/off with this app because it has to talk to the IRCC service that is only available when the device is ON). See the screen of your TV the first time you run the app because it requires that you register your device in order to be able to iterate.
I appreciate your feedbacks, suggestions, bug report or questions that you may have.
Tested on models:
- KDL-40EX525 (mine)
- KDL-32HX758 (thanks lordmaxey)
It should work on:
- Blu-ray Disc(TM) players: BDP-S370, S470, S570, S770, S1700, BX37, BX57, S380, S480, S580, S780, BX38, BX58, S390, S490, S590, S790, BX39, BX59, NSZ-GP9
- Blu-ray Disc(TM) Home Theater Systems: BDV-IZ1000W, HZ970W, E970W, E870, E770W, E670W, E570, E470, E370, T57, F7, F700, F500, E985W, E980W, E980, E880, E780W, E580, E380, T58, L800M, L800, L600, N990W, N890W, N790W, N590, E690, E490, E385, E390, E290, E190, NF720, NF620, EF420, EF220, T79, T39
- Streaming Player/Network Media Player: SMP-N100, SMP-N200, NSZ-GP7
- AV Receiver: STR-DN1020, STR-DN1030, STR-DA1800ES
- BRAVIA: KDL-HX92 series, HX82 series, HX72 series, NX72 series, EX72 series, EX62 series, EX52 series, EX42 series, EX32 series, CX52 series, HX85 series, HX75 series, EX65 series, EX55 series
- Sony Internet TV: NSX-24GT1, 32GT1, 40GT1, 46GT1, NSZ-GT1
- VAIO: VAIO L (SVL241)
wow, awesome!
I'll try immediately when i'm home.
lordmaxey said:
wow, awesome!
I'll try immediately when i'm home.
Click to expand...
Click to collapse
Great! if you can post your TV model it will be greatly apprecciated so we can add it to the "tested list" of models.
etrosce said:
Great! if you can post your TV model it will be greatly apprecciated so we can add it to the "tested list" of models.
Click to expand...
Click to collapse
Hi there,
i've got a Sony Bravia KDL-32HX758
I'll tell you when i've tested it looking forward!
Edit:
one word: awesome!
It works great and i absolutely LOVE it!! Great work!!! Congrats!
lordmaxey said:
Hi there,
i've got a Sony Bravia KDL-32HX758
I'll tell you when i've tested it looking forward!
Edit:
one word: awesome!
It works great and i absolutely LOVE it!! Great work!!! Congrats!
Click to expand...
Click to collapse
Thanks and enjoy :good:. I've just updated the post to list the models we know it works... Hope to see more feedback here
Hi!
I wanted to try your app, but my television (w655) didn't want to agree on that.
Are you maybe willing to share the source code of the app?
Or do you want to check why it's not working?
Thanks!
mendel129 said:
Hi!
I wanted to try your app, but my television (w655) didn't want to agree on that.
Are you maybe willing to share the source code of the app?
Or do you want to check why it's not working?
Thanks!
Click to expand...
Click to collapse
Hey there,
I've been researching a little bit about it before. It looks like Sony changed completely the way to remote control in latest models, specially W series. No documentation about that. So, the only way to try to discover how it works now, is to have a W series to try with (which I do not have)
Sorry about that.
What you can do is try to discover how the new service works by yourself, so we can expand the compatibility of the App. If you are interested, I can guide you with some clues, tools and techinches I used in the past to do so.
I may open the code, I haven't even considered it but I think it's a good idea.
etrosce said:
Hey there,
I've been researching a little bit about it before. It looks like Sony changed completely the way to remote control in latest models, specially W series. No documentation about that. So, the only way to try to discover how it works now, is to have a W series to try with (which I do not have)
Sorry about that.
What you can do is try to discover how the new service works by yourself, so we can expand the compatibility of the App. If you are interested, I can guide you with some clues, tools and techinches I used in the past to do so.
I may open the code, I haven't even considered it but I think it's a good idea.
Click to expand...
Click to collapse
I've been playing with our 2013 model a couple of days now, and it seems the controls still works (compatible with 2012) but the registration process is not necessary anymore...
Anyway, if you put the code somehwere, i'll try if it works somehow
thanks!
mendel129 said:
I've been playing with our 2013 model a couple of days now, and it seems the controls still works (compatible with 2012) but the registration process is not necessary anymore...
Anyway, if you put the code somehwere, i'll try if it works somehow
thanks!
Click to expand...
Click to collapse
Sounds good, give me a couple of days to set it up and will let you know.
In the meantime, does your device description xml look like this one? http://www.upnp-database.info/device.jsp?deviceId=662 (See Description XML tab). If so, you may want to try ScalarWebAPI service on your modes. In that xml you can get some urls that will return some valuable (or not) information that may give you some clues.
Stay tunned,
Esteban
i have Klv 32EX330
how can i to make it working with this app
life25ak said:
i have Klv 32EX330
how can i to make it working with this app
Click to expand...
Click to collapse
I'm not sure you model actually supports to be remote controlled as it isn't event listed by sony as supported (see supported models above).
Does the app find your model? (be sure both are connected to the same lan)
etrosce said:
I'm not sure you model actually supports to be remote controlled as it isn't event listed by sony as supported (see supported models above).
Does the app find your model? (be sure both are connected to the same lan)
Click to expand...
Click to collapse
no doesnt
thank you so much
life25ak said:
no doesnt
thank you so much
Click to expand...
Click to collapse
Well, I'm afraid, as I said before, it does not provides de services required for remote control support. Sorry.
etrosce said:
Sounds good, give me a couple of days to set it up and will let you know.
In the meantime, does your device description xml look like this one? http://www.upnp-database.info/device.jsp?deviceId=662 (See Description XML tab). If so, you may want to try ScalarWebAPI service on your modes. In that xml you can get some urls that will return some valuable (or not) information that may give you some clues.
Stay tunned,
Esteban
Click to expand...
Click to collapse
Hey man,
so, I gathered some information, please check following xml-files
http://mendelonline.be/sony/
Also, almost all commands from vremote (http://falcosoft.hu/softwares.html) are actually working
mendel129 said:
Hey man,
so, I gathered some information, please check following xml-files
http://mendelonline.be/sony/
Also, almost all commands from vremote (http://falcosoft.hu/softwares.html) are actually working
Click to expand...
Click to collapse
Hey, sorry for the delay on sharing the code, I changed laptop and had to re-setup my dev env. Will try to have it done for the weekend.
In the meantime...I wonder what all this urls return:
http://192.168.1.54/sony/guide
http://192.168.1.54/sony/system
....
http://192.168.1.54/sony/irCommandProxy
Basically everything under <av:X_ScalarWebAPI_ServiceList> from dmr.xml. Actually, I would try any url available in that file
We should see where getRemoteCommandList api is located (together with other relevant APIs)
In previous models it was returned as a result from http://192.168.1.54/cers/ActionList.xml. It should be somewhere else now.
Also, did you confirmed that there is no registration required now at all?
Thanks!!!
etrosce said:
Hey, sorry for the delay on sharing the code, I changed laptop and had to re-setup my dev env. Will try to have it done for the weekend.
In the meantime...I wonder what all this urls return:
http://192.168.1.54/sony/guide
http://192.168.1.54/sony/system
....
http://192.168.1.54/sony/irCommandProxy
Basically everything under <av:X_ScalarWebAPI_ServiceList> from dmr.xml. Actually, I would try any url available in that file
--edit--
ok, we've got an entire json conversation going to http://ip:80/sony/system
We should see where getRemoteCommandList api is located (together with other relevant APIs)
In previous models it was returned as a result from http://192.168.1.54/cers/ActionList.xml. It should be somewhere else now.
Also, did you confirmed that there is no registration required now at all?
Thanks!!!
Click to expand...
Click to collapse
No problem, didn't had time myself
Well, there basically 2 webservers/-services running.
One nginx on tcp:80, and something else on tcp:52323 (tcp header contains: Server=Linux/2.6 UPnP/1.0 KDL-42W655A/1.7)
actionlist is "gone", but i'm trying to capture network traffic from the official sony app to figure out the new location
--edit--
ok, so there's an entire "json conversation" going on http://ip:80/sony/system
--edit2--
bingo
--edit--
send this json command:
{"id":20,"method":"getRemoteControllerInfo","version":"1.0","params":[]}
to
http://192.168.1.61/sony/system
and this comes back as return:
{"id":20,"result":[{"bundled":true,"type":"RM-J1100"},[{"name":"PowerOff","value":"AAAAAQAAAAEAAAAvAw=="},{"name":"Input","value":"AAAAAQAAAAEAAAAlAw=="},{"name":"GGuide","value":"AAAAAQAAAAEAAAAOAw=="},{"name":"EPG","value":"AAAAAgAAAKQAAABbAw=="},{"name":"Favorites","value":"AAAAAgAAAHcAAAB2Aw=="},{"name":"Display","value":"AAAAAQAAAAEAAAA6Aw=="},{"name":"Home","value":"AAAAAQAAAAEAAABgAw=="},{"name":"Options","value":"AAAAAgAAAJcAAAA2Aw=="},{"name":"Return","value":"AAAAAgAAAJcAAAAjAw=="},{"name":"Up","value":"AAAAAQAAAAEAAAB0Aw=="},{"name":"Down","value":"AAAAAQAAAAEAAAB1Aw=="},{"name":"Right","value":"AAAAAQAAAAEAAAAzAw=="},{"name":"Left","value":"AAAAAQAAAAEAAAA0Aw=="},{"name":"Confirm","value":"AAAAAQAAAAEAAABlAw=="},{"name":"Red","value":"AAAAAgAAAJcAAAAlAw=="},{"name":"Green","value":"AAAAAgAAAJcAAAAmAw=="},{"name":"Yellow","value":"AAAAAgAAAJcAAAAnAw=="},{"name":"Blue","value":"AAAAAgAAAJcAAAAkAw=="},{"name":"Num1","value":"AAAAAQAAAAEAAAAAAw=="},{"name":"Num2","value":"AAAAAQAAAAEAAAABAw=="},{"name":"Num3","value":"AAAAAQAAAAEAAAACAw=="},{"name":"Num4","value":"AAAAAQAAAAEAAAADAw=="},{"name":"Num5","value":"AAAAAQAAAAEAAAAEAw=="},{"name":"Num6","value":"AAAAAQAAAAEAAAAFAw=="},{"name":"Num7","value":"AAAAAQAAAAEAAAAGAw=="},{"name":"Num8","value":"AAAAAQAAAAEAAAAHAw=="},{"name":"Num9","value":"AAAAAQAAAAEAAAAIAw=="},{"name":"Num0","value":"AAAAAQAAAAEAAAAJAw=="},{"name":"Num11","value":"AAAAAQAAAAEAAAAKAw=="},{"name":"Num12","value":"AAAAAQAAAAEAAAALAw=="},{"name":"VolumeUp","value":"AAAAAQAAAAEAAAASAw=="},{"name":"VolumeDown","value":"AAAAAQAAAAEAAAATAw=="},{"name":"Mute","value":"AAAAAQAAAAEAAAAUAw=="},{"name":"ChannelUp","value":"AAAAAQAAAAEAAAAQAw=="},{"name":"ChannelDown","value":"AAAAAQAAAAEAAAARAw=="},{"name":"SubTitle","value":"AAAAAgAAAJcAAAAoAw=="},{"name":"ClosedCaption","value":"AAAAAgAAAKQAAAAQAw=="},{"name":"Enter","value":"AAAAAQAAAAEAAAALAw=="},{"name":"DOT","value":"AAAAAgAAAJcAAAAdAw=="},{"name":"Analog","value":"AAAAAgAAAHcAAAANAw=="},{"name":"Teletext","value":"AAAAAQAAAAEAAAA/Aw=="},{"name":"Exit","value":"AAAAAQAAAAEAAABjAw=="},{"name":"Analog2","value":"AAAAAQAAAAEAAAA4Aw=="},{"name":"*AD","value":"AAAAAgAAABoAAAA7Aw=="},{"name":"Digital","value":"AAAAAgAAAJcAAAAyAw=="},{"name":"Analog?","value":"AAAAAgAAAJcAAAAuAw=="},{"name":"BS","value":"AAAAAgAAAJcAAAAsAw=="},{"name":"CS","value":"AAAAAgAAAJcAAAArAw=="},{"name":"BSCS","value":"AAAAAgAAAJcAAAAQAw=="},{"name":"Ddata","value":"AAAAAgAAAJcAAAAVAw=="},{"name":"PicOff","value":"AAAAAQAAAAEAAAA+Aw=="},{"name":"Tv_Radio","value":"AAAAAgAAABoAAABXAw=="},{"name":"Theater","value":"AAAAAgAAAHcAAABgAw=="},{"name":"SEN","value":"AAAAAgAAABoAAAB9Aw=="},{"name":"InternetWidgets","value":"AAAAAgAAABoAAAB6Aw=="},{"name":"InternetVideo","value":"AAAAAgAAABoAAAB5Aw=="},{"name":"Netflix","value":"AAAAAgAAABoAAAB8Aw=="},{"name":"SceneSelect","value":"AAAAAgAAABoAAAB4Aw=="},{"name":"Mode3D","value":"AAAAAgAAAHcAAABNAw=="},{"name":"iManual","value":"AAAAAgAAABoAAAB7Aw=="},{"name":"Audio","value":"AAAAAQAAAAEAAAAXAw=="},{"name":"Wide","value":"AAAAAgAAAKQAAAA9Aw=="},{"name":"Jump","value":"AAAAAQAAAAEAAAA7Aw=="},{"name":"PAP","value":"AAAAAgAAAKQAAAB3Aw=="},{"name":"MyEPG","value":"AAAAAgAAAHcAAABrAw=="},{"name":"ProgramDescription","value":"AAAAAgAAAJcAAAAWAw=="},{"name":"WriteChapter","value":"AAAAAgAAAHcAAABsAw=="},{"name":"TrackID","value":"AAAAAgAAABoAAAB+Aw=="},{"name":"TenKey","value":"AAAAAgAAAJcAAAAMAw=="},{"name":"AppliCast","value":"AAAAAgAAABoAAABvAw=="},{"name":"acTVila","value":"AAAAAgAAABoAAAByAw=="},{"name":"DeleteVideo","value":"AAAAAgAAAHcAAAAfAw=="},{"name":"PhotoFrame","value":"AAAAAgAAABoAAABVAw=="},{"name":"TvPause","value":"AAAAAgAAABoAAABnAw=="},{"name":"KeyPad","value":"AAAAAgAAABoAAAB1Aw=="},{"name":"Media","value":"AAAAAgAAAJcAAAA4Aw=="},{"name":"SyncMenu","value":"AAAAAgAAABoAAABYAw=="},{"name":"Forward","value":"AAAAAgAAAJcAAAAcAw=="},{"name":"Play","value":"AAAAAgAAAJcAAAAaAw=="},{"name":"Rewind","value":"AAAAAgAAAJcAAAAbAw=="},{"name":"Prev","value":"AAAAAgAAAJcAAAA8Aw=="},{"name":"Stop","value":"AAAAAgAAAJcAAAAYAw=="},{"name":"Next","value":"AAAAAgAAAJcAAAA9Aw=="},{"name":"Rec","value":"AAAAAgAAAJcAAAAgAw=="},{"name":"Pause","value":"AAAAAgAAAJcAAAAZAw=="},{"name":"Eject","value":"AAAAAgAAAJcAAABIAw=="},{"name":"FlashPlus","value":"AAAAAgAAAJcAAAB4Aw=="},{"name":"FlashMinus","value":"AAAAAgAAAJcAAAB5Aw=="},{"name":"TopMenu","value":"AAAAAgAAABoAAABgAw=="},{"name":"PopUpMenu","value":"AAAAAgAAABoAAABhAw=="},{"name":"RakurakuStart","value":"AAAAAgAAAHcAAABqAw=="},{"name":"OneTouchTimeRec","value":"AAAAAgAAABoAAABkAw=="},{"name":"OneTouchView","value":"AAAAAgAAABoAAABlAw=="},{"name":"OneTouchRec","value":"AAAAAgAAABoAAABiAw=="},{"name":"OneTouchStop","value":"AAAAAgAAABoAAABjAw=="}]]}
mendel129 said:
No problem, didn't had time myself
Well, there basically 2 webservers/-services running.
One nginx on tcp:80, and something else on tcp:52323 (tcp header contains: Server=Linux/2.6 UPnP/1.0 KDL-42W655A/1.7)
actionlist is "gone", but i'm trying to capture network traffic from the official sony app to figure out the new location
--edit--
ok, so there's an entire "json conversation" going on http://ip:80/sony/system
--edit2--
bingo
....
Click to expand...
Click to collapse
This is all good. It would be great if we find the url that actually returns the list of APIs. Have you tried http://ip:80/sony/system to see what it returns in the browser?
etrosce said:
This is all good. It would be great if we find the url that actually returns the list of APIs. Have you tried http://ip:80/sony/system to see what it returns in the browser?
Click to expand...
Click to collapse
just browsing to the "site" just gives an empty page...
it only reply's on json requests
all commands i've found so far are from capturing traffic from my android tablet
check here: http://mendelonline.be/sony/sony.txt
further, the "register" function exists, but it not really necesarry...
i noticed the sony tablet app registering, but i can just send commands from upnpspy directly from my pc without registering...
another thingy: wol is just basic wake on lan
I received an email from the creator of the windows app that works for our 2013 model bravia. (http://falcosoft.hu/softwares.html#sony_virtual_remote)
Hi,
I would like to share my experiences with you, maybe it can help in the
investigation of the new API structure.
1. The registered status is not required in 2011/12 Sony TV models either to
send pure IRCC SOAP messages (or use the X_SendIRCC UPnP service) .
2. The registered status is required to get meaningful response from url
based API functions (e.g sendText, getText, getRemoteCommandList etc..)
So just an idea: You should try to test these new URL based commands with a
registered status. To achieve this:
1. You should make a new registration and send these data with your browser
2. Use an existing registration e.g. Falcosoft's Sony Virtual Remote and
send the program's data with your browser.
I suggest to use Firefox with Modify Headers plugin. For option 2 here are
the required header fields:
'X-CERS-DEVICE-ID' -> 'vaio:11111111-D7A0-11DD-119C-6D990C3C4529' ;
'X-CERS-DEVICE-INFO' -> 'falco_virtual_remote' ;
Best Regards:
Zoltán Bacskó
Falcosoft
Ps: If you can ask the topic owner to authorize my xda-developers account to
send posts to this topic I would be grateful. My new xda-developers account
is 'Falcosoft'
mendel129 said:
I received an email from the creator of the windows app that works for our 2013 model bravia. (http://falcosoft.hu/softwares.html#sony_virtual_remote)
Hi,
I would like to share my experiences with you, maybe it can help in the
investigation of the new API structure.
1. The registered status is not required in 2011/12 Sony TV models either to
send pure IRCC SOAP messages (or use the X_SendIRCC UPnP service) .
2. The registered status is required to get meaningful response from url
based API functions (e.g sendText, getText, getRemoteCommandList etc..)
So just an idea: You should try to test these new URL based commands with a
registered status. To achieve this:
1. You should make a new registration and send these data with your browser
2. Use an existing registration e.g. Falcosoft's Sony Virtual Remote and
send the program's data with your browser.
I suggest to use Firefox with Modify Headers plugin. For option 2 here are
the required header fields:
'X-CERS-DEVICE-ID' -> 'vaio:11111111-D7A0-11DD-119C-6D990C3C4529' ;
'X-CERS-DEVICE-INFO' -> 'falco_virtual_remote' ;
Best Regards:
Zoltán Bacskó
Falcosoft
Ps: If you can ask the topic owner to authorize my xda-developers account to
send posts to this topic I would be grateful. My new xda-developers account
is 'Falcosoft'
Click to expand...
Click to collapse
Interesting fact that that app works for you. I think this is because that app uses some hardcoded data by default while BraviaControl completely relies on the APIs exposed by the services. It looks like some APIs where left there "hidden" for backward compatibility purposes. I think we should try something like: Cannot find the APIs?, try to force the use. In your case, it may partially (or completely, why not?) work.
Anyway, all that json conversation looks like to be the new way to comunicate with the TV, so, it will be nice to implement that sometime too.
Thanks! I have already set up the code in the cloud. Will be sending the details on how to access it soon (Sorry, I don't currently have very much time free for this project, so bear with me )

[DEV] Intercept chromecast whitelist with MITM (and update)

Hi All,
I've just managed to successfully intercept and change the whitelist for a flashed chromecast.
Steps:
Load custom cert onto device (replace nssdb with custom one) - nssdb I used and certs available here https://mega.co.nz/#!05wmDR4T!OMkBXwfO9D1wktt2bQpSwjNZ_Y9PB8q_Ryk3zSx4k1c
Load MITM on a linux host, route default gateway at linux host.
Route just google range towards MITM (so nothing else gets caught and just gets redirected)
iptables -t nat -A PREROUTING -p tcp -s 192.168.178.146 -m iprange --dst-range 74.125.237.0-74.125.237.255 -j REDIRECT --to-port 8080
load mitmproxy with
"mitmproxy -T --host -s chromefree.py"
chromefree.py is available https://mega.co.nz/#!doJX1YDS!TT3lolbgXta24QOpbj40PBAYRetZkH1s9cIvQBslBN8
note that chromefree.py refrences json.dat (which requires a gzip'd json file)
example json files are available here https://mega.co.nz/#!ghwAEI7D!a-HwECm4w_8XKfdaaZOLgFrVTx9B8xLMOYJchi1PAUY
(with this I redirected youtube to a local news site, so attempting to cast to youtube pulls up stuff.co.nz)
Appears to work well, here's a picture of my TV running the revision 3 app
http://i.imgur.com/nhLI0oC.jpg
While I applaud this news, this could likely be the reason why Google has been slow to throw the doors open. The big name media providers are probably really leaning on Google to make sure these kinds of hacks can't possibly take place.
While everyone knows that no system is infallible, I'm sure that Google is under pressure to make sure that the device is as airtight as it can possibly be, and then some, before permitting the SDK to be formally released to the public.
mkhopper said:
While I applaud this news, this could likely be the reason why Google has been slow to throw the doors open. The big name media providers are probably really leaning on Google to make sure these kinds of hacks can't possibly take place.
While everyone knows that no system is infallible, I'm sure that Google is under pressure to make sure that the device is as airtight as it can possibly be, and then some, before permitting the SDK to be formally released to the public.
Click to expand...
Click to collapse
Do you really think that people would be spending so much time trying to circumvent the whitelisting if the content was available from the get go. I was very optimistic at the start but losing patience now. I bought three and was ready to buy more, but will wait and see what happens. Don't want to invest more money and time into something that might not have a future. It is sad because it has the unprecedented potential for so many different uses.
Can this be dumbed down for the newbs
ramirez3805 said:
Can this be dumbed down for the newbs
Click to expand...
Click to collapse
I plan to have a service available for rooted chromecast in the next few days that allows access to non-google approved applications.
Kyonz said:
I plan to have a service available for rooted chromecast in the next few days that allows access to non-google approved applications.
Click to expand...
Click to collapse
Cant wait!!!:good:
networx2002 said:
Cant wait!!!:good:
Click to expand...
Click to collapse
You don't have to! I just released last night http://forum.xda-developers.com/showthread.php?t=2516164
Kyonz said:
Appears to work well, here's a picture of my TV running the revision 3 app
http://i.imgur.com/nhLI0oC.jpg
Click to expand...
Click to collapse
What did you use as the sender app?
so i have a question how do you load up an app for use in chromecast now that i have done this ? sorry for sounding so noobish but just wondering.
ahecht said:
What did you use as the sender app?
Click to expand...
Click to collapse
I used the demo html app sender to launch it (sorry not entirely sure on the name as I haven't started developing for chromecast yet). I'd really like to see someone try to reverse engineer the data that the receivers require and build apps out for these though.
BurnOmatic said:
so i have a question how do you load up an app for use in chromecast now that i have done this ? sorry for sounding so noobish but just wondering.
Click to expand...
Click to collapse
This really is a DEV thread in that it provided the exploit for chromecast, app launching would be through the demo dev apps - please check out Kyocast (http://forum.xda-developers.com/showthread.php?t=2516164) if you haven't and note that there are better things coming
Kyonz said:
I used the demo html app sender to launch it (sorry not entirely sure on the name as I haven't started developing for chromecast yet). I'd really like to see someone try to reverse engineer the data that the receivers require and build apps out for these though.
Click to expand...
Click to collapse
I must be dense, as I can't make heads or tails of the Chromecast API (I usually can't understand Google's documentation for the Android API either, but there are plenty of third-party resources for that). What do you use for Launch Parameters in the demo app?
Which boot loader number is vulnerable ? I can#t find the infos :/
12alex21 said:
Which boot loader number is vulnerable ? I can#t find the infos :/
Click to expand...
Click to collapse
Only build 12072 has a vulnerable bootloader. You have to boot into the stock OS and set the Chromecast up (on a Wi-Fi network which doesn't connect to the internet or else it will update automatically) to check the build number.

Where the chromecast gets its app list?

So the official SDK is released! But the app list doesn't seem to come from: https://clients3.google.com/cast/chromecast/device/config anymore.
I've looked around some and there doesn't seem to be any documentation of how the new configs are being retrieved and even how the serial information from the chromecast is being transmitted either. I know it's definitely not the old config URL anymore because that doesn't list new apps like AllCast which works on my chromecast perfectly fine. Anyone know how the new app list is constructed?
nano351 said:
So the official SDK is released! But the app list doesn't seem to come from: https://clients3.google.com/cast/chromecast/device/config anymore.
I've looked around some and there doesn't seem to be any documentation of how the new configs are being retrieved and even how the serial information from the chromecast is being transmitted either. I know it's definitely not the old config URL anymore because that doesn't list new apps like AllCast which works on my chromecast perfectly fine. Anyone know how the new app list is constructed?
Click to expand...
Click to collapse
Are you rooted or stock?
If you're rooted, probably you are using the Team Eureka whitelist which is the Google whitelist + Team Eureka.
You can go into the web panel and switch to the Google whitelist if you want to test.
bhiga said:
Are you rooted or stock?
If you're rooted, probably you are using the Team Eureka whitelist which is the Google whitelist + Team Eureka.
You can go into the web panel and switch to the Google whitelist if you want to test.
Click to expand...
Click to collapse
So I'm using stock but the reason why I'm interested is that I'm the author of a chromecast receiver emulator with the goal of allowing any device that can run desktop chrome can run this app and be a chromecast receiver. However, the method by which a chromecast builds its app list isn't as simple as querying https://clients3.google.com/cast/chromecast/device/config since that doesn't contain all the apps that are available on the device and I've never found any documentation about how the serial of the device is transmitted
Rooted Chromecast takes application list from here:
http://pwl.team-eureka.com/applist.php
nano351 said:
So I'm using stock but the reason why I'm interested is that I'm the author of a chromecast receiver emulator with the goal of allowing any device that can run desktop chrome can run this app and be a chromecast receiver. However, the method by which a chromecast builds its app list isn't as simple as querying https://clients3.google.com/cast/chromecast/device/config since that doesn't contain all the apps that are available on the device and I've never found any documentation about how the serial of the device is transmitted
Click to expand...
Click to collapse
Ahh, I see. You're beyond my knowledge. Maybe @Team-Eureka can help.
nano351 said:
So I'm using stock but the reason why I'm interested is that I'm the author of a chromecast receiver emulator with the goal of allowing any device that can run desktop chrome can run this app and be a chromecast receiver. However, the method by which a chromecast builds its app list isn't as simple as querying https://clients3.google.com/cast/chromecast/device/config since that doesn't contain all the apps that are available on the device and I've never found any documentation about how the serial of the device is transmitted
Click to expand...
Click to collapse
What apps do you think are missing from the list returned in the json.txt?
It seems like they are all there to me....
Asphyx said:
What apps do you think are missing from the list returned in the json.txt?
It seems like they are all there to me....
Click to expand...
Click to collapse
Which app corresponds to AllCast by Koushik Dutta? https://play.google.com/store/apps/details?id=com.koushikdutta.cast
Also the homescreen app in that url points to: https://clients3.google.com/cast/chromecast/home?chs=1
Whereas the current official homescreen is at: https://clients3.google.com/cast/chromecast/home/v/c9541b08
nano351 said:
Which app corresponds to AllCast by Koushik Dutta? https://play.google.com/store/apps/details?id=com.koushikdutta.cast
Also the homescreen app in that url points to: https://clients3.google.com/cast/chromecast/home?chs=1
Whereas the current official homescreen is at: https://clients3.google.com/cast/chromecast/home/v/c9541b08
Click to expand...
Click to collapse
Well the Homescreen stuff is built into the ROM I'm pretty sure.
As for AllCast are we sure he is using a Player App that gets loaded to the CCast or is he merely sending a link to directly connect to the unit running Allcast?
Koush would be the best one to answer that.
nano351 said:
Which app corresponds to AllCast by Koushik Dutta? https://play.google.com/store/apps/details?id=com.koushikdutta.cast
Also the homescreen app in that url points to: https://clients3.google.com/cast/chromecast/home?chs=1
Whereas the current official homescreen is at: https://clients3.google.com/cast/chromecast/home/v/c9541b08
Click to expand...
Click to collapse
If I were you I'd go for:
android SDK sources
https://www.youtube.com/watch?v=Qsw9Ogb6t4Y#t=92
https://developers.google.com/cast/docs/sender_apps
https://developers.google.com/cast/docs/receiver_apps
https://developers.google.com/cast/android/reference/com/google/android/gms/cast/package-summary
and then is not satisfied contact Team-Eureka [email protected]
Eventually:
Reverse android apk code of allcast(this tool is widely discussed on xda):
https://code.google.com/p/android-apktool/
Look at posted sourcecode:
https://github.com/googlecast/
https://code.google.com/p/chromecast-mirrored-source/
https://github.com/team-eureka/
Also if you are really bored you can sniff communication between Chromecast and any app for instance AllCast with wireshark on linux distro.
So I talked to one of the Team Eureka members and he gave me some very useful information.
The current URL for looking up available apps is this:
https://clients3.google.com/cast/chromecast/device/baseconfig
The response is the same format s the old URL except this one has an extra field in it called "enabled_app_ids". This is a list of IDs that the chromecast device should show as existing. Once the app is requested to load, the metadata for the app is loaded from:
https://clients3.google.com/cast/chromecast/device/app?a={appid}
where {appid} is the id of the app.
It seems google opted for this to increase the number of apps that can be loaded into the manifest before they reach the limit
nano351 said:
So I talked to one of the Team Eureka members and he gave me some very useful information.
The current URL for looking up available apps is this:
https://clients3.google.com/cast/chromecast/device/baseconfig
The response is the same format s the old URL except this one has an extra field in it called "enabled_app_ids". This is a list of IDs that the chromecast device should show as existing. Once the app is requested to load, the metadata for the app is loaded from:
https://clients3.google.com/cast/chromecast/device/app?a={appid}
where {appid} is the id of the app.
It seems google opted for this to increase the number of apps that can be loaded into the manifest before they reach the limit
Click to expand...
Click to collapse
Nano, which computer app project are you working on? Leapcast or another one?
Is there a stock list?
joshmmo said:
Is there a stock list?
Click to expand...
Click to collapse
Not in human readable form so far as I know, so I parsed the file linked above, maybe this is sort of readable -
Code:
"app_id":"00000000-0000-0000-0000-000000000000","url":"chrome://home?remote_url\u003dhttps%3A%2F%2Fclients3.google.com%2Fcast%2Fchromecast%2Fhome%3Fchs%3D1"
"app_id":"06ee44ee-e7e3-4249-83b6-f5d0b6f07f34","url":"http://plexapp.com/chromecast/qa/index.html"
"app_id":"06ee44ee-e7e3-4249-83b6-f5d0b6f07f34_1","url":"http://plexapp.com/chromecast/production/index.html"
"app_id":"1812335e-441c-4e1e-a61a-312ca1ead90e","url":"http://api.viki.io/mobile/receiver.html"
"app_id":"18a8aeaa-8e3d-4c24-b05d-da68394a3476_1","url":"http://www.beyondpod.mobi/android/chromecast/prod.aspx"
"app_id":"2be788b9-b7e0-4743-9069-ea876d97ac20","url":"http://vevo.com/googlecastplayer"
"app_id":"CC1AD845","url":"https://www.gstatic.com/eureka/player/player.html?skin\u003dhttps://www.gstatic.com/eureka/player/0000/skins
"app_id":"ChromeCast","url":"https://www.gstatic.com/cv/receiver1.html?${POST_DATA}"
"app_id":"GoogleMusic","url":"https://play.google.com/music/cast/player"
"app_id":"GoogleSantaTracker","url":"http://www.gstatic.com/santatracker_chromecast_receiver/santacast.html"
"app_id":"HBO_App","url":"https://devicecast.hbogo.com/chromecast/player.html?${POST_DATA}"
"app_id":"Hulu_Plus","url":"https://secure.hulu.com/dash/chromecast_player?${POST_DATA}"
"app_id":"Netflix"
"app_id":"Pandora_App","url":"https://tv.pandora.com/cast?${POST_DATA}"
"app_id":"PlayMovies","url":"https://play.google.com/video/avi/eureka?${POST_DATA}"
"app_id":"Post_TV_App","url":"http://rcvr.washingtonpost.com/Receiver/index.html?${POST_DATA}"
"app_id":"Revision3_App","url":"http://revision3.com/receiver/revision3"
"app_id":"Songza_App","url":"http://songza.com/devices/google-cast/receiver/1/"
"app_id":"TicTacToe","url":"http://www.gstatic.com/eureka/sample/tictactoe/tictactoe.html"
"app_id":"YouTube","url":"https://www.youtube.com/tv?${POST_DATA}"
"app_id":"a7f3283b-8034-4506-83e8-4e79ab1ad794_2","url":"http://chromecast.real.com/cloudcast.html"
"app_id":"aa35235e-a960-4402-a87e-807ae8b2ac79","url":"http://receiver.aviatheapp.com/"
"app_id":"edaded98-5119-4c8a-afc1-de722da03562","url":"http://chromecast.redbull.tv/receiver.php"
I just kinda winged that. Maybe not complete. I'm not seeing BubbleUPnP or RemoteCast or RealPlayer Cloud or Allcast and maybe a few others. Or if they're there, I'm blind and what else is new.
You can search the Play Store for Chromecast or maybe check out https://play.google.com/store/apps/details?id=goko.gcs
Averix said:
Nano, which computer app project are you working on? Leapcast or another one?
Click to expand...
Click to collapse
I'm not working on leapcast. Mine is called CR Cast. It's designed as a chrome packaged app, but I haven't been able to figure out the casts:// protocol that is used by the new chromecast API
EarlyMon said:
Not in human readable form so far as I know, so I parsed the file linked above, maybe this is sort of readable -
snip snip snip
I just kinda winged that. Maybe not complete. I'm not seeing BubbleUPnP or RemoteCast or RealPlayer Cloud or Allcast and maybe a few others. Or if they're there, I'm blind and what else is new.
You can search the Play Store for Chromecast or maybe check out https://play.google.com/store/apps/details?id=goko.gcs
Click to expand...
Click to collapse
this one:
Code:
"app_id":"a7f3283b-8034-4506-83e8-4e79ab1ad794_2","url":"http://chromecast.real.com/cloudcast.html"
is for real player. Although for apps that have been published post public SDK launch you have to look up their details via the method described by a post earlier in this thread by me
I see.
I saw your reference but didn't employ actual reading. Adding in one of the IDs at random from your supplied link yields -
{"display_name":"TestCustom","uses_ipc":true,"app_id":"FF4499FC","url":"https://phdesign.com.br/guilherme/receiver/"}
Got it, very useful, thanks!

I need working ssh client

Hi
My phone lumia 930 so windows 8.1
I have seen on US market is Putty, unfortunately cannot download it because stay in uk
I tried to change region for US in phone but doesn't work
Anyone have idea how to install apps from other country app store or know working ssh client which will connect with my qnap nas server?
There's lots of WP SSH clients. I haven't tested them all on 8.1, but they should work. Have you considered just checking the store for "ssh"?
The one I use is called "The SSH Client". The free version works quite well, although there's a paid version with more features.
Yeah, there is few of them and some working but in lan only.
If I'm trying get connected from outside my lan will revive only : This port is not supported by ssh.
Port is properly redirected but different as standard.
Any way it shouldn't be a problem I have putty on my windows rt and connecting without any problems.
wojtas29 said:
Yeah, there is few of them and some working but in lan only.
If I'm trying get connected from outside my lan will revive only : This port is not supported by ssh.
Port is properly redirected but different as standard.
Any way it shouldn't be a problem I have putty on my windows rt and connecting without any problems.
Click to expand...
Click to collapse
Well if you're familiar with SSH then you must of heard about PUTTY , so i'm happy to inform you that there is a working WP8 version of PUTTY, for now it's in closed beta, but you can be part of it, just be sure to drop the developer an email( the default MS account on the device ) for beta access at [email protected]
Can confirm eventhou it's still in beta it's working like a charm.
PROOF : PUTTY
Any decent SSH client, including the one I recommended, supports custom ports... but hey, that PuTTY looks pretty good too!
GoodDayToDie said:
Any decent SSH client, including the one I recommended, supports custom ports... but hey, that PuTTY looks pretty good too!
Click to expand...
Click to collapse
Well it's more than an ssh client, it supports also raw, telnet and rlogin connection types.
VSparxx said:
Well it's more than an ssh client, it supports also raw, telnet and rlogin connection types.
Click to expand...
Click to collapse
Indeed it is. I'm the developer behind the PuTTY port, glad to see it getting some love. Tunnelling is supported in the latest version but still has a few bugs to iron out and I am also working on support for serial over bluetooth too
noggin182 said:
Indeed it is. I'm the developer behind the PuTTY port, glad to see it getting some love. Tunnelling is supported in the latest version but still has a few bugs to iron out and I am also working on support for serial over bluetooth too
Click to expand...
Click to collapse
Hi...great to see some input from the dev., I'm an system admin and rely heavily on your app. so thank you for bringing this awesome tool to WP.
Also maybe it's time to make the app public, as I don't have any problems with it, so general everyone should be fine with it.
Many thanks again.
VSparxx said:
Also maybe it's time to make the app public, as I don't have any problems with it, so general everyone should be fine with it.
Click to expand...
Click to collapse
Yup, there are a few things that need sorting out. For some people it occasionally crashes when they connect and it's related to loading the sound files used for the system beep and the keyboard clicks. I've not been able to get to the bottom of that yet but the next minor update has some improved crash reporting which should help.
There is also a few people experiencing some problems whilst tunnelling.
I can't reproduce either of this bugs though in the emulator or any of my phones. Once they're sorted though I should be taking it public
noggin182 said:
Yup, there are a few things that need sorting out. For some people it occasionally crashes when they connect and it's related to loading the sound files used for the system beep and the keyboard clicks. I've not been able to get to the bottom of that yet but the next minor update has some improved crash reporting which should help.
There is also a few people experiencing some problems whilst tunnelling.
I can't reproduce either of this bugs though in the emulator or any of my phones. Once they're sorted though I should be taking it public
Click to expand...
Click to collapse
Neither of those affected me, maybe poor net signal is the culprit of tunnelling errors.
Can I really view internal system files using SHSH client on WP? I own Lumia 920.
No, you would need an SSH *server* for that. I don't have one of those (although it should be possible to write or port one), but an FTP / Telnet server is pretty easy.
Alternatively, you can use the Webserver app in my signature.
Note that in either case, this will let you browse only small parts of the file system (the Windows directory and the application's own directories). The AllCapabilities version of the webserver has more access (it can see other apps, your documents and media folders, OEM folders, and the entire SD card), but is still restricted. You need capability-unlock (usually means a Samsung phone) to install the AppCaps version of the app.

Categories

Resources