yashsingh1/xdaforums huggingface dataset:
[Shield Tablet Android Development] Lyokacanthrope:
Just in case anyone's interested, I got Arch Linux booting on my K1. :)

I'm working on getting Xorg working properly. Once I get it working reasonably well I'll make a flashable mrom zip and release it, as long as [MENTION=4937137]Bogdacutu[/MENTION] gives me permission to do so (It's based on some of his work for the L4T images here)
[Shield Tablet Android Development] boswelja:
Does it work on the marshmallow bootloader?
[Shield Tablet Android Development] Lyokacanthrope:
As far as I know, MultiROM for M doesn't properly support appended DTBs. Maybe [MENTION=1416222]Steel01[/MENTION] can give input on this.

So, as of right now, no. The kernel from the OP supposedly has support for booting on the new bootloader, however, according to the most recent commits.

I got X11 working under Arch, touchscreen too with rm-wrapper.

I'm going to need to write a systemd service for rm-wrapper and bluetooth init, alongside scripts for making sure evdev handles screen rotation properly.
[Shield Tablet Android Development] srihari210:
That's awesome news.... Can u plz share screenshots???
[Shield Tablet Android Development] Bryanx86:
I second that request
[Shield Tablet Android Development] Lyokacanthrope:
Isn't much to see other than the TTY for right now. I haven't gotten X quite stable yet for reasons, and it's been on the backburner for a while because I'm working on other projects + work and life. I'm going to try and put some more work into this over the weekend.
[Shield Tablet Android Development] Anthony2016:
Hi!

I have got Shield K1 tablet. Which patched kernel should I use for that device. Will be wx_na_wf correct?
[Shield Tablet Android Development] boswelja:
Can you provide a link for said kernel?
[Shield Tablet Android Development] Lyokacanthrope:
https://github.com/Bogdacutu/STLinux-Kernel

gotta build it yourself.
[Shield Tablet Android Development] boswelja:
Is it the same method as building Android kernels?
[Shield Tablet Android Development] Lyokacanthrope:
I don't think so. I haven't tried it yet myself.
[Shield Tablet Android Development] AndyGilmour:
Ahh, I updated to 16.04 (I think it was synology that offered the update) and appear to have lost all usable features. is that likely due to the same reasons?

(I had it set to autologin so I can see that its connected to wifi, the clock updates and battery% ticks down, but it has no response to touches, or mouse/keyboard through otg.)

I'm pretty sure its time to reinstall Ubuntu, however if there is anything I can do to provide useful info back to the project from my stupidity without anyone having to replicate it, just give me the instructions :)
[Shield Tablet Android Development] Lyokacanthrope:
Ubuntu 16.04 includes a newer version of Xorg that's not compatible with the Nvidia binaries included in L4T.
[Shield Tablet Android Development] rhx123:
If I get a SD card for met Shield will I be able to access it in Linux?
[Shield Tablet Android Development] Bogdacutu:
yes, works exactly as it would on a normal PC
[Shield Tablet Android Development] Jujuducoin:
Hello,

My shield tablet won't reboot when I try to install the twrp img and multirom from the link in page 1.

With another img it work perfectly, but without multiroom..

Do you have any idea ? I'm running marshmallow.

Thank's !

Edit : I solved the problem by downgrading to 5.1.1 before (factory img on nvidia website)...

I received my first android device 3 days ago and I didn't read enough.

Thank's for the work guys, I've my ubuntu working perfectly ! :)
[Shield Tablet Android Development] ZerosMadness:
This looks very cool. I'm in the process of flashing this stuff. This is full desktop Linux? How amazing. Someone should get the newest version of Kali Linux, Ubuntu, and Ubuntu mate to work on here with full support. That would be awesome
[Shield Tablet Android Development] TokarevM57:
I would love to see KDE Plasma-Mobile on the Shield, now that would be really nice!
[Shield Tablet Android Development] ZerosMadness:
[MENTION=4937137]Bogdacutu[/MENTION] this probably has an obvious answer and this may be a dumb question but does this Linux rom see this device as having an arm based processor or does it just see it as a regular 32bit chip. Was hoping to get steam and a VM working but can't seem to do it.
[Shield Tablet Android Development] Francesco20003:
Help me please

I have multirom installaed on my nvdia shield k1.... i install ubuntu on my multirom i have cm13 mm 6.0 i didn't found kernel for cm13... so i install another kernel... when there is the multirom boot menu i select ubuntu but it din'd start and my tablet start cm13... HELP I DON'T KNWO WHY...:confused::confused:
[Shield Tablet Android Development] boswelja:
If you actually bothered to search this thread, you'd know why. Ubuntu touch doesn't support the mm bootloader, you can only use this if you use the lollipop bootloader
[Shield Tablet Android Development] agentbob123:
As boswelja stated, there are some kernel incompatibilities with Marshmallow and MultiROM / Ubuntu.

