Jump to content


Photo

How to root your Hudl [updated: latest supported ROM 20131016.200812]

- - - - -

167 replies to this topic

#1
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,345 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
You can now root your Hudl! :)

YOU USE THIS TOOL AT YOUR OWN RISK! We take no responsibility for any problems caused.

Pre-requisites are as follows:
  • A computer running Linux (a live CD should work) - I am currently looking at the Windows / OS X options
  • A Hudl running ROM version 20130923.020558 or 20131016.200812 (check in Settings -> About -> Hudl Updates) - do NOT install on other versions
  • A microUSB cable to connect the Hudl to your computer
  • A pin to press the reset button
To root your Hudl...
  • download this package for 20130923.020558 only! DOWNLOAD (ROMraid) - MD5: f32f67b3d7942a0d0ec2da3323833813
  • download this package for 20131016.200812 only! DOWNLOAD (ROMraid) - MD5: f895af4991439be522df78ad8cd4ab78
  • extract the zip
  • plug the hudl in via USB and press the reset pin while holding volume up (the device will appear to stay off)
  • open a terminal window to the extracted directory
  • run 'sudo ./flashroot.hudl.linux.sh'
  • wait for it to complete
  • the device will now go into 'charging' mode, turn it on as normal
  • when the device has booted, install SuperSU from the Play Store
  • try a root app - it should work!
This is just an initial root - if this is too daunting or you don't have access to a Linux box, don't worry, we're working on alternative options. :)

Note that the process creates a backup of your stock system image... just in case... :)

P

PS ROM developers? This flashes a regular Ext4 system image. If you want to mod your device? You can, by modding the image and re-flashing! :)

  • 5

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#2
Frankish

Frankish

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,536 posts
  • Gender:Male
  • Devices:iPhone 4S Xiaocai X9 THL W200
And it starts... :)

  • 0

#3
Rem1x

Rem1x

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,254 posts
  • Gender:Male
  • Location:Aberdeenshire
  • Devices:Nexus 5 // Hudl // One X
  • Twitter:@__foy

Does the update that appears when first booting up the hudl effect this (I assume you could skip the update with the 4 corners trick)


  • 0
Posted Image
Posted Image

#4
ptbw

ptbw

    Regular

  • MoDaCo Silver
  • PipPip
  • 135 posts
  • Gender:Male
  • Location:Suffolk, UK
  • Devices:Nexus 4 & Nexus 7 (2013)
Works like a charm. Thank you. Tested using su from an adb shell.
 
Attached File  SuperSuOnHUDL.png   93.15KB   53 downloads
 
@Rem1x I checked the version after the initial update and it is the one Paul quoted.
 
 

  • 0

Official Field Guide of the Paranormal Database
smallbanner.png

Still playing with:

Nexus 4
Nexus 7 (2103)

 

 


#5
glossywhite

glossywhite

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,888 posts

You can now root your Hudl! :)

YOU USE THIS TOOL AT YOUR OWN RISK! We take no responsibility for any problems caused.

Pre-requisites are as follows:

  • A computer running Linux (a live CD should work) - I am currently looking at the Windows / OS X options
  • A Hudl running ROM version 20130923.020558 (check in Settings -> About -> Hudl Updates) - do NOT install on other versions
  • A microUSB cable to connect the Hudl to your computer
  • A pin to press the reset button
To root your Hudl...
  • download this package DOWNLOAD (ROMraid) - MD5: f32f67b3d7942a0d0ec2da3323833813
  • extract the zip
  • plug the hudl in via USB and press the reset pin while holding volume up (the device will appear to stay off)
  • open a terminal window to the extracted directory
  • run 'sudo ./flashroot.hudl.linux.sh'
  • wait for it to complete
  • the device will now go into 'charging' mode, turn it on as normal
  • when the device has booted, install SuperSU from the Play Store
  • try a root app - it should work!
This is just an initial root - if this is too daunting or you don't have access to a Linux box, don't worry, we're working on alternative options. :)

Note that the process creates a backup of your stock system image... just in case... :)

P

PS ROM developers? This flashes a regular Ext4 system image. If you want to mod your device? You can, by modding the image and re-flashing! :)

 

Paul, when I released my cross-platform tools for the San Diego, I used "GnuWin32" as a base for the tools - it allowed me to port BASH scripts to windows, with a very substantial, portable BASH environment read-baked, just needing a minor script tweak to allow the GNU+Linux scripts to run, unaltered, on Windows PCs.

All the environment executables needed for trivial operations are included, and the ones that are missing can be thrown in a directory and packaged up with the rest.

