how do I set up a new directory - OnePlus 5 Questions & Answers

I accidentally deleted the internal disk on the mobile device, how do I set up a new directory

Related

[Q] How do I recover files and folders deleted by accident?

I created a backup zip file of some images that were in the main sdcard folder that's found within the mnt folder and I was trying to delete said zip file as I thought I'd made a mistake with the zip file and somehow I ended up deleted most of the folders within the sdcard folder!
I checked out the Storage section within settings and it has the following information:
Total space]
13.11GB
Apps
3.28GB
Pictures, videos
245MB
Misc.
8.33GB
Available
1.31GB
Even though the information in the Internal Storage section is correct, when I check my folders using a file explorer software on my device which is rooted and running AOKP, it shows that the folders and files that I deleted are still missing.
Is there anyway to access the internal memory via an ADB-type software that will allow me to recover the files and folders that were deleted by accident as well as let me back up the internal memory to a PC once the recovery is done? (That is, when I can access the damn device as it's being a pain in the ass trying to detect it on my laptop!)
I use Recuva from Piriform located HERE ! It found and restored 234 MP3's that I guess I was pocket deleting on my DHD.
Thanks for the link. I'll check it out as soon as I can get my device recognised on my laptop and netbook!

[Q] Deleted /storage folder in Android File Transfer

When using the Android File Transfer app on my Mac, I saw this folder named "storage" which doesn't have much in it and so I decided to delete it, which wasn't a good choice as I found out everything in the internal storage was wiped.
Is there any chance of getting the lost files back?
Now whenever I connect my phone to Mac Android file transfer app doesn't show up the internal storage folder anymore.
Panicking.
Help!!! Anyone?
Nexus 4 on PA 3.1
It's gone now. You'll need to restore the factory image to get the internal data in order and then re-root/setup the phone

Adb internal storage backup

Since internal storage can't be mounted as usb mass storage, i can't use desktop software like synkback for backup modified files.
There is any adb command for backup only modified files from internal storage to desktop folder?
any solution please?
LEENO said:
Since internal storage can't be mounted as usb mass storage, i can't use desktop software like synkback for backup modified files.
There is any adb command for backup only modified files from internal storage to desktop folder?
Click to expand...
Click to collapse
try this (enable usb debugging):
Code:
adb devices
to see if device is connected via adb
Code:
adb pull /name_of_storage/ C:\desktop\name_of_folder
pulling to desktop
Thanks, i think it is for full copy, i need to copy new or modified files
LEENO said:
Thanks, i think it is for full copy, i need to copy new or modified files
Click to expand...
Click to collapse
Code:
adb pull /name_of_storage/name_of_file_or_folder/ C:\desktop\name_of_folder
sent from my Galaxy
There is any option for delete files in destination folder if not exist in source folder?

[Q] [SOLVED] [4.3] Cannot write to SD card properly?

Hi,
I updated my nexus 7 to from PA 4.2 to PA 4.3, before this I did multiple backups using TWRP, TiB and copied the entire contents of my SD card to my computer using adb (adb push and adb pull) on OS X (android file transfer does not work properly and windows kept on not responding, Linux had no space and no write to my OS X partitions or Windows Drive.
After the update I restored apps from TiB, and copied the data folders for some apps (apex launcher backups etc.), my TWRP folder and TiB folder back to my SD card. (using adb again) Then, with adb, I copied some films to a Media folder on the root of my sdcard, I created the folder with adb but now, with any file manager I can't write to the contents of that folder anymore, or change anything. Then I tried to make another, updated TiB backup, but it said insufficient storage space, even for just one app with well over 5GB of free space. Then I tried to do a TWRP backup using offline nandroid backup, however the backup completed in 0 seconds and made no new file or folder in the TWRP folder on sdcard. I then tried in recovery, the backup completed, but upon further inspection no new files or folders were made.
I think the problem is that any folders I have made through adb have no write permissions, even though mounted rw(x). And I cannot change the permissions. ( in Linux would I be able to cd to the directories on my n7 then sudo chmod 755 them?), I already tried this with mobile terminal however on my N7 and had no result. What is the solution for this problem?, should I wipe sdcard and make folders using a file explorer, then use adb to copy files into the premade folders, or just find a way to use Ubuntu to copy the files?
Thanks!
Sent from my Nexus 7
I have fixed it my self by doing this:
I was originally using the link from solid explorer to view and edit my sdcard files, which uses the /sdcard directory on root. For some reason I could not edit files going through /sdcard made from adb on OS X, however, when navigating internal storage through /data/media/0/ I had full permissions and could delete the folders made through adb, making new TiBu Backups and TWRP backups.
I tried using shell through adb to change permissions and remove the directories using:
Code:
adb shell
su chmod 777 /sdcard/(TWRP/TiBu etc...)
and
Code:
adb shell
rm -rf /sdcard/(TWRP/TiBu etc...)
but had permission denied errors.

Unable to write in pushed folders

After migrating back from f2fs to ext4 I found out I couldn't touch the files that I adb pushed back onto the device. The pictures I took with the stock camera app wouldn't save until I renamed the old DCIM folder, which caused it to create a new one and proceeded to work normally. How can I make my files and folders writeable again? ES shows that all the files and folders do have RW tags.
I'm running the Android L mako port with the Unleashed kernel.
Very similar problem here, after doing a restore with CWM of 4.4.4 backup, I'm unable to save files to user storage. Owner is 0 root, GID is 1028 sdcard_r, permissions drwxrwx--x.
Can save to ./Downloads though. ?:|
Did you ever resolve your issue?

Categories

Resources