[SOLVED] Help Me Understand the Folder Structure - Nexus 7 Q&A, Help & Troubleshooting

(i tried searching for similar threads... this was the only thing i can find sorta close)
i have the 16GB version, and i flashed CM10.1 M2 yesterday. i performed a wipe data so that i could start from fresh.
now i'm trying to restore app settings one at a time. the first one i tried to do was Nova Launcher.
i had connected my tablet to my computer, and copied over my backup to the following:
/Android/data/com.teslacoilsw.launcher/backup/
now when i go to Nova Launcher restore, it can't find it. it is looking for the backup in the following path:
/sdcard/data/com.teslacoilsw.launcher/backup/
so boot up Astro File Manager, and i found the following folders at the root level:
/sdcard/
/storage/emulated/0/
/storage/emulated/legacy/
/storage/sdcard0/
/storage/usbdisk/ (empty)
/usbdisk/ (empty)
the first 4 folders mentioned here all display the same files as if i was viewing them from my computer.
if i navigate to /Android/data/com.teslacoilsw.launcher/backup/ from any of these 4 folders, i'll see my Nova backup file.
i have no idea why Nova Launcher can't see my backup file to restore.
in a related note, i made a CWM nandroid. but when i go to /clockworkmod/ nothing is there except 2 hidden files (nomedia and settings). even tho from within CWM, it sees the backup.
-SOLVED-
in short, don't use Astro File Manager. i started to use ES File Explorer.

Look in /data/media/clockworkmod/backup for your backups.

when i go to the root level- /data/ this folder is empty.
(using Astro File Manager)

In Root Explorer or ES File Explorer you can navigate to /data/media/clockworkmod/backup. I don't know why Astro is not showing it, but I just checked in Astro and can't see it either. Astro is no longer listed as having root access after the latest updates. I can't add it in SuperSU. I think that's the problem for Astro.

yes! problem solved.
i didn't know Astro couldn't navigate to those folders anymore. stopped using that now.
on to ES File Explorer.
found where to put my Nova backups, and i found the CWM backups too.

Related

[Q] Restore deleted files

I have deleted several apps from my Iconia and now would like to restore them in order to get the coming upgrade. My tablet is rooted, and I attempted to use adb to push a sample file "LetsGolf.apk" to \system\app but the file system seems to be protected.
Can anyone tell me how to restore these files?
Thank you.
Have you tried using apps like Astro file manager or Root Explorer. I have always had good luck with those.

Can't see all the files/folders in windows explorer

have a recently rooted nexus 4.2.2 and did a nandroid backup using clockwork recovery. clockwork stored it into a directory which i can't access by just plugging my phone to the usb cable of my pc. i do see folders, but not that particular folder. i have usb debugging option turned on also. i just wanted to transfer the backup files to my pc for storage. is there a way to do this? thank you.
konoplya said:
have a recently rooted nexus 4.2.2 and did a nandroid backup using clockwork recovery. clockwork stored it into a directory which i can't access by just plugging my phone to the usb cable of my pc. i do see folders, but not that particular folder. i have usb debugging option turned on also. i just wanted to transfer the backup files to my pc for storage. is there a way to do this? thank you.
Click to expand...
Click to collapse
You can't see it because windows can't access those folders. You can either move the backups using a file explorer to a folder windows can access, pull the files using ABD or if you have the paid version of ROM Manager you can download the files to your pc using a browser.
I figured it was something of that nature. However I have downloaded different file explorers including the es file explorer and I still can't see the folders on my phone even, not just pc. But when I boot into clockwork recovery and browse through there I can see those folders. I'm at a loss.
konoplya said:
I figured it was something of that nature. However I have downloaded different file explorers including the es file explorer and I still can't see the folders on my phone even, not just pc. But when I boot into clockwork recovery and browse through there I can see those folders. I'm at a loss.
Click to expand...
Click to collapse
With ES File Explorer I had to turn on the root explorer option in the settings, the world and phone icon at the top left..
kzoodroid said:
With ES File Explorer I had to turn on the root explorer option in the settings, the world and phone icon at the top left..
Click to expand...
Click to collapse
yes, i did that as well, but it still doesn't let me see the directories that i see in clockwork. the directories i'm talking about are in /sdcard.. they are
- 0/
- clockworkmod/
- legacy/
- obb/
the only ones i can see are 0/ and legacy/. if i go to 0/ i can see what i normally see in the pc windows explorer. there is also a folder called clockworkmod/ but it only contains the folder called download/ and a couple of files under 100kb.
also, when i'm viewing the folders in ES file manager the sdcard folder has a little shortcut arrow on it instead of a solid folder like most of the other ones.
I can't speak for the intricacies of Clockworkmod as I have never used it, but after doing either a TWRP backup or a Titanium backup on 4.2.2, I have always been able to copy and/or view these backup files using any of the following methods, as well as verifying that they are equivalent (Same exact number of files, same exact file sizes):
1) Copying the files from the Nexus 4 to Windows 7 64 bit Professional using Microsoft Windows Explorer.
2) Copying the files from the Nexus 4 to Windows 7 64 bit Professional by performing an "adb pull".
3) Viewing the files with the Android ES Explorer app (With the "Root Explorer" option turned on and changing the top directory to root or "/").
4) Viewing the files in TWRP.
I also use the full path to the files (when possible). As I recall, there were instances where not all the files were visible if I didn't use the full path. Replacing /0 with /legacy on Android 4.2:
TWRP BACKUP
/data/media/0/TWRP/BACKUPS/<PHONE SERIAL# HERE>/<FILE BACKUP SUBDIRECTORY HERE>/
TITIANIUM BACKUP
/data/media/0/TitaniumBackup/
In fact I just performed all four of these methods a couple of minutes ago because I was originally having problems with Android 4.3 (Not all files being transferred over due to the known permission changes with 4.3), and I wanted to double check that everything is still working properly now. What solved all my issues with 4.3 was to update all my programs to “4.3 friendly” versions (You could see if this resolves your 4.2.2 issues as well):
1) Installed the latest version of TWRP.
2) Unrooted using the latest version of Superuser.
3) Installed the latest Android SDK and then ran the SDK Manager to insure everything was up to date.
a) Deleted my Windows driver and installed the latest Google USB driver from the SDK.
b) Used the new updated platform tools to perform fastboot, adb, etc.
pjc123 said:
I can't speak for the intricacies of Clockworkmod as I have never used it, but after doing either a TWRP backup or a Titanium backup on 4.2.2, I have always been able to copy and/or view these backup files using any of the following methods, as well as verifying that they are equivalent (Same exact number of files, same exact file sizes):
1) Copying the files from the Nexus 4 to Windows 7 64 bit Professional using Microsoft Windows Explorer.
2) Copying the files from the Nexus 4 to Windows 7 64 bit Professional by performing an "adb pull".
3) Viewing the files with the Android ES Explorer app (With the "Root Explorer" option turned on and changing the top directory to root or "/").
4) Viewing the files in TWRP.
I also use the full path to the files (when possible). As I recall, there were instances where not all the files were visible if I didn't use the full path. Replacing /0 with /legacy on Android 4.2:
TWRP BACKUP
/data/media/0/TWRP/BACKUPS/<PHONE SERIAL# HERE>/<FILE BACKUP SUBDIRECTORY HERE>/
TITIANIUM BACKUP
/data/media/0/TitaniumBackup/
In fact I just performed all four of these methods a couple of minutes ago because I was originally having problems with Android 4.3 (Not all files being transferred over due to the known permission changes with 4.3), and I wanted to double check that everything is still working properly now. What solved all my issues with 4.3 was to update all my programs to “4.3 friendly” versions (You could see if this resolves your 4.2.2 issues as well):
1) Installed the latest version of TWRP.
2) Unrooted using the latest version of Superuser.
3) Installed the latest Android SDK and then ran the SDK Manager to insure everything was up to date.
a) Deleted my Windows driver and installed the latest Google USB driver from the SDK.
b) Used the new updated platform tools to perform fastboot, adb, etc.
Click to expand...
Click to collapse
the thing is i can't see the directories that the files are in. either in file explorer or in windows. i need to get more familiar with adb and maybe do it through that, but its strange because i should be able to see them in the explorer. so essentially i have a nandroid backup on my phone that i can't really access to move it or delete it. i can only access it through clockwork recovery. also, all the stuff i used is the latest versions i.e. sdk, drivers, etc.
Then I am at a loss if you tried all the things mentioned. If it is a permission issue, then adb should bypass that problem. The adb executable is located in the platform-tools subdirectory of the SDK. You run the "adb pull" command from a "Command Prompt" window while located in that directory. The nandroid copy will take quite a while, so wait until it is finished (For example, my latest one was 330 MB in size).
While the phone is in recovery, here are some examples of grabbing the TWRP and TITANIUM backup files and putting them into the directories TWRP_BACKUP and TITANIUM_BACKUP respectively (That I previously created) on the windows "C" drive. As before, you would probably be replacing /legacy for /0:
adb pull /data/media/0/TWRP/BACKUPS/<PUT SERIAL # OF PHONE HERE>/<PUT DATE OF BACKUP HERE>/ C:\TWRP_BACKUP\
adb pull /data/media/0/TitaniumBackup/ C:\TITANIUM_BACKUP\
konoplya said:
yes, i did that as well, but it still doesn't let me see the directories that i see in clockwork. the directories i'm talking about are in /sdcard.. they are
- 0/
- clockworkmod/
- legacy/
- obb/
the only ones i can see are 0/ and legacy/. if i go to 0/ i can see what i normally see in the pc windows explorer. there is also a folder called clockworkmod/ but it only contains the folder called download/ and a couple of files under 100kb.
also, when i'm viewing the folders in ES file manager the sdcard folder has a little shortcut arrow on it instead of a solid folder like most of the other ones.
Click to expand...
Click to collapse
Clockworkmod puts the backups in a secure system folder with the path mnt/shell/emulated/clockworkmod/backup. In ES File Explorer hit the "/" at the top which will open up "device" and now you will see all of your system folders. Root Explorer is a simpler app to use as it only has two directory options, root and storage. I bought both apps a long time ago as I liked that ES File Explorer lets you connect to a lan to upload/download files through wifi.
pjc123 said:
Then I am at a loss if you tried all the things mentioned. If it is a permission issue, then adb should bypass that problem. The adb executable is located in the platform-tools subdirectory of the SDK. You run the "adb pull" command from a "Command Prompt" window while located in that directory. The nandroid copy will take quite a while, so wait until it is finished (For example, my latest one was 330 MB in size).
While the phone is in recovery, here are some examples of grabbing the TWRP and TITANIUM backup files and putting them into the directories TWRP_BACKUP and TITANIUM_BACKUP respectively (That I previously created) on the windows "C" drive. As before, you would probably be replacing /legacy for /0:
adb pull /data/media/0/TWRP/BACKUPS/<PUT SERIAL # OF PHONE HERE>/<PUT DATE OF BACKUP HERE>/ C:\TWRP_BACKUP\
adb pull /data/media/0/TitaniumBackup/ C:\TITANIUM_BACKUP\
Click to expand...
Click to collapse
i'll play around with that when i get home. thank you.
kzoodroid said:
Clockworkmod puts the backups in a secure system folder with the path mnt/shell/emulated/clockworkmod/backup. In ES File Explorer hit the "/" at the top which will open up "device" and now you will see all of your system folders. Root Explorer is a simpler app to use as it only has two directory options, root and storage. I bought both apps a long time ago as I liked that ES File Explorer lets you connect to a lan to upload/download files through wifi.
Click to expand...
Click to collapse
i have root explorer that i purchased a couple years ago as well. doesn't show me the path you mention. neither does the ES File Explorer. this is why it puzzles me since my phone is rooted. when i look in ES File Explorer and choose "/" as my starting point, i do see all the folders, however, the clockworkmod folder doesn't contain the "backup" folder. it has only "download" folder and a couple of files ".recovery_version" and ".settings".. nothing else.
konoplya;45563381i have root explorer that i purchased a couple years ago as well. doesn't show me the path you mention. neither does the ES File Explorer. this is why it puzzles me since my phone is rooted. when i look in ES File Explorer and choose "/" as my starting point said:
You can't see /mnt in the root directory? Are you sure your phone is still rooted? Open up your superuser app and see if both ES File Explorer and Root Explorer are listed. On my phone in the mnt/shell/emulated folder I have 4 files, 0, clockworkmod, legacy, and obb.
Click to expand...
Click to collapse
kzoodroid said:
You can't see /mnt in the root directory? Are you sure your phone is still rooted? Open up your superuser app and see if both ES File Explorer and Root Explorer are listed. On my phone in the mnt/shell/emulated folder I have 4 files, 0, clockworkmod, legacy, and obb.
Click to expand...
Click to collapse
I posted picks of the folders in ES File Explorer. In the clockworkmod folder I have 2 subfolders, download and backup.
kzoodroid said:
I posted picks of the folders in ES File Explorer. In the clockworkmod folder I have 2 subfolders, download and backup.
Click to expand...
Click to collapse
I looked in su and I have three apps listed there: root explorer, titanium backup, and es file explorer. I don't see those folders that you have in your screenshots. What app do you use for that? I'll take a screenshot of what I have.
Edit: I reinstalled the file explorer and rebooted the phone and I can see the mnt directory now. Don't know why it wasn't showing up. Thank you for the help.
Sent from my Nexus 4 using xda app-developers app
konoplya said:
I looked in su and I have three apps listed there: root explorer, titanium backup, and es file explorer. I don't see those folders that you have in your screenshots. What app do you use for that? I'll take a screenshot of what I have.
Edit: I reinstalled the file explorer and rebooted the phone and I can see the mnt directory now. Don't know why it wasn't showing up. Thank you for the help.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Glad you got it worked out. To take screen shots press and hold the power button and volume down at the same time. My photos automatically upload to dropbox and I just attached them from there to my post.
kzoodroid said:
Glad you got it worked out. To take screen shots press and hold the power button and volume down at the same time. My photos automatically upload to dropbox and I just attached them from there to my post.
Click to expand...
Click to collapse
thats badass. thanks!
Happened to me aswell
all you need to do is go into your file browser on your phone and then move the file somewhere else while still connected to the pc.. should be good then

