Does ADB work on surface? - Microsoft Surface

I just got my surface 2 and I love it. I was just wandering if it supports adb for android?

No

SixSixSevenSeven said:
No
Click to expand...
Click to collapse
Why, have you tried? Its a full pc with USB surely just a case of installing drivers?
Edit: whoops thinking surface pro

wintermute000 said:
Why, have you tried? Its a full pc with USB surely just a case of installing drivers?
Edit: whoops thinking surface pro
Click to expand...
Click to collapse
Nailed it on last line. ADB works just fine on the pro/pro2 as they are literally just ultrabooks with the motherboard behind the screen which also happens to be a 10" touchscreen.
THe surface RT/surface 2 on paper are physically capable of doing it. Windows RT with either a signed ADB binary or jailbreak and signed/jailbroken drivers could feasibly run the ADB plus all the windows tablets so far (ARM and x86) have USB capability (even most of the ones from years ago running windows 2000 etc had USB). Its getting those drivers and the ADB itself though. ADB doesn't build in under MSVC (the compiler for C/C++ in visual studio). MSVC is the only compiler we have which can target windows desktop on ARM. I think it actually relies on cygwin, which we most certainly do not have for ARM. There are a few open source ADB device drivers out there, most are not though, even so they also wont build under MSVC. SO in theory windows RT could do it, in practice we don't have the tools to do it.

Related

[Q] Dual boot Ubuntu and Android?

