WebTrickz
TRENDING
  • How to See Your Liked Posts on Instagram 2022
No Result
View All Result
  • News
  • Reviews
  • Social Media
    • Facebook
    • Twitter
    • YouTube
    • Messenger
    • Instagram
    • Snapchat
    • WhatsApp
    • TikTok
  • Apps
  • How To’s
  • Apple
  • iPhone
  • Google
  • Android
  • Mac
SUBSCRIBE
  • News
  • Reviews
  • Social Media
    • Facebook
    • Twitter
    • YouTube
    • Messenger
    • Instagram
    • Snapchat
    • WhatsApp
    • TikTok
  • Apps
  • How To’s
  • Apple
  • iPhone
  • Google
  • Android
  • Mac
No Result
View All Result
WebTrickz
No Result
View All Result
Home Android

How to Root Galaxy Nexus without unlocking Bootloader

Mayur Agarwal by Mayur Agarwal
December 26, 2021
in Android, How To's

Great news for all Samsung Galaxy Nexus users! Until now, there was no possible way to root Galaxy Nexus without unlocking the device bootloader. Even though unlocking the Galaxy Nexus bootloader is not a tricky task as it’s a matter of running one command but what really cumbersome is that unlocking completely wipes the device data. Fortunately, one can easily backup apps & data without rooting in ICS and Jelly Bean and restore the backup later, but still, you need to manually backup all the internal storage data like documents, photos, media, etc. which is certainly not so convenient for everyone. Now, you No More need to worry about unlocking the device just to get root privileges!

efrant, moderator at XDA-Developers forum has posted a step-by-step procedure to root Android devices running ICS and Jelly Bean without unlocking the bootloader. (Root any version of ICS and JB released to date). The main credit goes to Bin4ry, who has managed to find a way to exploit a timing difference in the “adb restore” command that makes it possible. But 1-click root batch script by Bin4ry doesn’t seem to work on Galaxy Nexus, so we will do it via command-line following efrant’s guide.

Note: This does not wipe any data on your device but still it’s recommended to Backup your important data before proceeding. We won’t be responsible for any data loss.

Tutorial – Rooting Galaxy Nexus without unlocking the bootloader

~ This has to be done over ADB, so download and install the USB drivers first for Galaxy Nexus. You can skip this step if ADB drivers are already set up for your Nexus.

1. Download ‘Root-without-unlock.zip’ and extract it to a folder on your desktop.

2. Turn on USB Debugging on your device (Settings > Developer Options > Enable USB Debugging) and connect it to the computer via USB cable.

3. Right-click the folder ‘Root-without-unlock’ while holding down the Shift key, and select ‘Open command window here’.

24-09-2012 17-08-13

4. Command prompt will open up. Enter the command adb devices to confirm that your phone is properly connected over the ADB interface.

5. Now enter the below commands individually to copy the root files (use copy-paste).

adb push su /data/local/tmp/su
adb push Superuser.apk /data/local/tmp/Superuser.apk

6. Enter adb restore fakebackup.ab to restore the fake “backup”.

Note: Do Not Click restore on your device. Just enter the command into the command prompt on your PC and press the enter key.

7. Enter the below command to run the “exploit”.

adb shell “while ! ln -s /data/local.prop /data/data/com.android.settings/a/file99; do :; done”

8. Now that the “exploit” is running, click ‘Restore my data’ on your device. (At this time, CMD will probably show multiple lines saying ‘link failed file exists’).

Important – As you click restore, you should see the restoring notification on your phone screen, and once finished it’ll say ‘restore ended’. If you don’t see this then try again from step #3.

9. Once it finishes, enter adb reboot to reboot your device.

Note: Do Not try and use your device on you reboot. Running this exploit will reboot your device into emulator mode, so it will be laggy and the screen will flicker — this is normal.

24-09-2012 15-34-52

10. Once the phone is rebooted, enter adb shell to open a shell.

Note: Now you should have a root shell, i.e. your prompt should be #, not $. If not, it did not work. (Refer to the image above)

11. Now enter mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system to mount the system partition as r/w.

12. Enter cat /data/local/tmp/su > /system/bin/su to copy su to /system.

13. Enter chmod 06755 /system/bin/su to change permissions on su.

14. Enter ln -s /system/bin/su /system/xbin/su to symlink su to /xbin/su.

15. Enter cat /data/local/tmp/Superuser.apk > /system/app/Superuser.apk to copy Superuser.apk to /system.

16. Enter chmod 0644 /system/app/Superuser.apk to change permissions on Superuser.apk.

17. Enter rm /data/local.prop to delete the file that the exploit created.

18. Enter exit to exit the ADB shell.

19. Type adb shell “sync; sync; sync;”

20. Reboot device using adb reboot

Voila! Your Galaxy Nexus should now be rooted without requiring you to unlock the bootloader. Confirm root access by installing the Root Checker app from Google Play.

>> We’ve tried the above procedure on GSM Galaxy Nexus running Android 4.1.1 JB. This guide probably works with Google Nexus 7 as well, haven’t tried though.

Google may patch this exploit in future updates. Let’s see how long it lasts. 🙂

Source: XDA, Special Thanks to Bin4ry and efrant.

Update: As expected Google has patched this hole starting with JZO54K. So, it will not work for Android 4.1.2 JZO54K or newer.

Tags: AndroidGalaxy NexusGuideRootingTipsTricksTutorialsUnlocking
ShareTweetSend
Previous Post

How to Remove Redirection to prevent click tracking while using Google Search

Next Post

Lock/Unlock Galaxy Nexus Bootloader in 1-click without wiping any data

Mayur Agarwal

Mayur Agarwal

Mayur Agarwal is the founder and editor-in-chief of WebTrickz. As a Technology enthusiast and an Internet addict, he loves sharing useful How To’s and Tips & Tricks.

Next Post

Lock/Unlock Galaxy Nexus Bootloader in 1-click without wiping any data

Comments 7

  1. Pingback: Lock/Unlock Galaxy Nexus Bootloader in 1-click without wiping any data
  2. Pingback: Guide to Unlock Samsung Galaxy Nexus Bootloader
  3. Pingback: Easy Way to Flash franco Kernel on Galaxy Nexus & Nexus 7
  4. Pingback: Android 4.1.2. als Akkukiller - Seite 2 - Android-Hilfe.de
  5. gpshunter says:
    10 years ago

    I tried this on a Chinese Clone Tinji Mobile i9220 MT6575 Chipset..
    Each step executed as shown; but phone remains unrooted.
    Android Version is 4.0.6

    Reply
  6. Blytz1 says:
    10 years ago

    It says: “error: Device offline” what do i do?

    Reply
  7. dfgfg says:
    8 years ago

    error Device offline!!!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Latest Stories

Facebook app on iPhone

How to Find Block List on Facebook App [2023]

January 20, 2023

AimerLab MobiGo Review 2023: An effective Location Changer for iOS

January 14, 2023
whatsapp logo

How to Restore Deleted WhatsApp Messages Without Backup

December 30, 2022
story comments on facebook

How to Turn Off Story Comments on Facebook

December 3, 2022
Photo by Alwin Kroon on Unsplash

How to Turn Vibrate On or Off in iOS 16 on iPhone 

November 25, 2022
reels on Instagram and Facebook

Here’s how you can See Reels Views on Facebook

November 23, 2022

7 Best Free Online Puzzles To Enjoy At Home

November 21, 2022

TRENDING

  • Facebook saved reels

    How to Find Your Saved and Liked Reels on Facebook

  • How to Reply to a Specific Message on Instagram 2022

  • How to Mute the Original Sound on Instagram Reels

  • How to Send Files and Documents on Messenger for Android

  • How to Make Spotify Album Art Bigger on iOS 16 Lock Screen

Popular Tags

Google Android Chrome

Twitter Dark Mode OnePlus

iPhone Apple Apps Mac

Facebook Messenger Security

Instagram Tutorials Photos

  • About
  • Advertise
  • Contact
  • Privacy Policy

© 2023 WebTrickz. All Rights Reserved.

No Result
View All Result
  • News
  • Reviews
  • Apps
  • How To’s
  • Android
  • Google
  • iPhone
  • Mac
  • Contact Us

© 2023 WebTrickz. All Rights Reserved.