yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] Rafase282:
I have a problem with the internal rom. I flashed a zip with a kernel but now it wont boot. I followed your instructions and selected Advanced->MultiROM->Inject curr. boot sector but it still wont boot. Ubuntu and other android roms boot fine tho

Edit: I think I found the problem, it was the kernel, for some reason the kernel does not work with my internal rom but it does with another 4.1.2 rom so I just restored boot from a backup and started again.
[Nexus 7 Original Development] Tasssadar:
That is weird, does the installation boot works (the one which says "Preparing the root filesystem, please wait...")? Can you get me the boot image from /sdcard/multirom/roms/*name_of_the_ubuntu_rom*/boot.img?

Which ROM do you have installed in internal memory and which kernel did you flash? Also, what does it mean "wont boot" - when does it get stuck?
[Nexus 7 Original Development] Rafase282:
I have EOS Nightly, I flashed the Mkernel a14 which supports 4.2 but I don't know why it did not work. Either way I solved that issue. I noticed that the 4.2 issue was fixed so I installed a 4.2 rom too.

I want to keep the roms with different kernels for each one and I noticed you recommend sharing the kernel. What is bound to go wrong if I dont share the same kernel?
[Nexus 7 Original Development] Raudi1:
I have installed another ubuntu and tried booting it and haven't seen any "Preparing the root filesystem, please wait..."I have sent you the boot.img via pn.
[Nexus 7 Original Development] Tasssadar:
Oh, I forgot to repack ramdisk in that boot.img for ubuntu. Download http://www.mediafire.com/?jcriab6i35h7vci, flash it and install ubuntu again.
[Nexus 7 Original Development] Rafase282:
By any chance, would updating to v2 change the way ubuntu is mounted on previous working devices? Mine wont boot. It is on teh boot screen asking me to pass some init=bootarg and I cant even make an input.

Edit: I tired injecting the boot.img but nothing, I ended up deleting ubuntu and installing it again.

Edit2: It went to tty1 instead of the gui.
[Nexus 7 Original Development] DZonikg:
it was same message for me..waited half hour and them wanted to turn off and while holding power button it just passed that line and booted ubuntu after 30 seconds :D Now it works
[Nexus 7 Original Development] carandcar:
First of all Tasssadar thank you for this awesome mod! It's like getting a new device all over again.

Second, how long should I wait for a secondary ROM to boot? I have my primary ROM and Ubuntu booting fine. I can't get a third ROM to boot however. It gets stuck on the boot screen. I've waited for over 10 minutes and it hasn't booted. I've tried different ROMs and it's the same thing. Any suggestions?
[Nexus 7 Original Development] Rafase282:
On v1 I was able to have EOS 4.1.2 as the primary, CM10 as the secondary and Ubuntu. On the v2 however, ubuntu does not go to gui, it stays on tty1 regardless of what I tried from the console with an attached keyboard.
[Nexus 7 Original Development] carandcar:
I was just able to flash a 4.2 ROM successfully but the last two 4.1.2 ROMs I tried did not boot. I'm enjoying trouble shooting this though. I know it's a work in progress but I'm enjoying it just the same.
[Nexus 7 Original Development] Rafase282:
Well, try having a 4.1.2 as the "internal" to see how it goes. I'm not sure as I only used it once but 4.2 moves everything on your sdcard into a folder and creates a new one for a new user so maybe that has something to do with it. On the 4.2 rom I have ( I dont't remember if I mentioned it, the raberrybean or somethign like that) the sdcard looks as it was on 4.1.2.
[Nexus 7 Original Development] Tasssadar:
@Rafase282: Can you get me screenshot (just take a photo of tablet's screen) of what does ubuntu says?

As for ROMs not booting issue - try to use "don't share kernel" on "Add ROM" screen in recovery.
[Nexus 7 Original Development] jamesbra:
Re: [WiFi&3G] MultiROM v6

Great work on this project and your support is wonderful. I guess I misunderstood the nexus 7 Ubuntu page. I didn't realize it was just taking about 12.04. Thanks friend
[Nexus 7 Original Development] Tomsgt:
Do I under stand this install correctally?

first be install the recovery img with fastboot

Second flash the multirom recovery patch from that recovery and flash the kexec kernel for stock android

Third install ubuntu or any other rom, is this corrrect?

Thanks
[Nexus 7 Original Development] bmakk2055:
Re: [WiFi&3G] MultiROM v6

Guide here

https://www.youtube.com/watch?v=hhk3XlnPH0E&feature=youtube_gdata_player
[Nexus 7 Original Development] jamesbra:
Re: [WiFi&3G] MultiROM v6

Looks good to me.
[Nexus 7 Original Development] bonzer2u:
Actually I have found bodhilinux much more usable then ubuntu at this moment although the gui is quite a departure from the norm. However their website is very usefull with several tutorials on the subject.
[Nexus 7 Original Development] Tomsgt:
Thanks I thought this was how to do it. I am going to give it a try now. :) Ubuntu here i come.
[Nexus 7 Original Development] CreepyE:
Re: [WiFi&3G] MultiROM v6

So I'm running 4 ROMs (internal and 3 others) now say I'm running kernel no. 1, I get bored reboot and choose to boot no. 3. Get bored and switch back to no. 1. After I go back to no. 1 my settings such as tiles and custom nav seats go back to stock as if it was a fresh flash.

Is other any way to make sure it boots back up exactly the same as last time it was ran? It sucks having to set up a ROM again every time I choose to boot it. Any help would be great
[Nexus 7 Original Development] burninghouse:
need help.....

is there any video tutorial step by step on that how to install multirom on nexus 7?

i am on rooted stock rom 4.2.1 and is having TWRP recovery...
[Nexus 7 Original Development] Awesoham:
Re: [WiFi&3G] MultiROM v6

Flash zip, flash modded recovery, reboot.
[Nexus 7 Original Development] Tomsgt:
Re: [WiFi&3G] MultiROM v6

https://www.youtube.com/watch?v=w-FRRzkhFiw&feature=youtube_gdata_player
[Nexus 7 Original Development] Tasssadar:
Regarding bluetooth: it looks like bigger problem (desktop ubuntu has also problems with broadcom chips), but they'll be working on that next week.

This is amazing. Thank you guys.
[Nexus 7 Original Development] bmakk2055:
Re: [WiFi&3G] MultiROM v6

You welcome but its not mine ,I take no credit for it. I was just browsing YouTube. :D
[Nexus 7 Original Development] KeiranFTW:
Re: [WiFi&3G] MultiROM v6

Might be off topic here, but in WebOS I can't use the keyboard in text fields in the browser, the virtual keyboard disappears...

Thanks for any help
[Nexus 7 Original Development] minipot:
Re: [WiFi&3G] MultiROM v6

Yes I noticed that too bit of a pain I think on webos nation some where theres a thread that includes a cut down browser called wiNeR that may be able to write in text fields.

Wait aren't you from the xperia play section? I think I may remember using you're ROM at some point
[Nexus 7 Original Development] burninghouse:
need little bit help.....

i am on rooted stock 4.2.1 rom with m-kernel a-33(latest version) with TWRP recovery...i am going to install multi rom on my nexus 7.so do i also need to install this file named as Kernel w/ kexec-hardboot patch 4.2???????
[Nexus 7 Original Development] bonzer2u:
The m-kernel has been multirom compatible since a-19 or thereabouts so you dont need to flash another kernel if you wish. I use have used m-kernel, now motley #246 and plan to give omega-3 r4 a spin.
[Nexus 7 Original Development] ssmr2t:
I have an issue with playing ultravilot from flixter due to root.

I plan to use Multirom to load a factory non-rooted image for my kid to play with when she wants to

watch flixter movies (they block rooted devices and hiding root has caused issues for me in the past)

