Jump to content

Superboot - Nexus 4 root solution


Recommended Posts

Guest PaulOBrien
Posted

Introducing.... Superboot! :)

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 need to mess around with ADB, 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!

APPLY THIS AT YOUR OWN RISK!

  • Superboot r1 - DOWNLOAD (ROMraid) - MD5: 824ec82dfa9ecd0c411dad9121f1f32d

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 up' and 'volume down' buttons both pressed to enter the bootloader (as pictured below)

- WINDOWS - double click 'superboot-windows.bat'

- MAC - Open a terminal window to the directory containing the files, and type 'chmod +x superboot-mac.sh' followed by './superboot-mac.sh'

- LINUX - Open a terminal window to the directory containing the files, and type 'chmod +x superboot-linux.sh' followed by './superboot-linux.sh'

Note: If you are using a retail device, you may need to unlock the bootloader first, using './fastboot-windows oem unlock' (or the appropriate version for your machine, included in this zip). Note that the OEM unlock sequence wipes your device, so consider doing an 'adb backup' beforehand if required!

Enjoy! :)

P

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

Guest cmberry20
Posted

Thanks Paul!

I'm guessing that when you mean 'Retail' version, you mean N4s that are sold by O2 or T-Mobile.

So the ones sold directly by Google come with the bootloader unlocked - is this right?

Cheers.

  • 1 month later...
Posted

Hi Paul, I've just got my google N4 (at last) and saw your thread on xda. I've left a question on the thread there which I shall repeat here since it may also interest users on this site.

1. How to unroot after using this method ?

Is it simply a matter of fastbooting the stock boot.img ? Could we possibly see a 'superunroot' utility from you that will reverse the changes ?

Guest PaulOBrien
Posted

To unroot, just delete Superuser.apk from /system/app and su from /system/xbin :)

P

Posted

To unroot, just delete Superuser.apk from /system/app and su from /system/xbin :)

P

thanks for the reply Paul. I understand that deleting those files will stop root acess but does that still leave me with an insecure boot or am i totally back to factory ? thanks again..

Guest PaulOBrien
Posted

Superboot doesn't install an insecure boot. By doing that you'll be back to factory!

P

Posted

Superboot doesn't install an insecure boot. By doing that you'll be back to factory!

P

sorry about this, but i'm just trying to learn and understand...someone asked you a question on xda of how this works and your reply was .."The boot image itself remounts system, copies superuser files then reboots back into the stock boot image. Job done"....so if i simply delete the files you mention above but still have superboot r1 on there wouldn't it just re-copy the files back in on the next boot. Your superboot-windows.bat simply does a 'fastboot-windows.exe boot boot.superboot.img', deleting the files you mention has left the superboot.img on there, correct ? or am i missing something here ?

Guest PaulOBrien
Posted

sorry about this, but i'm just trying to learn and understand...someone asked you a question on xda of how this works and your reply was .."The boot image itself remounts system, copies superuser files then reboots back into the stock boot image. Job done"....so if i simply delete the files you mention above but still have superboot r1 on there wouldn't it just re-copy the files back in on the next boot. Your superboot-windows.bat simply does a 'fastboot-windows.exe boot boot.superboot.img', deleting the files you mention has left the superboot.img on there, correct ? or am i missing something here ?

My boot image only ever gets booted, not flashed.

P

Guest timbo347
Posted

I'm not far off being a newbie at rooting phones, having done only a couple of ZTE Blades successfully. So now I'm thinking of rooting my shiny new LG Nexus 4, using Paul's instructions above, and wondering what or how anything might go wrong. Is this a fairly safe project, or should I think again? Any advice would be appreciated.

Thanks - Tim

Guest andysalmon
Posted

I've just rooted my N4. The bootloader was locked and I just could not get the drivers installed to unlock it...we are talking about 6/7 computer reboots and umpteen attempts on the handset, but once that was done it rooted using this program in less than a second. Thanks Paul.

  • 2 weeks later...
Guest Mr.Clark
Posted

Nexus 4 rooted less than 5 mins after getting it out of the box... thanks!

That said, the SuperUser app doesn't appear able to update itself. I get "making sure new su works: fail"

Phone is definitely rooted, as OTA Rootkeeper and RootExplorer work fine. Very strange. Maybe I'll try a manual update of the APK and binary files.

Guest PaulOBrien
Posted

Odd! Keep us posted! I'll probably update the superboot to the latest Superuser app anyway.

P

Guest TouchyAndalou
Posted

This doesn't work for me. When I run './fastboot-windows oem unlock' a black box flashes up and then closes on my PC too fast to see what it says, and running 'superboot-windows.bat' it just constantly says "waiting for device".

Help please?

Guest cmberry20
Posted

Have you loaded the drivers for Nexus 4. You will need them installed for your PC to see your Nexus 4.

btw - its 'Vol Down' + 'Power Button' to get the Nexus 4 into bootloader.

If everything is working ok you should see 'Android Bootloader Interface' in 'Devices & Printers' (Windows 7)

Guest TouchyAndalou
Posted

Have you loaded the drivers for Nexus 4. You will need them installed for your PC to see your Nexus 4.

btw - its 'Vol Down' + 'Power Button' to get the Nexus 4 into bootloader.

If everything is working ok you should see 'Android Bootloader Interface' in 'Devices & Printers' (Windows 7)

It was a driver problem, although I've got it working now. I had to use the program from this guide, which worked perfectly. I highly recommend it as an alternative method for anybody having problems.

I had the same issues trying to unlock my ZTE Skate, although thankfully this wasn't half as bad. Vista just doesn't seem to play nice when it comes to this kind of stuff.

Thanks for your response, though.

  • 2 weeks later...
Posted

Does your superboot solution still work on stock 4.2.2 Paul? Many thanks

Guest PaulOBrien
Posted
??? were you trying to answer my question paul?

Yes, and yes it does!

P

Guest Clark80
Posted

Hi guys, I finally caved and have ordered a Nexus 4. I have sold my old iPhone 4 and will swap out the sim on Monday. The N4 will be coming from 3 network. Am I right in thinking that unlocking it from the network is as simple as using terminal on my Mac and using the oem unlock command? Seems too easy? I will be unlocking and rooting. I prefer standard rom. Reason for rooting is to be able to use any apps I need. Any other tips for an Android convert?

Guest Clark80
Posted

Had another think about this and actually don't need to unlock or root. What I need is to sim unlock only - is this possible.

I have my N7 for root apps

Guest Mr.Clark
Posted

Odd! Keep us posted! I'll probably update the superboot to the latest Superuser app anyway.

P

Sorry, didn't notice you said that.

I never found out what happened, although I did somehow end up with SuperSU and SuperUser installed. SuperSU updates properly, so I've uninstalled SuperUser and it seems happy enough.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.