How to root Motorola DROID 4 on Jelly Bean (Android 4.1.2)

Android 4.1.2 has come to the Motorola DROID 4, while some users were a bit disappointed with the latest OTA as they received quite a lot of problems that they experienced after the update, but there are still many users who want a Jelly Bean running on their devices.


And for those who have rooted before, installing latest JB OTA will remove your device’s root files and you will lose the ability to run apps that require root access. Such things happen because during installation operation our device’s system partition will be wiped, so superuser app and su binary will be gone.

But it seems we’re blessed, Dan J. Rosenberg (djrbliss) a talented developer, has built a root exploit for the DROID 4 running Jelly Bean update. Originally he created this exploit for Droid Razr on JB, but surprisingly this exploit can also work nicely on our smartphone.

Update!! Root Verizon DROID 4 98.72.18-9 or 98.72.18-8 root โ€“ latest OTA update, head to this post.

For those who want to get root on the DROID 4 running Android 4.1.2 firmware, here are the steps you need to look at.

  1. Make sure your phone has the latest drivers, in case your PC was installed with outdated drivers the root exploit will not recognize your device. Set up Motocast or Motorola Device Manager (MDM) to get the latest USB drivers.
  2. Another requirement in order to run the exploit is to enable USB debugging in Settings -> Developers option.
  3. Enable Unknown source in Settings -> Security, to allow root exploit putting a Superuser app.
  4. Grab RAZR Blade exploit by djrbliss, and then extract the zip into your PC using Winzip/Winrar/7zip.
  5. droid 4 android 4.1.2 jelly bean root exploit

  6. Open “razr_blade” folder and then run the exploit by double clicking “run.bat” (Windows Batch File) and a CMD window will show up.
  7. Connect your phone to the PC via USB cable, and then follow the onscreen instruction carefully.
  8. When you get a success message, now you have rooted DROID 4 on Jelly Bean (Android 4.1.2) update.
  9. When necessary you can verify root privileges by installing Titanium Backup or any other apps that require root access to operate.



Filled Under:Root and Unlock
Related Mods

