[Q] Rsync - Galaxy S I9000 Q&A, Help & Troubleshooting

Hi
how would I go about getting rsync on to my SGS. want to team it up with tasker to backup my sdcard directory when i am at home automatically
Alex

+1
Wow! That's a nice idea!

http://code.google.com/p/rsyncdroid/
Is this any use?
This could be a great idea.

found this too http://android.modaco.com/content/htc-hero-hero-modaco-com/299984/linux-tools-coming-to-mcr/
And even better? Possible unison port http://sites.google.com/site/keigoattic/ocaml-on-android

Yeah! I posted this already here: http://forum.xda-developers.com/showthread.php?p=8146099#post8146099 would be great to have this on phone.

What's next? Having linux on the device?!
It's a pity we cannot run a traditional linux on such powerful devices.
Sent from my GT-I9000 using XDA App

kevo said:
http:code.google.com/p/rsyncdroid/
Is this any use?
This could be a great idea.
Click to expand...
Click to collapse
Mykron said:
Yeah! I posted this already here: REMOVED URL would be great to have this on phone.
Click to expand...
Click to collapse
kevo said:
REMOVED URL
Is this any use?
This could be a great idea.
Click to expand...
Click to collapse
Mykron said:
Yeah! I posted this already here: REMOVED URL would be great to have this on phone.
Click to expand...
Click to collapse
Thanks, I looked at this, unfortunately, it looks like a server only - no client bit - I could be wrong though. So yeah I could send a http request that started my rsync, but I would rather push then pull the info.
kevo said:
REMOVED URL
Is this any use?
This could be a great idea.
Click to expand...
Click to collapse
Mykron said:
Yeah! I posted this already here: REMOVED URL would be great to have this on phone.
Click to expand...
Click to collapse
kevo said:
found this too REMOVED URL
And even better? Possible unison port REMOVED URL
Click to expand...
Click to collapse
I will have to have look, unison would be good, but I only what a one way sync, if I can get bash (or sh) and rsync I can then setup up some history information for the backups as well, then keep the last say 30 or 40.
Alex

Crazy, I started thinking about doing this today too (but for syncing my Music) and searching Google, and someone @ XDA posted a thread about it... today! I don't know if this is any help, but here is where I am at:
I've loaded this Locale plugin into Tasker no problem, and it apparently is running correctly
It looks like the only way to do this will be to set up private keys so the rsync commmand isn't looking for password etc. But every preliminary run i've tried so far has failed for one reason or another. I don't know if the best way is to initiate the rsync from the server via HTTP GET from Tasker or to try and run rsync directly from the phone with the plugin.. I'm just not that good with rsync yet.
I plan on spending more time with this tomorrow because i think this is something that a lot of people would be interested in, i'll post here and in the N1 thread anything I find..

crachel said:
Crazy, I started thinking about doing this today too (but for syncing my Music) and searching Google, and someone @ XDA posted a thread about it... today! I don't know if this is any help, but here is where I am at:
I've loaded URL Locale plugin into Tasker no problem, and it apparently is running correctly
It looks like the only way to do this will be to set up private keys so the rsync commmand isn't looking for password etc. But every preliminary run i've tried so far has failed for one reason or another. I don't know if the best way is to initiate the rsync from the server via HTTP GET from Tasker or to try and run rsync directly from the phone with the plugin.. I'm just not that good with rsync yet.
I plan on spending more time with this tomorrow because i think this is something that a lot of people would be interested in, i'll post here and in the N1 thread anything I find..
Click to expand...
Click to collapse
Cool, where did you get rsync onto the phone. I was thinking it should actually be part of busybox, going to work out how to get that changed to handle it.
so your problem might be you are missing a ssh client - usually dropbear for these environments.

KeyzerSuze said:
Cool, where did you get rsync onto the phone. I was thinking it should actually be part of busybox, going to work out how to get that changed to handle it.
so your problem might be you are missing a ssh client - usually dropbear for these environments.
Click to expand...
Click to collapse
My apologies, in my excitement in finding someone else trying this it didn't even don on me that we had different devices (N1)..
If you've got root, maybe you can install Titanium Backup as its got an option to install busybox?

Ok, I made progress.
I was using adbWireless (in my sig) to run shell commands on my phone since typing the rsync command with Android keyboard sucks. However, I think I ran into one of the limitations of the app, when my server would return asking for a yes/no question and then password, I couldn't type anything in.
So I downloaded QuickSSHd from Market to get proper putty access to the phone and was able to successfully rsync with my server (using password) with this command:
Code:
rsync -vaz -e 'ssh -p (port)' [email protected]:/remote/dir /this/dir/
where (port) is where my server listens for SSH
Now, I just need to setup keys and then configure Tasker and I should be good to go..

So are you initiating the rsync from your desktop, or have you got rsync running on the phone? I'm not quite sure which way round you've managed to do it?

Related

Is it possible to access G1 SD drive over WiFi?

