Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,563 Members 44,856 Now Online
XDA Developers Android and Mobile Development Forum

What's the real problem about linux on surface rt ?

Tip us?
 
graphsys
Old
#1  
Junior Member - OP
Thanks Meter 2
Posts: 9
Join Date: Jun 2009
Default What's the real problem about linux on surface rt ?

Hi,

I've buy from at lest one mont a surface rt, i've jailbreak it and install filezilla and notepad+++ so.... but i'd like anymore. Like many people i'd like to install a linux distribution on it but i dont really understand what is the problem...

I've know about:
Surface get a secure boot (EFI) and we can't disable the secure boot on surface RT caused windows need a valid key (?). I've read that linux got some distributions arm based (ubuntu, debian, fedora) and i think i've understand about ubuntu got a valid microsoft signature with a ssl provider that can bypass the useless verification... am i right?

So, if ubuntu (or another distro), got a valid sign for bypassing the limitation to due EFI why can't we normal install linux such like surface pro??

Best regards and sry for my bad english ^^'

----------------------------------------------
 
kitor
Old
#2  
kitor's Avatar
Senior Member
Thanks Meter 27
Posts: 147
Join Date: Apr 2007
Location: Wieluń
Some distros has keys to X86 UEFI. No one (other than Microsoft) has keys for ARM.
And (afair) due to some limitations of jailbreak we have no way to execute linux kernel.

This applies to any RT device.
PDAsite.pl administrator / editor
BTC: 18xC8fHdev86QnmXvGyDqn73uuVYYop6VN
 
southbird
Old
#3  
Senior Member
Thanks Meter 101
Posts: 249
Join Date: Feb 2010
Quote:
Originally Posted by kitor View Post
And (afair) due to some limitations of jailbreak we have no way to execute linux kernel.
Is this true for sure? I figured especially since we have driver-level access we could possibly tear down the Windows kernel in reverse and start execution of arbitrary code. But I might have missed something.

The bigger issue about trying to port Linux to any device without official Linux support is usually in getting the kernel to boot and then making the hardware itself useful after that. This usually means you have to work "blind" and rely on some kind of low-level serial output to monitor the kernel boot to see where it panics. Only after getting a successful kernel boot can you even begin to think about drivers for the display, touch screen, etc.

So the prerequisites to even beginning to port to e.g. a Surface would be to find some way to kick out Windows and start arbitrary execution, enable some kind of low-level serial debugging for the would-be kernel, and then tediously poke and prod until it can successfully start. I'm not sure anyone knows of a dependable way to get serial debugging information.

Embedded devices on the whole are a lot more finicky and a lot less tolerant than normal PCs, generally due to their proprietary nature requiring a lot of hardware knowledge to initialize everything properly. About the only thing we'd have going for us is that it's a Tegra chipset, so if you can get the underpinnings working, you can probably at least get the basics like video and USB working without too much trouble.



I think the biggest thing about it is like the rest of RT ... there's just not enough interest in those with the skills to even attempt this because this is such an extreme minority platform. I imagine a Surface RT would make an excellent little Linux tablet, but I'm not holding my breath.
 
kitor
Old
#4  
kitor's Avatar
Senior Member
Thanks Meter 27
Posts: 147
Join Date: Apr 2007
Location: Wieluń
Well, If somebody would write something like WinKExec, or HaRET (haret allowed to analyse gpios and memory on WinCE/WM devices) then things may be possible. I own XPS10, so quite different device (as it has Snapdragon CPU), but I have some (small) experience on porting Linux on ARM devices - some time ago I was able to get Linux working on Bsquare Maui: http://pdasite.pl/kitor/maui_linux/ (including hardware reverse engineering - tracking gpios using multimeter - this way i found hidden usb host )
PDAsite.pl administrator / editor
BTC: 18xC8fHdev86QnmXvGyDqn73uuVYYop6VN
The Following User Says Thank You to kitor For This Useful Post: [ Click to Expand ]
 
