NOTE: This requires your android device to have "Connect as CD-ROM" (or equivalent) option otherwise it won't work. If your device doesn't have this feature you'll have to manually mount an ISO in your android and connect the device to the computer as a CD-ROM although I don't know how to do the latter. Figured it out? Let me know in a comment. :)
Once you're able to connect the device as a CD-ROM, locate the iso file the system mounts. You can do this by opening a root shell and issuing
find . -name \*.iso
If multiple results are returned you'll know what's the right one because every other iso except the one we need is yours. Seriously who stores ISOs on mobiles?
In my case it was iAmCdRom.iso in /system/etc/
This is the file you need to replace with a bootable iso. (The excact path and filname might be different from mine.)
I found this little distro TinyCore which is like 15MB and even has a GUI. Really fits the need and easy to use even for a total newb.
Mount the partition rw, replace the file, remount CD-ROM (usually /mnt/cd-rom) [or just give a reboot]. And now you have a fully functional on-the-go linux distro, anywhere and whenever you need it. It will boot like any other live cd boots.
It looks like this when run...
Leave a comment if anything went wrong though I guarantee NOTHING. :)
PS: If TinyCore GUI doesn't show up try
sudo tce-setup startx






