本文主要是介绍20240606在RK3588的Android12下使用adb pull出现权限问题Permission denied,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
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”
这篇关于20240606在RK3588的Android12下使用adb pull出现权限问题Permission denied的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!