Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

Drivedroid can't host read-only image on mass storage #1262

Open
yesimxev opened this issue Feb 24, 2019 · 4 comments
Open

Drivedroid can't host read-only image on mass storage #1262

yesimxev opened this issue Feb 24, 2019 · 4 comments

Comments

@yesimxev
Copy link

yesimxev commented Feb 24, 2019

Device:

Galaxy S6 edge

OS version (KitKat/Lollipop/Marshmallow/Nougat):

LineageOS 14.1 nougat

Built from repo (date and build command) or downloaded from website (links):

Github sources

Output of cat /proc/version in adb shell or NetHunter Terminal:

Linux version 3.10.61-yesimxev-gab2e937-dirty (root@kali) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Sun Feb 24 23:36:39 CET 2019

Issue:

Drivedroid can't host read-only image, is there something to be enabled in the kernel other than the CD-rom patch I did?

Failed to change read only state from disabled to enabled. 
The kernel blocked the request.
@kimocoder
Copy link
Contributor

CDROM/USB patch is called "kexec patch" while the OTG/OTG-Y support you should look at "dwc3" patches. They will MOST LIKELY not work directly, as the sources from vendor->vendor are totally different, BUT.. with some understanding of basic programming they may be fitted manually into your "base"

@jcadduono
Copy link
Collaborator

jcadduono commented Feb 25, 2019

kexec has nothing to do with cdrom/usb (kexec patch is old method for multibooting roms from recovery) :S
he is not looking for otg patches, just wants to solve unable to mount to mass storage lun (probably what he is trying to mount has something with a file handle on it...)

what are you trying to mount in drivedroid?
you should link to your commit that adds cdrom/mass storage patch so we can look at both the patch and the way your device is handling ums normally

@yesimxev
Copy link
Author

Just an ISO which can be succesfully mounted on my OPO. The patch is same as yours for zerolte.
yesimxev/android_kernel_samsung_exynos7420@a020dd3

Btw, interested in the Y cable patch too, but couldn't find

@yesimxev
Copy link
Author

yesimxev commented Apr 18, 2019

Actually CDROM and writeable USB works with Drivedroid 0.9.28

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants