yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] king_josh60:
thats nice, booting different roms when ever you want, thanks :D
[Nexus 7 Original Development] Ryan_Shea:
Wow this is epic....Ive always wanted Ubuntu on my n7.

sent from my paranoid nexus 7
[Nexus 7 Original Development] azoller1:
The day has come....this is awesome!!
[Nexus 7 Original Development] Ryan_Shea:
Has anyone done this yet? I'm a little nervous to try this. I really want to though just don't want to be the first as im still relatively new to adb

sent from my paranoid nexus 7
[Nexus 7 Original Development] Urabewe:
I will certainly be trying this out later. Thanks, will report back with my experience.
[Nexus 7 Original Development] ericdjobs:
Absolutely amazing. Definitely going to give this a shot. Awesome work.
[Nexus 7 Original Development] zeno07706:
This is fantastic, works a treat here dual booting with latest PA/Trinity. Thanks very much for your work on this Tasssadar :highfive:
[Nexus 7 Original Development] mid-kid:
Time to do evil things... >:D
[Nexus 7 Original Development] xopher.hunter:
How much space is given to ubuntu on a 16gb nexus and what is left for android? can these be adjusted?
[Nexus 7 Original Development] Tasssadar:
Clean installation of ubuntu takes about 1.5gb, but you need at least 2-3gb of free space for the installation process.

All data are saved to /sdcard/multirom folder. It is not separated in any way from your normal data - it eats up from the same storage as for example your movies and music.
[Nexus 7 Original Development] mlaws90:
I installed Multirom successfully, and used the boot screen and everything. I installed the ubuntu rootfs.img and it seems to be taking a long time on "Preparing the root file system, please wait, this will take a few minutes..." I had just under 2 GB free when I installed it, is that enough, used the Nexus 7 16 GB image.

EDIT: I just saw the post above, where are you getting you need 2-3 GB to install? I think Im going on 10 minutes...I may reboot to Internal(Android 4.2 AOKP) to free some storage space, delete a game or something, and start over installing Ubuntu.

EDIT 2: You a long list of No space left on device messages for a list of files, gotta start over.
[Nexus 7 Original Development] Tasssadar:
It takes a while to install ubuntu, it extracts about 600mb archive, that means you need the space for archive itself and the extracted data (archive is erased at the end of the process). I say 3gb of free space just to be sure.

If it fails because it does not have enough space (you will notice the spam of "no space left" messages), just reboot to your internal ROM, then reboot to recovery, delete the ROM and try again with more free space.
[Nexus 7 Original Development] prestige777:
My understanding of Ubuntu is that it can run microsoft office through the use of a virtual machine, does this support the use of a virtual machine?
[Nexus 7 Original Development] grojas:
My friend, you rules!, you´re the boss!, the big cheese, Big Kahuna!, etc, etc, etc.

Since I heard about Ubuntu for N7, I've been looking for a solution like that for I have both distro in my tablet. Now, thank to you, that is possible!.

Thank you for sharing, keep walking!!.

Cheers!,

P.S.: Btw, works terrific with my 4.2 rooted stock ROM in my 8GB N7
[Nexus 7 Original Development] Warrior1975:
Stupid question...I clicked on the Ubuntu link and tried to download the 8gb Nexus image but it doesn't download. It opens it up. No download. Am I doing something wrong?
[Nexus 7 Original Development] mlaws90:
I got it working with AOKP 4.2 and Ubuntu, and I'm going to add PA Beta 3 once it gets re-uploaded. 2 android ROMs and Ubuntu! Awesome!
[Nexus 7 Original Development] rebel1699:
Sweet! Thanks for that. You and I seem to really be the only ones really looking for workarounds. Glad you got ubuntu going and can join the fun! I am not real fluent, but I keep trying.

