These are the instructions to root Motorola RAZR D1 smartphone (running on android 4.1) using Framaroot Application on Phone itself (this procedure does not need computer).
Requirements: Your Motorola RAZR D1 smartphone should have at least 10-20 percent of battery to perform the rooting process.
Step 1: On your Device, Open Settings > Security > Device Administration > Unknown Sources (tick to enable it).
Step 2: Download and install Framaroot Application on your Device. Once installation is completed you will be able to see the Framaroot Icon in your Menu.
Step 3: Now, Tap on the Framaroot App Icon to Open it.
Step 4: Once Framaroot Application is launched you will be able to see the following screen:
Step 5: In Framaroot, You will be able to see only 1 option i.e Boromir. Tap on the Boromir Option.
Step 6: Now, you will be able to see the success popup on the Phone Screen.
Step 7: Now, you have to restart your Device.
Step 8: Now your Motorola RAZR D1 is Rooted. To check whether your phone is rooted correctly, open Applications Menu, there you will be able to see a new app installed, called SuperSU. If this app exist then it means you have successfully rooted your device.
Optional: You can also verify the root status of your device by using the Root Checker Application.
[*] No data loss process: Your Motorola RAZR D1 Phone Data like contacts, pictures, videos, music and etc will be not affected with this method.
[*] Device Warranty: Once you full unroot your device through SuperSU, you can claim for the phone warranty. In short no need to worry for phone warranty.
[*] How to unroot: To unroot, Open SuperSU > Settings > Full Unroot.
[*] Motorola Stock Firmware: If you are looking for the original firmware for your device then head over to Download Motorola Stock Firmware for all devices page.
[*] Motorola USB Driver: If you are looking for the original USB Driver for your device then head over to Download Motorola USB Driver for all devices page.
[*] Credits: Framaroot Application is developed by alephzain (XDA Developer).