All pastes #946199 Raw Edit

Stuff

public text v1 · immutable
·published 2008-03-17 15:11 UTC
rendered paste body
1. DESCRIPTION

SamsungFS allows you to mount your mobile phone as a disk. It links to your mo-
bile phone via USB and mounts it in a directory using FUSE. It  allows  you  to
transfer  files  between  your mobile phone and your computer, including photos
and videos recorded from your mobile phone camera.

2. PREREQUISITES

Install  FUSE  and fuse-python in your operating system. Under Linux, it should
be available in your  distribution  package  repository.  Under  FreeBSD,  it's
available in ports. Under NetBSD, you can install it from pkgsrc if your NetBSD
version is at least 4.99 (NetBSD-current at the time of this writing).

You  must  have USB ACM support enabled. Under Linux, the option CONFIG_USB_ACM
must be enabled in kernel build. It should come by default  in  most  distribu-
tions.  Under  FreeBSD,  the  module umodem.ko must be loaded. Under NetBSD and
OpenBSD, it comes enabled by default in the GENERIC kernel.

3. INSTALLATION

Just copy samsungfs to a directory present in your PATH, like /usr/bin.

4. USAGE

In most cases, you only need to call:

    samsungfs mount-point

Then  you  can  access your files at mount-point. When you are done, umount the
file system by calling:

    fusermount -u mount-point

or:

    umount mount-point

If your mobile phone device is not at any of the recognized locations,  you can
modify it by command line when mounting the file system by calling:

    samsungfs mount-point -o ttydev=/dev/xxxx


                                 =============                                 
                                  SAMSUNGJAVA                                  
                                 =============                                 

1. DESCRIPTION

SamsungJava  allows  you to install Java J2ME applications in your mobile phone
for free via USB cable. Without SamsungJava, these applications could  only  be
installed by paid WAP transfer.

2. PREREQUISITES

Install Python in your operating system. Under Linux, it should be available in
your distribution package repository, although a lot of distributions come with
Python  installed by default these days. Under FreeBSD and OpenBSD, it's avail-
able in ports. Under NetBSD, it's available in pkgsrc.

You  must  have USB ACM support enabled. Under Linux, the option CONFIG_USB_ACM
must be enabled in kernel build. It should come by default  in  most  distribu-
tions.  Under  FreeBSD,  the  module umodem.ko must be loaded. Under NetBSD and
OpenBSD, it comes enabled by default in the GENERIC kernel.

You  must  have  PPP support enabled. Under Linux, you must have PPP support in
kernel and pppd installed. It should come by  default  in  most  distributions.
Under  NetBSD, you must install net/userppp package, because pppd can't be used
with some mobile phones under BSD systems. Under FreeBSD and  OpenBSD,  userppp
comes installed by default.

3. INSTALLATION

Copy samsungjava to a directory present in your PATH, like /usr/bin.

Under  Linux,  revise  the conf/ppp.setup.example.linux script and modify it if
you want to satisfy your needs.

Under  BSD  systems, revise conf/ppp.conf.example.bsd, modify it if you want to
satisfy your needs and copy it to /etc/ppp/ppp.conf (FreeBSD and OpenBSD) or to
/usr/pkg/etc/ppp/ppp.conf (NetBSD).

4. USAGE

Under Linux, call the configuration script to setup PPP.

Under BSD systems, call:

    ppp mobilephone

Next  setup  your mobile phone to make a PPP connection over USB. The procedure
depends on the mobile phone model. See the project wiki.

Then you will get feedback at your computer terminal, showing that a connection
was been established. Call SamsungJava:

    samsungjava application.jad

Finally,  setup  your mobile phone to do Serial Download. The procedure depends
on the mobile phone model, too. You will get feedback at the mobile phone  dis-
play, showing the download progress.

After the download, you can close PPP and SamsungJava by pressing Ctrl-C.