Skyrocket on AOKP by R4ins
[Nexus 7 Original Development] Rafase282:
Well, Now I have to figure out how to get the table to multiboot, currently it only boots to ubuntu.
[Nexus 7 Original Development] rebel1699:
If you download francos r30 boot.img (if on 4.2) and follow op instructions to install it, that should get you back access to internal. Then, inject current and you should be able to multi boot again.

Skyrocket on AOKP by R4ins
[Nexus 7 Original Development] Rafase282:
I'm on 4.1.2

using trinity kernel.

---------- Post added at 03:58 AM ---------- Previous post was at 03:51 AM ----------

Could you pass me your boot.img from the ubuntu folder? I have the feeling I might need it.
[Nexus 7 Original Development] rebel1699:
Most definitely. Here ya go

It didnt upload right. Give me a minute to get it up to box and get the link
[Nexus 7 Original Development] Rafase282:
Thanks, I just messed up my android system, had to do a restore and then the multiboot for ubuntu was messed up. I really dont want to have to start over after configuring my system and all.

---------- Post added at 04:13 AM ---------- Previous post was at 04:09 AM ----------

I was checking and I got franco kernel for 4.1.2 but I might need to manually configure the init configuration
[Nexus 7 Original Development] O2Blevel:
rebel1699 has a post a few pages back describing how he mounted a usb stick. Didn't work for me, but give it a try.
[Nexus 7 Original Development] rebel1699:
Heres the link to the boot.img

https://www.box.com/s/sevyvtwl6slba0xsqvbb
[Nexus 7 Original Development] Rafase282:
Yeah with his help I solved that issued and found a way to automate the process for that and more.
[Nexus 7 Original Development] rebel1699:
Look up a few posts and Rafase282 came up with a more perm way of doing it. Worked great for me. Give it a try. Hope it gets you fixed up. If it does, beat on his thanks button. :D
[Nexus 7 Original Development] Rafase282:
Could I take a look at your init config? Do you by any chance installed ubuntu as a third room?
[Nexus 7 Original Development] rebel1699:
My android init? Specify which file you need, and I will get it right to you.

No, ubuntu is my second rom. Only Internal rom and ubuntu are installed. No need for a third for me.
[Nexus 7 Original Development] Rafase282:
I think my setup only works with the bricked kernel. I reflashed it, reflashed v2 after previously removing all files but the roms and now I'm going to boot ubuntu, if it does not work then I will do the inject current boot when booting from internal, if that dont work then to post log and troubleshoot again =d
[Nexus 7 Original Development] rebel1699:
Cool. Anything you need, just post it. I will be up and working on a docking station design.
[Nexus 7 Original Development] Rafase282:
Here comes the log
[Nexus 7 Original Development] rebel1699:
Seems to be saying that es file explorer is causing the error. Tryie uninstalling it and trying again? Or, giving es root?
[Nexus 7 Original Development] Rafase282:
I removed the whole multirom and all its files. So ES shouldnt be a problem, I did it from recovery.

So now to start over, I flash v2, boot into internal, then flash ubuntu.

I just wish there was an easy way to recover my previous system configuration.
[Nexus 7 Original Development] Rafase282:
Okay here are my findings, I erease everything, wipe data, system ,sd and started over clean.

Now teh setup works fine, I can boot to the gui. I have no idea what was going on but now it works. The ubuntu user has access to /, maybe to media too. I will confirm this later on. I should be asleep long ago.
[Nexus 7 Original Development] Tasssadar:
If this does what I think it does - sets chmod for every folder/file in / - then it is a bad idea - you have android ROMs in /media/multirom, and android does not like messing with chmod. I suggest you do not do this.
[Nexus 7 Original Development] ludox10:
How do the maj in 4.2.1 with the zip file in recovery?

sorry for my english
[Nexus 7 Original Development] rebel1699:
I was just asking for the exact filename because if you have an older version of regular twrp in the same folder, you could be flashing the wrong one. Just looking at the obvious things because I cant think of anything that would cause twrp for multirom to flash sucessfully and have an error so bad the the multirom menu is not even present.
[Nexus 7 Original Development] thelch:
I will look for the File Name later AT home.

