如何在 Ubuntu 13.04 上安装 Android(2.3.4)设备

如何在 Ubuntu 13.04 上安装 Android(2.3.4)设备

Ubuntu 识别了该设备,并似乎在本例中将其分配给了 sdc,但 mount 一直返回“未找到介质”消息。lsusb输出如下:

us 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04d9:1603 Holtek Semiconductor, Inc. Keyboard
Bus 002 Device 007: ID 0fce:215b Sony Ericsson Mobile Communications AB
Bus 002 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 002 Device 004: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer

dmesg| grep scsi输出:

[    0.568150] ACPI: bus type scsi registered
[    1.023975] scsi0 : ata_piix
[    1.024035] scsi1 : ata_piix
[    1.179932] scsi2 : ata_piix
[    1.179982] scsi3 : ata_piix
[    1.223582] scsi 1:0:0:0: Direct-Access  ATA  SAMSUNG SSD 830  CXM0 PQ: 0  ANSI: 5
[    1.223662] sd 1:0:0:0: Attached scsi generic sg0 type 0
[    1.224331] scsi 1:0:1:0: CD-ROM            HL-DT-ST DVDRAM GH24NS90  IN01 PQ: 0 ANSI: 5
[    1.229146] sr0: scsi3-mmc drive: 24x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[    1.229218] sr 1:0:1:0: Attached scsi CD-ROM sr0
[    1.229261] sr 1:0:1:0: Attached scsi generic sg1 type 5
[    1.424473] scsi 3:0:0:0: Direct-Access     ATA      ST3000DM001-1CH1 CC24 PQ: 0 ANSI: 5
[    1.424606] sd 3:0:0:0: Attached scsi generic sg2 type 0
[    1.489666] scsi4 : ahci
[    1.489714] scsi5 : ahci
[    4.121421] scsi6 : usb-storage 2-1.7:1.0
[    4.121493] scsi7 : usb-storage 2-1.8:1.0
[    5.120804] scsi 6:0:0:0: Direct-Access     Generic  USB SD Reader    1.00 PQ: 0 ANSI: 0
[    5.120832] scsi 7:0:0:0: Direct-Access     SEMC     Mass Storage     0100 PQ: 0 ANSI: 2
[    5.121357] scsi 6:0:0:1: Direct-Access     Generic  USB CF Reader    1.01 PQ: 0 ANSI: 0
[    5.121577] sd 7:0:0:0: Attached scsi generic sg3 type 0
[    5.121859] scsi 6:0:0:2: Direct-Access     Generic  USB SM Reader    1.02 PQ: 0 ANSI: 0
[    5.122627] scsi 6:0:0:3: Direct-Access     Generic  USB MS Reader    1.03 PQ: 0 ANSI: 0
[    5.123620] sd 6:0:0:0: Attached scsi generic sg4 type 0
[    5.123725] sd 6:0:0:1: Attached scsi generic sg5 type 0
[    5.123826] sd 6:0:0:2: Attached scsi generic sg6 type 0
[    5.125361] sd 6:0:0:3: Attached scsi generic sg7 type 0
[  821.206856] scsi8 : usb-storage 2-1.8:1.0
[  822.206192] scsi 8:0:0:0: Direct-Access     SEMC     Mass Storage     0100 PQ: 0 ANSI: 2
[  822.207363] sd 8:0:0:0: Attached scsi generic sg3 type 0
[ 1044.183578] scsi9 : usb-storage 2-1.5:1.0
[ 1045.183448] scsi 9:0:0:0: Direct-Access     SEMC     Mass Storage     0100 PQ: 0 ANSI: 2
[ 1045.184785] sd 9:0:0:0: Attached scsi generic sg3 type 0

另外,这里是ls -laR /dev/disk输出:

