How to view documents using Visual Studio

View documents in Visual Studio with an amazing tool

Xpath Axes

A very useful trick for automation

Review: Spire.DataExport for .NET

A great tool for exporting data in .NET

How to install Arch Linux, step by step, for VMware Workstation (Part I)

First part of a installation tutorial for this beloved OS

How to setup a local repository in Ubuntu

The steps to have a local repo in Ubuntu

Sunday, December 30, 2012

Hackulous Shuts Down Both Installous & AppSync (Bad news for jailbreakers)

This is kind of bad news for jailbreakers and users of iOS in general.  As most of you already know, Installous is an application for iOS that allows us users to install cracked apps into our iDevices directly from the device itself.  In order to do this, it is necessary to have another app installed, for the device to recognize the cracked apps.  This is AppSync.  Unfortunately, the Hackulous team has announced that they are quitting on their useful apps.  You can see it here, in the Hackulous official site. 

It is a shame, but I´m sure there are other ways to enjoy free apps in the iDevices (although I didn't do any research about it yet).  I'll be posting about it.

Friday, December 28, 2012

Create a virtual machine for Backtrack (live cd)

Backtrack is a very useful distribution of Linux.  It comes with some very interesting security tools, so it can be used for network monitoring.

One thing I was missing: I think it's better to have Backtrack running on a virtual machine because you can follow instructions and stuff at the same time in you regular computer, but it works with a real machine as well.

Just in case, leave all the values by default unless I say to change something.

Requirements:

VMware workstation 9.

Backtrack iso.

Steps:

1. Open VMware workstation
2. Click on "Create a New Virtual Machine"
3. Select Typical and click Next
4. Select "I will install the operative system later"
5. Select Linux, and in Version select Ubuntu.
6. Type a name for the virtual machine.  My advice is that you use something else than the default name.  After some time, it is difficult to remember which VM has the features you need at the moment.  So, call it, for example, BACKTTRACK01.  In location, select any location you want.  Just take into account that a VM can be very big, so you need to measure your disk space.  I recommend to create a special folder for each VM.

7. Change Maximum disk size to 10 GB.
8. Select "Store virtual disk as a single file".
9. Click Next.
10. Click Finish.
11. Go to VM>Settings

12. Select CD/DVD (IDE) and select "Use ISO image file:"

13. Click Browse and select the Backtrack ISO you already have (I hope).
14. Once you have the Backtrack ISO selected, press Ok.
15. Now turn on the virtual machine.
16. When you see a text like the image below, just press Enter.
17. Select the first option and press Enter.

18. Now, the system will load a lot of things.  When it finishes, it looks like the image below.  Now, you have a command prompt.  Type:
startx
Now, press Enter.

19. That's it! You have Backtrack running as live CD.  It is not completely installed in the virtual hard disk yet, but this is enough to use it and have a lot of fun.

Friday, December 21, 2012

VMware Workstation 9

I never thought much about virtualization until I started working with it.  Then I realized that I could've made the most of a lot of situations with a virtual machine.  VMware Workstation does that: create and maintain virtual machines.

A virtual machine is nothing more than an emulation of a computer inside a real computer.  For example, if you want to run some app and it doesn't run on your brand new Windows 8 OS, you could set a Windows XP VM (Virtual Machine) and just enjoy.  There are thousands of uses for VMs, especially for software testers.  Use your imagination.  It won’t be so hard.

Download a free trial here.

Wednesday, December 19, 2012

Root Xperia Ray ST18i


Requirements:

Flash Tool (around 100MB)

Kernels from last Xperia Ray: This kernel is from a previous version.  What we’re gonna do is:

1. Downgrade kernel version
2. Root the phone
3. Update to the current Kernel version

The Kernel can be found looking for these words in Google: st18_4.1.a.0.562_kernel.ftf

Then, you need to download the latest version of your firmware. You can find it on Google.

Files for rooting process: These files are needed to do the root itself.  You can find them here.

Procedure:

Ok, just follow these steps:
1. Back up everything.  You can backup your messages, apps and more.  Unless something really bad happens, it is enough if you copy everything to the SD.

2. Install Flash Tool.  Just double click the file you downloaded and follow the instructions.  In this tutorial, I recommend to leave all the options by default and just click “Next, Next, Next, Finish”.

3. Install the drivers: This was a step I omitted in my first try, because a lot of tutorials don’t mention it.  First, these are not the drivers you install when you connect your phone.  These are drivers from the Flash Tool app that are used to flash the phone.  Go to C:\Flashtool\drivers and double click flashtool-drivers.exe.  Inside, you’ll see a lot of drivers.  In this case, you have to check the xPeria Ray and flashmode drivers options.  Then, click on Next and the installation will begin.  In Windows 7, a lot of warnings pop up asking if you are sure of installing those drivers.  Just accept all the installations until everything is finish.

4. Copy the proper firmware: Go to C:\Flashtool\firmwares and eliminate all the contents of the folder.  Now, copy the ST18i_4.1.A.0.562 Kernel in that folder.

5. Prepare Flashtool and click on the thunder (It’s the first button in the upper-right part of the screen, under “File”).  In the dialog that is displayed select flashmode and click OK.  In the screen that appears, check the last option in the lower-right part (it says “no final verification”) and click OK.  A window will be displayed where some instructions are shown.  Just in case, these instructions are for another phone model, so you don’t need to pay too much attention to them.  Don’t close it.

6. Prepare your phone:
-Turn off the phone.
-Take the battery out and the chip (the one you got from the telecom. company).
-Put the battery again and turn it on.
-Activate USB Debugging: Settings>Developer options>UBS debugging.  Check it and get out of there.
-Unknown sources> Settings>Security>Unknown sources.  Check it and get out of there.  Remember what I said about not closing the window in step 5? I hope you didn't do it.  With this window active, connect the USB to the computer, with the other side not connected yet to the phone.

7. Turn off the phone.  Now, keep the Volume Down button pressed, and while you do it, connect the USB to the phone.  Wait a little and when you see the phone’s led on, release the button.
The instructions screen will disappear and the flashing process will begin.  Wait until like “Please unplug the phone appears”.

8. Disconnect your phone.  Turn it on and wait for about 10 minutes.  When that is finally finished, you’ll see that nothing has changed.  In fact, the root is not done yet.

9. Verify that the USB debugging and Unknown sources options are checked (you can consult step 6) and connect your phone again.

10. Extract the files for rooting process that I mentioned at the beginning.  There you’ll see a file called runme.bat (or just runme).  Double click it.  A command line will be opened and the rooting process will begin.  Wait until the screen shows “Finished” or something like that.  Now, wait for your phone to reboot a couple of times.  At the end of the process, you’ll have your phone rooted!!!!

11. Turn off your phone and put back the chip.  Once you do it, turn it on.

Let’s verify the root:
Go to programs list (tap on those little squares in the lower part of the phone screen).  Browse to the last icons and you should see a new icon called Superuser.  It looks like an Android logo but with a pirate patch :P
As you can see, your Xperia is with an out of date-firmware.  No problem.  Open C:\Flashtool\firmwares again.  Erase all the contents of the folder.

1. Copy the ST18i_4.1.B.0.587 Kernel to the folder.
2. Initiate Flashtool and click the thunder button again.
3. In the next dialog, select flashmode and click OK.  In the following screen, check “no final verification” and click OK.
4. Turn the phone off and press the down volume button.  Don’t release it and connect the USB cable to the phone.

Once the flashing is finished, disconnect your phone, turn it on and you have it rooted and with the last Firmware.  It’s easier than it looks.


Saturday, December 15, 2012

Manipulate a database


Sometimes it is necessary to modify a data base to make themost of an app, but there is no MySQL installed and the user don’t have another tool to manipulate the database.  Thistool is a solution” MDBPlus.  Download it here, it’s free!!!

How to put an iPad to safemode (jailbroken)



Sometimes it’s necessary to put a jailbroken iPad in safe mode because of various reasons.  For example, my iPad crashed recently.  All the icons messed up and basically the iPad was “acting” like an iPhone.  I didn’t want to restore it and lose all my data, so I performed the following steps to put it into safe mode:


  1. Turn the iPad off.
  2. Turn it on again, but pressing the up volume button until the iPad starts.
  3. Now, all the non-vital applications are down, so you can uninstall anything is messing up with your system.  In my case, I had to uninstall iProtect.