[MultiROM] [LINUX] [How-to] Rom installers for sdcard

Search This thread

MrAdamH

Member
Sep 13, 2009
44
7
Copenhagen
Generating initrd.img/vmlinuz

Okay, archlinux re-packed to new multirom installer format. Inside the installation package is tar.gz archive from http://os.archlinuxarm.org/os/tegra/ and all modifications are done on the device after the archive is extracted (see post_install folder in the installer). This means you can update this package with unmodified tar.gz from archlinux website.

This installer does not contain any desktop enviroment, you have to use either USB-OTG keyboard or serial console (screen /dev/ttyACM0 115200 on linux). I recommend you use application wifi-menu to connect to wifi.

User/Password: root/root

http://www.mediafire.com/download/8ez24zzje9kzpep/arch_20130626.mrom

I'm trying to create an Arch image for my Nexus 4, and have run into a bit of a wall.
I'd like to ask you how you generated/made your initrd.img and vmlinuz - as I presume those are the files missing for me to get Arch bootable on my Nexus 4.

Regards, Adam.
 

geleiahp

New member
Feb 3, 2009
3
0
If someone want to try the Ubuntu 12.04 with the lastest NVIDIA drivers: github.com/gabrielrcouto/nexus7-ubuntu-12-04
 

angelorg74

Member
Oct 16, 2014
20
0
This sounds amazing!

This is an (hopefully) updated collection of all roms (not android based, but other linux OS, like ubuntu, archlinux, fedora...) for nexus 7 (grouper and tilapia) available using the MultiROM system.
MultiROM is an amazing hack (I want to thank again its author, Tasssadar) that permits to boot different OS (multiboot) and different android roms. It starts between kernel and rom init, showing a sort of bootloader dialog to choose which system to boot.
It supports installing (and booting, of course) roms to USB drives.
To use MultiROM you need multirom installation zip , a modified TWRP recovery and kernels with kexec support. Relax, is not hard or long to do this.
More information and installation (of MultiROM, recovery and kernels) --> [ MULTIROM ]
PS: I need to specify I coded nothing, my only work was helping with issues, repacking roms, make them work. I want to say thank you to all devs are developing for Nexus 7, I'm doing this because I appreciate their work and I want MultiROM to rise. It deserves to.

HOW TO INSTALL A ROM.
Tasssadar provided also a zip template (see the [ WIKI ] for more info) that is incredibly easy to use.
To install a linux os to sdcard, you just need to download the zip and flash it like a normal update.zip.
It won't replace your internal rom, because it is going to install in /sdcard, not in /system or /data. And it WON'T wipe anything.
Remember that flashing ubuntu or android rom is DIFFERENT from flashing those zips. To flash ubuntu or another android rom you need to use MultiROM menu under ADVANCED voice in recovery (again, see wiki or multirom thread if you need more information).

ROM PACKS.
In the next post I'll share links for rom zips. If you have other zips or if you have built other zips, please share them. They will be (hopefully) added to the list. If not, please pm me. I can't read all posts.
If you want to share a zip, please try it first. I don't know if I'll be able to test everything real-time, and I don't want anyone to see his sdcard erased or strange things like this. MultiROM has a percent of risk, but nobody has lost his data till now. So please share zips consciously.

Can this be performed on a Nexus player? I am tying to use linux deploy but I can not get to the menu setting. If I could use it I can pretty much have a android tv box that is more like an linux mini box. Please let me know and thank you.
 

Kaiyes

Senior Member
Nov 3, 2011
98
17
so this thread is pretty much dead now I guess. I had most of the roms workingeven a year ago. Now, none works. Throws a f2fs error though I am on ext4.
 
Dec 16, 2015
24
46
Bradenton
Was Primary (Internal) ROM Lollipop Before?

Are you running Marshmallow now? You have to flash supersu BETA first and then a "patched" kernel second BEFORE finally injecting MultiROM into the current boot sector using the specially modified TWRP Recovery.... If you do things right you'll leave /system mounted read-only or not mounted at all throughout the entire process! The future is dynamically modified boot images utilizing a loopback filesystem mounted under /su no more /system/xbin OK? :p

Hope this fixes your problem! If it does not please provide more information...