/dev/disk/by-id:
total 0
drwxr-xr-x 2 root root 540 May 29 23:12 .
drwxr-xr-x 6 root root 120 May 29 22:55 ..
lrwxrwxrwx 1 root root   9 May 29 22:55 ata-HL-DT-ST_DVDRAM_GH24NS90_K61C7663112 ->     ../../sr0
lrwxrwxrwx 1 root root   9 May 29 22:55 ata-SAMSUNG_SSD_830_Series_S0Z3NEAC844116 -> ../../sda
lrwxrwxrwx 1 root root  10 May 29 22:55 ata-SAMSUNG_SSD_830_Series_S0Z3NEAC844116-part1 -> ../../sda1
lrwxrwxrwx 1 root root  10 May 29 22:55 ata-SAMSUNG_SSD_830_Series_S0Z3NEAC844116-part2 -> ../../sda2
lrwxrwxrwx 1 root root  10 May 29 22:55 ata-SAMSUNG_SSD_830_Series_S0Z3NEAC844116- part5 -> ../../sda5
lrwxrwxrwx 1 root root   9 May 29 22:55 ata-ST3000DM001-1CH166_Z1F1HHH1 -> ../../sdb
lrwxrwxrwx 1 root root  10 May 29 22:55 ata-ST3000DM001-1CH166_Z1F1HHH1-part1 ->  ../../sdb1
lrwxrwxrwx 1 root root   9 May 29 22:55 scsi-SATA_SAMSUNG_SSD_830S0Z3NEAC844116 ->  ../../sda
lrwxrwxrwx 1 root root  10 May 29 22:55 scsi-SATA_SAMSUNG_SSD_830S0Z3NEAC844116-part1   -> ../../sda1
lrwxrwxrwx 1 root root  10 May 29 22:55 scsi-SATA_SAMSUNG_SSD_830S0Z3NEAC844116-part2  -> ../../sda2
lrwxrwxrwx 1 root root  10 May 29 22:55 scsi-SATA_SAMSUNG_SSD_830S0Z3NEAC844116-part5  -> ../../sda5
lrwxrwxrwx 1 root root   9 May 29 22:55 scsi-SATA_ST3000DM001-1CH_Z1F1HHH1 ->  ../../sdb
lrwxrwxrwx 1 root root  10 May 29 22:55 scsi-SATA_ST3000DM001-1CH_Z1F1HHH1-part1 ->  ../../sdb1
lrwxrwxrwx 1 root root   9 May 29 22:55 usb-Generic_USB_CF_Reader_058F312D81B-0:1 ->  ../../sde
lrwxrwxrwx 1 root root   9 May 29 22:55 usb-Generic_USB_MS_Reader_058F312D81B-0:3 ->  ../../sdg
lrwxrwxrwx 1 root root   9 May 29 22:55 usb-Generic_USB_SD_Reader_058F312D81B-0:0 -> ../../sdd
lrwxrwxrwx 1 root root   9 May 29 22:55 usb-Generic_USB_SM_Reader_058F312D81B-0:2 -> ../../sdf
lrwxrwxrwx 1 root root   9 May 29 23:12 usb-SEMC_Mass_Storage_43423541314545314A4D-0:0 -> ../../sdc
lrwxrwxrwx 1 root root   9 May 29 22:55 wwn-0x5000c5004ec935bc -> ../../sdb
lrwxrwxrwx 1 root root  10 May 29 22:55 wwn-0x5000c5004ec935bc-part1 -> ../../sdb1
lrwxrwxrwx 1 root root   9 May 29 22:55 wwn-0x5001480000000000 -> ../../sr0
lrwxrwxrwx 1 root root   9 May 29 22:55 wwn-0x5002538043584d30 -> ../../sda
lrwxrwxrwx 1 root root  10 May 29 22:55 wwn-0x5002538043584d30-part1 -> ../../sda1
lrwxrwxrwx 1 root root  10 May 29 22:55 wwn-0x5002538043584d30-part2 -> ../../sda2
lrwxrwxrwx 1 root root  10 May 29 22:55 wwn-0x5002538043584d30-part5 -> ../../sda5

最后我的mount呼吁是:

sudo mount /dev/sdc /mnt
mount: no medium found on /dev/sdc

我重启了好几次,用完了电脑上所有可用的端口。手机型号是索尼爱立信。我还创建了 udev 规则:

SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", MODE="0666", GROUP="plugdev"

该文件位于:

/etc/udev/rules.d/51-android.rules
我是不是太笨了,忽略了一些显而易见的事情(如果真是这样的话,我很抱歉……)?

谢谢你尽你所能的帮助。

更新

由于此设备未激活(Verizon 不提供服务),我无法更新软件。搜索后,似乎无法使用 SuperOneClick 程序(我真的很想使用这个程序……)获取 2.3.4 的 root 权限(因此我可以将最新的固件刷入设备)。因此,我最终通过获取 root 权限并将 2.3.3 固件刷入设备,将设备降级到 2.3.3。重新启动设备后,手机询问我是否要安装 SD 卡,我这样做了,Ubuntu 正确识别了它。因此,我现在可以继续我原来的项目,但如何安装运行 2.3.4 的设备的 SD 卡的原始问题仍然没有答案……因此,对于拥有运行 2.3.4 的 Sony Ericsson Xperia Play 并尝试安装 SD 卡(不取出卡并放入 SD 卡读卡器……)的其他用户,我建议降级(或升级……)设备,直到找到实际解决方案。获取 root 权限需要您自担风险!

答案1

您无法像闪存驱动器那样以正常方式安装 Android 设备。

您必须使用 MTP(媒体传输协议)——一种用于智能存储设备的协议。有一个名为中期规划框架安装 comixcursors-lefthanded您可以以此方式使用它。更多信息请参见此处:在 Ubuntu 上安装 MTP Android 的 SD 卡

我还发现了这个关于如何使用 Go-MTPFS 在 Ubuntu 中正确安装 Android 4.0+ 设备这可能会有所帮助。本主题中的想法是关于使用去mtpfs

相关内容