Source: Sony Mobile

Sony recently announced the Xperia M smartphone with 4-inch of capacitive touchscreen, 1GHz dual-core processor and 5MP rear-shooting camera. Owners of the Xperia M can now root both the C1904 and C1905 models running Android 4.1 Jelly Bean firmware.

Using the Gandalf exploit, the Sony Xperia M can be rooted to allow owners to flash custom ROMs and gain full administrator privileges. Be reminded that you need to meet all requirements before rooting the smartphone.

Prerequisites

1. The rooting tool is only applicable to the Sony Xperia M C1904 and C1905 models. Never attempt the tool on other models or suffer unforeseen consequences.

2. Your Sony Xperia M must be unlocked from any network carrier.

3. Enable the USB debugging mode on your device. Go to "Settings > Developer options > USB debugging mode."

4. Download and install all the necessary USB drivers for your handset. You may download and install the Sony PC Companion for the drivers.

5. Create a backup of all personal information, settings and data files stored on the Xperia M.

6. Make sure that the battery level is at least 50 per cent.

7. Download the Framaroot tool .apk file to your device. You can download the file on the computer as well then transfer it to the SD card of the phone.

Warning: Rooting your Sony Xperia M will void warranty. We are not liable for any warranty issues or errors which may occur on your smartphone. Read, understand and follow the instructions carefully to avoid damaging your device. Do this at your own risk.

Rooting Procedure

1. Connect the Sony Xperia M to your computer using a USB cable.

2. Install the Framaroot tool .apk file you have downloaded earlier on your Xperia M. Enable the installation option from unknown sources if asked.

3. Launch the Framaroot app after its installation then select GANDALK Exploit. Do not select any other exploit or it can cause permanent problems on the handset.

4. Once the rooting process has been completed, you will see the following text: "Success, Superuser and SU binary installed."

5. Reboot the device after all those files have been installed. The rebooting process may take some time due to the rooting process.

6. Download the Root Check application from the Google Play Store to check if the process has been a complete success.

Congratulations! Your Sony Xperia M is now rooted and you are a superuser which gives you full control over the device. You are now allowed to install custom ROMs or applications which require root access.

For any questions or issues, send your feedback to AndroidAdvices original thread.