Does anyone have any info they think I should (a noob) know before embarking upon this wonderful magical direction :D

---------- Post added at 11:04 AM ---------- Previous post was at 10:22 AM ----------

NVM, it worked.. I just used the image from here in case anyone wants to do the same...

http://xdaforums.com/showthread.php?t=1929270
[Nexus 7 Original Development] ssmr2t:
Heres a question- I am prompted to update on the 4.1 I just installed and I have multiboot,,, Should I just ignore and keep this partition a stock 4.1?
[Nexus 7 Original Development] CreepyE:
Re: [WiFi&3G] MultiROM v6

How do we wipe cache and dalvik when updating a secondary rom?
[Nexus 7 Original Development] Tasssadar:
If you know what you're doing, you can use File Manager in recovery to just delete content of the folders, or delete the folder and create it again (path is for example /sdcard/multirom/roms/*name of the rom*/cache).

When TWRP 2.4 comes out (soon), I will update the modified recovery and add the option to wipe data/dalvik-cache for secondary ROMs. I would also like to add option to move ROMs between internal memory and USB drive, but I don't think I'll have enough time to do that, maybe later.
[Nexus 7 Original Development] SinAkira:
Re: [WiFi&3G] MultiROM v6

I bought today the tablet and my first option is try with your multirom so i hope that i can do it without any issue :) tell you later :D
[Nexus 7 Original Development] scottx .:
Re: [WiFi&3G] MultiROM v6

Worked really good. Had fun playing with it for a few hours. Keyboard sucks. I ended up plugging in a normal keyboard with my OTG. Could never get it to come up on screen when I needed it. I wish I could lower the resolution.

Installed cm 10 stable too so I have my normal 4.2 aokp, 4.1 cm and Ubuntu.

Ubuntu lags on here and I really thought it would run better considering the hardware. I'd like to do this on a Nexus 10. That would make up for the resolution and speed issues.
[Nexus 7 Original Development] SinAkira:
Re: [WiFi&3G] MultiROM v6

Yup i got it too... So by now i'm using cm 10.1 and left ubuntu when my case with keyboard arrives ;)

But is awesome the multirom option!! Great work!!

I'm sad because we won't get windows 8 for a try :p
[Nexus 7 Original Development] razvanwin95:
I have some troubles with multirom (i think)

After making dualbootu with android an ubuntu my tablet keeps restarting when i press the wake up button.

Is someone else having this problem ?
[Nexus 7 Original Development] jamesbra:
Re: [WiFi&3G] MultiROM v6

I can say I'm not. Have you tried deleting the secondary rom then doing a fresh install of multi ROM and trying again?
[Nexus 7 Original Development] browy:
Re: [WiFi&3G] MultiROM v6

Hi guys. I'm using motley kernel with the kernel patch, multi Rom is working flawlessly. Now I'm going to flash a new Rom as secondary one which has its own built-in kernel, specifically Sabermod. Will motley kernel be replaced by the built in kernel and will I loose multi rom after flashing it?

Edit: another question. As I said above, I'm using motley kernel. Now I want to switch to M-kernel. This is what I'd do: clear cache and dalvik, flash M-kernel, flash kernel patch. Will I loose multirom and existing ROMs after this process?

???? Sent from my Nexus 7 ????
[Nexus 7 Original Development] DMardroid:
Re: [WiFi&3G] MultiROM v6

No. You won't lose ROMs just flash kernel of choice like normal from twrp (all secondary ROMs will share that kernel). Just remember if multi ROM doesn't show up when rebooting , go to twrp/advance/multi ROM/ and inject current.boot sect (something like that) then reboot.

Dive in! :thumbup:
[Nexus 7 Original Development] maxq1:
unless you uncheck the option to share your internal rom's kernel/boot.img with the new/secondary rom, correct? which leads me to my question: what happens if you install a secondary rom whose kernel doesn't support kexec-hardboot and you do keep its kernel instead of sharing your internal's with it, a or b?

a) you lose multiboot...thus, you need to do that inject boot thingy

b) you happily keep multiboot with each rom maintaining its own kernel when booted into it...and life is good as it was

thanks in advance to anyone who can enlighten!
[Nexus 7 Original Development] Tasssadar:
You won't loose MultiROM - the kernel is installed to secondary ROM's folder (/data/media/multirom/roms/whatever) and when you'll try to boot that ROM:

1. MultiROM checks for kexec. This passes because the kernel in internal memory has kexec patches.

2. It loads secondary ROM's kernel, and tries to reboot into it.

3. Depending on the version of the kexec patch which your kernel has, you will after quite long time boot either to recovery or to the secondary ROM you've selected*. This is because the secondary kernel will not properly load it's initramdisk (part of boot.img). It also takes longer, because.....the RAM's....alignment....is not right without the kexec patch, so it takes longer to load the kernel**.

So, no disaster happens, it will just not work (properly). This why is sharing kernel recommended in the recovery - most users will not realize/understand that they need both kernels patched. Mind you, this is not your falt - I suppose it is not properly explained in the first post, I'm just not good at that. But, thankfuly, most of the times sharing kernel just works, so you have nothing to worry about.

You may wonder how Ubuntu works - you don't have to flash patched kernel to Ubuntu, right? That is because Ubuntu kernel team has accepted kexec compatibility patches - when you download Ubuntu, the patches are already in there. All other Linux ports on Nexus 7 that I know of use Ubuntu's kernel, that is why they work.

I would like to get kexec-harboot patch into CyanogenMod's kernel, so that when you download CM, it would be "already in there", like in Ubuntu. Unfortunatelly, CM's kernel maintainers are not much exicited about that, and I can't blame them - it is used only by small part of users (keep in mind that CM is targeted at "standard" android user) and they are afraid that it would cause unnecessary problems maintaining the kernel. I don't have any means to prove that this is not the case, but it is a pitty :/

You may also wonder why don't I check if both kernels have kexec-hardboot patches - the thing is, I can't. There is no way for me to check that when the kernel is not running, or at least I don't know about it. Just found a way. I will add the check, it will be there in next release, whenever that may be.

EDIT: Damn, that is a big post. Well, you wanted me to enlighten.

*You may have noticed that kernels in the second post now have "-2" appended to their zip's file name. First version kernels would boot into recovery, the second should eventually boot the selected ROM. It is just a minor thing, so you don't have to update or anything like that.

** Not sure how to explain that, and it is probably too technical - it is just slower without the patch.
[Nexus 7 Original Development] jawonder:
Good read .
[Nexus 7 Original Development] DMardroid:
Re: [WiFi&3G] MultiROM v6

TWRP 2.4.0.0 dropped :D:thumbup:
[Nexus 7 Original Development] browy:
Re: [WiFi&3G] MultiROM v6

Thank you Tasssadar for the expansion.

By the way, I've encountered a very strange problem today. After flashing a new secondary Rom, the primary one just lost its root access, Super SU is still there but it does nothing. My main Rom is SmoothRom and the secondary one I've flashed is SuperCharge. What can I do in order to get root access back? I'll provide a recovery log, can you please look into it?

http://db.tt/G0jqGu5x

Edit: I've deleted SuperCharge but that doesn't help either.

???? Sent from my Nexus 7 ????
[Nexus 7 Original Development] daveheart14:
Hello Tasssadar,

For information, in the list of kernels with kexec-hardboot patch. You can add the vorcers's kernel : http://xdaforums.com/showthread.php?t=2107224

It works very well.

Of course, it's up to you.

It follows you!!! ;)
[Nexus 7 Original Development] browy:
Re: [WiFi&3G] MultiROM v6

Never mind, I've reflashed my primary Rom and now I've got root access again.

???? Sent from my Nexus 7 ????
[Nexus 7 Original Development] Tasssadar:
Okay, MultiROM v7 and modified TWRP 2.4 are ready, I just have to test it and pack the ZIP files. I will do that tomorrow, because my n7's battery is empty and I have to sleep I guess.

