Install Ubuntu using a Smart Phone as the Installation Media
Here is a reprint of instructions by Kryštof Píštěk for using DriveDroid to install Ubuntu.
Yes, it's possible
Using only an Android phone with internet, root and a USB Cable, you can emulate a flash drive with your Android phone using an app called DriveDroid. However, this is not officially supported and you may be better off asking a local Linux enthusiast (or anyone else who has a working computer) to burn a LiveCD/LiveUSB for you.
If you still want to use DriveDroid though, here is a tutorial:
- Open the app and choose the + on the lower bar
- Choose to download an image and to download Ubuntu and go through any additional steps
- Go to the image list and choose the new Ubuntu option
- If asked for emulation mode, choose read-only USB
- Connect phone to PC if you haven't already and boot from the USB (depends on PC manufacturer)
- (optional) When Ubuntu boots, choose to try Ubuntu, mount the Windows partition and move any files you want to rescue to the flash drive (if possible). If the partition is corrupted, look up a way to recover partitions in Linux
- If you chose to skip 6, choose to Install ubuntu and follow the instructions on screen. If you followed 6, open the Install Ubuntu app on desktop and follow instructions on screen Note: While installing Ubuntu, you may want to remove the physical USB (so that you don't accidentally install on it)
- Reboot, unplug your phone when asked to and enjoy!
The app DriveDroid is available on Google Play with searching or this link: https://play.google.com/store/apps/details?id=com.softwarebakery.drivedroid
Ref: How to install Ubuntu using a smart phone as the installation media?