Answer the question
In order to leave comments, you need to log in
How to get root rights in ADB?
Good afternoon!
We have Nexus 5 on Android 6.0: stock firmware MRA58K, kernel from here , TWRP 2.8.7.1, SuperSU_v2.52.
When trying to get root from the console, we see the following:
cmd> adb root
adbd cannot run as root in production builds
Answer the question
In order to leave comments, you need to log in
Hi all. I have a Chinese phone with a very exotic processor
a bunch of viruses already out of the box. I can’t root ((((
Neither su, nor sudo, nor root.
Here are my futile manipulations
users-iMac:motopocalypse user1$ ./adb devices
List of devices attached
64976194914246 device
users-iMac:motopocalypse user1$ chmod +x ./adb
users-iMac:motopocalypse user1$ chmod +x ./fastboot
users-iMac:motopocalypse user1$ ./adb kill-server
users-iMac:motopocalypse user1$ ./adb wait-for-device
* daemon not running; starting now at tcp:5037
* daemon started successfully
users-iMac:motopocalypse user1$ ./adb shell chmod 755 /data
chmod: chmod '/data' to 40755: Permission denied
users-iMac:motopocalypse user1$ ./adb shell chmod 755 /data/local/tmp/unlock
users-iMac:motopocalypse user1$ ./adb shell su -c /data/local/tmp/unlock
/system/bin/sh: su: not found
users-iMac:motopocalypse user1$ ./adb shell
[email protected]_h1_lt_fsp:/ $ ls data
opendir failed, Permission denied
1|[email protected]_h1_lt_fsp:/ $ ls
acct
bin
cache
charger
config
d
data
default.prop
dev
etc
file_contexts
fstab.sc8830
fstab.tc4_h1_lt_fsp
init
init.environ.rc
init.rc
init.recovery.tc4_h1_lt_fsp.rc
init.sc8830.rc
init.sc8830.usb.rc
init.storage.rc
init.tc4_h1_lt_fsp.rc
init.trace.rc
init.usb.rc
init.zygote32.rc
lib
mnt
oem
proc
productinfo
property_contexts
res
root
sbin
sdcard
seapp_contexts
selinux_version
sepolicy
service_contexts
storage
sys
system
ueventd.rc
ueventd.tc4_h1_lt_fsp.rc
vendor
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question