yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S6] prototype7:
Working beautifully here, thanks.
[Sprint Samsung Galaxy S6] evo3d6:
Is there a recovery for 5.1.1 yet?
[Sprint Samsung Galaxy S6] GoreTan:
So this is root for the 5.1.1 update?

How can I update to 5.1.1, if I'm currently rooted on 5.0.2?

Thanks!
[Sprint Samsung Galaxy S6] prototype7:
There's a test version of TWRP here that appears to be working, nothing official yet (nothing to flash either anyways).

---------- Post added at 12:10 PM ---------- Previous post was at 12:08 PM ----------

Yes, this is root for the OF7 update. Best way to update right now since we still don't have a stock tarball for OF7 yet is flash back to stock OE2, update, and flash this kernel for root.
[Sprint Samsung Galaxy S6] GoreTan:
Thank you for the quick reply!

Where can I find the stock OE2 update, if you don't mind me asking?
[Sprint Samsung Galaxy S6] prototype7:
Edit: I found a good mirror here: https://www.androidfilehost.com/?fid=24052804347757424
[Sprint Samsung Galaxy S6] scott_0:
thanks for this!! before I try this, I took the 5.1.1 update, this applies to my Sprint device correct?
[Sprint Samsung Galaxy S6] prototype7:
Yes, this is for the Sprint GS6 (G920P).
[Sprint Samsung Galaxy S6] JoeFCaputo113:
Does the device go into deep sleep after root with this method? Or is the deep sleep fix needed after this? Thanks!
[Sprint Samsung Galaxy S6] djvoleur:
Deep sleep fix is already applied...
[Sprint Samsung Galaxy S6] GoreTan:
Thank you again!

One last thing, how do I flash this?

Use Odin I presume?
[Sprint Samsung Galaxy S6] prototype7:
Yep, put phone in download mode, open Odin, click AP and select your file, plug phone in and hit Start.
[Sprint Samsung Galaxy S6] x70xchallengerx:
Is there any way to flash this onto an S6 Edge? 925P? Or would it need it's own specific kernel?
[Sprint Samsung Galaxy S6] djvoleur:
Needs it's own kernel...I'm waiting for a 5.1.1 stock 925P kernel...I have the kernel compiled already...
[Sprint Samsung Galaxy S6] JoeFCaputo113:
[MENTION=2150006]datajosh[/MENTION] or [MENTION=2553151]djvoleur[/MENTION] do you guys happen to have the update-binary for Sprint S6 (OF7)?!

I want it so I can easily create my own flashables using THIS TOOL. Thanks in advance :)
[Sprint Samsung Galaxy S6] scott_0:
you're gonna have to share once you get this rolling Joe!
[AT&T Samsung Galaxy S 5] yosboss:
Hello,

I'm from morocco, and I've just bought a S5, and I have Two problems:

1. software update: I can't update from Android 4.2.2 to Android 5 because it must be registered to a AT&T account.

2. Tethering and Wi-Fi hotspot: I can't switch it ON ==> a message appears " Mobile Data is not available or invalid SIM "

How can I solve these two problems?

PS: everything else seems to work fine.

I appreciate your help .. Thank you so Much!!
[AT&T Samsung Galaxy S 5] FilthyFord:
http://xdaforums.com/showthread.php?t=3149146

This will get you to 5.0 with root.
[Shield Android TV General] jagger11:
Hi,

It's available here (sorry, I'm not allowed to post links):

goo.gl / sl6rMu (you only need nvidia-shield-tv-utopic.arm64.img.2G.gz and nvidia_boot.img, the remaining files are used for development)

OS: Ubuntu Core Utopic ARM64

Packets: typical: sshd plus LXDE

How to:

1. root/unlock your nvidia shield tv

2. unpack the disk image: nvidia-shield-tv-utopic.arm64.img.2G.gz (zcat nvidia-shield-tv-utopic.arm64.img.2G.gz >nvidia-shield-tv-utopic.arm64.img.2G)

3. save it to a microsd card (min ~2.5GB): dd if=nvidia-shield-tv-utopic.arm64.img.2G of=/dev/sdh bs=4194304 oflag=sync

4. Put your minisd card into nvidia shield tv

5 Boot into linux

a). (in bootloader) fastboot boot nvidia_boot.img

or

b). save it permanently as a recovery image (fastboot flash recovery nvidia_boot.img) and boot into it (3 sec tap during shield tv boot, then choose 'boot recovery kernel')

user: android pass: changeme

user: root pass: changeme

What works:

- eth card

- usb hub

- wifi (probably, firmware is there and the card is able to scan networks)

- virtual terminal / framebuffer (you should be able to log in with an usb keyboard)

What doesn't work:

- bluetooth (probably, I haven't tested it)

- sometimes xorg doesn't display anything after boot, and it's necessary to restart lxdm: stop lxdm; start lxdm

- accelerated gfx driver (nvidia hasn't released aarch64 drviers yet)

There are also scripts and the kernel config I used to build the boot image on the drive
[Shield Android TV General] Steel01:
I unfortunately won't have time to try this until later next week, so I want to ask a quick question. What kernel is this? Mainline or a modified Nvidia? I tinkered with a Fedora kernel a little while back and couldn't get it to boot.

In any case, next week I need to dive back into getting multirom working here, things like this is what I need it for.
[Shield Android TV General] jagger11:
It's a compiled kernel from nvidia's repo

nv-tegra.nvidia.com / gitweb / ?p=linux-3.10.git;a=summary

The config is here: nvidia_shield_tv_root -> kernel_config -> 3.10.config-foster_e.txt

From what I remember the changes (to the stock config) were not extensive, things like disabling "Android paranoid sockets", enabling "Mount devtmpfs at boot", adding some features like namespaces
[Shield Android TV General] alwaysbless:
First link is missing img for step 2, second link has img but cannot be downloaded due to it not being a public file.
[Shield Android TV General] jagger11:
Thanks, I fixed the goo.gl link

Files should be 'downloadable' now.

BTW, you only need nvidia-shield-tv-utopic.arm64.img.2G.gz and nvidia_boot.img - the remaining files are used for development
[Shield Android TV General] vinod mopuri:
Request Help to boot ubuntu on NVIDIA SHIELD PRO

Hi Team,

This is vinod mopuri .Trying to install ubuntu (dual boot) on NVIDIA SHIELD PRO and followed steps as suggested but while booting NVDIA SHIELD doesn't ask from which device need to boot up.

Can any one suggest how to enable to boot from sd card instead of default path what i'm missing ?

Really appreciate your help in advance.

Steps followed :

1. root/unlock your nvidia shield tv

Vinod: How to do this ? please advice is it possible to have dual boot ?

2. unpack the disk image: nvidia-shield-tv-utopic.arm64.img.2G.gz (zcat nvidia-shield-tv-utopic.arm64.img.2G.gz >nvidia-shield-tv-utopic.arm64.img.2G)

vinod: Done,on linux machine

3. save it to a microsd card (min ~2.5GB): dd if=nvidia-shield-tv-utopic.arm64.img.2G of=/dev/sdh bs=4194304 oflag=sync

Vinod: Done (tried with linux and fat file system) on micro sd card.

4. Put your minisd card into nvidia shield tv

Vinod : Done.

--- VInod Mopuri
[Shield Android TV General] andryng:
Nice work!

I actually managed to boot arch linux with the same nvidia_boot.img. (Go to the arch linux arm site and select: Platforms, ARMv8, Generic.)

No luck with graphics acceleration thought. Hopefully the "Smaug" platform will bring those X11 drivers with it.

Cheers!
[Shield Android TV General] kdb424:
You need to use fastboot to boot the image that was in the first post. That contains the the boot information. You can flash that's stated, or just boot it via fastboot to not change anything on the system.

Edit: sorry, thought I hit quote. Response to the guy unable to boot.
[Shield Android TV General] dieter.reuter:
I just tried it, but without luck.

I was able to flash the microSDcard and booting via fastboot.

1. adb reboot bootloader

2. fastboot boot nvidia_boot.img

- it seem's it doesn't read the image from sdcard

downloading 'boot.img'...

OKAY [ 0.751s]

booting...

OKAY [ 0.003s]

finished. total time: 0.753s

- I get the NVIDIA logo on the hdmi screen

- then it changes to a black screen

- now, nothing happens at all

BTW, I'm using the standard NVIDIA SHIELD ANDROID-TV, not the PRO model.
[Shield Android TV General] jagger11:
I also have the non-PRO version. Some ideas

* did you unzip the image before flashing it

* is your microsd card seen correctly in android

* maybe it's actually booting, and you don't see anything on the screen, scan your network with 'nmap -sP 192.168.0.0/24' (or whatever network you're using) to check for new devices
[Shield Android TV General] granolamatt:
Looking for a little more help on building the kernel. I am having problems with the usb 3.0 getting deadlock and want to turn on more kernel info to find the problem. I cloned the git repo you mentioned and then checked out the branch rel-22r2-golden-fostermp. I used your config and your ubuntu image on the shield tv to compile the kernel and then made a boot img with your Makefile. However, the kernel will not boot. Is there another step I am missing? Everything looks like it should work but does not. I only have limited debug because my img only makes the nvidia logo flash on the screen.
[Shield Android TV General] jagger11:
IIRC you need to use arch/arm64/boot/Image and not arch/arm64/boot/zImage - i.e. the one which is 15-20MB in size. The naming of zImage in the makefile is confusing.

One more thing, the initrd doesn't need to include the kernel, you can safely remove the kernel from the dir, which is used as root for initramfs, my mistake to put it there.
[Shield Android TV General] granolamatt:
Brilliant!! That did it, I can compile now to see what is going on. I am trying to attach a Nuand bladeRF to the shield TV and use it's gpu to process the RF. I am running into deadlock issues running it at 3.0 regardless of rate. However, if I run it through a 2.0 hub and force it to 2.0 it runs fine. Thought it was kernel related but same story in Android.

This will help me figure out what is going on. I can let you know as I find out more, specifically if I get cuda going in ubuntu on the shield tv and what I find out about the usb.

Your post is what gave me the idea and I bought a shield tv because of it. It is most helpful and I just want to say many thanks!!!
[Shield Android TV General] gmitra:
Hello,

First off, thank you for this. It was great to get linux running on my shield tv.

Did anyone succeed in getting CUDA running? Or the cuda driver kernel module?

If yes, then which branch or tag from the nvidia 3.10 kernel repository worked for you?

Thanks
[Shield Android TV General] Imasius:
Hello,

thank you very much for the pre-built kernel and ubuntu images. I have 2 questions regarding the Pro model.

1) Can I use the same kernel image for the Pro version of the shield or do I have to compile one for myself?

2) Is it possible to install ubuntu onto the 500GB HDD itself? If yes, I would be really glad for some pointers.

Thanks
[Shield Android TV General] kdb424:
1. Should be absolutely fine.

2. Nope. This should not be considered stable enough for a perminant solution, and would not suggest using it that way. Definately stick to micro SD for the time being.
[Shield Android TV General] zulu99:
Nvidia tegra x1 development board is avaiable.

Linux4Tegra now is compatible with X1.

Good luck. I hope soon you can port it to Shield TV.

http://www.cnx-software.com/2015/11/11/nvidia-jetson-tx1/
[Shield Android TV General] hausi14:
Compiling kernel

Where exactly is rel-22r2-golden-fostermp?
[Shield Android TV General] hausi14:
kernel does not compile

/bin/sh: 1: -Wp,-MD,arch/arm64/kernel/vdso32/.vgettimeofday.o.d: not found

/kernel/linux-3.10/arch/arm64/kernel/vdso32/Makefile:36: recipe for target 'arch/arm64/kernel/vdso32/vgettimeofday.o' failed

make[2]: *** [arch/arm64/kernel/vdso32/vgettimeofday.o] Error 127

scripts/Makefile.build:455: recipe for target 'arch/arm64/kernel/vdso32' failed

make[1]: *** [arch/arm64/kernel/vdso32] Error 2

Makefile:802: recipe for target 'arch/arm64/kernel' failed

I was able to find out the mentioned kernel. But now it does crash on vdso32. Does somebody have any idea?
[Shield Android TV General] Stevio2:
Is there any Ubuntu that does not require rooting the sheild that layers over Android, like Ubuntu on Android does. I had one uncompleted on on my tab years ago, but they abandoned it.

Thanks.
[Shield Android TV General] crnkoj:
please allow me to dl the second imb from gdrive, ive sent a request through google my mail is jxxxjxxx9@gmail.com

thanks

edit: i used your first boot.img and the l4t rootfs, manage to get it booted up, but my screen doesnt work, i just have a black screen, while ping and ssh as well work, any ideas? i have 2.1 bootloader.

edit1: forget it, i forgot to apply the binaries
[Shield Android TV General] yahoo2016:
I forgot to set permission to public, it should work now. Have you run "apply_binaries" to L4T rootfs according to "get started" instruction from nvidia?
[Shield Android TV General] crnkoj:
yeah i forgot exactly that, but good to know that it still boots and that ssh works even without it :D

one more thing,

i know you already wrote it all through the thread, but perhaps if you have all the steps to compile the kernel/create booting image (which gcc, host system, kernel sources, what initramfs and how to do it with abootimg) written down together, could you just post them in one post. Thanks
[Shield Android TV General] yahoo2016:
I may start a new thread: build kernel from source and boot ubuntu.
[Shield Android TV General] crnkoj:
btw did you manage to get all 8 cores to run ?
[Shield Android TV General] yahoo2016:
I have not try it yet, the defconfig still has:

CONFIG_NR_CPUS=4

It should be changed to

CONFIG_NR_CPUS=8

I just tried new kernel with "CONFIG_NR_CPUS=8" but still got 4 CPUs listed;

ubuntu@tegra-ubuntu:~$ more /proc/cpuinfo
Processor	: Cortex A57 Processor rev 1 (aarch64)
processor	: 0
processor	: 1
processor	: 2
processor	: 3
Features	: fp asimd aes pmull sha1 sha2 crc32 wp half thumb fastmult vfp
edsp neon vfpv3 tlsi vfpv4 idiva idivt
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x1
CPU part	: 0xd07
CPU revision	: 1

Hardware	: foster_e
Revision	: 0000

I need to ask nvidia.
[Shield Android TV General] raubtier2:
Hello yahoo2016,

before you try read e. g. this:

https://en.wikipedia.org/wiki/ARM_big.LITTLE
[Shield Android TV General] crnkoj:
i think that nvidia blocked it with the devicetree or the firmware, as the tegra x1 has 8 cores,like the sd810 for instance. At first nvidia was advertising the X1 as octacore, but as of late they advertise it as 4 core only. so i wonder why they disabled it. either something doesnt work or they have a new soc revision with only a57 cores perhaps ?
[Shield Android TV General] kdb424:
I believe that you are right and this is only a quad core. It does have 8 cores, but bit.LITTLE is designed to only run 4 at a time.
[Shield Android TV General] yahoo2016:
Do you have an answer?

That link seems to indicate X1 does have 4 big and 4 little cores.

Nvidia Tegra X1	20 nm	1.9 GHz Quad-core ARM Cortex-A57	Quad-core ARM Cortex-A53	Maxwell GM20B	64-BIT LPDDR4 (25.6 GB/s)	Q2 2015	Nvidia Shield Android TV, Google Pixel C
[Shield Android TV General] kdb424:
It should be fully transparent to you though. For example, even in the stock rom, when running htop in a chroot, I only see 4 cores, same as when running the full linux images.
[Shield Android TV General] yahoo2016:
I agree, I also got answer from the following:

https://devtalk.nvidia.com/default/topic/904289/jetson-tx1/does-anyone-get-8-cpus-listed-/
[Shield Android TV General] yahoo2016:
I started a new thread for building kernel from source. I'll finish it in stages.
[Shield Android TV General] crnkoj:
i was actually under the impression that it uses heterogenous MP, like the exynos or snapdragon chipsets and not the cluster migration/in kernel switcher.
[Shield Android TV General] raubtier2:
Hello yahoo2016,

excuse my answer, till now I thougt it was not possible to use the 2 4-core units together.

But in your inititated thread:

https://devtalk.nvidia.com/default/topic/904289/jetson-tx1/does-anyone-get-8-cpus-listed-/

dusty_nv wrote:

To try and avoid confusion, we advertised Jetson TX1 as featuring "quad-core ARM A57". To my knowledge NVIDIA didn't list as 8-core, sorry :(

To confirm, here are a few spec listings:

https://developer.nvidia.com/embedded/buy/jetson-tx1-devkit

http://developer.nvidia.com/embedded/dlc/jetson-tx1-module-data-sheet

http://devblogs.nvidia.com/parallel...dule-drives-next-wave-of-autonomous-machines/

BTW, there's always the chance that the next module version might feature the full octal core... ;)

I know, that you can use all 8 cores with allwinner a80, but I thought it was not possible with the tx1.

But the answer from dusty_nv ist interesting.
[Shield Android TV General] yahoo2016:
His answer is interesting and it seems he was refer to TX1, the module with Tegra X1, not the Tegra X1 itself. The following are specs for Tegra X1, I'm wondering if there are multi versions of X1.

http://www.nvidia.com/object/tegra-x1-processor.html

CPU 8 CPU-core, 64-bit ARM® CPU

4x A57 2MB L2; 4x A53 512KB L2
[Shield Android TV General] dieter.reuter:
creating a custom kernel for ShieldTV

I'm just trying to find out how to create and using a custom kernel for the ShieldTV. Would like to use the ShieldTV just as a build server from ARM64.

I'd like to build a recent Linux kernel 4.x and don't need all the Nvidia specific driver stuff, except for SD card, Ethernet and USB drivers.

Has anybody done this before and have some tutorials to do it?

Right now, I was able to build a generic 4.3 kernel as an "Image" and "Image.gz" kernel file. But I need it as a "zImage" file in order to replace the original kernel in "nvidia_boot.img".

Any help or pointers are greatly appreciated.
[Shield Android TV General] yahoo2016:
If you use default configuration from kernel source, the "Image" file may not work for Shield TV, you may try to read the following post to see if you have more questions for building kernels from source:

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

The key is to have the right configuration file. After you generated the "Image" file, it should be straightforward to generate "boot.img" (run "make" in "initrd" directory mentioned in link above).
[Shield Android TV General] mateusdsrs:
Dietet.reuter i want to use shield tv like server to in a university task , next week i start The tests to install Linux and server aplications.

This link has instructions to install .

.pro-linux.de/artikel/2/1802/arm-64-bit-mit-nvidia-tv-shield.html
[Shield Android TV General] dieter.reuter:
Thanks for the link and the really nice and detailed tutorial. Now, I think I have some more hints to go ahead and will use your post.
[Shield Android TV General] yahoo2016:
The only kernel source worked for me is CM source. I tried L4T kernel source and OP's config file but could not have Shield TV boot.

I believe the kernel source for Shield TV is more Android than mainline Linux, even the rootfs is Linux.
[Shield Android TV General] dieter.reuter:
That's good to know, I will try your tutorial and scripts later when I'm back home from work. For me it's just important to get first an own build kernel running on the ShieldTV and tweak some kernel settings as well. Then I can try the hard way and will incrementally move to an 4.x upstream kernel.

Do you think, it's possible to install uBoot on the ShieldTV, maybe as a special boot.img? Then it's easier to use an own kernel, and it's more like the common Linux style.
[Shield Android TV General] yahoo2016:
U-boot has been installed on Android phones:

http://xdaforums.com/galaxy-s2/general/uboot-bootloader-true-multiboot-t1680898

I believe it's possible.
[Shield Android TV General] DroidMahn:
Anyone know how to increase the storage on the Ubuntu image? It's partition for two gigabytes by default but I have a 200 gigabyte SD card and I'd like to at least use 80 of it. Don't have access to a computer right now and I've been using it for word processing but it would be cool to download some TV shows
[Shield Android TV General] gffmac:
I would boot into a http://gparted.org/ live cd/usb on a pc and extend the partition that way. How well does this run cant see any vids on youtube?
[Shield Android TV General] Thanks_Meter:
Procedure to increase the partition size:

1.) sudo fdisk <device>

