Linux on Microsoft Surface - Microsoft Surface

I'm wondering if you can run Ubuntu or any kind of Linux. Any comments or suggestions would be appreciated.

HTCEvoHaxx said:
I'm wondering if you can run Ubuntu or any kind of Linux. Any comments or suggestions would be appreciated.
Click to expand...
Click to collapse
Yes of course you can run Ubuntu, I have it right now on my Surface... :good:
Or wait, maybe we should wait till the device is actually out so we can check what can be done?
And if you want any kind of Linux tablet... try Android

Yeah this is something we will not know till people can get there hands on a device. The chances are no as its rumoured the bootloader will be locked and windows has no forum of chroot...but maybe in a virtual machine
Sent from my GT-N7000 using xda premium

Secure Boot should be able to be turned off on the Surface Pro. Then you have a regular UEFI based boot loader which should allow Linux to run without problems (UEFI boot code is part of Linux through the Itanium support as Itanium always has been using UEFI).
For the Surface RT it will be locked so without cracking it open neither Ubuntu nor Android will be able to run on it.

It is more likely that Microsoft this time is taking the Apple model and putting it to practise. It is a hardware with software specifically fine-tuned as an appliance (i.e. total combo, seamless experience) both developed by the same developer. So it is unlikely that they would allow, at least officially, alternative operating systems to boot up. It may be possible but not trivial.
All this speculation, however, is pure nonsense

Related

Can you root using a mac?

Sorry if this is an obvious or ignorant question but I was lookin into rooting my phone and I went to the revolutionary.io website and downloaded the linux version but it doesnt seem to open as expected on a mac. Will this work on macs? If not what i the best way to start this process?
Pretty certain it's a no
Use a friend's non-Apple box?
Boot Camp to Windows or a Linux distro?
You MIGHT be able to through the official HTC unlock method, but I know Revolutionary method is just a windows or linux application. Its a downer but you could check out the htcs dev website to see if its supported (Im note entirely sure either way), other wise use a friend and Revolutionary!
i also have a mac, i guess its time to take out that dusty windows machine from the closet lol
Bootcamp. Honestly, a Mac without a win 7 bootcamp partition is only half a machine.
Besides, a LOT of XDA-related rom flashing stuff is windows only (exe files, adb, etc.) so it would be good idea for you to start making that windows 7 bootcamp partition now
reorx24 said:
Bootcamp. Honestly, a Mac without a win 7 bootcamp partition is only half a machine.
Besides, a LOT of XDA-related rom flashing stuff is windows only (exe files, adb, etc.) so it would be good idea for you to start making that windows 7 bootcamp partition now
Click to expand...
Click to collapse
So, what good is a Mac... If all the Powerful Stuff We Do Here on XDA can't be done on it! I getting tired of "You Can't Do That... because it's a Mac" responses when it comes to "Real Technical Needs". I guess Windows will always reign supreme!

Surface Breakthroughs?

