ADB problem when installing SuperSU on Galaxy S6 Active

Solution
Where fix root bat file is present. Right click anywhere(just not on files) and select "Open command window here"
on command windows type "fix_root.bat"
If that doesn't work again open command window in same way as above and type all "adb" related commands manually
like,

Code:
adb push G890A /sdcard/

if you get error this time show me that.

shahbaz200

Distinguished
Apr 20, 2012
392
0
18,960
So your phone model is G890A?
What android version you have?
I am unaware of the recovery file it is using.
When you run FIX_ROOT.bat, right click on it and run as administrator.
If it doesn't works try replacing "/sdcard/" with "/storage/emulated/0/"

If it doesn't works, instead of pushing G890A, paste contents of G890A into your internal storage by PC and delete that push line from bat file. Reboot to recovery and try again.
 

SniperZvi

Commendable
Aug 7, 2016
17
0
1,520
@echo off
cls
echo --- µÈ´ýÉ豸Á´½Ó
echo
pause
adb push G890A /sdcard/
adb shell cp -R /sdcard/supersu /sbin/
adb shell cp /sdcard/install-su.sh /sbin/
adb shell /system/bin/sh /sbin/install-su.sh
adb reboot
pause

that you script... pause meaning after he has end run... he leave cmd session open... you can upload pic of that screen.

use please that new script i had change for you


cls
echo --- To start install Press Enter.
echo
pause
adb push G890A /sdcard/
adb shell cp -R /sdcard/supersu /sbin/
adb shell cp /sdcard/install-su.sh /sbin/
adb shell /system/bin/sh /sbin/install-su.sh
adb reboot
pause

1 last thing, open folder G890A in you pc, edit file install.sh, copy and paste here. I am want to see what script do.
 

Kohwali

Reputable
Jun 15, 2014
1,037
0
5,660


Yes



5.1.1, people in the forum said that it would work with the 5.0.2 root files



http://www.mediafire.com/download/3zz9l6gf5753jjc/Recovery_COMBINATION_G890A.tar



Didn't work for me, unfortunately. :??:
 

SniperZvi

Commendable
Aug 7, 2016
17
0
1,520
kohwall:

you kidding?? See Here...
I ran your script and got this: http://image.prntscr.com/image/a87c494475b1433b949e4591...

you try to copy that folder from C:\Windows\system32... the folder there?

I will give you a full solution and end with that.


here the script

cls
echo --- To start install Press Enter.
echo
pause
adb push %~dp0G890A /sdcard/
adb shell cp -R /sdcard/supersu /sbin/
adb shell cp /sdcard/install-su.sh /sbin/
adb shell /system/bin/sh /sbin/install-su.sh
adb reboot
pause

next... install that.
https://androiddatahost.com/upload/M1b9d

and last thing.

put the folder "G890A" beside fix_root.bat and check if all that file exist in "G890A" (supersu and install.sh)

run end enjoy.

 

shahbaz200

Distinguished
Apr 20, 2012
392
0
18,960
Where fix root bat file is present. Right click anywhere(just not on files) and select "Open command window here"
on command windows type "fix_root.bat"
If that doesn't work again open command window in same way as above and type all "adb" related commands manually
like,

Code:
adb push G890A /sdcard/

if you get error this time show me that.
 
Solution

Kohwali

Reputable
Jun 15, 2014
1,037
0
5,660


This worked. Thanks to both of you! Now I'm trying to flash gapps with no luck.