Re: [b2g] Save/restore feature

2014-03-24 Thread Yuan Xulei(袁徐磊)
Hi all, We create a demo tool for this. It allows user to manage, backup and restore data (such as contacts, sms, pictures, music...) of a Firefox OS 1.3 phone from a host computer. For details and screenshots, see:http://1drv.ms/1fUzBbk The tool is composed of a host application running in

Re: [b2g] Save/restore feature

2013-07-09 Thread hong tang
Hi Fabrice, Basically our requirement is from China local partners. Everyone is asking for Wandoujia liked product, which is Andoid mobile user assistent and commonly used here in China market. The major effort for this tool will be on PC side, not only backup/restore information, user can a

Re: [b2g] Save/restore feature

2013-07-09 Thread Julien Wajsberg
Le 08/07/2013 18:43, Fabrice Desre a écrit : > 2. On the PC side(Windows/Linux/Mac), we implemented a Firefox addon > as the host application. Basically user needs to install the addon and > bring up the management interface on Firefox. The addon forwards the > remote port 10010 to local port 10010

Re: [b2g] Save/restore feature

2013-07-09 Thread Panos Astithas
I know that Brian Smith and Tanvi Vyas from our security team had done some research on authentication and authorization solutions for the remote debugging protocol (which we haven't implemented yet) that included protocols like ZRTP and J-PAKE. It would be a good idea to talk to them about this.

Re: [b2g] Save/restore feature

2013-07-09 Thread Shih-Chiang Chien
For WebRTC, we can use any kinds of medium to deliver the SDP between host and device. It's not necessary to have a extra server for it. So for example, we could read the SDP from a QR code via camera. Best Regards, Shih-Chiang Chien Mozilla Taiwan On Jul 9, 2013, at 3:00 PM, Yuan Xulei wrote:

Re: [b2g] Save/restore feature

2013-07-09 Thread Thinker K.F. Li
For pairing, it includes two features. - Service Discovery -- find each other. - Authentication & Authorization. UPnP is an obvious solution for service discovery. For authentication and authorization, it can be a plain password or a 2D bar code. "Kan-Ru Chen (陳侃如)" writes: > Yuan Xulei wr

Re: [b2g] Save/restore feature

2013-07-09 Thread Yuan Xulei
On 07/09/2013 01:11 PM, Kan-Ru Chen (陳侃如) wrote: Or use WebRTC! Isn't it provides a way to communicate between clients? Connection over wifi has to handle NAT traversal and setup the peers which has been resolved by WebRTC. Kanru WebRTC seems a little complicated. If I'm not wrong, it needs an

Re: [b2g] Save/restore feature

2013-07-08 Thread Fabrice Desre
On 07/08/2013 10:11 PM, Kan-Ru Chen (陳侃如) wrote: > Or use WebRTC! Isn't it provides a way to communicate between clients? > Connection over wifi has to handle NAT traversal and setup the peers > which has been resolved by WebRTC. Yep, very good idea! Fabrice -- Fabrice Desré b2g team M

Re: [b2g] Save/restore feature

2013-07-08 Thread 陳侃如
Yuan Xulei writes: > On Tue 09 Jul 2013 12:31:13 PM CST, Fabrice Desre wrote: >> On 07/08/2013 09:14 PM, Thinker K.F. Li wrote: >>> I think BT is a very poor and slow option. >>> WIFI is much better than BT if want to backup data wirelessly. >>> With WIFI, we have much more protocols in the list;

Re: [b2g] Save/restore feature

2013-07-08 Thread Yuan Xulei
On Tue 09 Jul 2013 12:31:13 PM CST, Fabrice Desre wrote: On 07/08/2013 09:14 PM, Thinker K.F. Li wrote: I think BT is a very poor and slow option. WIFI is much better than BT if want to backup data wirelessly. With WIFI, we have much more protocols in the list; ex. WebDAV. Sure Wifi is faster

Re: [b2g] Save/restore feature

2013-07-08 Thread Fabrice Desre
On 07/08/2013 09:14 PM, Thinker K.F. Li wrote: > I think BT is a very poor and slow option. > WIFI is much better than BT if want to backup data wirelessly. > With WIFI, we have much more protocols in the list; ex. WebDAV. Sure Wifi is faster and overall more flexible, but do we have a nice way to

Re: [b2g] Save/restore feature

2013-07-08 Thread Thinker K.F. Li
I think BT is a very poor and slow option. WIFI is much better than BT if want to backup data wirelessly. With WIFI, we have much more protocols in the list; ex. WebDAV. Fabrice Desre writes: > On 07/06/2013 07:28 PM, James Burke wrote: >> On Sat, Jul 6, 2013 at 3:58 PM, Fabrice Desre wrote: >>

Re: [b2g] Save/restore feature

2013-07-08 Thread Fabrice Desre
Hi Hong, On 07/08/2013 07:50 AM, hong tang wrote: > Hi Fabrice, > > This is Hong from Beijing office. > Regarding the feature you mentioned below (Save/restore feature), we > already have a couple engineers started to work on it a few months ago. Good to know that people are working on that. Bu

Re: [b2g] Save/restore feature

2013-07-08 Thread hong tang
. In about a month time we will have picture/music/video backup/restore completed. I will send you a more detailed document some time this week. Best regards, Hong Original Message Subject:[b2g] Save/restore feature Date: Sat, 06 Jul 2013 15:58:22 -0700 From

Re: [b2g] Save/restore feature

2013-07-08 Thread Mike Habicher
On 13-07-07 01:44 PM, James Lal wrote: Any chance we can back up directly to an sd card and then periodically update that? Maybe this is less of an end-user concern and more of a developer/dogfooder concern but its really nice how my music/images/etc... "just" work when reflashing the phone it wo

Re: [b2g] Save/restore feature

2013-07-07 Thread James Lal
Any chance we can back up directly to an sd card and then periodically update that? Maybe this is less of an end-user concern and more of a developer/dogfooder concern but its really nice how my music/images/etc... "just" work when reflashing the phone it would be nice to have some sort of FTU dete

Re: [b2g] Save/restore feature

2013-07-07 Thread Fabrice Desre
On 07/07/2013 12:42 AM, Alex Jordan wrote: > On Jul 6, 2013 4:00 PM, "Fabrice Desre" > wrote: >> 1. The "enable backup/restore" settings enables a debugging protocol >> actor that will listen to connections on port 4343. On the host, we >> forward the 4343 and 4344 port

Re: [b2g] Save/restore feature

2013-07-07 Thread Alex Jordan
On Jul 6, 2013 4:00 PM, "Fabrice Desre" wrote: > 1. The "enable backup/restore" settings enables a debugging protocol > actor that will listen to connections on port 4343. On the host, we > forward the 4343 and 4344 ports trough adb. Small question: how does adb end up on the host computer? __

Re: [b2g] Save/restore feature

2013-07-06 Thread Fabrice Desre
On 07/06/2013 07:28 PM, James Burke wrote: > On Sat, Jul 6, 2013 at 3:58 PM, Fabrice Desre wrote: >> On the technical side: > > This may be going too far, but what about the possibility of > implementing WebUSB[1], and using that in some fashion to allow a > different firefox phone to back up ano

Re: [b2g] Save/restore feature

2013-07-06 Thread James Burke
On Sat, Jul 6, 2013 at 3:58 PM, Fabrice Desre wrote: > On the technical side: This may be going too far, but what about the possibility of implementing WebUSB[1], and using that in some fashion to allow a different firefox phone to back up another phone with a direct USB connection? I could see t

[b2g] Save/restore feature

2013-07-06 Thread Fabrice Desre
Hi all, One feature currently missing in b2g is a way to manage/backup/restore data from the phone on a host computer. There are various scripts floating around, but they are no substitute for a real end-user oriented solution. Here's a rough proposal on how to build that functionality. First of