1. Download our Official Android App: Forums for Android!

URGENT! Can't fix SU binaries via flash or flash TWRP?

Discussion in 'Android Rooting' started by TaahaaYunis, Jul 13, 2016.

  1. TaahaaYunis

    TaahaaYunis Newbie
    Thread Starter
    Rank:
    None
    Points:
    18
    Posts:
    19
    Joined:
    Jul 13, 2016

    Jul 13, 2016
    19
    12
    18
    Male
    Bristol, United Kingdom
    So there's an issue I've been having and it's really been starting to bug me. I've got a half broken root which wont let me install, remove or do anything with root because of missing SuperSU binaries even after using almost all methods out there. I learnt of a way to do it by flashing the recovery with the SuperSU zip file which will fix root and install the latest version but there's a big issue, I can't flash the zip because recovery mode only gives me the option of doing it by SD which my phone doesn't have. It's only on internal storage. So I tried to flash TWRP like twice but the stock rom keeps replacing it and I have no way of getting around it. Is there anyone who can help with this?

     

    Advertisement

  2. Jfalls63

    Jfalls63 Android Expert
    Rank:
     #30
    Points:
    818
    Posts:
    4,130
    Joined:
    May 15, 2015

    May 15, 2015
    4,130
    3,052
    818
    Male
    Electrician
    Satsuma,Alabama
    What brand and model device do you have?
    How did you root?
     
    scary alien likes this.
  3. scary alien

    scary alien not really so scary
    Moderator
    Rank:
     #8
    Points:
    2,138
    Posts:
    22,293
    Joined:
    Mar 5, 2010

    Mar 5, 2010
    22,293
    23,645
    2,138
    Male
    space alien ;)
    Indy
    Looks like the OP has a Samsung Galaxy S6 Edge+.

    Welcome to AF, @TaahaaYunis :).

    There's some "how-to" rooting threads over at XDA, but it doesn't necessarily look straight-forward (I'm not a Samsung guy, so I'm not much help here :p).
     
  4. TaahaaYunis

    TaahaaYunis Newbie
    Thread Starter
    Rank:
    None
    Points:
    18
    Posts:
    19
    Joined:
    Jul 13, 2016

    Jul 13, 2016
    19
    12
    18
    Male
    Bristol, United Kingdom
    Yeah I've checked XDA but getting replies there are a bit difficult so I'm trying as many support threads as I can, I think I rooted the normal way by installing SuperSU and using Odin and then I had to do an update which wouldn't work so I had to get rid of root and then I tried to get it back which never worked. Now I'm trying to re-root it for some things and now I'm getting the SU binaries issue and I can't flash it from the recovery mode because it's on SD only and my phone doesn't have SD capability only internal. TWRP keeps getting overwritten by the stock rom and I have no idea how to fix it.
     
  5. Jfalls63

    Jfalls63 Android Expert
    Rank:
     #30
    Points:
    818
    Posts:
    4,130
    Joined:
    May 15, 2015

    May 15, 2015
    4,130
    3,052
    818
    Male
    Electrician
    Satsuma,Alabama
    Not sure if this will help you but In TWRP, you can flash from OTG as well. I have used dual USB thumb drives for this. They have standard 2.0 on one end and micro on the other. Also
    adapters are available.
     
    scary alien likes this.
  6. TaahaaYunis

    TaahaaYunis Newbie
    Thread Starter
    Rank:
    None
    Points:
    18
    Posts:
    19
    Joined:
    Jul 13, 2016

    Jul 13, 2016
    19
    12
    18
    Male
    Bristol, United Kingdom
    Yeah if I had twrp everything would be fine cause I'd just be able to flash from internal memory but that's the thing the stock rom keeps overwriting the twrp recovery and I can't use it. Is there any way to stop the stock rom from overwriting twrp so I can have twrp as my recovery? Cheers.
     
  7. scary alien

    scary alien not really so scary
    Moderator
    Rank:
     #8
    Points:
    2,138
    Posts:
    22,293
    Joined:
    Mar 5, 2010

    Mar 5, 2010
    22,293
    23,645
    2,138
    Male
    space alien ;)
    Indy
    Is there the same mechanism on Samsung devices as many Nexus devices?

    I.e., the /system/recovery-from-boot.p file triggers this behavior to re-write the stock recovery on reboot.

    The catch-22 here is that if you aren't rooted, you can't rename that file...
     
    svim likes this.
  8. TaahaaYunis

    TaahaaYunis Newbie
    Thread Starter
    Rank:
    None
    Points:
    18
    Posts:
    19
    Joined:
    Jul 13, 2016

    Jul 13, 2016
    19
    12
    18
    Male
    Bristol, United Kingdom
    Yeah so I'm kind of stuck, I can't root without twrp and I can't flash twrp because I need root I need some sort of way to stop the twrp from being overwritten without having to need root. I really don't know what to do but I heard there's a method of flashing the SuperSU zip by adb but I have no idea how to use it.
     
  9. Jfalls63

    Jfalls63 Android Expert
    Rank:
     #30
    Points:
    818
    Posts:
    4,130
    Joined:
    May 15, 2015

    May 15, 2015
    4,130
    3,052
    818
    Male
    Electrician
    Satsuma,Alabama
    When installing TWRP with Odin, be sure to uncheck Auto Reboot in options.
    When flash is finished and you get a Pass with Odin, unplug phone and use the button combo to reboot into TWRP . Once in TWRP, flash the SuperSU zip then TWRP recovery should stick.
     
    svim and scary alien like this.
  10. Jfalls63

    Jfalls63 Android Expert
    Rank:
     #30
    Points:
    818
    Posts:
    4,130
    Joined:
    May 15, 2015

    May 15, 2015
    4,130
    3,052
    818
    Male
    Electrician
    Satsuma,Alabama
  11. TaahaaYunis

    TaahaaYunis Newbie
    Thread Starter
    Rank:
    None
    Points:
    18
    Posts:
    19
    Joined:
    Jul 13, 2016

    Jul 13, 2016
    19
    12
    18
    Male
    Bristol, United Kingdom
    I flashed it with odin without the auto reboot and it's still on download mode, when I hold Power+VolumeUp+Home it wont do anything which is meant to be the combo to get into recovery, only the combo for going into Download mode works and gives me the option to reboot which I'll try now but I'm assuming it's only going to overwrite the twrp again
     
  12. TaahaaYunis

    TaahaaYunis Newbie
    Thread Starter
    Rank:
    None
    Points:
    18
    Posts:
    19
    Joined:
    Jul 13, 2016

    Jul 13, 2016
    19
    12
    18
    Male
    Bristol, United Kingdom
    Yeah it hasn't worked, the phone rebooted and then I turned it off and went into recovery and it said "Applying system update" like it always does and now it's back into the stock recovery mode..
     
  13. Jfalls63

    Jfalls63 Android Expert
    Rank:
     #30
    Points:
    818
    Posts:
    4,130
    Joined:
    May 15, 2015

    May 15, 2015
    4,130
    3,052
    818
    Male
    Electrician
    Satsuma,Alabama
    From the phone off, can you boot into stock recovery with the button combo?
     
  14. TaahaaYunis

    TaahaaYunis Newbie
    Thread Starter
    Rank:
    None
    Points:
    18
    Posts:
    19
    Joined:
    Jul 13, 2016

    Jul 13, 2016
    19
    12
    18
    Male
    Bristol, United Kingdom
    Yeah after flashing it in download mode the phone only gives me the option to reboot, when it turns on I turn it off again and then boot into recovery to find that it's still the stock recovery
     
  15. Jfalls63

    Jfalls63 Android Expert
    Rank:
     #30
    Points:
    818
    Posts:
    4,130
    Joined:
    May 15, 2015

    May 15, 2015
    4,130
    3,052
    818
    Male
    Electrician
    Satsuma,Alabama
    Flash TWRP again with Auto Reboot unchecked. Unplug phone and press and hold power button only till phone turns off then hold volume up and home before it starts to reboot.
     
    scary alien likes this.
  16. TaahaaYunis

    TaahaaYunis Newbie
    Thread Starter
    Rank:
    None
    Points:
    18
    Posts:
    19
    Joined:
    Jul 13, 2016

    Jul 13, 2016
    19
    12
    18
    Male
    Bristol, United Kingdom
    Holding the power button only while still on download mode does nothing, it doesn't do anything. I'm going to try rebooting it from download mode and then trying to enter recovery during the reboot to see if that could work.
     
  17. TaahaaYunis

    TaahaaYunis Newbie
    Thread Starter
    Rank:
    None
    Points:
    18
    Posts:
    19
    Joined:
    Jul 13, 2016

    Jul 13, 2016
    19
    12
    18
    Male
    Bristol, United Kingdom
    No, it doesn't work, I've tried rebooting it since it's my only option and it wont go into recovery during reboot. TWRP hasn't been successfully flashed either as I've just checked again and the stock rom has overwritten it again.
     
  18. Jfalls63

    Jfalls63 Android Expert
    Rank:
     #30
    Points:
    818
    Posts:
    4,130
    Joined:
    May 15, 2015

    May 15, 2015
    4,130
    3,052
    818
    Male
    Electrician
    Satsuma,Alabama
    Not sure why your device is being stubborn. It's normal for the stock recovery to overwrite TWRP on first reboot. The normal way to overcome this is to uncheck Auto Reboot in Odin then to boot into recovery mode with the button combo then flash the SuperSU update zip. Once that is done, TWRP sticks.
    I have never tried but you might be able to use ADB command to reboot into recovery after you flash TWRP and still in download mode.
    @scary alien, what do you think?
     
    scary alien likes this.
  19. svim

    svim Android Expert
    Rank:
     #45
    Points:
    608
    Posts:
    3,745
    Joined:
    Dec 19, 2013

    Dec 19, 2013
    3,745
    2,787
    608
    Illinois
    How long did you hold down the power button? Your phone should power itself off when you hold it down long enough. It may take several seconds.

    When Odin shows you that 'Pass' flag, you want to initiate a manually induced shutdown. You need to force your phone to turn off, you don't want to allow your phone any time to run through its normal shut down procedure (timing is important) -- that cursed recovery-from-boot.p script will run, replacing the TWRP Recovery you just implemented with the original Recovery.
     
    Jfalls63 likes this.
  20. TaahaaYunis

    TaahaaYunis Newbie
    Thread Starter
    Rank:
    None
    Points:
    18
    Posts:
    19
    Joined:
    Jul 13, 2016

    Jul 13, 2016
    19
    12
    18
    Male
    Bristol, United Kingdom
    As soon as I saw "Pass" in Odin I took the cable out of my phone and held the power button down for about a minute and it still didn't turn off.. I know about the ADB driver method but I've never used it and I don't understand how to do it. I've also heard that your device needs to be rooted for that but that's what I'm trying to do so I can flash TWRP and then the SuperSU to fix the Binaries issue.
     
  21. TaahaaYunis

    TaahaaYunis Newbie
    Thread Starter
    Rank:
    None
    Points:
    18
    Posts:
    19
    Joined:
    Jul 13, 2016

    Jul 13, 2016
    19
    12
    18
    Male
    Bristol, United Kingdom
    I've done a force shutdown before when my phone has been having issues but I don't know why it wont work. I'll have another go now.
     
  22. Jfalls63

    Jfalls63 Android Expert
    Rank:
     #30
    Points:
    818
    Posts:
    4,130
    Joined:
    May 15, 2015

    May 15, 2015
    4,130
    3,052
    818
    Male
    Electrician
    Satsuma,Alabama
    What is your exact model number. I'm thinking maybe using CF Auto Root to gain root access then Rasher Flasher or Flashify to install TWRP.
     
    scary alien likes this.
  23. scary alien

    scary alien not really so scary
    Moderator
    Rank:
     #8
    Points:
    2,138
    Posts:
    22,293
    Joined:
    Mar 5, 2010

    Mar 5, 2010
    22,293
    23,645
    2,138
    Male
    space alien ;)
    Indy
    Hmm, if you're still in Odin (which I am woefully ignorant about), and not in "normal" Android or in custom recovery, I don't think they'll be an adb server running to communicate with via adb.

    :(
     
  24. TaahaaYunis

    TaahaaYunis Newbie
    Thread Starter
    Rank:
    None
    Points:
    18
    Posts:
    19
    Joined:
    Jul 13, 2016

    Jul 13, 2016
    19
    12
    18
    Male
    Bristol, United Kingdom
    I dunno if trying to root it like that will work because I'm having the issue where the binaries are missing and SuperSU can't fix it or something like that. That's the reason why I'm trying to flash TWRP to my device so I can flash the SuperSU ZIP from internal storage because stock recovery doesn't allow it through internal, only SD.
     
  25. TaahaaYunis

    TaahaaYunis Newbie
    Thread Starter
    Rank:
    None
    Points:
    18
    Posts:
    19
    Joined:
    Jul 13, 2016

    Jul 13, 2016
    19
    12
    18
    Male
    Bristol, United Kingdom
    Nah I'm not in recovery right now or Odin, I'm about to try flashing TWRP again and do what @svim told me to do again.
     
  26. Jfalls63

    Jfalls63 Android Expert
    Rank:
     #30
    Points:
    818
    Posts:
    4,130
    Joined:
    May 15, 2015

    May 15, 2015
    4,130
    3,052
    818
    Male
    Electrician
    Satsuma,Alabama
    You just did. Happy Flashing!
     
    Bg260, svim and scary alien like this.

Share This Page

Loading...