Go Back   Android Forums > Android Phones > HTC Wildfire S

Like Tree2Likes
  • 1 Post By Charlie65
  • 1 Post By samman282

test: Reply
 
LinkBack Thread Tools
Old May 6th, 2012, 03:56 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: May 2012
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 4 Times in 1 Post
Cool Wildfire S - Low Memory (excessive System Data)

Hi, I am new to this forum, but wanted to share something that may be interesting for other users of the Wildfire S. Here's how I seem to have resolved the low memory issue of my Wildfire S (for the time being).

I've been quite happy with my Wildfire S (Android 2.3.5), however, I used to have constant issues with low memory. After some research, I thought rooting the phone might be the only solution to free up some space. But I did not want to mess with the phone that much.

After some further research, using DiskUsage, I realized that my System Data was more than 90MB - that's a lot if you only have 150MB available. I could not find any sources for normal values, but 90MB just seemed excessive. Doing some further research I found hints that there might be some log-files that use up huge amounts of data. For HTC I identified anr_history.txt as possible culprit. Thing is, without root, I could not figure out whether I have such file on my phone (let alone figure out what size that file is). Of course, a factory reset would have deleted any log-files, but I dreaded the idea of having to do a full factory reset.

Playing around with adb, I could not access the file (without root). But I realized, that adb would let me change into directories.

Caution: The following will erase a system file on your phone. This may cause irreparable damage to your device. I do not claim that this solves any problems - just wanted to share my observation. Try at your own risk!

So here is what I finally did:

1. Get adb up and running
2. Using adb change into the directory: /data/data/com.android.htcprofile
3. Empty anr_history.txt with the following command: echo > anr_history.txt

Credit goes to Rossi Kwan for the echo-command (sorry, can't give the link as this is my first post)!

Using this method my System Data was down from more than 90MB to little over 15MB! I have now been able to apply all updates to the stock apps and still have more than 70MB of free memory. So happy!

Apparently anr_history.txt records application crashes, so it will likely grow in size again. But with the above method it should be easy enough to trim it again. I should be grateful if others that may have more knowledge on the subject could have a look at the trick. Please let me know what you think!

Charlie
nowmrida likes this.

Advertisements
Charlie65 is offline  
Reply With Quote
The Following 4 Users Say Thank You to Charlie65 For This Useful Post:
CafeKampuchia (May 26th, 2012), Garawa (June 22nd, 2012), nowmrida (May 20th, 2013), sisu (May 21st, 2012)
sponsored links
Old May 19th, 2012, 11:37 AM   #2 (permalink)
Junior Member
 
Join Date: Dec 2011
Gender: Male
Posts: 43
 
Device(s): HTC EVO V 4G
Carrier: Virgin Mobile

Thanks: 4
Thanked 1 Time in 1 Post
Default

Didnt work here. I get an error "cd: can't cd to com.android.htcprofile". I'm running 2.3.4 by the way.
hpguru is offline  
Reply With Quote
Old May 19th, 2012, 07:50 PM   #3 (permalink)
New Member
 
Join Date: May 2012
Location: Atlanta, GA
Gender: Male
Posts: 9
 
Device(s): LG Motion 4G
Carrier: MetroPCS

Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to gavinr Send a message via Skype™ to gavinr gavinralbag@gmail.com
Default

I also have on average 14mb of free data I've deleted all kinds of things but honestly it doesn't make much difference. And my phone doesn't have that file. Any Idea of what else i can do other than delete caches and programs?
gavinr is offline  
Reply With Quote
Old May 20th, 2012, 05:03 PM   #4 (permalink)
New Member
Thread Author (OP)
 
Join Date: May 2012
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 4 Times in 1 Post
Default

@hpguru - Thanks for your reply. Did you check whether you can change folders into some other (known) folders? If so, then possibly your phone stores these data somewhere else. Maybe its the android version. Also, I use a European (GSM) Wildfire S - maybe that is another difference.

@gavinr - Thanks. How do you know your phone does not have the file? Generally, try narrowing down what is using the memory. Did you check your System Data with DiskUsage? If it is not System Data, try to see what your apps use and whether that adds up to the memory usage you are seeing.

Charlie
Charlie65 is offline  
Reply With Quote
Old May 20th, 2012, 07:23 PM   #5 (permalink)
Junior Member
 
Join Date: Dec 2011
Gender: Male
Posts: 43
 
Device(s): HTC EVO V 4G
Carrier: Virgin Mobile

Thanks: 4
Thanked 1 Time in 1 Post
Default

The file in question doesn't exist on my phone.
hpguru is offline  
Reply With Quote
Old May 21st, 2012, 05:01 PM   #6 (permalink)
New Member
Thread Author (OP)
 
Join Date: May 2012
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 4 Times in 1 Post
Default

hpguru, how do you know that the file does not exist? Do you have a rooted phone? Note, I cannot see the file on my phone either (seems to be protected by the OS) - but still it should be there (though I only have indirect evidence).

Charlie
Charlie65 is offline  
Reply With Quote
Old May 21st, 2012, 07:35 PM   #7 (permalink)
Member
 
sisu's Avatar
 
Join Date: Nov 2011
Location: Southwest Washington
Gender: Male
Posts: 154
 
Device(s): HTC EVO 4G LTE (unlocked, rooted, S-OFF)
Carrier: Ting Mobile

Thanks: 39
Thanked 40 Times in 34 Posts
Default

My phone is rooted. I have currently 67MB free out of 150MB. I use Simonsimons34's rooted stock ROM.

I do have the named file in the folder, but it's empty, size is 0B

Maybe he tweaked it to not save any logs to it, idk.

I like your idea, I should check it out on my daughters unrooted WFS
__________________
HTC EVO 4G LTE unlocked, rooted, s-off.
Ting Mobile (click here to save $25 on Ting)

sisu is offline  
Last edited by sisu; May 21st, 2012 at 08:18 PM. Reason: typos
Reply With Quote
Old May 21st, 2012, 07:56 PM   #8 (permalink)
Junior Member
 
Join Date: Dec 2011
Gender: Male
Posts: 43
 
Device(s): HTC EVO V 4G
Carrier: Virgin Mobile

Thanks: 4
Thanked 1 Time in 1 Post
Default

No its not rooted. I used Astro File Manager to search for the file. If it exists I don't have sufficient rights to view the file
hpguru is offline  
Reply With Quote
Old May 25th, 2012, 05:10 AM   #9 (permalink)
Junior Member
 
Join Date: May 2012
Posts: 25
 
Device(s): Wildfire S m1ndh4x8r stock ROM GB2.3.5 Overclocked, Link2SD
Carrier: Not Provided

Thanks: 1
Thanked 3 Times in 2 Posts
Default

I was also constantly finding problems with low memory & at times mail & other apps would not sync due to low memory. I used to often manually delete app data to free memory which helped a bit. In the end I gave up on the battle & rooted my phone. I now enjoy having enough memory to install all the apps I want. I know rooting is not for everyone but it saved my wfs. 700mb free mem beats 18mb.
playing around is offline  
Reply With Quote
Old May 26th, 2012, 08:16 AM   #10 (permalink)
New Member
 
Join Date: May 2012
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 4 Times in 2 Posts
Default Guide how to delete the text history file for getting more internal memory

Hey guys,
as you all may know the Wildfire S has the problem that the internal memory gets low and lower with every day. There is a solution for that, however I don't take any responsibility for damages on your phones.
Download the Android SDK on the Android developer site . Then extract it to your desktop and start SDK Manager. After that install Google USB Driver and Android SDK Platform tools. Now you have to install the newest version of HTC Sync. After that connect your smartphone to your computer and head to Settings -> Applications -> Development -> USB Debugging. Then you have to open cmd as an administrator and simply type in:
1.:
cd desktop\android-sdk-windows\platform-tools OR (if that does not work!!!) cd C:\Users\(YOUR PROFILE NAME)\Desktop\android-sdk-windows\platform-tools
2.:
adb devices
3.:
adb shell
4.:
cd /data/data/com.android.htcprofile
5.:
echo > anr_history.txt
6.:
exit
That was it. Now you can disconnect your smartphone from your computer.
I have tested it on my phone and got more than 30 MB more memory. I hope that this is going to work on your phones too .
msemtd likes this.
samman282 is offline  
Reply With Quote
The Following 3 Users Say Thank You to samman282 For This Useful Post:
alberttomin (April 11th, 2013), Garawa (June 22nd, 2012), missykai (July 9th, 2012)
sponsored links
Old May 26th, 2012, 09:44 AM   #11 (permalink)
Senior Member
 
CafeKampuchia's Avatar
 
Join Date: Dec 2011
Location: Pursat, Cambodia
Gender: Male
Posts: 2,163
 
Device(s): Samsung Galaxy TabPRO 8.4, Google Nexus 5, OnePlus One
Carrier: CellCard & Metfone

Thanks: 1,340
Thanked 1,419 Times in 750 Posts
Default

Sammam, welcome to Android Forums. I've moved your post to an earlier thread where this is already being discussed.
__________________
Don't just say thanks, click Thanks
Android Forums Site Rules/Guidelines OnePlus One Rooting Guide

Please don't send me PMs with support questions. That's what the forum is for
CafeKampuchia is offline  
Reply With Quote
Old May 26th, 2012, 09:51 AM   #12 (permalink)
New Member
 
Join Date: May 2012
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 4 Times in 2 Posts
Default

Thanks . Okay, I didn't notice that.
samman282 is offline  
Reply With Quote
The Following User Says Thank You to samman282 For This Useful Post:
CafeKampuchia (May 26th, 2012)
Old June 11th, 2012, 07:14 PM   #13 (permalink)
New Member
 
Join Date: Jun 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by samman282 View Post
Hey guys,
as you all may know the Wildfire S has the problem that the internal memory gets low and lower with every day. There is a solution for that, however I don't take any responsibility for damages on your phones.
Download the Android SDK on the Android developer site . Then extract it to your desktop and start SDK Manager. After that install Google USB Driver and Android SDK Platform tools. Now you have to install the newest version of HTC Sync. After that connect your smartphone to your computer and head to Settings -> Applications -> Development -> USB Debugging. Then you have to open cmd as an administrator and simply type in:
1.:
cd desktop\android-sdk-windows\platform-tools OR (if that does not work!!!) cd C:\Users\(YOUR PROFILE NAME)\Desktop\android-sdk-windows\platform-tools
2.:
adb devices
3.:
adb shell
4.:
cd /data/data/com.android.htcprofile
5.:
echo > anr_history.txt
6.:
exit
That was it. Now you can disconnect your smartphone from your computer.
I have tested it on my phone and got more than 30 MB more memory. I hope that this is going to work on your phones too .


I tried the above although for point 4 changed / to \ but got the message permission denied. Do you know why this was and it I can get round it.
Daisymae is offline  
Reply With Quote
Old June 12th, 2012, 08:14 AM   #14 (permalink)
Junior Member
 
Join Date: Apr 2012
Posts: 30
 
Device(s): Current device: htc Wildfire S (Android 2.3.5 - 2.14.110.1) Previous device: Nokia N95
Carrier: Not Provided

Thanks: 5
Thanked 1 Time in 1 Post
Default

I'm scared of doing stuff like this! I've just did the SDK thing that forces stuff onto the memory card and that worked ok, is this any more dodgy or more difficult than that or no different?

I have lost memory that I cannot get back by clearing caches or data and my downloads total the same but somewhere I have lost over 18Mb that isn't showing up and I wonder if it is this.
Garawa is offline  
Reply With Quote
Old June 12th, 2012, 04:57 PM   #15 (permalink)
Member
 
Join Date: Dec 2011
Posts: 140
 
Device(s): HTC Wildfire S
Carrier: Not Provided

Thanks: 9
Thanked 5 Times in 5 Posts
Default

Just done it! had to mess around with the address a bit, but got there.
gave me about 1mb more.
jamesbil is offline  
Reply With Quote
Old June 22nd, 2012, 06:54 AM   #16 (permalink)
Junior Member
 
Join Date: Apr 2012
Posts: 30
 
Device(s): Current device: htc Wildfire S (Android 2.3.5 - 2.14.110.1) Previous device: Nokia N95
Carrier: Not Provided

Thanks: 5
Thanked 1 Time in 1 Post
Default

This solved my problem. I had lost memory galore that I couldn't get back after clearing caches etc, it was a mystery. Last night I had 6Mb, the best I could get from clearing everything. This morning the phone had locked up and after rebooting I had 3Mb! I did this and now have 35Mb - thankyou very much!
Garawa is offline  
Reply With Quote
Old June 25th, 2012, 01:45 AM   #17 (permalink)
New Member
 
Join Date: Jun 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

After doing this, several things happened. My phone was telling me I had ~15mb free but I couldn't run gallery or other applications ect that require a certain amount of memory free. After doing some cleaning up with caches and data ect I've made enough space free to run things again.

Is there a way to reverse this procedure?

This is an awesome little phone, but the lack of internal memory is such a major let down on a smart phone and gives people a bad taste of HTC, if they were looking to upgrade to a higher end model.
jared04 is offline  
Reply With Quote
Old August 1st, 2012, 04:11 PM   #18 (permalink)
Member
 
Join Date: Dec 2011
Posts: 140
 
Device(s): HTC Wildfire S
Carrier: Not Provided

Thanks: 9
Thanked 5 Times in 5 Posts
Default

just trying again as i did a reset, am now getting cant cd message at step 4
jamesbil is offline  
Reply With Quote
Old August 26th, 2012, 09:14 AM   #19 (permalink)
New Member
 
Join Date: May 2012
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 4 Times in 2 Posts
Default

Why, what do you all get?
samman282 is offline  
Reply With Quote
Old September 22nd, 2012, 05:15 AM   #20 (permalink)
New Member
 
Join Date: Sep 2012
Posts: 1
 
Device(s): HTC Wildfire
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I just tried this on my wildfire. went from 10mb to 25mb. Thanks!
diorama22 is offline  
Reply With Quote
sponsored links
Old November 5th, 2012, 07:04 AM   #21 (permalink)
New Member
 
Join Date: Apr 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

I guess clearing this file has to be done from time to time as this file will continue to pile up data.

Is there a crontab in android that could execute this ?

Sorry for the question i am new to that android stuff and only familliar with unix/linux systems.

BR

sp: Maybe better link this file to /dev/null would solve the problem permanently
sven31415 is offline  
Reply With Quote
Old November 19th, 2012, 03:44 PM   #22 (permalink)
New Member
 
Join Date: Nov 2012
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, I'm also a wildfire user who has the same data problem, as of now I'm at 0% left it's apparently all used up. I removed all the apps I installed and cleared alot of data off of apps. I'm not very tech savvy so if somebody can help me fix this problem it would be GREATLY appreciated. Also when I cleared the data from the internet app the status bar on top that displays the time usually is gone..
Thanks,
-Matt
Rasavior is offline  
Last edited by Rasavior; November 19th, 2012 at 03:47 PM.
Reply With Quote
Old November 21st, 2012, 04:11 AM   #23 (permalink)
New Member
 
Join Date: Nov 2011
Location: India
Posts: 14
 
Device(s): HTC Wildfire S
Carrier: Not Provided

Thanks: 2
Thanked 3 Times in 2 Posts
Default

If you can root your phone and install a custom rom you can get lots of free space.
Currently I'm running cm 9 on my wildfire s. I have 2 gb of internal storage. Its pretty easy to get this. You need a rooted device with a 8gb or more sd card. The sd card should also be a class 6 or higher. if you use a low class sd card your phone will lag like hell.

Create a partition(this is the new internal memory) on your sd card which is a ext filesystem.[I created a 2 gb partition]. Then go to the recovery and flash the data2sd script. Finally reboot.

There you go 2 gb of internal space!
Here's the link: http://forum.xda-developers.com/showthread.php?t=1490607
rjmendus is offline  
Last edited by rjmendus; November 21st, 2012 at 04:15 AM. Reason: Extra info
Reply With Quote
The Following 2 Users Say Thank You to rjmendus For This Useful Post:
Best gp (April 10th, 2013), Blade Carver (June 16th, 2013)
Old March 4th, 2013, 04:33 AM   #24 (permalink)
New Member
 
Join Date: Mar 2013
Gender: Male
Posts: 3
 
Device(s):
Carrier: KPN

Thanks: 1
Thanked 0 Times in 0 Posts
Happy

The following step:
Quote:
Originally Posted by samman282 View Post
4.: cd /data/data/com.android.htcprofile
returns "change: permission denied" for me.
So, I tried "echo " " > /data/data/com.android.htcprofile/anr_history.txt"
This returned without an error message.
System data shrunk from 88.7 MB to 70.5 MB.

Also, at first, "adb devices" returned no connected devices. I first had to download HTC Sync to obtain a driver.
RSchreurs is offline  
Reply With Quote
Old March 13th, 2013, 12:24 PM   #25 (permalink)
New Member
 
Join Date: May 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Mine too
mosy7 is offline  
Reply With Quote
Old April 10th, 2013, 08:48 AM   #26 (permalink)
New Member
 
Join Date: Apr 2013
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by rjmendus View Post
If you can root your phone and install a custom rom you can get lots of free space.
Currently I'm running cm 9 on my wildfire s. I have 2 gb of internal storage. Its pretty easy to get this. You need a rooted device with a 8gb or more sd card. The sd card should also be a class 6 or higher. if you use a low class sd card your phone will lag like hell.

Create a partition(this is the new internal memory) on your sd card which is a ext filesystem.[I created a 2 gb partition]. Then go to the recovery and flash the data2sd script. Finally reboot.

There you go 2 gb of internal space!
Here's the link: http://forum.xda-developers.com/showthread.php?t=1490607
thanks this really sets a relief about the memory problem
Best gp is offline  
Reply With Quote
Old April 11th, 2013, 09:05 AM   #27 (permalink)
New Member
 
Join Date: Apr 2013
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

hi...
i did it on wildfire s and got better memory on my phone

Thanks Brother
alberttomin is offline  
Reply With Quote
Old May 11th, 2013, 05:30 AM   #28 (permalink)
New Member
 
Join Date: Nov 2012
Location: Hampshire, UK
Gender: Male
Posts: 5
 
Device(s): HTC Wildfire S A510E
Carrier: Orange

Thanks: 3
Thanked 0 Times in 0 Posts
Default Grateful for advice...

Hello everyone...
I tried this technique on my A510E as it has now run out of storage after being rooted and having APPS2SD run a few months ago.
However, the directory: /data/data/com.android.htcprofile does not seem to exist on my phone, and the "find" and "locate" commands do not run in ADB shell.
Could the history file be hiding somewhere else?
Can anyone suggest anything else, or should I just forge on and install a custom ROM?
Thanks - Mike
MikeHeadon is offline  
Reply With Quote
Reply

HTC Wildfire S
Current Rating:
Rate this Phone:

An update to the original HTC Wildfire, the HTC Wildfire S provides key updates to a phone targeted towards phone seekers desiring a small, simple, affordable, yet attractive smartphone experience. The Wildfire S looks like a miniature version of t... Read More

Tags
low memory, system data, wildfire s


Go Back   Android Forums > Android Phones > HTC Wildfire S
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:00 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.