So I have my EVO mounted and while viewing the root of the SD card I hit <Ctrl>H to show hidden files and then go to .Trash-1000 and all of the files that I thought I had deleted from the music folder are in this folder.
Any info on how to get rid of these files? Even if I try to re-select them and delete they disappear for 1 sec then return... They are .flac files and are very large, so I need them gone.
What is the proper way to delete files directly from folders?
What computer are you using with your phone? '.Trashes' is the name Macintosh uses for the un-emptied trash folders. I imagine similar processes are used by other OSes. To empty it simply requires emptying the Trash (or Recycle Bin) from Finder or the like. You can also use any file browser when the phone isn't mounted to delete that folder directly.
generalExpert said:
So I have my EVO mounted and while viewing the root of the SD card I hit <Ctrl>H to show hidden files and then go to .Trash-1000 and all of the files that I thought I had deleted from the music folder are in this folder.
Any info on how to get rid of these files? Even if I try to re-select them and delete they disappear for 1 sec then return... They are .flac files and are very large, so I need them gone.
What is the proper way to delete files directly from folders?
Click to expand...
Click to collapse
By default on Ubuntu (and other distros with GNOME), pressing delete just puts files in a trash folder. In the file browser you'll have to "Empty Trash" to delete them.
If you want to skip sending them to the Trash in the first place, press "Shift-Delete"
I Usually delete that entire folder.
Sent from my PC36100 using XDA App
I have a confusion regarding android. this is very general query.
In Computer, first we have to have exe file to install anything and then we click on it to install the app on windows computer generally. when the app is installed on computer, we have installed app files in program files and then a dump (that is exe file) which we keep to install this app on any other computer.
Now, please let me know if this is applicable in android phones also?
I know that in android, there is .apk file instead of .exe file in computer. I observed that after installation apk file disappears. Is this true?
Not sure if in understood well, did you mean if instal anything from SD card? If you are asking that the answer is yes, i install everything from SD card and the apk file stay there after installation.
What if u install any app from Market?
vijay.gupta said:
I have a confusion regarding android. this is very general query.
In Computer, first we have to have exe file to install anything and then we click on it to install the app on windows computer generally. when the app is installed on computer, we have installed app files in program files and then a dump (that is exe file) which we keep to install this app on any other computer.
Now, please let me know if this is applicable in android phones also?
I know that in android, there is .apk file instead of .exe file in computer. I observed that after installation apk file disappears. Is this true?
Click to expand...
Click to collapse
Even in Android you can see the .apk files under /system/app. Also applications installed by you can be backed up & later restored using software available on market.
"Normally" these apks dissapear when you download from.market, but all of.your apks are stored in your phone, the thing is that you have to hav permission to do that, when you download an apk (the single file) and store it in sd card to install it, the apk is copied to the phone.
Sent from my GT-I5801 using XDA App
But if u back up ur apps as .apk and install them later using softwares (with exception of Titanium backup) u will loose connection between the app and android market (that means no updates)
the best option is to backup ur apps with titanium backup along with user data and restore it using the same
how do i access /system/app? Do I need to root the phone in order to see this directory?
vijay.gupta said:
how do i access /system/app? Do I need to root the phone in order to see this directory?
Click to expand...
Click to collapse
Download Terminal emulator from market & you are ready to go to /system/app !!!!
You can also download Root Explorer and so the same
Thank all. Can you please confirm what I am writing below:
Suppose I buy a android phone (with android 2.1 so you cannot install apps from SD card) in which I installed an application named XYZ from Market. Now, there is a apk file for XYZ which gets downloaded somewhere in the phone memory and then it gets installed automatically.
Now, I just want to know, where does this apk file go after XYZ is installed? Does it stay in phone memory with the installed files of XYZ.
If it goes to phone memory and not deleted from there, then phone memory
if u install .apk from market it will be stored and installed in /data/app in phone memory. i do not think it is stored twice in the phone.
Do u mean to say that only the installed file gets stored and. apk. File got deleted automatically after getting installed?
vijay.gupta said:
Do u mean to say that only the installed file gets stored and. apk. File got deleted automatically after getting installed?
Click to expand...
Click to collapse
Remember that an .apk file its a variant of the .jar files when you install an .apk this file gets stored inside the phone along with its necesary dependencies when the app starts, the os reads this file line by line while the app is executed.
In short terms the .apk file its the application itself that need a proper interpreter to run, in that way when you install and app to the phone, it copies this file and links the dependencies, so the .apks downloaded from makret are stored directly inside the app folder, in that way you can extract them from this folder and use it in another android phone.
You are relying too much on the windows ways of things. You see an exe file installion in windows essentially unpacking everything (other things aside) where it is needed and you then often see a bunch of files and folders. This is not what happens in android, the apk file is conserved when installed and can be found in the root part of your phone. Its data/app/ if installed on your phone, mnt/asec. (or something like asec) if installed on your sd card. You can copy that file to your sd card or send it to another device and install it again. I did just that today (I sent an apk to a friend)
anyway i dont think its same if i delete .apk + odex files from /data/app as i uninstall it with titanium backup. i think TB will be delete also data stored by the app inside the database (its the place where the apps are saving data, settings, etc...)
In case you are installing from Android Market:
1. When you are at market, it doesn't ask you to download. You will only get option either to install or update the existing app.
2. If you are a normal user, after installing, you won't be able to see the apk file anywhere on your memory card. But if you are a root user or with the help of special file managers and specific apps like root explorer and terminal emulators, you can locate those spk files in the phone's hidden memory.
3. If you are a root user, or with the help above mentioned type of apps, you can locate the apk files in phone memory and copy it on your memory card and distribute it to your wish.
4. If you are worried for paid apps and losing your phone or apps because of resetting or any other reason then stop worrying. A record of your paid apps is stored in google servers. So, even if you reset your phone or lose your phone, once you log in to a your new android device with the same google account, it will automatically show your paid apps. You don't have to pay for it again. Just need to install it again. This is applicable only if you are paying for the app through android market and you are logging into your android device with the same google account you had before losing your apps.
In case of installing via your SD card:
1. apk files are just like java files (.jad or .jar). You can download it on your PC from various sources and transfer it to your SD card or any of your friends' via USB, bluetooth or any other way.
2. After transfering the apk file to your SD card, it doesn't get automatically installed. You have to click it or open it to install, just like how we double click the exe file in windows.
3. Whether installed or not installed, the apk file you transfer to your SD card will always remain there unless and untill you or someone else delete it or you format your memory card.
4. Once installed, a copy of the same apk file would also be there in your phone's hidden memory, which you can access using special apps.
If you worried about losing your apps, try searching for other apps which backups apk... you can do so at android market. Moreover, also search on the net about having root access on your android device.. it'll let you access files in your phone's memory.
I hope, this would solve down all your queries !!!
Thanks next2 devil. Very gud explanation. It cleared almost all confusions. I have some more confusions that i want to clear out.
1) just a general query that just like exe file got unpacked after double clicking on it and install its files in c: genrally, does the same happen with apk, jad and jar files?
2) just want to clear out that phone memory which is hidden for normal users contains the copy of only those apk files that are currently installed on the phone and not the ones that are uninstalled or not installed at all?
vijay.gupta said:
Thanks next2 devil. Very gud explanation. It cleared almost all confusions. I have some more confusions that i want to clear out.
1) just a general query that just like exe file got unpacked after double clicking on it and install its files in c: genrally, does the same happen with apk, jad and jar files?
2) just want to clear out that phone memory which is hidden for normal users contains the copy of only those apk files that are currently installed on the phone and not the ones that are uninstalled or not installed at all?
Click to expand...
Click to collapse
1. I am not sure about JAD and JAR files, but yes, APK files unpack itself to get installed. You can come to know the exact size/space that would be taken by the app directly from the android market. Details would be given there.
2. Yes, the phone memory would be having copy of files only which is installed. There would be no copy of any apk file which in not installed.
Thanks next2devil. Your response give rise to one more query.
if i compare unpacking logic from windows, there is no need for original exe file to remain in existence after it has been installed and user can delete exe file after installing it. Deleting exe file has no negative impact on the working of installed app. Please let me know if this is also the case with apk files? If yes, then what is the need of apk file to remain in phone memory after it has been installed?
vijay.gupta said:
Thanks next2devil. Your response give rise to one more query.
if i compare unpacking logic from windows, there is no need for original exe file to remain in existence after it has been installed and user can delete exe file after installing it. Deleting exe file has no negative impact on the working of installed app. Please let me know if this is also the case with apk files? If yes, then what is the need of apk file to remain in phone memory after it has been installed?
Click to expand...
Click to collapse
Short and simple. Deleting the apk file from /data/app removes the app.
Sent from my Lestatious v1.4.5.5 Galaxy 3 FROYO
Ok this was a big problems for me because i love testing out sifferent rom but also have like 9 different emaisl accounts on my phone (NOT GMAIL) but email accounts.
And everytime i would tryout a new rom and i would do a wipe and then have to Start from scratch with my email accouts.
So i did some messing around with my phone and foudn out how to make a complete backup of all my account please read carfully
(I AM NOT RESPONSIABLE FOR ANY DAMAGES DOEN TO YOUR DEVICE)
Things Nedded
# 1. An Android Phone (Duhhhhhh)
# 2. A Rooted Phone (Must be rooted to do this)
# 3. Root Explorer
# 4. An SD Card with enough space to backup your accounts.
here is the procedure.
Before installing any new roms or just doing a wipe you must do the following to backup your accounts.
Open Root Explorer and browse to the following folder on your phone
data/data/com.android.email folder
in this folder should find the following folders
chache
database
files
lib
shared_prefs
now copy each folder and browse back into your sd card and paste them into a new folder on your SD card.
now your email setting are safe and you can wipe the data from your phone.
now once you have installed a new rom or did a master reset.
go into your email app and add 1 email account somthign simple like a gmail or aol etc....
install and run root explorer again,
browse to your SD card were you saved toye 5 email folders
copy them and then browse back to
data/data/com.android.email
make a new folder in the data/data/com.anroid.email folder
so now open the new created folder so you will be in data/data/com.android.email/new folder (or what ever you named the new folder)
now paste the 5 folders in this new folder
chache
database
files
lib
shared_prefs
now open each folder and copy all files inside 1 of the folders for instance data/data/com.android.email/new folder/database copy all files in this folder
now browse back to data/data/com.android.emal folder and open the database folder located here in data/data/com.android.email.
so now you will be in the following folder data/data/com.android.email/database
now paste your files in this folder. (Please Note you may ends up with 2 of the same files for instance) (webview.db & webview.db -copy) delete the webview.db file and keep the webview.db-copy file.
now rename the webview.db-copy file to webview.db and any additional file that may have the -COPY extension on it delete the orignal and rename the -COPY file as the original file name.
keep doing this process with all 5 folders.
once done if you go into your email.app you will only still see the emailaccount you created erlier this is normal.
Now reboot your phone (Full Reboot) power off then power on.
when you return to your email.app you will see that all your account have returened.
if you need any help let me know.
i will add screen shots later to help out
Hope this helps.
RinnyCoop121
Great tutorial! This has been driving me nuts for years.
Just tried it though and the copy process failed... I believe a file was in use. I went to the app manager and force stopped email, but it still failed in copying. It did get farther though.
Any idea what else I should force stop for succes?
My plan b is to boot into recovery and see if I can do the copy steps from TWRP. Seems like I saw a file manager in there before..
Thanks again!
Mike
---------- Post added at 08:39 AM ---------- Previous post was at 08:23 AM ----------
I did have success copying with TWRP. Now I just have to backup my current rig and see where this process gets me! Thanks!
Mike
You must have noticed WLAN_LOGS folder in your internal storage with some files inside it taking up considerable amount of space. These files re-apppear even after deleting them. WLAN_LOGS : https://imgur.com/a/pq32N
After further digging I found out that MIUI devs have enabled (or should I say forgotten to disable) WiFi logging on the final build of MIUI ROM. WiFi logs are dumped as soon as you connect to any WiFi. This issue is present on official MIUI8, MIUI9 ROM and MIUI based custom ROMs such as Xiaomi.EU, MIUI Pro etc. as well.
How to disable WiFi log spam (needs root access) : Root here
Install any file manager app that supports root access such as Solid Explorer, MiXplorer
Open the app and grant root permissions
Go to the root folder > data > misc > wifi > cnss.diag.conf
Open it with the text editor and change the values as under
Code:
LOG_PATH_FLAG = 0
MAX_LOG_FILE_SIZE = 1
MAX_ARCHIVES = 1
LOG_STORAGE_PATH =
Save the file and reboot your phone. WiFi logging will be disabled permanently.
it's disabled now on xiaomi.eu 7.10.19 dev ROM.
Thanks a lot :good:
Thanks for the mod.
Can we do this with a magisk module ? Just in case
Hi all,
Just sharing my solution, I wanted to avoid rooting
So I deleted the folder wan_logs and created an empty file in internal root folder with the same name
So the system finds itself unable to create the folder and consequently can't create files in there
Seems to do the job
Location
dawabz94 said:
Hi all,
Just sharing my solution, I wanted to avoid rooting
So I deleted the folder wan_logs and created an empty file in internal root folder with the same name
So the system finds itself unable to create the folder and consequently can't create files in there
Seems to do the job
Click to expand...
Click to collapse
Where did you find that folder ? Please shre the location
Hi,
Found at the root of my internal storage
Hope this helps,
Old DCIM trick xD
dawabz94 said:
Hi all,
Just sharing my solution, I wanted to avoid rooting
So I deleted the folder wan_logs and created an empty file in internal root folder with the same name
So the system finds itself unable to create the folder and consequently can't create files in there
Seems to do the job
Click to expand...
Click to collapse
Absolutely!
I am also using this trick in my max 2 since 5 months.just make a file through es file explorer in the root directory with name wlan_logs .
Thanks
Sent from my Mi 6 using XDA Labs
On my Mi9 running MIUI 11 .conf file is located at /data/vendor/wifi and log files are at /data/vendor/wlan_logs