yashsingh1/xdaforums huggingface dataset:
[Shield Tablet Android Development] Bogdacutu:
where does it crash exactly? while installing through TWRP, or during the first boot setup?
[Shield Tablet Android Development] wejgomi:
Yep, not even installing, when selecting the .mrom file to add a new rom, gets stuck and back to twrp screen.

Edit: Log added, couldn't see anything useful, perhaps you will..
[Shield Tablet Android Development] Bogdacutu:
minzip: Could not find end-of-central-directory in Zip

looks like the ZIP is corrupted. I've just reuploaded it to make sure the server copy is good, can you try redownloading?
[Shield Tablet Android Development] wejgomi:
Yep, this one's working, all fine, nice job btw.
[Shield Tablet Android Development] gullkhan0:
Trouble while booting

I'm running Blisspop 4.0.3 & BitO-KX.

Already installed Multirom without problem. But when I install Linux4Tegra R23.1 or R21.4, I always end up with this error.
[Shield Tablet Android Development] undrwater:
The following is better in my opinion. Using the calibrator results in a not very accurate touch screen.

Anyway, working well installed to my SD card. Thanks again!

---------- Post added at 12:57 AM ---------- Previous post was at 12:53 AM ----------

In TWRP, go to multiron, select your Rom, click patch init, then for good measure, inject current boot sector. Worked for me.
[Shield Tablet Android Development] gullkhan0:
Didn't work .. still getting the same error.
[Shield Tablet Android Development] fards:
This is very neat, running it on my (never got collected to be disposed of) old tablet.

Tempted to see if I can get it building Android without the need to cross compile, just for the fun of it.

Has anyone changed DE?

Not a fan of what Ubuntu have done. Does plasma active run well?
[Shield Tablet Android Development] bleached45:
It runs gnome shell nicely in portrait. But sadly, if you rotate the display, the touch sensor doesn't rotate, unlike in unity.
[Shield Tablet Android Development] fards:
Been trying to get plasma active working, so far it shows up the wallpaper and pointer lol
[Shield Tablet Android Development] DroidMahn:
I can verify this works fine on the new Shield Tablet K1. I just had to go in to update-script and remove the prop checks to get multirom to flash

EDIT: Bluetooth seems to be broken. I followed the fix in the guide and got an endless loop of

writing
01 03 0c 00
[Shield Tablet Android Development] DragonHunt3r:
Thanks for the Linux4Tegra, it works actually pretty fast, only problem I'm having is that the onscreen keyboard does work at login but not at the desktop apps, so I can type at login, but I can't in firefox etc

Still an amazing job though :D
[Shield Tablet Android Development] undrwater:
Got a bit further, but not all elements are "untouchable".
[Shield Tablet Android Development] fards:
Cool can you run through how you've got there. I've tried a few things now. Most fun was a direct upgrade to Xenial which, brings multiple server consoles back, which is useful. And Plasma5 in the repos. XServer didn't need holding, but quite a lot worse breaks including touch.
[Shield Tablet Android Development] undrwater:
As I recall, the plasma repo brought in a new DM. When I changed it back to lightdm, I was able to get further. The only thing that responded to touch was the top menu bar, and perhaps 2 more small elements.

I decided to put that on the back burner for when/if I install gentoo. I'm not a big fan of the 'buntu.

Do you still have your Dell Streak?
[Shield Tablet Android Development] fards:
Nah that died a long time ago :/
[Shield Tablet Android Development] gullkhan0:
Guys please help me get through this problem. I really want to test this piece of awesomeness myself :(
[Shield Tablet Android Development] fards:
did you follow the instructions in the first post?

install multirom twrp, install a custom kernel, install multirom file then install the tegra4linux?

need a bit more info on how you got to that screenshot. There's not enough info...
[Shield Tablet Android Development] sminki:
Just have to say this is a fantastic project, got a shield yesterday, already given it a try, excellent.

Still have to plug in sdcard on multirom "external" to boot from external, but as a die-hard linux user, love it!
[Shield Tablet Android Development] :
I can confirm that, GUI bluetooth can't find any single device and can't be detected.

Congratulations to everyone involved in this port, you are awesome (and part of the reason I bought this tablet, actually)

EDIT : after an update of some sort, maybe it already worked before though, it works when I launch bluetooth-wizard in a terminal (doesn't work when I launch it from the notification area)
[Shield Tablet Android Development] gullkhan0:
Alright then,

1. Installed Multirom (img, touch support & zip ). Works without any problem.

2. Flashed BitO-KX kernel through main recovery menu --> install --> flashed kernel

3. Installed Linux built through, Advanced-->MultiRom-->Add Rom-->MultiROM installer

then I simply reboot and tried Ubuntu when I end up on this screen.

* Even tried 'inject boot.img file' & 'curr.boot sector' from MultiRom menu. Didn't work.

* Wiping System, Cache & Dalvik Cache didn't work either.

* Took out micro-sd and removed and re-installed Ubuntu but that didn't work either.

Currently on, BlissPOP ROM & BitO-KX Kernel.
[Shield Tablet Android Development] fards:
You are installing it to internal aren't you?
[Shield Tablet Android Development] gullkhan0:
Yes. I tried it installing it in internal as well as in external.

Tried it with and without SD card.

Always re-installong by completely removing and then flashing mrom.

I have LTE version, does that make a difference?
[Shield Tablet Android Development] fards:
Not certain if it would make a difference.

Only thing I can think is to completely wipe internal storage (not system) before installing the mrom.

Obviously that will mess up anything you have in data from your bliss rom .

As it's on my replaced tablet I don't have a primary rom so I can't say whether it really makes a difference.
[Shield Tablet Android Development] gullkhan0:
Thank you very much for your quick replies. I'll try it later and let you know. Hopefully it'll work.
[Shield Tablet Android Development] MickPF:
Hello Bogdacutu,

which WLAN driver do you use in your kernel 3.10.40 (STLinux)? bcmdhd or any other?

Michael
[Shield Tablet Android Development] bleached45:
Wondering if anybody is using gnome shell with this? I got it set up nicely, except for one thing, whenever a sudo prompt comes up, it tries to overlay something (I assume a touch keyboard) and I cannot type on the screen. I don't have an external keyboard, so I'm limited to onscreen.
[Shield Tablet Android Development] castrwilliam:
Does anyone happen to have a mirror of this? Basketbuild seems to be down!
[Shield Tablet Android Development] solbg:
https://s.basketbuild.com/filedl/de...eldtablet/MultiROM/Linux/Linux4TegraR214.mrom
[Shield Tablet Android Development] bneo99:
[MENTION=4237697]gullkhan0[/MENTION] I have the WiFi version and I'm having the same problem as you. It once work when I tried it on stock ROM but after flashing BlissPop i could never get it to to work....
[Shield Tablet Android Development] DroidMahn:
I'll give that a try later tonight. Time to fire up qemu for some fun! Edit: Fresh install and bluetooth-wizard doesn't show my keyboard. Will run updates see if that fixes it
[Shield Tablet Android Development] NoDiskNoFun:
AS bleached previously mentioned rotation didn't work well running GNOME. I recognized that if you change the rotation in settings the touchscreen will stop working right, even with xinput-calibrator. Someone there who knows how to fix this? I only want to use landscape mode so a workaround would do it too.

Thanks a lot in advance,

nodisknofun
[Shield Tablet Android Development] Lasperic:
Don't know about gnome , i use lxde (since it's a lot faster than unity) and i use

xrandr --output DSI-0 --rotate left
xinput --set-prop 'touch' 'Evdev Axes Swap' 1
xinput --set-prop 'touch' 'Evdev Axis Inversion' 0 1

to rotate right it would be

xrandr --output DSI-0[B] --rotate right[/B]
xinput --set-prop 'touch' 'Evdev Axes Swap' 1
xinput --set-prop 'touch' 'Evdev Axis Inversion'[B] 1 0[/B]

to scale the screen it would be

xrandr --output DSI-0 --scale 0.45x0.55

i use 0.45x0.55 to fit an 800x600 windowed game almost perfectly. I haven't found out a reliable way to set resolution for the display (only HDMI).
[Shield Tablet Android Development] 3316556:
Can you provide a more in depth instalation guide? Please.
[Shield Tablet Android Development] srihari210:
Shield tablet feels great with linux. I have installed Lxde and changed orientation(use terminal) and now, its faster than my netbook.

Thanks to dev for enabling Hardware accelaration.

My only concern is RESOLUTION. Although scaling is an option, but, that doesnt fit good.

So, for last two days, i tried to change resolution to 720p. I have found few cmds on google. like xrand add mode and then set that moe. Add mode works good, but when, trying to set, it says mode not allowed. Again googling... it says, add that resolution to /etc/X11/xorg.conf . But, when I see that file, there is no option like Modes or monitor. Can Dev/someone else try changing resolution on our tab(even I will be trying untill i get it :) ). See the last comment from here... this is what we need Click Here

I think, once we change resolution, it would be easy to configure touch with evtest and others. I found some material on google.

Edit: This looks like temporary solution: Click Here
[Shield Tablet Android Development] x-nivek:
Did you find any solution about resolution?? [MENTION=4756194]srihari210[/MENTION]