For now, DO NOT UPDATE UBUNTU WITH apt-get upgrade nor apt-get dist-upgrade - there are some bugs in v6 which would cause quite annoying things, just wait until I release v7.
[Nexus 7 Original Development] bonzer2u:
Ahhh I wondered why it took such a dump after the 1/24 image.... DOH

On another note, Im unable to completely delete a previous cm10.1 fusion install via multiroms file manager, it replies 'fail' and I see a rogue file buried in a subdirectory of the roms structure. Tried to chmod 755/777 but still fail that as well.... any ideas for me?
[Nexus 7 Original Development] maxq1:
Thanks for that very informative explanation, Tassadar! I do wish someone could find a way on how to backup the secodnary rom/s though...icing on the cake, so to speak
[Nexus 7 Original Development] joemegahertz:
ah crap

ah crap tried to update linux should have checked here first. really messed up my system had to go all the way back to factory and go from thier lol oh well live and learn
[Nexus 7 Original Development] zaclimon:
Re: [WiFi&3G] MultiROM v6

I'm just here to state to the op that Franco updated his kernel to r42 with kexec support. It would be nice if it could be added to the first post.
[Nexus 7 Original Development] daveheart14:
Thank you for the information.
[Nexus 7 Original Development] android1999:
I know I am a really big noob but sorry how to download twrp and multiboot cuz im not understanding anything about this github files.

Sorry again.

edit: Sorry Found it.
[Nexus 7 Original Development] burninghouse:
need help.,...

i am always getting "instalation failed" while installing smoothrom v4.3 via multirom v6... help me to install this wonderful rom....but i dont want to lose multi rom recovery..
[Nexus 7 Original Development] bonzer2u:
copy omega3's r4 (or as of today franco's r42) kernel boot.img to the root of the your smooth 4.3 archive, re-zip and give it a go.....
[Nexus 7 Original Development] burninghouse:
currently i am using stock 4.2 kernel with koexec support (provided in the OP of this thread)..instead of using franco or omega kernel image can i use the image of this kernel also??
[Nexus 7 Original Development] Tasssadar:
Okay, v7 and new recovery released.

Ubuntu - flash-kernel

If you had Ubuntu installed before, you should go to recovery, MultiROM menu -> List ROMs -> select your Ubuntu installation -> Disable flash-kernel.

When you do that, apt-get dist-upgrade should be safe.

This is because of recent Ubuntu update, which would install flash-kernel package. This package flashes Ubuntu's boot image into boot partition, rewriting Android and MultiROM. We don't want that. You have to do what I said above before updating Ubuntu in order not to loose your boot image. If you've already updated and Ubuntu rewrote your boot sector, just get into recovery via bootloader and flash backup of boot.img/some other boot.img.

Updated recovery fixes this, and properly disables flash-kernel during Ubuntu installation, so that it can never ever rewrite boot sector.

Ubuntu - boot process

Specific support for Ubuntu was removed from MultiROM, and it is now handled as "generic linux ROM" using rom_info.txt file. You don't have to do anything, all should work as is, you should not even notice any change.

Ubuntu's kernel command line was also updated, so you may notice it starts in portrait mode now.

MultiROM

ROMs are now sorted in alphabetical order. USB tab now has little "progress dots" which are moving until it loads ROMs from USB drive, so that you know it is doing something when you're waiting for it to load ROMs from USB drive.

Recovery - aroma installer

When ZIP file does not have boot.img inside it, recovery now tries to use your current boot sector instead. This may not work (the ROM may not boot) when you are mixing Android versions (4.2 vs 4.1, AOSP vs CM, ...) but I think it is better than before.

If it does not work for your ROM, just add compatible boot.img into root of it's ZIP file.

Recovery - other

Updated to 2.4.0.0. Thanks TWRP team!