There you see that there is no Button :(
[Nexus 7 Original Development] rebel1699:
That would probably be what is going on. The only two things I can think that would cause this is 1. Theming twrp. 2. Flashing the wrong twrp. Since it does not look to be themed, and the multiple flashes, i'm betting okn number 2. Make sure the filename you are flashing is TWRP_multirom_n7_20130830.img
[Nexus 7 Original Development] :
Currently I dual boot CyanogenMod 10.2 and Arch Linux. Is it possible to replace CyanogenMod with Ubuntu Touch?
[Nexus 7 Original Development] rebel1699:
If cyanogenmod is the internal, than I dont think so. The multiboot ubuntu touch format for install will not work correctly in regular install menu. Besides, if ubuntu touch were the internal, I dont think multirom would install, per different directory structure. If data/media/0 was the install path, there wouldnt be one there.
[Nexus 7 Original Development] thelch:
openrecovery-twrp-2.6.1.0-tilapia.img

this is the name of the flashed recovery file

edit: it was the wrong file ;)

with TWRP_multirom_n7_20130830.img it works :)
[Nexus 7 Original Development] aqsede:
will this work on 32gb/3G version of n7 ?
[Nexus 7 Original Development] rebel1699:
Yes
[Nexus 7 Original Development] aqsede:
Sorry just read the changelogs. Clearly stated there.

*OFFTOPIC*

Tomorrow, im gonna buy n7 3G, is the development for 3G version is a bit 'lack' than the wifi version? In terms of mod/rom/kernel/update?
[Nexus 7 Original Development] SupermotoSM:
Just to let you know, the updated recovery has the same issue like the ones from 20130821 and before: doesn't boot into recovery, stucks at google logo. but working with 20130825, still fine.

other question, off topic.. do you know btw how to enable "iw reg set" in the pwn pad build?:)
[Nexus 7 Original Development] drewski_1:
quirky. latest boots into recovery fine for me.

i just saw there's a 2.6.2.0 on Goo.im
[Nexus 7 Original Development] .TanTien:
Ubuntu isn't installing. I get an error saying Failed to decompress the image, more space needed? Which is strange because I have 18gigs of free space on it. What can I do?

€: got it working by extracting the img.gz file and renaming the raw file into img. Then I flashed it with MultiROM as ubuntu.
[Nexus 7 Original Development] drew1ind:
Why do touches not get detected after a while?

*EDIT*

I mean by them on ubuntu desktop... Oops
[Nexus 7 Original Development] farmerbb:
Because of bugs in the touchscreen code on Ubuntu Desktop, probably part of the reason why they're developing Mir as part of Ubuntu Touch.

I'd highly recommend using a keyboard/mouse while using Ubuntu Desktop.
[Nexus 7 Original Development] drew1ind:
Thanks, because for a while I've been reading that it's a bug with the whole thing but there wasn't answers.
[Nexus 7 Original Development] rebel1699:
Farmerbb is absolutely correct. I have been runnig it a very long time, and I always keep a wireless kb/mouse handy. Not to mention the ext hdd. Its like an easy to manage pc on the go.
[Nexus 7 Original Development] pknall:
Any news on whether the kexec hardboot error will be fixed anytime soon? I have confirmed that the "Remove boot img" option works for other ROMs (tested on PA), but it still breaks Vanir for me... (and yes I'm asking the developer over there to look into it too)
[Nexus 7 Original Development] Tasssadar:
Just to be clear - it tries to extract the image in the source directory, so if you're installing from USB drive, you need to have some free space there.

Currently, if you flash zip which writes to boot image, the ROM is switched to "don't share kernel" mode, the reason is...well...it works pretty well now and is *cleaner*.

I tried Purified.Kernel_r133_grouper.zip and it works. Remember, the kernel in internal memory needs to have kexec - then one you flash via Install menu in twrp.
[Nexus 7 Original Development] Tasssadar:
Currently, MultiROM relies on /proc/config.gz to be available for kexec-hardboot check. This was disabled in AOSP 4.3 kernel for some reason. There is no way around that now, tell your kernel developer to enable CONFIG_IKCONFIG_PROC. Screw it, this is my problem to fix. Here, v12a fixes only that - the kernel in internal memory still needs to have kexec-hardboot patches, but multirom can detect it even without /proc/config.gz.

http://www.mediafire.com/download/gzkhl4em1j93574/multirom_v12a_n7-signed.zip
[Nexus 7 Original Development] Duskye:
If this is due to Ubuntu Desktop no longer being supported, then disregard this question:

I have just installed MultiRom and also downloaded the Ubuntu Desktop rom, and tried adding it to the multiboot. I have a Nexus 7 32 GB, and it saying that the decompression of the file failed due to maybe not enough space.

EDIT: I just read one post in this page and it seems I'm not the only one having that problem.

EDIT: I moved the file into a different spot and it seems to be installing, usually it would error me within the first minute.

EDIT: Nah, it just froze, it DID show up in the boot options, but it just crashes went it tries booting.

Just in case maybe it was Multirom itself: I installed Ubuntu Touch as well: Installed just fine.
[Nexus 7 Original Development] drew1ind:
Can I unplug my hard-drive while booted into a rom on that harddrive?
[Nexus 7 Original Development] rebel1699:
Can you unplug your tv, and still watch it?
[Nexus 7 Original Development] drew1ind:
No need to be so rude. It was a question with a yes or no answer.
[Nexus 7 Original Development] drewski_1:
depends on the TV ;)
[Nexus 7 Original Development] rebel1699:
Lol!

It is not rude. Yes or no is not always the best answer, as more times than not, it is followed by that person wanting an explaination. What I did was give an illustration that anyone, no matter thier expertise level, could understand and relate to.
[Nexus 7 Original Development] rebel1699:
Since getting my Galaxy S4 with locked bootloader, the appreciation of our unlockable Nexus 7 and multirom is 100% higher. You can believe that.
[Nexus 7 Original Development] pknall:
Thank you!! You rock :)

edit: ...sorry, still getting the error even on 12a :( What did I do wrong?
[Nexus 7 Original Development] Tasssadar:
Recovery updated to TWRP 2.6.3.0: http://www.mediafire.com/download/q97ai6nk4qsl2la/TWRP_multirom_n7_20130913-2.img

The decompression should be fixed in today's recovery. The installation takes long (like 20 minutes long, and that's to internal memory, which is fast). It is not frozen unless the progress bar is not moving.

Then the kernel you're using simply does not have kexec-hardboot support. Grab kernel which has it from the second post and flash it to internal memory (via Install menu, NOT Advanced->MultiROM->...).
[Nexus 7 Original Development] thereal_bigjake:
Oh wow, I forgot what twrp looked like in portrait. Did you decide to drop the screen rotation?
[Nexus 7 Original Development] Tasssadar:
Wrong device folder, goddammit. http://www.mediafire.com/download/q97ai6nk4qsl2la/TWRP_multirom_n7_20130913-2.img
[Nexus 7 Original Development] thereal_bigjake:
Whoops, glad I said something :D
[Nexus 7 Original Development] webdroidmt:
@Tasssadar

Thanks for the TWRP update, made a backup and noticed that it defaults to autogenerate for backup name. Is there a way to change that default? I looked around in settings and maybe I just missed it.

It seemed that the easiest way to name your backup was to click Append Date, then backspace to clear the field out. This is pretty clunky, especially that the default name on my rom was pretty long.

Thanks again,

Mike T
[Nexus 7 Original Development] Duskye:
Yeah, I tried a little weird thing and put it in couple of weird places, which just froze it :P, but will flash this and post my results.
[Nexus 7 Original Development] :
How's the Nexus 2013 multirom project coming along??? :)

