Jump to content


Photo

Root your Moto G - option 1: Superboot


174 replies to this topic

Poll: Rooting Poll (107 member(s) have cast votes)

How did root go for you?

  1. Rooted OK, Windows (48 votes [44.44%])

    Percentage of vote: 44.44%

  2. Root didn't seem to work, Windows (36 votes [33.33%])

    Percentage of vote: 33.33%

  3. Rooted OK, Mac (4 votes [3.70%])

    Percentage of vote: 3.70%

  4. Root didn't seem to work, Mac (5 votes [4.63%])

    Percentage of vote: 4.63%

  5. Rooted OK, Linux (11 votes [10.19%])

    Percentage of vote: 10.19%

  6. Root didn't seem to work, Linux (4 votes [3.70%])

    Percentage of vote: 3.70%

Vote Guests cannot vote

#1
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,222 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
What is this?

Superboot is a boot.img that when booted, will root your device the first time you boot (installing su and the superuser APK). No need to flash any partitions, no messing with the contents of your data partition, no overwriting the shipped ROM on your device, just boot the boot image using the instructions below and you're done!

What are the pre-requisites?

YOU NEED YOUR BOOTLOADER UNLOCKED TO CARRY OUT THIS PROCESS. It's easy using fastboot, which is included in the download below. The instructions on the Motorola site are very straightforward - visit this page to get started. Unlocking the bootloader will wipe your device.

Any caveats?

Aside from the bootloader unlock wiping your device and invalidating your warranty, you should note that while rooting may affect your ability to receive future OTAs, reverting back to stock is easy enough. We'll cross that bridge when we come to it. ;)

Download

APPLY THIS AT YOUR OWN RISK!
  • Superboot r2 - DOWNLOAD (ROMraid) - MD5: a4ca11f526f57f643a0a552ec234ad6f
How to use Superboot - Windows, Linux and OSX
  • Download the Superboot zip file above and extract to a directory
  • Put your device in bootloader mode - Turn off the phone then turn on with the 'volume down' button pressed to enter the bootloader.
  • WINDOWS - run 'superboot-windows.bat' as Administrator
  • MAC - Open a terminal window to the directory containing the files, and type 'chmod +x superboot-mac.sh' followed by 'sudo ./superboot-mac.sh'
  • LINUX - Open a terminal window to the directory containing the files, and type 'chmod +x superboot-linux.sh' followed by 'sudo ./superboot-linux.sh'
Enjoy! :)

P

PS If you find this useful, please consider supporting MoDaCo by signing up for a MoDaCo subscription! Visit the store for further details!


  • 7

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
seapoint

seapoint

    Newbie

  • Members
  • Pip
  • 6 posts

Thanks a million!


  • 0

#3
flibblesan

flibblesan

    Token Northern bloke

  • Assistant Admin Team
  • PipPipPipPipPipPip
  • 5,637 posts

So much nicer than flashing a custom recovery :D


  • 0

#4
spike68

spike68

    Newbie

  • Members
  • Pip
  • 12 posts
Paul. I have said this before on xda but.... What a guy! Many thanks your eminence. *Gets back in box.

  • 0

#5
Joshua74

Joshua74

    Newbie

  • Members
  • Pip
  • 3 posts

Hi there,

 

I'm having trouble :

 

fastboot-windows.exe boot boot.superboot.img
downloading 'boot.img'...
OKAY [  0.281s]
booting...
OKAY [  0.250s]
finished. total time: 0.531s

 

 

something's going wrong, seems like "boot.img" isn't sent... but shouldn't be "boot.superboot.img" instead of "boot.img" ?

 

boot.img is 7 734ko on my folder.

 

Thanks for any help !


Edited by Joshua74, 27 November 2013 - 06:17 PM.

  • 0

#6
PaulOBrien

PaulOBrien

    It's My Party

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

Hi there,
 
I'm having trouble :
 

 

something's going wrong, seems like boot.img isn't sent... My bootloader is unlocked.
 
boot.img is 7 734ko on my folder.
 
Thanks for any help !


That looks like it's worked OK to me...?

The device should then boot. It'll appear to boot normally, but it'll be rooted when it comes up.

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


#7
TescoHudl

TescoHudl

    Regular

  • Members
  • PipPip
  • 140 posts
  • Gender:Male
  • Interests:Android Modding, Cars, Computers, Gaming, Photography
  • Devices:Motorola Moto G and Tesco Hudl

Paul, you are an absolute superstar! Thank you so much!!! :D


  • 0

#8
Joshua74

Joshua74

    Newbie

  • Members
  • Pip
  • 3 posts

It boots normally, but no su apk, when i try root checker it says it's not root, and if y a try to install superSU it says binaries are missing.

 