Also because im a ubuntu nood, can someone tell me how to install lxde and the latest wine on my shield??

edit: i installed lxde and thanks [MENTION=2591070]Lasperic[/MENTION] for the scaling it was pretty useful but i change to

xrandr --output DSI-0 --scale 0.55x0.65 to be more like 1024x768

and maybe do you know [MENTION=2591070]Lasperic[/MENTION] how to enable buttons for volume??
[Shield Tablet Android Development] Lasperic:
[MENTION=6099009]x-nivek[/MENTION]

Well you need to use mapping software , i'll have a look when i get home to what i use . I think xmodmap would work , and bind your keys to alsamixer (check the name of the audio output channel and

amixer -D pulse sset Master 10%+

There should be a lot of tutorials on both alsamixer and xmodmap to get you going . If not i'll have a look in the evening and post a full solution. good luck ;)
[Shield Tablet Android Development] srihari210:
Hmm I havent found a better solution yet... Scaling is very useful but, icons and images are getting Blur. So, I m strugggling to get something to work at 1080P resolution itself and with touch friends :) I have tried different Desktop Environments (like icewm, enlightnment, gnome3, lxde...), out of which enlightement looks good at 1080P. But, Gnome apps are not working properly. I have used 0.75x0.75 scale and increased taskbar size. That looks okay for me :cowboy:

Small tip, On LXDE disable lockscreen when device is on screensaver. 'coz, sometimes, it goes to black screen and I need to hard reboot. LXDE installs LDM which doesnt have On-screen keyboard on lock screen. So, use GDM to change it back to ubuntu screen.

Problem is that, most of the apt-get installs are not working as our device is ARM based and repositories dont have packages for ARM based chips. :(
[Shield Tablet Android Development] x-nivek:
thank you very much.. i will try it.. also how can i make the rotation and the scale stay after a boot??

Edit: also how some guys in the previous posts installed wine?
[Shield Tablet Android Development] Lasperic:
Well put it into a script and either add a line to crontab

@reboot /home/user/test.sh

or put it into /etc/rc.local .. google is your friend :) As far as wine goes i suspect they are using a software to emulate i686 architecture as wine is not on arm processors (i might be wrong though) . I think exagear desktop is quite popular.
[Shield Tablet Android Development] x-nivek:
i think maybe [MENTION=4937137]Bogdacutu[/MENTION] can help us here ;)
[Shield Tablet Android Development] Lasperic:
[MENTION=6099009]x-nivek[/MENTION] I'm pretty sure they're using exagear.
[Shield Tablet Android Development] THEHOLYG0D:
[MENTION=4937137]Bogdacutu[/MENTION] https://developer.nvidia.com/embedded/vulkan :33
[Shield Tablet Android Development] Bogdacutu:
Updated first post with download link for R24.1 beta. You'll need to install the SDK from Nvidia located at http://developer.download.nvidia.com/embedded/L4T/r24_Release_v1.0/Vulkan_Beta/vulkan_nvidia.tar.gz in order to use Vulkan.
[Shield Tablet Android Development] THEHOLYG0D:
Love you :33
[Shield Tablet Android Development] srihari210:
Thanks so much... Haahaa I found something to do on this weekend!!! LOL...

Small question:

I tried installing android and ubuntu but, for some reason, only ubuntu runs and android bootloops. I only tried with CM based roms with bit-o kernel. I m sure, we can dual boot with stock rom and ubuntu but, I dont want to take risk as current tab is old one and not replacement tablet.

If some have correct links for Kernel and Rom, please provide me the link... Although I m happy with Linux on shield tab, just wanted to give a try...
[Shield Tablet Android Development] subnet_zero:
[MENTION=4937137]Bogdacutu[/MENTION]

Hey, your first link with R241beta seems to have a broken file. It downloads only on 523MB to me, the mirror has 819MB.

PS. Thanks for the Linux.

https://s.basketbuild.com/filedl/de...ablet/MultiROM/Linux/Linux4TegraR241beta.mrom
[Shield Tablet Android Development] clap trap:
is this only for the Tablet, or does this also work for the Shield TV?
[Shield Tablet Android Development] nvitek123:
[MENTION=4937137]Bogdacutu[/MENTION]

There is 16.10 incoming at April... why do you still use/updating 14 ubuntu ?

Could you build at least 15.10 ?

Thanks.
[Shield Tablet Android Development] Bogdacutu:
I just repackage the distro offered by Nvidia with the kernel and drivers. you can use whatever distro you want with the linux4tegra drivers if you're willing to install everything manually
[Shield Tablet Android Development] bneo99:
[MENTION=4937137]Bogdacutu[/MENTION]

I updated the device to Marshmallow (blissrom 6) and now I can't dualboot anymore, i tried booting into the recovery (modified twrp multirom) after flash them in fastboot and it just stuck in the nvidia logo until 5-10 minutes later in which it restarts into android... Any ideas why this happens? Is there any way to get it to work?
[Shield Tablet Android Development] :
MultiROM doesn't work on MM ROMs, if I understood well in MultiROM thread... it isn't ready yet :/
[Shield Tablet Android Development] :
Can i flash it without multirom?
[Shield Tablet Android Development] SkyBladeCloud:
I guess you could always build L4T from source and flash it to a different partition (recovery) like it was done for the Shield TV in this thread:

http://xdaforums.com/shield-tv/general/build-kernel-source-boot-to-ubuntu-t3274632

However, it would be easier (and safer!) to wait for a compatible MRom release ;)

...
[Shield Tablet Android Development] ISean2001:
Firefox crashing and installing wine

When I try to download some jar files, minecraft is 1 example, Firefox crashes , any suggestions? Also how do you install wine as when I try to install it through the terminal it shows an error about the architecture
[Shield Tablet Android Development] DR_HAX34:
I have an issue where I try to boot this and there's only a black screen, after that it reboots. Maybe it's because I'm using this with the new multirom that was launched? (For MM)
[Shield Tablet Android Development] bneo99:
Faced the same thing currently with Bliss Rom Marshmallow and before when using Bliss Pop on Lolipop(abit different, it loads halfway and was unable to continue, then it restarts). It only works for me when I flashed stock ROM back.... [MENTION=4937137]Bogdacutu[/MENTION] any idea why this happens?
[Shield Tablet Android Development] DR_HAX34:
But it's still weird because I'm on stock and it doesn't boot for me.
[Shield Tablet Android Development] Bogdacutu:
this doesn't work with the Marshmallow bootloader (or, to be more specific, DTB), and until I figure out a way to get it to use my own DTB, it isn't going to work on any Android versions past Lollipop (with or without MultiROM)
[Shield Tablet Android Development] DR_HAX34:
Right. I understand.
[Shield Tablet Android Development] kalel90:
Is it possible to downgrade the bootloader if your already on MM to allow linux4tegra to work? If so how would you go about this process?
[Shield Tablet Android Development] THEHOLYG0D:
You'll need to flash staging.blob find this is any recovery zips by Nvidia easily in 3.1.1, or in the forums check to see if there's only the blob cause downloading 2GB for 2mb file makes no sense, I'll check my computer if I have it and upload till then, the answer to your question is yes.
[Shield Tablet Android Development] :
https://developer.nvidia.com/embedded/linux-tegra

Linux4Tegra 23.2 available (two months ago, I think I reposted :/)
[Shield Tablet Android Development] Rojasmilo:
What happen next?

Hi I follow your tutorial but I don't understand what happen before enable Bluetooth. My shield doesn't change. I extract rootfs into shield, what next?.

Tks.
[Shield Tablet Android Development] boswelja:
Any chance of a version that works on the M DTBs soon? Can't wait to try it!
[Shield Tablet Android Development] Bogdacutu:
follow the instructions in the first post

afaik, the current M build of multirom doesn't handle appended DTBs correctly, so that needs to be fixed before linux4tegra (or other ROMs that use old kernels) can work
[Shield Tablet Android Development] HûnSt°rJonnyt:
Is it possible to get sound through hdmi?

---------- Post added at 08:28 PM ---------- Previous post was at 08:03 PM ----------