Sent from my cellular telephone
[Nexus 7 Original Development] bagoes.s:
how to uninstall ubuntu touch from multi ROM?

Is it only delete from list?
[Nexus 7 Original Development] Tasssadar:
That is change in TWRP and I don't think there is an option to change it back. Personally, I find it positive or at least "meh" change at worst, but well, you know about changes - you can't make everyone happy. It adds ro.build.display.id property of the ROM in addition to date, so I don't see how it could be wrong, even if the name results in something long - you can always see the date in "restore" list, even though the id is cut off, right?

http://tasssadar.github.io/mrom_status.html

Yeah, go to Advanced->MultiROM->List ROMs->*rom_name*->Delete in recovery.
[Nexus 7 Original Development] bagoes.s:
Sorry My fault.

Was done. I'm forget.
[Nexus 7 Original Development] drew1ind:
I think I might've found an easter egg!

What to do is press the MultiROM words while in the menu (Top left)

There is a ping-pong game!

To get out press power button
[Nexus 7 Original Development] webdroidmt:
Thanks for the reply. Yeah, not the end of the world but I liked my easy system with the build date and date of backup, ie; AOKP-0913-0914. Short and sweet! :)

Also, I don't think TeamWin should have imposed an autogenerated naming system, without having an easy way to disable it. Especially, because as you said, "can't make everyone happy." :D

Anyway, most importantly, everything seems to be working well. Thanks again for your work.

Mike T
[Nexus 7 Original Development] The_Hamster:
After flashing this and Ubuntu, my N7 gets stuck while booting.. I've removed everything from MultiROM, and wiped system before installing, but it's still looping.. Logcat shows that it gets stuck at "D/dalvikvm( 471): GC_CONCURRENT freed 1489K, 28% free 8773K/12104K, paused 2ms+4ms, total 72ms"
[Nexus 7 Original Development] Tasssadar:
Which Ubuntu? Show me the whole log, that one line is completely irrelevant. Also, why would you wipe your /system?
[Nexus 7 Original Development] The_Hamster:
The image from the OP. 13.04

http://pastebin.com/S2PkiKs4

As much of the log as could fit in my terminal..

As I thought that it might have changed something in /system, so I reinstalled my ROM without wiping data.. But after trying to wipe data, it boots, so it has screwed something up with /data
[Nexus 7 Original Development] gc84245:
Which file did you flash first, armel+grouper or armhf?
[Nexus 7 Original Development] The_Hamster:
It wasn't Ubuntu Touch, it was the desktop
[Nexus 7 Original Development] Tasssadar:
Okay, I think it is pretty much ready.

http://www.mediafire.com/download/72alq0y77xf2gkf/TWRP_multirom_grouper_20130919.img

http://www.mediafire.com/download/h44bcjq059qqq4n/multirom-20130919-v13-grouper.zip

Version 13 doesn't really bring many new features, but it is using the "shared codebase", meaning the code works on multiple devices, meaning version for flo is nearly ready. If it goes well on grouper, I'm aiming for release early next week.

In the meantime, I would like you to use and test MultiROM as much as you can - a lot of code has changed and bugs might have crept in and we certainly don't want them to live on. But, I've also implemented backups for secondary ROMs. The ROMs must _not_ share the kernel with internal though - I simply don't have enough data to create full backup image without that. Also, Don't share kernel is now default option when adding ROM.

