New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to update su binary with TeamWin Recovery (TWRP) #216

Open
x3rAx opened this Issue Dec 10, 2013 · 3 comments

Comments

Projects
None yet
3 participants
@x3rAx

x3rAx commented Dec 10, 2013

Superuser requests for a su binary update, but when I choose to update via recovery, my phone reboots into recovery and does nothing else.
This is because I use TWRP and the update process was designed to work with Clockwork Mod recovery.

Device: HTC One (m7)
ROM: Android Revolution HD 40.3
Recovery: Team Win Recovery Project v2.6.3.3

@x3rAx

This comment has been minimized.

x3rAx commented Mar 22, 2014

Workaround:

Using Custom Recovery

  • Start Superuser app
  • When asked to update, select update via recovery
  • Wait until the phone booted to recovery
  • Manually install /cache/superuser.zip

Using Flash Gordon

!!! ATTENTION !!! I just stumbled about it and have no idea if and how it works.

Manual (no need for installed custom recovery)

  • Download superuser.zip to your sd-card
  • Download TWRP or CWM recovery image for your device to your computer (e.g. to your Downloads folder)
  • Install the Android SDK if you not already have or look for a lightweight version of ADB + Fastboot (this tutorial might be useful)
  • Open a shell / command prompt (Windows: [Windows] + [R] -> cmd -> [Enter])
  • Go to the location where you downloaded the recovery image: cd ~/Downloads (Windows: cd %USERPROFILE%\Downloads)
  • Make sure you have enabled ADB / USB-Debugging on your device and type adb devices to test if your device is recognized
  • Enter adb reboot bootloader. Your phone should now boot to to bootloader.
  • On your phone, you should now see a view green lines and a red line displaying FASTBOOT USB
  • Type fastboot devices to see if your device is listed
  • Now we start the recovery image without flashing it: fastboot boot <name-of-recover>.img
  • If everything works, you should now have a recovery and can flash /sdcard/superuser.zip

Hope this helps :)


This seems to be related to: #214, #185, #174, #233

@hsanjuan

This comment has been minimized.

hsanjuan commented Aug 22, 2015

I should say that I can flash the superuser.zip following the procedure above, but the app will keep complaining after reboot that it needs to be installed (Lollipop, BQ Aquaris 4.5). TWRP will also complain that the device is not rooted and will ask to install sudosu

@ildar

This comment has been minimized.

ildar commented Aug 22, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment