[APP][2.2+] DriveDroid - host ISO/IMG files to boot your PC from

Search This thread

Online Gravy

Senior Member
May 25, 2018
81
21
I am on rooted android
I have created a blank image of 8GB in DriveDroid for Windows 10
But when i connect to my PC, it shows USB device not recognised.

Not showing in device manager or rufus. i tried read only, write as well as CD option

Can someone please Guide or advise here....
im having this same issue
 

Rapti

Member
Jul 7, 2014
8
1
I have an image file already on my phone's storage. How do I import it into DriveDroid? If I remember correctly, this used to be possible when I last used DriveDroid some time ago, but I can only find options to download images or to create blank ones. Thanks!
 

pocketrule

Senior Member
Sep 23, 2016
385
518
go to settings -> image directories and a) copy your image to this directory or b) add folder containing your image
 

Online Gravy

Senior Member
May 25, 2018
81
21
Download the txt file and ensure it's in your /Download (internal storage) folder. Then download the app Termux from google play store, open the app, type su and the app will ask for superuser permission, grant the permission and type sh /sdcard/Download/mountr.txt



Working for me on lake with Android 11.
i tried running this and the terminal returns
Code:
/config/usb_gadget/g1/configs/b.1/f1: no such file or directory
/config/usb_gadget/g1/configs/b.1/f2: no such file or directory
im assuming my kernel is missing something

Edit:
my pc is able to see the blank image i created after running that command despite the errors. however, it shows two portable devices in the device manager. one is the image and the other is my phone. the file explorer lists them as Moto X4 and Moto X4 (E:). this is farther than i've ever gotten with getting drivedroid to work on this device, it works flawlessly on my LG G3
Capture.PNG
Capture1.PNG
 
Last edited:

Online Gravy

Senior Member
May 25, 2018
81
21
Try typing "cd /" without quotes and then the command again.
output
Code:
rm: /config/usb_gadget/g1/configs/b.1/f1: no such file or directory
rm: /config/usb_gadget/g1/configs/b.1/f2: no such file or directory
ln: cannot create symbolic link from '/config/usb_gadget/g1/functions/mtp.gs0' to '/config/usb_gadget/g1/configs/b.1/f1/mtp.gs0': Operation not permitted
 

Leaveitblank0

New member
Jul 18, 2021
3
3
Moto G7 Plus
output
Code:
rm: /config/usb_gadget/g1/configs/b.1/f1: no such file or directory
rm: /config/usb_gadget/g1/configs/b.1/f2: no such file or directory
ln: cannot create symbolic link from '/config/usb_gadget/g1/functions/mtp.gs0' to '/config/usb_gadget/g1/configs/b.1/f1/mtp.gs0': Operation not permitted
Same output for me After running once, just keep trying again till no errors output (except for the 'rm' ones). works great for me running linux images, i didn't test blank images tho. I have no idea about the 2 devices problem, i had that problem with another device despite the Android Version was compatible(8.1 and 9.0).
 

Online Gravy

Senior Member
May 25, 2018
81
21
Same output for me After running once, just keep trying again till no errors output (except for the 'rm' ones). works great for me running linux images, i didn't test blank images tho. I have no idea about the 2 devices problem, i had that problem with another device despite the Android Version was compatible(8.1 and 9.0).
doesnt seem to work at all now. really wish ums support wasn't such a mess. at least my lg g3 works perfectly for now
 

blikkk

Senior Member
Jul 28, 2018
78
33
This project EOL?
I modified original app, working LOS18.1 external SD. If moderator allows, i upload publik stuff.
 
Last edited:
  • Like
Reactions: pocketrule

gursewak.10

Senior Member
Sep 16, 2013
424
228
punjab
On My Android 10 this app works fine if i get an iso file and mount it but it fails to create blank image of whatever size i choose it says formatting failed even if i don't choose it to format. The file size goes to filesize i entered and then it turns to 0B image.
 

remlei

