• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Read-Only File System while pushing via adb

Qooex

Lurker
Dec 14, 2016
1
0
I've tried running a script for TA partition restoration (I had it backed up) but ended up with "Permission denied" error while it tried pushing a file into my internal sdcard.
Code:
=======================================
PUSH BACKUP TO SDCARD
=======================================
failed to copy 'tmpbak\TA.img' to 'sdcard/restoreTA.img': Permission denied

*** Restore unsuccessful. ***

So I opened up adb myself to see if I am able to push manually but it fails despite what destination I choose with "error: Read-Only file system".
Code:
android-sdk-windows\platform-tools>adb
push C:\yo.txt root\sdcard
adb: error: failed to copy 'C:\yo.txt' to 'root\sdcard': Read-only file system

Any thoughts? :wtfdroid:
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones