Would it be possible for the android device to emulate a bootable drive? #250
Replies: 2 comments 2 replies
-
https://play.google.com/store/apps/details?id=com.softwarebakery.drivedroid&hl=en&pli=1 https://softwarebakery.com/projects/drivedroid It appears that this once worked... I wonder what it would take to update/remake this? |
Beta Was this translation helpful? Give feedback.
-
Hi Benjamin, Some apps such as DriveDroid implement this using root permissions but that's not possible without a rooted phone. Anything that requires root is out of scope for this project. Should Android implement userspace USB emulation (I hope it will) I'll definitely look into it. But unfortunately it's highly unlikely it will since that would open the floodgates for malicious Rubber Ducky apps. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is off-topic to the repo, but your awesome project got me thinking...
What would it take to make an android device (or any other device that can act as a USB drive) emulate a bootable disk?
Here's the way I see it working, at a high level:
How would this work in practice, though? It may be possible to have android create a mountable temporary filesystem that can be passed directly to the computer. I'm not sure how android normally behaves when it is connected to a computer, though. Perhaps it mounts another filesystem? That fs would probably need to not be mounted, and our bootable one could get mounted instead (on the host pc) (or recognized by the UEFI if not "mounted" in an OS). I am definitely out of my depth here, if it isn't already obvious.
Does anyone have any ideas on how this can become a reality? This would be super cool if it's possible.
Beta Was this translation helpful? Give feedback.
All reactions