If you desire to use Ubuntu on your tablet, and don't mind being on Jellybean, you can flash it to an earlier version, and go from there. I just checked, and nVidia's site only has 6.0 variants of Linux, nothing from the 5.x series, but xda should have some links to mirrored resources.
[Shield Tablet Android Development] thetrystero:
sorry if this has already been asked but, is this compatible with the original shield tablet (the one with the stylus) or only the k1?
[Shield Tablet Android Development] agentbob123:
Both. But if you want Linux, the latest Android you can have is lollipop; marshmallow doesn't support the stuff necessary to get Linux working.
[Shield Tablet Android Development] k3wlar:
That's a lot of stupid:

Android 6.0.1 + (multirom) running on loader ota3.1.1 :( So the only way to use it for linux4tegra using Android 5.1.1 (3.1.1 OTA)? ..

I have a gamepad from nVidia. I'm really upset that it is not used, other than the "legal" rom .... otherwise I would have long ago been removed sewers :(

The ideal is: + multirom android 6.0.1 (stock) + linux4tegra
[Shield Tablet Android Development] agentbob123:
I believe that the projects are open source, so feel free to bring multi ROM support to all of us marshmallow users. We appreciate any contribution you can provide.

Ideals are one thing. The reality of a volunteer project and time management obligations is another.
[Shield Tablet Android Development] ZerosMadness:
Yeah that would be cool. We need more upgrades. Especially to this ROM specifically. Seems like it has been abandoned :(
[Shield Tablet Android Development] jja2000:
Has anyone tried using nouveau drivers in combination with this Ubuntu install? I thought nvidia did help that devteam develop for the tegra k1.
[Shield Tablet Android Development] k3wlar:
I knew the procedure to make ubuntu for this tutorial At least I tried so brief an attempt at but I do not know what software I use to create MROM. it'm too stu*id :)
[Shield Tablet Android Development] multiwirth:
Ubuntu on a android tablet...

Looks interesting!

I have a (maybe stupid) question:

Does this build of ubuntu support normal .deb packages?

Can I install any software like on a ubuntu powered pc?

The cpu architecture of the shield is ARM, so I think it does not without x86 or x86_64 emulation.

Is there a emulation inside of the build?

I heard about plans from microsoft:

They want to fully support ARM cpus in windows 10.

And the devices will be fully compatible with x86 software due to an internal emulation.
[Shield Tablet Android Development] mirek001:
Where can I download Cyanogenmod 12 or other OTA 3.1.1 rom for Linux4Tegra?
[Shield Tablet Android Development] k3wlar:
Personally I do not want CM12 much so I can not point you towards ..."gamepad shield" and all CMXX are unusable for me ... I use a stock 5.1.1 (ota3.1.1) + L4T. Today I'll try an older kernel version from Bito-K. Akor is a problem That I need to use an older version of K4 . Version K8 and K7 collapses.
[Shield Tablet Android Development] supertunerman:
Audio software problem

hi guyz.

i have no problem running L4T on y shield, i can also run GIMP Chrome and Youtube, but all the software for audio production (LMMS and MUSE) are not working. Any advice?
[Shield Tablet Android Development] Kasimodo:
Thank you for the great job you did.

As many guys I have Nvidia Shield K1 running Android v6.0.1.

I have installed MultiRom v33 and TWRP 3.0.31 Multirom. I can boot on TWRP now. But even if §I choose Linux4Tegra, system boot on Android 6.0.1.

I read there is no way to the moment to boot on Linux if MArshmallow is installed. So can I flash a 5.1.1 kernel on the 6.0.1 android (if yes, which one?) or should I have to downgrade my system to Android 5.1.1?

Any advice will be great.

Regards

EDIT: Well I dongrade to 5.1.1. Reinstall all and I can boot to Ubuntu but... if the On-Screen Keyboard was enable in settings, there is no more on screen keyboard when Ubuntu is tarted.

So? No way to use ubuntu if there is no physical keyboard plugged in?
[Shield Tablet Android Development] ptrakk:
Path /realdata//media/0/multirom/roms/linux4tegra241beta/root.img not found.

However there is a root folder there. This is not booting for me.

How to make the root.img? I will attempt to extract it from the mrom file
[Shield Tablet Android Development] pspishnik:
Dont works with twrp-multirom exp+bitO k9-002+stock 7.0.1,loads into android,fix plz,we want it
[Shield Tablet Android Development] Nihhaar:
[MENTION=4937137]Bogdacutu[/MENTION] I actually need help, but not related to shield tablet but a similar one "Xiaomi Mi Pad". Your signature says "dont PM" , thats why this post :P

Actually xiaomi released kernel sources for mi pad 3-4 months back, here:

https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/mocha-kk-oss

but with no commit history.

I am trying to remove xiaomi cruft and rebase the kernel to shield sources. But for this I need a way to debug the kernel, more specifically I need pstore working. Well the stock dmesg says this:

<6>[ 0.109951] ramoops: attached 0x200000@0xef800000, ecc: 0/0

<6>[ 0.234312] console [pstore-1] enabled

But nothing in /sys/fs/pstore. Yeah I know, I have to upstream the pstore so I did some work here:

https://github.com/Nihhaar/xiaomi_mocha_oss/commits/stock

Here is the updated dmesg now:

<6>[ 0.103623] ramoops: using module parameters

<3>[ 0.103720] ramoops: The memory size and the record/console size must be non-zero

<4>[ 0.103737] ramoops: probe of ramoops.0 failed with error -22

<6>[ 0.234565] ramoops: attached 0x200000@0xef800000, ecc: 16/0

<6>[ 0.234312] console [pstore-1] enabled

But still nothing in /sys/fs/pstore.

And I dont know how pstore address is passed to the kernel (may be bootloader), I actually had to hardcode it in the kernel:

https://github.com/Nihhaar/xiaomi_mocha_oss/commit/65f93b8e6b520ea941e840e1a9450b6b8498488f

Without this commit, the dmesg is only showing:

<3>[ 0.103720] ramoops: The memory size and the record/console size must be non-zero

I actually need help for enabling pstore. It would be great if u can help me.
[Shield Tablet Android Development] AbhaYsinGH007:
No more updates for shield tablet ???
[Shield Tablet Android Development] Cm4nXD:
Is it possible to get this to work with multi rom on Android 6 and up?
[Shield Tablet Android Development] AbhaYsinGH007:
Can I game with this?
[Shield Tablet Android Development] ShaneRagans:
So I tried this on my shield k1 and it did not work. As mentioned before, it boots into android rather than linux. Anyone know what is causing the problem? Anyone know how to fix it? Anyone have it wirking on the latest firmware?
[Shield Tablet Android Development] Cm4nXD:
Earlier in the thread they talked about android marshmallow bootloader not supporting Linux. So you need to downgrade your tablet in order to run Linux.
[Shield Tablet Android Development] DR_HAX34:
Linus? I need to downgrade to run LinusTechTips?
[Shield Tablet Android Development] Cm4nXD:
Lol no typo obviously
[Shield Tablet Android Development] one_with_linux:
If you are seeing the below error followed by a reboot:

Usage: switch_root [-c /dev/console] NEW_ROOT NEW_INIT

...

-c DEV Reopen stdio to DEV after switch

To fix the error do the following:

1: Boot to recovery

2: MultiROM -> MENU (3 dots top right) -> Inject MultiROM -> Inject current boot sector

3: swipe to confirm

4: reboot
[Shield Tablet Android Development] elite-NSX:
which of the 4 installs in ur opinion is the best and would u consider making them a primary ROM instead of a mrom, mroms cant b installed as a primary ied love to hear from u [MENTION=4937137]Bogdacutu[/MENTION]
[Shield Tablet Android Development] mikamika135790:
Some guy called Tasssadar uploaded a multirom git repo with a subfolder called installer.

There is a readme with a template how ro create the mrom.
[Shield Tablet Android Development] Vespirah:
I think i missed something

My device is a shield tablet k1 "wifi" version i'm on 5.1.1

What i have done so far i installed multirom modified TWRP 2.8.7 then installed Kernel kexec_patch_stock_31 zip and also multirom_shieldtablet_touch_support zip and last but not least multirom-20170415-v33-UNOFFICIAL-shieldtablet zip all is fine up to this point then i downloaded L4T 23.1 from this thread installed tried to boot it and it doesn't boot and it will hang on the nvidia logo during boot so did i miss something if so please tell me and i wouldn't mind a PM:good:

Edit : Update. I figured out my wrong doing i was so excited i forgot all about the rootfs haha and a few other important things ... Thank you Bogdacutu.
[Shield Tablet Android Development] AbhaYsinGH007:
Can anyone confirm if java netbeans work with this or not?
[Shield Tablet Android Development] Mike_1996:
Yes it does, completely out of the box. By the way, even Eclipse would work if one manages to do the necessary modification (I did that back at the time of Neon M7 and assume there are now less mistakes in the source) and endure that 11 hours of compilation time (That's why I didn't bother updating it since it was already quite usable with high DPI support and all that).
[Shield Tablet Android Development] AbhaYsinGH007:
Thanks for conformation

Seems like you are a developer,
[Shield Tablet Android Development] Mike_1996:
Unfortunately I’m studying something else (albeit related in a way :D). I was doing it just for fun as the tablet was quite powerful yet inexpensive (got it secondhanded). If I were more experienced I would have removed the unused platform targets or, much better, only kept the armhf binary part and finished off on a x86 machine. It went to be more of a proof of concept that the JDK on a armhf desktop Linux distro has been perfectly capable of such a challenging task. The cost was a secondhanded SanDisk Ultra 128GB microSD which has since refused any writing access 3 months after, having withstood more than 20 of those compilation trials (some 30 gigs of temp files written each time).
[Shield Tablet Android Development] AbhaYsinGH007:
Want to try your hands on other devices?
[Shield Tablet Android Development] Mike_1996:
Nah, not quite :rolleyes: Not much time for such experiments lately.
[Shield Tablet Android Development] elite-NSX:
hey everyone seems like no ones busy here well lets mak it hey [MENTION=4937137]Bogdacutu[/MENTION] [MENTION=6411851]BitOBSessiOn[/MENTION] [MENTION=1416222]Steel01[/MENTION] so i understand evryones angry sorta wit the fact that L4T doesnt boot wit MM loader just LP loader now c n as ppl dont lik 2 go backwards often i dont think a fix/patch w/e is needed to will com so i came up wit an idea

LP loader ------- LP twrp -------- MM ROM so trying this gav twrp error somthing like mr-update-script error or somthin lik that which i expected now wouldnt it b easier to mod a MM rom to boot from LP loader and twrp so after i tried reflashing nvidias MM factory then new MM rom (cm13) booted to rom maksure it booted then reboot to twrp (i flashed MM twrp, LP gav errors duh lol and crashed) backup cm13 reflashed LP factory, flash LP twrp then restore cm13 backup which completed wit success but then wont boot

now i cam up wit this idea b cuz thats how i hav my nexus 6 set up rite now and the mentioned above worked perfectly

LP loader --- LP twrp --- CM13 temasek by [MENTION=3795148]neobuddy89[/MENTION] --- MM/CM13 Pwn Kernel by [MENTION=4772048]DragonHunt3r[/MENTION] --- MM/CM13 multirom --- MM xposed and systemless root

but what would b needed to hav a MM rom boot wit LP loader / twrp on our Shield

is the bootloader definitively the problem?
[Shield Tablet Android Development] DragonHunt3r:
Thanks for mentioning me here haha

I would leave the shield as is, with every update they do it will break something or god knows what

The kernel updates are as friendly as closed source software

Stick with the nexus 6, install whatever you want on it and leave the shield as is

It's simply not worth it
[Shield Tablet Android Development] AbhaYsinGH007:
Anyone got WINE working with this?
[Shield Tablet Android Development] pinkbandit315:
Hello. I just subscribed to the thread. I want Ubuntu on my shield, but i have some concerns.

1. I have the latest OTA Nougat stock firmware.

2. My SD card is ADOPTED.

3. The instructions are complicated to follow chronologically. If you find time, i ask politely that the OP may post updated directions.

Please don't ridicule me for my noobish post. I'm very new to multi-rom and want to learn.
[Shield Tablet Android Development] elite-NSX:
R version chat

hey [MENTION=4937137]Bogdacutu[/MENTION] hows its going? i noticed that nvidia has L4T R21.5 which was released a year after the R21.4 im not knowledgable enough to build myself have u considered building R21.5 the R23.1 / 24.1 dont seem to b running right could it be the X1 drivers r messing up have u had any issues with those builds overall stablity and smoothness r the issues ive had no issues running R21.4 tho hope to hear from u cheers

---------- Post added at 11:15 PM ---------- Previous post was at 11:04 PM ----------

Ubuntu as of now wont run will N or MM bootloader ull hav to revert back to L bootloader which means bye bye Nougat / CM14 and Marshmellow / CM13 but there are a few good CM12 based roms that work nicely for me but mayb not for u, dont update OTAs anymore from nvidia u need to spend a week or so and read most of the threads here of xda about the shield tablet

if u rlly want ubuntu running read the forums i had no problem follow directions dont get me wrong i had a couple mishaps but nothing a factory image flash wouldnt fix
[Shield Tablet Android Development] Franzferdinan51:
So here's a question does steam run and if so how we'll
[Shield Tablet Android Development] ZerosMadness:
Good luck. I wasn't even able to install it. It always kicked back an error. I'm unsure of why some stuff works and others didn't. I was able to use Android studio but it was very very slow. So I would wait. Can anyone build arch for the shield? I'd rather run arch. Especially if Android 8 isn't coming to us.
[Shield Tablet Android Development] Crayman122:
Does this work on the latest Nougat firmware? If not, is it possible to downgrade? then, is it possible to install this? I know that android usually has downgrade prevention of some sort.
[Shield Tablet Android Development] SX86:
You shouldn't have any problems downgrading if your bootloader is unlocked, and if you flash the right system images from the Nvidia website.
[Shield Tablet Android Development] PatroxGamer:
This is work on the (shieldtablet)? Pls fast answer to me on private message.
[Shield Tablet Android Development] PatroxGamer:
the on screen keyboard not working. I tried to turn on, but this it won't turning on. Can you help?
[Shield Tablet Android Development] multiwirth:
Is it possible to install ubuntu without multirom?

I´m running LineageOS 14.1 so it might not work with this version?

Also the mirror is extreme slow: 15 days left.

I would install ubuntu as standalone os if possible (just for testing it)
[Shield Tablet Android Development] Cm4nXD:
Well you need Android os for the Linux kernal. So as far as I know, no. But you can set Linux as your default operating system. Also Linux cannot run with your current version of Android. You need to downgrade to lollipop. The necessary files in the Linux kernal for Ubuntu to run do not exist in anything newer than lollipop. Google removed them :( . As for downgrading you can go to nvidia's website and download the stock software for lolipop. It's on there idk where but at one point I had to do this to run Linux on my shield. So that's how I did it.
[Shield Tablet Android Development] multiwirth:
Okay then I better install ubuntu on my old pc (since my new pcone isn't supported yet).

I just wanted to try that on a android device since "complete linux installer doesn't work aswell.

But I don't want to downgrade the whole firmware just to get ubuntu working
[Shield Tablet Android Development] Lyokacanthrope:
lol what

First off, it's spelled kernel.

Second, Google didn't do anything, this not working has nothing to do with Google or even Android.

NVIDIA modified the way the bootloader works, and it feeds additional stuff to cmdline which multirom & the kernel for this doesn't like.

At least you're correct in needing to downgrade to Lollipop, though, but only the staging blob from the old firmware.
[Shield Tablet Android Development] Cm4nXD:
Thank you for the correction, I guess I was miss informed. I was just trying to be helpful. I know how to correctly spell kernel. Sometimes auto correct is a bastard lol.
[Shield Tablet Android Development] parenek666:
Можно видео инструкцию по установке linux4tegraR23.1.
[Shield Tablet Android Development] will0956:
Shield Tablet Linux

Is it possible to run Linux on the Shield Tablet without Android? Also, it appears that the boot images in the second post don't work (I get a 404)
[Shield Tablet Android Development] chitt_chelios:
Hi. I have one "think out of the box" question : If i install ubuntu on the tablet, could i mine eths with it then..?
[Shield Tablet Android Development] thomasamas:
You won't get very far without a really fast connection. Mostly you'll just be heating up the tablet a lot for very little, if any gain. I'm unsure if the software you're looking to use will run on arm, so you might have to compile it yourself if it's open.
[Shield Tablet Android Development] Lyokacanthrope:
Don't think it has enough VRAM for the DAG. So, no.
[Shield Tablet Android Development] Bogdacutu:
I started with the Linux4Tegra kernel tree, and copied over drivers for various devices from the Android kernel tree (I would like to use the Android kernel tree directly, but it hangs after a few minutes of usage, and without netconsole I'm not sure I have any way of getting kernel logs for the panic - after I get my adapter, I'll try to find out what the problem is, and restart the kernel tree from scratch). I don't think we will be able to get it working (at least not well) with the mainline kernel, as not all drivers are there yet. The only patches (that aren't just copy pasting folders from the other tree or modifying the defconfig) I've done are the one in the third post of this thread and editing the Makefile to disable -Werror (otherwise iirc the MMC driver wouldn't compile).

The touchscreen fix already works, but it needs to be installed manually (as it's separate from the kernel). You can download a precompiled binary from https://github.com/Bogdacutu/RM-Wrapper/releases, and the wiki has an example of how you would run it (you probably want to put that in a startup script somewhere).

I use Synergy to use the KB/M connected to my PC on the tablet through WiFi, this way I can keep the tablet plugged in while using it.

EDIT: Were you actually just comparing this with what's available for the Shield Portable? If that's the case, I'll rewrite my reply, as I assumed you only had the Shield Portable and were looking for help getting this to work on it. Done