View Single Post
Posts: 248 | Thanked: 1,142 times | Joined on Dec 2014 @ Earth
#82
Originally Posted by DrYak View Post
Somebody who is not in a hurry should collect all the IDs (I mean, beside 0fce:e1e0) and add them to the tutorial.
(Together with a nice "90-xperia.rules" ready to be dropped in etc).
Big thanks to foozle from TJC who did collect all the relevant USB IDs.

Seems that all Xperia X modes use common a vendorId, so it would be possible to catch them all with a single rule (hoping that the user doesn't have another Sony device at the same time to which they son't want to give full access).

We can now built a nice 90-xperia.rules ready to by dropped inside /etc/udev/rules.d/ :

Code:
# Xepria X [0fce:e1e0]
# Android [0fce:adde]
# Sony S1Boot Fastboot  [0fce:0dde]
SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", MODE="0660", GROUP="users"

# Jolla Recovery 
SUBSYSTEM=="usb", ATTR{idVendor}=="2931", ATTRS{idProduct}=="0a06", MODE="0660", GROUP="users"
And an alternative with separate productIds :
Code:
# Xepria X [0fce:e1e0]
SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", ATTRS{idProduct}=="e1e0", MODE="0660", GROUP="users"
# Android [0fce:adde]
SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", ATTRS{idProduct}=="adde", MODE="0660", GROUP="users"
# Sony S1Boot Fastboot  [0fce:0dde]
SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", ATTRS{idProduct}=="0dde", MODE="0660", GROUP="users"

# Jolla Recovery 
SUBSYSTEM=="usb", ATTR{idVendor}=="2931", ATTRS{idProduct}=="0a06", MODE="0660", GROUP="users"
Can somebody still running Android and planning to do a Sailfish X flash test it ?

-----

Edit :
This TA backup tutorial uses more or less a similar .rule (uses world-access perms "0777" instead of my approach of groups).

Thus, these files should work.

Last edited by DrYak; 2017-10-24 at 21:26.
 

The Following 2 Users Say Thank You to DrYak For This Useful Post: