NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD and Android devices



On Wed, 1 Apr 2026, Isac Monção wrote:
> Hello, everyone
>
> How do you transfer files between your Android phones and your NetBSD
> system?

You can go into developer mode to be able to mount an Android phone as a usb
drive.

I used to be able to plug in my Android phones and then mount them as usb
devices and do all that way, but gradually, NetBSD updates keep dropping
support for usb mounted devices to the point where now, nothing can be mounted
via usb anymore with -current. Even USB thumbdrives I have used for ~15 years
with NetBSD no longer mount, even though it appears they are ready to :

[ 1277274.4311383] umass1 at uhub1 port 9 configuration 1 interface 0
[ 1277274.4311383] umass1: Generic (0x058f) Mass Storage Device (0x6331), rev 2.00/1.20, addr 4
[ 1277274.4511387] scsibus1 at umass1: 2 targets, 1 lun per target
[ 1277274.4611391] sd0 at scsibus1 target 0 lun 0: <Multi, Flash Reader, 1.00> disk removable
[ 1277274.9011460] sd0: fabricating a geometry
[ 1277274.9011460] sd0: 119 GB, 122112 cyl, 64 head, 32 sec, 512 bytes/sect x 250085376 sectors
[ 1277274.9011460] sd0: fabricating a geometry
[ 1277974.9825175] sd0: detached
[ 1277974.9825175] scsibus1: detached
[ 1277974.9825175] umass1: detached
[ 1277974.9825175] umass1: at uhub1 port 9 (addr 4) disconnected

(/dev/sd0e msdos thumbdrive which disklabel recognizes)

I used to use rsync to backup my phone when mounted via AMD
$ alias bkupphone 'rsync -av --delete /u/m0/ /opt/sdbkup/phone/'
 amd entry for /dev/sd0e (that no longer works) :
# msdos -l - mount with long filenames
m0              type:=pcfs;opts:=rw,noatime;dev:=/dev/sd0e

There was also sopmething I used to use to backup sms messages a
few years back but it quit working and I don't remember what it
was.



Home | Main Index | Thread Index | Old Index