Comments (28)
A How-To for 15.04 to make the change permanent: https://forums.ubports.com/topic/1015/howto-opo-fix-mtp-driver-permissions
from ubuntu-touch.
Seems related to my bug here: #11
from ubuntu-touch.
Yes, and I should add that my OPO is only visible to a PC with developer mode off, but it still doesn't mount. Turning developer mode on, it is not even visible through lsusb.
from ubuntu-touch.
On 15.04/devel r10 I can finally mount my OPO, but only if I have developer mode set to disabled. When enabling developer mode, the device can't mount again. Seems like the dev mode settings button is inverted.
Regardless of developer mode setting, the device does not expose an adb interface.
from ubuntu-touch.
Fix released: ubports/device-files@2d65b59 and ubports/device-builds@9c0f535
from ubuntu-touch.
This bug appears to have resurfaced lately. I noticed it today on devel r146. Reboot didn't fix it. Last time I connected my OPO to this PC it worked, but it may have been a couple of weeks ago.
from ubuntu-touch.
What is happening with this? Unfortunate regression of a function that is rather essential. I would very much like to have it back.
from ubuntu-touch.
Just to further some information on this issue.
Following shows in terminal when OPO (developer mode on) connected to my PC:
...:~$ lsusb
Bus 001 Device 002: ID 8087:8001 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 005: ID 8087:0a2a Intel Corp.
Bus 002 Device 004: ID 04f2:0111 Chicony Electronics Co., Ltd KU-9908 Keyboard
Bus 002 Device 003: ID 05c6:6765 Qualcomm, Inc.
Bus 002 Device 002: ID 045e:00d2 Microsoft Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Dito with developer mode off:
...:~$ lsusb
Bus 001 Device 002: ID 8087:8001 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 005: ID 8087:0a2a Intel Corp.
Bus 002 Device 004: ID 04f2:0111 Chicony Electronics Co., Ltd KU-9908 Keyboard
Bus 002 Device 006: ID 05c6:6764 Qualcomm, Inc. A0001 Phone [OnePlus One]
Bus 002 Device 002: ID 045e:00d2 Microsoft Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Below still with developer mode off:
...:~$ adb devices
List of devices attached
...:~$ adb shell
error: device not found
And with developer mode on:
...:~$ adb devices
List of devices attached
d9a48603 offline
from ubuntu-touch.
I have checked all the steps from this bug report: #11
from ubuntu-touch.
Yeah, and once in a while I get:
...:~$ adb devices
List of devices attached
d9a48603 device
Then I can do adb pull /home/phablet/whatever_file
, but MTP still doesn't work.
from ubuntu-touch.
With devel r170 (today) there is some progress. Still no MTP, but I can now adb shell into the device again.
from ubuntu-touch.
I can see that this is still marked as "needs confirmation". Does that mean it works on other OPOs? The problem persists for me in devel r203.
from ubuntu-touch.
Hello, yes, I have the same problem. My phone is recognized but it is impossible to open it on my PC. I can't transfer my files. I will follow with you the evolution. I hope there will be a quick solution...
from ubuntu-touch.
Also an issue on my bacon. (r204)
from ubuntu-touch.
Same issue on my phone
from ubuntu-touch.
I can confirm this is still a bug. Not how I can help but happy to try. This has been fixed previously I know but keeps cropping up. Not sure why
from ubuntu-touch.
current build number: 118
device name: bacon
channel: ubports-touch/16.04/devel
upstart detect USB connected, try to start the mtp-server but fails to open RW the /dev/mtp_usb device
ll /dev/mtp_usb
crw-rw---- 1 root root 10, 53 Aug 13 1972 /dev/mtp_usb
cat .cache/upstart/mtp-server.log
I0125 09:00:51.533848 12688 server.cpp:421] MTP server starting...
E0125 09:00:51.534528 12688 server.cpp:426] Error opening /dev/mtp_usb, aborting now...
so, this device needs root:phablet permissions.
from ubuntu-touch.
Is there any solution to the problem? I flashed today an OnePlusOne with Ubuntu Touch (stable) and I get the same problem. I see the device "bacon" in Nautilus file manager, but clicking on it leads to an MTP error.
from ubuntu-touch.
I can confirm the issue is gone with changing the group permissions. While looking for a permanent solution a sudo chown root:phablet /dev/mtp_usb
makes a temporary fix ;)
from ubuntu-touch.
from ubuntu-touch.
Thanks flohack for the workaround.
What am I doing wrong? After "sudo chown root:phablet /dev/mtp_usb" I get following error message:
"chown: invalid group: ‘root:phablet’ "
Thanks!
from ubuntu-touch.
@Pete413 try root:plugdev plz
from ubuntu-touch.
Dear Flohack. Thanks, this solved half of the issue, but I unfortunately is not the full solution:
The following command accepts plugdev, but does not find the mtp_usb device:
sudo chown root:plugdev /dev/mtp_usb
chown: cannot access '/dev/mtp_usb': No such file or directory
I tried several devices in /dev, but could not find any practicable solution. Only the following command did not give an error message, but it also did not solve my problem, unfortunately.
sudo chown root:plugdev /dev/bus/usb/003/017
Thanks.
from ubuntu-touch.
@Pete413 Can you check for me if you got original bacon or A0001 as device identifier? There are several OPO models obviously out there...
from ubuntu-touch.
@Flohack74 On the device paper box, it says OnePlus One A0001 (Sandstone Black). In UBPorts "About the phone" is simply says OnePlus bacon. In syslog (after plugging in the USB cable), it says idVendor=05c6, idProduct=6765, Product: bacon, Manufacturer: OnePlus, SerialNumber: 8e244882.
By the way: My system is Ubuntu 16.04 and USB/MTP connections with the devices BQ M10 and BQ 4.5 work without any problems.
from ubuntu-touch.
@Pete413 Intersting, I also got the A0001 version. I got this device :) - I will investigate with @mariogrip what his opinion is ;)
from ubuntu-touch.
@Flohack74 Thanks for your help and the patch. Will this new udev rule also "create" the /dev/mtp_usb device in dev when plugging in the smartphone? (Currently, without this udev rule I get the error "No such file or directory" indicating the missing /dev/mtp_usb)
from ubuntu-touch.
@Pete413 that sounds interesting, no, this should be there already. Dunno why it would not.
from ubuntu-touch.
Related Issues (20)
- [OnePlus5] OTA-2 update restarts on recovery HOT 5
- Hide SMS text in a notification bubble on a locked screen HOT 6
- VPN does not work in Vollapone 22 on Ubuntu 20.04 (OTA 2) HOT 2
- OpenStore(v.3.2.2) not working/loading HOT 1
- Improve Spell Checker for French HOT 1
- gralloc4
- Ubuntu touch focal 20.04 for Nexus 4 mako HOT 1
- libhybris android12.0 HOT 1
- Microphone has bad sound during calls on Oneplus 6t
- Cannot switch language
- Update "Promoted Devices" page HOT 1
- qtorganizer-eds: Description field is altered HOT 3
- Bootloop HOT 2
- [WIKI] Xiaomi Redmi Note 7 already have support focal 20.04 HOT 3
- [lavender] I can't clone kernel-xiaomi-lavender repository
- Select Default App to open pdf documents under focal HOT 1
- feature request: esim on focal
- [WIKI] Xiaomi Redmi Note 7 discharges quickly without SIM and active wireless connections HOT 1
- libertine-container-management Bug 'destroy_libertine_container() missing 1 required positional argument: 'force''
- Xperia X: the power button doesn't turn the device on.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ubuntu-touch.