yashsingh1/xdaforums huggingface dataset:
[Windows RT Development and Hacking] svenk919:
Anyone working on virtualisation that could run android properly or something similar to the newely released Windowsandroid program or bluestacks?
[Windows RT Development and Hacking] IAMLEGENDZ:
Hi, can you port virtualisation programs like qemu and virtualbox?

thank you.
[Windows RT Development and Hacking] netham45:
MPC and it's codecs use a lot of inline assembly that's quite difficult to port. I'm sure someone eventually will port a bunch of codecs over, but I don't think it'll happen for a while.

Bochs is already ported, though without networking support. x86 emulation is just too slow to be viable, it's largely just a waste of time.

I've also got a very buggy build of Mumble ported over to the tablet, I'm hoping to get the rest of it cleaned up today and tomorrow so I can post it.
[Windows RT Development and Hacking] svenk919:
Would ARM (for android) emulation run good on the tablet if someone made the software?
[Windows RT Development and Hacking] netham45:
So, user32.dll!NtUserWindowFromPoint is apparently corrupt, affecting ole32 (which handles a large portion of drag'n'drop), and a few Qt libraries.

Here's what mine has (As far as I can tell this is complete gibberish):

ldr r1,[r0,#4]
b NtUserThunkedMenuItemInfo (74FA3D30h)
lsls r0,r7,#4
?blx r8

Here's what it should be:

mov r12,#0x1015
svc #1
bx lr

Since we can't really edit user32.dll without causing untold issues to arise I decided to use cdb at the launch of the program and have it patch it:

cdb -pr -p <pid> -cf <script name>

Where the script contains

e user32.dll+0x23918 41 f2 15 0c 01 df 70 47
.detach
q

If someone could make something that paravirtualized it or something it could potentially work well, yea.
[Windows RT Development and Hacking] mamaich:
There is something strange on your device. Here is what I have (taken from visualstudio disasm of a memory of a running process):

NtUserWindowFromPoint:
76A33918 F241 0C15 mov r12,#0x1015
76A3391C DF01 svc #1
76A3391E 4770 bx lr

Everything is fine. Otherwise the whole OS would be unstable.

It is possible that the program you are trying to port garbles the memory somewhere.
[Windows RT Development and Hacking] netham45:
Can you md5 your user32.dll for me?

Edit: Looking into the actual file the code for that is right, but it's wrong when loaded into mumble.

Now I'm confused.

It's also correct in Miranda...

I'm continuiously seeing

47 C3 00 d7 44 ad 68 41

where I should be getting

41 f2 15 0c 01 df 70 47

but only in Mumble.

Any ideas?
[Windows RT Development and Hacking] Lumen_Melano:
The update did the trick. Not sure why that bunch wasn't updating automatically. Just want to say thanks to everyone that has put so much effort in so quickly. I'll be looking at giving some compiling a go when my desktop computer arrives.
[Windows RT Development and Hacking] mamaich:
Only that something is trashing these bytes. If they are already modified at the program entry point in the debugger - the fault is in some of the imported DLLs.
[Windows RT Development and Hacking] saiedbaran:
Can any one port this app

WindowsAndroid Socketeq

http://www.socketeq.com/

Can run android 4 on windows 8
[Windows RT Development and Hacking] domenukk:
Running the Open source Java-based IDEA IntelliJ as IDE some day would be totally awesome.

Along with a portet android SDK...

A man can dream.
[Windows RT Development and Hacking] lilstevie:
Seriously? it has been said several times, no source no port, period.
[Windows RT Development and Hacking] windowsrtc:
can anyone help to compile Final Burn Alpha (game emu)?

it seems to be ported already.but there is no exe.

http://neosource.1emu.net/forums/index.php?topic=2360.0

https://github.com/tmaul/FB-Alpha
[Windows RT Development and Hacking] fahdriyami:
GIMP is open source, could it be ported to ARM for the Surface?
[Windows RT Development and Hacking] fbbk:
Please port "VLC media player"!!! Everyone need this app to see movies and videos with all of media types an with subtitle.
[Windows RT Development and Hacking] l27_0_0_1:
Nice job porting all this software to RT, guys, I would really like to say thank you.

Also, monotorrent is really not working and I wanted to ask you, will it be difficult to port open-source torrent client called Halite(http://sourceforge.net/projects/halite/files/Halite/v 0.3.4/)? And yeah, while we all are still waiting for vlc to release a windows store app, it would be really cool if somebody ported something like mplayer.
[Windows RT Development and Hacking] goofball2k:
A VLC team is already working on doing this as part of kickstarter project.
[Windows RT Development and Hacking] phailyoor:
Desktop VLC >> Metro VLC
[Windows RT Development and Hacking] ssaaxx:
SharpDevelop

Open source .NET IDE: SharpDevelop

http://www.icsharpcode.net/opensource/sd/

It'd be interesting to see a real IDE working on Windows RT.
[Windows RT Development and Hacking] netham45:
SharpDevelop makes extensive use of WPF.
[Windows RT Development and Hacking] netham45:
Mumble had some hooks hidden off as static objects in a system that I thought I had completely disabled.

On that note, I should hopefully have a clean build of Mumble posted sometime today or tomorrow.

Edit: Double-post. Oops. Also, why's the button say 'EDIT / DELETE' if there's no option to actually delete a post?
[Windows RT Development and Hacking] winphoneviet:
I don't have much experience in compiling java but I think we can do some compiling for OpenJDK to make it run on Windows RT. Grap the OpenJDK at http://download.java.net/openjdk/jd...d/b24/openjdk-7u6-fcs-src-b24-28_aug_2012.zip

What do you think?
[Windows RT Development and Hacking] zoro25:
Fiddler may start, but it doesn't work.

Is a very big understatement. None of the features work lol, It doesn't work as a proxy for http no matter about https.
[Windows RT Development and Hacking] xanderkaiber:
This has pretty big potential : http://www.dailytut.com/windows/download-windowsandroid-socketeq-run-ics-windows.html

Havent seen the source yet as the socketeq website is dead... but its very fast on my x86 tablets
[Windows RT Development and Hacking] GoodDayToDie:
Hmm... yeah, it's not working so good; it gets caught on loading the scripting assembly. Probably fixable, but right now all it can do is turn the system proxy setting on or off.

With that said, Burp Suite runs under IKVM pretty well, and that *does* work, tested and verified with interception, modification, passive scanner, decoder, repeater, etc. Note that due to what appears to be an IKVM bug, entering the license key for the Pro version must be done by hand (a total PITA), but
[Windows RT Development and Hacking] schettj:
i posted a recompile of iperf 1.7 for RT here http://xdaforums.com/showthread.php?p=37346221#post37346221
[Windows RT Development and Hacking] GoodDayToDie:
Thanks schettj! There's also a fix for Fiddler, courtesy of ywpg: copy Microsoft.JScript.dll from \Windows\Microsoft.NET\Framework\v4.0.30319\ on a Win8 machine to the folder where Fiddler was extracted to. It works now! I'll update the first post.
[Windows RT Development and Hacking] fbbk:
I'm waiting for VLC app. Wish come soon! :D
[Windows RT Development and Hacking] kind3rgarten:
IDE

Has anyone ported an IDE? CodeBlocks is open source if anyone wants to try it with me.

http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows

http://visualgdb.com/tutorials/mingw/
[Windows RT Development and Hacking] GoodDayToDie:
This line is a problem. If the code doesn't compile in Visual Studio (or using MSVC directly), porting is currently difficult if not impossible. Has anybody gotten GCC to successfully target Win32/NT on ARM?
[Windows RT Development and Hacking] solice13:
I've been looking for a good IDE that'll run on RT for a while now as well. In my search I came across a few things:

Boxie - Multipurpose utility

Just runs as is

http://boxie.codeplex.com

DtPad - Text Editor

Runs as is, including the installer! Does give an error at startup, but doesn't seem to affect further usage.

http://dtpad.codeplex.com

BoxWorld - Sokoban clone

Bit ugly, but works well. Need to extract the files from the installer using 7-zip

http://boxworld.codeplex.com

Almost all IDEs are either C++ - which means I need to upgrade VS to a full version first (now express) - or use WPF (e.g. #Develop), or very complex and need a lot of effort (e.g. MonoDevelop)
[Windows RT Development and Hacking] solice13:
More apps that run as is:

Astrogrep - Search in files

Runs as is

http://sourceforge.net/projects/astrogrep/

Notepad Enhanced - simple tabbed editor

Need to extract the msi first. What I did was run CMD.EXE as administrator then in the download folder type:

msiexec /a "NE 9.5.8 English Install.msi"

Then install as usual. Won't make shortcuts in this mode though...

http://sourceforge.net/projects/notepadenhanced/

---------- Post added at 11:59 AM ---------- Previous post was at 11:53 AM ----------

QuickSharp seems promising! It almost works...

http://sourceforge.net/projects/quicksharp/

What I did was install on a Windows 8 Intel PC, then copied over the install to my Surface RT. Then in the QuickSharp folder edit the quicksharp.exe.config and add:

<startup>

<supportedRuntime version="v4.0.30319"/>

</startup>

After that it starts up just fine. However as soon as you open a document it fails because the Lexer (syntax highlighter) is still native x86 (SciLexer.dll). I'll look into recompiling that later; hopefully it isn't that hard. It's from the Scintilla project. There is also an SQLite native dll, but don't know where and when that's used and if it's a priority to replace that.
[Windows RT Development and Hacking] mchimney:
Hey, im not familiar at al with this RT tab, but with the jailbreak out is it possible to get the dropbox folder onto the desktop?
[Windows RT Development and Hacking] schettj:
The dropbox client (for linux) is open source, but the Windows client isn't - so its not likely to be easy to do.

There is a dropbox metro app:

https://blog.dropbox.com/2013/01/hello-windows-8-dropbox-is-here/
[Windows RT Development and Hacking] solice13:
Turns out the SQLite dll in QuickSharp is an optional component and can be disabled by editing it out of the .config. So all that's needed is a port of SciLexer.dll
[Windows RT Development and Hacking] solice13:
Well... ain't I a fool... Figured out how to get QuickSharp fully functioning...

Was looking through the code and some of it referenced SciLexer.dll and SciTE, which reminded me that there already is a SciTE port. Just dropped that SciLexer.dll into QuickSharp and now have a reasonably full-featured IDE running.

You need to change some configuration options; in Tools->Options->Tool Settings modify the COMPILE actions for .cs files to include framework v4.0.30319. I just modified v3.5 and changed the v3.5 in the path to v4.0.30319.

Then in Code Assist press "Manage" and add C:\Windows\Microsoft.Net\Framework\v4.0.30319\ folder to get code assist on standard .net classes. It's not awesome, but it works okayish.

You'll get the same DLL issues as mentioned earlier in this thread with some .NET DLLs are missing. I simply copied them over from an x86 Win8 install. But you can also use the approach as in CsBox, and use a custom settings file.

After that you should be able to compile and run stuff.
[Windows RT Development and Hacking] kind3rgarten:
GCC integration with Visual Studio

Yeah, I had noticed that, which is why I posted the second link on my post above yours.

http://visualgdb.com/

http://visualgdb.com/tutorials/mingw/

"Harness the power of the Visual Studio debugger when developing:

Embedded firmware (ARM, MSP430, PowerPC and more)"

"Full integration of GCC and GDB

Make Visual Studio projects for your GCC targets

Automatically import GNU make projects

Support Debug/Release configurations out-of-the-box

Save time with IntelliSense when developing embedded apps

Enjoy Visual Studio debugging experience while using GDB

Use the latest GCC with our pre-built embedded toolchains."

I'll mess around with this Thursday night if anyone wants to help. A Mumble server can be set up so that we can communicate efficiently if need be.

---------- Post added at 01:43 PM ---------- Previous post was at 01:41 PM ----------

Do any of these actually compile anything besides C#?

---------- Post added at 01:48 PM ---------- Previous post was at 01:43 PM ----------

There is a way to mount your SkyDrive in My Computer, maybe you could somhow link the SkyDrive to a DropBox. On the flipside, dropbox.com isn't too bad. You could just make a shortcut in IE for dropbox.com and never clear your IE cache/temp and always stay logged in.
[Windows RT Development and Hacking] GoodDayToDie:
Wow, thanks for the list of working .NET apps and the work-arounds that you found! I was about to suggest looking at the SciTE port for your missing DLL when you mentioned you'd found it. I'll update the lists.

My understanding is that Code::Blocks can work with VS, but doesn't appear to build on it. If that's mistaken, my bad; I've been busy for a few days with less time than usual to devote to porting. Please feel free to work on this yourself! I'd love to have a working MinGW build toochain on the tablet itself... lacking that, a cross-compiling GCC would be good too.
[Windows RT Development and Hacking] MinhBao92:
www.mediafire.com/?8m0gjn4lwmsuby9

Please help me compiling this application. It is Dcom-3G software which allows Vietnamese to connect to the Internet through the USB modem. Inside the .rar is a version for Windows and one for Linux. I cannot find the Open Source of them. Hope you could help.

And one more. Please recompile Yahoo! Messenger :D

Thank you.
[Windows RT Development and Hacking] netham45:
That's using kernel-mode drivers, we don't have those unlocked right now.
[Windows RT Development and Hacking] truffle1234:
outlook on surface

I know the outlook will only work on the pro surface... but I kind of miss it on surface and I am trying to get used to using imap protocol but I miss the POP3...
[Windows RT Development and Hacking] netham45:
Outlook won't happen, but thunderbird might.
[Windows RT Development and Hacking] windowsrtc:
http://winswitch.org/downloads/

this tool looks like "remoteapp"
[Windows RT Development and Hacking] Twistys:
Maybe we can get a compiled Bluestacks? ?
[Windows RT Development and Hacking] advancedservers:
This would be awesome.!!
[Windows RT Development and Hacking] dodgebizkit:
Great thread

-------------------------------------

Sent via something that can't finish it's sentan...
[Windows RT Development and Hacking] rheza02:
someone really need to create tutorial how to compile for arm. are you guys compiling from visual studio 2012 ?
[Windows RT Development and Hacking] ijwhelan:
Python 3.3

Anyone else looking to get Python 3 (interpreter and IDLE) running on RT?
[Windows RT Development and Hacking] wahwka:
you guys are awesome. Has anyone already looked into porting Tortoise SVN ? (preferably 1.6.16)
[Windows RT Development and Hacking] GoodDayToDie:
Ooookay... a few points here:

1: I am glad to see all the interest in desktop software for RT! Shows that MS really screwed up on tis decision.

2: Stop asking for ports of closed-source software (Outlook, etc.)! How exactly am I supposed to recompile Yahoo Messenger without source code?? That said, I'm looking into porting Pidgin or another one of the open source multi-network IM clients. Thunderbird is also a good idea.

3: Although I'll do what I can, people should really be offering ports more than asking for them. This is a developer site, folks! If you have to ask somebody else to go download some source code, change some compiler flags, and hit the "build" button for you... that's sad.

4: Yes, I'd love to play Minecraft on the Surface. Don't hold your breath, though; Java for Windows uses some assembly, which mean an actual port (vs. a simple recompilation) will be required.

5: I'll look into Tortoise as well. I'm not actually a fan of the Tortoise family of tools - I prefer to use command line version control - but those tend to expect a *nix-based compilation environment and Tortoise might not.

6: Speaking of which, if anybody can get cross-compiling from MinGW (or straight from within Linux, for that matter) to Windows RT working, that would be great! An awful lot of open source software that is nominally available for Windows doesn't actually build using the Visual Studio compiler.
[Windows RT Development and Hacking] MinhBao92:
Then you cannot recompile software without its source code. Maybe I'm asking a little too much. One more dumb question, can you recompile Linux apps? (It's noob of me to think of a chance like that could be possible) Because I have no chance to request source code from the publisher (I'm totally a noob and I don't get any idea about source code or anything like that). Could you please recompile the D-com 3G app that I've posted here http://www.mediafire.com/?8m0gjn4lwmsuby9 ???Thank you. That could be the only app left to make Surface (Windows 8 RT) great for us Vietnamese user.
[Windows RT Development and Hacking] lilstevie:
In experimenting with recompiling various .net software I have noticed that if it is that anything using WPF does not work, I have also started experimenting with writing my own .net software and coming up again with the same result. .net 4.5 + winforms applications are fine, .net4.5 + WPF is a no go
[Windows RT Development and Hacking] sirfergy:
What is the likelihood of DOSBox getting ported? I see there is a Visual Studio project for it, but it depends on SDL. Can SDL be compiled with Visual Studio?
[Windows RT Development and Hacking] rheza02:
I will try to compile application starting from this weekend, i still have two exam tomorrow. Wish me luck guys! you guys are awesome.

I know it's great to have 3g modem to use with your windows rt, the problem is you give us Installer. and It's impossible to make port from the Installer. Please just put request for open source program.
[Windows RT Development and Hacking] GoodDayToDie:
@ijwhelan: I'm working on Python 2.7 right now (all our scripts are 2.x based) but if I can get it working, I'll tackle 3.3 next.

No guarantees. The thing is a mess of stuff that is incompatible with RT, from inline assembly to forcibly disabling ASLR (dear god, and I was using this on my work PC? Blech!)

EDIT: Python (2.7 or 3.3) is going to take a lot of work. The FFI (Foreign Function Interface) library is full of assembly. While it has been ported to ARM (on Linux) before, and therefore probably could be again (on Windows), it's not a trivial undertaking.
[Windows RT Development and Hacking] GoodDayToDie:
@MinhBao92: Directly recompiling Linux apps, no. The problem there is twofold. First of all, the same problem as on normal x86/x64 Windows: the APIs are different between Windows and Linux (Windows uses Win32, Linux uses POSIX. Technically there's a POSIX subsystem in the NT kernel that actually can be used to recompile and run some Linux apps, but it's not widely used and is missing entirely in Windows RT). That means software written for Linux pretty much literally doesn't know how to talk to Windows for things like "open a file" or "create a thread". Second, there's the question of whether the software in question compiles under Visual Studio. Most Windows ports of Linux apps are actually built using GCC (the default compiler collection used on Linux) cross-compiling to Windows. While that works for the most part with x86, there's no guarantee it will work for ARM. I'll need to experiment and see whether I can persuade GCC to build Windows on ARM binaries.
[Windows RT Development and Hacking] roadrunner_ak_uk:
we need dosbox!

i second dosbox! :) & Scummvm would be great too :)
[Windows RT Development and Hacking] netham45:
I did recompile Bochs, which is capable of running Dos.
[Windows RT Development and Hacking] laughingmagi:
Any IDEs ported ?

