Archive for July 2011

I’ve been trying out various ways of intracting with Windows Services from C# code. From what I’ve seen, basically you have the following methods:

  • WMI Queries via classes in the System.Management namespace,
  • Strongly-typed WMI proxy classes generated using MgmtClassGen.exe, and
  • The System.ServiceProcess.ServiceController class.

Keep reading »

If you are getting a 0x80070005 COM exception (or UnauthorizedAccessException in C#) while attempting a remote WMI connection to a Windows XP host, even though you are connecting as an admin user in the remote host and you are providing the correct username and password, you may wish to check if ForceGuest is enabled on that host. It is enabled by default.

In C# it happens when you call the Connect() method of the ManagementScope object.

Set the value of the forceguest key to 0 in the following registry location:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

This should fix the problem.

Issues in Android 3.2

Sunday, 24th July 2011 by

Android 3.2 finally provides external storage support in actual android code, so the manufacturers don’t need to patch it in. However, it is currently just read-only. That seems to have dissapointed a few people.

One of the biggest niggles however in Android 3.2 is they introduced a bug in intents. Its the mechanism how one activity launches another one. If there are multiple apps installed which can handle an activity (e.g. if you have multiple image viewer apps), android gives you a window where you can pick which app you want to use. This bug prevents the picker window from coming up properly. Instead, the screen just darkens a little. The workaround is to rotate the device which will cause the window to come up.

As all the UK (as well as other non-US) Motorola Xoom owners are aware, their Xooms are stuck on Android 3.01 whereas the US version is already rolling onto 3.2. The European customers were promised version 3.1 a few weeks ago, but there is no news of anyone actually getting that update yet.

So … if you have a UK Xoom Wifi, here’s how you can get 3.2 installed on it. It’s not completely risk-free, and not entirely simple either, but it’s certainly less frustrating than dealing with Motorola Support when it comes to finding out information on updates.

I guess right now your About tablet screen looks like this …

… and that’s what we’re about to change!

The Process

The process you’ll follow is:

  1. Flash the U.S stock 3.0.1 image
  2. Auto-update to 3.1 (and then to 3.2)
  3. Flash the ClockworkMod Recovery image
  4. Flash the Rooted 3.2 image.

UPDATE: As a couple of comments have pointed out, the 3.2 update is now available OTA via the Auto Update. It is a two stage process, it will first update to 3.1 and reboot, after which, if you check for updates again it will find 3.2. So, follow steps 3 and 4 only if you want a rooted version of 3.2. Cheers commenters for pointing this out.

NOTE: By following these steps you’ll be voiding the warranty on your Xoom, and there is a chance you could brick your device. I’ve only tried it on the UK Wifi Xoom i.e. the MZ604. Also, this will erase all your data from the Xoom, so back things up!

These are quite detailed instructions so the process seems quite long, but it should take less than an hour to complete for most people. If you’ve done firmware updates before, it should really take around 20 minutes to fully root, or less than that to get the stock Android 3.2.
Keep reading »