Added option to wipe /data, /cache and dalvik of secondary ROMs

Add "pressed" effect to all buttons, so that you know you've pressed it

Compile gnutar binary specifically for Tegra 3. This will speed up Ubuntu installation a bit.

PS: Should've been working on presentation to chemistry. For some reason, it seemed boring.
[Nexus 7 Original Development] bonzer2u:
Thanks, been lookin forward to this release...

On another note, Im unable to completely delete a previous cm10.1 fusion install via multiroms file manager, it replies 'fail' and I see a rogue file buried in a subdirectory of the roms structure. Tried to chmod 755/777 but still fail that as well.... any ideas for me?
[Nexus 7 Original Development] bigdog_nick:
Re: [WiFi&3G] MultiROM v7

Thanks for the update. Have to wait to get home to update my nexus!
[Nexus 7 Original Development] caballon:
parnoid

how do a updated in multiroom paranoid rom to the latest rom thanks in advance.
[Nexus 7 Original Development] jbaumert:
Just a missed (very minor) detail: "TWRP_multirom_n7_20130130.img" downloads as "TWRP_multirom_n7_20130130.bin" - It still flashed fine, just wanted to avoid any confusion with others.
[Nexus 7 Original Development] bmakk2055:
Re: [WiFi&3G] MultiROM v7

You should of renamed it to img
[Nexus 7 Original Development] drewski_1:
There are instructions in the OP for updating the Internal ROM. Is that what you're asking?
[Nexus 7 Original Development] bonzer2u:
updated to latest v7 multirom/twrp no problemo also disabled flash-kernel on my new 1/30 ubuntu image. everything works as advertised. exceptional work on your part I might add. thanks again.

FYI, still cant delete an old cm10.1 fusion rom/directory/file..... although it shows up as a listed rom in multirom to manage, it does not show up on the boot option menu at startup, no biggie but still bugs the shiza outa me.
[Nexus 7 Original Development] drewski_1:
Re: [WiFi&3G] MultiROM v7

I can't boot from USB.

I installed 2 roms and can see them in Recovery, but only get the dots on Multirom. Waited like 10 minutes.

ROMs internal work great so other than that, awesome mod!
[Nexus 7 Original Development] Xentar712:
Re: [WiFi&3G] MultiROM v7

Anyone able to boot Ubuntu using francos r42 kernel? I'm getting the no kexec error still
[Nexus 7 Original Development] bigdog_nick:
Same here. Just updated to v7 with latest recovery. Booted, restarted and installed r42. I get the no kexec error as well.
[Nexus 7 Original Development] burninghouse:
still unable to install smoothrom with latest multi rom and TWRP recovery?? any suggestions?
[Nexus 7 Original Development] zaclimon:
Re: [WiFi&3G] MultiROM v7

Franco kernel didn't have the kexec definitions the the config so you'll need to wait the time it gets updated.
[Nexus 7 Original Development] android1999:
Umm CWM??

Awesome work tassadar.

There is only one think I have to ask/request you and that is can you please create a CWM recovery compatible with multirom. It is okay if you dont have time but just a request.

Keep up the good work.:good::good::good::good:
[Nexus 7 Original Development] Rox666:
R: [WiFi&3G] MultiROM v7

Hi!

I want to alert you thet codenamedroid dosen't work with multirom!

At the first boot, it's stoping on the bootloader img! I've try to reinstall it but nothing!

Byebye!
[Nexus 7 Original Development] burninghouse:
anybody pls i am always facing stucking at boot animation....
[Nexus 7 Original Development] caballon:
no the others room in the nexus how to updated or i have to flash the new ones again thank"s again!!!!!!
[Nexus 7 Original Development] bonzer2u:
did you upgrade your bootloader to v4.13?, you can manually or I used wugfresh tools....
[Nexus 7 Original Development] Rafase282:
Starting fresh, I'm unable to setup my account in ubuntu because the keyboard is not working. Has anyone encounter the same issue?