2.) delete partition (option 'd')

3.) create new partition with required size (option 'n')

4.) write new partition table (option 'w')

5.) reboot

6.) sudo resize2fs <partition>
[Shield Android TV General] ShadowRii:
has anyone tried running steam?

_________

check out my new Android game https://play.google.com/store/apps/details?id=com.pgviews.kobesadventure
[Shield Android TV General] Thanks_Meter:
ARM is not supported by steam - only x86.
[Shield Android TV General] jagger11:
Hi,

The OP here. Didn't know so many people were interested in this exercise :)

In any case - I prepared a new image - this time based on upcoming Ubuntu Xenial (16.04LTS). As previously, available here - goo.gl / sl6rMu

The Xorg driver seems a bit more stable, and doesn't disconnect HDMI after some minutes. I also added restart of LXDE after initial boot, so you should see the LXDE login screen most of the times now (previously, it was very random, probably due to HDMI subsystem code). The image itself is also <2G, so it fits on 2G cards (but, there's only ~300MB free space left).

I skimmed through this thread, and it seems that people are trying to work more on this problem, including compiling the kernel. This seems to be solved now (in some other thread), but out of curiosity I tried to compile the newest available kernel from the nvidia's git, and even if it had compiled (btw, it requires a lot of manual patching), it doesn't work well: the HDMI constantly reports plugged/unplugged events, and the CPU voltage regulator goes crazy. So, the kernel in nvidia_boot.img is pretty much the same.

If you have any question of requests, please feel free to post it here, and I'll check the thread today and tomorrow, but I'm not sure how I could help you more at this point. I'm too lazy to work on dual boots, and other such shiny features, and I'm not really interested in CUDA (although having an accelerated gfx driver would be really cool), so.. that's it :)
[Shield Android TV General] Thanks_Meter:
I'm not interested in CUDA either but accelerated GPU is for me a must-have. The L4T drivers work quite nice since nvidia published them for the tx1 in November. Another interesting approach would be nouveau - even if the performance will be much worse. Nouveau for tx1 should be part of the upcomming Linux 4.4 kernel. Remember that you need the Linux compatible dtb for non Android kernels (see other thread).
[Shield Android TV General] jagger11:
Understood, but as far as I understand, the nvidia's rootfs is 32bit, and my specific goal was to play with 64bit user-land. I tried to boot it with vanilla kernels, but no luck so far, hence no nouveau.

BTW, I think older kernels worked better than the one from L4TX1 - both source and the pre-compiled versions. They boot for me, but HDMI doesn't work ("plugged/unplugged HDMI" repeats in dmesg - I have a 4k display), and Xorg causes kernel to crash with NULL-ptr dereference somewhere in gfx subsystem when switching VT. Also, there seems to be bug somewhere in the kernel, which locks listing /proc - all processes hang on that from time to time.

So, in short - I think nvidia's kernel for TX1 needs still a lot of work to consider it stable.
[Shield Android TV General] yahoo2016:
Glad to see you again. I'm the OP of the other thread for building kernel from source. It took me and others many trial and error to find the combination of kernel from CM source and L4T rootfs is most stable. I believe everything works including Cuda except BT is not enabled. Nvidia has promised to have 64bit L4T rootfs with many improvements this month.

I was wondering how did you have Linux work for Shield TV in the first place, e.g., how did you come out the kernel configuration files and the init.c file.

I'll try your latest configuration file to build kernel. It appears you are using Linux kernel source tree, but I can only have kernel working with modified Android kernel source tree (CM1.21) with your original configuration file.

I could not have L4T kernel source compiled using your original configuration file, there were too many errors.

I just checked, it seems the kernel configuration file has not changed.