I'm new Android user and want to root my Motorola XT316 with Android 2.3.4.
I found this guide but is based on Windows XP, and I use Linux (Fedora 16). Is there another method?
This is an old question, but here are the steps to root this device. I am posting it so the Rooting Index is up to date and has an answer for this device. YMMV
These steps should work for XT311/XT316/XT317, XT530/XT531, XT532, and XT611
Steps are from this thread on XDA:
Looks like this does require Windows
Here is another solution that looks like it may not require a Windows PC
Open Pimp My Rom and Add universal init.d support.
Create 97bootmenu manually. (For this using ES file explorer is recommended) Steps:
Open the file as text Type:
#!/system/bin/sh stop exec /system/bootmenu/binary/bootmenu
save the file
Change permissions of 97bootmenu to
rwx r-- r--
Reboot your phone.
Now your phone will start at bootmenu.
To boot the device normally again, open a console/terminal window, while the device is connected via usb.
cd path-to-adb adb shell rm -R /system/etc/init.d/97bootmenu exit adb reboot