Resetting phone usage statistics: data and process stats - Android General

Some are asking how to reset phone usages without formatting data.
here's what I am doing just to reset my usages:
I'd say much better if your phone is rooted, and a nandroid backup just in case there is something wrong on what you've done.
-Must be rooted and must have a root capable file explorer/manager.
On internet usage:
open this folder in /data/system/netstats/*
inside that folder, delete all files. DON'T DELETE THE FOLDER ITSELF.
it will cause bootloops
On battery usage, find the following, if not all of them are present, delete the existing file:
delete the following inside /data/system/* : batterystats-checkin.bin , batterystats-daily.xml, and batterystats.bin
On process stats/usage:
inside /data/system/procstats/* , delete all files inside that folder, again don't delete the folder itself.
also open /data/system/usagestats/0/* , delete all the files inside the following folders: daily, monthly, weekly, and yearly.
in other roms, the path is /data/system/usagestats/*.
do not delete the folders. might cause bootloops
After that, reboot normally. after rebooting, you will notice that usages are back to its lowest values.
I hope it helped for some who has problems regarding phone's usage.

pheno1992 said:
Some are asking how to reset phone usages without formatting data.
here's what I am doing just to reset my usages:
I'd say much better if your phone is rooted, and a nandroid backup just in case there is something wrong on what you've done.
-Must be rooted and must have a root capable file explorer/manager.
On internet usage:
open this folder in /data/system/netstats/*
inside that folder, delete all files. DON'T DELETE THE FOLDER ITSELF.
it will cause bootloops
On battery usage, find the following, if not all of them are present, delete the existing file:
delete the following inside /data/system/* : batterystats-checkin.bin , batterystats-daily.xml, and batterystats.bin
On process stats/usage:
inside /data/system/procstats/* , delete all files inside that folder, again don't delete the folder itself.
also open /data/system/usagestats/0/* , delete all the files inside the following folders: daily, monthly, weekly, and yearly.
in other roms, the path is /data/system/usagestats/*.
do not delete the folders. might cause bootloops
After that, reboot normally. after rebooting, you will notice that usages are back to its lowest values.
I hope it helped for some who has problems regarding phone's usage.
Click to expand...
Click to collapse
Many thanks!
I was searching for this.

Related

[Q] help with unknown folders

Hi everyone, I'm trying to clean up my phone to make it faster and free up some memory. But while I was looking for files and folders that can be thrown away, I wasn't sure about few of them & couldn't determine whether I can get rid of them or not! Here are the folders and files I'm asking about (they're all located in the internal memory):
1- (.droidga)
contains some unknown files like (gad_ds), (gad_gt), (gad_install), and some other files with the extension of (.p)
2- (iten)
contains only one file (iten_v2.db)
The following ones are located inside (Android/data) folder:
3- (com.chartboost.sdk)
contains a file (chartboost.cb)
4- (ly.font)
contains a cache folder with many different files
can anyone please explain what these folders are & if it's safe to remove them or not!
Thanks a lot!
- Ramy
r.romyo said:
Hi everyone, I'm trying to clean up my phone to make it faster and free up some memory. But while I was looking for files and folders that can be thrown away, I wasn't sure about few of them & couldn't determine whether I can get rid of them or not! Here are the folders and files I'm asking about (they're all located in the internal memory):
1- (.droidga)
contains some unknown files like (gad_ds), (gad_gt), (gad_install), and some other files with the extension of (.p)
2- (iten)
contains only one file (iten_v2.db)
The following ones are located inside (Android/data) folder:
3- (com.chartboost.sdk)
contains a file (chartboost.cb)
4- (ly.font)
contains a cache folder with many different files
can anyone please explain what these folders are & if it's safe to remove them or not!
Thanks a lot!
- Ramy
Click to expand...
Click to collapse
These files and folders are generated by the apps that you have installed. If you want to delete unnecessary folders then use Android Assistant(18 Features) from Play Store and do cleanup. This will also give you a slight performance gain.. But if you delete these folders then again it will be regenerated by the corresponding app.
One more advice if you are rooted and find reduction in performance then Wipe cache from cwm from time to time this will also help you.
Hope you got your answer.
Thanks
kk9999gada said:
These files and folders are generated by the apps that you have installed. If you want to delete unnecessary folders then use Android Assistant(18 Features) from Play Store and do cleanup. This will also give you a slight performance gain.. But if you delete these folders then again it will be regenerated by the corresponding app.
One more advice if you are rooted and find reduction in performance then Wipe cache from cwm from time to time this will also help you.
Hope you got your answer.
Click to expand...
Click to collapse
Well I'm actually using another app called "Clean Master" & it does the job very well, but still these folders & files exist.
I know they're are not a big deal even in terms of the space they occupy, but the thing is I had tons of apps installed on my phone previously then I decided to do the factory reset few days ago. It feels much lighter and faster now, but even after the reset some folders created by apps I had before were not completely removed. I removed everything I know, but also wanted to go further and remove any other unnecessary files. I just wasn't sure whether the files I mentioned are system files or not.
& no my phone is not rooted.
Thanks a lot for the tips! :good:

Backup and Restore Apps and Data [Manually]

Hello folks,
I am tired of restoring all my apps settings and replaying my games from the beginning each time I install a new rom or do a factory reset so I was looking (a couple of hours ago) for how to restore my apps setting and especially my games progress after every data wipe......
I read that many users faced problems using helium and some similar apps (Titanium Backup seems to be perfect for this job but it's a paid app and that is the problem:laugh and after all this I figured out that what were doing these apps to make a full backup of an app is just making a copy of the app.apk and the app folder in /data/data where app is the name of the considered app(sorry if this is well-known but I really didn't know)
So I made this tutorial on how to backup/restore your apps and data MANUALLY because this let you choose which app to backup/restore...
This tutorial is for noobs (because I am noob!!!!!)
Requirements:
Galaxy SL or any other android device.
ES explorer or any other file explorer with root access support.
Your phone needs to be rooted.
Backing up app and data:
Enable your explorer read/write permissions (for ES explorer >>settings>>root options).
Go to /data/app and copy the app.apk to your SD card backup folder.
Go to /data/data and copy app folder to your SD card backup folder.
that's it, now your app is fully backed up.
Restoring app and data:
Install app.apk from backup folder
Go to /data/data and remove the existing app folder (don't launch the app now because it won't start)
Copy the app folder from the backup folder to /data/data
launch your app now, it should work!
that's it, now your app is fully restored.
Notes:
I tried this to backup and restore NFS most wanted progress and it WORKED!!!!
Maybe this methode don't work for some apps but it should work for the rest of them.
For system apps go to /system/app .
app folder should start with "com." (for example "com.ea.games.nfs13_na" for NFS most wanted).
I don't know what is the difference between this methode and the adb methode so can someone tell me if there is a difference.
Restoring apps settings from/to different android versions may not work
hey guys, this is my first thread so please don't blame me if it's not good enough
sorry for my bad English and hope this will be helpful for you
Best regards
any replays here???
how to restore helium backup manually????
:fingers-crossed::fingers-crossed::fingers-crossed:
ASMI1 said:
3. Copy the app folder from the backup folder to /data/data
4. launch your app now, it should work!
Click to expand...
Click to collapse
Thanks, it works!
But there is some small point. The Android system uses technical users to separate the data of the apps from each other. If you copy the files this way then the copied files will belong to root and be accessible for all apps.
So you should also take care that the file and folder attributes for rights, users and groups are correctly set. Therefore start and stop the installed app again, it will create its folder in /data/data. You can then see (and set) the attributes in the properties entry of ES file explorer. And only then overwrite the files with the backup and after this set the attributes.
Unfortunately this is not very comfortable with ES file explorer, because it has to be done for each and every file/folder separately and the technical user has to be chosen from a long list...
ThemGo said:
Thanks, it works!
But there is some small point. The Android system uses technical users to separate the data of the apps from each other. If you copy the files this way then the copied files will belong to root and be accessible for all apps.
So you should also take care that the file and folder attributes for rights, users and groups are correctly set. Therefore start and stop the installed app again, it will create its folder in /data/data. You can then see (and set) the attributes in the properties entry of ES file explorer. And only then overwrite the files with the backup and after this set the attributes.
Unfortunately this is not very comfortable with ES file explorer, because it has to be done for each and every file/folder separately and the technical user has to be chosen from a long list...
Click to expand...
Click to collapse
Hi ThemGo! You have reopened a bit old thread :laugh: Now a days, the play store is bull of useful apps to backup almost everything on your android device. I found that Titanium backup Pro is the best among them all. Its a paid app but it really deserve it
Kind Regards
ASMI1 said:
the play store is bull of useful apps to backup almost everything on your android device
Click to expand...
Click to collapse
Of course, but what - as happened to me last month - if your phone dies suddenly, you get yourself a new one and fortunately have a not too old backup made with cwm recovery, what will you do?
Yes, extract the necessary data from the backup and then copy it manually to the new phone.
ThemGo said:
Of course, but what - as happened to me last month - if your phone dies suddenly, you get yourself a new one and fortunately have a not too old backup made with cwm recovery, what will you do?
Yes, extract the necessary data from the backup and then copy it manually to the new phone.
Click to expand...
Click to collapse
Havent really tried that but if both phones are using same android version that may work. Because some of my apps that were backed up on Jellybean are not working on Kitkat & Lollipop even when using the same phone so I guess the backup procedure is not just a matter of copying & pasting.

First Port to the Cube T7 Phablet.

After trying and trying and failing, I have finally figured out a way to port a rom to the Cube T7.
This has proven the only method (in my experience) to work. All the standard methods have failed
each time.
WARNING!!!!! THIS COULD BRICK OR DAMAGE YOUR PHONE
YOU ARE TRYING THIS AT YOUR OWN RISK. I WILL NOT BE HELD RESPONSIBLE
FOR WHAT HAPPENS TO YOUR DEVICE!!!!
Things you need.
latest Spftool
and the Rom package
NOTE:You need to know that you can't just flash the package I put together. You will
need to use the TWRP recovery that comes in the package to transfer file from your external sd to
the system folder and so forth. Also the proper permission to set.
Step 1: Flashing the images.
I've already pulled the correct img from each folder and put it together for you.
The only thing that you will need to do is extract the folder and use the spf tool to
install the firmware.
Note** In order to keep the 3.97 app storage, I've had to make sure to use the
Spf tool to do a full format except for the bootloader.
Step 2: Repairing the Rom
In the rar package, I included all the files need to fix the rom so
it will work smoothly on your phone. The files can be located in
the "system" folder which will need to be copied to your external sdcard
At this point you will already have flash the images and turn on the phone.
You will notice that the after you turn it on, you will get a warning that says "Cpu overheating"
or at least to that affect. This is not true by the way, this is from the fact the tp settings are off
from the original rom. Either way the warning will force boot your phone which again is fine.
Once this happens you will need to go to recovery.
Once in recovery make sure that you go ahead and mount your
system partition.
With this done you will be able to go to /system/etc/.tp
This folder contains the files that control the thermal manager for
the rom. You want to delete this folder. YES DETELE IT!!!
Once deleted, go to the system folder that you should have copied to your
external Sdcard. You need to copy /system/etc/tp to the exact location that you
just deleted the original.
Once you've done this you will need to set the permissions for the folder and the
files contained. The folder needs to be set to 0755 and the files inside need to be set to 0644.
Once done its best to go ahead and use the recovery to flash UPDATE-SuperSU-v2.46.zip to root your device before
restarting. Once restarted you will need to use root explorer or es explorer root function to
copy all the files to there correct locations and set their permissions. Each file is in its corresponding
folder as it should be in the system partition. All you will need to do is copy and past from the folder on the external and
paste to the same folder in the system partition. For those that may not know, all files will be set to 0644/rw--r--r-- and folders that you copy over will be 0755/rwxr-xr-x (if your using root explorer, just un check the group and others on the "Write" permissions.
Whats not working?
I can't figure out how to get the camera to working.
I've used standard tuts to try and copy the right files or libs
but not luck as of yet. If anyone figures out a way please share!!!
Also, if you have the fold case, the screen does not come on when you
open the fold. Also when double tapping the screen, this does not take it out of sleep
mode. From what I've seen those are the only things that dont work. If you see something
else, please report it to this thread.
Also in the package you will find the Carliv 3.3 recovery version for our phone.
Thanks to kushyree from needrom.com for building it for us.
He also has been assisting me in trying to port other roms to our phone. We owe him a lot of thanks.
Let me know if you guys need any help with this. I will do the best I can to try and help out. Enjoy.

Titanium backup just creates a "file" instead of a folder.

I have tried changing the location, rebooting my phone, changing the file to a .zip, etc. but nothing is working. When i change it to a zip and try to open it, it says the archive is damaged. When i delete the backup file and then recreate a backup, its still just a "File" type of file. Am i missing a setting or something? No matter where i place the backup it's the same thing. Im trying to turn it into a folder so i can drag in other backup files. I keep breaking the phone due to the locked bootloader, and the other 3 times titanium made a folder with all the backup contents in it.
P.S. I dont want to back it up to something like google drive. Someone always says to do that on every thread i look at

Delete .txt files?

I have two files under Documents & Other in the Files folder named MyWorkLog.txt and ssoLogs.txt that I don't believe to be important and would like to delete, but I don't want to screw my phone up. Are they safe to delete or no?
Chris92881 said:
I have two files under Documents & Other in the Files folder named MyWorkLog.txt and ssoLogs.txt that I don't believe to be important and would like to delete, but I don't want to screw my phone up. Are they safe to delete or no?
Click to expand...
Click to collapse
I would check the timestamp of its last modification, and have a look into the text files.
Then decide if the files are currently used and contain important data, or not.
Maybe better to move the files into a backup folder first, check if everything still works fine, and delete the files later.
It is just a lay out of codes that make up your screen usual when you download PicsArt and sometimes your texting/messaging app.

Categories

Resources