GoodDayToDie
Old
#5  
Recognized Developer
Thanks Meter 2645
Posts: 5,539
Join Date: Jan 2011
Location: Seattle
There's been talk of a WinKExec-like approach for months. Nobody has attempted it yet, though, or if they have they kept quiet about it.

One of the problems getting something like that working on RT is that it blocks kernel debugging, so you have to work pretty blindly. Then there's all the driver issues.
Win8/Windows RT projects:
List of desktop apps for hacked RT devices

WP8 projects:
Native Access WebServer and Libraries
WP8 Interop Unlocks
Storage Cleanup tool

WP7 projects:
XapHandler, Root Webserver, OEM Marketplace XAPs, Bookmarklets collection (Find On Page), Interop-unlock hacks.


Do not private message me with questions that should have been posted on the forum! Not only are you wasting your time - I'm not going to bother writing an answer to such a question for only one person - but I will probably block you from PMing me in the future as well.
 
skiman10
Old
#6  
skiman10's Avatar
Senior Member
Thanks Meter 25
Posts: 122
Join Date: Oct 2012

 
DONATE TO ME
What about getting android to boot on it? There's drivers and such for tegra 3. I think its possible to build and deploy if we can get a kernel exploit. Am I wrong?
 
irony_delerium
Old
#7  
Junior Member
Thanks Meter 22
Posts: 24
Join Date: Jan 2013
Location: Portland, OR
Android depends on Linux. If you can't get a Linux kernel booted, you won't be able to get Android to start up either.

Quote:
Originally Posted by skiman10 View Post
What about getting android to boot on it? There's drivers and such for tegra 3. I think its possible to build and deploy if we can get a kernel exploit. Am I wrong?
 
GoodDayToDie
Old
#8  
Recognized Developer
Thanks Meter 2645
Posts: 5,539
Join Date: Jan 2011
Location: Seattle
The kernel by itself would be *relatively* easy (translation: still quite hard, but we could probably do it if people cared enough). However, getting all the other hardware (you know, things like the touchscreen, WiFi, and such) would likely be difficult, and without all that, it's pretty useless as a tablet. This is true for both Android and "desktop" Linux.
Win8/Windows RT projects:
List of desktop apps for hacked RT devices

WP8 projects:
Native Access WebServer and Libraries
WP8 Interop Unlocks
Storage Cleanup tool

WP7 projects:
XapHandler, Root Webserver, OEM Marketplace XAPs, Bookmarklets collection (Find On Page), Interop-unlock hacks.


Do not private message me with questions that should have been posted on the forum! Not only are you wasting your time - I'm not going to bother writing an answer to such a question for only one person - but I will probably block you from PMing me in the future as well.
 
skiman10
Old
#9  
skiman10's Avatar
Senior Member
Thanks Meter 25
Posts: 122
Join Date: Oct 2012

 
DONATE TO ME
Where should I start to get a kernel to boot? I'm an android exploiter trying to dabble in Windows exploitation.

Sent from my HTC6500LVW using Tapatalk
 
GoodDayToDie
Old
#10  
Recognized Developer
Thanks Meter 2645
Posts: 5,539
Join Date: Jan 2011
Location: Seattle
Well, unless you think you can break Secure Boot, you should start by writing/porting a way to use the NT kernel to launch the Linux kernel. That probably means a lot of NT driver development stuff (done without the aid of a kernel debugger, just for extra fun).
Win8/Windows RT projects:
List of desktop apps for hacked RT devices

WP8 projects:
Native Access WebServer and Libraries
WP8 Interop Unlocks
Storage Cleanup tool

WP7 projects:
XapHandler, Root Webserver, OEM Marketplace XAPs, Bookmarklets collection (Find On Page), Interop-unlock hacks.


Do not private message me with questions that should have been posted on the forum! Not only are you wasting your time - I'm not going to bother writing an answer to such a question for only one person - but I will probably block you from PMing me in the future as well.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes