I've written a script to automate what Paul did, so that the same script will continue to work until the partition offset and length changes. Original motivation was that neither of the posted roms were compatible with my brand new Hudl.
My script also crashes out gracefully when the partition offest is wrong, minimising the risk of bricking.
It also keeps a copy of the partition before and after the rooting, to allow you to revert to how it was before (maybe if the partitions moved - the data goes back exactly where it came from so this gives the best chance of recovering). The copy of the rooted system will allow you to roll-back at a later date to the point just after rooting.
This has been tested on the latest version of the hudl software, JDQ39.20140424.153851 and works a treat.
It works either before or after the user has turned the hudl on for the first time and filled in all the various info, so you can produce a factory-fresh rooted machine, or just root it in its current state.
Two versions, the lite version installs the su from clockworkmod and leaves you to install your favoured superuser app. In this case the app will not be a system app (unless it has its own internal install method, like for example supersu)
I've chosen the clockworkmod implementation as it is open source, and in my view it is particularly valuable to have open source software when rooting a device, as you don't otherwise know what else the app is doing.
The full version installs the full clockwordmod superuser app as a system app (in the hope that it will thus be more resistant to being uprooted). It does make the download bigger, but neither is anywhere near the size of the full system rom
After unpacking, cd to the resulting directory, and plug in the hudl using the same trick with the reset button and Volume key, then simply ./autoroot ...
Edited by trueriver, 29 June 2014 - 11:08 AM.