yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] dadangle:
Keep trying man. This is how we all start figuring it out.

This message is brought to you... Satan.
[Nexus 7 Original Development] DQEight:
I don't even know where to start trying actually...I downloaded the webos packer thing, but theres no documentation on how to run it on the site. What few files I can open to read are gibberish to me
[Nexus 7 Original Development] dadangle:
Well if it helps, I haven't ever messed with webos at all, so you're already a step ahead of some of us. I'm sure between web searches and xda there's enough info to get what you need. I cant help ya but I know there is someone who can.

This message is brought to you... Satan.
[Nexus 7 Original Development] hoosbude:
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
[Nexus 7 Original Development] MrAdamH:
Generating initrd.img/vmlinuz

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.
[Nexus 7 Original Development] Paramesh96:
Can I use these images on f2fs partition?
[Nexus 7 Original Development] darkensx:
Debian to Replace ubuntu 13.04?

xela could you or somebody get a Debian port to replace ubuntu 13.04 since ubuntu pretty much kicked our device to the curb..
[Nexus 7 Original Development] geleiahp:
If someone want to try the Ubuntu 12.04 with the lastest NVIDIA drivers: github.com/gabrielrcouto/nexus7-ubuntu-12-04
[Nexus 7 Original Development] angelorg74:
This sounds amazing!

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.
[Nexus 7 Original Development] Onknight:
has any one done video walk threw of setting up any of this Linux systems on The 7 .
[Nexus 7 Original Development] Kaiyes:
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.
[Nexus 7 Original Development] Oajj:
Yes there are. None of them are too stable but here you go. http://xdaforums.com/showthread.php?t=2093797
[Nexus 7 Original Development] FoxysWorkplace:
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...

---------- 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! --
[Nexus 7 Original Development] mindmajick:
You ever figure this out and make an mrom install able Debian?
[Nexus 7 Original Development] clixer:
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.
[Nexus 7 Original Development] scoobypl:
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
[Nexus 7 Original Development] sk1tch:
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
[Nexus 7 Original Development] bonzer2u:
I agree, so did you actually load the img file and then copy out the folder/file structure to create the updated zip?

downloading your latest bodhi now, thx again...
[Nexus 7 Original Development] xela92:
Yeah, but then I changed kernel with latest ubuntu one. It's the only thing I did to make it work. Bodhi and plasma's default kernels can't work with MultiROM, I think something's missing, or is somewhere (like kernel config files in a boot.img instead that in the /boot directory, but it's just a supposition).

Luckly, they share more or less the same kernel... For bodhi there's no problem, I hope it will be the same for plasma too...

Have fun with new bodhi! Awesomely fast :P
[Nexus 7 Original Development] ltlollo:
I'm currently using the latest plasma kernel and I don't seem to have any problem booting it
[Nexus 7 Original Development] Tasssadar:
The thing with .img files is that they are in "sparse" format. That is because normal disk image takes same amount of space as is it's capacity, and flashing 8gb big image via fastboot is no fun. Size of the sparse image is _about_ the same as the size of the data in it, but it can't be mounted - you have to convert it to normal image first.

Utility called "simg2img" does exactly that. If you have android source code, then build it using "make simg2img". If not, then I've attached the utility for android and for Linux x86 (may not work on all distros because of the libraries, it's compiled on Debian Wheezy 64bit) to this post.

Lastly, simg2img is already available in the modified TWRP recovery - MultiROM uses it to convert ubuntu .img file. So you can just connect USB drive with the image, use that terminal in recovery and do "simg2img image.img converted_image.img" and wait. If you have fat or ntfs filesystem on your USB drive, you'll need 8gb of free space for the converted image, if you have extX, you'll need only about ~600mb - ext filesystems understand disk images, so the "empty" part of image takes no space.

PS: had to put the attachment to ZIP files, XDA can't handle files without suffx.
[Nexus 7 Original Development] bonzer2u:
Xela,

I downloaded your reworked template file and noticed there is no rom_info.txt file in the rom folder, just the placeholder file. Also there is no rom_info.txt file in your updated bohdilinux zip file you uploaded today.

I thought this file was required for the flashable zips?:confused:
[Nexus 7 Original Development] Tasssadar:
It works because MultiROM thinks it is Ubuntu, and boots it the same way as ubuntu. I strongly recommend that you use rom_info.txt even if it works without it, because I plan to remove support for booting Ubuntu without rom_info.txt file sometime in the future. You can use example rom_info.txt - it is made for ubuntu.
[Nexus 7 Original Development] bonzer2u:
Thanks for this Tass,

On another note, could you provide an example of how one would use your ./create.sh script for updating the plasma zip using the -s option? Could this be useful in creating different multirom compatible linux distros?? I'm still having little to no success creating good zip files manually using the method Xela outlines in post #3
[Nexus 7 Original Development] xela92:
If you have multirom installed you have rom_info.txt template in /sdcard/multirom/infos/ubuntu.txt.

If you want I can rebuild the template adding this file, but you have it in your sdcard...
[Nexus 7 Original Development] xela92:
What's the problem dude? You just need to replace a file and add rom_info.txt, than make a zip containing 3 directories...
[Nexus 7 Original Development] bonzer2u:
Must be a brain block. My biggest hurdle seems to be creating the root.tar.gz file, Im by no means a linux guru like you folks are......
[Nexus 7 Original Development] xela92:
Are you using... Windows? :eek:

if so... I don't know how to make a tar.gz in windows... I always use tar on linux...

cd PATH/TO/ROOTFS
tar -czvf root.tar.gz .
[Nexus 7 Original Development] xela92:
PS: uploading new template with rom_info.txt...

[EDIT] ...done. [/EDIT]
[Nexus 7 Original Development] bonzer2u:
Yah but running an ubuntu 12.04 vm via virtualbox,

the command itself isnt as big a problem as much as getting the structure and 'correctly' modded files in place properly before running it......

---------- Post added at 02:55 AM ---------- Previous post was at 02:54 AM ----------

Thx,

U.B.D.man
[Nexus 7 Original Development] xela92:
you have img right? you installed it on multirom right? You know how to use adb? you can do this:

adb shell
cd /sdcard/multirom/roms/ROMNAME/root
busybox tar -czvf ../root.tar.gz .

and magically this will create root.tar.gz in /sdcard/multirom/roms/ROMNAME

Then you can do from your pc (not in adb shell):

adb pull /sdcard/multirom/roms/ROMNAME/root.tar.gz .

And the file will be uploaded to your pc (takes a while)
[Nexus 7 Original Development] ~iSamur@i:
if someone want to try http://os.archlinuxarm.org/os/