Anyone know if there is a good Python or Ruby IDE that has been ported to the surface RT? I only see interpreters in the store and was looking for something that would actually let me get some code written on my commute.
[Windows RT Development and Hacking] schettj:
I have a working build of the mongodb server (I kid you not) for surface RT - but the mongo shell isn't compiling easily due to spidermonkey. So, um, not sure if anyone but me cares about running a nosql database server on their surface ;)
[Windows RT Development and Hacking] Casper0v:
Hey just wondering how hard it would be to port the Oregon Trail to RT. That's open source I believe, or at least there's an open source version of it called Oregon Trail Extreme. Thanks
[Windows RT Development and Hacking] mamaich:
As already answered - it is impossible to port non opensource programs at all.So pinbal would never be ported.
[Windows RT Development and Hacking] GoodDayToDie:
The Metro pinball is decent... just saying. I can understand wanting specific apps but until or unless the x86-apps-on-RT gets far enough, Space Cadet pinball isn't happening unless the original developer ports it. An open-source Oregon Trail app would be possible, but the difficulty could vary dramatically.

There are no Python or Ruby IDEs ported yet that I know of, but you can certainly edit the code using (G)Vim or Notepad++, then run it manually (well, for Python at least).

MongoDB would be kind of cool, I suppose, even if I can't think of an actual need for it right now. After all, it's web scale! (Search "MongoDB is web scale" if confused).
[Windows RT Development and Hacking] solice13:
I'd love to have MongoDB. Actually doing a few projects at work with that right now, and would love to be able to dev on RT for that.
[Windows RT Development and Hacking] schettj:
Right now the server runs just fine (mongodb.exe) but I can't get the mongo shell to build - using a client running on a different machine but connecting to the server on the surface does work, I was able to create a db and add some items. I'll try again today to build the shell, and post whatever I get working (or just the server exe) later today.
[Windows RT Development and Hacking] solice13:
I'm wondering if the Node.JS bindings will work out of the box though? That'd already be enough for my purposes.
[Windows RT Development and Hacking] 3a4yI7aTiY:
winbox

can some one port winbox for mikrotik on windows rt ??
[Windows RT Development and Hacking] netham45:
That's not open source, but their API interface is if you want to make your own client.
[Windows RT Development and Hacking] schettj:
Mongodb

Posted server here http://xdaforums.com/showthread.php?p=37475852#post37475852

Shell built but doesn't work (sigh) and I can't verify that RT node.js works with it (seems to, so try it I guess.)

I really need a lightweight web server with php :)
[Windows RT Development and Hacking] solice13:
Just a port of php would already suffice for most things since nowadays it has a lightweight webserver built in. But really something wamp-like would be awesome to have. Would love to be able to most of my dev work on the surface.
[Windows RT Development and Hacking] schettj:
I've taken a peek at building php... it's looking a little involved :) but probably worth it. I think the node.js port isn't quite working right, or the mongo connector/mongoose/etc break it. But the mongod server seems rock solid, I can connect to it from various clients off the surface and happily hammer away at it. At least until the surface goes to sleep :)
[Windows RT Development and Hacking] guitar1969:
We need a better Mail app

Seems like this is the most common grip about Surface. Are there any decent Open Source mail clients that could be ported?
[Windows RT Development and Hacking] GoodDayToDie:
@guitar1969: Thunderbird is probably the best bet. There are others, though. Kmail also compiles for Windows (via the KDE for Windows project) although it has a lot of dependencies on other KDE components. I'm not sure if Evolution runs on Windows. Most people would probably not consider (re(al(pine))) an improvement over the built-in client.
[Windows RT Development and Hacking] bartekxyz:
Tried portig ScummVM today but amount of errors during building is just too big.