[Jbed] Adapt Mobile Jar files for Touch input - Android Apps and Games

mohammadN said:
In the name of Allah
hi there,
Jbed an app to running java mid-let on Android device.
installation:
download Jbed.apk from attachment and install it.
if last section not working for you,
download Jbed.zip and flash it with CWM!
I created a signed flash-able package for easy install it!
Tested on my wildfire and 100% working!
you can press on Thanks button and download it from attachment.
you can flash this package on all clockworkmod recovery version (2 and 3 and 4)
enjoy!
Note :
It isn't my own app!
please read my post carefully!
I only created Flashable package to easy to install this app for all
sorry for my bad English!
Screenshot added
some screenshot from a java app!
Click to expand...
Click to collapse
In the name of Allah, God and who is called Yahweh by the Jews, as written in Mark 3:35 and said by Jesus Christ "For whosoever shall do the will of God, the same is my brother, and my sister, and mother."
Hello brethen, after reading through the thread some people can not use your program due to the phone structure not having certain buttons. I then remembered a program I came across long ago, when I sinned in the past, stole, illegally downloaded java mobile games and used KEmulator Lite 0.9.8 to play them (Some games didn't work so I was thinking about getting a Java Phone and something that could change screen resolution of certain phones).
The program is called Java Adapter for Mobile 2.2 and works on Windows XP.
It was this that I remembered that the program could adapt Jar games that use numpad only to take input from touchscreen phones.
Download Link for Java Adapter for Mobile 2.2
Google Mediafire gizxiznnwrx or Java Adapter for Mobile 2.2
10 post rule
In fact I was playing around with the and remember seeing this, but I can't remember what I wrote a while ago...I log in and then I get logged out while making this post...I should copy before posting...Oh yeah this good for Android touchscreens that don't have numpads, keyboards or left/right keys.
This is a picture of configuring the touchscreen.
Google 2mcwtmr-500x500.jpg
...Sadly though I myself can not use this program because I don't have a computer with admin rights, but keep up your works
(Please build this into the app though also cause most phones are 320px by 480px, use the 260px left for an onscreen touch d-pad or numpad and also allow keyboard configure/input...also I've seen your homepage which allows me to choose Jbed for a certain OS, but I can't find it, Please post that unless Jbed works on all Android OSs)

I haven't Tested this
I haven't tested this so don't know whether it works or not, but if anyone test Java Adapter for Mobile, have mods stick it at the top or something that let it standout. Also possibly post what you adapted

Related

[REQUEST] Remote foobar

I would donate money to someone who made a remote app to foobar2000 for android.
Maybe there already is but I've searched a lot and cant find it =(
There is this http://www.hydrogenaudio.org/forums/index.php?showtopic=38114 control.dll wich handles some commands and the connection over tcp/ip.
But the rest I can't do on my own
I also would like a foobar remote. I've done the android tutorials on the sdk website but I'm by no means an experienced developer.
I thought I would base it around the android-vlc-remote interface.
Perhaps a google code project is a good idea?
I have written a remote controller for foobar2000 a while ago. It's not very beautiful, but at least it works. It's not a plugin for foobar though, it's a server program written in Java. It still just has the basic controls, but I'm about to make it good and release it after my exams (in a couple of weeks or so).
Try out foo_httpcontrol. Then there are a few templates that look good on the Android (I use the ones by KEVO).
I can't post a link, but here is the URL, but Google and there is a thread on Hydrogen Audio dot org
tberman333 said:
Try out foo_httpcontrol. Then there are a few templates that look good on the Android (I use the ones by KEVO).
I can't post a link, but here is the URL, but Google and there is a thread on Hydrogen Audio dot org
Click to expand...
Click to collapse
i am using that too , but do u have resolution problem, becoz it is designed for G1
beware, shameless self-plug follows:
i've written an app to control foobar2k over wifi. uses the foo_httpcontrol plugin to send commands/get data.
the website is: foodroid.net84.net (has the QR-Code). or simply search for "foodroid" in the market.
please note, if you already have foo-httpcontrol installed: you also need to have the "ajquery" template installed.
if you don't have it installed: i made a setup to install foo-httpcontrol including "ajquery".
it's currently in beta, but pretty useable IMHO.
cheers, bugramovic
bugramovic said:
beware, shameless self-plug follows:
i've written an app to control foobar2k over wifi. uses the foo_httpcontrol plugin to send commands/get data.
the website is: foodroid.net84.net (has the QR-Code). or simply search for "foodroid" in the market.
please note, if you already have foo-httpcontrol installed: you also need to have the "ajquery" template installed.
if you don't have it installed: i made a setup to install foo-httpcontrol including "ajquery".
it's currently in beta, but pretty useable IMHO.
cheers, bugramovic
Click to expand...
Click to collapse
Big thx!!! Need cover
Check this out, you might like it.
foobar2000controller.blogspot.com

[AIR]Making/Testing AIR on Eclair

Hey all.
Sony Ericsson have stated quite clearly.. "No Flash on X10". Despite being quite categorical, there is much more to the story... so sit back with a coffee, and allow me to explain;
{disclaimer: i've only had an Android smartphone (Nexus One) since about June, so my experience had been exclusively using Froyo until now}
As far as i'm aware, Flash-Lite ran on certain HTC devices with Android Eclair (2.1) but this was done thru the device's default browser using webkit's plugin permission.
Flash 10.1 on the other hand is designed to run on Froyo (2.2) using a more direct Google plugin to the browser. (possibly an API not reliant on webkit as default, thus allowing other browsers to gain plugin access)
Anyway.. Sony Ericsson, for whatever reason, hasn't included either of these methods in this Eclair release. Conspiracy theorists may point to the coming PSP-phone as one reason to omit Flash.. ie. free multiplayer web-games.
So anyway, that's the bad news! No browser-based Flash unless it gets hacked into X10 by someone, or the bootloader get cracked, etc etc.
Ok, now the good news;
Hardware performance isn't a factor, as X10's Arm7 CPU IS supported by Adobe Flash + Air when running Froyo, as it clearly states X10's compatibility on their developer page.
Even better news for flash aficionados;
Lucky for us, Adobe made an early version of Air (ie. Flash outside the browser) for Android which runs just fine on Eclair. Although it's no longer under development (hasn't been since June) it's therefore unsupported by Adobe, and missing the odd feature such as GPU acceleration.
However, my early tests show it runs pretty well, comparing it to my Nexus One at least.
There are some limitations such as only running newer Actionscript3, (and no multi-touch, ha-ha ;O) ..but i can still see a great opportunity promoting and supporting Air on the X10. More so since every Air app or game i've seen so far only runs on Froyo.
As i see it, there's now a distinct niche supporting Air for Eclair userbase, so i hope some of you will consider helping me to exploit it. I'm here to help however i can, like porting as much stuff as possible to run on our Eclair devices, and ask anyone who's interested to offer support such as testing, designing, coding, or whatever. (PM or post here if interested to help out) I also propose a unique identifier; 'EPX'. The meaning will become obvious later.
To kick things off, i've attached a splash image, the Air Runtime for Eclair, and a sample game to test it. Here are the details about the game;
-------------------------------------
- Called "Code Bummer" made by Jesse Freeman, Dan Wolfe, Sean McCracken. (renamed "Hobo" with new icon, and recompiled to run on Eclair)
- Source code; http://github.com/jessefreeman/codebummer (a very clean example of a flash game for Android!)
- Description; http://www.appbrain.com/app/code-bummer/air.com.gamecook.CodeBummer (members will notice it says "Your device has Android 2.1. However this app is for Android version 2.2 and higher")
- Performance Tip: I find that after starting the game, the responsiveness is a bit slow, so i press back button (out of the game) then reload back into the game, and performance is much more playable.
-------------------------------------
Enjoy!
[UPDATE]
Anyone interested in developing Air for Eclair apps or games (that will also work on the latest Air for Froyo runtime) should stick to ONLY using the June 3rd SDK here...
(AIR25_win_sdk_20100603.zip)
http://www.mediafire.com/?m19cetvay9xqx38
Or the June 3rd CS5 Air Extension here...
(AIRforAndroid_FlashCS5_060310.zxp)
http://www.mediafire.com/?22hewf5kg98u3sd
Both of ^these are for Windows developers only.
We are also looking for the existing Linux and Mac SDK's dated the 3rd of June. If you have one of these, then please let us know, so that we may share it with everyone who needs it.
Cheers!
hi
that`s really good news(?) for us
unfortunately I have no knowledge in these areas but no doubt that I make available to serve as guinea pigs (?)
just hope this idea don`t die young and devs who had the knowlage will help you on this
Air for Android Developer Links
Thanks. It's a big catchup being couple of years behind the java devs, but strength in numbers helps.
Useful links for anyone getting started with Air development on Android;
"Using AIR for Mobile Development" (slideshow) *new*
"How to Add a Splash Screen to Your Air for Android App"
"How to Import MovieClips into a Flash Builder ActionScript Project"
"Optimization Techniques for Air for Android Apps"
"Sample Employee Directory Application using Flex and AIR for Android"
Using The Accelerometer Sensor in ActionScript 3
...
All my knowledge goes to AS3 and that is it. No Java or anything else. But testing wise, I am all here to help.
Is it not possible to port the Plugin from 2.2 to 2.1 or to install HTC Browser?
great it works quite laggy but a great start!
cuddles100 said:
great it works quite laggy but a great start!
Click to expand...
Click to collapse
Glad to hear it.
If you follow the performance tip (written above in red) then it runs as smooth as the original 80's coin arcade classic that it's based on.
http://en.wikipedia.org/wiki/Frogger
Nimche said:
All my knowledge goes to AS3 and that is it. No Java or anything else. But testing wise, I am all here to help.
Click to expand...
Click to collapse
Ahh.. that type of "flash junkie" haha. I thought you meant flashing roms.
Anyway, Air on Android is pure AS3 development, unlike the desktop version which could run Html or Javascript seamlessly...
http://en.wikipedia.org/wiki/Adobe_Integrated_Runtime#JavaScript_frameworks
In fact, coming from Actionscript background, i was impressed enough with it's implementation to switch almost entirely to Javascript coding in the early versions of Adobe Air which were codenamed "Apollo".
So although the desktop version of AIR includes the WebKit HTML rendering engine, this is not supported in Air for Android. (i'm guessing the overhead of running webkit alongside AS3 engine was too heavy for general smartphone use)
However something called "StageWebView" appears to be supported, so i'll look into how that works.
Wolfbreak said:
Is it not possible to port the Plugin from 2.2 to 2.1 or to install HTC Browser?
Click to expand...
Click to collapse
An attempt was made...
http://forum.xda-developers.com/showpost.php?p=6569529&postcount=16
^That whole thread makes excellent reading if you're deep into webkit hacking!
Air for Eclair Source Code
Keeping to the same theme as Code Bummer.. here's a bitmap side-scroller sample by 'theflashbum'...
https://github.com/theflashbum/BitmapScroller/downloads
The size is 9mb cos it includes 29 images. The images are truely funny for any hardcore flash coders, but the side scrolling to way too jumpy to be of any use as is. (...unless you want a migrane as an excuse not to go to work today! lol)
I7redd said:
Glad to hear it.
If you follow the performance tip (written above in red) then it runs as smooth as the original 80's coin arcade classic that it's based on.
Click to expand...
Click to collapse
Didnt read that bit. lol. Yeh the lag pretty much disapears when u do that awesome!
cuddles100 said:
Didnt read that bit. lol. Yeh the lag pretty much disapears when u do that awesome!
Click to expand...
Click to collapse
Thanks for the confirmation. (tip now highlighted)
It does the same on my Nexus running Froyo, so not sure yet what's causing that to happen. We need a few more sample games to see if it happens on Air generally, but for now it's quick fix that works.
I7redd said:
Ahh.. that type of "flash junkie" haha. I thought you meant flashing roms.
Click to expand...
Click to collapse
I did mean both of them. Flash phone and development for AS3. Hope to make something out of this.
Cheers,
Edit> That was nice. OT, how do you pack an apk off flash?
> how do you back an apk off flash?
Not quite sure i understand.
To "back out of flash" means pressing hardware back button. The game suspends, so when you go in again (pressing game icon) it continues where you were, but also plays smoother.
To back up an apk can use normal backup app like Titanium.
I7redd said:
> how do you back an apk off flash?
Not quite sure i understand.
To "back out of flash" means pressing hardware back button. The game suspends, so when you go in again (pressing game icon) it continues where you were, but also plays smoother.
To back up an apk can use normal backup app like Titanium.
Click to expand...
Click to collapse
I fixed it 4 minutes before your post anyways I meant pack an apk. How do you turn air application into android app?
Nimche said:
...development for AS3. Hope to make something out of this.
Click to expand...
Click to collapse
Cool.
These XDA forums have developer sections, thou to me at least, they seems slanted towards rom development, not apps, so I thought i'd start off a topic about testing Air, and see how the response is.
If there are people who are also keen to develop using Air for Eclair, then i'm happy to help get them started, or organize a group project. Will see how it goes.
For myself, i'm using Flash Builder 4, so switching between Froyo or Eclair involves overcopying the respective SDKs in Flash Builder folder..
C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.A
For Froyo we use latest build [09/30/10] ...but for Eclair we have to use the older SDK dated the same as the Eclair Runtime [06/03/10] that i attached on the first post. I've uploaded (18mb zip) the older "Eclair SDK" for those who want to try compiling something...
http://www.mediafire.com/?m19cetvay9xqx38
Any issues, let me know.
Nimche said:
I fixed it 4 minutes before your post
Click to expand...
Click to collapse
Heh. I didn't reload the page before answering. (also a bit slow typing with a cat on my lap)
Nimche said:
How do you turn air application into android app?
Click to expand...
Click to collapse
After building your SWF file.. use (windows) dos command something like..
adt -package -target apk -storetype pkcs12 -keystore cert.p12 -storepass password my_app.apk my_app.xml my_app.swf
Quick way is to put ^that into a make.bat file.
Then put "adb install -r my_app.apk" into an install.bat file.
Then put "call make.bat & call install.bat" into a run.bat file.
Then double-click run.bat and it's all done in 1 step.
very good stuff! I will glady test stuff for you's
Sent from my X10i using XDA App
I7redd said:
After building your SWF file.. use (windows) dos command something like..
adt -package -target apk -storetype pkcs12 -keystore cert.p12 -storepass password my_app.apk my_app.xml my_app.swf
Quick way is to put ^that into a make.bat file.
Then put "adb install -r my_app.apk" into an install.bat file.
Then put "call make.bat & call install.bat" into a run.bat file.
Then double-click run.bat and it's all done in 1 step.
Click to expand...
Click to collapse
Cool sh*t. I will make some stuff for testing. Happy that AIR works here and I was going to be disappointed but now I have more purpose for using 2.1//

[Q] Java bluetooth problem on Windows mobile

Hello everyone!
I have a HTC Touch 2 with Windows Mobile 6.5. I have tried to run java applications on it, that use bluetooth.
At first I tried to run it with JBlend. I was able to install it, but as soon as I wanted to run the application,
the screen went blank white for a sec, and then jumped back to the menu.
After that I installed another program, called: Myriad Group Jbed.
This on wasn't able to run the application either, but at least it gave me an error.(see the picture below).
h!ttp://public.blu.livefilestore.com/y1pUXEgyu4VuINPV5B98OEprF-P50lSgy7PI1df5dm43_sYhY6ZgbO9QGA1gG6x47haH49f_zAtA
qWtmnJpXVU5Bw/HC_20101226_182726.jpg?psid=1
(Pick out the ! from the link. The ! is in the link because I haven't posted 8 comments jet that's why I can't post any links.)
I have read on this forum, in case of such error, I should take out the MIDlet-permissions line from MANIFEST.MF inside the jar file.
After I have done that, it installed the application nicely, but still wasn't able to run it. After attempting to run it I got yet another error
(see the second picture below)
h!ttp://public.blu.livefilestore.com/y1pUXEgyu4VuIMHP6MqqGI3z_izn_-7So8vqYq4JRRjvQdGmMlwzL-EBVnMI337JXQtqZcrApAQFBmpR--zHgJdVQ/HC_20101226_171951.jpg?psid=1
(Pick out the ! from the link. The ! is in the link because I haven't posted 8 comments jet that's why I can't post any links.)
This is not just happening to that one paricular program, it seems it occurs with every java applications that use bluetooth.
I had tried everything that came to my mind, please help me if you can.

[Release] RT Jailbreak Tool

RT Jailbreak Tool
By Netham45, Version 1.20
An all-in-one program to jailbreak Windows RT tablets using the method recently released by clrokr​
Usage
Boot your RT device and log in, allow it to sit on the desktop for about a minute.
Extract all files out of the latest version of the .ZIP attached to this post. To do this on Windows RT, right-click on the .zip, choose 'Extract all', and select the destination folder.
Run runExploit.bat. It'll prompt you to either install the jailbreak to run on login, uninstall it not to, or run the jailbreak once.
Choose an option and follow all subsequent prompts. They're all quite easy and self-explanatory.
FAQ
Q) What does this do, in layman's terms?
A) It allows non-Microsoft ARM-compiled .exes to run on the desktop. That is it.
Update (03/01/2013): The jailbreak now allows unsigned drivers to load.
Q) Can I use this to run Photoshop, Steam, AutoCAD, <Insert commercial product here>?
A) While it is -technically- possible for the companies to port their stuff over to Windows RT using the hack it is extremely unlikely. As a rule of thumb, if it's a commercial piece of software it won't run on the ARM.
Q) Can I use this to run PuTTY, VNC, X-Chat, <Insert open-source product here>?
A) Yes! Open-source programs are ones that you, having the source code, can recompile to work on the ARM. If it's not already available (A small but growing number of programs are) it's easy to get started. There are some useful threads in the Windows 8 Development and Hacking board on XDA-Developers.
Please note that not all programs can reasonably be ported over to ARM, due to either program complexity, overuse of inline assembly, or the current lack of a GNU Compiler
Q) Can I use this to run any random x86 app I find on the internet?
A) No. Apps must be recompiled for ARM. Stop asking why Chrome doesn't run.
Q) Can I use this to hack my Android tablet?
A) Not really. Most Android hacks require custom kernel-mode drivers (APX, Odin, ADB all require drivers that are unavailable), and this hack only allows us to run unsigned User-mode code.
If you don't know the difference between User-mode and Kernel-mode, I'm sure Wikipedia has a good article on the subject.
Q) Will Chrome/Firefox be ported over?
A) I don't see any major technical hurdles for those, but I probably won't be the one to do it.
Q) Are there any precompiled apps for this available?
A) Check out THIS THREAD for a list of all currently known compiled apps.
Q) I ran the jailbreak, now where can I download pirated apps from?
A) Nowhere. This jailbreak does not allow for pirated apps, and it is a long ways off from actually supporting pirated apps. If you manage to get pirated apps to run on Windows RT you will be doing the entire community a large disservice, along with ruining what credibility this hack may have in Microsoft's eyes.
Q) I don't know how to recompile code, can I get someone else to do it?
A) If it's a simple project you can likely find someone who will be more than happy to recompile it for you. If it's a large project with numerous dependencies, or a commercial project, I will be willing to take a look at it and quote a price to do it. (On that note, please realize that I am not affiliated with XDA-Developers at all.)
Q) I keep BSoD'ing! What's up?
A) I haven't managed to track down the cause of the BSoDs, except that they seem to happen when the exploit is ran within the first minute or so of the tablet booting and logging in. If you're getting BSoDs, boot your tablet to the desktop and wait 2 or 3 minutes before trying the exploit. Also, make sure that you're up to date with Windows Updates, as of 2/26/2013.
Q) I ran the .bat and it told me it couldn't find it's bin folder. What's wrong?
A) Extract the ZIP in entirety. Don't just open the ZIP and double-click on the runExploit.bat.
Q) It's not working! What do?
A) Post in this thread describing what you're doing and the issue you're having, do not PM me, even if you don't have the number of posts to post in the developer sections. I'll consider it spam and disregard it. Don't message me on Twitter either, the only place that I will provide support for this tool is in this thread.
Q) Is this persistent across reboots?
A) No, it resets every time the device reboots.
Q) Is this a tethered exploit?
A) No. Tethering is connecting the device to a computer, or other device to jailbreak it. This is done entirely on the device. It just has to be redone at reboot.
Q) Will this work with all the latest updates, as of 02/26/2013?
A) There was an updated .zip posted for the latest update (Patch Tuesday, Feburary 2013.) It should work.
Q) How do I compile apps for the Surface RT? It says I'm missing a bunch of .libs!
A) Visual Studio 2012 does not come with all the required ARM .libs for compiling most desktop apps. Please see THIS post by _peterdn for a useful utility for generating .libs and .exps from the .dlls on the tablet.
Q) Why would you want desktop apps? They suck for touch.
A) Mainly for the library of easily ported software, along with the things that metro apps just can't do. I agree, they're more inconvenient to use with touch, but that's the tradeoff for having a huge library of software. You also don't have to use desktop mode, the tablet still is quite good without it (Except the mail client). I also believe that since it's my device I should be able to do whatever I want with it, regardless of what MS says. Traditionally MS has leaned the same way with Windows, which makes it rather disappointing they chose to lock this platform down.
Q) Will this void my warranty?
A) Since it doesn't persist across reboots chances are the support center will never know, though it may be against the terms of your devices warranty.
Q) Is there any warranty for this program?
A) No express or implied warranty exists.
Q) Your hack caused the paint to chip off my tablet, the felt to peel off my type keyboard, the kickstand to fall off, and my tablet to display nothing but satanic messages while it's on! I want you to buy me a new one!
A) No it didn't, and see my warranty policy.
Q) Can Microsoft patch this?
A) Yes and no. They can patch it through Windows Update, but since we have the ability to reinstall from recovery partitions we can revert any Windows Updates they release.
Q) Will this allow people to run viruses on my tablet?
A) Yes and no, if something malicious is compiled and ran while jailbroken it could act like a virus, yes. Once you reset, though, it'll be gone.
Q) I came across a malicious RT application! Who do I tell?
A) If it's a jailbroken application then the most you can do is make a post informing about it. That's one downside to having unsigned code, there's no one regulating body who can decide what is and isn't available, and manage safety. If it's a store application then I suggest you contact Microsoft. If it's a Modern UI app that requires the jailbreak to run you still may have luck contacting Microsoft, as they can blacklist the developer's certificate.
Q) Can any random Store app do this?
A) No, this requires tools and privileges that Windows Store apps can't possess. The appcontainer model that MS uses is very strict and good at preventing things like this from happening. There's a number of things that flat-out aren't possible to do from a Store app that this uses, not to mention that it would get rejected by MS.
Q) Will I (The user) get my developer license banned?
A) It's possible, though I doubt that MS will do that.
Update: With the new payload (as of 1/18/2013) users no longer need to get their own developer certificate.
Q) Won't you (Netham45) get your developer license banned?
A) Time will tell, I knew the risk when I posted this. I suspect that their banning system is more geared towards piracy, though, which this doesn't really enable.
Update: With the new payload (as of 1/18/2013) my developer certificate is no longer required.
Q) I've got this great feature/idea for the jailbreak! Where can I tell you at?
A) Post it in this thread. Note that the area where we can script and such before the exploit is limited and restricted to pretty much batch scripts, and that I am under no obligation to implement a feature if you suggest it. And, seriously, do not PM me about it. If you don't have the prerequisite number of posts to post in the developer section then go get them.
Q) Can I throw money at you for writing the tool to automate this?
A) There's a donate link on the side of this post. (I'd love to get a Surface Pro. )
Q) Can I throw money at clrokr for documenting the exploit?
A) You'll have to talk to him about that.Here's his profile.
FAQ last updated 2/26/2013 10:17 PM MST
Thanks to clrokr for documenting the usage of the exploit, and to the numerous people who contributed positively in the [Q] Hacking Windows RT to Run Desktop Apps thread
Download is attached to this post.
Update log
Update 1.01(1/10/2013): Uncommented pause in the PS script to install the ModernUI app -- It was causing it not to prompt to install a developer license/my cert for some reason.
Update 1.02(1/10/2013): Fixed issue on non-English devices.
Update 1.03(1/11/2013): Fixed issue with usernames with spaces in them, fixed issue where the user running the jailbreak isn't the first user logged in
Update 1.1(1/18/2013): Redid functionality; it now gets the kernel base inside the payload, instead of requiring a Metro application. Added a startup folder that gets ran after jailbreak. Cleaned up output. Click for more info
Update 1.11(1/18/2013): Added commandline options, added a simple interface to handle creating scheduled tasks to run, added a powershell script to keep it from running if the system hasn't been up for two minutes, added missing startup folder, added sanity check so it doesn't freak out if the startup folder isn't there
Update 1.12(2/12/2013): Fixed the scheduled task to not require AC power to run, tweaked script to not crash on latest patches, Fixed startup folder not getting executed properly
Update 1.12a(2/12/2013): Fixed it to actually work on the latest updates. Oops.
Update 1.13(2/14/2013): Added the ability to dynamically get the signing level. It now requires internet on the first launch, and after an update changes ntoskrnl.exe. This version is slightly experimental, so if it doesn't work use one of the older versions.
Update 1.13a(2/15/2013): Tweaked the script to return from the hook in a way that seems more robust. If 1.12a or 1.13 work for you there's no need for an update.
Update 1.20(3/01/2013): Made the bat use registry keys instead of files in system32, added registry-based startup folder, altered payload to support unlocking kernel-mode code
Click here to download the latest version​
Older versions may be downloaded here
(Note: If you wish to mirror this post please retain a link to it at http://forum.xda-developers.com/showthread.php?t=2092158 so users can always get the latest version.)
Nice job! Good to have an all-in-one. Is this tool using the decrement by 0x80000 or trying the option of a slightly lesser decrement?
Also, it would be good to have a unified selection of RT-compiled desktop apps. I'm working on porting Pidgin (the Windows Store IM clients kind of suck...) but it's not easy; the "build under Windows" instructions boil down to "make your Windows system as Unix-y as possible, then build it there". There may be a way to target RT from GCC, but I am not aware of it.
EDIT: What I meant to say is, perhaps a thread linking all the various apps that people have built (preferably with links to their source, for those of us mildly paranoid types who like to see what other peoples' code is doing on our systems) would be a good idea.
GoodDayToDie said:
Nice job! Good to have an all-in-one. Is this tool using the decrement by 0x80000 or trying the option of a slightly lesser decrement?
Also, it would be good to have a unified selection of RT-compiled desktop apps. I'm working on porting Pidgin (the Windows Store IM clients kind of suck...) but it's not easy; the "build under Windows" instructions boil down to "make your Windows system as Unix-y as possible, then build it there". There may be a way to target RT from GCC, but I am not aware of it.
Click to expand...
Click to collapse
I'm decrementing by 0x7EFF0, it seems to not get the 0x18 bugcheck at all with that number. The one it gets if you run it too soon is a different bugcheck.
Install Fails
Brilliant!
I tried running it but it keeps going in an endless cycle because the Metro app fails to install.
Using a Surface with the latest patches from Microsoft.
merill said:
Brilliant!
I tried running it but it keeps going in an endless cycle because the Metro app fails to install.
Using a Surface with the latest patches from Microsoft.
Click to expand...
Click to collapse
Does it give you any error messages when it fails to install?
netham45 said:
Does it give you any error messages when it fails to install?
Click to expand...
Click to collapse
When installing the metro app, the installation fails because the certificate isn't added to the cert-store by default and the batch just tries again.
I uncommented the #Pause in PrintMessageAndExit to read the error message and that made it possible to choose to install the certificate, the powershell just closed otherwise.
After that the metro app installs fine, and tries to start it. I can see the app start, though the cmd still doesn't recognize it and tries to install it again...
I wrote my own metro app for that today and installed it instead of yours and it worked fine with mine.
My App is just this:
protected override void OnFileActivated(FileActivatedEventArgs args) {
WriteAddress((StorageFile)args.Files[0]);
}
private async void WriteAddress(StorageFile file) {
using (Stream s = await file.OpenStreamForWriteAsync()) {
using (StreamWriter wrt = new StreamWriter(s)) {
uint adr = GetKernelAddress.Address.Get() + 0x19FFBC;
await wrt.WriteAsync((adr & 255).ToString("X2") + " " + ((adr >> 8) & 255).ToString("X2") + " " + ((adr >> 16) & 255).ToString("X2") + " " + ((adr >> 24) & 255).ToString("X2"));
}
}
App.Current.Exit();
}
Click to expand...
Click to collapse
sebmaster16 said:
When installing the metro app, the installation fails because the certificate isn't added to the cert-store by default and the batch just tries again.
I uncommented the #Pause in PrintMessageAndExit to read the error message and that made it possible to choose to install the certificate, the powershell just closed otherwise.
After that the metro app installs fine, and tries to start it. I can see the app start, though the cmd still doesn't recognize it and tries to install it again...
Click to expand...
Click to collapse
Having the same issue, uncommenting the pause seems to fix it all for me. I'll update the zip in the top in just a second.
Edit: New zip with that uncommented uploaded.
Metro app failed to run. Trying to (re)install the metro app...
Found certificate: C:\Users\Merill\Downloads\RT_Jailbreak\bin\ModernUI_App\Get Kernel Base_1.0.
Before installing this package, you need to do the following:
- Install the signing certificate
Cannot invoke method. Method invocation is supported only on core types in this language mode.
At C:\Users\Merill\Downloads\RT_Jailbreak\bin\ModernUI_App\Add-AppDevPackage.ps1:497 char:9
+ $IsAlreadyElevated = ([Security.Principal.WindowsIdentity]::GetCurrent() ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: ) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MethodInvocationNotSupportedInConstrainedLanguage
merill said:
Metro app failed to run. Trying to (re)install the metro app...
Found certificate: C:\Users\Merill\Downloads\RT_Jailbreak\bin\ModernUI_App\Get Kernel Base_1.0.
Before installing this package, you need to do the following:
- Install the signing certificate
Cannot invoke method. Method invocation is supported only on core types in this language mode.
At C:\Users\Merill\Downloads\RT_Jailbreak\bin\ModernUI_App\Add-AppDevPackage.ps1:497 char:9
+ $IsAlreadyElevated = ([Security.Principal.WindowsIdentity]::GetCurrent() ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: ) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MethodInvocationNotSupportedInConstrainedLanguage
Click to expand...
Click to collapse
Try the new zip I just uploaded, I believe I fixed that.
Edit: I see what happened. The file that MS distributes has a signature at the bottom which allows it to make unrestricted system calls and when I commented out the pause I broke that.
Very Nice job! Thank you again!
Yahoo!!! Works. Have PuTTY running. Now to get all ARM compatible apps in one place!
merill said:
Yahoo!!! Works. Have PuTTY running. Now to get all ARM compatible apps in one place!
Click to expand...
Click to collapse
Glad to hear it's working.
Now, 6 AM, time to go to bed.
merill said:
Yahoo!!! Works. Have PuTTY running. Now to get all ARM compatible apps in one place!
Click to expand...
Click to collapse
I agree! If anyone gets Utorrent working ill be eternally greatful
Sent from my HTC One X using xda premium
vincepg13 said:
I agree! If anyone gets Utorrent working ill be eternally greatful
Click to expand...
Click to collapse
With 7Zip, Putty and an .Net 4.0 FTP Uploader app... all I need now is a Transmission console and I no longer really need my laptop.
Would be great to associate .torrent with Transmission on the Surface.
What other "needed" apps that are projects (like SourceForge) that people can think of?
MediaInfo would be handy... wonder if it could also integrate with explorer...
Perhaps this discussion needs its own thread
I'm actually starting a thread for this topic... but since we're here, one thing that would be awesome (instantly add support for a ton of software) would be a Java runtime. Unfortunately, they're huge and complex beasts, and tend to either require assembly or be buildable only on Linux (sometimes both...).
in asus vivo tab rt , I can not go where I say,
please press the volume down now
Silverlight ideally. But it sounds like thats a no go.
Also Chrome or Firefox would be good!
Filezilla would also be nice.
Nice work guys.
It works, but I still get the SmartScreen filter when I try to run apps from Explorer. When I run them from command line, it works fine.
I believe there's a registry entry that needs to be changed, but I don't remember what it is.
randomned said:
It works, but I still get the SmartScreen filter when I try to run apps from Explorer. When I run them from command line, it works fine.
I believe there's a registry entry that needs to be changed, but I don't remember what it is.
Click to expand...
Click to collapse
in the pop up, click more info then click 'run anyway' - itll never bother you again for that app.
will this work with the latest updates installed

Microsoft Surface RT - Mame Port

Dear all.
I have built the latest version of Mame for hacked Surface RTs.
First of all, I'm aware that this post should be on this http://forum.xda-developers.com/showthread.php?t=2092348 thread but I don't have enough posts. Perhaps someone could x-link...
There were some very basic changes to the source to enable it to build, most particularly around the lack of dinput on the Surface (keyboard and mouse still work fine nonetheless). Most of the work was building the compilation environment. Broadly:
(a) I followed the instructions at http://forum.xda-developers.com/showthread.php?t=2096820 to make a basic VS environment to cross-compile for the Surface target. Note that you will not need to go into the VS IDE for anything, the build is done entirely on the command line (but we are not ready for that just yet). Note also that I cannot remember whether had to change c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h so that the line:
#define _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE 0
read
#define _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE 1
but good to check nonetheless. It is, however, necessary to pull the dlls from a Surface and convert them to libs as described in that page. Also, I worked on a Windows 7 machine and that was OK (so Windows 8 for a build machine is not necessary).
(b) the most recent versions of Mame already come with options to build from Visual Studio, I followed the instructions at http://mamedev.org/tools/ - the easy way - to install mingw64-32 (this page describes building Mame using mingw - we are not doing this, we are just getting this part of the toolchain in place). I then followed the instructions at http://mamedev.org/devwiki/index.php?title=Building_MAME_using_Microsoft_Visual_Studio_compilers but the relevant configuration (for ARM cross-compilation) is: c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat x86_arm and not as stated on that page.
(c) Unfortunately, we can not just get the sources, patch them and make as Mame builds a number of tools in order to process various source files. These must run on the build machine (x86) and not the target machine (arm). The Mame makefile already has an option to do build these tools "make buildtools" so this must be run first to create the build tools natively. What results is not quite what is needed. Firstly, Mame builds the buildtools into a "obj/windows" folder whereas for a VS compile the tools need to be in a "obj/vwindows" folder. Secondly, it builds some tools that should be linked into the ARM executable rather than x86 compiled. This can be sorted by just copying all files in "obj/vwindows/build" to a new folder "obj/vwindows/build".
(d) As stated above, there are a couple of files that need minor patching. I have included these in the src folder in zip file linked below. These should be extracted in the same folder as the Mame source code 0.148 (which is available at http://www.mamedev.org/oldrel.html) such that it overwrites the relevant Mame sources (from Explorer you will probably have to change the default extract folder). The zip file includes the patched Mame sources so you don't need to download the sources or patch.
(e) To make the ARM executable the make recipe is as follows: "make MSVC_BUILD=1 CROSS_BUILD=1 NOWERROR=1 SUBTARGET=tiny". Note that the build does not like to operate from a folder that has a space in the path. Best to compile from "c:\surfacemame" or the like rather than "...My Documents".
To make this easier for everyone, I have prepared a batch file such that if you: (i) follow (a) and (b) above to create the build environment (mingw must be installed to "C:\mingw64-w32" and the relevant binaries should be in "C:\mingw64-w32\bin"); (ii) get and extract the Mame sources (from the zip or from mamedev.org); (iii) (if sources are downloaded from mamedev.org) patch the sources with the files in the zip "src" folder, you can then just double click go.bat (which must be in the same folder as the Mame makefile). Build takes about 20-30 mins on my machine.
The result will be a vmametiny.exe which can be copied to the surface to a folder with a "roms" folder in it with your roms. To get the mouse to work, vmametiny.exe will have to be run with the -mouse option. The easiest way to do this is (on the Surface) create a shortcut to the exe, then edit the properties of the shortcut to add " -mouse" (without quotes but with a space after vmametiny.exe).
To make this even easier, I have included the executable in the zip. To comply with the Mame licence, I have to include the patched sources as well (which is why the file is so large).
There is a catch. Try as I might I could not get the full Mame build to work - the Mame build process programatically creates a file driverlist.c which is then compiled and linked into the executable. For some reason this did not work for me (I tried a lot of different approaches). The tiny build of Mame does not fully use this process and so works. The catch is that the tiny build only supports a very limited subset of games, I have built on this substantially by editing the relevant files tiny.lst and tiny.mak to include loads of popular games but it is a slow process as the dependencies have to be worked on a game by game basis (note that some of the dependencies may not have been fully worked out so Mame could throw an error (somtimes with blank dialog boxes) so just click OK until the boxes disappear and the game runs). I will update the zip at some point so that it runs (say) the top 250 games. I would love it if someone would help with this tiny build problem...
Zip file is here ... EDIT: this version now outdated, see link later in thread
Finally, the speed of most of the games I tried was excellent (eg rtypeleo and smashruns at 100%). The big disappointment was Atari vector games that only run at 50% speed. I don't know why this is the case but perhaps someone could help with that too...
Have fun all.
BBUK
That looks great, do you have a list of compatable games and which version so i can test this?
Howdy
thereaperman said:
That looks great, do you have a list of compatable games and which version so i can test this?
Click to expand...
Click to collapse
The mame version is 0.148. The list of games is listed in src\mame\tiny.lst
Note that even though a game is listed there - and the rom is of the correct version, this version of Mame may complain that the rom is not correct. This is because there are multiple versions of the same game with different roms and I made an incorrect assumption as to how tiny.lst would work - as a result whether a correct rom will operate is a bit hit and miss.
I know, however, what's wrong and I will work on this.
BBUK said:
Howdy
The mame version is 0.148. The list of games is listed in src\mame\tiny.lst
Note that even though a game is listed there - and the rom is of the correct version, this version of Mame may complain that the rom is not correct. This is because there are multiple versions of the same game with different roms and I made an incorrect assumption as to how tiny.lst would work - as a result whether a correct rom will operate is a bit hit and miss.
I know, however, what's wrong and I will work on this.
Click to expand...
Click to collapse
Thanks I will get hold of some roms and give it a test
thanks
Thanks for your interest but I would hang fire on testing for a few hours until I have tested, packaged and uploaded a new version. I think I have solved the problem with the tiny build so I can now build the full version of Mame with the only problems I can see being:
(a) depressingly slow performance on Atari vector games (I will look at this next unless someone else volunteers); and
(b) the non-inclusion of 10 or so games from Electronic Devices and a few from Konami (the relevant CPU would not build as ARM).
(Background - the problem I was having had nothing to do with how Mame builds and everything to do with me stupidly putting a comment in the middle of a line).
A final note for someone contemplating a build, the executable will now be called vmame.exe (i.e. not vmametiny.exe as stated above), the make recipe should have SUBTARGET=mame rather than SUBTARGET=tiny and the build does not like running over multiple cores very much - just be aware of this if you are thinking of including a -jx on the make command line.
Rgds
Hi all.
Updated version now uploaded - this is now the full version of Mame. I have not tested it much but seems to be OK.
Link: http://www.mediafire.com/download.php?di5nm1zdhydld2c Edit: I had better performance from the version linked below but I have left this here in case anyone wold rather run Mame 0.148 rather than 0.145.
Enjoy - I would be grateful for any feedback on how well this works for you.
very good.all gamesI play get full fps.and its interesting to play 1944x by mouse.I tried the onscreen joystick written by netham45 but it doesnt work.
windowsrtc said:
very good.all gamesI play get full fps.and its interesting to play 1944x by mouse.I tried the onscreen joystick written by netham45 but it doesnt work.
Click to expand...
Click to collapse
why is it so difficult to port xinput on mame or FBA??? it would be awsome to play with xbox 360 pad
it is just a question.
thanks
pumaa said:
why is it so difficult to port xinput on mame or FBA??? it would be awsome to play with xbox 360 pad
it is just a question.
thanks
Click to expand...
Click to collapse
I think its easy for the game developers to port xinput.but I am not a programmer so its so difficult for me.
Hi all.
I have now got an acceptable level of performance from the Atari vector games through a combination of compiler optimisations, use of an earlier version of Mame and a Mame command line switch (-mt). The attached link is now based on Mame 0.145.
I have taken this as far as I am going to now I think. I have managed to get my joystick (a Nintendo Wavebird/Arduino Leonardo combo) working with the Surface and Mame and so I have achieved all I really need to...
Link:http://www.mediafire.com/download.php?xqc3co7p0xqqbzv
Have fun
BTW: If anyone is looking to get a non-Xbox controller working with the Surface, consider presenting the device as an absolute mouse - it worked for me (both in Mame and in the Desktop). In Mame, an absolute mouse appears as a lightgun.
pumaa said:
why is it so difficult to port xinput on mame or FBA??? it would be awsome to play with xbox 360 pad
it is just a question.
thanks
Click to expand...
Click to collapse
because XInput is for .NET and MAME isnt a .NET application maybe. Probably a way of doing it but seeming as xbox controllers also work on DirectInput fine it doesnt matter.
thanks for the answer!!!
but how do you make it work, the controller 360 on surface rt???
the program doesn't reconize it!!
thanks for the good job
Hi there
pumaa said:
thanks for the answer!!!
but how do you make it work, the controller 360 on surface rt???
the program doesn't reconize it!!
thanks for the good job
Click to expand...
Click to collapse
If the joystick is recognised by the RT, I see no reason why it should not work in MAME.
Have you configured MAME to recognise the joystick? If not, read the documentation but broadly you will need to put "-joystick" or (possibly) "-lightgun" on the command line and once in MAME in the settings "Configure General Inputs", select the joystick as the analog input device (select "Player 1 controls" scroll down to "AD Stick Analog X", press enter and move the joystick left and right, do the same for "AD Stick Analog Y" - but move the joystick up and down). If that works you can do the same with the joystick buttons.
As I don't have an XBOX controller to try this with, please post back if this works for you.
BBUK
Hi thanks for the answer.
Can you be more specific. I read the instructions but in wich files do i need to write the command line.
In the default.cfg files ??
can you explain me more please.
Thanks
See the first post about creating a shortcut. After "-mouse" add "-joystick -lightgun" (without quotes).
This is detailed in the Mame documentation which is included in my zipfiles.
ok i will try right now
thanks
edit:
so i try to add -mouse - joystick and the other but it doesn't do anything . my xbox 360 and also my logitech are mot recognize
Did you also go into MAME and "Configure General Inputs" as I asked?
PLEASE read the MAME documentation - all this is in there.
yes i did it but doesn't seems to work.
its a pity because its a really good program.
i also read the config. anyway i hope one day it will be more simple to add controller
thanks
I think xbox360 joystick works only in xinput mode.but the current mame rt only works in rawinput (any hid device)mode.so it may not work.
ok thanks for the answer
so i will not use this program. i really want to use my xbox cntroller.

Categories

Resources