yashsingh1/xdaforums huggingface dataset:
[Shield Tablet Android Development] zphantom55:
If you guys want to use my Ubuntu booting .zip just follow the guide already posted by Bogdacutu on the first page. When you flash my zip as a second rom in MultiRom it basically allows you to do the fastboot loading part without a computer.

Also, if you like this little workaround thanks are cool things to give... Just saying ;)
[Shield Tablet Android Development] aceclift:
is it possible you make a full youtube video on how to install ubuntu, and to use it with multirom as well. would be really grateful if you could.
[Shield Tablet Android Development] Bogdacutu:
no need, I'll post a complete MultiROM installer for Ubuntu later today
[Shield Tablet Android Development] aceclift:
ah ok, thanks looking forward to it. currently got stock and pac on my wifi model (UK)
[Shield Tablet Android Development] joethc:
I am so excited to try Ubuntu on multiboot! Thanks everyone involved in pushing this tablet to where it should be .... I have been following these threads closely for months and finally the shield is starting to show what it can do! :D
[Shield Tablet Android Development] ragzz03:
Was the guide made yet? I can't wait to get this running.
[Shield Tablet Android Development] Bogdacutu:
it's been up for a day already. you need to reflash TWRP first though. links are in the multirom thread
[Shield Tablet Android Development] mitarai:
I don't mean to be rude, but could someone confirm the battery life? I would like to try this but I don't know whether it's usable already or I should rather wait.

Odoslané z SHIELD Tablet pomocou Tapatalku
[Shield Tablet Android Development] joethc:
After putting this off for far too long...Thank you everyone working on this! This is running better than my old laptop atm.....I have been trying to get the mobile broadband working with my APN... has anyone been successful in doing so on this device? I believe all my settings are correct...probably just not yet available for this device?
[Shield Tablet Android Development] Bogdacutu:
battery life is fairly good, you can easily get several hours worth of usage (however I'm not sure if sleeping works properly)

firmware needs to be loaded for the modem to work (I haven't tried this myself yet, so I'm not sure how that would be done, and some additional configuration might be necessary)
[Shield Tablet Android Development] FrozenInfinity:
I can't seem to get the touchscreen going with rm-wrapper.

What I did:

- downloaded rm-wrapper precompiled binary from github.

- created a script in ~/.config/upstart/ called rm-wrapper.conf

Contents:

start on desktop-start
stop on desktop-end
script
export LD_LIBRARY_PATH=/system/vendor/lib/hw:/system/vendor/lib:/system/lib
export TOUCH_CONF_DIR=/mnt/factory/touchscreen
export TOUCH_DATA_DIR=/data/misc/touchscreen
~/rm-wrapper
end script

When I test if this script gets started by unity by calling "gnome-terminal" in it, gnome-terminal starts. Yet no dice with rm-wrapper. Unity starts, and I get no touchscreen.

What am I doing wrong?

Note: Since I don't have an OTG-Y-Cable, I can't just plug a mouse or keyboard into the tablet for now.
[Shield Tablet Android Development] Bogdacutu:
If you can't connect any peripherals, debugging this is going to be pretty difficult. My suggestion would be to just use the prebuilt installer from the MultiROM thread (or at least take the init scripts from that installer).
[Shield Tablet Android Development] Bogdacutu:
Finally managed to get more than OpenGL 1.4 when emulating x86, so we can now run more x86 games!
[Shield Tablet Android Development] Pariahnoble:
That. Is. The. Coolest. Thing. I've. Ever. Seen. Period.

I know I'm a dreamer, but, and again I haven't any idea if it's possible. But just how cool would it be to get skyrim on shield tablet natively? I know it would take the Ceasars share of a 32gb SD card.... But oh so worth it....

Does the shield tablet have the horsepower to pull skyrim? I mean hell it runs half life2 no worries.... And they are both the same generation of game. Or is that something to look forward to through linux4tegra on the next shield tablet (presumably the x1)
[Shield Tablet Android Development] Bogdacutu:
Probably not, since that would be putting us pretty close to the RAM limit (Skyrim system requirements say 2GB RAM + 512MB VRAM). But it's worth a try anyway.
[Shield Tablet Android Development] Pariahnoble:
Thanks for that quick reply. I didn't think it was quit that system intense, but, oblivion looks like gold though (512sys and 128video, sounds like game+ some eye candy). I have absolutely no idea though how to go about it. I've only used Ubuntu a very little bit, always had Windows, and couldn't get things to run on Ubuntu when I dual booted my pc for a while. I could get most stuff but proprietary drivers and such tripped me up. I'm still learning lol

What would I have to do/get (other than the game files, I already have multirom and can get the L4T mrom.) to try and run x86 games on Ubuntu for our shield?
[Shield Tablet Android Development] Bogdacutu:
ExaGear Desktop, and an additional library that I'll upload tomorrow
[Shield Tablet Android Development] Bogdacutu:
Well, Skyrim runs, but it's nowhere near playable (<1 FPS), and it takes almost an hour to load. I'm sure we'll be able to get it running at a much more reasonable framerate in the future though. http://imgur.com/a/jKzgN

On the other hand, Deus Ex HR runs a better than Skyrim, despite swapping a lot (3-5 FPS), and loading times are a lot more acceptable: http://imgur.com/a/zZ9Ba

Here's the library that allows Steam to run without complaining about indirect rendering and the Nvidia driver version: https://dl.dropboxusercontent.com/u/47937529/Shield/nvversion.so (use it with LD_PRELOAD). Install the latest desktop GPU drivers from Nvidia in Exagear (skip the X server check and the kernel module). You might also have to add AllowUnofficialGLXProtocol in your Xorg config file.
[Shield Tablet Android Development] Pariahnoble:
*First I'm sorry for posting the same thing in 2 threads. But it will save me the time of writing it twice as I am not sure which thread to ask for help in. Thanks.

I think somewhere here I'm having issues. I'm trying to install Ubuntu, and I cannot get this thing to boot into multi rom at all. I've installed the touch support and no matter what I do (touching doesn't work, holding the volume buttons gets me into safe mode, and after I power off my tablet, it won't turn on for apx 20 minutes, I hit power and nothing for like 20). I don't think my external sdcard is showing up for Ubuntu install. Options are internal or dev/block/mmcp1 (or some such) (which i assumed to be the external) I've tried installing Ubuntu to both. Erasing all internal and external roms, and trying to install as primary. I've reinstalled multirom and the touch support a few times in various orders. I mean I tried it all. My external is a 32gb Samsung Evo series. Newest twrp and multi rom 06/04. Bito kernel for ota 3. Wifi tablet.

What am I doing wrong, and can I please get a step by step to install this? It's not as easy as dual booting a pc. Lol once I can get into Ubuntu (I know a tiny bit about it (I've used it as a learning tool for a few months and went back to Windows7) i can figure everything else out. Or learn how to. I'm a Google search Savage lol but really I need some help here fellas. I'd really like Ubuntu to be the internal primary (so it can run faster) and ota 3 as secondary. If possible. Don't really care how it goes so long as it does. Officially on my knees here! HELP
[Shield Tablet Android Development] Bogdacutu:
1. you can't install Ubuntu as the primary ROM

2. inject MultiROM from TWRP
[Shield Tablet Android Development] Pariahnoble:
1) noted

2) i did all that. Everytime. Tried injecting boot sector, boot image, inject multirom. I cant get into multirom. The window comes up after the first boot animation and says I have 5 seconds to cancel boot. Touching don't work. Buttons don't work. If i set multirom to enter via button press, I get android safe mode. When I turn it back off from safe mode. I can not turn on my device for apx 20 minutes. It ignores anything I do for about 20 minutes, it does charge.

So I wanna make sure my steps here. I have the newest twrp and multirom installed 06/04/2015, currently have ota 3 as primary internal. I have bito kernel for ota 3 installed, I have injected multirom after each flash (just left the box checked to inject after each flash), flashed the touch support.

So I go into recovery, select multi rom, add rom, mrom (ubuntu), here it asks internal memory or dev/block/mmcblk1p1. (isn't my external SD card supposed to be listed here?) what am I missing friend?

And thank you so much for your help bogdacutu I really want this to work. I'm about to be going to college for this stuff.
[Shield Tablet Android Development] Steel01:
Have you redownloaded the touch support recently? I had to update it a couple weeks ago due to a permissions problem in the flashable zip. Your problem sounds like what others were having before I fixed that.
[Shield Tablet Android Development] Pariahnoble:
Lemme try, BRB and thanks steel01 as well for the help!

---------- Post added at 12:07 PM ---------- Previous post was at 12:04 PM ----------

Which do I install Ubuntu to. Internal or dev/block/mmcblk1p1?
[Shield Tablet Android Development] Bogdacutu:
/dev/block/mmcblk1p1 is the external SD card
[Shield Tablet Android Development] Pariahnoble:
disregard...... got it figured out now. thanks a million for helping my dumb ass out. im very quickly reaching the limits of my experience and knowledge base. sorry for cluttering the main thread. i didnt even realize there was a q and a thread. i'll head there for now on. thanks again [MENTION=4937137]Bogdacutu[/MENTION] very well done.
[Shield Tablet Android Development] Mav3rek:
Will the Shield Controller work within Ubuntu for gaming? Or even work at all?
[Shield Tablet Android Development] Bogdacutu:
not out of the box, although it should be possible to get it working with some effort. I don't have the controller myself (nor am I planning to get one) so I can't help unfortunately
[Shield Tablet Android Development] Mav3rek:
It's all good. I have ExaGear installed now, but I'm lost on how to install an .EXE file. Do I need install Wine?

Also, what about using a Bluetooth gamepad? I.E. a PS3 controller?
[Shield Tablet Android Development] Bogdacutu:
Yes, you need to install Wine inside Exagear and use that to run the .exe. I haven't tested Bluetooth controllers, but those should work fine (and I do have a PS3 controller myself so I can help if there are any issues)
[Shield Tablet Android Development] Mav3rek:
Thanks for the help. I really go appreciate it.

One last question, and I'll go back to messing around with it, how exactly do I install Wine inside of ExaGear? The same way that I would install it normally in a terminal, but instead first run the ExaGear command to get into an x86 environment? That's my best guess.
[Shield Tablet Android Development] Bogdacutu:
Yes, that's correct.
[Shield Tablet Android Development] Mav3rek:
Thank you sir! I appreciate all your help.
[Shield Tablet Android Development] Mav3rek:
Question: Is it possible to do all of this off an SD Card? Install Ubuntu there and run it off there? I have the 16GB wifi model and I don't know if I'll have enough room to be able to do the things I want. I'm going to redo all of this because I think I've partially messed it up, I went ahead and deleted the ROM from TWRP and I only have 6GB free on my tablet. If I could use only a couple of GB to install Ubuntu on, and then be able to run everything else off the SD Card (ExaGear, Wine, and Windows Apps) that would probably be preferred. Problem is, doing the sudo apt-get update seems to take up a lot of extra space.

Is this something I'm just going to have to live with? Or will it be able to be worked out like I would like? I have a seperate SD card I plan to use just for Ubuntu so that it's not taking up space on the one I want to use for my Android OS.

**Update**

I have gone ahead and deleted/reinstalled Ubuntu. Everything is working like it should, except I cant get ExaGear to install now. I've extracted it, and am in the correct directory where I extracted the files. I did an 'ls' command to make sure the proper files were there, but when I try to run sudo ./install-exagear.sh I get an error: ./install-exagear.sh command not found. If is 'ls', I can see the file, it's in the directory I'm currently in, along with all the files it extracted. Not a clue as to why it won't work...
[Shield Tablet Android Development] MusikMonk:
Just a guess, but did you try

chmod +x ./install-exagear.sh

?
[Shield Tablet Android Development] Mav3rek:
I did not try that. I got it to install by just using the manual install process that the developer emailed to me.
[Shield Tablet Android Development] :
Hi. I have a question: for Ubuntu, does the nvidia controller work? Thanks
[Shield Tablet Android Development] Mav3rek:
Short answer: No

Long answer: I talked with someone the other day about this and he thought that he could possibly get it to work eventually with some modifications but that he didn't actually have one of them so he wouldn't really be able to test it out.

Also, Ubuntu does support Bluetooth, so you could potentially use a Bluetooth controller instead.
[Shield Tablet Android Development] joethc:
mobile data

Just wondering if anyone has mobile data working? mobile data on ubuntu would make this device! Please if anyone has any info regarding this please tell where to start. I have tried a few things but without success.
[Shield Tablet Android Development] :
https://developer.nvidia.com/embedded/linux-tegra-archive new R21.4... I think there aren't major changes...
[Shield Tablet Android Development] Bogdacutu:
there are a few interesting bug fixes:

[1568275] Adds support for X.org ABI 17, 18 and 19

[200046014] X crashes due to segmentation fault

[1640551] Long delays occur in nvmap during boot

[1639229] Memory leak and performance degradation occur when changing EGL contexts

[200057068] Removed invalid gk20a memory allocation error message

[200102860] Display is blank after hot plugging HDMI after boot

[200036737] X crashes due to invalid event
[Shield Tablet Android Development] :
How could I/we patch this new version in a new mrom image?
[Shield Tablet Android Development] Bogdacutu:
Updated the MultiROM installer for R21.4. If you downloaded the installer before this post was made, I suggest redownloading, as you won't have the following improvements:

Kernel updated from R21.2 to R21.4 (potential stability and performance improvements)

WiFi and Bluetooth now use the correct MAC addresses

Bluetooth can now be turned on/off

Warning: after upgrading some packages, a shortcut to the Ubuntu Installer may appear in your application list. You can remove it by uninstalling ubiquity (it's supposed to get uninstalled automatically, but for some reason that's not happening). Do NOT try to install Ubuntu using that installer, as it might mess up your internal partition layout (which I'm not sure is fixable at all at the moment).

Ubuntu can also now be upgraded to 14.10 without issues. Upgrading to 15.04 causes lightdm to freeze on a purple screen on boot, but I haven't looked more into it.
[Shield Tablet Android Development] romixer:
thanks for this work

Easy to install and everything fine =)
[Shield Tablet Android Development] TheSkywayBridge:
So does this run ubuntu along side android?
[Shield Tablet Android Development] silvercat:
Yes it does
[Shield Tablet Android Development] TheSkywayBridge:
Is it a dual boot system? Like does it hit grub before it hits any amdroid stuff?
[Shield Tablet Android Development] :
Yes, thanks to multirom ;)
[Shield Tablet Android Development] TheSkywayBridge:
Thing is, im thinking of getting a phablet, so I will basically have android there. Is it at all possible to run ubuntu completely independently? My laptop just broke down so I figure thats a pretty good motive as well.
[Shield Tablet Android Development] silvercat:
Yes it does run ubuntu completely independently that is if u follow the installation instructions correctly. When you switch on the tablet there will be an option to boot either of the OS but I wouldn't recommend to use it as your laptop replacement
[Shield Tablet Android Development] nuffins:
The new r21.4 mrom file is downloading as a .txt file from basket build via direct download... Is this supposed to happen??
[Shield Tablet Android Development] Bogdacutu:
No, that's not supposed to happen. If the file still downloads and seems to have the right size (~800MB iirc), try adding the .mrom extension (so that it will show up correctly in TWRP). I'll look into adding another download link.
[Shield Tablet Android Development] TheSkywayBridge:
I kind of got lost in the process. I will edit this post as I continue, but I suppose let it be the idiot-proof guide to getting this running.

