[app] putty suite 0.62 - Windows RT Development and Hacking

I'm not sure if we're supposed to start a new thread on every app we port, but attached is the entire putty suite (including pageant, which works great). I also fixed the printer issue ... if you use my script to generate .lib files, you'll want to open winspool .lib and rename the .dll to .drv.

For something like this, just go ahead an link it under the list thread; no need to start new threads for relatively straightforward ports.
I'm thinking that some of the really big projects (Java, Chromium, Mozilla, Python, etc.) may well be worth starting devoted threads (I've gotten maybe 40% of Chromium to build, but there's at least one chunk of assembly that will need to be re-written).
Thanks for the improved build, though! Linked.

Related

[Q] Latex Edition

People,
I don't know about you guys, but as an engineering student I use a lot Latex to produce documents (articles, presentation, reports, etc...). However seems that a good app to latex edition is lacking in the android world. The hard time to deal with a latex document is having a high number of files and sub-files, and need to be compiled in order to get the final result, a pdf ou dvi file.
Testing alternatives, I found that the compile part is easy, since, as done in the iOS, the best alternative to the 1GB program needed is a remote compilation in a server. Some schools have it, some web applications already use it, and even verbetex (the only LaTex app, besides its limitations) use this approach. For instance I leave you a great project, but a little bit stoped this days..
http://dev.latexlab.org/
The main limitations all the apps and web-service present is file manipulation and text editing. Neither can be good in both, wich is essential. The project I showed could be great if, besides google doc integration (allowing cooperation), I could easily manage the file as its possible in http://www.scribtex.com/. However, the best integration in file manager would be using dropbox, where easily one can add files from desktop, or web browser, editing in normal Latex tools, or in the fly in our tablet or webservice.
Besides a webservice seams a good alternative in desktop, android browser is still not so easy to use. So a dedicated interface, wich allows multiples tabs, to edit multiple files, syntax highlighting, files manipulation with integration and sincronization with dropbox, and some other text edition addons with the possible to online compilation in a remote server would be a very nice app for our android, and mostly for TF since it have a dock.
I don't have for now programming knowledge to promote this type of project. Figuring current available apps using dropbox, remote servers, and text manipulation, I assume necessary tools are available, so I let year a challenge to the brilliant guys in XDA, offering me to test, and when finished to buy it (if it would be a generic code editor for differente languages, allow dropbox and ftp integration, for sure that 10 bucks or more would be a good price for start).
Hope some one respond to my call!
I can think of another use for Latex..........
SORRY! HAD TO SAY IT!!!
I also happen to be a student who regularly use LaTeX for academic purposes. In my opinion, the best solution that exists now on the Transformer is using Vim for editing the tex files, and using sftp to upload it to a server and then ssh to compile it. The later parts can be put into one shell script, and can be executed within vim each time you want to compile the file that you are editing.
As to the editor itself, vim is exactly what I use on my regular laptop for LaTeX editing. I can hardly think of any editor better suited for the job (though some might suggest emacs, but that is another story). Someone has compiled vim for android and you can find it by googling "vim android". I have tried it myself and found it quite usable with the dock. You can even use the excellent vim-latex plugin to help you simplify the editing of latex files.
Vim is too hardcore for me I have it already setup, but not all latex guys like to do it in the terminal

[Q] Wanting to start creating homebrew applications.

Ok, so I have no experience of working with any type of coding of development except for Adobe Flash. I don't think that really counts though, nor help me here, but I want to start off by saying that I'm simply a 17 year old.
I want to start development of an app to edit the registry. For example, I got the idea for everytime you click a button on the app, it edits something on the registry. Of course, phones will have to be Interop-Unlocked (Which my Samsung Focus is).
So to get on topic, how may I start creating an app for Windows Phone to edit registry and etc.? As I said before, I really don't have much experience, but I would love to learn and help the community.
Thanks in advance.
Bump up....
Ok, basic first steps: do you have the WP7 SDK? You can get it for free, and you'll need it. It includes the tools to build and deploy apps (compilers and so forth).
The project you're talking about is a bit heavy for a first foray into app development, but you can give it a shot. One of the easier ways (for me, at least) to learn things is to look at what other people did, which in coding usually means looking at open source projects. There are a few open-source apps which access the registry.
For example, my MultiTaskToggle app (linked in my sig) works on Samsung and provides an example of how to read and write a specific registry value.
If you want to browse the registry at all, you'll need something different. This can be done, using COM to call native APIs. Look at the Homebrew library (used by the Webserver projects, among others) or WP7 Advanced Explorer (open source, code is on Codeplex). These types of project have two parts: managed (.NET code, typically in C#) that calls the COM interface, and native (C/C++, written using the Windows Mobile SDK) that implements the COM object.
You may want to do some research online to get started, either here on XDA-Devs (though I think most tutorials here assume at least basic knowledge) or elsewhere (even from MS directly) if you're really starting from scratch.

Developing Android apps using MoSync and HTML

I'd like to share a very easy way to rapidly create reasonably sophisticated android phone apps using a simple technique I've been working on. The short version: I'm importing complete HTML websites into an open source android IDE and compiling them into .apk's. The resulting apps look good and perform well.
Here's the basic technique:
1: Download and install the free MoSync SDK.
2:Open up your HTML editor and create a multipage website, scaled to phone screen dimensions. Feel free to include phone numbers, links and so on. compile and save it somewhere.
3: Go to the MoSync project folder you're working with, and replace the contents of the "LocalFiles" folder with the copied contents of your compiled website. Be sure to copy all the folders and files from your site over. Once you have done this, either reopen or refresh the conents of the folder in MoSync.
4. Connect your phone ( you can also run in emulation ) and locate it within MoSync, then compile and send the app over. It will install and launch.
... that's really about it. The only thing I've seen so far is that the over apk size can't be larger than 5MB's or so without the phone refusing to launch the app. Your mileage may vary, but this technique is great for folks like me that have solid HTML experience but are somewhat new to Android development and would like to create something simple but functional while they aquire the new Android skills. Hope this was helpful!

Experimental File: For Running Exe on the Surface RT

Mod edit: Not tested and not working, doesn't warrant a development release. Please let us know when you have tested and got it working. Till then - thread is being closed.
Doesn't work, there is no JRE on the Surface.
Pro tip: Java != JavaScript. There is *no* support for Java on the Surface without hacks. Once you do those hacks, there is no need for a special hack to run EXEs (unless they are non-ARM programs, and there are other hacks to run those).
The Dev is a pure.noob
Click to expand...
Click to collapse
.................................
This appears to be a program that was created to bypass execution restrictions placed on laptops distributed by the 'Department of Education and Training' of South Wales.
I have no reason to believe that the OP wrote this, nor that he has any idea what ARM even is. Honestly, I believe he posted it hoping that a few idiots would donate to his paypal.
Looking through the files:
The jar looks innocent enough, except for where it loads the .dll (it kills then restarts Explorer. Odd, yes, but that's hardly malicious in and of itself)
The .dll does a few suspect things like checking for a debugger and running processes under different (restricted?) tokens, and it has an awfully large number of functions in it for what it appears to do. It checks for a debugger, and if it's present skips a whole large block of code then triggers a breakpoint followed by exiting. I believe it's doing that in a vain attempt to thwart reverse engineering tactics.
Note that I haven't actually ran any of these, this is going purely off of decompilations for the JAR (which I can read quite well) and disassemblies for the .dll (My x86 assembly is a bit shaky at best)

[Q] Windows Phone 7 drivers help?

Hey, I wanted to know how to extract the driver files for an HTC Titan (WP7). When I use OSBuilder to dump all the packages, I get the drivers in this really weird format that I don't know how to open. There will be a folder named xxxxx.dll and inside the folder there will be files 0000, 0001, 0002, and 0003. None of these files have file extensions. Given the name of the folder, it stands to reason that somehow, the files inside can be compiled into the driver the folder is named after.
Can someone please help me figure out how to open the driver files? I need to write custom drivers for a project I am working on and I need to be able to use these and preferably decompile them.
A .dll is really the same as an executable. You could try renaming the dll to exe and it should run, but basically that file is a library of assets used by Windows, so your drivers are probably embedded somewhere within the dll itself. You can always try opening the files contained within inside notepad, or hex editor if you need a more precise instrument.
Thanks For Your Reply
syung said:
A .dll is really the same as an executable. You could try renaming the dll to exe and it should run, but basically that file is a library of assets used by Windows, so your drivers are probably embedded somewhere within the dll itself. You can always try opening the files contained within inside notepad, or hex editor if you need a more precise instrument.
Click to expand...
Click to collapse
Not quite what I had in mind but I did end up learning a little bit about the structure of the drivers, so thank you very much.
It was mostly unintelligible, but I was able to find some important file names and function calls, although I have no idea where these are located or how I can use them myself. At least it gives me something else to Google, and believe me, I appreciate that.
Ideally, I would like to be able to find/recreate the source code for the drivers so that I can edit them and I would like to know how to compile them/add them to a ROM so that they will actually run on a real phone.
Can anywhere tell me a place that I can find a guide or book or website, anything really? I've been at it for about three weeks now and I'm starting to think that either the information simply isn't there or that I've passed over it not realizing what it was.
Windows phones have never been extremely popular, so it is not surprising that material for it is limited. Your best bet would be to go into a brick and mortar bookstore and look for some windows phone development books, as I'm sure there is bound to be at least one book regarding development. Although it might not have exactly what you are looking for, it can give you a good starting point.
Paper Books on Custom ROMs???
syung said:
Windows phones have never been extremely popular, so it is not surprising that material for it is limited. Your best bet would be to go into a brick and mortar bookstore and look for some windows phone development books, as I'm sure there is bound to be at least one book regarding development. Although it might not have exactly what you are looking for, it can give you a good starting point.
Click to expand...
Click to collapse
Are there really any books published on working with rooted phones? I've seen a lot of development books, but never one in which the phone had been hacked for administrative rights. They are always written for the developer who will be using the stock ROM with no modifications, or so I thought...
They will probably not have the exact information you are looking for, but it can give you insight into how the OS was developed in the first place, thus giving possible clues as to where the files you require reside.
Thanks for all your help!
syung said:
They will probably not have the exact information you are looking for, but it can give you insight into how the OS was developed in the first place, thus giving possible clues as to where the files you require reside.
Click to expand...
Click to collapse
Perhaps. Thanks a lot for the idea. I'm going to go look into the fundamentals of the OS then.

Categories

Resources