[Q]Hide\move system folders on SDcard - Android Software/Hacking General [Developers Only]

Hi all. I see much system folders on SDcard. Such as a folders with "." in name and folders from some APPs. So there is question, can we some how hide\move them?
How i see this situation. Can we make folder on SDcard and mount it like a SD in Android? So we will get 1 folder with all system folders, and all our folders.
I bad in android\linux but that what i think. Any suggestions?

Related

Folder Structures in SDCARD

Hi everybody!
I just got my 1st Android Devide (DHD) and already root, clockwork, changed rom, etc. However, my problem is related to the directories structures inside my SDCARD.
I have 2 questions:
1- I moved some apps that I have in my main memory to my SDCARD via App Settings. However, when I go to my sdcard in windows explorer, I don't find these files. I'm not sure then if is really moving to my sdcard. I just realized some new folders, but they are empty. Does anyone knows what I'm doing wrong?
2- The second question it's linked with the first. I would like to organize in my SDCARD a nice folder structure. Something like:
/
/Songs/
/Photos/
/Documents/
/Backups/
/Games/
/Apps/
And then if you go inside the Apps folder, you have another folder with the name of the application. Pretty much like Program Files folder in Windows.
Is this possible? For Songs, Photos, Documents, I created a folder and it worked. But what about for apps and games that I got on the market?
My SDCARD has also a lot of folder/files that were copied when I put the sdcard on the device. I don't know if I can delete that. Any idea?
Thanks for the help in advance!
Moved to Q&A, not dev related.
Anyone?
Any tip?

[Q] What are these folders?

BTW: I know this folder has nothing to do with dropbox.com, so don't ask.
I been going through my system looking for logs and stuff and so far I found.
/data/system/dropbox
/data/system/usagestats
/data/tombstones
/data/adb
/data/dalvik-cache
After deleting the stuff inside these folders I was able to regain 100MB's.
Now my data partition reads 22% instead of 91%
What are these folders and why do they take up soo much space?
In the meantime, I'm making symlinks from those folders and placeing them on /dev/log
Ummmm /data/dalvik-cache? U deleted it!?
Do any apps work?
Yeah they all work, I only deleted the contents inside not the folder.
Then I made a symlink of the folder to /dev/graphics so the files still exist, but they will all get deleted at power-off.
All the other folders I made a symlink to /dev/log.
There was 49.5MB's in that folder so I'm glad I deleted its contents.

Question about the /storage root folder

Hi there
So I was digging around in Titanium backup, and I noticed that it had 2 possible folder locations on my Xoom (with no SD-card inserted)
Huh, I thought, so I went around into the root folders with ES and I had a look.
In the /storage folder, there are 3 directories:
sdcard0
sdcard1
emulated
inside "emulated", there are a further 2 folders, "0" and "legacy"
All these folders have the same folders inside them. It's like there are 3 copies of my internal storage on my device.
This doesn't seem very efficient. Is this an anomoly or a normal part of device functionality?
Is it okay to delete one of them?
I would imagine that one of them is actually a symbolic link not a duplicate. If you have a terminal emulator you can look at them and see if one is just a pointer to the other so as to not break older software.
AFAIK it's symlinked, so if you delete one of them, you'll delete all of them! There's no need to change any of that, it was done in the 4.2 build due to multiuser .
Cheers,
~Lord

[Q] File recovery in root folders? (/data/)

I just lost one off my app's data (settings, etc, ...) and I'd like to try undeleting them. I know they were in the /data/data folder.
I found some file recovery apps on the store but it seems like they only scan the /sdcard/ folder.
I looked into mounting the sdcard on my PC and running a recovery software there, but mounting the root folder doesn't seem possible.
Any idea that might make this possible?

Empty directories

Hi. I need to find all empty dirs in the specific dirs, so I started google that question and found following:
1. "find" on android doesn't work with "-empty" arg.
2. Google shows me some play store apps, which should find empty dirs, but they delete ALL of them right away on the whole system (or Android dir) and some of them can't even see SD card, but in my case I only need found them only, not auto delete.
So how one can find all empty dirs on android ?
Xda801 said:
Hi. I need to find all empty dirs in the specific dirs, so I started google that question and found following:
1. "find" on android doesn't work with "-empty" arg.
2. Google shows me some play store apps, which should find empty dirs, but they delete ALL of them right away on the whole system (or Android dir) and some of them can't even see SD card, but in my case I only need found them only, not auto delete.
So how one can find all empty dirs on android ?
Click to expand...
Click to collapse
I use an app called "Empty Folder Cleaner" on Google Play store. It's never deleted a folder that couldn't easily be re-written by a seldom used app. Been using for over a year now with no problems. Ad-Free, too.
Only catch, is you can't do your SD card w/o root access. Internal storage works fine though, (non-root)
Description by the app publisher;
Annoyed with loads of empty folders in your file manager? Use this app.
Key Features
1)Multiple options to delete empty folders
2)Delete empty folders from internal storage(No root required)
3)Delete empty folders from external storage/memory card(Root required for this feature only)
4)No advertisement
With a single click all the empty folders will be deleted.
Options to delete empty folders
1)Show progress - get the progress of which file is being checked for empty folders
2)Log deleted empty folders - get the list of all the empty folders deleted
3)Scan ANDROID created folders - will not delete empty folders from the directories /Android/data, /LOST.DIR, /DCIM
Note: folders with ".nomedia" and other hidden files will not be deleted as they might be required by the system or the app which has created it. Developer is not responsible for any problem created by the app. You use the application at your own risk
Sent from my SM-N950U using Tapatalk
darth_vapor said:
I use an app called "Empty Folder Cleaner" on Google Play store. It's never deleted a folder that couldn't easily be re-written by a seldom used app. Been using for over a year now with no problems. Ad-Free, too.
Only catch, is you can't do your SD card w/o root access. Internal storage works fine though, (non-root)
Description by the app publisher;
Annoyed with loads of empty folders in your file manager? Use this app.
Key Features
1)Multiple options to delete empty folders
2)Delete empty folders from internal storage(No root required)
3)Delete empty folders from external storage/memory card(Root required for this feature only)
4)No advertisement
With a single click all the empty folders will be deleted.
Options to delete empty folders
1)Show progress - get the progress of which file is being checked for empty folders
2)Log deleted empty folders - get the list of all the empty folders deleted
3)Scan ANDROID created folders - will not delete empty folders from the directories /Android/data, /LOST.DIR, /DCIM
Note: folders with ".nomedia" and other hidden files will not be deleted as they might be required by the system or the app which has created it. Developer is not responsible for any problem created by the app. You use the application at your own risk
Click to expand...
Click to collapse
Yes, this is one of the apps I found, but it is not what I need, as I said in the first post.
Sent from my santoni using XDA Labs

Categories

Resources