Transferring files from a Siemens phone to Linux - SieFS



Foreword


About a week ago, I lost my second phone, which I used exclusively for calls. Together with him, of course, a sim card. Only today it was restored, and from the extra phones only the old dusty Siemens CX70 was found. At first, he did not turn on, but cleaning his contacts and charging for the night revived him. And then the question arose - how to connect this miracle of 2005 release? It has neither Wifi, nor bluetooth, only IrDa and a plug for connecting the cord. A lot of time passed and the adapter for the infrared port could not be found, but a cord was found to connect Siemens devices. And then I remembered the installation problems - drivers for the device, software, then inconvenience during the transfer. Now I have ArchLinux and Windows 8, on which these drivers would hardly have wound up. Fortunately, I discovered the SieFS package.


Installation and use


The latest version of SieFS was released in 2005. And judging by the system requirements on the author’s site, you need a kernel version 2.4. *, Mount 2.11 or higher, and FUSE 2 or higher. Despite the required core, everything is going with some adjustments. By the way, I sheltered the siefs package on aur and fixed the error to work on new systems, so ArchLinux users will need only one command:
yaourt -S siefs

Next, use the -t siefs option to mount. The device is usually / dev / ttyUSB0. It can be precisely determined by the conclusion dmesg | tail something like
usb 3-1: pl2303 converter now attached to ttyUSB0
Mount example:
sudo mount -t siefs /dev/ttyUSB0 /mnt

For other distributions, more steps will have to be taken. Install libfuse-dev, build-essential depends on the distribution. Download sources, unzip, configure with changes, build and install.
wget http://chaos.allsiemens.com/download/siefs-0.5.tar.gz
tar -xvf siefs-0.5.tar.gz
cd siefs-0.5/
LDFLAGS="-ldl -lrt" ./configure 
make

Further make install, but I advise users of deb distributions checkinstall (I advise others to find an analog) to create a package and install it separately / I’m also not sure if the patch used in pkgbuild for archlinux is needed. Just in case, rghost.ru/39061415 ( mirror on a Yandex disk ) - a patch. Put it like this - patch -p1 -i ../siefs.patch after cd siefs-0.5 / and before configure. (check on systems fix post.)

Conclusion


As a bonus, you can convert recordings from the recorder to WAV format.
vmo2wav [-o output_file.wav] input_file.vmo

Also, for those who find IrDa, you need to install irda-tools or irda-utils, see what package you have.
Next, create devices:
mknod /dev/ircomm0 c 161 0
mknod /dev/ircomm1 c 161 1
mknod /dev/irlpt0 c 161 17
mknod /dev/irlpt1 c 161 17

We connect the adapter, turn on IrDa on the phone and do:
irattach irda0 -s
mount -t siefs /dev/ircomm0 /mnt

If something doesn’t work, there are irdadump and irdaping for troubleshooting.

I also give the package and mirror I have assembled for ArchLinux i686 .
Do not forget or throw away your old devices, they may still be useful to you. For example, I found on my Siemens the old sources of my programs and photos, albeit not of very good quality. In addition, I discovered for myself that its battery lasts a very long time - I’m used to all new devices not lasting more than one day, and here a pleasant surprise from the past.

Also popular now: