It's not difficult at all to do from the hardware perspective, but no one seems to have produced such a thing on the mass market.
It's not difficult at all to do from the hardware perspective, but no one seems to have produced such a thing on the mass market.
All you need to modify is /etc/fstab, /init.rc (or, in some cases, /init.XYZ.rc), split the sdcard into three partitions (OS, /data, /sdcard), copy the existing partitions from flash to the sdcard et voila.
A number of ROMs supported "inverted storage" that put the main OS onto the SD card for performance reasons.
https://play.google.com/store/apps/details?id=com.buak.Link2...
If you have rooted your device, and partition your SD card, it can mount one such partition so that it supplies the app storage.
To use PC bootloader terminology, that's chainloading. The SoC still starts from internal storage first, then switches to SD. My comment was about making a phone without internal storage at all, i.e. SoC boots directly from SD.
#!/bin/sh
mount /dev/mmcblk1p1 /root
exec chroot /root /bin/initI know about that feature but the SoCs that use it are usually very primitive and not those in smartphones and the like, which have a much more featureful boot ROM. Keep in mind that even the Raspberry Pi can boot from SD, and that's not even a very powerful SoC. The MTK SoCs which I'm more familiar with have a boot ROM that supports booting from (e)MMC/SD, NAND, and USB/UART (for recovery). TI's OMAP series are similar:
http://processors.wiki.ti.com/index.php/OMAP-L138_Preparing_...
if using a really slow tablet or phone appeals to you, roll your own tablet with a raspberry pi, touchscreen, battery, and micro sd card.
Put in some normal install too and here you have a device that can be cursory checked by TSA.
Raspberry Pi users can probably attest to this.
But then later some OEMs came up with partitioning the emmc and mounting one part in place of the SD card.
Later still Google codified this hack by mounting a vfat union mount on top of a directory in /data as if it was the SD card.
All in all Android storage is a tire fire of hacks.
On smaller or older computers I do all work in RAM via tmpfs and mfs. I only use removable external storage for storing bootloaders, kernels with embedded filesystem and a small archive of custom software.
If I have enough RAM I can chroot and install some distribution from the internet or from some larger capacity external media, but thats optional.