Full rooting instructions for Huawei IDEOS X3 (U8510) are posted on this thread over at XDA:
- Download the Automatic Root Enabler for the X3. For more recent versions I suggest checking original thread and the forum it's in as I may not be able to update this thread all the time.
- Install the latest USB drivers for the X3. Search for the latest version of "HUAWEI Android Phones USB Driver" from the Huawei Downloads site.
- Turn on USB Debugging from Settings -> Application -> Development on the X3.
- Connect the X3 to your PC via microUSB.
- Run the Automatic Root Enabler and it should start rooting your phone automatically.