As we saw back in January, an individual had been able to crack the secure boot to allow a Mac OS to successfully run on an RT...no tutorial released. I own an RT, so this information was extremely appealing. I was hoping an android method would be released sometime soon but nothing ever came of it. Has anyone made any progress?
Twiisted said:
As we saw back in January, an individual had been able to crack the secure boot to allow a Mac OS to successfully run on an RT...no tutorial released. I own an RT, so this information was extremely appealing. I was hoping an android method would be released sometime soon but nothing ever came of it. Has anyone made any progress?
Click to expand...
Click to collapse
That's using an x86 emulator (BOCHS, it's floating around here somewhere) to run an old version of Mac OS on top of Windows RT. All the information to do that has been documented, it's just more or less pointless, so nobody in the real world gave it much attention.
As far as I know (and I try to keep up to date on these things) SecureBoot hasn't been compromised. As far as I know there haven't been any in depth looks into it, either, but that could easily be going on in secrecy.
Edit: Theoretically it should be possible to use a kernel mode driver to essentially hijack the entire system and reboot into Linux without actually rebooting. I'm way oversimplifying what it needs, though.
netham45 said:
Edit: Theoretically it should be possible to use a kernel mode driver to essentially hijack the entire system and reboot into Linux without actually rebooting. I am oversimplifying what it needs, though.
Click to expand...
Click to collapse
On your edit, so essentially an executeable safestrap? My thought would be that the kernel would be difficult to compile. However, my experience in the subject is rather limited at best. Oversimplification is great to get everyone one the same page of possibility. The main purpose of this thread was to spark interest in that possibility. Your knowledge of the subject could get the ball rolling to unlock the full potential of this machine. So...what needs to be done?
A kernel for the Tegra 3 SOC used in Surface RT isn't hard to come by; I think nVidia makes them publicly available. However, the Board Support Package for the Surface's hardware might be trickier; a lot of it is probably already supported by Linux but some might not be. It's basically the standard driver support issue; you might get Linux to boot but some stuff just wouldn't work (at least at first).
Now, writing that driver? Heh, good luck. Driver development on NT is hard enough in the first place, even assuming you have a good DDK (I don't think we do yet) and that there aren't a bunch of checks in the system plus hacks to bypass them. Then there's the fact that it's a very low-level driver, to be able to take over the whole OS memory image (probably implies full control over the Windows memory manager) and replace it wholesale. I wouldn't even know how to write that in x86, much less ARM. That isn't to say it can't be done, of course, but it's a hell of a task.
There is a full DDK floating around, it's where I got cdb from for the jailbreak.

postmarketOS Boot Issue - Surface 2 RT

*Issue solved, OS build meant for Surface RT, not Surface 2 RT. If someone could comment on how to delete a post, I'd appreciate it. Thank you.*
I've searched for this and found one dead, low-traffic thread that didn't provide any information. I'm attempting to use a USB to boot postmarketOS onto my Surface 2 RT, and have followed the instruction at openrt.gitbook to the point of booting the new OS. I formatted the USB in Windows cmd following these instructions:
diskpart
list disk
select disk X (Where X is the number assigned to the target USB drive)
clean
convert mbr
create partition primary
format fs=fat32 quick
assign
active
exit
I download the img.xz file (newest lxqt image from the postmarketOS surface rt wiki) on my android and use Zarchiver to get the .img file. I move that to my computer and write it to the USB using Rufus. After booting the Surface from USB, the following is displayed after a half hour or so of just the "Surface" logo:
Booting 'postmarketOS'
EFI stub: Entering in SVC mode with MMU enabled
EFI stub: Booting Linux Kernel...
EFI stub: Free memory starts at 0x82320000, setting kernel_base to 0x82300000
EFI stub: Using DTB from configuration table
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Exiting boot services and installing virtual address map...
_
It sat there throughout last night and never progressed. I feel as though I haven't properly created the bootable USB, but I'm pretty new. Can anyone see where I went wrong from just this information?
Thank you.
Lol kinda funny you got that far without realizing which Surface you had
FoxyDrew said:
Lol kinda funny you got that far without realizing which Surface you had
Click to expand...
Click to collapse
I knew which one I had, I just thought the entire tutorial was for surface rt/ rt2. It's my first time, I've got some learnin to do.
JoggingOtter said:
I knew which one I had, I just thought the entire tutorial was for surface rt/ rt2. It's my first time, I've got some learnin to do.
Click to expand...
Click to collapse
If you wanna learn more, or think you can contribute in any way, theres an Open RT Discord. That's where everyone is who got postmark/linux to work in the first place.
Currently they have a build of LineageOS recovery running and are working on Android.
Linux CAN be booted on the Surface RT 2, but its a WIP at the moment. A few things are broken Theres a guide in the discord as well.
FoxyDrew said:
If you wanna learn more, or think you can contribute in any way, theres an Open RT Discord. That's where everyone is who got postmark/linux to work in the first place.
Currently they have a build of LineageOS recovery running and are working on Android.
Linux CAN be booted on the Surface RT 2, but its a WIP at the moment. A few things are broken Theres a guide in the discord as well.
Click to expand...
Click to collapse
I appreciate that. I've joined the discord, that's where I found my error. Those guys were quick and spot on with the replies. I get a good feeling from this community right off the bat, so I'll be sticking around to learn and hopefully get to a point where I have usable input.
It seems to me my best course for right now might be the win10. I've read that many find it painfully slow, but they were running it on rt. Do you know if that's also the case for the 2?
JoggingOtter said:
I appreciate that. I've joined the discord, that's where I found my error. Those guys were quick and spot on with the replies. I get a good feeling from this community right off the bat, so I'll be sticking around to learn and hopefully get to a point where I have usable input.
It seems to me my best course for right now might be the win10. I've read that many find it painfully slow, but they were running it on rt. Do you know if that's also the case for the 2?
Click to expand...
Click to collapse
If you like numbers >8, sure go Windows 10. Windows 10 is still slower than Windows 8 even on the RT 2. Windows 10 can't install any apps that Win 8 can't. It has Microsoft Edge, but it's still no better than IE really, no youtube, slow loading, lots of pages broken, etc. It's basically unfinished beta software.
It's a fun little project and it's cool to see Win10 on the device, I had Win10 on my surface 2 for a few months, but i realized it's just not practical so I switched back to 8. I mainly use my surface for Splashtop, as a second monitor for my PC.
Not tryna discourage you, by all means flash Win10 to the tablet, just letting you know it's functionally the same and even a little worse than 8.1
FoxyDrew said:
If you like numbers >8, sure go Windows 10. Windows 10 is still slower than Windows 8 even on the RT 2. Windows 10 can't install any apps that Win 8 can't. It has Microsoft Edge, but it's still no better than IE really, no youtube, slow loading, lots of pages broken, etc. It's basically unfinished beta software.
It's a fun little project and it's cool to see Win10 on the device, I had Win10 on my surface 2 for a few months, but i realized it's just not practical so I switched back to 8. I mainly use my surface for Splashtop, as a second monitor for my PC.
Not tryna discourage you, by all means flash Win10 to the tablet, just letting you know it's functionally the same and even a little worse than 8.1
Click to expand...
Click to collapse
That's good to know. The issue that got me started searching around is that there are some websites that I just can't access, example being dndbeyond. Kindle app has been gone for years which is why I put the tablet in the drawer in the first place. I'd just like to use it minimally, I decided yesterday to try and reload 8.1 because I can't even get the updates it should have (I've followed some troubleshooting tutorials to no avail). I like the tablet, I just wish it was still useful.
JoggingOtter said:
That's good to know. The issue that got me started searching around is that there are some websites that I just can't access, example being dndbeyond. Kindle app has been gone for years which is why I put the tablet in the drawer in the first place. I'd just like to use it minimally, I decided yesterday to try and reload 8.1 because I can't even get the updates it should have (I've followed some troubleshooting tutorials to no avail). I like the tablet, I just wish it was still useful.
Click to expand...
Click to collapse
I wish it was too, especially for us with the Surface 2. The screen and speakers on this thing are still pretty dang good. Even on the first one with linux running okay, theres still no hardware acceleration for web browsing, so streaming sites like youtube or netflix won't work. But the small community in the discord seem to be making progress almost daily.
I'd legit hand over $50 to get a build of Android
FoxyDrew said:
If you like numbers >8, sure go Windows 10. Windows 10 is still slower than Windows 8 even on the RT 2. Windows 10 can't install any apps that Win 8 can't. It has Microsoft Edge, but it's still no better than IE really, no youtube, slow loading, lots of pages broken, etc. It's basically unfinished beta software.
It's a fun little project and it's cool to see Win10 on the device, I had Win10 on my surface 2 for a few months, but i realized it's just not practical so I switched back to 8. I mainly use my surface for Splashtop, as a second monitor for my PC.
Not tryna discourage you, by all means flash Win10 to the tablet, just letting you know it's functionally the same and even a little worse than 8.1
Click to expand...
Click to collapse
Hello,
Thanks for the good review of win 10 on RT. Was a question in my head from a long time. Any idea for Linux/postmarketOS on surface RT?
Thanks
vicky1982 said:
Hello,
Thanks for the good review of win 10 on RT. Was a question in my head from a long time. Any idea for Linux/postmarketOS on surface RT?
Thanks
Click to expand...
Click to collapse
On the surface RT 1, Linux has gotten pretty solid. Even Android is available. Better than Windows for a couple usecases.
On the Surface RT 2 however, I'd stay away. Still no hardware acceleration on the RT2. So everything is slow and choppy in Linux. Not to mention USB doesn't work unless it's externally powered, so if you want any peripherals to work you need a powered USB hub. And still no Android builds.
FoxyDrew said:
On the surface RT 1, Linux has gotten pretty solid. Even Android is available. Better than Windows for a couple usecases.
On the Surface RT 2 however, I'd stay away. Still no hardware acceleration on the RT2. So everything is slow and choppy in Linux. Not to mention USB doesn't work unless it's externally powered, so if you want any peripherals to work you need a powered USB hub. And still no Android builds.
Click to expand...
Click to collapse
Thanks for the reply. Can you please recommend any distro/build which is best in Linux for RT1. I can not find any link for Android, any guide for that.
Thanks
vicky1982 said:
Thanks for the reply. Can you please recommend any distro/build which is best in Linux for RT1. I can not find any link for Android, any guide for that.
Click to expand...
Click to collapse
vicky1982 said:
Thanks for the reply. Can you please recommend any distro/build which is best in Linux for RT1. I can not find any link for Android, any guide for that.
Thanks l
Click to expand...
Click to collapse
I tried to install Postmarketos, never used it before. When i click on Web browser, it says no default application. And I can not find any browser. Please help how to install any app or browser on Postmarketos. Or is there a better Linux os for surface RT1.
Thanks

Question Linux User Question

Hello Everyone,
It's been a couple devices since my last Galaxy. Previously had the 1+8Pro and the P3XL before that. When I had the SGS4 I had a Windows PC and Odin. Now I have a Linux box and know I now have to get Hiemdall. Any advice on version info and anything else that would be beneficial to have?
Current setup is Linux Mint with KDE desktop but I'm thinking it's time for a change.
Here I am still excited about Linux Mint.
Naturally, updated and equipped with the latest version of OS and applications.
When I discovered Android as an operating system in December, by delving into the smartphone a bit moreā€¦.instead of just using it, I noticed that Linux is very closely related to Android.
This means among other things, that Heimdall works fine, but I still found it very difficult to understand and requires a lot of study and patience. (maybe because I used older phones to learn)
You might be interested in taking a look at Wine... then you can make Linux and Windows work together.
Also is Linux very well capable of running a Virtual Machine.
Linux, which today bears strong resemblance to Ubuntu, does have excellent support for ADB and the other necessary programs.
Just some thoughts. Sincerely.
I went to a Linux environment for the simple reason of easier interaction with an Android device. Under Windows there was almost always some type of issue. From drivers to programs not working right. With Linux there's none of that. Makes looking for a "way in" easier, too.
I was hoping for an answer like "get version X from here" but since posting my question I've found a couple. The new device will be here today. I'll be doing a repo/compile from Git and reacquainting myself with Hiemdall.
FernBch said:
Hello Everyone,
It's been a couple devices since my last Galaxy. Previously had the 1+8Pro and the P3XL before that. When I had the SGS4 I had a Windows PC and Odin. Now I have a Linux box and know I now have to get Hiemdall. Any advice on version info and anything else that would be beneficial to have?
Current setup is Linux Mint with KDE desktop but I'm thinking it's time for a change.
Click to expand...
Click to collapse
Have you successfully used Hiemdall to root your S22 Ultra?
I have a carrier locked device and can't root. I repoed and compiled but haven't used it yet. I want to switch over to the U1 firmware.

PinePhone Questions

I've been trying to find out if this really is like having a desktop in my pocket. Can you really do things with this phone that you would normally need a desktop for, like rooting another phone? Or flashing firmware on an MP3 Player? Or rooting other Android devices like a tablet? If this is possible, please let me know.
It would be awesome to be able to get things like that done with a phone rather than carrying a laptop around our going back home to my desktop. Thank you in advance for any insight!
Seeing as it's running Linux, you could potentially use it for rooting another device, as the ADB Platform Tools are available for Linux.
V0latyle said:
Seeing as it's running Linux, you could potentially use it for rooting another device, as the ADB Platform Tools are available for Linux.
Click to expand...
Click to collapse
Thank you for the insight, man. Do you know of anyone who has one of these phones or a phone running pure Linux on it to confirm that it had USB functionality through OTG and that rooting actually works? Again, thanks in advance!

Categories

Resources