Wednesday, March 5, 2014

Why can not the adb shell su entered?


In the windows command line after the adb shell su Why can not operate, and can only ctrl + c interrupt execution?<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Because there is no access to root the new ah
Reply:
Not like that, has become the # prompt, but can not input characters.
Reply:
Also met the same problem, ask the landlord how to solve ah

Reply:
Solving the landlord
Reply:
It should be a bug, you first enter adb shell appears you enter $ su
Reply:
ls said method can obtain root privileges, but I want to write a batch before, it can not be re-entered adb shell su, but I did not find the cause, convoluted way. . .
Reply:
Are also encountered this problem
Reply:
adb shell "su-c 'sleep 1'"
adb start-server
adb push ....
Reply:
The phone should ask you to allow or deny it
Reply:
This is because the implementation of su, the current user has changed so the back will not be executed, as long as this situation will require root privileges command such as "mount xxx" into su-c "mount xxx", after the implementation will switch back to the original user, the script will not interrupt the execution of the

No comments:

Post a Comment