KVM on the Galaxy S9 - Samsung Galaxy S9 Guides, News, & Discussion

Hi, I was wondering if anyone else wants a KVM-enabled kernel on the Galaxy S9. This would allow us to run accelerated ARM64 virtual machines with QEMU. We could even run Windows 10 ARM (I was able to get this working in Ubuntu on my Raspberry Pi 4 with KVM recently) and then use it on Samsung DeX with full hardware acceleration. Does anyone else want to work on developing a KVM-enabled kernel for the Galaxy S9 and other Samsung devices to run ARM64 desktop OSes? I feel as if this could bring DeX a step closer to replacing your PC if we could run Windows, Ubuntu, Arch, and other desktop OSes on it. What do you think?

ChasTechProjects said:
Hi, I was wondering if anyone else wants a KVM-enabled kernel on the Galaxy S9. This would allow us to run accelerated ARM64 virtual machines with QEMU. We could even run Windows 10 ARM (I was able to get this working in Ubuntu on my Raspberry Pi 4 with KVM recently) and then use it on Samsung DeX with full hardware acceleration. Does anyone else want to work on developing a KVM-enabled kernel for the Galaxy S9 and other Samsung devices to run ARM64 desktop OSes? I feel as if this could bring DeX a step closer to replacing your PC if we could run Windows, Ubuntu, Arch, and other desktop OSes on it. What do you think?
Click to expand...
Click to collapse
[Kernel] Stock Android Pie kernel with KVM
I have been trying for some time now to enable KVM on the Pixel XL, by compiling the stock Google kernel and adding the KVM switches to "marlin_defconfig". Unfortunately, while the kernel with KVM compiles properly and could be flashed, /dev/kvm...
forum.xda-developers.com

Related

[webtop] full Ubuntu customization

I'd like to start a list of programs that work and custimazation tips so that we can all get the most out of our webtop!
Visit this thread to get full Ubuntu working on the webtop:
[MOD] Full Ubuntu on the Atrix (now fully automated)
Before installing or modifying make sure that you don't (or any dependencies) upgrade: (as per Sogarth)
Be careful upgrading any of the -mot/~mot packages, as that can break functionality. I'm still compiling a list of which packages can be upgraded versus which can be left alone.
Can be upgraded with loss of functionality:
libnautilus-extension1-1:2.26.2-0ubuntu1-mot1
nautilus-1:2.26.2-0ubuntu1-mot1
nautilus-data-1:2.26.2-0ubuntu1-mot1
Upgrading these packages plus at least one additional package I've not yet fully identified breaks viewing mountable storage and the ability to unmount it.
xserver-xorg-core-2:1.6.0-0ubuntu14
Using the stock xserver-xorg-core 2:1.6.0-0ubuntu14 that's already installed without recovering /usr/bin/Xorg appears to lead to a loss of the status bar at the top. This particular issue is now handled by the script.
Cannot be upgraded:
gtk2-engines-1:2.18.1-0ubuntu1~mot1
This breaks aiw (Android In Window) so that there's no frame around the window and it can no longer be manipulated in any way.
xscreensaver-5.10-6-motorola1?
xscreensaver-data-5.10-6-motorola1?
xscreensaver-data-extra-5.10-6-motorola1?
This will likely break displaying aiw (Android In Window) as the unlocking mechanism for the screensaver. Still needs to be tested.
Working Ubuntu Apps:
LXTerminal
eog
Pidgin (SOUND! install gstreamer0.10-pulseaudio)
GIMP
gedit
Transmission
gnome-panel (switch between webtop and gnome-session mouse to top of screen)
VLC works (tested MKV video, music a little choppy)
rdesktop
nano
joe
synergy
vnc
axe
lxpanel
openssh-client
AbiWord
Rhythmbox (thread )
xfce4
NOT working:
Open Office
working on gnome-panel issue
but it does have more indepth settings. like display mouse keyboard etc
so you were able to get a higher display res than 1280x768?
dLo GSR said:
so you were able to get a higher display res than 1280x768?
Click to expand...
Click to collapse
yes, but this wasnt due to gnome-panel.
i'm currently running at 1280x1024, but only due to limitation of my monitor right now. i get the 1366x768 at the home monitor.
i'm guessing your on an hdtv, doesnt do 1080p yet, so it drops down?
edounn said:
yes, but this wasnt due to gnome-panel.
i'm currently running at 1280x1024, but only due to limitation of my monitor right now. i get the 1366x768 at the home monitor.
i'm guessing your on an hdtv, doesnt do 1080p yet, so it drops down?
Click to expand...
Click to collapse
How'd you get higher res?
I see what you'rr asking now. Maybe its because i'm using hdmi to DVI? I haven't done any mod on this. It does it automatically choosing highest resolution. Could be wrong tho.. I can see 720p only being available if your on an hdtv.
Sent from my MB860 using XDA App
I was going to do this when I got my dock tomorrow.
I had two concepts of app lists to test.
The Jaunty list from ubuntu
http://ubuntuguide.org/wiki/Ubuntu:Jaunty#Ubuntu_Addon_Applications
and the top 100 list
http://ubuntulinuxhelp.com/top-100-of-the-best-useful-opensource-applications/
The rdesktop also working
joe, synergy, vnc, axe all work
Am I able to write to the 'internal' storage. I know we have limited space, but can we write outside of the webtop environment?
Sent from my MB860 using XDA Premium App
edounn said:
I see what you'rr asking now. Maybe its because i'm using hdmi to DVI? I haven't done any mod on this. It does it automatically choosing highest resolution. Could be wrong tho.. I can see 720p only being available if your on an hdtv.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
no, you're right, you do have 1280 x 1024, and it's available to select as your res if you click the display settings (even on an HDTV). it just doesn't help any for HDTVs since it's a non-widescreen res.
Anyone have any luck with moonlight? I have tried but can't get it to work.
You guys think this would be powerful enough to run a Virtual PC program like parallels or virtualbox?
liranc said:
You guys think this would be powerful enough to run a Virtual PC program like parallels or virtualbox?
Click to expand...
Click to collapse
maybe in 2.4 when there is full multi core support, or if that 1.5ghz overclock kernel extension ever comes to fruition. but what you're thinking is exactly what I'm hoping for
if I can get Internet Explorer to work via virtual box or even somehow through IETab in FF via IE running in WINE my life would be complete as the majority of websites I use for work are IE only
I can tell you that the iputils and nmap packages work perfectly, so does John the Ripper along with openssh
jbe4 said:
maybe in 2.4 when there is full multi core support, or if that 1.5ghz overclock kernel extension ever comes to fruition. but what you're thinking is exactly what I'm hoping for
if I can get Internet Explorer to work via virtual box or even somehow through IETab in FF via IE running in WINE my life would be complete as the majority of websites I use for work are IE only
I can tell you that the iputils and nmap packages work perfectly, so does John the Ripper along with openssh
Click to expand...
Click to collapse
I want to buy the Atrix, I'm on an ancient Android(i won't say which to save embarrassment lol). It really seems that it'll be a perfect fit for me especially if they have a virtual PC on it... mainly because of either browser support or having actual Microsoft Office on there
This will probably be one of the most powerful phones for a while so I might as well just get it. The 1GB SDRAM vs 512 of similar dual cores that have come out is a huge plus.
I was also thinking of installing virtual box but using windows 7 embedded as it is a much lighter footprint.
I am basically waiting for a CWM fiel that will run on 1.57 gingerblur.
Then I will start messing around with this.
Pretty sure any of the virtualization apps require an x86 chip.
barry99705 said:
Pretty sure any of the virtualization apps require an x86 chip.
Click to expand...
Click to collapse
I am afraid you are right about the x86 part....
I will try qemu then
http://www.linuxquestions.org/quest...nning-windows-under-the-qemu-emulator-320569/
If it doesn't work with win7 embedded then I will do it with xp embedded.
I want to be the first on youtube with windows running on a nvidia tegra 2 cpu based atrix.
Did you guys know that in games if you hold one finger down on the trackpad while in webtop mode, you can press the on screen buttons? I tried it in samurai 2 and dungeon defenders. Its hard to find the buttons but makes games much more playable.
Can someone tell me if this works with the laptop dock?
Sent from my MB860 using XDA App
joe ferreira said:
I am afraid you are right about the x86 part....
I will try qemu then
http://www.linuxquestions.org/quest...nning-windows-under-the-qemu-emulator-320569/
If it doesn't work with win7 embedded then I will do it with xp embedded.
I want to be the first on youtube with windows running on a nvidia tegra 2 cpu based atrix.
Click to expand...
Click to collapse
From my research qemu hasn't been ported to arm.
Also windows CE is the only arm windows availible. I don't think it will work on tegra.
I also don't see wine working on arm ubuntu for a long time. Because it will have to emulate x86 for windows stuff.
Windows 8 will support both arm and x86. However, why do that when you have a better os right now.
Sent from my MB860 using XDA App