35 Responses

  1. sakimike
    April 1, 2013 at 10:01 PMReply

    After using this root process how can i un-root us sing this process?

    • Author

      April 2, 2013 at 5:12 PMReply

      You can find unroot option inside Superuser app.
      Hope this helps.

    • sakimike
      April 6, 2013 at 11:04 PMReply

      Worked great. I was able to root without any problems.

  2. NastyPope
    April 6, 2013 at 5:58 PMReply

    Once you execute the .bat file, how long does the process generally take?

    • sakimike
      April 8, 2013 at 6:58 PMReply

      once i read the directions about 4.3 minutes it took to do it.

  3. mpedonovan
    April 12, 2013 at 3:24 PMReply

    This did NOT work initially on my Droid4. I kept getting “Phase 3” errors:

    >failed on `/data/logger’ – Permission Denied
    >mkdir failed for /data/logger, File exists
    >Unable to chmod /data/logger: Operation not permitted
    >link failed File exists

    then later:

    >Segmentation fault

    But I did get it to work eventually. I tried a bunch of different things and unfortunately I’m not sure which thing(s) made it work for me. I’ll list them all as precisely as I can in case it helps someone else, but please understand that most of these steps are probably unnecessary! Maybe the next person who gets the same errors I did can try them one at a time, and report back which thing worked for them.

    I was already using “Smart Actions” and “Battery Saver” so I decided to initialize that app. I went into “Manage apps” and went in to all THREE “SmartAction” apps and did “Clear cache” and “Clear data” and “Force stop” MULTIPLE times each (just to make sure). I have no idea if this did anything, but for what it’s worth, it did allow me to follow the “Phase two” directions exactly.

    Next I decided to manually execute each line of the BAT file one at a time so I could get an idea of where the error was occurring… but I did NOT encounter any errors. I wonder if it was possibly a timing thing? For example, each time the BAT file rebooted the phone, I waited until it was fully booted before moving on to the next command. May or may not be important.

    I was probably already home free at this point, but in the “Cleanup” section, when I executed the “su” command, I noticed that the phone popped up a Super User dialog asking me to give permission, which I did.

    Like I said, I have no idea if any of this is important, but it did work for me. Hopefully someone else will narrow down the problem for the next guy. Thanks.

    • Jay
      April 24, 2013 at 1:25 PMReply

      I had the same problem and I did exactly what you did with the smart action and battery saver and got it to work.

      Thank You

    • wompshmack
      April 28, 2013 at 6:53 AMReply

      Yep, me too, same problem. You, my friend, are a life saver. Thanks for not being one of those people who finds a solution and never posts it.

    • PooGod
      May 9, 2013 at 11:09 AMReply

      Clearing the cache on the Battery Stuff didn’t help, but I did try it anyway.

      I did get it to work by adding a pause between each command in the batch file.
      Thanks for the suggestion!

      • dukill
        May 12, 2013 at 11:56 AMReply

        Is there anyway I could get a copy of the batch file with the pauses in it. I dont know enough about the commands to do it myself. Could you possibly post a download link to the batch with the pauses? Thank you for your time.

      • TheGreenSpoon
        June 28, 2013 at 5:01 AMReply

        thank you thank you thank you thank you thank you thank you !!! the thing with the pauses in the bat worked for me. Ive spend hours to figure out whats the problem and you helped me out. thanks ๐Ÿ™‚

  4. BMG
    May 5, 2013 at 12:03 AMReply

    I suspect the failure to complete in this instance stems from my device being encrypted. I removed the encryption. The script is not successfully handling “DataClearJarDex.jar” during the process.

    From all appearances, we make it all the way thru the 4 phases. States that the exploit completed. SuperUser app wasnt installed, so I manually did so. This failed stating “There is no SU binary installed, and SuperSU cannot install it.” I then shelled into a terminal and verified that neither SU and SUDO are not available via the CLI.

    However, similar issues, as described above, manifested during Phase 3.
    >failed on `/data/loggerโ€™ โ€“ Permission Denied
    >mkdir failed for /data/logger, File exists
    >Unable to chmod /data/logger: Operation not permitted
    >link failed File exists

    I tried the tasks mentioned, FC and Clearing out the Cache for the 3 Smart Actions Apps.

    Going line by line, executing each line in the script manually, the line:
    adb shell “ln /data/data/com.motorola.contextual.fw/files/DataClearJarDex.jar /data/dontpanic/apanic_console”
    generates an error:
    Link Failed Cross Device Link.

    echo [*] Phase two…
    adb shell “cat /data/data/com.motorola.contextual.fw/files/DataClearJarDex.jar > /data/local/tmp/DataClearJarDex.jar.bak”
    generates an error:
    Permission Denied

    and does the same after copying over the pwn.jar file using the following command string:
    adb push pwn.jar /data/local/tmp/pwn.jar

  5. Himo
    May 8, 2013 at 11:59 AMReply

    Ok, I had issues with this as well. However, I think anybody that has the problems that mpedonovan and BMG had should first check to see if their phone is listed as “Connected as a camera” and NOT “Mass storage device”. After fumbling around with settings, that is really what needs to be set. Maybe fix the instructions to list that as step 1 or something.

  6. HelpIsAppreciated
    May 8, 2013 at 4:31 PMReply

    -Had no problem downloading and unzipping the file
    -Had no problem getting the .bat program to run
    -USB debugging is enabled
    -Unknown source is enabled
    -Phone is plugged into computer with USB cord (using windows 7)

    -Not sure how to check if latest drivers are installed (I just kinda installed everything from Motocast on my computer)
    -The .bat program will not show the instructions for Phase 1. It shows the instructions for Phase 2, but not any other phases or Cleanup
    -I keep getting the message ” ‘abd’ is not recognized as an internal or external command, operable program or batch file.”

    I followed mpedonovan ‘s instructions, but they didn’t help.

  7. Edwin
    May 20, 2013 at 10:53 AMReply

    Everything went good is rooted…. I but I lost 4LTE no Internet I have version please help

  8. Daniel Johnson
    May 30, 2013 at 2:35 PMReply

    I too would love a copy of the pause-break command line BAT file. Or if someone explains it, I can do it….

    • Tyler
      January 10, 2016 at 9:14 PMReply

      For anyone wanting the bat file with pauses just add pause after each line(create a new line then type pause.
      So if the batch files contents are:
      Echo rooter
      Echo hello

      Then type ๎ผ

      echo Rooter
      echo hello pausw

      that should work

  9. DFH
    May 31, 2013 at 6:15 PMReply

    No luck on windows vista at all– it was claiming stuff like
    ‘moto-fastboot’ is not recognized as an internal or external command, operable program or batch file.
    ‘adb’ is not recognized as an internal or external command, operable program or batch file.
    which I didn’t understand and didn’t know how to get past.

    So I tried it on linux– it worked, twice
    (since I had to replace my phone for other reasons and start over)
    Y’all are absolutely awesome– thank you for this work!!!

    Evidently some of the steps can be flakey– both times I had to
    look at the script and re-do a bunch of it manually, not the same stuff each time.
    And unfortunately adb doesn’t propagate error status and so
    the script barreled ahead
    and cleaned up, even though a lot of it had failed.. this led to it removing
    the backup of /data/data/com.motorola.contextual.fw/files/DataClearJarDex.jar
    even though it hadn’t restored it back to the original location…
    so that file is gone. What is it? Do I care?

    Also, /data ended up mode 777… is it supposed to be like that, or is that a side effect
    of the exploit? If I recall correctly, it was 771 on my previous droid 4 (even after rooted, I think).

    Thanks again, this was obviously quite a labor of love on several peoples’ parts.

  10. Strict
    June 27, 2013 at 4:45 PMReply

    On a Windows 7 PC, I made sure to open a command prompt as an Administrator.
    Then I typed “cd ”
    then, when in the same folder as the run.bat script, I simply typed “run” and pressed enter.
    after that, I just did what the script told me to.

    boom. rooted.

  11. joyce
    June 28, 2013 at 11:49 AMReply

    I tried the clearing the data/cache suggestion and putting into camera mode. I get a message that exploit is complete but when I use root checker it says not rooted.

  12. zak
    June 29, 2013 at 7:41 PMReply

    the lynchpin for me was taking it from Mass Storage mode to camera mode. Finally rooted! I also cleared smart actions data right before the attempt, but I’d done that several times previously without success.

  13. Joey Havok
    July 12, 2013 at 9:11 PMReply

    I also had a similar issue; I followed all suggestions from many other threads with no luck; before reading this thread (was one of many tabs I’d opened on my PC trying to find a solution), I did this and it worked- for me at least…

    Tried all suggestions I’d found so far, even running it in Linux, extra data & cache wipes, and including clearing Smart Actions cache etc; still nothing (clearing Smart Actions part may be needed if you’ve already set anything up in it, I’m not sure).

    (Rebooted PC and phone after all attempts, including before the final working attempt; not sure if that’s important before this)…

    Finally, with phone disconnected, I uninstalled ALL Motorola-related software from my PC’s control panel; then installed only the phone drivers included in the XT894 Jelly Bean Utility from XDA linked below (these drivers are older than the current ones from Moto; I believe version 1.5?)

    As other times, while connected as MTP, I reran Option 3 of above Utility- and it worked! It took a good while longer than the failed attempts, with I believe 3-4 automatic phone reboots- then I finally have root!

    ***Thank you to the Great Dan Rosenberg, who I think has found the exploit for every model, and OS version, phone that I’ve ever rooted. Also mattlgroff, who developed the utility I used this time. And anyone else who’s information helped me stumble upon how to get this version rooted- can’t go without root once you know what you SHOULD be able to do!

  14. Dimitri
    July 23, 2013 at 7:43 PMReply

    So I was finally able to get this to work for my Motorola droid 4 4.1.2. after spending hours on it. The thing was I thought I could use my Mac running Lion to do it, but there was no download that would allow me to. I even tried using the razr blade download above and changing the run.bat to with no luck. I finally pushed my pride aside and quit being stubborn and used my windows pc using the abov file and it worked instantly. Just make sure you install the motorola usb drives needed and you’re all good to go.

    • brian
      August 1, 2013 at 5:19 AMReply

      Having problems rooting my droid 4.I’m running the jelly bean 4.1.2. Been going back and forth with tech support on rooting my phone. They all been saying to check the unknown source in the developer. Well i called Verizon and asked them where that option went. They said they took that out on the update. Am i screwed or is their away around that?

  15. Seimar
    July 24, 2013 at 6:02 PMReply

    Dimitri hello, please can you send me the detailed steps to make root the droid 4 4.1.2 jelly beam, ….. Thanks

  16. bw_tn
    July 28, 2013 at 1:19 PMReply

    I’m using Linux and had no issue with the script once I followed these steps:
    1) Turn encryption OFF.
    2) Remove PIN and set lock screen to None.
    3) Clear the cache and data and force stopp the SmartActions.

    Tried again and it worked perfectly.

  17. Roger
    July 29, 2013 at 7:54 PMReply

    OK i found the problem.

    after the step 3, where it says (this may take a minute)
    what the batch file does is it sleeps for 40 seconds. often, this isn’t enough time. you’ll notice while it’s executing, your phone’s file storage isn’t even ready, which means trying to move files to your phone just won’t work.

    RIGHT before the sleep 40, right after the echo “this may take a minute”
    put a “pause”
    with a line break

    then, when you run the file, it hsould sya, this may take a minute, then, press something to continue

    at which point, you wait until your device is FULLY booted, AND you can see your files from your computer, and then proceed.


  18. Kenny G
    August 27, 2013 at 9:02 AMReply

    so yeah i tried to edit the code via note pad but i was unable to input any commands. Everything was just being displayed instead getting read as code… so what i did because the “sleep 40” is definitely not long enough. i just put a 2 in front of the 40 to make it 240 (4mins) and it was plenty of time for my phone to fully boot up. The root was a success and I’m now a super user.

    • rich d
      December 1, 2013 at 4:57 PMReply

      yup.. setting to 240 worked for me as well…. ๐Ÿ™‚ That was a long time to wait, I think 140 would work just fine as well. to edit the file just open notepad then drag and drop file into it, Edit, Save…. Wala

  19. Phil
    December 4, 2013 at 11:02 PMReply

    140 worked just fine. That was the trick. Thanks for the info guys.

  20. mungo
    January 19, 2014 at 11:14 AMReply

    the program may work fine, but the download exe tries to install crapware on the windows system before I can get to root. I’ll try to find it somewhere else.

  21. hassam
    September 29, 2014 at 10:40 AMReply

    Thanks man you rock

  22. bruce
    October 23, 2014 at 5:55 PMReply

    How long is the cleaning up supposed to last? It’s been going on for quite a while on my end.

  23. Vit
    March 3, 2015 at 6:49 AMReply

    Thanks for posting this solution! After some trial and error, this procedure was eventually successful in rooting my Verizon Motorola Droid 4 running Android 4.1.2. I had to change the line in the “.bat” file from “sleep 40” to “sleep 120” to give my phone enough time to reboot fully. Also, once your phone is successfully rooted, make sure to update SuperSU to the latest version.

  24. 4dbz3331
    October 12, 2015 at 3:18 AMReply

    Hello guys this video helped me to root my motorola droid 4 ^^ _

Leave a Reply