Root any Android 4.0 Ice Cream Sandwich or Android 4.1 Jelly Bean device
As before, I’d like to emphasize that if you don’t know or understand the risks of rooting your device, please don’t do it. You’re going to have to follow through and there is always a risk of bricking your device, rendering it useless.
With that out of the way, here’s what XDA Recognized Developer Bin4ary, the script’s creator, has to say about it:
I made a small script which is able to root ICS/JB phones. It uses a remount timing issue in Androids “adb restore” service.The steps for using “Root with Restore by Bin4ry” are very straightforward. Just download the script, extract it with your favorite tool, execute the RunMe.bat file, and follow the instructions it gives you.
So normally it should work on nearly all ICS/JB devices, for some it won’t but the idea may work in a slightly modded version
There is a special case for Xperia T and Xperia S,P etc. phones, this phones run ICS but don’t have android’s native restore with adb, Sony has added a own custom “Backup&Restore” app, the script handles this cases too, just choose the correct option!
The script is currently at version 3.0. Fortunately, Bin4ary is updating it with support for outlier devices that can’t be rooted in the way outlined above. If you’re willing to give it a shot, I would recommend reporting in the thread if your phone or tablet was rooted successfully (so it can be added to the list of supported devices) or not (so the script can be updated to support it). That way, this will become a great all-in-one tool for the latest Android devices, until Android 5.0 (Key Lime Pie) comes out, of course.