Take a gander at the "Root / Un-root" kits I made for both Linux and Windows - the windows version is a direct port of the GNU+Linux version, not the other way around (because Windows CMD syntax is so utterly clunky and messy; it's far more elegant to allow Win to run Lin, than the reverse):

https://www.dropbox....indows.exe?dl=1 << WIN

http://www.modaco.co...id=87206 << LIN


Thanks Paul - just something I learned, which makes porting SO easy.


 


Edited by glossywhite, 01 October 2013 - 10:09 PM.

  • 0

#6
learntofly

learntofly

    Newbie

  • Members
  • Pip
  • 8 posts
  • Devices:Tesco Hudl

Does the update that appears when first booting up the hudl effect this (I assume you could skip the update with the 4 corners trick)

The update to v1.2 is fine


  • 0

#7
glossywhite

glossywhite

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,888 posts

Edited by glossywhite, 02 October 2013 - 01:54 AM.

  • 0

#8
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,345 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien

Paul, when I released my cross-platform tools for the San Diego, I used "GnuWin32" as a base for the tools - it allowed me to port BASH scripts to windows, with a very substantial, portable BASH environment read-baked, just needing a minor script tweak to allow the GNU+Linux scripts to run, unaltered, on Windows PCs.

All the environment executables needed for trivial operations are included, and the ones that are missing can be thrown in a directory and packaged up with the rest.

Take a gander at the "Root / Un-root" kits I made for both Linux and Windows - the windows version is a direct port of the GNU+Linux version, not the other way around (because Windows CMD syntax is so utterly clunky and messy; it's far more elegant to allow Win to run Lin, than the reverse):

https://www.dropbox....indows.exe?dl=1 << WIN

http://www.modaco.co...id=87206 << LIN


Thanks Paul - just something I learned, which makes porting SO easy.


The problem isn't scripting, unfortunately rkflashtools for Windows doesn't seem to work for me and the OSX version has a libusb dependency, hence Linux only for now.

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#9
Grumpydev

Grumpydev

    Newbie

  • Members
  • Pip
  • 38 posts
  • Gender:Male
  • Devices:Advent Vega, Tesco Hudl

Cool :-) It's annoying that the bottom nav bar won't disappear (I assume because of the lack of a hardware back button) so tempted to root just so I can override that.

 

If and when Tesco release a new version will it update this and remove the root, or not update, or just soft-brick or any of the above? :D


  • 0

#10
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,345 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
It should update fine and keep root.

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#11
Grumpydev

Grumpydev

    Newbie

  • Members
  • Pip
  • 38 posts
  • Gender:Male
  • Devices:Advent Vega, Tesco Hudl

It should update fine and keep root.

P

 

Thanks - I have to return mine today because the charger doesn't work, but assuming they can swap it I will give it a go later.

 

Nice work :)


  • 0

#12
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,345 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
Don't flash this before you've updated to the version listed in the first post!

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#13
tautology

tautology

    Newbie

  • Members
  • Pip
  • 6 posts

The root just adds the su binary to /system/xbin. The system partition is just an ext4 filesystem stored on the NAND. This means that unless the Hudl updater checks for /system/xbin/su (which it doesn't - I've had a look at the bytecode already) then it should keep root as well as anything else you add (e.g. sqlite3, gdb - busybox is already installed).

The clever bit was working out the partition start and size, which was nicely done by Mr O'Brien!


  • 0

#14
Grumpydev

Grumpydev

    Newbie

  • Members
  • Pip
  • 38 posts
  • Gender:Male
  • Devices:Advent Vega, Tesco Hudl

Thanks for the info - I'm hoping they just swap my charger (less hassle), but if they don't then I'll make sure I let it update itself before I have at it with the flash tool ;)


  • 0

#15
tautology

tautology

    Newbie

  • Members
  • Pip
  • 6 posts

After some messing around I've found that "rkflashtool p" will dump the partition table. I wish I'd worked this out earlier :-). First time I've played with rkflashtool though...

So the process for a new root would be:

  • Use rkflashtool p to dump the partition table

  • Use rkflashtool to read the system partition

  • Use mount -o rw,loop imagefile /mnt/image to mount it

  • Copy a known good Jelly Bean su file to /mnt/image/xbin/su

  • Use rkflashtool to write the system partition

 

Paul, have I missed something?

I'd still love to know how you got rid of the Tesco button though!


  • 1

#16
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,345 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien

After some messing around I've found that "rkflashtool p" will dump the partition table. I wish I'd worked this out earlier :-). First time I've played with rkflashtool though...

So the process for a new root would be:

  • Use rkflashtool p to dump the partition table
     
     
  • Use rkflashtool to read the system partition
     
     
  • Use mount -o rw,loop imagefile /mnt/image to mount it
     
     
  • Copy a known good Jelly Bean su file to /mnt/image/xbin/su
     
     
  • Use rkflashtool to write the system partition
Paul, have I missed something?

I'd still love to know how you got rid of the Tesco button though!


Yes, that's how I did it. :) I'll post the mod to remove the Tesco button soon!

P

  • 1

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#17
glossywhite

glossywhite

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,888 posts

Just called Tesco, to reserve me a "hudl",

but the poor young girl, she got in a mudl.

I'll be there by midnight, to hand them my cash,

then fly right back home, and give rooting a...

 

 10059791726_b98e7e59e2_n.jpg


  • 1

#18
glossywhite

glossywhite

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,888 posts

486MB??

Is that correct? Seems a tad large for a root tool.


  • 0

#19
glossywhite

glossywhite

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,888 posts

Just to clarify, you need to be looking at THIS screen with these exact build numbers, before you may root:

10061099804_7c7b76374d_z.jpg


  • 0

#20
glossywhite

glossywhite

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,888 posts

Folks, make sure you set the script to executable mode before running, else it will fail:

 

1/ Open bash/terminal.

 

2/ 

chmod +x *sh

3/ Proceed.

 

"lsusb" output (bash) when in "rktool" mode, described in the above:

Bus 002 Device 015: ID 0bb4:0c01 HTC (High Tech Computer Corp.) Dream / ADP1 / G1 / Magic / Tattoo

 

 

 

@Paul

Flashing is all very well, but how does one *reverse* the flashing, and flash back our *stock* "system.img", if you please? Same offsets as in your script?:


?? V V ??

./rkflashtool w 0x00142000 0x00200000 < system_orig.img
./rkflashtool b

Edited by glossywhite, 03 October 2013 - 12:08 AM.

  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users