I can never figure this out and its always different it seems. So I'm trying to copy my build prop from /system to my internal ROM sdcard so I can mount the infinity to windows, open it up and edit it, then copy it back to system.
So i'm using root explorer, copying the file, and I tried everything. I tried /sdcard, mnt/sdcard, data/media and everytime I mount the device and look in my downloads folder where I pasted it from root explorer, its not there!
argh
Copying should work normally, symlinks won't. I can't say anything for Root Explorer, try either Solid Explorer or Total Commander.
Personally I like to just use the term for this ("cp /system/build.prop /sdcard/" will do)
Related
I have an elocity A7 with 2.2 and V2.0121 firmware upgrade
I have successfully rooted with z4root
I have mounted with /system write access using mount/system (rw/ro)
I get the message that super user access has been granted
I have root explorer and can set toggle R/W button
I can copy files to the flash or usb flash
I can not copy files to /system folder
Problem solved. Got a different version of root explorer.
When ever I try to copy update.zip to my root folder, I keep getting that there is no space available. I'm using super manager with root permissions and change it to r/w.
Copy it to the root of your sdcard "/sdcard/" not the root of the file system "/"
Sent from my SGH-T959V using XDA App
Now that I get to the orange cwm, now I get an error when changing the mount for sd card.
I want to change the mount location of the SD card from /mnt/sdcard to /storage/sdcard0 and the problem is that the /storage/sdcard0 directories that I created get deleted after rebooting the phone.
I backed up /system/etc/vold.fstab and then changed the SD mount location in vold.fstab to /storage/sdcard0
Phone is already rooted. In es file manager, I changed the root permissions to RW. Created the /storage/sdcard0 folders and even changed the permissions to match those of /mnt/sdcard. Android system deletes the /storage/sdcard0 directories on reboot.
How can I force android not to delete /storage/sdcard0 directories that I created?
cobala said:
I want to change the mount location of the SD card from /mnt/sdcard to /storage/sdcard0 and the problem is that the /storage/sdcard0 directories that I created get deleted after rebooting the phone.
I backed up /system/etc/vold.fstab and then changed the SD mount location in vold.fstab to /storage/sdcard0
Phone is already rooted. In es file manager, I changed the root permissions to RW. Created the /storage/sdcard0 folders and even changed the permissions to match those of /mnt/sdcard. Android system deletes the /storage/sdcard0 directories on reboot.
How can I force android not to delete /storage/sdcard0 directories that I created?
Click to expand...
Click to collapse
I would like to know the same. I'm trying to create a .ssh folder in the root directory so I can drop my id_rsa private key for SSH access through Terminal emulator. This is the default directory (/.ssh) however, Android doesn't create this directory.
I can create the folder with Cyanogenmod file browser, or recovery with ADB, but on reboot it is deleted.
I know Connectbot is great, I'm just looking for a terminal native SSH option.
*I've found that the root (/) partition of Android is an initrd.img. I'm not sure if I can modify this or not. Perhaps Cyanogenmod could consider adding the .ssh directory in the future for those using terminal emulator to SSH.
---------- Post added at 06:18 PM ---------- Previous post was at 05:53 PM ----------
sonicfrequency said:
I would like to know the same. I'm trying to create a .ssh folder in the root directory so I can drop my id_rsa private key for SSH access through Terminal emulator. This is the default directory (/.ssh) however, Android doesn't create this directory.
I can create the folder with Cyanogenmod file browser, or recovery with ADB, but on reboot it is deleted.
I know Connectbot is great, I'm just looking for a terminal native SSH option.
*I've found that the root (/) partition of Android is an initrd.img. I'm not sure if I can modify this or not. Perhaps Cyanogenmod could consider adding the .ssh directory in the future for those using terminal emulator to SSH.
Click to expand...
Click to collapse
A lot to learn!
Here is a similar thread regarding the root file system: http://forum.xda-developers.com/showthread.php?t=1790941
I have HTC U11 Stock rom with Magisk installed (Rooted).
Why sometimes I cannot write to my External SD Card?
And also I cannot write to my internal Card, for example I want to make a folder at "System/app/". I cannot do it although I have already rooted.
I used Total commander and already have superuser right.
Already tried with terminal : mount -o remount,rw /system (still not working)
Try with busybox, but can't install busybox, because cannot write to system.
Anyone can help.
reroot or restore the stock rom then reroot and then use a legit file explorer eg solid explorer
Right now I am backing up my files with adb and I have tried the following commands
adb pull /sdcard D:\[backupfolder]
adb pull /sdcard
But they just copy the internal storage folders, while what I want is to copy the stuff in the sdcard. I have tried
/storage/sdcard0
/storage/sdcard
/storage/0
/disk (it is how the folder is called in my phone)
but none of them exist.
Can anyone who has backed up their sd card on a Poco X3 tell me the actual storage path to use in adb? Thanks!
You can't.
Cuz SD card is always some strange digit number.
Try to enter ADB shell and then use the ls command to list all folders.
It should be in Mount or mnt
/sdcard is usually a chain of links that is not followed by ADB.
You need to:
Code:
$ stat /sdcard
And it will tell you where it points to. Then you stat that and keep on going until you stat something that is a real directory.