1. Are you ready for the Galaxy S20? Here is everything we know so far!

[Script] Replace KingoRoot with SuperSU

Discussion in 'Android Devices' started by bakageta, May 17, 2015.

  1. ITZMERY4N

    ITZMERY4N Newbie

    Yes I downloaded 1.2 three times and it did the same thing
     



    1. Download the Forums for Android™ app!


      Download

       
  2. bakageta

    bakageta Member
    Thread Starter

    Sorry for the slow reply, holiday weekend. Are you using adb's shell or a terminal app? If a terminal app, which one? Not that it should matter, but are you on a 7040T or 7040N? Can you type this command into terminal and paste / screenshot the results?

    Code (Text):
    1. ls -la
     
  3. ITZMERY4N

    ITZMERY4N Newbie

    I tried using different terminal apps and I'm on 7040N
     
  4. bakageta

    bakageta Member
    Thread Starter

    I added some basic status text to the scripts, grab the latest version and let's see what it spits out.

    If all goes well, you should see something like this after running the scripts.

    step0.sh
    Code (Text):
    1. Mounting /system r/w...
    2. Copy SuperSU daemon...
    3. Start SuperSU daemon...
    4. ........................................................................
    5. If this finished without errors, uninstall KingRoot and install SuperSU.
    step1.sh
    Code (Text):
    1. Restoring SuperSU binary...
    2. Cleaning up KingRoot leftovers that prevent SuperSU from updating...
    3. .............................................................................
    4. 1-2 errors are ok, 10+ are not. Run SuperSU and update binary normally if ok.
    If you get anything different, take a screenshot of it and post it, or copy/paste the exact text, and I'll see what went wrong.
     
    jessica_snz likes this.
  5. ITZMERY4N

    ITZMERY4N Newbie

    this is what happened after step0.sh
     

    Attached Files:

  6. bakageta

    bakageta Member
    Thread Starter

    Well, that's a new one. Text file busy says that daemonsu is currently running, and after the "If this finished without errors" line, I don't see you launched another script, so I'm not sure where that's coming from, it's not part of any of my scripts.

    Let's step back. You currently have the KingUser app, plus the two other random related apps installed, right?. Do you also have SuperSU or any other superuser app installed? Did you try to install SuperSU after step0, before you uninstalled KingUser? It seems like two su's are fighting it out. Either way, we can nuke it all from orbit and just manually push SuperSU if things don't want to play nice.
     
  7. ITZMERY4N

    ITZMERY4N Newbie

    I had supersu installed but wouldn't update so I uninstaled it. And yea king root and king user is installed
     
  8. ITZMERY4N

    ITZMERY4N Newbie

    I also have apps that use kinguser
     
  9. bakageta

    bakageta Member
    Thread Starter

    Was SuperSU installed when you tried to run step0? That'd probably cause those errors. If you've uninstalled SuperSU, you should be set to reboot and start fresh, with no daemonsu loaded. From there you should be able to just follow the steps, step0, use KingUser to revoke root, uninstall the other two king apps, install SuperSU from the play store, step1, and then run SuperSU - assuming no errors. If you get errors, screw it, we'll just do it manually and kill them both... :p Just leave a rooted terminal up.
     
    chanoc likes this.
  10. ITZMERY4N

    ITZMERY4N Newbie

    Super su was installed te very first time I ran it but it has been in installed since the first script u put up
     
  11. bakageta

    bakageta Member
    Thread Starter

    Have you rebooted since then? If not, the daemon was probably still loaded. Other than daemonsu already running, the first script didn't throw errors, so the rest should work fine. If rebooting still throws a daemonsu error in step0, we'll just manually kill the existing one and replace it with ours, and be on our way.
     
  12. ITZMERY4N

    ITZMERY4N Newbie

    Iv rebooted my phone like 20 times since then
     
  13. ITZMERY4N

    ITZMERY4N Newbie

    Well apperintly super su is installed as a system applies and won't delete. It only has update and when I do it says uninstall then goes back to update
     
  14. bakageta

    bakageta Member
    Thread Starter

    Ignore that, typing a new answer... :p

    (edit)
    That should be less of a problem then. Is system still writeable? We're going to skip step0, since that's just there to make system writeable and let SuperSU's daemon stay running. If you've rebooted or aren't sure if system is writeable, get a root shell and just type:
    Code (Text):
    1. mount -w -o remount /system
    Keep the terminal open, and pretend like you just finished step0. Open KingUser, go to settings, and uncheck options then revoke root privs. Ignore SuperSU for now, go back to the terminal, and run step1. If it's mostly successful, open SuperSU and see if it can update now. If it can't, try running step0 one last time, then trying SuperSU. If that still fails, we'll install it manually.

    If you're curious about what's going on and why this is a pain for you, it's because KingRoot doesn't like SuperSU and is fighting it. This is why we normally wouldn't install SuperSU until after KingRoot is gone, but it's not the end of the world, just something the script doesn't account for. As long as that root shell is open, you could completely remove SuperSU, KingRoot, and all su binaries and still get root back fairly easily - I goofed when experimenting and did this.
     
    #39 bakageta, May 25, 2015
    Last edited: May 25, 2015
  15. ITZMERY4N

    ITZMERY4N Newbie

    This is what happened
     

    Attached Files:

  16. bakageta

    bakageta Member
    Thread Starter

    Step1 looks good, a few errors happen because I was overzealous with what it removes. Annoying that SuperSU doesn't want to update, but no matter. Run manualsucopy.sh, and check SuperSU again.
     
  17. ITZMERY4N

    ITZMERY4N Newbie

    This happened
     

    Attached Files:

  18. bakageta

    bakageta Member
    Thread Starter

    ... I swear I don't know how I manage to mangle the newlines half the time. Replace it with this file, no need to run any of the other steps again.
     
  19. ITZMERY4N

    ITZMERY4N Newbie

    Text file busy
     

    Attached Files:

  20. bakageta

    bakageta Member
    Thread Starter

    Check the filesize on su, let's see if it's the right one.
    Code (Text):
    1. ll /system/xbin/su
    It should be 75364 bytes. If so, great, try SuperSU. If not, guess we'll have to kill it and replace it.
     
  21. ITZMERY4N

    ITZMERY4N Newbie

    I rebooted but it says superuser has not biary installed and terminal won't load any commands. But super user asks to grant permissions
     
  22. ITZMERY4N

    ITZMERY4N Newbie

    Su?
     

    Attached Files:

  23. ITZMERY4N

    ITZMERY4N Newbie

    my file system wont mount as R/W iv tryed about everything i could find. i dont know what else to do.
     
  24. chanoc

    chanoc Newbie

    I just want to thanks to bakageta for the script (Kingo.to.SuperSU.v1.2) this vesion works great on my 7040N rooted w/www.kingroot.net I have try it a few times already, thru my computer and terminal emulator w/no problems. thanks once again for you good work.:)
     
  25. ITZMERY4N

    ITZMERY4N Newbie

    How exactly did you do it. It isn't working for me and a have the same phone.
     

Alcatel OneTouch Fierce 2 Forum

The Alcatel OneTouch Fierce 2 release date was September 2014. Features and Specs include a 5.0" inch screen, 5MP camera, 1GB RAM, processor, and 2000mAh battery.

September 2014
Release Date
0
Reviews
Loading...

Share This Page

Loading...