ClockworkMod Recovery Method:
- Download working ClockworkMod recovery by fkrone from HERE.
- Enable Android Debugging from Settings > Developer Options. (If you can't find developer options, go to 'About' and tap 'Build number' seven times.)
- Connect the device to your computer via USB, and install the required drivers (Thanks Stryder5).
- Download the recovery flashable SuperSU package with Busybox and transfer it to your phone's internal SD card.
- Reboot into fastboot/bootloader:
Code:
adb reboot bootloader
You can also power off the phone and then use power + volume-down key combination to get into bootloader. - Unlock the bootloader if you haven't done so already. WARNING: This command will wipe all data on your device.
Code:
fastboot oem unlock
- Enter this command in a command prompt (making sure you are in the directory where you downloaded the recovery file):
Code:
fastboot boot cwm-recovery-mako.img
- Now boot into recovery by pressing volume-up or volume-down twice to select the recovery option, and then the power button to enter it.
- Once in recovery, take a backup to be on the safe side.
- Flash the downloaded SuperSU and busybox package zip file from recovery.
- Clear cache and dalvik cache just in case (not required but won't hurt).
- Reboot the device.
ADB and Insecure Boot Image Method:
- Grab the insecure boot image by Harry GT-S5830 from this thread.
- Also download these root files. This package includes the latest SuperSU 0.98 (all credits to Chainfire), latest su binary that comes with it, and working busybox (not sure if latest).
- Extract the contents of the downloaded zip file to your computer.
- Enable Android Debugging from Settings > Developer Options. (If you can't find developer options, go to 'About' and tap 'Build number' seven times.)
- Connect the device to your computer via USB, and install the required drivers (Thanks Stryder5).
- Reboot into fastboot/bootloader:
Code:
adb reboot bootloader
You can also power off the phone and then use power + volume-down key combination to get into bootloader. - Unlock the bootloader if you haven't done so already. WARNING: This command will wipe all data on your device.
Code:
fastboot oem unlock
- Get back into bootloader mode and boot into the downloaded insecure boot image:
Code:
fastboot boot boot.img
Don't worry, this will not replace your existing boot image and will only boot from the insecure one once.
If it does NOT work for you and you get stuck in a boot loop, simply reboot your phone into bootloader and use the above command again. Some users had issues with booting from it the first time, but a second attempt worked. - Once booted into Android successfully using the insecure boot image,
simply enter these commands one by one in command prompt (making sure
you are in the directory where you downloaded the files):
Code:
adb shell mount -o remount,rw /system adb push su /system/bin/ adb push Superuser.apk /system/app/ adb push busybox /system/xbin/ adb shell chmod 06755 /system/bin/su chmod 0644 /system/app/Superuser.apk chmod 04755 /system/xbin/busybox cd /system/xbin busybox --install /system/xbin/ exit exit
- Reboot your device.
Hiç yorum yok:
Yorum Gönder