I would like to access my G1 SD drive over WiFi to transfer files. Is this possible?
try aFile in market
wrong section?
I bet we could get Samba running on this thing pretty easily
I like this app called Discover. Gives you a web interface to your phone's filesystem.
kiddyfurby said:
try aFile in market
wrong section?
Click to expand...
Click to collapse
crap, i clicked on the wrong forum when posting.
Thanks for the replies.
Thanks
aFile works great.
BTW, aFile was formerly Discover.
cyanogen said:
I bet we could get Samba running on this thing pretty easily
Click to expand...
Click to collapse
Please please do
had a few mate of mine going wow when i showed them this
Cross-compiling Samba is a major pain in the ass! Going to try to get it working though.
i think ftp / scp will be much simplier...
btw you can mount the device as a webdev share if you use afile
In the marketplace, download OM ANTuner. It's excellent! It currently only allows downloads thru your computer browser, and I sent a request for the dev to include read and write capability to and from the android, also compatibility over GPRS/EDGE/3G. I was getting 800-1000Kb/sec transfer speeds!
andonnguyen said:
In the marketplace, download OM ANTuner. It's excellent! It currently only allows downloads thru your computer browser, and I sent a request for the dev to include read and write capability to and from the android, also compatibility over GPRS/EDGE/3G. I was getting 800-1000Kb/sec transfer speeds!
Click to expand...
Click to collapse
aList has been working great for me the pass couple of days. Its really slick how fast it works and its easy to use.
Does OM ANTuner do anything that aList doesnt?
I'm using SwiFTP
Set my home router to always give me the same DHCP reservation.. I then use a good FTP client (On a Mac so I use Cyberduck)... basically just start SwiFTP's server and have the FTP client connect... brain dead simple.
Use it to transfer my iTunes music (non DRM tracks) from iTunes to a folder then drag to Cyberduck and other files.
There's a new app that showed up in the market over the past day or two search by date. It's an obvious name but seems to be read only.
Om sdcard wifi access is what it is called.

Guide: Using Android Without a Data Plan - Getting Apps, Moving Contacts, and More

aa
thanks for the guide! ive been looking all over for something like this
its totally worth switching to android now with the market apps
Guide Stuck! Thanks for this.
usb outlook sync
here's a possible usb sync solution for outlook users; it's pretty expensive though ($40, 15 day trial version), and I haven't tried it since my vouge is not activated atm.
http ://www .companionlink.com/androidusb/ol-android-usb.html
(spaces in link for newbie post)
Would this work with the vogue's usb driver?? I know i've read about issues with only parts of the usb driver being implemented.
Anyway there's a trial if anyone's interested. I'm still holding out for a "reverse tethering" solution so I can access the internet on my vogue over usb or bluetooth. There's another thread on here about that.
Great work on the guide. I'm sure I might be using it when I upgrade to a new phone in the near future
this is a great guide, thanks. i am due for upgrade around december and think that i will keep my 6900 in service- not sure as to what she will do,but ill figure out something
this gives me the opportunity to keep her at full service.
thanks again
What are you guys doing for a calendar.
Was there ever a way discovered to use the google calendar?
aa
I'm having trouble with Titanium Backup. It keeps on saying that the emulator needs to be rooted to be used, so how would I get it to work?
th3lolz said:
In the comments on my site trackstarboi said that this was good, but I have yet to try it:
http://www.androlib.com/android.application.jp-co-johospace-jorte-iwqp.aspx
Click to expand...
Click to collapse
I recently found ancal http://code.google.com/p/ancal/wiki/AnCal
and it seems to be working for me. I've tried jorte, didn't care for it.
It would still be ideal to use the google calendar, because of the widgets it has etc.
th3lolz said:
6. The apps you backup will be backed up to /sdcard/backups/apps/
7. You can use one of the following adb commands to pull these files from the emulator:
adb pull /sdcard/backups/apps/ /AndApps
This will download all of your backed up apps to a folder on your root drive called AndApps
or
adb pull /sdcard/backups/apps/<NAME OF APK>.apk /AndApps/<NAME OF APK>.apk
This will copy a single apk of your choosing to /AndApps/
Click to expand...
Click to collapse
I don't quite get this part, where do i put in adb pull /sdcard/backups/apps/ /AndApps
my emulator is stuck on the boot screen....im running the one from the accessmarket.rar
If anyone is using this on a Mac, I would love to know how you go about setting it up and using this accessmarket.avd
I can run the emulator but I can't seem to be able to figure out how to Import? this package
aa
aa
aa
aa
Good work
Thanks for the guide. Very helpful.
th3lolz said:
You have to place it in the directory stated by the sdk documentation for Mac:
If it works for you, post it here and I'll update the guide for mac users too. I'm not really sure what you'd do with the .ini though, perhaps a mac user can tell you that (or you could create an avd through SDK setup and upload your avd folder so I can look at it)
Click to expand...
Click to collapse
Thank you for the reply. I did copy the avd to my .android folder on Mac, but the emulator doesn't see it. I am a fairly new Mac user as well, so not too much help from here
aa

[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.

How to start custom app via http

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.

Categories

Resources