Skip to content
Tasssadar edited this page Jan 7, 2013 · 6 revisions

Note: If you have 4.2 installed in Internal memory, all paths with /sdcard/ or /data/media/ are /sdcard/0/ or /data/media/0/ respectivelly. All paths in following text are without the /0/.

MultiROM stores ROMs in following folders:

  • /data/media/multirom/roms/ (internal memory)
  • /multirom/ (usb drives)

Subfolders in these locations are actual ROMs. Names of the folders are used as ROMs names.

Note that you can't access /sdcard/multirom in Android, because it has chown root:root && chmod 770. The /sdcard is not direct symlink, but mounted fuse filesystem, which does not run with root privilegies, rendering it unable to enter multirom directory. It will look like /sdcard/multirom is empty, but it is not - you have to go to /data/media/multirom. It is like that because Android's MediaScanner kept scanning the folder, which generated unnecessary battery drain.
MTP access via computer will also do the same thing - it will look like multirom directory is empty.
Recovery can acces /sdcard without problem, so if you need to adb push something in there, just reboot to recovery.

Android ROMs

There are 4 subfolders for Android ROMs:

  • /boot: contains init binary, init*.rc and ueventd*.rc and default.prop files. These are copyed to / at boot, so that ROM has it's correct rc files and init binary.
  • /cache: mounts as cache partition. This can be also cache.img if on USB drive.
  • /data: mounts as data partition. This can be also data.img if on USB drive.
  • /system: mounts as system partition. This can be also system.img if on USB drive.

Ubuntu ROMs (deprecated)

Contains only one subfolder, /root or one image, root.img. Path to this folder/image is passed to Ubuntu via cmdline, and Ubuntu mounts is as its root.

Generic Linux ROM

Must contain only one file to be recognized by MultiROM as valid ROM folder - rom_info.txt. This file contains full info about which folder should be passed as root via command line, what parametrs to pass in command line, etc. More info about that in Add support for new ROM type.
Other than that, it can contain whatever the ROM needs.

Clone this wiki locally