Member
Jun 1, 2021
7
4
drivedroid is only usable for USB flashdrive emulation, CDROM however is kernel dependent, you may even need to patch your android kernel to accept 2gig ISOs for it to work properly. Not to mention of the kernel limitation of not being able to properly emulate a DVD drive which is basically essential on most ISO files now a days due to UFD extension (which majority of OS, specially Linux dont support in CDROM mode).

so with this limitations

- you cant mount any ISOs larger than 2GB in filesize
- you cant mount any ISOs that is using UFD extension

for the actual testing, yep there's a issue when mounting ISO files in UDF format and when you open it, allyou can see is a single text file containing

This disc contains a "UDF" file system and requires an operating system
that supports the ISO-13346 "UDF" file system specification.

but you can actually just make it work if you do unplug/plug back the USB cable multiple times. dumb I know but that fixes it (sometimes), and even if you manage to make the Windows ISO boot from UEFI/BIOS, it will just complain with the drivers or something, which just means that the CDROM emulation went kaput again with the UDF limitation (the unplug/replug USB fix dont work here) so your basically SOL.

tl;dr, Vanilla Windows ISO dont work

but there's a workaround, all you have to do is convert the ISO file from UDF extension into Joliet, with this, the iso file will recognized as a CDROM supported filesystem. but there's a nasty limitation for this, which is the 4GB limit filesize. damn. but luckily install.wim files can be splitted into several parts (this is only a issue on windows 10 and later) and this workaround works just fine. Was able to boot the Windows ISO files (7,8.x,10,11) with a ISO converted from UDF to Joliet and installed the OS successfully.

tl;dr Joliet converted Windows ISO files works just fine
 
  • Like
Reactions: pocketrule

tristonpink

Member
Oct 30, 2017
18
10
Xiaomi Mi 8
OnePlus 7 Pro
drivedroid is only usable for USB flashdrive emulation, CDROM however is kernel dependent, you may even need to patch your android kernel to accept 2gig ISOs for it to work properly. Not to mention of the kernel limitation of not being able to properly emulate a DVD drive which is basically essential on most ISO files now a days due to UFD extension (which majority of OS, specially Linux dont support in CDROM mode).

so with this limitations

- you cant mount any ISOs larger than 2GB in filesize
- you cant mount any ISOs that is using UFD extension

for the actual testing, yep there's a issue when mounting ISO files in UDF format and when you open it, allyou can see is a single text file containing



but you can actually just make it work if you do unplug/plug back the USB cable multiple times. dumb I know but that fixes it (sometimes), and even if you manage to make the Windows ISO boot from UEFI/BIOS, it will just complain with the drivers or something, which just means that the CDROM emulation went kaput again with the UDF limitation (the unplug/replug USB fix dont work here) so your basically SOL.

tl;dr, Vanilla Windows ISO dont work

but there's a workaround, all you have to do is convert the ISO file from UDF extension into Joliet, with this, the iso file will recognized as a CDROM supported filesystem. but there's a nasty limitation for this, which is the 4GB limit filesize. damn. but luckily install.wim files can be splitted into several parts (this is only a issue on windows 10 and later) and this workaround works just fine. Was able to boot the Windows ISO files (7,8.x,10,11) with a ISO converted from UDF to Joliet and installed the OS successfully.

tl;dr Joliet converted Windows ISO files works just fine
2GB limitation kernel patch can be easily found at github , 2GB ISO image support is not a problem any more with a patched kernel .

UFD extension with 2GB limitation can also be solved with another kernel patch , refer to this :https://patchwork.kernel.org/project/linux-usb/patch/[email protected]/
, but at the same time the kernel does not support ordinary CDFS ISO image.

and you can also refer to my kernel patch files for oneplus 7 pro (android 11) and redmi4 prime(android 7.1) :https://drive.google.com/drive/folders/1xb5FoqcLMcqnvgJ626AEyIknTrjtSn96?usp=sharing
I have tested both of 2 phones , and the patched kernels works fine .

I wish if anyone could step a little further to give us a kernel patch which support both cdfs and udf ISO image .
 
Last edited:

Top Liked Posts