[tool] dll-to-lib - Windows RT Development and Hacking

Hi all,
Now that we can build desktop applications on RT, I noticed that the x86_arm cross toolchain provided with VS2012 is missing a good number of lib files required for compiling applications. I wrote up this powershell script that will take a directory full of dlls as a parameter and convert them to .lib files... You'll need a working copy of VS2012 for this to work.
Hopefully someone finds this useful. Happy coding!

I updated the script to add explicit ordinals to the DEF file and also to correctly parse functions without an RVA (redirected functions)

updated to 1.2, fixes some files (like ws2_32) from duplicate ordinal error due to bad regex

no2chem said:
updated to 1.2, fixes some files (like ws2_32) from duplicate ordinal error due to bad regex
Click to expand...
Click to collapse
I am still seeing that error with 1.2 on ws2_32.
What am I doing wrong?
Code:
Procssing ws2_32.dll
Microsoft (R) Library Manager Version 11.00.50727.1
Copyright (C) Microsoft Corporation. All rights reserved.
ws2_32.def : fatal error LNK1121: duplicate ordinal number '2'

Here is a working set of LIB files I use:
http://www.multiupload.nl/3I0D27IG7Y
Decompress them to "C:\Program Files (x86)\Windows Kits\8.0\Lib\win8\um\arm\".

schettj said:
I am still seeing that error with 1.2 on ws2_32.
What am I doing wrong?
Code:
Procssing ws2_32.dll
Microsoft (R) Library Manager Version 11.00.50727.1
Copyright (C) Microsoft Corporation. All rights reserved.
ws2_32.def : fatal error LNK1121: duplicate ordinal number '2'
Click to expand...
Click to collapse
As a follow up, when this does happen on a dll I need, I just edit the intermediate file to remove the offending lines and the run the link step manually, which seems to work.

mamaich said:
Here is a working set of LIB files I use:
http://www.multiupload.nl/3I0D27IG7Y
Decompress them to "C:\Program Files (x86)\Windows Kits\8.0\Lib\win8\um\arm\".
Click to expand...
Click to collapse
I know this thread is a bit old, but I was wondering if these lib files are still available somewhere? I can't seem to access the multiupload link. it gives me an error saying the files are no longer available.
I would really appreciate a download link if anyone still has them.
Thank you!

I've still got them at home, but I'm on a business trip right now so I'll need to get home before I could upload them. Is there some reason you can't just re-rip the LIBs using dll2lib?

GoodDayToDie said:
I've still got them at home, but I'm on a business trip right now so I'll need to get home before I could upload them. Is there some reason you can't just re-rip the LIBs using dll2lib?
Click to expand...
Click to collapse
Thanks GoodDayToDie. I think I may actually be okay. I've since figured out how to make the lib files using the script in this thread. In the next few days, probably the weekend I'm really hoping to compile my first RT program!
I hope you travel home safely.

bridgeofstraws said:
Thanks GoodDayToDie. I think I may actually be okay. I've since figured out how to make the lib files using the script in this thread. In the next few days, probably the weekend I'm really hoping to compile my first RT program!
I hope you travel home safely.
Click to expand...
Click to collapse
Oh boy guess what this is:https://github.com/MakiseKurisu/WindowsRTLib

Would it be possible to use this for Windows 10 Iot Core on the Raspberry Pi? I want to start porting simple apps to make this OS feel a bit more like a desktop.

Related

Project: apk2