these are the rootfs of archlinux ARM (already in tar.gz), i haven't much time but yesterday i've tried to create a package using the tegra rootfs, it boots if you add the ubuntu initframs but then it reboot because it fail to init the system (probably the problem is that arch use systemd and not upstart like ubuntu/bodhi, so it can't go up).

Probably with a little of work you can boot successfully (probably the amount of work is the same of mer, i don't know very well what it use to init), but remember that if you success this is a very minimal os, so you need to install an user interface (so probably it would be snappier than ubuntu/bodhi, because it has less staff) and maybe you even need to adjust the touch input
[Nexus 7 Original Development] bonzer2u:
Sounds good I will reinstall the image and try this method......:good:
[Nexus 7 Original Development] xela92:
Cool. Let's try then.
[Nexus 7 Original Development] ltlollo:
1. did you edit rom_info to use arch kernel?

2. can you try the plasma kernel and see if it boots?

uimage in /boot is for uboot, kexec-arm should support that, and if you can pass arguments around via cmdline, booting uimage kernels + a working initramfs should work. did anyone tried?

Edit: ok, i guess the question is for Tasssadar; does your kexec bin have support for uimage kernels?
[Nexus 7 Original Development] ~iSamur@i:
no, i tried only 5 minutes yesterday to simply repack the rootfs into the template of tassador; i don't edit the rom info and i add the initframs of ubuntu cause it was late and i was just curios to see if it would simply boot (and i wasn't sure about the possibility to boot a uimage)
[Nexus 7 Original Development] Tasssadar:
I _think_ it should, but it does not matter - archlinux does not have kernel for nexus 7, you'd have to use the one from Ubuntu.

I did exactly that - I used kernel and initrd from ubuntu and made archlinux ZIP: https://docs.google.com/file/d/0BzZdFm5P1VJuYVpJZXk2NnRDR28/edit

I've added WiFi firmware and wicd network manager, so that you can actually connect to wi-fi and install stuff (use "wicd-curses"). I've also installed e17 and onboard, but it does not start automatically - you have to login as user "arch" and startx it, you need OTG keyboard. This is definitelly not something you should install if you don't know how things are done in Archlinux.

User arch, password arch.

Root password is root.

1.3gb of free space needed.

EDIT: I've uploaded version with usb serial shell enabled (like Ubuntu has), while on Linux, just connect n7 to computer via USB and "screen /dev/ttyACM0 115200".
[Nexus 7 Original Development] N@th_OC:
Thanks man!

The Nexus 7 community is very lucky to have you.

You're an amazing dev.

Thanks again.

If you need a tester for anything you built.

Don't hesitate man. Contact me.

I'll PM you my personnal mailbox.
[Nexus 7 Original Development] ltlollo:
Yes, mine was just a curiosity about the support in general. i've never built kexec so i don't know if uimage is someting you have to explicitly configure in or it's just there.

Cool, thanks
[Nexus 7 Original Development] xela92:
Tasssadar, can you add dropbear in arch? Using a systemd call you can autostart it and we can actually ssh into arch, bypassing the need of a OTG keyboard. Could be very useful, even in other distros.
[Nexus 7 Original Development] Tasssadar:
Well, you'd have to connect to some WiFi network to use ssh. But, in this ZIP, USB shell is enabled (like in ubuntu). Use "screen /dev/ttyACM0 115200" to get in there: https://docs.google.com/file/d/0BzZdFm5P1VJuYVpJZXk2NnRDR28/edit
[Nexus 7 Original Development] lintz:
May I take your and keep working a bit on it? I have one "half done". If I forge ours I can make it auto sign in and auto startx. But I will go for xfce. Prefer it more and feels more lightweight. And dam I have been working on this to be the first one to release one But you did beat me to it. :o
[Nexus 7 Original Development] cmason37:
Again,
[Nexus 7 Original Development] lintz:
Probably not it's a dead OS that don't give any real improvement compared to what we already have.

But if you really want it you can always try to make it work with the Ubuntu kernel.

Edit. Sorry for my ignorance some one seems to be working on it. Or at least tried it.

http://www.youtube.com/watch?v=4SWMdQUaUn4&feature=youtube_gdata_player
[Nexus 7 Original Development] xela92:
SSH through USB? I used to use it
[Nexus 7 Original Development] xela92:
I think ssh (with its tools, like scp) could be veeeery useful... But it's my opinion
[Nexus 7 Original Development] xela92:
I tried ArchLinux and I managed to connect wifi with a script made by me, because wicd-curses didn't display in screen term... Well, let's have fun now :D I noticed that when the screen goes off, arch loses wifi and is unable to reup it, confirmations? Or just a case?

[EDIT] wifi sleep problems again... Not solved

Instead, I managed to ssh connect using openssh (available in repos).

[/EDIT]
[Nexus 7 Original Development] mainratte:
hi! judging by your profilepic u might allready know this... for auto sign in + startx just install slim. lightweight dm and easily set up. btw the archwiki is a treasure
[Nexus 7 Original Development] lintz:
Don't really like slim. So made 2 scripts instead.

according to

https://wiki.archlinux.org/index.php/Automatic_login_to_virtual_console

and for starting x edit the .bash_profile

according to

https://wiki.archlinux.org/index.php/Start_X_at_Login

But thx any way.One problem that can be if some one do use Slim is that it can be a problem to get a on screen keyboard to type the pw.

In mine you are simply thrown inside the desktop. Of course its a bit less secure.
[Nexus 7 Original Development] mainratte:
well done! Seen those articles too. Just thought editing slim.conf for autologin was a bit more noob-proof :D
[Nexus 7 Original Development] Tasssadar:
I've received a lot of requests for webOS image. I don't really understand why, but well, here you go (from 2013/01/16 image): http://www.mediafire.com/?ufhi5x8p0b9q70y

WebOS on Nexus 7 is alpha version. You should read through webOS' wiki. WebOS is full-blown linux inside and it has usbnet and ssh running (*blink* @xela92). It is _kinda_ described on webOS wiki, on the bottom.

It requires 300mb of free space.

PS: One bug I did find is that when you press the power button, it freezes. If you manage to hold it long enough though, it shows up the Shutdown menu just fine.

@xela92: Ubuntu kernel does not have usbnet enabled, so you can't use ssh. I think that will change soon, becase I saw guys talking about that on #ubuntu-arm IRC channel. Or, you can recompile the kernel yourself, it is described on Ubuntu N7 wiki I think.
[Nexus 7 Original Development] abhi0304:
Tass, thanks for the upload.

Webos is installed correctly without any errors but it's not booting up. After selecting it from boot menu it remains there for a min and then system gets a reboot.
[Nexus 7 Original Development] minipot:
Do I flash webOS as an android build or an Ubuntu build in twrp?
[Nexus 7 Original Development] FitAmp:
Thanks for this. I had a killer arch setup on my old laptop, now time to mess around and reproduce it on the nexus 7. I am very comfortable playing with arch these days :)
[Nexus 7 Original Development] Fatadxb:
does flash working on any of linux roms on nexus 7 ?
[Nexus 7 Original Development] SimDroid:
Just flash it as a normal flash file in recovery, you dont need to go in to multirom options at all. It wont flash over your internal rom since it installs on Sdcard. It will then appear as an boot option.
[Nexus 7 Original Development] gbohm:
AW: [MultiROM] [LINUX] [How-to] Rom installers for sdcard

was smb able to unlock the display after first boot up into webos
[Nexus 7 Original Development] abhi0304:
Is webos booting for you? Mine is not getting booted up...it remains blank for a min and system gets a reboot.

pls help....
[Nexus 7 Original Development] rebel1699:
Mine booted fine. However, i soon deleted it because it was just not useful for me. Cool from a portimg standpoint, but really brings nothing new or needed to the n7, imho.
[Nexus 7 Original Development] gbohm:
AW: [MultiROM] [LINUX] [How-to] Rom installers for sdcard

how the hell have u been able to use it i try to unlock the screen with a long press of power but it still freezes on the home screen.

Gesendet von meinem GT-N7100 mit Tapatalk 2
[Nexus 7 Original Development] joemegahertz:
I'm kinda new to Linux as I haven't really used it much since high school. I try to keep up to date on whats new on the various distros available and pull them together for mine. I've done alot of customizing to it and believe its almost at the point I'd like to let people try it if they want. Ive done all this work on the n7 itself. Is there a way to copy my cobbled version off of my tablet and zip it up so people can try it if they choose?
[Nexus 7 Original Development] ripin150:
Hey guys, I don't mean to be a pain or get off track here, but it's a boring day to be a high school sophomore, and I can't seem to get the download link for any of the prepacked images to work, like bodhi or plasma. Drive says "Download" then "Oh no, we're not going to scan this for viruses, download anyway", and clicking Download Anyway does nothing. Solutions? Thanks :D

Update: oh my goodness, I actually got it to download by starring the download on my nexus, started no problem. :D
[Nexus 7 Original Development] minipot:
Just wondering does plasma active run desktop apps as well as its own apps? As my nexus 7 fails constantly to connect to the internet meaning I can't install xfce and get rid of unity rendering my Ubuntu install pretty useless.
[Nexus 7 Original Development] minipot:
Is it possible to install plasma to USB and if so how?
[Nexus 7 Original Development] ElectroBeijing:
Reading the posts, I thought WebOS running would not work very well... While it's definitely not my Touchpad (I didn't expect it to be at all), it's pretty decent. It's funny, when I used the TP primarily, I couldn't wait until Android was ported, and now that I'm using an Android tablet, I really wanted WebOS. Anyways, I was able to get on the Internet and whatnot just fine, but it was a bit too laggy for extended usage. If it is ever at a daily driver stability stage, I would probably use it on and off, just because I can.
[Nexus 7 Original Development] minipot:
I used it for a bit but I gave up because in the web browser you could only use the browsers URL bar to search which in turn would only search Wikipedia. However a new homebrew web browser just got released so I'll probably reinstall and download that.
[Nexus 7 Original Development] xela92:
Mmmm... I think you need to create a package that installs on usbdisk mount point... I don't have (yet) usb adapter so I can test only in 10-20 days (when my adapter arrives) but I think you can investigate on the location of usb mount point and see if it's mounted by default in recovery, so if it is, adapt the install zip to unpack the files in /mount/point/of/usb/multirom/roms/ , I guess.

Should be easy.
[Nexus 7 Original Development] xela92:
What?
[Nexus 7 Original Development] Tasssadar:
Okay, new webOS ZIP file. The source image is still the same, but booting on tilapia should be fixed (it couldn't have worked before, sorry :/): http://www.mediafire.com/?3m58uuvysxiwypw

Same applies - it is alpha, and has problems with the sleep mode - go slow on it.

Also, I have made automated packer like I did for plasma: https://github.com/Tasssadar/webos_multirom_packer

It just puts all the pieces together and patches the init script of WebOS (see init.patch in the repo).
[Nexus 7 Original Development] bonzer2u:
Im not worthy......:cool:
[Nexus 7 Original Development] bmakk2055:
Anybody got this to boot using multirom?
[Nexus 7 Original Development] RKight:
Yep. Just flash it like you would any other zip and it will automatically install to the multirom folder. It's very limited in functionality, though. Alpha is almost an understatement. I'd almost call it more of a proof of concept. I couldn't get it to connect to my unsecured WiFi and the UI is really buggy. I'm curious to see what happens with it in the future, though. It's neat to see it running, even if it doesn't do much.
[Nexus 7 Original Development] bmakk2055:
Alright thanks, I'll try again.
[Nexus 7 Original Development] carlz0206:
Deleted

Edit: never mind got it to install watching the wrong video made me confused
[Nexus 7 Original Development] jbaumert:
Fedora 18 has been released with ARM support. I noticed that there is a Tegra specific build "TrimSlice".

http://fedoraproject.org/wiki/Architectures/ARM/F18_Release_Announcement

Just curious if anyone feels like making a Nexus 7 "ZIP"?
[Nexus 7 Original Development] xela92:
Gonna see what I can do with fedora. Stay tuned.
[Nexus 7 Original Development] bonzer2u:
nice.....
[Nexus 7 Original Development] xela92:
3 giga image.

-.-

Need more space on my Nexus 7 to test this.

I will install it on a usb, maybe tomorrow.
[Nexus 7 Original Development] bonzer2u:
wow that's a bigun......
[Nexus 7 Original Development] lebrac:
R: [MultiROM] [LINUX] [How-to] Rom installers for sdcard

How to install these distros on the usb?

I don't manage to do it...

I've also tried to copy the root directory of the image ( plasma) with the rom_info on the usb following the guide but nothing...

Please help me!
[Nexus 7 Original Development] jbaumert:
I have a 32 gig unit if you need a tester?
[Nexus 7 Original Development] Robin2:
Bodhi Linux fails to flash on my N7 with TWRP.