How can you install a recent linux distro? - Shield Android TV Q&A, Help & Troubleshooting

It looks like there are drivers for linux that support the GPU, according to the Nintendo Switch community.
Is there a way to install a modern Ubuntu/Debian distro on the box?
Any guide links?
Someone mentioned that an apt-get upgrade would break the OS. Is this still the case? I hope it won't brick the box ,..

Nvidia made a version of Ubuntu 14.04 available called Linux4Tegra. I haven't heard of anything newer.

Related

Android based on Linux

Hi to all DHD users
I love my DHD, specially with all the options we have to modify (rom, etc.)
I use linux as my OS (Arch), android is based on the linux kernel.
I am a nerd and many of you in here are a little nerdie since you are here
It seems like most people are using windows as OS, nothing wrong with that, The android OS is "Linux kernel based" but most programs that are made is made for "flashing, modifying, etc." for windows:-(
I have used win, mac and linux for many years and linux is absolutely my favorite becasuse of all of its possibillities
I am no programmer and this is no linux promotion just an observation.
Thanks to all you DHD nerds
Yeah i use Linux Mint 10.
Linux ftw.
Arch linux with KDE here.
I dual boot Win 7 with Ubuntu 10.10.
The DHD is my Baby! Bless its little heart..
QtADB is a great cross platform GUI for ADB and Fastboot, I always assumed the reasons the tools tend to be windows biased is because windows users encompass the less geeky members of the android community

[Q]Building Native Debian? Nexus7 Grouper

Hi all i was think about building Debian 8 (jessie) for our nexus since the last major full desktop we had was ubuntu 13.04 anyway my question is how would i go about this and would anyone feel like helping as i have only a little rom building knowledge as im not sure really where to start for putting debian on our nexus.
I would suggest looking into armhf images, ubuntu desktop 13.04 documentation and Multirom documentation.
I'd suggest building upon ubuntu core 14.04 LTS however : http://cdimage.ubuntu.com/ubuntu-core/releases/14.04/release/
Probably much less painful ^^
Aurora

{Q} Custom ROMS (AOSP/CM) for Galaxy A8 (SM-A800F)? Any possibility in Future??

Hello all
I was wondering if there will be AOSP/CM ROM for this device, not a single ROM is available and no dev is interested to work on such a great device.
Such a totally crap device, still stucked on 5.1.1 since launch, no dev is interested in the development either, where android n announced already, we are still waiting for Android M update, i wasted my money on such a **** device, will never buy a sammy mid range in future, m totally fed up with this
I think because there are few developer with that phone and they can't test their work. You can port ROMs such as CM to you phone by your self. There are tons of guides and forums. All u need is a linux OS (such as ubuntu, debian and others) and sources.
DeadSquirrel01 said:
I think because there are few developer with that phone and they can't test their work. You can port ROMs such as CM to you phone by your self. There are tons of guides and forums. All u need is a linux OS (such as ubuntu, debian and others) and sources.
Click to expand...
Click to collapse
Ok i want to port Resurrection Remix on my A8, i need a simplest guide for android build environment startup, using windows 10, with no knowledge about programming languages such as C++ etc etc which is required to be used on Linux OS, can you plz help me, i will install ubuntu OS on my laptop, but i am worried can i install two different os in one machine, i.e. Windows 10 & Ubuntu
shubham540 said:
Ok i want to port Resurrection Remix on my A8, i need a simplest guide for android build environment startup, using windows 10, with no knowledge about programming languages such as C++ etc etc which is required to be used on Linux OS, can you plz help me, i will install ubuntu OS on my laptop, but i am worried can i install two different os in one machine, i.e. Windows 10 & Ubuntu
Click to expand...
Click to collapse
yep, I'm on kali and I use windows 10 to play games, so the only thing is: take care when partitioning. After you installed ubuntu there is a bootloader called "GRUB" and there you can choose if you want to boot windows or linux

ARM KVM (Kernel Virtual Machine) enabled Kernel for Samsung Galaxy S8

Hi. Can someone that compiles kernels for this phone compile one with KVM enabled and make it available to download? It should not be too hard. This would really make these machines appealing if you could spin up VMs on them especially considering how much RAM they have. There aren't many ARM devices this powerful to test with KVM.
This was already done for the Intel x86 based Zenfone 2 and as a result, it can run x86 Windows 10 64-bit edition, Mac OS X, BSD and any Linux distro full speed in a VM.
I'd like to see how well the new ARM Windows 10 performs on these Galaxy phones. It would be a great alternative to running Windows 98 in QEMU slowly. Windows 10 ARM runs Office 2016 and PhotoShop at decent speeds on some of the latest SoCs.
Please reply if you are interested in this feature.
I'm really interested in this too, I have a .iso of Windows 10 ARM ready for testing, but it's useless without KVM. But it's always going to be useless since I have Snapdragon.
TFGBD said:
Hi. Can someone that compiles kernels for this phone compile one with KVM enabled and make it available to download? It should not be too hard. This would really make these machines appealing if you could spin up VMs on them especially considering how much RAM they have. There aren't many ARM devices this powerful to test with KVM.
This was already done for the Intel x86 based Zenfone 2 and as a result, it can run x86 Windows 10 64-bit edition, Mac OS X, BSD and any Linux distro full speed in a VM.
I'd like to see how well the new ARM Windows 10 performs on these Galaxy phones. It would be a great alternative to running Windows 98 in QEMU slowly. Windows 10 ARM runs Office 2016 and PhotoShop at decent speeds on some of the latest SoCs.
Please reply if you are interested in this feature.
Click to expand...
Click to collapse
Im reeeally interested in that feature too, bump!
I don't even own the Galaxy S8 but I thought I could interest some kernel developers in testing this on a popular device. I'd like to see this magic the Zenfone 2 has offered to some other devices. I recently got a Raspberry Pi 3 and installed OpenSUSE (this has a KVM enabled kernel already) to try to spin up VMs but I haven't had much luck even with debian. I'm not sure if something isn't working right or I'm passing the wrong machine or cpu flags to QEMU. Has anyone tried booting the ARM Windows 10 .ISO using emulation only in QEMU?
TFGBD said:
I don't even own the Galaxy S8 but I thought I could interest some kernel developers in testing this on a popular device. I'd like to see this magic the Zenfone 2 has offered to some other devices. I recently got a Raspberry Pi 3 and installed OpenSUSE (this has a KVM enabled kernel already) to try to spin up VMs but I haven't had much luck even with debian. I'm not sure if something isn't working right or I'm passing the wrong machine or cpu flags to QEMU. Has anyone tried booting the ARM Windows 10 .ISO using emulation only in QEMU?
Click to expand...
Click to collapse
How do you know Pi 3 has KVM enabled? Does "KVM" appear in /dev? What does kvm-ok report or virt-manager?
Windows 10 Arm can boot up on some hosts using this method (changing cpu from 57 to 53 might help):
(I cannot post links so Google windows 10 arm qemu rafael)
If anyone can get KVM enabled on modern smart phones running Linux via Linux Deploy or on Pi 3s or on the new HP, ASUS, Lenovo laptops then the above should, presumably, work with this additional flag:
-enable-kvm
gilius2k15 said:
How do you know Pi 3 has KVM enabled? Does "KVM" appear in /dev? What does kvm-ok report or virt-manager?
Windows 10 Arm can boot up on some hosts using this method (changing cpu from 57 to 53 might help):
(I cannot post links so Google windows 10 arm qemu rafael)
If anyone can get KVM enabled on modern smart phones running Linux via Linux Deploy or on Pi 3s or on the new HP, ASUS, Lenovo laptops then the above should, presumably, work with this additional flag:
-enable-kvm
Click to expand...
Click to collapse
This article claims the Pi 3 OpenSUSE image has KVM enabled but the article writer never actually takes a screenshot of an OS booting in it:
https://medium.com/@valdiz777/setti...pensuse-pi3-leap-42-2-xfce-image-22faddf02f48
And yes, I do see /dev/kvm listed when I check. Where do I find the kvm-ok command?
TFGBD said:
This article claims the Pi 3 OpenSUSE image has KVM enabled but the article writer never actually takes a screenshot of an OS booting in it:
And yes, I do see /dev/kvm listed when I check. Where do I find the kvm-ok command?
Click to expand...
Click to collapse
When you install Qemu (comes with KVM modules) and libvirt-bin you can then run a command sudo kvm-ok (Ubuntu/Debian). And this will tell you if KVM is enabled. You could also run this:
qemu-system-aarch64 -M virt -enable-kvm
That will also tell you if it can detect KVM. And the other way that I know is through virt-manager:
sudo apt-get install qemu-kvm libvirt-bin bridge-utils virt-manager
sudo apt-get install qemu-efi
sudo adduser name libvirtd
*restart*
sudo service libvirt-bin start
sudo service virtlogd start
You can then open virt-manager from the GUI (or sudo virt-manager) and it will tell you if KVM is detected or not.
All the other KVM commands I found only tell us about Intel/AMD virtualization - not ARM64.
Incidentally, the version of Qemu on majority of Linux distros is out of date by a couple of years, so I had to update mine after downloading download.qemu.org/qemu-2.12.0-rc2.tar.xz
sudo apt-get install libglib2.0-dev
sudo apt-get install libpixman-1-dev
sudo apt-get install libpixman-1-0
sudo apt-get install libsdl2-dev
sudo apt-get install autoconf
make a new subdirectory named build and cd to that dir
../configure --disable-vnc --enable-sdl --with-sdlabi=2.0
sudo make
sudo make install
TFGBD said:
It should not be too hard.
Click to expand...
Click to collapse
Just a personal opinion that you shouldn't undermine other people's effort when you are asking them for something, they are usually more willing to help that way.
Kvm samsung j7 2016
Hello every body!! I can't find kernel for J7 2016 kvm support.
Well it looks like our prayers are answered and our dreams came true. Thanks to the folks at limboemulator.weebly.com, there is now an ARM KVM enabled kernel available for the Snapdragon based Samsung Galaxy S8 and S8+
The latest Limbo PC Emulator even has KVM support even with the ARM builds.
Get it here:
https://limboemulator.weebly.com/android-arm-kvm---kernels.html
Confirmed working?
TFGBD said:
Well it looks like our prayers are answered and our dreams came true. Thanks to the folks at <url clipped>, there is now an ARM KVM enabled kernel available for the Snapdragon based Samsung Galaxy S8 and S8+
The latest Limbo PC Emulator even has KVM support even with the ARM builds.
Get it here:
<url clipped>
Click to expand...
Click to collapse
Has anyone been able to confirm if this works? Site says it hasn't yet been tested on real hardware. I'm concerned the bootloader may be an issue.
edit: sorry for clipped urls, but newbie so can't include them. please see previous post for the urls.
TFGBD said:
Well it looks like our prayers are answered and our dreams came true. Thanks to the folks at limboemulator.weebly.com, there is now an ARM KVM enabled kernel available for the Snapdragon based Samsung Galaxy S8 and S8+
The latest Limbo PC Emulator even has KVM support even with the ARM builds.
Get it here:
https://limboemulator.weebly.com/android-arm-kvm---kernels.html
Click to expand...
Click to collapse
Where does it say snapdragon i only see f model Exy
dd the following lines to file: arch/arm64/configs/​exynos8895-dreamlte_defconfig
CONFIG_VIRTUALIZATION=y
CONFIG_KVM=y
CONFIG_KVM_MMIO=y
CONFIG_KVM_ARM_HOST=y
#from the command line type:
make clean
make mrproper
make ​exynos8895-dreamlte_defconfig
TheMadScientist said:
Where does it say snapdragon i only see f model Exy
dd the following lines to file: arch/arm64/configs/​exynos8895-dreamlte_defconfig
CONFIG_VIRTUALIZATION=y
CONFIG_KVM=y
CONFIG_KVM_MMIO=y
CONFIG_KVM_ARM_HOST=y
#from the command line type:
make clean
make mrproper
make ​exynos8895-dreamlte_defconfig
Click to expand...
Click to collapse
Didn't notice the Snapdragon part of that message, thought it was in reference to the Exynos variant. The Snapdragon variant definitely won't work as it's forced into EL1 on boot at the firmware level so not even a bootloader change could start the kernel in EL2. Very interested if it will work for the Exynos variant though.
I'm testing this now on real Exynos hardware, but there's no /dev/kvm appearing in the android kernel despite the options being ticked. The same thing happened when I compiled a Snapdragon 660 kernel. Perhaps the hypervisor is not accessible under any android device due to the trust/EL2 problem I keep hearing about? Nevertheless, I will test in Linux Deploy to see if I can get a /dev/kvm appear in a container instead, but it's not looking promising...
TFGBD said:
Well it looks like our prayers are answered and our dreams came true. Thanks to the folks at limboemulator.weebly.com, there is now an ARM KVM enabled kernel available for the Snapdragon based Samsung Galaxy S8 and S8+
The latest Limbo PC Emulator even has KVM support even with the ARM builds.
Get it here:
https://limboemulator.weebly.com/android-arm-kvm---kernels.html
Click to expand...
Click to collapse
please new link im search new link kvm kernel link
Got any luck with that in the end?
Currently trying with an sdm845, but with not much luck
year 2021 im new phone s10 plus im search kvm pfffffffffffffffff
im trying to get it working on galaxy s7

Is there a way to install older Android versions? Pre-Lollipop

I need to install an Android version that uses Dalvik/Java and not ART, any way this can be done? And/or "dual boot" your phone?
No. You can use an Android emulator on your PC, on the other hand. Buying an older phone like the G2 would make more sense to me.
Maybe, but dunno if the device drivers or chipset would support anything older. Who knows, you might be able to compile a CyanogenMod build based on KitKat or something.
As mentioned above, use an emulator or dual boot Android on PC. Check out the Android x86 project and the official Android emulator.

Categories

Resources