I used this a long way back and it worked fine. now that I've revisited it, it will NOT install any of the roms in this thread, they all fail (some quicker than others). I even backed up my nexus 7, factory reset it and installed only multirom and still the same issue.

sad-face


---------- Post added at 11:34 PM ---------- Previous post was at 11:30 PM ----------

has any one done video walk threw of setting up any of this Linux systems on The 7 .

I've compiled Debian for the Nexus 7 2013 but I need to research the format of .mrom files to make installation easy. I actually saw your post while trying to find the information.

Once it is all done I'll be posting a new thread / guide on YouTube!

Edit: Just in case anybody else was looking for MROM format -- https://github.com/Tasssadar/multirom/tree/master/installer --
was easier to find than I thought it would be! --
 
Last edited:

mindmajick

Account currently disabled
Are you running Marshmallow now? You have to flash supersu BETA first and then a "patched" kernel second BEFORE finally injecting MultiROM into the current boot sector using the specially modified TWRP Recovery.... If you do things right you'll leave /system mounted read-only or not mounted at all throughout the entire process! The future is dynamically modified boot images utilizing a loopback filesystem mounted under /su no more /system/xbin OK? [emoji14]

Hope this fixes your problem! If it does not please provide more information...



---------- Post added at 11:34 PM ---------- Previous post was at 11:30 PM ----------



I've compiled Debian for the Nexus 7 2013 but I need to research the format of .mrom files to make installation easy. I actually saw your post while trying to find the information.

Once it is all done I'll be posting a new thread / guide on YouTube!

Edit: Just in case anybody else was looking for MROM format -- https://github.com/Tasssadar/multirom/tree/master/installer --
was easier to find than I thought it would be! --
You ever figure this out and make an mrom install able Debian?

Sent from my HTC One_M8 using Tapatalk
 

clixer

Member
Mar 5, 2016
16
4
I think this is probably a good place to post this.

In response to many reports of an F2FS error on booting many Linux ROMs, there is actually a simple fix I found about a year ago. It simply is correcting a kernel parameter in the rom's rom_info.txt.

1) Connect the device to your computer, fire up recovery (I use TWRP) and ADB in. You could also use MTP but Debian Gnome doesn't play nice with it.
2) Navigate to (approx. ) /sdcard/multirom/roms/[rom name]
3) Use the command vi rom_info.txt to use the vi editor to edit the file. (Begin editing with I and stop with ESC are the basics for nano users like me. Nano isn't available on the TWRP image)
4) Change the line
base_cmdline="%b root=%d rootfstype=%r rw console=tty0 access=m2 quiet splash rootflags=defaults,noatime,nodiratime
to
base_cmdline="%b root=%d rootfstype=ext4 rw console=tty0 access=m2 quiet splash rootflags=defaults,noatime,nodiratime
This should work for most of you, although if you have an f2fs data partition, you may need to use that instead. I've only tested it with EXT4
5) Reboot.
 

scoobypl

New member
Jun 10, 2017
1
0
is kernel upgrade possible

Hello,
I've recently tried the image you've made on my nexus 7 from 2012.
Unfortunately after trying upgrade i have FATAL error kernel too old:(
Is it possible to create such image with current kernel version using resources that can be found on ..gr.mirror.archlinuxarm.org/os?
Any chance for a rookie? any clear tutorial? Or maybe with your experience it's any easy task and you could upgrade and publish such image?
Best regards!
Jakub
 

sk1tch

Senior Member
Nov 14, 2014
86
65
Lakewood
Fix the links please for plasma active. And post the ubuntu 13.04 userdata and boot.img back up here. Makes it really difficult to install a desktop on my N7 2012 without it. Becuase NOBODY likes Ubuntu Touch for one, and two old projects need to stay alive for those trying to learn. Thanks in advance
 

Top Liked Posts

  • There are no posts matching your filters.
  • 76
    Ubuntu touch preview
    Okay, I'll skip right to the instructions.

    0. Requirements
    You'll need MultiROM installed with recovery from at least 22nd of February. You can find downloads and installation instruction in in MultiROM's thread, as soon as you have it all installed, come back to this post.
    Free space needed: a little over 1 GB.

    1. Downloads
    You'll need two ZIP files from this daily build page.
    Base system: raring-preinstalled-armel+grouper.zip (~33 MB)
    Ubuntu data: raring-preinstalled-phablet-armhf.zip (the biggest one, ~550 MB)

    2. Installing base
    Reboot to recovery and got to Advanced->MultiROM. Select "Add ROM" option. Choose these settings:
    Choose ROM type: Android/Ubuntu touch
    Share kernel with Internal ROM: Don't share
    Install location: Wherever you wish to install it.

    Click Next, then select ZIP file as ROM source, and choose the smaller ZIP file with base system (quantal-preinstalled-armel+grouper.zip). Proceed with installation. Do _not_ reboot after installation!
    Installing on USB: if you get to screen which wants you to "Set up the size of disk images", set the size of data.img to something bigger - 1500mb should be enough.

    3. Installing Ubuntu data
    Select List ROMs in MultiROM menu in recovery, then select the ROM you've just created (probably named something like quantal_preinstalled...) and choose Flash ZIP option. Select the bigger ZIP file (quantal-preinstalled-phablet-armhf.zip) and flash it. Beware, this ZIP file then can't be used to flash Ubuntu without MultiROM, as it is modified in the process to suit MultiROM needs.

    5. Profit
    Ubuntu touch developer preview is now installed. Keep in mind that this _really_ is just a preview, so pretty much nothing will work. Looks good though.


    Not much is changed, the only thing which needed to be done was to compile Ubuntu's kernel with kexec-hardboot patch. The mrom_quantal-preinstalled-armel+grouper_20130221.zip file has only different boot.img, otherwise it is exactly the same. You can use official daily builds, the patches for MultiROM are in there.

    This preview is basically cyanogenmod with Ubuntu UI running in chroot, so it is really similiar to Android. I'm told that this is because the Ubuntu core and, most importantly, drivers, are not yet ready. In the future, it should be this UI running on top of standard Ubuntu core (ie. the Ubuntu raring which you already could multi-boot).
    37
    This is an (hopefully) updated collection of all roms (not android based, but other linux OS, like ubuntu, archlinux, fedora...) for nexus 7 (grouper and tilapia) available using the MultiROM system.
    MultiROM is an amazing hack (I want to thank again its author, Tasssadar) that permits to boot different OS (multiboot) and different android roms. It starts between kernel and rom init, showing a sort of bootloader dialog to choose which system to boot.
    It supports installing (and booting, of course) roms to USB drives.
    To use MultiROM you need multirom installation zip , a modified TWRP recovery and kernels with kexec support. Relax, is not hard or long to do this.
    More information and installation (of MultiROM, recovery and kernels) --> [ MULTIROM ]
    PS: I need to specify I coded nothing, my only work was helping with issues, repacking roms, make them work. I want to say thank you to all devs are developing for Nexus 7, I'm doing this because I appreciate their work and I want MultiROM to rise. It deserves to.

    HOW TO INSTALL A ROM.
    Tasssadar provided also a zip template (see the [ WIKI ] for more info) that is incredibly easy to use.
    To install a linux os to sdcard, you just need to download the zip and flash it like a normal update.zip.
    It won't replace your internal rom, because it is going to install in /sdcard, not in /system or /data. And it WON'T wipe anything.
    Remember that flashing ubuntu or android rom is DIFFERENT from flashing those zips. To flash ubuntu or another android rom you need to use MultiROM menu under ADVANCED voice in recovery (again, see wiki or multirom thread if you need more information).

    ROM PACKS.
    In the next post I'll share links for rom zips. If you have other zips or if you have built other zips, please share them. They will be (hopefully) added to the list. If not, please pm me. I can't read all posts.
    If you want to share a zip, please try it first. I don't know if I'll be able to test everything real-time, and I don't want anyone to see his sdcard erased or strange things like this. MultiROM has a percent of risk, but nobody has lost his data till now. So please share zips consciously.
    29
    ROM LIST (DOWNLOADS)
    * [NEW] PLASMA ACTIVE 4.0 (20140121)
    mirror: http://d-h.st/Khh
    old version: https://docs.google.com/file/d/0B9ZvdqAbuJi2blQ0TDgweFFKTlU/edit
    description: KDE for embedded devices. Very cool and interesting. 4.0 version is more stable, video codec is working as well. Little slow booting.
    * BODHI LINUX 20130109
    old version: INITIAL RELEASE
    notes: old version passwd for root and armhf user is trustno1 (sorry for that, is my fault. In new release it is again bodhilinux)
    description: Ubuntu with E17 (Enlightenment) with mobile GUI. Pretty stable and... veeery fast.
    *ArchLinux 20130113-2
    old version: -
    description: ArchLinux. Simply. Not designed for basic users. Really powerfull, with already packed KDE, Gnome-shell, LXDE, XFCE, Enlightenment environments (and many others probably). Needs testing, and some love, as it's initial release.
    *WebOS ALPHA
    old version: http://www.mediafire.com/?3m58uuvysxiwypw
    description: still in alpha stage, unstable. Interesting project. Needs love.

    * [MANUAL INSTALL] Ubuntu Touch Tablet DEVELOPER PREVIEW
    old version: -
    description: developer preview, android-based, with the new Ubuntu Touch UI.

    [NEW] Use MultiROM app to install the latest version in the easiest way

    ROMS TO BE PACKED/MADE WORKING:
    fedora4nexus7?
    9
    I've repacked webOS and PlasmaActive to new MultiROM installer format. These ROMs can now be installed to USB drive.

    Go to Advanced->MultiROM->Add ROM and choose MultiROM installer type!
    You need recovery from at least April 4th.


    WebOS: http://www.mediafire.com/download.php?stzelibsuzqzp31
    PlasmaActive: https://docs.google.com/file/d/0BzZdFm5P1VJuc3NsSE1DRzBJOXM/edit?usp=sharing
    8
    If anyony wants to use these instructions to get a kde desktop environment for Arch linux, then here they are. I have not included the kde login screen yet. still just using startx... Have not gotten gnome up yet, and lxde was stuck in portrait and non responsive.

    These instructions assume you are using a usb kb and mouse, via otg.



    Install tassader's mrom packed Arch.

    Boot arch

    at login, user:root Password:root

    type wifi-menu. when window opens, pick your wifi, and enter security pass, if needed.

    once back to cursor, type "pacman -Syu" to update the whole system. Confirm and Y (leave out the " ")

    once back to the cursor, type "pacman -S xorg" Press enter for all, and Y

    cursor again Type "pacman -S xorg-xinit xorg-twm xterm" confirm, and Y

    Here, there are two options--

    1. Edit /etc/X11/xorg.conf using nano from arch.

    Or

    2. Reboot (type "reboot") and boot android. Using a root browser, navigate to /data/madia/0/multirom/roms/your arch install/root/etc/X11/xorg.conf. Edit xorg.conf in the same way that @ylixir described in the post just above this one. Save changes. Or, just download from here http://db.tt/rR1BSvbQ and replace your existing xorg.conf with this one. I recommend this method for people not comfortable with terminal style editing, to help prevent parse errors from incorrect edits.

    Reboot and boot into Arch.

    Now, add a user acct for yourself-- "useradd -m -g user -G wheel,storage,power -s /bin/bash usernamehere"

    Now a password-- "passwd usernamehere" enter password twice

    On to Kde-- "pacman -S kde" Press enter for all, and Y

    Once done, at the prompt, type "cat>> .xinitrc" It will now drop down a line. Type "exec startkde" Now hit ctrl+D twice. Makes me do it twice, anyhow.

    Now after all that, type "startx"

    You will now boot into kde desktop, but it will be in portrait. Using your mouse, click the kde bubble in the lower left. Click applications. Go to settings. Then system settings. In the category "Hardware", click display and monitor. Under the rotation dropdown, choose turn right 270 degrees. Click apply. then click save as default, and click the same in the dropdown. Click ok on pop up confirmation. Your desktop will now be set correctly, and should boot with the correct settings from now on. Have fun!

    Thanks to ylixer for the xorg.conf edits he posted. Most of this info was hobbled together from an arcticle about installing Arch to a raspberry pi.


    Sent from my Nexus 7 using xda premium