Chromecast-based ROM for thin client possible?

I have an old HP Thin Client here and it is virtually worthless (I have run a few distros on it from USB, but minimalist) and was thinking that it might make a great streaming device. (It isn't ARM unfortunately, it is an x86 AMD proc...)
Is there any Chromecast derivatives (or even distros) that would allow for this to be used like a Chromecast?
LinuxAssailant said:
I have an old HP Thin Client here and it is virtually worthless (I have run a few distros on it from USB, but minimalist) and was thinking that it might make a great streaming device. (It isn't ARM unfortunately, it is an x86 AMD proc...)
Is there any Chromecast derivatives (or even distros) that would allow for this to be used like a Chromecast?
Click to expand...
Click to collapse
Can it run desktop Chrome browser? If so, you could use CR Cast extension or LeapCast to make it function like a Chromecast. See FAQ Part 1, 1.e
Note that both of those may need updates to support new apps built on the just-released SDK. Not sure.
Maybe bluestack for Windows and cheap cast.

[Q] Need small display and camera for raspberry pi running on android os

I am setting up to do an embedded project.
For this I need an android development board which supports displays about 3 to 4 inch ones and a camera. I considered a the raspberry pi. It runs the raspbian os. I found that it can be flashed with an android 4.0.3 ICS os. But I need to kow for certain that i can interface a small display and a camera for the raspberry pi running on the ics os.
I found these 2 products for the pi website
Display:
https://www.crazypi.com/raspberry-pi-products/Raspberry-Pi-Accessories/32-TOUCH-DISPLAY-RASPBERRY-PI
Camera:
https://www.crazypi.com/raspberry-pi-products/Raspberry-Pi-Accessories/RASPBERRY-PI-CAMERA
But i think they support only the raspbian os I want to know if it can be used for android os and if not what alternative can i hope for?
I'm not exactly sure but to make the screen work, especially with the Android OS, you'll probably need some specific drivers. The product description for the screen indicates that it is compatible with the Raspbian OS. You may need to program your own drivers to make the touch screen work on Android.
The display you mention has only resititive touch. Have anyone found one with capacitive touch?

Is it Possible to Run Android 5.0 / Android TV on Raspberry Pi 2?

Hello i'm kind of new to this so please don't be to harsh .
To run Android TV, android 5.0 would need to be ported first thus me titling this "Is it Possible to Android 5.0 / Android TV on Raspberry Pi 2?" However my main subject / me making this post is to see if Android TV on Pi 2 is feasible.
I was thinking would be possible to run Android TV on the new Raspberry Pi? I ask this because the specs of the new Pi 2 are quite impressive and I can totally see this becoming popular as I can imagine a lot of people would go out and buy a Pi just to run android tv on it (me being one of them) . This would be great as not only would it provide a large install base for Android TV (which in turn up the developer support) it would make it so almost anyone can have a cheap chrome cast type of device with a functional GUI. I don't know if this is possible but doing some research I can't see any reason why it would't work and it would make for such a cool and inexpensive android tv box! :good:
Possible short comings would be:
Lag due to low clock speed
Lack of a remote (possible use of a bluetooth controller or a smart phone app to control the box using wifi)
Poor Gaming capabilities?
Probably a few more.
Thomas_Bam said:
Hello i'm kind of new to this so please don't be to harsh .
To run Android TV, android 5.0 would need to be ported first thus me titling this "Is it Possible to Android 5.0 / Android TV on Raspberry Pi 2?" However my main subject / me making this post is to see if Android TV on Pi 2 is feasible.
I was thinking would be possible to run Android TV on the new Raspberry Pi? I ask this because the specs of the new Pi 2 are quite impressive and I can totally see this becoming popular as I can imagine a lot of people would go out and buy a Pi just to run android tv on it (me being one of them) . This would be great as not only would it provide a large install base for Android TV (which in turn up the developer support) it would make it so almost anyone can have a cheap chrome cast type of device with a functional GUI. I don't know if this is possible but doing some research I can't see any reason why it would't work and it would make for such a cool and inexpensive android tv box! :good:
Possible short comings would be:
Lag due to low clock speed
Lack of a remote (possible use of a bluetooth controller or a smart phone app to control the box using wifi)
Poor Gaming capabilities?
Probably a few more.
Click to expand...
Click to collapse
My research indicates this would be difficult, however, if a Chromecast type Media Center is what you're looking fo, I have good news. There are 2 OS downloads that are essentially XBMC ports for Pi 2.
http://www.raspberrypi.org/downloads/
I bought a Pi 2 today and am waiting for them to provide a delivery date. I intend to use it with one of these XBMC OS'S.
Thomas_Bam said:
Hello i'm kind of new to this so please don't be to harsh .
To run Android TV, android 5.0 would need to be ported first thus me titling this "Is it Possible to Android 5.0 / Android TV on Raspberry Pi 2?" However my main subject / me making this post is to see if Android TV on Pi 2 is feasible.
I was thinking would be possible to run Android TV on the new Raspberry Pi? I ask this because the specs of the new Pi 2 are quite impressive and I can totally see this becoming popular as I can imagine a lot of people would go out and buy a Pi just to run android tv on it (me being one of them) . This would be great as not only would it provide a large install base for Android TV (which in turn up the developer support) it would make it so almost anyone can have a cheap chrome cast type of device with a functional GUI. I don't know if this is possible but doing some research I can't see any reason why it would't work and it would make for such a cool and inexpensive android tv box! :good:
Possible short comings would be:
Lag due to low clock speed
Lack of a remote (possible use of a bluetooth controller or a smart phone app to control the box using wifi)
Poor Gaming capabilities?
Probably a few more.
Click to expand...
Click to collapse
Probably the same conclusion as this:http://forum.xda-developers.com/hardware-hacking/raspberry-pi/rd-android-4-4-4-t2816952
XBMC for RPi already supports CEC through the HDMI... So most of your remote problems are solved there. A wireless Bluetooth keyboard/touchpad also solves the problem.
Yes, I can confirm that, I'm using osmc(aka raspbmc) for more that one and a half years and the performance is a quite good, even if I have allot of other things running on my pi...
CEC is supported, but be careful if you own a LG webos tv you should not us this, cause will slow down your tv and make it unresponsive, as far as I know only webos TVs are afected(2014 models).
But anyhow if raspbmc has a good performance on the old rpi B, I think should perform way faster on the new pi2.
I'm planning also to upgrade my pi..
From what is being reported on the Kodi forums, the Pi2 does very well with it. There is already a branch of OpenElec for it, and I think also one for RaspBMC/OSMC with a lot of the add-ons under recompilation during this week to give full support. But it's certainly getting full support from the dev community there, which is great.
But as noted even the Pi1 does very well anyway with Kodi, my overclocked B+ with OpenElec 5.0.1 works fine with it and no issues at all that I encounter day to day. Nice and smooth, and fully supports CEC from my (dumb) LG HDTV. And if you prefer, there's decent remote control for Android/iOS (Yatse) and web-based remote built into Kodi itself.
I'd certainly recommend it as an excellent alternative to AndroidTV.
The Android porting issue is the lack of graphics chip support
I'm wanting to see this as well, namely because Android TV also offers direct support for Netflix, Hulu, Plex, and others. While you can potentially get these with an xbmc based build, it will not work well with remotes.
Rakeesh_j said:
I'm wanting to see this as well, namely because Android TV also offers direct support for Netflix, Hulu, Plex, and others. While you can potentially get these with an xbmc based build, it will not work well with remotes.
Click to expand...
Click to collapse
The Pi supports CEC, so if you've got a suitable TV and the two are connected by HDMI then you're fine to go. I run my OpenElec set-up on my Pi1 using the remote of my LG dumb TV, and it's a doddle. It does have a wireless keyboard and mouse connected to it for it's other life as a Raspbian programming box for the kids (Scratch/Minecraft/Python) but I don't recall the last time I took up either when it was running in its OpenElec identity...
There is certainly an implementation of Plex for OpenElec. Not sure about the others, as I don't use any of them.
DarrenHill said:
The Pi supports CEC, so if you've got a suitable TV and the two are connected by HDMI then you're fine to go. I run my OpenElec set-up on my Pi1 using the remote of my LG dumb TV, and it's a doddle. It does have a wireless keyboard and mouse connected to it for it's other life as a Raspbian programming box for the kids (Scratch/Minecraft/Python) but I don't recall the last time I took up either when it was running in its OpenElec identity...
There is certainly an implementation of Plex for OpenElec. Not sure about the others, as I don't use any of them.
Click to expand...
Click to collapse
That isn't the problem. The remote itself works ok, and the device can see the events. The problem is the individual applications require different key bindings. I've done all of that crap where you configure different profiles and whatnot to bind different remote presses depending on the app, but it breaks all the time and maintaining it sucks balls.
Not doing that again. It's better just to have one cohesive interface that each app responds to identically. Android TV provides exactly that.
Two years ago, tried a hand at Android 2.3 on the Raspberry Pi after seeing an article on Cnet.
:silly:
Utterly terrible failure. They have then proceeded to pulled the article down.
YES, it's possible, GUI at 10-15fps with SW rendering. Slow but useable.
confused
I don't understand. Broadcom has released the sourcecode for the gpu including register-level documentation.
http://blog.broadcom.com/chip-desig...ves-developers-keys-to-the-videocore-kingdom/
The downloads are at the bottom of the http://www.broadcom.com/support/ page.
ddfault said:
I don't understand. Broadcom has released the sourcecode for the gpu including register-level documentation.
http://blog.broadcom.com/chip-desig...ves-developers-keys-to-the-videocore-kingdom/
The downloads are at the bottom of the http://www.broadcom.com/support/ page.
Click to expand...
Click to collapse
Actually, the problem is not that(the stack was adapted to GNU/Linux, see github.com/simonjhall/challenge but with memcpys), it is just that it depends on a Linux 3.0 kernel driver for full functionnality(HW layers). That driver is still not ported to modern kernels(the official RPi kernel is 3.19!)
It is fully doable. On IRC with the primary developer of Replicant, he said that porting Mesa/VC4 with adding Android support would take a few time with mostly buildsystem changes .(he ported llvmpipe)
CFP with a comment
I would like to use Android version 4.2.2 Jellybean! on my RP2+, Please understand i don't really quite understand everything you guys are saying, I just would like a straight answer, can it be done? My pi is version 2+ 512MB ram not the four core version.
THANKS!
Clancey A
tyrian869 said:
I would like to use Android version 4.2.2 Jellybean! on my RP2+, Please understand i don't really quite understand everything you guys are saying, I just would like a straight answer, can it be done? My pi is version 2+ 512MB ram not the four core version.
THANKS!
Clancey A
Click to expand...
Click to collapse
No. Check back in 6 months, maybe someone will have Lollipop running on it by then!
Android TV on Raspberry Pi 2... That's a dream...
Well, I have a question...
Got the Raspberry Pi 2 with 512MB of ram, and I've tested the beta Android found here, and it's usable (just usable, it has lag, and many things can be done to it to became perfect). Why doesn't anyone try to port that Android on Raspberry Pi 2? Now we have a 900Mhz Quad Core CPU and double the ram...
Could you please provide mode details?
What' the issue with the Wi-Fi?
How is the general performance of the Lollipop?
Do you have Play Store installed?
khrystyan27 said:
Could you please provide mode details?
What' the issue with the Wi-Fi?
How is the general performance of the Lollipop?
Do you have Play Store installed?
Click to expand...
Click to collapse
"not worth much without hardware acceleration", i would say its totally useless.

Any possibilities to run Windows

Since @black_blob has ported win10iot to Surface RT devices,are there any possibilities to port Windows RT to Raspberry Pi , because Rpi can already run win10iot?

Categories

Resources