adb root
adb remount
20240606在RK3588的Android12下使用adb pull出现权限问题Permission denied
2024/6/6 11:48
缘起:想从Toybrick的TB-RK3588的Android12开发板上通过adb pull获取刚刚生成的edid.bin,老是报告权限问题。
百度:adb: error: failed to copy '/data/edid.bin' to '.\edid.bin': remote open failed: Permission denied
解决问题:
D:\20240423wyb\20240606更新Toybrick的TB-RK3588开发板在Android12下的内核>adb pull /data/edid.bin .
adb: error: failed to copy '/data/edid.bin' to '.\edid.bin': remote open failed: Permission denied
D:\20240423wyb\20240606更新Toybrick的TB-RK3588开发板在Android12下的内核>adb root
restarting adbd as root
timeout expired while waiting for device
D:\20240423wyb\20240606更新Toybrick的TB-RK3588开发板在Android12下的内核>
D:\20240423wyb\20240606更新Toybrick的TB-RK3588开发板在Android12下的内核>
D:\20240423wyb\20240606更新Toybrick的TB-RK3588开发板在Android12下的内核>
D:\20240423wyb\20240606更新Toybrick的TB-RK3588开发板在Android12下的内核>
D:\20240423wyb\20240606更新Toybrick的TB-RK3588开发板在Android12下的内核>
D:\20240423wyb\20240606更新Toybrick的TB-RK3588开发板在Android12下的内核>adb remount
Using overlayfs for /system
Using overlayfs for /vendor
Using overlayfs for /odm
Using overlayfs for /system_ext
Using overlayfs for /vendor_dlkm
Using overlayfs for /odm_dlkm
Using overlayfs for /product
Now reboot your device for settings to take effect
remount succeeded
D:\20240423wyb\20240606更新Toybrick的TB-RK3588开发板在Android12下的内核>adb root
adbd is already running as root
D:\20240423wyb\20240606更新Toybrick的TB-RK3588开发板在Android12下的内核>adb pull /data/edid.bin .
/data/edid.bin: 1 file pulled, 0 skipped. 0.1 MB/s (256 bytes in 0.002s)
D:\20240423wyb\20240606更新Toybrick的TB-RK3588开发板在Android12下的内核>
参考资料:
https://blog.csdn.net/z755924843/article/details/132190426
android 实用adb push 文件时报错“adb: error: failed to copy”