Jailbreak: Root almost any Android device with Mac OS

  • Post published:January 1, 2014

Root almost any Android device:

1. Download Android SDK:

  • https://developer.android.com/sdk/index.html

2. Launch Android SDK Manager:

  • cd /your-android-sdk-macosx-folder/sdk/tools
  • ./android sdk

2.1. Install from Android SDK Manager:

  • “Android SDK Platform-tools”

Bildschirmfoto 2014-01-01 um 19.02.15

3. Check for adb and fastboot in your platform-tools folder:

  • cd /your-android-sdk-macosx-folder/sdk/platform-tools
  • ls  Bildschirmfoto 2014-01-01 um 19.09.20

4. Download Android File Transfer:

  • http://www.android.com/filetransfer/
    Bildschirmfoto 2014-01-01 um 19.15.00

4.1 Install Android File Transfer

5. Download Custom Recovery ClockworkMod or TWRP TeamWin Recovery ROM

  • http://www.clockworkmod.com/rommanager
  • http://teamw.in/project/twrp2
    Bildschirmfoto 2014-01-01 um 19.20.07
  • Download Recovery or Recovery Touch (recommended for touch-input support while jailbreaking)

6. Download SuperUser SU

  • Download latest SuperSu Version @xda-developers.com
  • http://lmgtfy.com/?q=supersu+download
  • We need the CWM installable ZIP
    Bildschirmfoto 2014-01-01 um 19.27.35

7. Copy ClockworkMod & SuperSU into /your-android-sdk-folder/sdk/platform-tools/

8. Connect Android device to MAC USB

9. Check your Android device to have USB debugging enabled

  • Settings -> Developer options -> USB debugging (enable it)
  • [HINT] Make Developer options visible:
    Settings -> About phone -> (Hit) Build number (7 times or till it tells you that you are a developer now)

10. Check USB devices attached

  • cd  /your-android-sdk-folder/sdk/platform-tools/
  • ./adb devices
    Bildschirmfoto 2014-01-01 um 19.52.22

11. Make sure you are at /your-android-sdk-folder/sdk/platform-tools/

12. Unlock bootloader:

  • ./adb reboot bootloader
    IMG_0392
  • ./fastboot oem unlock
    Foto
    It will tell you that its erasing user data, cache and finishes:
    Bildschirmfoto 2014-01-01 um 20.00.43
  • [HINT] navigate with Volumes buttons and Select pressing Power button
  • LET THE DEVICE REBOOT TO ANDROID AND SET IT UP
  • COPY the UPDATE_SuperSU.x.x.x.zip to the Root of your device using Android File Transfer

13. Flashing ClockworkMod or TWRP:

  • ./fastboot reboot-bootloader
    Bildschirmfoto 2014-01-01 um 20.08.09
  • ./fastboot flash recovery <replace this with your recover-image-name.img in your platform-tools folder>
    Bildschirmfoto 2014-01-01 um 20.11.09
  • ./fastboot reboot-bootloader
  • Press Volumes button UP/DOWN to enter Recovery Mode -> Press POWER button to enter Recovery Mode
  • Go to “mounts and storage”
  • Hit “- mount system” so it shows  “- unmount system”
  • Backup recover-from-boot.p
    ./adb shell
    cd /system
    mv recover-from-boot.p recover-from-boot.bak
  • cd /
  • [DEVICE] Hit “+++Go Back+++”
  • [DEVICE] Hit “reboot system now”
  • [DEVICE] Recovery-boot will be flashed: Fix? Hit Yes
  • [DEVICE] Root access is missing. Root device? THIS CAN NOT BE UNDONE. Hit Yes
  • CWM & TWRP: select install and browse for SuperSU.zip to be installed

Finally your got your Android device rooted!

Helpful links:
TWRP Recovery: http://teamw.in
CWM Recovery: http://www.clockworkmod.com/rommanager
AFT: http://www.android.com/filetransfer/
SDK: https://developer.android.com/sdk/index.html
STOCK ROM (Take care of Baseband in bootloader): https://developers.google.com/android/nexus/images?hl=de