0

Can't overwrite su file in /system/bin/ my stupid classmate put a prank on me and inserted a different su binary coming from his linux pc instead of the already existing su in /system/xbin/

I want to overwrite it myself since even him can't do it

here's the adb shell su return:

/system/bin/su: not executable: magic 7F45

Is there a way to replace this one with the already existing su in /system/xbin/? I've been trying to chmod the su overwritten su file for 3 months now.. I can't even chown cause IDK what are the users and IDK how to list all of them. Help. Thanks in advance.

P.S.

-can't load custom rom since I'm still on the way of rooting phone

-can't load stock rom for I'm using a very rare tablet (Arc Mobile 727M) can't find a good alternative for stock rom

6
  • What is the device? Maybe you can get around it if you can flash a stock ROM Sep 18, 2015 at 8:26
  • Arc Mobile 727M (one with the TV, and Dual Sim) Sep 18, 2015 at 9:02
  • Has it a custom recovery installed? If so, have you tried from there?
    – Izzy
    Sep 18, 2015 at 9:03
  • like I said I can't since I'm still on my way of rooting it... I asked my classmate to install the custom recovery but instead put a prank on me -_- also a custom recovery won't actually replace the overwritten su without a custom rom or stock rom Sep 18, 2015 at 9:07
  • Can't you specifically run adb ./system/xbin/su?That should work. Sep 18, 2015 at 9:30

1 Answer 1

2

Andrew, if su binary in xbin is proper, then run,

adb shell
/system/xbin/su -c mv /system/bin/su /system/bin/su-dead

then reboot and open terminal emulator and run su.

Did this device come pre-rooted? If not then what prevents you from repeating the process you used to root?

1
  • no it's not pre-rooted, thanks btw rooted my phone already... Sep 19, 2015 at 0:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .