How to change to root when use adb

#1

Hi Man:
I use khadas with android M(6.0.1), How to change to root account when use adb?? thanks!
image

0 Likes

#2

Write adb shell and then just write su.

S.

0 Likes

#3

It dones not work, Just one more “1” before shell after su + ENTER:
Screenshot from 2017-11-02 17:07:20

0 Likes

#4

Do you have root installed?
S.

0 Likes

#5

Normally Android asks permission for host to (always) connect.
Next SuperSU asks to grant root access
(maybe you need to clear SuperSU table if once denied or timed out).
I have not tried M only N. And only kvim2.

Perhaps also try:
su - root
success.

0 Likes

#6

i am sorry, what do you mean by " root installed"?

0 Likes

#7

so you mean :
step 1: adb shell
step 2: su - root ??
but only do this , not work,
(khadas + android M)

0 Likes

#8

Maybe you should try:
step 1: adb root
step 2: adb shell

0 Likes

#9

Have you flashed supersu?

S.

0 Likes