hi folks!
i'm not a developer but sometimes i do some scripting.Now i'm working on a project that called "APK2",and i think that could be useful!
Some months ago, I thought "why don't create a package manager and a package system to install real linux packages, and not just apps? I may want to install some command-line tools to run with terminal emulator" then I wrote this script, named apk2.sh, that installs some particular packages (I wrote another script to easily create this type of packages): he simply does the apt-like un-tar in /, but it installs a config directory too, to remove the installed packages.
It supports the preinst, postinst, prerm, postrm scripts too.
Tell me if it could be interesting, and I'll put it here.
If so, I need testers
If not, simply tell me, and I give up.
so could you be able to run like air crack through debian with this or?
olvap377 said:
so could you be able to run like air crack through debian with this or?
Click to expand...
Click to collapse
I could be able to run it on Android if someone can port all the libs to armv5e
I know, you have to do the porting in order to run it, but for example if there is the package for debian armv5 I think it should work if you take all the deps from the repo (may need some repacking, just to remove the CONTROL folder, and maybe to add the file needed to uninstall and various preinst, postinst etc. ).
And you don't need to run a debian or an ubuntu on Android, that's not really fast.
What do you think?
i think that this sounds really good and if it worked fully it would be a major addition to android development im hoping youll continue with this
olvap377 said:
i think that this sounds really good and if it worked fully it would be a major addition to android development im hoping youll continue with this
Click to expand...
Click to collapse
Thank you!
Any tester? I attach the scripts to now how apk2 works, just run it without any parameter, and it will show you
The other script it's simple to use, you just have to run it once to create in your home the basilar directory tree, you have to complete it and put the files in it, then you just have to put your preinst-postinst-prerm-postrm scripts in the ~/yourpackage/system/etc/apk2 directory, if you have some.
Then run the script again, insert the same package name, and here we are! The package is build! It's in the packagename directory in your home, in .apk2 and in .tar.gz, if you have to edit something do it on the tar.gz, and then change the extension in .apk2
PS: rename the files *.sh.txt into *.sh, because this forum doesn't allow .sh attachments...
xela92 said:
Thank you!
Any tester? I attach the scripts to now how apk2 works, just run it without any parameter, and it will show you
The other script it's simple to use, you just have to run it once to create in your home the basilar directory tree, you have to complete it and put the files in it, then you just have to put your preinst-postinst-prerm-postrm scripts in the ~/yourpackage/system/etc/apk2 directory, if you have some.
Then run the script again, insert the same package name, and here we are! The package is build! It's in the packagename directory in your home, in .apk2 and in .tar.gz, if you have to edit something do it on the tar.gz, and then change the extension in .apk2
PS: rename the files *.sh.txt into *.sh, because this forum doesn't allow .sh attachments...
Click to expand...
Click to collapse
in non-linux speak (layman's terms), what could i do with this...my interest is peaked
what are some "real linux packages" that one might want
tnpapadakos said:
in non-linux speak (layman's terms), what could i do with this...my interest is peaked
what are some "real linux packages" that one might want
Click to expand...
Click to collapse
i.e., the one olvap377 mentioned: air crack (I think it's possible).
or, we can run every app that does not need X server.
I created some demo packages (containing 2 scripts), one is SwapTools, and lets you enable/disable swap with 2 simple cmds (swap-enable and swap-disable); at the first run it collects some info, like the swappiness and the swap partition, then it saves the conf in a file (using swap-disable with --remove-conf will remove the conf file).
Another one I created is remount: you can remount your /system partition rw or ro just by typing on a terminal emulator
Code:
remount rw
or
Code:
remount ro
But you can try to use other appz compiled for armv5 processors, like all the debian apps, except for the one with GUI (we run on framebuffer, no X server :/ )
PS: I attach the pkgs, I added the .zip extension, just rename it in pkgname.apk2
Honest question: Why reinvent the wheel? Other embedded Linux projects have used ipkg to good effect, or its close relative opkg (refs from same link) which is used by Openmoko. A port of this to Android systems which have uClibc should be nearly trivial.
xela92 said:
i.e., the one olvap377 mentioned: air crack (I think it's possible).
or, we can run every app that does not need X server.
I created some demo packages (containing 2 scripts), one is SwapTools, and lets you enable/disable swap with 2 simple cmds (swap-enable and swap-disable); at the first run it collects some info, like the swappiness and the swap partition, then it saves the conf in a file (using swap-disable with --remove-conf will remove the conf file).
Another one I created is remount: you can remount your /system partition rw or ro just by typing on a terminal emulator
Code:
remount rw
or
Code:
remount ro
But you can try to use other appz compiled for armv5 processors, like all the debian apps, except for the one with GUI (we run on framebuffer, no X server :/ )
PS: I attach the pkgs, I added the .zip extension, just rename it in pkgname.apk2
Click to expand...
Click to collapse
thanks dude
olearyp said:
Honest question: Why reinvent the wheel? Other embedded Linux projects have used ipkg to good effect, or its close relative opkg (refs from same link) which is used by Openmoko. A port of this to Android systems which have uClibc should be nearly trivial.
Click to expand...
Click to collapse
I have also an Openmoko phone
I know very well ipkg/opkg, it could be interesting a porting, but I thought it was better to create a little lighter script to do it, because 1. a script that uses sh is usable in every system, you can either to install armv5e pkgs, or any armv* pkg, you have just to change some little things; 2. I don't know how to port, and I'm not able to do programming.
If you are interested and know how to do a porting, it could be very useful, because opkg has really lots of functions...
I just did what I could
xela92 said:
I have also an Openmoko phone
I know very well ipkg/opkg, it could be interesting a porting, but I thought it was better to create a little lighter script to do it, because 1. a script that uses sh is usable in every system, you can either to install armv5e pkgs, or any armv* pkg, you have just to change some little things; 2. I don't know how to port, and I'm not able to do programming.
If you are interested and know how to do a porting, it could be very useful, because opkg has really lots of functions...
I just did what I could
Click to expand...
Click to collapse
Ahh, okay, I see what you mean. Fair enough; I haven't seen your work so far, I was just concerned you were doing unneeded work. 'Course sometimes it's good to do that for the learning experience.
I don't have a full build setup for Android, so I can't recompile (I do have a full build setup for building Optware packages, but that's not quite the same), but I believe most custom ROMs ship uClibc. I'm not familiar enough with uClibc to know if you need to build against an exact version, though you could copy opkg from your Openmoko phone for the heck of it and see if it runs
olearyp said:
Ahh, okay, I see what you mean. Fair enough; I haven't seen your work so far, I was just concerned you were doing unneeded work. 'Course sometimes it's good to do that for the learning experience.
I don't have a full build setup for Android, so I can't recompile (I do have a full build setup for building Optware packages, but that's not quite the same), but I believe most custom ROMs ship uClibc. I'm not familiar enough with uClibc to know if you need to build against an exact version, though you could copy opkg from your Openmoko phone for the heck of it and see if it runs
Click to expand...
Click to collapse
Ya mean, copy the binary??? If so, it won't work of course, because the architecture of the openmoko processor is armv4t, it wouldn't see my binary
Nethertheless, if someone is interested
PS: please, could someone test my scripts? Thank you dudes
xela92 said:
Ya mean, copy the binary??? If so, it won't work of course, because the architecture of the openmoko processor is armv4t, it wouldn't see my binary
Nethertheless, if someone is interested
PS: please, could someone test my scripts? Thank you dudes
Click to expand...
Click to collapse
Heh, oh, older ARM core. Not paying attention. I will now stop hijacking your thread
olearyp said:
Heh, oh, older ARM core. Not paying attention. I will now stop hijacking your thread
Click to expand...
Click to collapse
No problem, man
No testers?
Please give me a feedback. If u want, I can make some apk2 by debs for armv5... Then I accept hints like "howto manage dependencies", 'cause I've no ideas...
"Tester"
xela92 said:
Please give me a feedback. If u want, I can make some apk2 by debs for armv5... Then I accept hints like "howto manage dependencies", 'cause I've no ideas...
Click to expand...
Click to collapse
Hi I have and HTC Hero from Sprint, I'm not a linux power user but I spent lots of time in my computer running Ubuntu just for 2 big reasons 1 freeware and 2 it has the best an simplest packet manager... I love deb files that installs like any .exe win programs I love that! I'm son not a coder and have little to no skills under Linux shell I use my sudo nautilus commands and so because I need it but I hate to untar or tar gz crap... for me that it old and useless some linux power user may get offended by that comment but hi times changes we love GUI... if you manage to post prints screens or a word open office or PDF documentation dummy proof I'm very up to be a Happy tester... the other thing I'm a Digital Graphic Designer if you need some design for a GUI and can try to help you in making and eye candy app...
Here it the way I will love to see grow this project... finding a way to installed it as an apk file like others in the android market so users can install the app easy then...in top of that a simple GUI to browse to the SD card in order to get the apk2 file... you where talking about not being able to run programs that has GUI that it is sad but still interesting but a lot of work to do without a good community because that means that all GUI may need to be re-design to the different resolution on the phones and be touch friendly...
I'm not sure if I'm helping at all but I love the big picture behind your project...
I'm porting opkg on Android, but i'm can't tell that's a trivial task )))
i also wrote simple howto "building and porting linux apps for android from scratch", but on russian. If needed i can do some translating and put here too.
Also may be we can open project for buildroot-like framework for android and opkg's repository. In my how-to i'm use crosstool-ng + gcc + uClibc.
XVilka said:
I'm porting opkg on Android, but i'm can't tell that's a trivial task )))
i also wrote simple howto "building and porting linux apps for android from scratch", but on russian. If needed i can do some translating and put here too.
Also may be we can open project for buildroot-like framework for android and opkg's repository. In my how-to i'm use crosstool-ng + gcc + uClibc.
Click to expand...
Click to collapse
Wow! Please do some translating!
But, when you finish the porting, how will you manage to port the packages?
Will you use the debian pkgs changing the extension? Would it work?
Thanks a lot!
No, we want to create only android repository of packages, based on opkg (ipkg)
for arm, mips and others platfofms.

[RELEASE] Metamorph - Theme Control File Upgrader

Stericson have a new Metamorph App.
It uses xml theme control files instead of the old thm files.
danation from the ModMyMoto forum has made a program, that updates the thm file to the new xml format.
It works very very well.
Please at all themers:
Use the Pro Version, use the new Metamorph with xml. Upgrade your Morphs with the xml files. Its not many work for you, but you can help us themers and users if you do this.
Download
http://www.4shared.com/file/5l0E6t76/ThemeControlFileUpgrader.html
Original Post at ModMyMotoForum
http://www.modmymoto.com/forums/showpost.php?p=3917253&postcount=10
Thanks, danation, thanks stericson! Great work!
Today, stericson has changed the free version to the new format, too!
Please upgrade your themes, themers!
So there are no chaos to the community!
I love it! thanks bro
I have noticed the themes are not working now... people need to update the themes they created... please??
Contact your theme developer.
I'm in the process of upgrading mine to the new XML format right now.
If the theme developer is no longer around you will have to either obtain and use a copy of the old metamorph app or use the conversion tool to convert the .thm into a .xml file before use.
After using the tool I can say it works, but I can think of a few ideas to make it easier. First of all, is there any CLI support? The GUI is a bit annoying. Also, the ability to drag+drop a .thm file right on the window and have it output the .xml converted file in the same directory would be just awesome.
All in all, Great work. It saves me from manually creating new .xml files for all my old .thm files.
this is a great tool that makes it super easy to change .thm files to xml. If only all the idiots on the market giving metamorph bad reviews could read this. Not hard to do it yourself if the theme dev is not around...
I don't really know, why themers out there have used the free version and didn't donate stericson for his hard work!
We know since three weeks, that the thm file become changed to the xml file
And now there is the chaos, because there are a lot of guys, who didn't read instructions.
Perhaps worth noting in the original post that this is an app for Windows. I assumed it was an Android app.
riddley said:
Perhaps worth noting in the original post that this is an app for Windows. I assumed it was an Android app.
Click to expand...
Click to collapse
Its a Java app wrapped in an exe container for windows.
The release .zip also contains the .jar file that can be run on any desktop OS.
Command:
java -jar ThemeControlFileUpgrader.jar
riddley said:
Perhaps worth noting in the original post that this is an app for Windows. I assumed it was an Android app.
Click to expand...
Click to collapse
I don't have said anything about an app. And if you have java installed at your home computer, theres no problem.
Or where do you see a problem?
P.S.: I have now 618 downloads of the themefilepatcher and everything is fine.
I think, danation has done a real good job!
Thanks for posting this thread, Formel-LMS
I have an update:
I would post a link, but how do I get this taken off, lol?
To prevent spam to the forums, new users are not permitted to post outside links in their messages. All new user accounts will be verified by moderators before this restriction is removed.
Click to expand...
Click to collapse
Anyway, you can find it at the original thread at M3, the link Formel-LMS posted in the original post.
-1.1-
* Fixed bug that always warned about duplicate files
* When errors are found, it finishes writing all valid data before terminating.
-1.0-
* Ignores single blank lines
* Captures notes after double blank lines
* Adds functionality to enter in header information
* Prevents file overwriting
* Puts framework at the bottom no matter where it is in the .thm file
mytharak said:
After using the tool I can say it works, but I can think of a few ideas to make it easier. First of all, is there any CLI support? The GUI is a bit annoying. Also, the ability to drag+drop a .thm file right on the window and have it output the .xml converted file in the same directory would be just awesome.
All in all, Great work. It saves me from manually creating new .xml files for all my old .thm files.
Click to expand...
Click to collapse
Drag and drop is a good idea. I haven't tried that with Java before. I'll see what I can do.
What is CLI support?
Danation said:
What is CLI support?
Click to expand...
Click to collapse
I think be means this.
If it accepted a file/path as an argument then you would not need drag-and-drop...just create a batch file that used %1 and you drag the .thm file on it.
Nice to see you here, danation.
Thank you very much for this great option and the support!!
You must write some posts to have the permission to attach some files. I don't know why, but at xda is it so I think.
britoso said:
I think be means this.
If it accepted a file/path as an argument then you would not need drag-and-drop...just create a batch file that used %1 and you drag the .thm file on it.
Click to expand...
Click to collapse
Oh, I see now. I'm not really planning on adding command line functionality, unless a lot of people really want it a lot.
But drag and drop sounded good, so I added it to 1.2
Version 1.2 can be found at the "original thread" link at the beginning of the thread.
-1.2-
* Drag and drop feature added (I borrowed some public domain code found at sourceforge) Tested on Windows 7 and Ubuntu. Should work on Mac and Kubuntu as well.
* Option to disable dialogs
Danation said:
Oh, I see now. I'm not really planning on adding command line functionality, unless a lot of people really want it a lot.
But drag and drop sounded good, so I added it to 1.2
Version 1.2 can be found at the "original thread" link at the beginning of the thread.
Click to expand...
Click to collapse
Could you post a non-forum link... I'm not registered at modmymoto so I cant download 1.2
britoso said:
Could you post a non-forum link... I'm not registered at modmymoto so I cant download 1.2
Click to expand...
Click to collapse
I keep trying, but XDA still gives me a message that I'm not verified by the forum moderators.
I attached it to this post, though.
(removed attachment, new version in post #20)
Thanks again, danation! Very cool!
Formel-LMS said:
Thanks again, danation! Very cool!
Click to expand...
Click to collapse
Happy to do what I can
____________________________________________
This is the final version, unless there are any bug fixes needed.
Included in the download is an executable JAR file that will work on any operating system that has the Java Runtime Environment installed (version 6 or later.) Windows, Mac, and most Linux Distros will be able to run this program.
An equivalent EXE file was also added for the convenience of Windows users.
Original download location at M3 is here.
The latest version is also attached to this post.
-1.3-
* Drag and drop directories - All .thm files in the directory and all subdirectories will be converted. Other files are ignored. You can convert all of your themes at the same time
-1.2-
* Drag and drop feature added (I borrowed some public domain code found here.) Tested on Windows 7 and Ubuntu. Should work on Mac and Kubuntu as well.
* Option to disable dialogs
-1.1-
* Fixed bug that always warned about duplicate files
* When errors are found, it finishes writing all valid data before terminating.
-1.0-
* Ignores single blank lines
* Captures notes after double blank lines
* Adds functionality to enter in header information
* Prevents file overwriting
* Puts framework at the bottom no matter where it is in the .thm file

AndroidSuite2012 - Team Scripthen

AndroidSuite 2012
Coded & Tested by:
Tom Dolan (Scriptr)
Joel Duncan (Slethen)
AndroidSuite 2012 what it does
Decodes and encodes Dex files
Decodes and encodes APK files(Previously bugged in APKManager)
Gives a console output
Whats to be added?
Experimental features (currently in testing)
Thread piority
Config editor
Help file
System requirements:
Windows (XP/Vista/7)
1024x768 monitor resolution
512MB free system memory
Java (JRE/JDK 6 prefered)
Android Suite 2012 by Team Scripthen
APKs:
Place the APKs in the directory \apk\
refresh the list,
select from the first list box which one you want to decode then hit
"decode selected" you can then edit the source in "decoded-apks".
to re-encode, refresh the list again, the select from the second list which directory
you'd like to encode hit "encode selected" once the progress bar has stopped you can
then safetly remove the APK from "encoded-apks" directory.
Dex:
place your .dex file in the directory "\repo\Dex" go to the main window and then hit
"Decode Dex", then you can click "Open OUT Directory" to view the source code.
Once finished with the source code you can then hit "Encode Dex" to reencode it to
"classes.dex" which will appear in programs root.
Experimental:
Version 99 they do not work.
However, when they do work, this shall be updated but you are to be careful and
take note it is not our fault if anything goes wrong, as these are critical these
will be throughly tested to ensure the correct configuration is used.
Experimental features added:
Apply update.zip;
Applies an update.zip to the device,
please note:
To apply the update, the archive needs to be in %PROGRAMROOT%\repo\
Reboot;
Send reboot signal to the phone
Boot to fast mode;
Reboot the phone to fast mode
boot.img;
This has NOT been fully tested!!!
To apply the new boot image put it in %PROGRAMROOT%\repo\
​It would be extremely helpful if you were to post bugs/errors on this topic so we can find them easier.
http://node2.scriptr.co.uk/Dev/AndroidSuite/
thanks,
Scriptr|Slethen=Scripthen
first of all, thank you for this, it looks great! However, I am unable to encode anything. I get a sound effect as soon as i click encode decoded directory and the progress bar moves at an incredibly slow pace. is it doing what it's supposed to do? I let it sit for 15 minutes and nothing ever happened.
How big is the apk? And whats your cpu speed?
the app size is 5mb and my cpu is an i5 clocked at 2.3ghz. the odd thing to me is that it doesn't seem to try to encode the apk at all. when the decode finishes, a chime goes off. that same chime sounds within half a second of my trying to encode the same app. The decode works perfectly though!
pokedroid said:
the app size is 5mb and my cpu is an i5 clocked at 2.3ghz. the odd thing to me is that it doesn't seem to try to encode the apk at all. when the decode finishes, a chime goes off. that same chime sounds within half a second of my trying to encode the same app. The decode works perfectly though!
Click to expand...
Click to collapse
Does the Console output give you any errors? or could you paste what the error is instead of clogging the chat.
What it sounds is that you dont have java recognised as a program. I will fix that when I log on Windows again.
please use pastie (google I cant use links yet) with the error so we can look into it.
-Tom.
pokedroid said:
the app size is 5mb and my cpu is an i5 clocked at 2.3ghz. the odd thing to me is that it doesn't seem to try to encode the apk at all. when the decode finishes, a chime goes off. that same chime sounds within half a second of my trying to encode the same app. The decode works perfectly though!
Click to expand...
Click to collapse
Updated, your problem might be fixed.
Might be an idea to state in the title or under system requirements whether this is for Linux or Winblows.
Hey, I just downloaded android suite, but seems that the zip is damaged.
The folders from the zip created, but no files and I get errors from winrar like this:
Unknown method in bin\apktool.jar
No files to extract.
I' ll try to download it again, but can you please check it?
EDIT:
Redownload it 5 times, same errors. Archive is damaged, shows that is 36,3MB, but need less than a second to complete download(which is wrong for sure).
unzip it with Winzip, winrar cant extract it.
dancer_69 said:
Hey, I just downloaded android suite, but seems that the zip is damaged.
The folders from the zip created, but no files and I get errors from winrar like this:
Unknown method in bin\apktool.jar
No files to extract.
I' ll try to download it again, but can you please check it?
EDIT:
Redownload it 5 times, same errors. Archive is damaged, shows that is 36,3MB, but need less than a second to complete download(which is wrong for sure).
Click to expand...
Click to collapse
I'll get right on it.
Must of been the compression method, also try with 7-zip.
Right, re-uploaded with 0 compression, the archive shouldnt cause trouble now.
I'm actually unable to even get the download to start. I get an error when I click the link from google saying they can't find the requested link. I've tried 5 times.
Somehow the link had been replaced by "*****"
Here's the direct URL:
http://node2.scriptr.co.uk/Dev/AndroidSuite/AndroidSuite-b112.zip
I will add a downloader soon so hopefully it will be more efficient.
I will integrate that in next release,
sorry for all the trouble so far.
Scribblezzz said:
Somehow the link had been replaced by "*****"
Here's the direct URL:
http://node2.scriptr.co.uk/Dev/AndroidSuite/AndroidSuite-b112.zip
I will add a downloader soon so hopefully it will be more efficient.
I will integrate that in next release,
sorry for all the trouble so far.
Click to expand...
Click to collapse
What exactly is in the archive that requires us to download 113mb? To decompile and recompile and apk all you need is:
Java - Already on my system
aapt.exe - Already on my system
apktool.jar - Already on my system
Command Prompt - Well duh, part of windows.
Could you provide screenshots of the application?
cornelha said:
What exactly is in the archive that requires us to download 113mb? To decompile and recompile and apk all you need is:
Java - Already on my system
aapt.exe - Already on my system
apktool.jar - Already on my system
Command Prompt - Well duh, part of windows.
Could you provide screenshots of the application?
Click to expand...
Click to collapse
It's got the Java binaries in the directory.
as some people dont have the "java.exe" patj, it fails to load it.
I will add some screenshots later, and I shall update it later, I just need to do more testing on Java findings...
personally I'm good to go. A simple scan with an anti-virus is all I need to ensure it's legit. I have a backup so I'll take the OP's word for it. Also, no need to apologize for "problems" IMO, I have no idea how to decompile/recompile or sign an apk so even if there are bugs, you're still doing me (and a lot of others) a favor. Thanks for all of the work you've put in so far!
Screenshot of AndroidSuite2012
so, every time I try to close the .exe, a web browser opens that takes me to ad.fly.... not sure what that's about. I don't know what the link was for, so I closed it and didn't click anything. Also, the utility still doesn't seem to be able to recode the apk. the error message I received is in a .txt file attached to the link below. I didn't want to post this whole thing inline.
http://www.box.com/s/yoaxly1na5mjqhjralca
sorry, double post
I see the problem..
I will start to work on the fix later today...
Also I will test better java detection reducing the archive about 70 or so megabytes...
Sorry for the bulk archive it was just a temporary solution...
Thank you again for posting error log.
-Scribblezzz.

[TOOL] Something to make BlobTools Easier to use

This tool is an interactive console application. It makes it easier to use blob tools. All you have to do is run it, choose to unpack or repack. If you choose repack it will ask you to enter the name for each of the required files. After that it will due the rest.
Notice: You either have to enter the full, have the blob file in the same directory/folder or have change changed directories to the location of the blob. For example: cd /path/to/blob's Dir/
Update: I have fixed the case sensitivity issue.
Note: The attachments below will always be the latest.
ostar2 said:
I created an application to make BlobTools easier to use. It is an interactive console application. I made this because I wanted to be of some help to the community. Well anyways, here it is...
Click to expand...
Click to collapse
Files are corrupt. Try again please.
Regards,
Brad
bradslinux said:
Files are corrupt. Try again please.
Regards,
Brad
Click to expand...
Click to collapse
Those were compressed with the LZMA algorithm. Here try these ones there compressed with the normal zip compression for windows.
Edit: To prevent confusion I have removed these attachments please download from The Original Post. Thanks.
ostar2 said:
Those were compressed with the LZMA algorithm. Here try these ones there compressed with the normal zip compression for windows.
Click to expand...
Click to collapse
That did it, thanks.
Nice work.
Regards,
Brad
welcome..
Excellent! Thank you - these will aid me greatly!
I like to be of help to the community so I am happy that this helps others.
Sourcecode and Update
As I am unable to compile for Linux or mac at the moment here is the sourcecode for this tool.
This uses a Code::Blocks IDE for its project/workspace. It can be compiled with just a c++ compiler. The icon is only available on windows as I do not know to implement it on macosx and Linux does not support icons in executables. also, I have updated this application as well the updated binarie zip files and source zip are attached. Enjoy!
Edit: To prevent confusion I have removed these attachments please download from The Original Post. Thanks.
ostar2 said:
As I am unable to compile for Linux or mac at the moment here is the sourcecode for this tool.
This uses a Code::Blocks IDE for its project/workspace. It can be compiled with just a c++ compiler. The icon is only available on windows as I do not know to implement it on macosx and Linux does not support icons in executables. also, I have updated this application as well the updated binarie zip files and source zip are attached. Enjoy!
Click to expand...
Click to collapse
I tried to unpack a blob and it kept failing with an Invalid Option! error. I hit u then typed blob which was in the same directory. I then manually dragged the blob onto the blobunpack.exe and it unpacked it fine.
Any ideas why?
sbdags said:
I tried to unpack a blob and it kept failing with an Invalid Option! error. I hit u then typed blob which was in the same directory. I then manually dragged the blob onto the blobunpack.exe and it unpacked it fine.
Any ideas why?
Click to expand...
Click to collapse
I was unsure of what extenstion the blob file had when I created this. What extenstion do they have? is it .blob? If so I think i can fix it.
Update: Fixed Not unpacking
Hello again I fixed the tool it should work fine now.
Edit: To prevent confusion I have removed these attachments please download from The Original Post. Thanks.
ostar2 said:
I was unsure of what extenstion the blob file had when I created this. What extenstion do they have? is it .blob? If so I think i can fix it.
Click to expand...
Click to collapse
The blobs usually have no extension at all, and the extracted parts have a dot and the partition name as their last part, but I would not call these "extensions" (even if Windows disagrees with me).
_that said:
The blobs usually have no extension at all, and the extracted parts have a dot and the partition name as their last part, but I would not call these "extensions" (even if Windows disagrees with me).
Click to expand...
Click to collapse
Thanks, that makes more sense. Also, I am thinking about having BlobTools print the command usage in more detail or at least a "--help" command displaying detailed usage of BlobTools. Like, how to unpack and repack.
[WIP] New tool
I am going to make gui version of this using wxwidgets and also maby consolidate the two tools into one and then combine it with GUI. That would make it much better.
still getting the "invalid option" message :/
arminneman said:
still getting the "invalid option" message :/
Click to expand...
Click to collapse
Please re-download from the original post. It should work fine. If not let me know.
Ok, its updated let me know if any problems occur.
ostar2 said:
Ok, its updated let me know if any problems occur.
Click to expand...
Click to collapse
I try it on win 7 64bit, run as administrator BlobToolUI select u and blob the name of file and give this error:
Unable to open "b"
Can You help me?
Thanks
Riccardo.
cipolippo said:
I try it on win 7 64bit, run as administrator BlobToolUI select u and blob the name of file and give this error:
Unable to open "b"
Can You help me?
Thanks
Riccardo.
Click to expand...
Click to collapse
Is the blob you want to unpack in the same directory? If that does not work try adding a "." the end of the file name.
ostar2 said:
Is the blob you want to unpack in the same directory? If that does not work try adding a "." the end of the file name.
Click to expand...
Click to collapse
Yes is in the same directory, adding a "." the end of the file does not work..
work if I rename file "blob" in also "b" ?
Thanks.

[APP] Subversion

All,
Please find the attached native Windows RT binaries for Subversion 1.8.0
Also feel free to give the binaries a try by checking out the following:
svn checkout http://windowsrtdev.googlecode.com/svn/trunk/ windowsrtdev-read-only
I'll try to keep the SVN repo up to date. I'm happy to take suggestions for a layout/tree structure to keep things easy to manage for my fellow XDA members!
Cheers!
EDIT: fixed missing binaries... sorry! please re-download 'rel2'.
That would be an incredibly useful tool to a software developer on RT. Nice one :good:
SixSixSevenSeven said:
That would be an incredibly useful tool to a software developer on RT. Nice one :good:
Click to expand...
Click to collapse
I'm hoping it can be more than that.
It would be nice to get to a point where we can maybe leverage svn as a software repo and provide easy access to app ports, libs, etc. Also would make getting updates much easier. If we could wrap this and the jailbreak with some batch/perl scripts we could have a completely functioning "app store" (so to speak) to help improve the access to Windows RT desktop apps.
Cheers!
Yeah I can definitely see svn contributing towards a "homebrew" store.
Hello, thanks for the port! We use subversion for several things at work, so this could be very useful. I haven't been able to get it to run though.
I extracted the archive (using Ark on linux instead of 7zip), and copied the files to C:\Bin\subversion_1.8.0_arm\
Running svnversion.exe I get an error "the program can't start because libapr-1.dll is missing...". So I renamed libapr.dll to libapr-1.dll. I then get a similar message "libaprutil-1.dll is missing...". Renamed libaptutil.dll to libaprutil-1.dll. Then I got a message that libapr.dll is missing, so I made a copy of the renamed libapr-1.dll back to libapr.dll. Then I get a very different message:
"The procedure entry point apt_atomic_xchgptr could not be located in the dynamic link library C:\Bin\subversion_1.8.0_arm\libsvn_subr-1.dll." This dll does exist in this location.
svn.exe gives an error "The procedure entry point apr_array_clear could not be located in the dynamic link library C:\Bin\subversion_1.8.0_arm\libsvn_fs-1.dll".
Other exes give other similar errors which I can copy down if it'd help. I figured svnversion.exe and svn.exe would be good examples.
I'm not sure what I'm doing wrong. I thought it'd be fairly straightforward, but maybe I'm missing something obvious.
Thanks!
domboy said:
Hello, thanks for the port! We use subversion for several things at work, so this could be very useful. I haven't been able to get it to run though.
I extracted the archive (using Ark on linux instead of 7zip), and copied the files to C:\Bin\subversion_1.8.0_arm\
Running svnversion.exe I get an error "the program can't start because libapr-1.dll is missing...". So I renamed libapr.dll to libapr-1.dll. I then get a similar message "libaprutil-1.dll is missing...". Renamed libaptutil.dll to libaprutil-1.dll. Then I got a message that libapr.dll is missing, so I made a copy of the renamed libapr-1.dll back to libapr.dll. Then I get a very different message:
"The procedure entry point apt_atomic_xchgptr could not be located in the dynamic link library C:\Bin\subversion_1.8.0_arm\libsvn_subr-1.dll." This dll does exist in this location.
svn.exe gives an error "The procedure entry point apr_array_clear could not be located in the dynamic link library C:\Bin\subversion_1.8.0_arm\libsvn_fs-1.dll".
Other exes give other similar errors which I can copy down if it'd help. I figured svnversion.exe and svn.exe would be good examples.
I'm not sure what I'm doing wrong. I thought it'd be fairly straightforward, but maybe I'm missing something obvious.
Thanks!
Click to expand...
Click to collapse
My bad. Download rel2.. should be fixed.
bfosterjr said:
My bad. Download rel2.. should be fixed.
Click to expand...
Click to collapse
Awesome, thanks for fixing it so quickly!

Categories

Resources