1. Unlocked the tablet

2. Ran twrp recovery.img from terminal

3. Installed SuperSU after clicking reboot in twrp

4. Installed BusyBox

5. Ran new_boot(123)*renamed without brackets*.img from pc terminal

6. Watched 4 penguins at the top of my screen and a large log ensuing, some areas failing, etc. (something regarding /Dev mounting via BusyBox)

6.5 The tablet then just booted into Android

7.????????
[Shield Tablet Android Development] Bogdacutu:
The guide isn't really up to date anymore, I've uploaded a prebuilt Linux installer for MultiROM in its thread: http://xdaforums.com/shield-tablet/development/multirom-v30-unofficial-port-t3025355

If you want to install it manually (without MultiROM), you can still extract the .mrom file and follow the scripts by yourself.
[Shield Tablet Android Development] TheSkywayBridge:
"2. Ubuntu Touch

Not yet ported."

This is neither desktop ubuntu nor is it ported. I'm sorry but I'm better with doing than knowing words. (Im studying engineering and I just learned the stuff ive been doing for two years are called integrals)

Where do I follow up after I get Multirom running?
[Shield Tablet Android Development] Bogdacutu:
This is both desktop Ubuntu and ported, look for Linux4Tegra in the download list of the MultiROM thread.
[Shield Tablet Android Development] TheSkywayBridge:
I searched the thread and I haven't seen anything about this. There are a few issues I can deal with, such as when dual screening, a scroll menu will appear to be expanded and on the other screen. It's no matter, really.

My true issue is that turning off the screen or locking it, etc. does not turn off the actual screen, but just makes it black. It's still on, and when I use my monitor and turn off the tablet screen, it is still on as well and it accepts touch response.

Is there anything that can be done? It's a fantastic port and really valuable to me, its just this little issue that sets me back a little in real time use.
[Shield Tablet Android Development] DeepBlue23:
I can not get ubuntu to start - what I did:

1. Flash custom recovery

2. Zip-queue in recovery: BitO-K Kernel, Multirom, Multirom touch support

After reboot:

Select Advanced -> Multirom -> Add Rom -> Installer

When I start "Linux4Tegra" the screen goes black for 2 seconds and the bootloader and multirom starts again.
[Shield Tablet Android Development] Bogdacutu:
Did you install it to internal memory?

In any case, try reinstalling the kernel.
[Shield Tablet Android Development] DeepBlue23:
I installed to internal memory. I also tried both BitO-K kernel versions and the latest stock one - no luck.
[Shield Tablet Android Development] etruj:
Followed the multiboot instruction. Am I missing something? Resolution is too wide. Its upside down and I can't get an onscreen keyboard up. Thanks for getting this project running!
[Shield Tablet Android Development] mcord11758:
I think I am missing something simple but I have this installed and went into settings to enable on screen keyboard but nothing pulls up when I type a text field. Also I struggle to close windows using touch. Is there a touch friendly keyboard or just USB otg?
[Shield Tablet Android Development] etruj:
Just solved my problem. Used USB keyboard and then enabled the program onboard. Now I just need to fix the inverted touch screen from updating
[Shield Tablet Android Development] Bogdacutu:
The on screen keyboard can be activated from the accessibility menu (the left-most icon in the status bar) during setup too. And the screen can be rotated from settings after installing Ubuntu.

Run Onboard (that's the on screen keyboard app). You can scale the UI up from the display settings.
[Shield Tablet Android Development] etruj:
After updating i noticed touch went inverted. I lost the ability to use the keyboard so ill probably start over. Should i just avoid the update entirely?
[Shield Tablet Android Development] Bogdacutu:
which update?
[Shield Tablet Android Development] DeepBlue23:
So no ubuntu for me? ;)
[Shield Tablet Android Development] Bogdacutu:
I really have no idea what the problem is in your case. From what you're describing, it definitely looks like a kernel issue, but then again, you're reinstalled it and it still doesn't work. I'd recommend trying the stock patched kernel from the MultiROM thread (and maybe reinstalling Linux4Tegra).
[Shield Tablet Android Development] etruj:
After connecting to wifi the system update that pops up. It includes security, python and firefox updates so i figured it was a safe update to go with. I also noticed that if i installed it to sdcard multiboot didn't list it in external. To use sdcard memory instead of internal do i need to be formatted in a special way?
[Shield Tablet Android Development] Bogdacutu:
Alright, I know what the problem is. There's an xorg configuration file for evdev, in which I added the rotation, but I guess it gets overwritten when its package gets updates. I'll look for a solution, but in the meantime, you can still manually add the rotation to that config file I mentioned (on mobile so I can't give exact instructions atm, sorry). For the SD issue, you should ask in the MultiROM thread.
[Shield Tablet Android Development] wiQbold:
in R21.3 & R21.4 I also have no onscreen keyboard btw the focus will change after typing..

I copied the state for name and password
[Shield Tablet Android Development] Bogdacutu:
you need to manually enable the keyboard from the accessibility menu
[Shield Tablet Android Development] wiQbold:
could you guide me?

did install with a USB keyboard.

after that I have looked if "onBoard" is installed.

after that I ve done a search for "onBoard"

setup the preferences and now it worked.. :D
[Shield Tablet Android Development] wiQbold:
I have installed "xinput-calibrator" and run it.

now touch is working with a offset
[Shield Tablet Android Development] etruj:
What do you mean by offset? I noticed when i do some updates it inverted the touch so touching the left side of the screen put the mouse on the right side.
[Shield Tablet Android Development] :
Hi :) which programs, drivers or something else are adviced or must be installed on Ubuntu for Shield (via PPA, Store or something else)? Thanks :)
[Shield Tablet Android Development] etruj:
I really recommend the new gnome gui. It's under gnome shell in their application store. It is very tablet friendly
[Shield Tablet Android Development] wiQbold:
If you have updated ubuntu and the touch(rotation) is inverted

sudo gedit /usr/share/X11/corg.conf.d/10-evdev.conf

looking for [Identifier "evdev touchscreen catchall"]

and paste these lines under Driver "evdev"

Option "InvertX" "on"

Option "InvertY" "on"

close

reboot

cause I didn`t pointed(!?!?) the cross in the middle
[Shield Tablet Android Development] etruj:
Thanks! Now all i need is to get the onscreen keyboard to show up for the login password. Ill post anything i dig up after work tonight
[Shield Tablet Android Development] Bogdacutu:
If you have the on screen keyboard enabled from the accessibility settings, it should automatically show up on the login screen.