By antoinepl514


2019-10-13 19:44:14 8 Comments

so far I have put my android device in ftm mode i have tried from adb sideload now i am trying with busybox ash

I'm able to run ls but anything else says permission denied or error:closed.

/ $ ls
acct
cache
charger
config
d
data
default.prop
dev
etc
file_contexts
firmware
fstab.qcom
icon_ftm.png
init
init.class_main.sh
init.environ.rc
init.ftm.rc
init.mdm.sh
init.offcharge.rc
init.qcom.bms.sh
init.qcom.class_core.sh
init.qcom.early_boot.sh
init.qcom.factory.rc
init.qcom.ftm.rc
init.qcom.rc
init.qcom.sh
init.qcom.syspart_fixup.sh
init.qcom.usb.rc
init.qcom.usb.sh
init.rc
init.target.ftm.rc
init.target.rc
init.trace.rc
init.usb.rc
init.vendor.rc
init.zygote32.rc
mnt
persist
proc
property_contexts
res
root
sbin
sdcard
seapp_contexts
selinux_version
sepolicy
service_contexts
storage
sys
system
tombstones
ueventd.qcom.rc
ueventd.rc
vendor
verity_key

1 comments

@Danish Shakeel 2019-10-14 09:01:48

You can't make use of ADB without turning on the Debugging mode. There is one way to access partitions via ADB even if you don't have ADB turned on. If you want to run ls on restricted partitions, like cd data, you need to boot (not flash) into a custom recovery. Asssuming that you have an unlocked device, run fastboot boot <recovery.img>. Now that you have successfully booted into a custom recovery, mount relevant partitions and run adb commands.

@Irfan Latif 2019-10-14 11:00:00

OP says: “I want to chmod on root folder and also unlock the bootloader and root the phone”.

@Danish Shakeel 2019-10-14 11:09:09

We don't usually perform chmod on Android. As @alecxs has mentioned, chmod may have unexpected behaviour on an Android. Try running adb remount followed by adb root.

@Irfan Latif 2019-10-14 11:22:08

OP says: “I want to chmod on root folder and also unlock the bootloader and root the phone”. And you suggest: “Asssuming that you have an unlocked device...”. And I do chmod scores of times on my device in a day, the point is you should know what you are doing.

@Danish Shakeel 2019-10-14 11:39:18

Yes, because you can't perform these operations on a production build. You need to have root permissions for which you need to run adb root. And for that you need to have a custom recovery or root privileges, and for that you need an unlocked bootloader.

@antoinepl514 2019-10-15 04:33:36

it seems that I cannot find the custom recovery or custom rom files nowhere for the ZTE Avid Plus Z828

@Danish Shakeel 2019-10-15 04:53:17

Yes, I was looking for resources for ZTE Avid Plus Z828 and I barely found anything at all. Only if you can manage rooting your phone manually, you should be able to workaround other problems.

Related Questions

Sponsored Content

3 Answered Questions

[SOLVED] Is it possible to enable Location Services via Shell?

1 Answered Questions

[SOLVED] Cannot mount /system as rw

1 Answered Questions

Can adb shell work in binary mode?

  • 2017-06-12 20:53:32
  • Ole Tange
  • 275 View
  • 0 Score
  • 1 Answer
  • Tags:   adb shell

2 Answered Questions

2 Answered Questions

[SOLVED] Starting an activity listed under "Settings" from terminal (or adb shell)

2 Answered Questions

[SOLVED] How does adb shell differ from a terminal emulator?

  • 2016-04-30 20:26:44
  • TempRoot
  • 2291 View
  • 2 Score
  • 2 Answer
  • Tags:   adb root-access

4 Answered Questions

[SOLVED] can't use adb shell in recovery mode

1 Answered Questions

[SOLVED] How to access a linux shell from my phone via bluetooth?

Sponsored Content