Dear Guys,
I have stummble across this tools on the net, UPX, and would like to hightlight it to the great community of XDA-developers. It's a high-performance executable packer for several different executable formats, exspecially arm/pe (ARM executables and DLLs running on WinCE).
This is a command-line tools but a GUL front-end call GUI4UPX is available here. I'm compressing the files on my Dopod 818 Pro and the result is exciting. I'm suggesting that ROMcookers can use this tools in their future version of customed ROM so that we can have more space for for stuff!
Note: Application running using .Net Framework WILL NOT work. Cheers
voided said:
Dear Guys,
I have stummble across this tools on the net, UPX, and would like to hightlight it to the great community of XDA-developers. It's a high-performance executable packer for several different executable formats, exspecially arm/pe (ARM executables and DLLs running on WinCE).
This is a command-line tools but a GUL front-end call GUI4UPX is available here. I'm compressing the files on my Dopod 818 Pro and the result is exciting. I'm suggesting that ROMcookers can use this tools in their future version of customed ROM so that we can have more space for for stuff!
Note: Application running using .Net Framework WILL NOT work. Cheers
Click to expand...
Click to collapse
After installing all my software (over and over again) I try to UPX as many files as I can. It really makes a difference in space
You could also drag all the .DLL and .EXE files to your PC and have them UPX-ed all at once. But mostly I do this when I have some spare time or need to wait a while. Great App!
do you know upx4ppc?
LordDeath said:
do you know upx4ppc?
Click to expand...
Click to collapse
Yeah! But didn't use it because it requires alot of resources on your PocketPC during Compression and it slower during the compression. We are not sure which version of UPX, upx4ppc is for also. As the lastest should always have the best Algo, it always use the Windows Version.
Cheers
One big difference is also that UPX on the PC allows you to select multiple files
Related
Hi Guys,
I have searched high and low for the answer to this one, so I thought I'd give up and ask you guys.
What I need is an Emulator for PPC that I can use on my computer to test downloaded programs before I instal them to my XDA.
The problems are:
Active sync appears to only work with visual .net development suit, which I dont have the money to buy.
Embeded visual C does run a nice emulator, but it wont connect to the active sync and thuse I cant install programmes. There did seem to be a solution in useing the folder option in the above programe to access a Virtual SD card on the computer (shared folder on my drive) but how do I access the programmes?
I would prefer to try these programmes out in a sand pit if I could.
But there doesnt seem to be away.
Please dont flame me if I have missed an earlier thread or some google search... I am new.. I am not worthy... I have no flame retardent underware...
Edy
I don't have an answer for you, (I also would like to do this also!), but I don't believe you will be able to get the eMbedded Emulator to run 'real' apps because these apps are compiled for a CPU target, (usually ARM) and the emulator only runs 8086 compiles.
The emulator is more to test your own source code and it compiles for 8086, and when you are ready, you compile your source for ARM, MIPS, to distribute.
If anyone knows of a Windows based emulator that runs ARM compiled programs, I would LOVE to know about it.
I seem to remember there was a Palm version where you could simply drag and drop programmes into it and test them. Would be nice if that were so for the PPC.
Still noone said life had to be perfect ;-)
Edy
Ya, I came from the Palm world, and they did have an emulator that would allow you to run Palm apps. It wasn’t the great emulation, but it usually was good enough to give you an idea if you even wanted to bother installing it on your ‘real’ device.
Well, maybe there is one for PPC and we just don’t know about it… Anyone???
There is no such an emulator and making it is extremely difficult. You'll have to completely emulate whole CPU, some hardware and write your own OS just for this "virtual" PocketPC. Noone has done this.
So the long and the short of this is I need visual .net to be able to run the MS emu... Any here doing that? If so can you tell me if it is possible to install other programs for testing, or will the emu only work with applications you are writing yourself?
There is no such an emulator and making it is extremely difficult. You'll have to completely emulate whole CPU, some hardware and write your own OS just for this "virtual" PocketPC. Noone has
Click to expand...
Click to collapse
no it's that that difficult at all sure it takes some time to do
if you look around for emulators many many platforms come as emulated on pc systems like ps2 all the way back to mame
i have a few friends who just made a whole emulation of the arm cpu on the pc not a pocketpc or windows ce emulator but just pure arm
Rudegar said:
i have a few friends who just made a whole emulation of the arm cpu on the pc not a pocketpc or windows ce emulator but just pure arm
Click to expand...
Click to collapse
Please, can you provide us with a link? I was very interested in such an emulation to test Xanadux stuff without being afraid to render the Himalaya into a brick
Matthias
they are making it because they are embedded software developers
and they are making a project where they are programming to the arm cpu i dont know if they would part with the code but mind you it's no
pocketpc emulator and i doubt it would even support a graphic display apart from text since they dont need it for the project
i'm sure there must be some emulators out there
i mean the stuff in embedded visual c++ and visual studio 2003 and 2005
even if it's not a true emulator then it comes kinda close
embedded visual c++ does have an emulator, but you cant sync it with active sync and therefore you can only test programs that you are developing yourself. There was a posted solution for this involving a null modem cable and two com ports. But my computer only has one com port :-(
Looks like you need to buy Visual Studio .net to get a fully working emulator that can sync with active x and thus test programs....
Hi there,
Somebody correct me if I'm wrong about this, but I don't think even getting the .NET framework working with Microsofts PPC 2003 emulator will work as a true emulator for the actual device.
I have the emulators for PPC and SmartPhones installed since we are developing applications for mobile (but mostly Java based) phones. So far with our initial test developments, you can only run your own developed applications or applications that are currently being developed and compiled for the emulators. Final compiled applications (for ARM/MIPS) are different from the compiled versions for the emulators and won't work with it. Being like this, the compiled version for the ARM processors will not work with the PPC emulator.
Well, that is just my comment...
Cheers,
Hey, I haven't tried it yet, but this sure sounds like what we have wanted...
http://msdn.microsoft.com/mobility/windowsmobile/downloads/emulatorpreview/default.aspx
Hey, I just tired it, (installing an ARM app) and it works. Cool!
How do I download that program. or can somebody upload please.
How do I download that program. or can somebody upload please
Click to expand...
Click to collapse
* Visit http://beta.microsoft.com,
* Login using your Passport account, or create one if you don't have one.
* Use Guest ID MSDEVICE to access the Community Preview website
You'll have to create a passport but that shouldn't be a real problem? I tried to upload it to the FTP using upload:upload but it won't let me send the file?
I have to say that this tool / App is one of the best you can find on the Web. I can now emulate the Pocket PC on my PC to trial games / apps first without messing up my XDA2i.
Thanks for the link guys well done!!
Lee
Upload it plz!
can u upload it somewhere? i am unable to download from the MS site!!!
PLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ.................
Re: Upload it plz!
studdocs said:
can u upload it somewhere? i am unable to download from the MS site!!!
PLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ.................
Click to expand...
Click to collapse
I assume you installed the Microsoft ActiveX component called "Microsoft File Transfer Manager" right?
It's the requestor that appears just before the download begins... Then press "transfer" to begin the transfer ..
I hope it works for you...
Rayan
It would be helpful if somebody could upload this program, I am having no success after many attempts to download.
Here you go: ftp://ftp.xda-developers.com/DeviceEmulator050419.msi
(better use a 'normal' FTP client to download)
Hello the community
I would like to know how to perform a soft reset (reboot) from a WM user interface. Of course there is a lot of external programs and utilities providing such the functionality also, but I guess there should be a mechanism built in WM.
I am sure there should be a DLL responsible for that, so probably there is also a way to execute this DLL?! Something like Windows’ rundll.exe?
My device is HTC p3600/Trinity with WM5, but I think it doesn’t make sense.
Your advice would be much appreciated,
Br, Alexey
dll mean dynamic linked libary
which pretty much mean it's a lib full of functions that
other apps call you cant normaly just call it's functions from
the GUI
yes, I know what DLL actually mean
And that’s why I made a guess about a possible way to run DLL similar to rundll.exe
I would prefer using something like reboot.exe, but if such a program isn’t provided along with standard WM, I don’t mind using workarounds like running DLL, if possible.
Anyway, my question was not about real nature of DLL but the way how to perform a reboot using standard functions of WM.
Check out the SDK documentation, MS might have made a direct api to achieve this through a direct rundll type action, but the easiest way is just to code a tiny app and launch it, eg
http://www.pocketpcdn.com/qa/softreset.html
VJEschaton will reset in a variety of fashions.
V
Thanks
Is there a way to compile such a tiny application without installing any huge C++ IDE? Something like command line compiler downloadable thru a simple ZIP file?
shkaff said:
Thanks
Is there a way to compile such a tiny application without installing any huge C++ IDE? Something like command line compiler downloadable thru a simple ZIP file?
Click to expand...
Click to collapse
The C# compiler is free and can produce WM executables. The only problem is that you must instruct it to use the .NET Compact Framework libraries instead of the normal ones. I readied a guide when the last OS was WM2003. I don't know if it is still working, but actually I have no reason to think it won't. Just choose the right subset of files.
Here is the link:
http://www.jargoncode.it/tips/netcfcompile-eng.htm
If you want a C++ compiler... I don't know.
Looking for a program to convert .JAR to .APK so I can install programs/games on G1
The progam/app at http://www.netmite.com/android/ automatically converts .JAr to apk, but only does so from the Web, and I've tried to direct its url option to a a .JAR I've web hosted and it doesn't do anything, doesn't download the file or anything.
The sites that it gives you to choice from under its menu option suck, and don't allow files to be uploaded, most of the files don't support touch screen and don't work well with the G1's front soft keys.
J2ME MIDP Explorer just needs an option to install/ convert from the sd card
I've got a bunch of Java midlets on my PC and I want to get them to my G1 or at least play around with them in the emulator.
Any ideas?
Thanks
Maybe this is in the wrong Forum? Mods any thought?
Thanks
Dalamak said:
Maybe this is in the wrong Forum? Mods any thought?
Thanks
Click to expand...
Click to collapse
You can't just convert a jar to an apk. It has to be compiled for android. Android's java library doesn't have all the swing stuff that's in normal java, so the app most likely would have to be re-written to work on android
JesusFreke said:
You can't just convert a jar to an apk. It has to be compiled for android. Android's java library doesn't have all the swing stuff that's in normal java, so the app most likely would have to be re-written to work on android
Click to expand...
Click to collapse
Pretty sure MIDlets (MIDP jars) don't use Swing or awt. They have a separate user interface api under javax.microedition.lcdui
As for converting MIDP programs to runnable APKs, there is certainly a way. Technically it isn't a conversion but the use of a wrapper around the unconverted MIDlet. This is the approach that Opera Mini for Android uses. More info:
http://labs.opera.com/news/2008/04/10/
From the same article:
"The only major task was to replace the AWT/Swing graphics backend of MicroEmulator with Android specific APIs."
Id quite like this to work with bloover, though the blue tooth support needs to be extended in the g1, headset only. I want to send files!!
JesusFreke said:
From the same article:
"The only major task was to replace the AWT/Swing graphics backend of MicroEmulator with Android specific APIs."
Click to expand...
Click to collapse
Right since MicroEmulator is a J2SE program, it uses Swing/awt classes. Since the heavy lifting of porting MicroEmulator to Android has already been completed, you don't have to worry about it. Theoretically, anyway.
Compiling MicroEmu for Android and running a Sudoku game:
http://microemu.blogspot.com/2008/11/running-java-me-applications-on-android.html
i try to use netmite to conver some jar file frome my web site
there is no garanty to aonverted java file work good in android but all of converted jar file all runing and then maybe it (work/crash/or slow)
Try UpOntek - jar to apk conversion service which includes optimization tips for your app.
veda_sticks said:
Id quite like this to work with bloover, though the blue tooth support needs to be extended in the g1, headset only. I want to send files!!
Click to expand...
Click to collapse
use the program blutooth file transfer
This is pretty much directed at Ivan since he seems to be the only experienced Wing cook left around here, but anyone else with knowledge can chime in.
How do you get newer 96DPI resources for the Wing...or any older phone?
6.1 builds like 21051 are floating around everywhere, but the resources are always 192DPI.
Can you convert them to 96, or just use 96 DPI resources from older builds?
They're everywhere, but due to 6.1 being "old" now, no one really posts it by itself now.
Easiest way is to get a kitchen from another QVGA device.
6.5 96DPI files, on the other hand, are much easier to come by.
Can't you just use a resource editor in combination with Photoshop batch conversion to quickly convert all of the resources?
I'd imagine that with a Photoshop script, you could run the entire thing since Photoshop script files can make calls to external applications. All you'd need is a resource editor with the proper command-line options. Alternatively, AutoIt or something similar would also work.
On that note, Anolis is a pretty advanced freeware resource editor. It should work on XP, Vista, Windows 7, and their 64-bit variants (with the exception of the very rare IA64 versions of Windows XP, not to be confused with the more popular AMD64, aka "x64").
Feel free to let me know if I'm off-base here.
I should also mention that Anolis features support "packages," which are basically tarballs of resources that are inserted into their respective files. There are multiple modes for working with the packages (such as "replace only resources that already exist" and so on), but that's for another thread. Just figured I'd mention it here in case anyone is interested.
Technically, you COULD make them yourself but that would be a lot of extra work... a LOT of extra work.
Hi Guys,
i have seen the solution in http://http://forum.xda-developers.com/showthread.php?t=1299134&highlight=developer+guide,but now i want to deploy it on my emulator.so i need to compiler the dll for x86.can i do this ? and now,i wont use some illegal API.so is this easy?
thank you!
There's no interop-unlock or full-unlock for the emulator, so your app will have extremely limited permissions. If that's acceptable, then yeah, you could try using the compiler that comes with the CE6 or CE7 Platform Builder downloads from Microsoft. I believe that will allow you to target x86. The actual platform builder is intended to build the entire OS, including the kernel and such, but it's quite capabile of compiling user-space DLLs too.
did anyone ever achieve such pleasure?
GoodDayToDie said:
There's no interop-unlock or full-unlock for the emulator, so your app will have extremely limited permissions. If that's acceptable, then yeah, you could try using the compiler that comes with the CE6 or CE7 Platform Builder downloads from Microsoft. I believe that will allow you to target x86. The actual platform builder is intended to build the entire OS, including the kernel and such, but it's quite capabile of compiling user-space DLLs too.
Click to expand...
Click to collapse
thank you! but did you ever test it?or can you give me some more detailed suggest?
I haven't personally tried (why test on the very limited emulator? I have a phone...) but other people have said it works using the cc.exe (C compiler) from the platform builder.