The dual-form nature of this item would fit a dual-boot scenario perfectly. Boot into Android when used as a tablet, boot into Ubuntu when docked. Just curious as to the possibility of this.
As far as I know, Ubuntu supports ARM architecture, so the Tegra 2 chip should work well with it. I'm not familiar with the touch screen driver support in Ubuntu, but I remember when I modded my old EeePC netbook with a touch screen, I was able to install third party touch screen drivers without any problem. Then again, even if the touchscreen won't work, when docked it has the mouse and keyboard anyway.
Are there any devs working on this, or know what the feasibility of such an endeavor would be?
Thanks!
Let me know when I can dual boot into Linux Mint.
I'm wondering if the webtop from atrix can be ported to work here.
Sent from my MB860 using Tapatalk
PGibbons999 said:
Let me know when I can dual boot into Linux Mint.
Click to expand...
Click to collapse
Linux Mint is based off of Ubuntu, so if you can get one working, you can get the other. However, vanilla Ubuntu has three times the user base, so I feel that would be the best bet, considering the much larger community support.
Definitely should be a project someone works on
Should be very easy to boot ubuntu alongside android. Got a lot of spare ram on these systems.
This of course means running ubuntu with a vnc server, and connecting to localhost. Which is far from optimal. But it works atleast. That's what I plan to do when I get the tablet.
Hell with wireless adb there's a decent chance I'll be able to run up eclipse and build apps directly to and from the tablet
nurre said:
Hell with wireless adb there's a decent chance I'll be able to run up eclipse and build apps directly to and from the tablet
Click to expand...
Click to collapse
Not unless we get an ARM SDK. There is nothing I would like more than to be able to develop for my tablet on my tablet, but right now it is not possible, even with Ubuntu.
Ubuntu 11.04 was just released with the new Unity interface standardized. I'm not sure how well the Tegra 2 can handle it, but there's also Unity 2D, which looks great.
And the touchscreen interface looks lovely:
http://unity.ubuntu.com/projects/utouch/
I'm getting excited, I really hope we can get this working!
nurre said:
Should be very easy to boot ubuntu alongside android. Got a lot of spare ram on these systems.
This of course means running ubuntu with a vnc server, and connecting to localhost. Which is far from optimal. But it works atleast. That's what I plan to do when I get the tablet.
Hell with wireless adb there's a decent chance I'll be able to run up eclipse and build apps directly to and from the tablet
Click to expand...
Click to collapse
This was already done on the Xoom I believe.
ZaelFaroe said:
Not unless we get an ARM SDK. There is nothing I would like more than to be able to develop for my tablet on my tablet, but right now it is not possible, even with Ubuntu.
Click to expand...
Click to collapse
A very good point :/, oh well. I can still do my normal development
nurre said:
A very good point :/, oh well. I can still do my normal development
Click to expand...
Click to collapse
From what I understand, Eclipse is actually built entirely on Java. Is anyone aware of a full java environment for ARM Linux?
The problem isn't eclipse being based on Java, the problem is the Android SDK plug-in (which specifies x86). It could be that you only need x86 for the emulator or for the USB drivers (I don't know), but it could also be something else where none of the plug-in will work on ARM. You could probably do development (write code), but you probably couldn't compile to apk or test at all. People on PPC Macs already have this issue. It appears that the source code for the SDK is publicly available so maybe we could get it working, but I think that might be more effort than it is worth at this point in time.
But this is getting off topic. We need Ubuntu (or other full linux distro) before the rest of this is even remotely possible.
They have Ubuntu working on some of the old Windows Mobile phones (check out the HTC Touch Pro 2 / Rhodium). Isn't that an ARM based CPU?
Yes, Ubuntu should have no problem working on ARM. The only questions on Ubuntu are the drivers and bootloader.
Getting linux up and running shouldn't be hard. It's done on most modern cell phones already. And the cut down versions are normally due to limitations in hardware.
The only part that sucks is the vnc localhost solution which is generally being deployed, it's not exactly optimal performance wise.
nurre said:
The only part that sucks is the vnc localhost solution which is generally being deployed, it's not exactly optimal performance wise.
Click to expand...
Click to collapse
The best way to deal with this problem would probably to get X11 working with Android's graphics stack (mostly OpenGL) as a backend- sort of like Xephyr, or Wayland's embedding of X11 (basing the work on Wayland's work might be the easiest, since they already use OpenGL ES).
That should deliver near-native performance, with full hardware acceleration.
I'd think the best way to structure it would be to have an app you launch within Android that connects to the X11 server and just pushes the final image to the screen (akin to what Wayland does). That should make it reasonable practical to move between Android and Unity (/Gnome/KDE/etc) without too much weirdities.
---
For doing Android development on Android, until there's a native SDK, you could use X11's network transparency to be running Eclipse on a remote machine via SSH, using port forwarding to allow the remote machine to connect back over the tunnel for ADB. It's ugly, but it should work (assuming you have a network connection... and a working x11!).
Initially thought this would be a huge reverse enginering job, but look and behold : http://developer.nvidia.com/tegra/news/linux-tegra-released !
Did anyone actually tried to run any Linux distro on it?
Is there any dev working on the question ?
Having a Android/Ubuntu tablet with an actual removable keyboard good me a huge advantage in terms of productivity/entertainment share... !!
nordicfastware said:
Is there any dev working on the question ?
Having a Android/Ubuntu tablet with an actual removable keyboard good me a huge advantage in terms of productivity/entertainment share... !!
Click to expand...
Click to collapse
+1 for that

Visual Studio and SQL Server on Surface

Hi all. Im sure that Surface is powerful device.I am a developer and I use VS and SQL server.I'm asking to you guys that surface can work well? I mean,for instance,Im working on a project on my desktop with these programs,can I be able to run my project in surface perfectly?
Sent from my Galaxy Nexus using xda app-developers app
I'm almost sure that you won't be able to use those on the RT ARM version (AFAIK there aren't even ARM versions of VS and MSSQL, at the moment).
Also, Visual Studio is something badly heavy... so I doubt that they will compile it for the ARM tablet.
About the x86 Surface, well, it's an Core i5, 64bits! There will run almost everything.
If it works on any windows 8 i5 laptop, it will work in surface pro. Avoid surface RT like the plague though.
phailyoor said:
If it works on any windows 8 i5 laptop, it will work in surface pro. Avoid surface RT like the plague though.
Click to expand...
Click to collapse
Maybe in the future there might be an Visual Studio Express addition for Windows RT.
They managed to port entire kernal from x86 to ARM and VS is a x86.
But the biggest problem is probably legacy DLLs and realy old stuff, that is probably not ported to new core OS.
That means, Microsoft needs to figure out, how to enable ARM desktop development without those old stuff.
I think this is the primary reason, why Windows RT desktop isn't opened for 3rd party developers.
They probably rewrote only specific DLLs to ARM, just enough to make Office work.
I wish, but however seems very unlikely! Personally wouldn't want to use a tablet to code on anyways. but would be fun for little things!
eternalseal12 said:
Hi all. Im sure that Surface is powerful device.I am a developer and I use VS and SQL server.I'm asking to you guys that surface can work well? I mean,for instance,Im working on a project on my desktop with these programs,can I be able to run my project in surface perfectly?
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Well you can use visual studio for windows 8, and then compile it for ARM, using the remote debugger which you install on windows RT. But it can only develop metro apps.
The only way to use VS and MS SQL on Surface RT at the moment is via Remote Desktop
Surface Pro will run everything (though of course it's thicker, heavier, and won't last as long on battery).
I use RemoteApps for SQL Server Management Server, IIS, and more. It works beautifully.
I haven't tried Visual Studio yet.
Thank you OP. I wanted to ask the same question. In addition to that, does the W8 RT have an emulator to mount .img's? If so, you can use the 2008 Visual Studios image file. it works well with my android tab

Install Ubuntu on the Surface Pro

Source: http://www.geek.com/articles/mobile/how-to-install-ubuntu-on-the-surface-pro-20130211/
Thanks, but no, I will keep Windows 8.
Talderon said:
Source: http://www.geek.com/articles/mobile/how-to-install-ubuntu-on-the-surface-pro-20130211/
Thanks, but no, I will keep Windows 8.
Click to expand...
Click to collapse
Will it work on the RT?
Twiisted said:
Will it work on the RT?
Click to expand...
Click to collapse
No, Pro Only.
Talderon said:
No, Pro Only.
Click to expand...
Click to collapse
NNNNNOOOOOOOOOoooooooooo!!!!!!!!:crying:
Twiisted said:
NNNNNOOOOOOOOOoooooooooo!!!!!!!!:crying:
Click to expand...
Click to collapse
The only reason No on the RT is that you can't disable Secure Boot and you would have to find an ARM compiled version of Ubuntu.
The first reason more than anything else will keep you from doing much of anything.
Well... to give you SOME hope: http://www.engadget.com/2013/02/11/linux-foundation-secure-boot/
Looks like it may actually come to fruition at some point in the (near?) future.
Talderon said:
Well... to give you SOME hope: http://www.engadget.com/2013/02/11/linux-foundation-secure-boot/
Looks like it may actually come to fruition at some point in the (near?) future.
Click to expand...
Click to collapse
This is great news considering Ubuntu is already being compiled for ARM devices. e.g. Their new mobile operating system.
Once it drops, it should only be a matter of time before someone cooks it up for the RT... :fingers-crossed:
Twiisted said:
This is great news considering Ubuntu is already being compiled for ARM devices. e.g. Their new mobile operating system.
Once it drops, it should only be a matter of time before someone cooks it up for the RT... :fingers-crossed:
Click to expand...
Click to collapse
Well, at least there is SOME light at the end of the tunnel.
Just because a secure boot-compatible segnature is present doesn't mean it will work; there's no way to add your own signing keys to the Surface RT's SB certificate store, so unless your Linux installer is either signed by MS or by another authority that is trusted out of the box, it still won't work.
Also, there's a big difference between recompiling a user-mode application for ARM and recompiling an entire OS. You need a compatible board support package for your processor and hardware. It's possible (and there are already Linux images that run on the Tegra3) but it's not trivial.
GoodDayToDie said:
Just because a secure boot-compatible segnature is present doesn't mean it will work; there's no way to add your own signing keys to the Surface RT's SB certificate store, so unless your Linux installer is either signed by MS or by another authority that is trusted out of the box, it still won't work.
Also, there's a big difference between recompiling a user-mode application for ARM and recompiling an entire OS. You need a compatible board support package for your processor and hardware. It's possible (and there are already Linux images that run on the Tegra3) but it's not trivial.
Click to expand...
Click to collapse
Way to ruin my dream :/
Twiisted said:
Ubuntu is already being compiled for ARM devices. e.g. Their new mobile operating system.
Click to expand...
Click to collapse
Full ubuntu is already available on ARM. Not just their new mobile OS.
Ubuntu on Surface :crying:
Buy a TF300
Caramel said:
Ubuntu on Surface :crying:
Buy a TF300
Click to expand...
Click to collapse
I dont see the problem with it tbh. The surface is a genuinely nice piece of hardware, its just some people dont like windows 8.
Now a hackintosh on the surface would be very interesting albeit incredibly unlikely.
I wonder if one of the various android x86 projects would consider a surface pro version.
SixSixSevenSeven said:
I dont see the problem with it tbh. The surface is a genuinely nice piece of hardware, its just some people dont like windows 8.
Now a hackintosh on the surface would be very interesting albeit incredibly unlikely.
I wonder if one of the various android x86 projects would consider a surface pro version.
Click to expand...
Click to collapse
I rather wait for windows android to release stable versions. I don't want to reboot and lost true multitasking just to play a mobile game.
Sent from my U9200
Surface pro with Mountain lion...
https://www.youtube.com/watch?v=icPMg_qkSRs
looks like a fair bit of input latency there, very similar to what I see with remote desktop as opposed to running on the machine. Either that or poor drivers. Either one is possible
or the fact ml isn't supposed to run touchscreen so its not optimised....?
Trig0r said:
or the fact ml isn't supposed to run touchscreen so its not optimised....?
Click to expand...
Click to collapse
I would class that under poor driver support which I already said....
OSX does support touchscreen anyway.
my surface pro cannot boot from Windows 7 and Linux USBs, it still proceeds to windows 8. (im trying to put windows 7 on it or Linux)
but I can on my Recovery USB. i'm using the down volume method, and tried the advance boot thingy and chose USB method.
So i doubted if my win7 and linux usbs are not bootable, but they both boot well on my other pc.
I also have that EFI boot disabled. im not exactly a noob with tweaks and software installation, i just dont know why my surface pro wont accept those bootable usbs so i can start installing them.
please help.
That's great and all, but I can't find the Marvell drivers for ubuntu at all..

ubuntu on surface on vivo tab?

Any one know is it possible to install ubuntu for tablets on Surface or Asus vivo tab? Any work in this direction?
are we talking ARM or x86. Both the surface and vivotab are available in either version.
For the ARM tablets (surface RT and vivotab RT) then no.
For the x86 tablets, still no as ubuntu for tablets is for ARM at this moment in time. It could probably be recompiled for x86 though. Also you already have access to full ubuntu anyway.
SixSixSevenSeven said:
are we talking ARM or x86. Both the surface and vivotab are available in either version.
For the ARM tablets (surface RT and vivotab RT) then no.
For the x86 tablets, still no as ubuntu for tablets is for ARM at this moment in time. It could probably be recompiled for x86 though. Also you already have access to full ubuntu anyway.
Click to expand...
Click to collapse
Hi SixSixSevenSeven
Not that I know the answer.
But you say the ARM version of ubuntu will not work on Surface RT.
Can you please explain why this will not work?
phuongpham said:
Hi SixSixSevenSeven
Not that I know the answer.
But you say the ARM version of ubuntu will not work on Surface RT.
Can you please explain why this will not work?
Click to expand...
Click to collapse
UEFI secure boot and driver signing.
The surface has been locked down so it will only boot into code signed by microsoft. Ubuntu is not signed by microsoft so will not boot.
Maybe one day someone will find a workaround hack. When that day comes you may then be able to have ubuntu on the Surface RT. Right now though it is not possible to run anything other than Windows RT. It might take months or even years before someone finds an exploit that we can use or it might never happen. If thats what you want to do on your device then maybe the surface RT isnt for you.
The surface pro (intel core i5 which is an x86 chip) however can have its secure boot disabled in the control panel and does not need driver signing. Being a regular x86 device the pro is not actually any different from any other laptop or desktop you have bought and provided with either a bootable USB stick or a USB optical drive will run the full version of ubuntu.
SixSixSevenSeven said:
UEFI secure boot and driver signing.
The surface has been locked down so it will only boot into code signed by microsoft. Ubuntu is not signed by microsoft so will not boot.
Maybe one day someone will find a workaround hack. When that day comes you may then be able to have ubuntu on the Surface RT. Right now though it is not possible to run anything other than Windows RT. It might take months or even years before someone finds an exploit that we can use or it might never happen. If thats what you want to do on your device then maybe the surface RT isnt for you.
The surface pro (intel core i5 which is an x86 chip) however can have its secure boot disabled in the control panel and does not need driver signing. Being a regular x86 device the pro is not actually any different from any other laptop or desktop you have bought and provided with either a bootable USB stick or a USB optical drive will run the full version of ubuntu.
Click to expand...
Click to collapse
Thanks for your feedback :good:
I think this answer make it clear for at lease me

Surface Pro 2 alternativ OS

I was just wondering if there are any people who installed an other OS than windows 8 on the Surface pro 2, like Ubuntu, fedora, Linux Mint, openSUSE or Android...?
Ubuntu worked on SUrface Pro 1 (not perfect, but it worked...), so whats with the sp2?
there wasnt any issue with ubuntu on SP1 besides drivers for touch/wacom. Both the surface pro and pro 2 are normal windows laptops essentially shoved into a small frame and both wacom and capacitive digitisers stuck over the top. There is nothing bizarre or strange about them preventing another operating system from running.
I read there were also WiFi-Issues... Have anyone installed Ubuntu or Fedora and can make a short Video?
THanks, fredopato
fredopato said:
I read there were also WiFi-Issues... Have anyone installed Ubuntu or Fedora and can make a short Video?
THanks, fredopato
Click to expand...
Click to collapse
That would also come under drivers, although I did overlook WiFi

Categories

Resources