As a part of my testing of v13, I've installed Ubuntu several times, but I can't reproduce this. Did you have enough space in /data? I know that some old versions of CM refused to boot if there wasn't enough free space (i.e. when the "Not enough free space" notification would pop up in Android), I don't know if that's still the case. Did it happen immediatelly after installing, without first boot to Ubuntu? All the logs you can get are welcome.
[Nexus 7 Original Development] s33d1ing:
I've never installed a secondary rom without sharing the kernel before so I though I would install a new rom without sharing to try out the backup feature. However, when I try to boot the secondary rom it it says I need a kernel with kexec-hardboot support. I have franco kernel installed on the primary rom and I also flashed franco kernel on the secondary rom but it still displays this error. From what I understand this should be working seeing as franco kernel has kexec support.
[Nexus 7 Original Development] Tasssadar:
Seems like franco forgot to enable kexec-hardboot in r75 again, just remind him about it in his thread.
[Nexus 7 Original Development] The_Hamster:
Pretty sure I have plenty of space, will check!

I played around with Ubuntu for like, 5 minutes, then tried to boot CM and.. Nothing..

But I'll try deleting a few of the larger files I have, and try again
[Nexus 7 Original Development] ayysir:
where is the shared codebase available ?

EDIT: what you think about my commit: https://github.com/ParanoidAndroid/lge-kernel-mako/commit/c0c1f805613fe9e006e6026123fcad39249c0b43
[Nexus 7 Original Development] draggehn:
EDIT: Derp, forgot to flash my kernel after updating to PA 3.99 RC1
[Nexus 7 Original Development] Tasssadar:
Links to source code are in the first post, except the branch is 'master' instead of 'nexus7'.

As for the patch - it looks like it should work, but don't spread it among mako kernels yet. Please wait a few days for the flo version, it is significantly improved (it doesn't require the guest kernel to be patched). Thanks for asking me about it, though:).
[Nexus 7 Original Development] ayysir:
Cool, the patch errors on me at machine_kexec though. But its cool that's its just one file. Thanks for response

Wishing to get this working on gs3
[Nexus 7 Original Development] webdroidmt:
I flashed both the new multirom and TWRP from 09/19 and it doesn't seem to be working with a secondary rom. I have an internal 4.3 rom and a 4.2 secondary rom with its own 4.2 kernel and while the internal boots, the secondary hangs at the multirom screen and fails to boot.

I've had this exact setup all along with previous versions of multirom with no issues. I decided to make a backup of my 4.2 rom and then tried to install this as a new rom with a non-shared kernel as well and that also failed to boot.

If I just leave the new 09/19 TWRP installed and go back to multirom 12a, everything works, including the new 4.2 rom created from the backup I made with the new TWRP.

Thanks,

Mike T
[Nexus 7 Original Development] jbaumert:
Similar problem here, after flashing MultiROM 13. Selected secondary ROM and what "appeared" was first "internal" ROM boot animation stuck in a bootloop.
[Nexus 7 Original Development] thereal_bigjake:
I haven't flashed a new secondary Rom but the ones I have installed boot just fine.
[Nexus 7 Original Development] webdroidmt:
What kernel(s) are you using are you using and is your secondary rom(s) shared or not shared?

Mike T
[Nexus 7 Original Development] thereal_bigjake:
I am using Oxydo and am sharing, let me flash one real quick not shared to see what happens.

---------- Post added at 09:19 AM ---------- Previous post was at 09:03 AM ----------

Ok flashed PACman not sharing kernel with Oxydo on both and worked perfectly.
[Nexus 7 Original Development] webdroidmt:
EDITED:

One of my secondary roms, AOKP 4.2 won't work shared or not shared. With multirom versions prior to 13, it always worked as not shared. I will have to check further with another 4.2 rom & kernel.

Mike T

---------- Post added at 12:31 PM ---------- Previous post was at 12:25 PM ----------

Yeah, PAC is a 4.3 rom, I think you need to flash a 4.2 rom and 4.2 kernel to see this issue. I'm sure Tasssadar expected some issues with this newest version and I'm also sure he'll get it worked out.

Mike T
[Nexus 7 Original Development] Tasssadar:
I'm currently outside, will see to that freeze on Sunday. In the meantime, try to get me logs - when it freezes, try adb logcat (probably won't work) or restart to recovery by holding PWR+VolDown and 'adb pull /proc/last_kmsg'.