ok awesome, after update/restart it works, but i think 5.1 sound is impossible, isn`t it?
[Shield Tablet Android Development] BlackSn0wz:
I have never been a member of the XDADevelopers, nor have I been on this site much in the past. I basically made an account, with the sole purpose of saying Thank you! I purchased an Nvidia Shield Tablet a while back, and received a second tablet thanks to the battery recall of last year. Long stories short, I managed to root, delete, and configure an instillation of Cyannogen Mod, via Multirom on my old tablet, before setting up my new one. I now have myself a dedicated modding tablet with , and an identical tablet that is only rooted since I don't want to damage it.

Alright, enough rambling. Basically, I've always wanted Ubuntu installed on my device, and recently decided to try it on my Tablet.

The install process was extremely simple. I already had Multirom, TWRP, and a custom Kernel installed, so all I did was transfer the file to my Flash Drive, and install to my internal storage. The first time I tried it, I accidentally set the install directory to my Flash Drive card, so I just repeated that process again.

First boot went smooth. The Nvidia Tablet stylus helped a lot with accuracy, as the GUI is quite small for touchscreen use, and WiFi worked right away. I can also confirm that Bluetooth is also working for me right away. I was even able to pair my Dualshock 4 controller in less than a minute, and connection seems stable.

I haven't done much so far as I just installed it recently. I'll report here any issues I encounter, and the success that I have. Either that, or I'll forget that I ever made this account, and vanish from the forums. lol

Thank you, to the people who invested so much free time and effort into porting Ubuntu to this device. It's really kickass! :)

[IMG="DS4 Bluetooth Pairing"]https://igcdn-photos-g-a.akamaihd.net/hphotos-ak-xfa1/t51.2885-15/e35/12724685_441643455960166_542155186_n.jpg?ig_cache_key=MTIzOTQ2MjQzNjYyODU3NTA4Nw%3D%3D.2[/IMG]
[Shield Tablet Android Development] Samuelgames:
Hello

Could the image be updated for 16.04LTS instead of a 4 year old release that is soon EOL? I have tried doing do-release-update in a clean install but it doesn't load kernel modules after update
[Shield Tablet Android Development] Bogdacutu:
14.04 is only EOL in like 3 years. in any case, for newer ubuntu versions the init scripts will have to be rewritten because systemd, which I really don't think I have the time to do right now
[Shield Tablet Android Development] clap trap:
cool thing about 16.04 is that it has 64-bit userland
[Shield Tablet Android Development] njhuiz:
Which won't be of much use on a 32-bit device.
[Shield Tablet Android Development] clap trap:
shield tv is 64 bit iirc
[Shield Tablet Android Development] DR_HAX34:
Can we install the new hardware-enablement stacks?
[Shield Tablet Android Development] DR_HAX34:
Everytime I do apt-get upgrade, after all the updates the tablet won't boot linux anymore, is this normal?
[Shield Tablet Android Development] X-627:
Has anyone (else) tried USB-OTG charing + devices? I tried connecting an OTG-Y connector and it doesn't seem to detect it proper, it only either charges the device, or detects keyboard + mouse (recognises the device as host). Is there a way to make them both work?

Thanks!
[Shield Tablet Android Development] Mike_1996:
Having exactly the same here. A kernel patch was made for Android but not sure how well that'd work out with standard Linux. Given the aforementioned phenomenon, there could be some internal logics involving switching between the modes upon connection.
[Shield Tablet Android Development] jdog320:
Does this work on the new revised tablet? If so is it possible to install it in an external SD?
[Shield Tablet Android Development] robstyleX:
I can at least confirm this works on the Shield Tablet K1. I had to install the lollipop factory image, though, can't get it to work with marshmallow.

I haven't tried it on SD card yet, because mine was formatted in exFAT which is not supported by Multirom, but FAT32 would at least let me install it. I haven't tried that but I feel like the missing ext permissions will break this. You might need an ext4 partition on your SD.

Btw, has anyone had success running this with marshmallow yet?
[Shield Tablet Android Development] XPS3Johann:
My current question is: If the reason for the L4T doesn't work in MM is the bootloader, I could update the system partition and userdata (from OTA 4.x using fastboot) without changing anything else (for continue having a functional L4T)?:confused:

//PS. Sorry any grammar error, I'm from Brazil and I am still working to improve my level of English.:o
[Shield Tablet Android Development] Lyokacanthrope:
Sadly (official?) MM kernels won't boot correctly with an LP bootloader, from what I've been able to tell.

I'd probably happily stick with the LP bootloader myself if Ubuntu itself was a bit more touch friendly.

If I knew more about this, I'd love to try and use the Ubuntu 16.04 rootfs instead for the sake of having Unity 8 available to play with. (Though Mir might be a small problem...)

I'd also love to see Arch Linux ARM.
[Shield Tablet Android Development] XPS3Johann:
I wanted to know how to program in order to set up and contribute to the forum :D... Well, thanks for the reply, I will continue testing and studying how to make it work
[Shield Tablet Android Development] Lyokacanthrope:
So i've started attempting to build an Ubuntu 16.04 rootfs for this. Kind of a crash course, really. Never tried to do Linux ARM stuff before.

Am I relatively safe in assuming I can just drop in the 'new' rootfs into the mrom zip, update any required init scripts and etc accordingly, and use the same kernel? I might have to downgrade Xorg and friends too, I'm sure.
[Shield Tablet Android Development] Bogdacutu:
yup, that's correct. also remember to take the GPU drivers from linux4tegra
[Shield Tablet Android Development] arlaith:
Has anyone gotten an OTG y cable to work under linux? I've tried plugging mine in, and it doesn't seem to register.