5,596,637 Members 42,547 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
FrozenCow
Old
(Last edited by FrozenCow; 14th March 2014 at 03:25 PM.)
#1  
Senior Member - OP
Thanks Meter 411
Posts: 264
Join Date: Aug 2009

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

DriveDroid allows you to boot your PC from ISO/IMG files stored on your phone. This is ideal for trying Linux distributions or always having a rescue-system on the go... without the need to burn different CDs or USB pendrives. The paid version of DriveDroid does not include ads and helps the developer.

DriveDroid also includes a convenient download menu where you can download USB-images of a number of operating systems from your phone.
You can also create USB-images which allows you to have a blank USB-drive where you can store files in. Another possibility is to use tools on your PC to make a bootable USB-drive out of the blank image that DriveDroid created.

DriveDroid (free)
DriveDroid (paid)

Website
Changelog and downloads
List of distributions available in DriveDroid
Donate
IRC (#drivedroid on chat.freenode.net)

Beta
To participate in the beta join the Google Group here: https://groups.google.com/d/forum/drivedroid
After that join the beta of either DriveDroid (Free) or DriveDroid (Paid)

USB Mass Storage (UMS)
DriveDroid relies on the kernel of Android, in particular the USB Mass Storage (UMS) feature. It allows your phone to act as an USB-drive and have a device (SDcard) or file (ISO/IMG) be used as the content for that emulated drive.

Different Android devices implement this feature differently. Most modern devices do not have UMS enabled by default, but it is supported by the kernel. I've added a option to DriveDroid to change the USB-mode for devices that do not support UMS by default, but no guarantees. I'm getting very mixed reports of devices working and not.

I need all the help I can get to fix this problem. Hopefully we can figure out some method to enable UMS in a stable way.

Hybrid-ISOs
Since most phones only support emulating USB-drives, DriveDroid will not act as an CD-drive. This means that not all ISO files will work, only hybrid-ISOs and IMG files. Hybrid-ISOs are specially crafted ISOs that is used on many modern Linux-distributions. DriveDroids downloadlist contains most of the distributions I've found that do have hybrid-ISOs.

This is just to notify you that you have to convert non-hybrid ISOs by writing the ISO to the emulated USB-drive. You can get a blank emulated USB-drive by creating a blank image through DriveDroids + menu.

Tutorials
Since some popular uses are not available out-of-the-box, I've written a few tutorials on my website that handle some of those uses:
Using Rufus to burn any ISO to DriveDroid *Recommended*
Windows installation on DriveDroid
Install Hirens Boot CD on DriveDroid (download the pre-built Hirens Boot CD image here)
Shrinking images on Linux to save space on your phone

True CD-ROM emulation
True CD-rom emulation is possible. It should allow you to run any ISO on your PC. With some help of others I've found a way to get CD-rom support, but it requires patching the kernel. If you know your way around compiling a kernel and applying patches, you can get the patches here:
Patch to fix booting from the emulated CD-rom drive
Patch to allow applications (like DriveDroid) to switch between USB and CD-mode

For anyone else, there have been people who have built their rom and kernel with the above patches. Here is a list of compatible roms:

Recent CyanogenMod 10.1 RC builds using the aries kernel:
Samsung Galaxy S
Samsung Galaxy Tab (GSM)
Samsung Captivate
Samsung Fascinate
Samsung Galaxy S B
Samsung Vibrant

Recent CyanogenMod 10.1 nightly builds using the smdk4412 kernel with the cdrom patches by jpeg725:
Samsung Galaxy S II (GT-I9100)
Samsung Galaxy S II (SGH-i777)
Samsung Galaxy S III (International)
Samsung Galaxy S III LTE
Samsung Galaxy Note (GT-N7000)
Samsung Galaxy Note 2 (GT-N7100)
Samsung Galaxy Note 2 LTE GSM (GT-N7105, SGH-I317, SGH-T889)
Samsung Galaxy Note 2 LTE (Verizon)
Samsung Galaxy Note 2 LTE Sprint (SPH-L900)
Samsung Galaxy Note 10.1 (GSM)
Samsung Galaxy Note 10.1 (GT-N8013)
Samsung Galaxy Note II (US Cellular)
Samsung Galaxy Note II (AT&T)
Samsung Galaxy Note II (T-Mobile)

Recent CyanogenMod 10.1 nightly builds with the d2 kernel:
Samsung Galaxy S III (AT&T)
Samsung Galaxy S III (Cricket)
Samsung Galaxy S III (Metro PCS)
Samsung Galaxy S III (Sprint)
Samsung Galaxy S III (T-Mobile)
Samsung Galaxy S III (US Cellular)
Samsung Galaxy S III (Verizon)

Recent CyanogenMod nightly builds with the jf kernel:
Samsung Galaxy S4 (AT&T)
Samsung Galaxy S4 (Canadian)
Samsung Galaxy S4 (Cricket)
Samsung Galaxy S4 (Sprint)
Samsung Galaxy S4 (T-Mobile)
Samsung Galaxy S4 (US Cellular)
Samsung Galaxy S4 (Verizon)
Samsung Galaxy S4 (International LTE)

Recent CyanogenMod nightly builds with the msm7x30 kernel:
Sony Ericsson Xperia Neo V
Sony Ericsson Xperia Play (GSM)
Sony Ericsson Xperia Live
Sony Ericsson Xperia Mini Pro
Sony Ericsson Xperia Arc

Kernels with the CD-rom patches applied:
Dorimanx Kernel 8.33 on stock and AOSP/CM roms for the Samsung Galaxy S II (I9100)
Dorimanx Kernel 9.33 on AOSP/CM roms for the Samsung Galaxy S II (I9100)
CyanCore Kernel v2.8.6 by ts1506 for the Samsung Galaxy S (I9000)
BMS Kernel by GideonX for Samsung Galaxy S3 Sprint (d2spr)
BMS Kernel by GideonX for Samsung Galaxy S3 AT&T (d2att)
BMS Kernel by GideonX for Samsung Galaxy S3 Verizon (d2vzw/d2usc)
Patched stock kernel by porear for Samsung Galaxy S3 T-Mobile
GearKernel 1.0.4 and higher for Samsung Captivate
GearKernel 1.0.4 and higher for Samsung Galaxy S i9000 and i9000B
GearKernel 1.0.4 and higher for Samsung Vibrant
DooMKernel for Xperia Z
DooMKernel for Xperia Z1
Devil2 kernel for Samsung Galaxy Note 2 (GT-N7100)
X-NOTE Leonardo Edition for Samsung Galaxy Note 3 (N9005)
ThunderZap for Xperia L
If you use the patches in your kernel, please contact me so I can add your rom to the list!
The Following 147 Users Say Thank You to FrozenCow For This Useful Post: [ Click to Expand ]
 
FrozenCow
Old
(Last edited by FrozenCow; 14th March 2014 at 03:24 PM.)
#2  
Senior Member - OP
Thanks Meter 411
Posts: 264
Join Date: Aug 2009

 
DONATE TO ME
[post for future use]
The Following 21 Users Say Thank You to FrozenCow For This Useful Post: [ Click to Expand ]
 
Zoot Allures
Old
#3  
Senior Member
Thanks Meter 50
Posts: 200
Join Date: Jul 2011
Hi,

Now there's a dedicated topic. The place to give a bit of feed-back.

As I already said there, congrats for this idea and most of all, well made and user friendly. Thanks, mate.


It worked with no problem with the Samsung GS3 i9300 on WanamLite JB MB5 v6.2 with Wanam's Adam kernel v1.2 (I don't really know what Wanam cooked there but it works fine) that is MTP/PTP. Note that when DriveDroid's UMS is enabled, both check-boxes in the regular S3 USB panel have no marks (can normaly have only one checked, never none unchecked).
Other people may please confirm if it works on Galaxy S3 i9300 with stock or other custom kernels.


Less surprisingly, it works fine with Samsung GS2 i9100 on (WanamLite JB LSE v14.3) since it always had Mass Storage Transfer, afaik (but I'm not sure), actually on Wanam's v14.3 it has.


Working on pure CD format (like Daemon Tools for Windows or any Virtual CD mount system) would be top notch —TonyHoyle has cooked a kernel patch to enable virtual CD support, there's an idea to dig, Apple dmg should follow.

But for the moment with what is given, creating own disc ISO to fill with whatever you need later on a computer, is really fine. Polishing the angle to reach v1.0.
Samsung GS4 LTE i9505 | stock 4.4.2 XXUFNB9 XEF | CF rooted | PhilZ Touch Recovery
The Following 4 Users Say Thank You to Zoot Allures For This Useful Post: [ Click to Expand ]
 
atrix4g18
Old
#4  
atrix4g18's Avatar
Senior Member
Thanks Meter 1144
Posts: 1,170
Join Date: Jun 2012
Default Re: [APP][2.2+] DriveDroid - host ISO/IMG files to boot your PC from

I've always wanted to do this. Thank you.

Sent from my MB860 using xda premium
Click "Thanks" if I've helped!
 
jzero88
Old
#5  
jzero88's Avatar
Senior Member
Thanks Meter 142
Posts: 1,087
Join Date: Feb 2010
Location: Orange County
Default Re: [APP][2.2+] DriveDroid - host ISO/IMG files to boot your PC from

Awesome, just awesome freaking app!!!!!!!!ˇ!!!!!!!!!!!!!

Sent from my Nexus 4 using xda app-developers app
Phone: GALAXY NEXUS
Rom: CM9 All the Way
 
diosemperador
Old
#6  
Member
Thanks Meter 7
Posts: 45
Join Date: Dec 2010
Default Re: [APP][2.2+] DriveDroid - host ISO/IMG files to boot your PC from

Hi, again i have 3 questions id like to así:
-is there any test i can do todo verify if a ISO file is compatible?
-what method por spp do you use todo make a compatible file from an ISO format not supported?
-how can check if cdrom feature is working?

Great work!

Enviado desde mi GT-I9000B usando Tapatalk 2
 
kjtaylor13
Old
#7  
Junior Member
Thanks Meter 2
Posts: 18
Join Date: Feb 2007
Default CD-Rom Support in Existing Kernels

Hi,

I'm using this on my Samsung Galaxy S3 using Omega Rom 43.x and the USB Drive support works great, once I turned off USB Debugging.

Does anyone know if any of the current Kernels for the Samsung Galaxy S3 have the required patches for the CD-rom support as I would also like to boot a couple of CD's from my phone.

Thanks

Kevin.
 
Magnumutz
Old
#8  
Magnumutz's Avatar
Senior Member
Thanks Meter 124
Posts: 1,026
Join Date: Jun 2010
Location: Bucharest

 
DONATE TO ME
FrozenCow. does your app now support Note II fully?
Dual Booting Devil Kernel Samsung Galaxy Note II running on Omega ROM and always testing another ROM.
 
arunreturns
Old
(Last edited by arunreturns; 20th March 2013 at 03:27 AM.)
#9  
arunreturns's Avatar
Senior Member
Thanks Meter 39
Posts: 241
Join Date: Mar 2012
Location: Chennai
Default Re: [APP][2.2+] DriveDroid - host ISO/IMG files to boot your PC from

Any how tos. I tried. But it's not working. Not complaining. The app is fine. I know I'm doing something wrong. Any help is appreciated thanks

EDIT:

Got it working. Awesome work dev. Here's a small step by step instructions for those who were noobs like me.

Download slitaz from within the app
Select slitaz iso.
Select S3C1 and F Mass Storage 1
Also enable Usb storage.
Disable ADB (Android Debugging)
Reboot system.
Do the thing with your boot procedure.
And voila, (I hope)


Thanks a lot dev. This really made my day. Keep rocking. All the best for this app. I will follow it closely :thumbup:

EDIT 2: Btw my device S2 9100 on Alliance ROM 7.02

Sent from my GT-I9100 using Tapatalk 2
Device : Samsung Galaxy S2
Preferred Kernel : Stock/Siyah/Dorimanx
Preferred Samsung ROM: Alliance ROM
Preferred AOKP ROM: RootBox
 
FrozenCow
Old
(Last edited by FrozenCow; 19th March 2013 at 08:17 PM.)
#10  
Senior Member - OP
Thanks Meter 411
Posts: 264
Join Date: Aug 2009

 
DONATE TO ME
Quote:
Originally Posted by diosemperador View Post
-is there any test i can do todo verify if a ISO file is compatible?
Yes, check whether the image has a partition table usually gives a very accurate indication that the disk is hybrid. To do this (under Linux) use the command:
Code:
$ fdisk -l myimage.iso
It'll show some info about the disk, but also a partition (usually that partition is marked as being NTFS/FAT, but I think that is part of the trick to make it work on both CD and disk). If it shows no partitions at all you know it probably isn't a hybrid disk.
Quote:
Originally Posted by diosemperador View Post
-what method por spp do you use todo make a compatible file from an ISO format not supported?
For Linux distributions that are build on a recent version on syslinux you can use the tool 'isohybrid' like this:
Code:
$ isohybrid myimage.iso
It'll convert the iso so that it is hybrid. For all other ISOs (that are not build on syslinux) you can you the methods described for that OS to burn it to a USB drive. First create an image in DriveDroid, select the image so that it shows up on your PC as a USB disk, next use the OS-specific tools to burn the iso to the (emulated) disk. It'll be stored on the IMG you made.

You can try this on the official ISO of SliTaz 4 (so not the image form DriveDroids downloadlist). The devs forgot to make version 4 of their OS hybrid, but it does rely on syslinux, so it's possible to convert it using isohybrid. I've done this and put the converted ISO on my server, so that the hybrid-ISO is available in the downloadlist (I've only done this for SliTaz because it is so small and awesome).

If you see that a distro is convertable with isohybrid you should contact those devs. Some of them do not realize that this option is available or what the advantage is. When they distribute their ISO as a hybrid one I can put their distro on DriveDroids downloadlist too.

Quote:
Originally Posted by diosemperador View Post
-how can check if cdrom feature is working?
Ah, well, DriveDroid should show a CD icon next to the USB and locked-USB icons when selecting an image. At the moment only CyanogenMod nightly builds for the i9000 (kernel is named android_kernel_samsung_aries)

Quote:
Originally Posted by diosemperador View Post
Great work!
Thanks!
Quote:
Originally Posted by kjtaylor13 View Post
Does anyone know if any of the current Kernels for the Samsung Galaxy S3 have the required patches for the CD-rom support as I would also like to boot a couple of CD's from my phone.
Question to all: if you have applied the patches on their kernel, please post it here so others can try it. As far as I know no-one has put such a kernel/rom online yet, except for CyanogenMod nightly for the Samsung Galaxy S.

Quote:
Originally Posted by arunreturns View Post
Got it working. Awesome work dev. Here's a small step by step instructions for those who were noobs like me.

Download slitaz from within the app
Select slitaz iso.
Select S3C1 and F Mass Storage 1
Also enable Usb storage.
Reboot system.
Do the thing with your boot procedure.
And voila, (I hope)
Add "Disable ADB (Android Debugging)" to those instructions. It seems that's the final thing I need to add to DriveDroid to make it work for a lot of people. I've had several reports some Nexus devices stopped working because I fixed DriveDroid to allow ADB (previous versions just disabled ADB without consent). Some devices work with ADB running too (like my phone), but some just won't boot (although they do show up as USB devices on their OS).

The Following 3 Users Say Thank You to FrozenCow For This Useful Post: [ Click to Expand ]
Tags
drivedroid, img, linux, ums, usb
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes