[Q] System Data rogue memory - Nexus 4 Q&A, Help & Troubleshooting

I know there are many posts about this, also had a similar issue before but I can't remember how I fixed it and other post's solutions aren't working for me.
In Disk Usage it shows 2430 MiB is being used by System data under storage card. I can't find where the rogue files are. I've used Root Explorer, System Analyzer, solid explorer and yaffs explorer to browse through the root directories with no luck.
Any help hunting down with what is taking up all this space would be greatly appreciated!
UPDATE! SOLVED
I figured it out! Although all 3 or 4 different file explorers showed no files in /sdcard/TWRP/BACKUPS, that was the culprit.
My suspicion was raised when I couldn't delete the folder in any of the explorers on my phone, via adb shell, or ssh. After some googling, I found this this post which has a flashable zip to correct the permissions on the internal memory.
Flashed that, rebooted, used solid explorer to delete the TWRP folder and now my system data is at 415 MiB!

Related

Corrupt directory

Go to the root folder on your device, then go to the directory OSH. Then go to the directory THUMB2.
You should now be at /osh/thumb2. There is another directory here called THUMB2, that if you hit it, it will show the same things as the directory above it. You could keep going deeper for quite a while. I have gone to /osh/thumb2/thumb2/thumb2/thumb2 and it keeps going and going. When I do a details with Astro file manager, it keeps adding files. I stopped it after 80,000 files and almost 1.8GB in size.
As I've heard, it's a "loop" directory, used for webtop. I've also just found it in my file explorer. Have anybody tried to delete this "loop" & what is the worst scenario?)
And the answer is - don't even try to do this, deleting this "loop" will erase all of your data on both - internal & external memory cards =(

[Q] Cannot delete some folders

So I have a few folders which cannot be deleted. ES file explorer just says xxx cannot be deleted. I can rename the folder but not move or delete. I'm guessing there is a problem with one of the files in the folder but there are loads.
I origionally rooted the nexus 7 so I could use sixaxis but found too much lag compared with plugging in the controller so decided to return to a stock image. I did an app+data+sd card backup with nexus tools and it was after doing this I have had this problem. (also most of my games which I backed up lost their saves - wheres my water, dead trigger + others is this normal for these games?)
Any advice much appreciated
(oh since applying the stock image I no longer have root)
Could be a file permissions problem, try rooting your device again then changing permissions on the files to give yourself full read/write access to these files.
If this doesn't work you could try deleting them through the command line, but this would also require you to root your device again.
Hope I helped.
Hi thanks for your suggestion. I completely forgot I posted this. Anyway I rooted my device using the toolkit and all worked well. But I still cannot delete many folders and files and also some apps don't seem to be able to save properly.
Does anyone have any ideas on what could be wrong? Apart from this the system is stable and I would rather not do a fresh install because of all the games I have (long downloads and I have had problems backing up and restoring saves in the past) is there a way to just set all the files and folders on my phone to read / write (es file explorer reports these files have the required permissions but maybe setting them might do something)
Sent from my Nexus 7 using xda app-developers app

Need help with understanding mount-points, folder structure and file system rights...

Hi everyone,
I need your help. I sometimes face strange issues with my Nexus 4 (Stock Room, Rooted, Matrix Kernel v5). Yesterday I wanted to copy a apk-file for installation on my phone from my home-server. I use ES File Explorer for that. I failed to copy the apk-file to /sdcard/folder-name (operation failed). then i navigated to /data/media/0/folder-name and tried it from there, also it didn't work.
i then copied the file to /sdcard/download and was able to copy it to that and to install it.
i don't really understand why it behaves that way, i was always able to go to /sdcard/folder-name and do what i want. i also noticed another strange thing. i connected my phone via USB (MTP-mode) to the PC and uploaded a few GB of MP3s to it (Folder: Music).
when browsing this folder with ES File Explorer, I cannot delete anything from that folder /sdcard/Music. THOUGH it reports "deletion successful" the files or folders do not get deleted but just remain on the internal SD-card. i could only delete the music successfully via "/data/media/0/Music".
who can explain briefly WTF is going on? i obviously do not really understand the concept and logic behind this. is there a maximum file/path length that must not be exceeded?
thanks in advance and best regards,
hallu
need to bump this, sorry...
does anyone have any idea as to why this phone is behaving the way it is?
I use root explorer and have ZERO issues. That includes pulling apk's.
Try a different file explorer to see if that makes a difference so at least you can determine if the issue is just app specific and not something else.
Check to see of ES isn't mounting certain folders with RW permissions.
Also the actual internal storage is /data/media/0/ so /sdcard/ is just a symlink to that folder. ES seems to be having problems with the symlinks.

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

[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

Categories

Resources