downloading 'boot.img'...
OKAY [  0.281s]
 
It's not too short for an almost 7 Mo file ? why 'boot.img' and not 'boot.superboot.img' ?
 
Thanks

  • 0

#9
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,222 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
I think it's normal for it to say boot.img...

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


#10
TescoHudl

TescoHudl

    Regular

  • Members
  • PipPip
  • 140 posts
  • Gender:Male
  • Interests:Android Modding, Cars, Computers, Gaming, Photography
  • Devices:Motorola Moto G and Tesco Hudl

Bit of a dumb question but, how do i copy the code from command prompt, into the Motorola website. Copy and paste doesn't work in command prompt, so i don't get how this is possible?

 

----------------------------------------------------------------------------------------

 

IJBwsAX.png


  • 0

#11
Nuno Ferreira

Nuno Ferreira

    Newbie

  • Members
  • Pip
  • 18 posts
  • Gender:Male
  • Devices:Moto G Nexus 7

Right click the top of the bar and then choose mark
        
 

Attached Files


  • 0

#12
TescoHudl

TescoHudl

    Regular

  • Members
  • PipPip
  • 140 posts
  • Gender:Male
  • Interests:Android Modding, Cars, Computers, Gaming, Photography
  • Devices:Motorola Moto G and Tesco Hudl

Right click the top of the bar and then choose mark
        
 

 

Thank you, i didn't realise you could do that! :)

 

------------------------------------------------

 

What the heck is this? I typed my code into the box, without spaces or 'Bootloader' text like it says, and it comes up that my phone does not qualify for bootloader unlocking!! Why not?!

 

9wo2.png


  • 0

#13
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,222 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
That sounds a bit troubling, where is it from?

  • 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


#14
a1Pha

a1Pha

    Newbie

  • Members
  • Pip
  • 19 posts
  • Devices:Motorola Moto G
  • Twitter:@dstoro

 

It boots normally, but no su apk, when i try root checker it says it's not root, and if y a try to install superSU it says binaries are missing.

 

downloading 'boot.img'...
OKAY [  0.281s]
 
It's not too short for an almost 7 Mo file ? why 'boot.img' and not 'boot.superboot.img' ?
 
Thanks

 

 

Hey,
I have got the same problem. I am unlocked (status code 3), but your bootimg fails to boot. I also tried it with my version of fastboot (latest from SDK) but it has no effect. I even flashed your image as my primary boot partition, but it refuses to boot, so I had to reflash stock boot.img.
Any idea?


  • 0

#15
TescoHudl

TescoHudl

    Regular

  • Members
  • PipPip
  • 140 posts
  • Gender:Male
  • Interests:Android Modding, Cars, Computers, Gaming, Photography
  • Devices:Motorola Moto G and Tesco Hudl

That sounds a bit troubling, where is it from?

 

Tesco's, on the Tesco pay as you go network! I bought it this morning as soon as the phone shop opened in my local store.

 

If you take a look at this thread on the Motorola forums, it seems to be a recent issue affecting the Motorala Moto X also: https://forums.motor...osts/2cf3fea770


  • 0

#16
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,222 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
a1pha, where is your device from? Which model is it? Euro or US?

Please upload your stock boot image.

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


#17
a1Pha

a1Pha

    Newbie

  • Members
  • Pip
  • 19 posts
  • Devices:Motorola Moto G
  • Twitter:@dstoro

a1pha, where is your device from? Which model is it? Euro or US?

Please upload your stock boot image.

P

 

It is the RETAIL_DE from Germany.

Stock  boot.img as requested.

Thanks.


  • 0

#18
PaulOBrien

PaulOBrien

    It's My Party

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

It is the RETAIL_DE from Germany.

Stock boot.img as requested.

Thanks.

I guess the boot image is slightly different on your device? I'll have a look when I get a spare 10 minutes. Watch this space!

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


#19
a1Pha

a1Pha

    Newbie

  • Members
  • Pip
  • 19 posts
  • Devices:Motorola Moto G
  • Twitter:@dstoro

I guess the boot image is slightly different on your device? I'll have a look when I get a spare 10 minutes. Watch this space! P

 

I ran a diff against the contents of the ramdisks on your initrd and the stock one from my boot.img. The only differences are the changes to default.prop and init.rc you made (and the superboot folder).
The kernels differ. Updated your bootimg with the zImage from my boot.img (using abootimg) - still refuses to boot.


  • 0

#20
PaulOBrien

PaulOBrien

    It's My Party

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

It is the RETAIL_DE from Germany.

Stock  boot.img as requested.

Thanks.


Please try replacing the boot.superboot.img with the one in this zip - http://nigella.modac...rboot.a1Pha.zip

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





14 user(s) are reading this topic

0 members, 14 guests, 0 anonymous users