Incomplete BeyondPod Directory over MTP

When I have my N4 connected to my Win7 PC using MTP, the contents of the /BeyondPod directory are incomplete. Most importantly, the Podcasts directory is missing.
When I search from root in Root Explorer for a specific podcast mp3 file, I see it in 4 locations:
/data/media/0/BeyondPod
/mnt/sdcard/BeyondPod
/mnt/shell/emulated/0/BeyondPod
/storage/emulated/0/BeyondPod​
The setting for Podcast Download location in BeyondPod is:
/storage/emulated/0/BeyondPod/Podcasts​
I see something similar in Titanium Backup. If I take a backup of my call logs and SMS/MMS, the new backups don't show up in the TitaniumBackup folder on my PC over MTP, rather in a folder called storage/emulated/legacy/TitaniumBackup.
The Titanium Backup setting is:
/storage/emulated/legacy​
Again, if I search for my call log file in Root Explorer, I find it in the same mount points as BeyondPod:
/data/media/0/TitaniumBackup
/mnt/sdcard/TitaniumBackup
/mnt/shell/emulated/0/TitaniumBackup
/storage/emulated/0/TitaniumBackup​
If I reboot the N4, the new backups will show up where expected. But, if I then take a fresh backup (in TiBu), the backup again shows up in that odd 'storage' location, and I see the old copy in the 'TitaniumBackup' folder.

[Q] clockworkmod directory unable to delete on SM-G900H

Hi Guys,
I'm facing trouble deleting a particular directory name CLOCKWORKMOD on my SM-G900H.
Under SETTINGS -> STORAGE -> MISC Files, it reports the CLOCKWORKMOD folder occupies 5.25GB of space.
I delete it from there, but it reappears again.
However, Root Explorer shows otherwise, that it is not occupying any space.
/storage/emulated/0/clockworkmod
I tried deleting it as well through Root Explorer, but it just reappears after I launch Root Explorer again.
I suspect this clockworkmod is the result of the backup created by PhilZ Touch recovery. I've tried going into recovery mode, using the file manager to delete the offending directory, but the file manager is not working as yet.
So, either this clockworkmod directory is real or phantom.
If it is real, then either it is residing elsewhere OR I can't delete it.
If it is phantom, how do I "clear" it?
Ultimately, how do I free up 5.25GB of space?
Thank you
Henry

Can't see TWRP Backups in TWRP Folder

Now i know this is a common-ish issue with some variants as to the actual problem, i should know i've been trying to fix this for the last 48 hours but have eventually had to ask.
I made a TWRP Backup that when I look in the TWRP File Browser i know is stored in /sdcard/TWRP which i think is the same as storage/emulated/0/TWRP which is where i see an empty TWRP folder in both ES File Explorer, File Manager HD and Root Explorer. I've searched and this is the only TWRP folder on the device that is found and i've turned on 'Root Explorer' yet the folder is always empty, in fact ES File Explorer see's it but actually won't let me go into it like the other 2.
I've seen various things about such as Terminal Emulator commands but i can't get this to work, i just want to be able to move the backup to my PC and be done with it (until i have to worry about putting it back)
Can anyone help with how i can get this to work?
Actually finally just solved this. It seems if you connect the phone to your computer while in TWRP, i can see the contents of the TWRP folder. I'm pretty sure i tried this earlier, so maybe all the messing around i've tried since also contributed, but its solved finally.
If You can see TWRP through ES Explorer then Follow Given Steps :-
1. Open ES Explorer and Click on the three lines ( Left side on the top )
2. Now Click on Tools ( it opens many Option )
3. Now You can See Root Explorer Option in it , On it.
4. Now You can copy paste it.

Categories

Resources