yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] Hardedge:
Hi,

I'm new to the forums and I'm trying to figure something out about freeing up memory for my low memory smartphone .

Things I'm familiar with are:

app 2 SD, using titanium backup to move apps to sd, using root explorer to delete stock apps, clear dalvik cache. I also noticed that each time u place an app to the SD, there is still a part that is placed on the internal memory.

I like having lots of apps so I'm looking for all possible ways to free up memory. Right now I have about 24MB free space. At 18-19MB it starts giving the low memory warning.

Since the custom rom I'm using, uses quite some space and because I ran out of options to get more space I tried something new:

removing files from the system folder

I used root explorer to delete:

ringtones I'm not using, startup & shutdown sound, T9 languages I'm never gonna use, log files (crash dump)

Root explorer shows I got 41 MB free memory (so I deleted about 17 MB of system files I'm not using anyway)

But when I looked at how much free internal space inside the settings menu, I noticed the value didn't change (24MB)! .

So if I install about 5 MB of apps it's gonna give me the low memory warning again.

I tried rebooting: doesnt change a thing.

I tried clearing dalvik cache: it seemed to work for a moment. The menu showed I have 36 MB of free space. But then as soon as I changed a file it popped back to 24MB

It's like the phone doesnt know there is free space he can use :confused:

Does anyone got a solution for this weird problem?

ps: my specs

GT-i5800 (Samsung galaxy 3 / apollo)

using Kyrillos' rom v7.0 overclocked
[Android Q&A, Help & Troubleshooting] Ace42:
https://market.android.com/details?id=com.google.android.diskusage&hl=en

Check where most of the space is used at, try clearing cache+dalvik in recovery and see if it improves. What is your phone's max Storage amount[avail for apps]
[Android Q&A, Help & Troubleshooting] Hardedge:
I got DiskUsage and it pretty much tells me the same as root explorer.

When I go into /system it shows I got 41,6 MB free space (& 10,6 MB System data),

but strangely enough when I go into /data it shows I got 23,9 MB free space & (38,7 MB system data).

I wrote down what Diskusage shows with the most important subfolders:

App storage (3 dirs):

Data (192,4MiB)

> 43.1 MiB Applications

> 125.5 MiB System Data

> 23.9 MiB Free space

[Root required] > /Data (24 dirs)

/data (192,4MiB) :

> 83.9 MiB dalvik cache

> 26.0 MiB data

> 16.0 MiB app

> log

> ...

> 38,7 MiB System data

> 23.9 Mib

[Root required] > /System (22 dirs)

/system (209 Mib)

> 59.7 MiB app

> 53.0 MiB lib

> 14.3 MiB framework

> ...

> 10.6 Mib System data

> 41.6 Mib Free Space

I'll try clearing dalvick once more but this time I'll clear cache too to see if that works, as you said.
[Android Q&A, Help & Troubleshooting] Hardedge:
by the way, Ace42 , thanks for the quick reply.

But I tried what you said and it didn't change much. I'm thinking there's a cap/maximum for the amount of storage that can be used for apps.

Or maybe there is a mimimum amount of space that is reserved for system files or system resources.

I don't know..
[Android Q&A, Help & Troubleshooting] Ace42:
Most of the phone's ROM space is for /system , from what I see the /data partition is pretty much 200MB. Dalvik/cache gets recreated, and there's a folder for all installed apps[sytem/user] in the dalvik folder[data/dalvik-cache] . You have to lower the amount of apps you use, delete system apps that aren't needed and remove their folder from /data/data & data/dalvik-cache. Or use a ROM that's much smaller, and you'll see more space. The installed apps are using a minor amount of space, so that's not an issue really.
[Android Q&A, Help & Troubleshooting] Hardedge:
oh forgot to mention that

/system dir = 209 Mib.

I edited it in the post.

How come it's larger than /data or app storage (192,4MiB) :s ?

Can I move the free space to the other folder (or is the correct term partition here)?
[Android Q&A, Help & Troubleshooting] Hardedge:
How come it's larger than /data or app storage (192,4MiB) :s ?

Can I move the free space to the other folder (or is the correct term partition here)?
[Android Q&A, Help & Troubleshooting] Ace42:
Because it contains important system files, and they require a lot of space.

It needs to have the most space compared to anything, and /cache is is normally big too since it also can be used to hold OTA's, when given out.
[Android Q&A, Help & Troubleshooting] Hardedge:
So is there no way to release the +15MiB I deleted from the system directory? And give it to /data?

Thanks for the info by the way
[HD Mini Android Development] HTCxxxx:
Hi all,

i have installed my-mini-kitchen on my ubuntu, but i don't know if all is ok, i put system.ext2 and initrd.gz and zImage on ORIGIN folder, after i extract all, but when i go to look the file on initrd.gz almost of folders are empty for example sys, system, data.. are empty is it normal? please help im starting now to use this and im not so expert...:o and who can help me to improve my use of it?
[HD Mini Android Development] schlund:
yes, thats normal, most of the folders in initrd.gz are empty, only import files are in bin folder and root folder.

the system files are in system.ext2
[HD Mini Android Development] HTCxxxx:
ok, ty but if i want to edit a file is sys folder how can i do it, if sys folder is empty???:confused:
[HD Mini Android Development] schlund:
system files are in /WORKING/system/* folder (if system.ext2 was successfully extracted) all the folders and files there belong to the system partition and you can edit them.

initrd files are located in /WORKING/initrd/*. there are no system files in its folders and subfolders, its only giving a filesystem structure, but no files.
[Off-topic] mroneeyedboh:
I'm looking for a tablet and I was wondering if there is anything cheap out there that's is worth having. I don't want a complete POS, but I don't want to spend $400 neither. I'm just looking for something to take to work and watch some netflix on or browse the net. Also, if it can be rooted, even better.
[Off-topic] dmcduck:
I was just about to start a similar thread. I am looking for feedback on different tabs since I'm trying to decide what to get.

I like the fact that the Acer A500 has a usb port into which an external drive can be connected. I was wondering if any others have that. I also like the look of the Asus Transformer, but I've read that the build quality was less-than-ideal. Weight is also a concern for me, since I have arthritis in my hands.

Thoughts?
[Off-topic] mroneeyedboh:
yeah well see what kind of info we get back. I may just go with a HP touchpad and see where it takes us in terms of android.
[Off-topic] conantroutman:
Im thinking the same thing as you guys.

Im gonna shop around for a good second hand deal, the likely candidates so far are the touchpad, the acer already mentioned or the advent vega.

If I could find a xoom at a bargain price I'd be pretty tempted too.
[Off-topic] mroneeyedboh:
yeah I found a XOOM locally for 250 they say brand new on CL. I really dont trust CL but if I see it in person, and it works.. that might seal the deal.

Id really like android on mine ASAP, and that would lean me to the XOOM more so than the TP.. But only in due time IMO for the TP.
[Thunderbolt Q&A, Help & Troubleshooting] cloneu:
still stock rooted with Jcases first root instructions... now VZ is forcing an update on me.. Thanks to recovery i got back from their screen of death

what ruu do i need to install and stop them from messing with me...

TIA
[Thunderbolt Q&A, Help & Troubleshooting] abn75:
Just install one of the custom roms from the dev section, no more worries about vzw upgrades
[Thunderbolt Q&A, Help & Troubleshooting] jwbtx:
I was in the same situation.. since they took away my hotspot, I used it as the chance to put a custom on it. I ended up going with bamf 3.0. Liking it so far... CM7 was my other choice.

Jwb
[Atrix 4G Q&A, Help & Troubleshooting] cgallagher:
Is there a option to run CWM with goobstopper without a unlocked boot loader. I tried the bell 2.3 update but keep getting a error about a default application that was removed and then reinstalled. The phone is still under warranty and I don't want to unlock the boot loader if I don't have to. If anyone else knows a way for me to fix the error with the app that would be great as well.

Thanks,
[Atrix 4G Q&A, Help & Troubleshooting] marko!:
There is the bootstrap recovery but I don't believe that will work for what you want to do

The short answer for your question is no
[Samsung Infuse 4G] DJ-phYre:
I recently installed the Serendipity ROM and the Samsung Email app is missing, so I cannot sync with my company's exchange server.

I was wondering if the Samsung email app handled both email and calendar? If it does not is there an alternative app in the market?

I am trying to explore my options.

Thanks,

KF
[Samsung Infuse 4G] rocketshipdog:
Head over to the serendipity add-on kitchen. I can't post links so bare with me....

serendipityinfuse . weebly . com / add-ons . html

You can create a .zip package that includes the missing Samsung apps. Drop it on to your SD card and flash it from red CWM.
[Thunderbolt General] rivox1:
Hello awesome people from the developer community!

I am not a dev in the least... I consider myself a "Power User" if this category exists, so please forgive my question... it may be ignorant or naive!

Here's my dilemma:

I have an iPhone 4 and an HTC ThunderBolt. Which one is more awesome? I can't say.. they both kick absolute ass! That is why over the past few weeks I've been switching back and forth between them depending on my style (Silly? perhaps! Crazy? Perhaps Not!)

I have simply just been activating them on my account prior to use.

However, I heard that there is a way to clone the IMEI number of the HTC into the iPhone. that way they'll both have the same phone info and all I'll have to do is switch them on or off depending on which one I want to use!

Does this method in fact exist? If so, How do I do it?

Thank you everyone for your awesome wisdom!
[Thunderbolt General] fixxxer2008:
i believe cloning is illegal. i foresee this thread not going well.
[Thunderbolt General] kr0n1c:
You would be correct. Phreakers used to do this quite often in the early days of cell phones to make free/anonymous calls. Not sure how prevalent it is today now that the technology has come down so far in price (cell phones used to cost $5/minute), but I'm sure it still happens.
[Motorola Droid X2] electroman987:
Hey guys. been following xda since HTC eris. i moved a little to quickly this time and now im stuck...

i will start from the beginning.

I purchased my phone not too long ago (last week) and immediately looked up the gingerbreak. went through the motions and seemed to acquire root (superuser.apk). i then tried using titanium backup. "no root privileges). not thinking, i received a ota notification. i then did it.

in result, i lost root (if i even had it), I've tried slow88lx from rootzwiki rooting program for 2.3.3, and RSD gives me a failure result "failed flashing process. failed flashing process. Unable to retrieve initialization values from INI file. (0x7029); phone connected" so i could sbf back to 2.2.2.

tried threads:[Q] Rooting Question, [Q] Dx2 Cant Root <similar problem, [SBF] Gingerbread SBF for MB870 Verizon Droid X2 [SBF], SBF TUTORIAL (Collection of instructions from various threads), Droid X2 OTA Gingerbread Root Guide <both one click and adb, UPDATED - [HOW-TO] SBF back to stock Froyo, Update to P3Droids Pre-Rooted GB Update, etc....

I am lost in limbo. phone works with all of its stock flaws. plz help.
[Motorola Droid X2] DAG425:
Try redownloading all the files needed here again. Install and reboot both the phone and ur pc. If on Vista or Win7 right click RSD Lite and select "run as administrator" from the properties menu. If that still doesnt work report back with ur results please.
[Motorola Droid X2] murtezahu:
make sure you are using rsd 5.3. after you reinstall everything on your comp, connect the phone to a different usb port (sometimes that helps). make sure you put the phone in rsd mode. i would use the gingerbread sbf and the new one click root as well if i were you. and make sure you do a factory reset after you sbf.
[Motorola Droid X2] electroman987:
Thx guys. RSD 5+ did the trick. Flashed to 2.3.3 and ota rooted.

Really appreciate the suggestions.

Sent from rooted X2 ^_^
[Motorola Droid X2] DAG425:
Thanks for letting us know you got it working!
[Motorola Droid X2] animal24:
The one click that droid-life posted for motorola devices worked without a hitch. I tried gingerbreak and had no luck either.

x2 was running stock 2.3, now running eclipse. liking it.
[HD2 Windows Phone 7 Q&A, Help & Troubleshooting an] shutchins:
So I have a new problem. I have updated the v1 rom to 7712. And ran the 1OEM_8X50_NK_SD_REMOVE.cab fix, but could not find the coutulla fix.

Now I cannot update to 7720 with the low space error, I cannot sync any files with zune, I cannot flash v2 with MAGLDR (give usb init error while running as admin), and I cannot even flash to stock with HardSPL.

I have also tried a hard reset several times

Is there anything I can do?
[HD2 Windows Phone 7 Q&A, Help & Troubleshooting an] DNK13:
i always get usb init error when i first run rom update or MAGLDR but i close it and try again and then works,try to run it several times until it works
[HD2 Windows Phone 7 Q&A, Help & Troubleshooting an] shutchins:
does't work. tried 10 times. I cannot even flash through HardSPL
[HD2 Windows Phone 7 Q&A, Help & Troubleshooting an] IM4CHRIST:
Here they are. Hope this helps you.View attachment 705115

View attachment 705116
[Android Q&A, Help & Troubleshooting] Ambious:
Hi

I'm looking for a widget that shows just one specific Facebook page. Not updates from all friends or feeds, just one page I administer.

Does this exist?

Thank you,

-Ambious
[Android Q&A, Help & Troubleshooting] _miha_:
It is possible you can get a widget with my app WebLiveWallpaper (which also is a widget despite the name) configured:

xda thread is here - download is in the first post:

http://xdaforums.com/showthread.php?t=931740

It can display any page the browser can show on your phone as a widget (or live wallpaper). But setup is not so easy and password protected websites will not work most of the time and the app still has some problems on some phones.
[Android Q&A, Help & Troubleshooting] Ambious:
Better than nothing, I'll give it a shot.

Thanks :-)

edit: Didn't work, couldn't get it to show a page and update it, just pictures.
[Android Q&A, Help & Troubleshooting] _miha_:
Not even the website examples like Times?
[Windows Phone 7 Software Development] sunxin8086:
Hi,

I am experiencing a serious problem. I recently released an updated on my app "Funny Jokes" from modern creation. The update is meant to enhance the user experience by adding a few new cool features. However, since the update, there are a small number of users experiencing "Initialization Failure" when starting the app. According to my code, this error only happens when the internet connection is spotty. However, the users report that they have perfect good 3g or wifi. I have no idea what causes this error since it works perfectly fine on my own phone, the simulator and a few friends who have installed my app. However, since angry customers tend to leave reviews, the reviews since the update have been mostly negative. Its really hurting my app. Is there any way that Microsoft can help me debug this problem? since I don't have all the devices on all different carriers? I really don't know what to do at the moment.

Also can some of the developers help me on this problem? I am here attaching the xap file, will you please let me know if the app works on your phone and if it doesn't, can you please let me know what device you use, your carrier, and country. Thanks very much.
[Windows Phone 7 Software Development] sensboston:
Works fine for me (Samsung Focus, HTC Surround, both ATT), no errors at all. BTW, you may check proper handling of advertising control (try-catch, check if null etc.)

P.S. As for your app design: you definitely should add an option to change text size! Default font is too small...

Also, button or item "Instant joke" (randomly selected but of course not repeated!) will be great.
[Windows Phone 7 Software Development] sunxin8086:
Hi, sensboston,

Thanks for your help and suggestions. I will implement the two suggestions in the following updates. Are you from Boston area? Really appreciate your input. I am really bothered by some users not able to open the app correctly. I really want to help them, but don't know how.
[Windows Phone 7 Software Development] otherworld:
Hi,

Looking at your code I think your real question is "Why is my Azure odata connection / query failing for some users"?

Do you know if it is *always* failing for those users - i.e. every single time - or does it occasionally happen?

If it's *always* failing for certain users:

- It may not be a connection error that your code is detecting, perhaps the error could also be a problem with the query you're issuing. I notice you dynamically build it in the LoadMessages() method (on the string.format line) using App.LastMessageID; is it possible that certain values will cause an invalid query? Is it possible for them to become corrupt, *or null*, etc. for some users? Write some code in to check they are valid values before using them (and use defaults if they are null or invalid) - i.e. just before the string.format line. A null won't cause string.format to fall over, but it will mess up your query.

- I see you are storing LastMessageID in IsolatedStorage on the phone - this makes me wonder if the settings from a previous version of the app are confusing the current version, or if it's become corrupt some other way. Remember that issuing an update to an app does not reset the application's settings (e.g. IsolatedStorage) back to defaults. E.g. Is there a scenario where for certain users since the update their App.LastMessageID has become null or set to an invalid value? It's an easy one to miss because the emulator always starts 'fresh', and when you ask friends to test it's usually just on the latest version (they might not have installed it over a previous version). Again, check your values before the string.format line for nulls or validity.

If it's occasionally failing:

- Your code isn't handling the fact well enough that Internet connections can drop at *any* moment - even for a micro-second - and users won't necessarily notice that (and tell you their signal was fine). Code always needs to handle that kind of eventuality any time you make a connection to a web service (such as Azure). At the moment you are just outputting a message box message and then just letting the app do nothing else which will frustrate users - you could instead have a screen with a 'retry' button, and maybe even something that will send/email you an error report if it keeps happening (you could include the error's message and inner exception etc.).

- It may be that Azure is returning an occasional error - even the best databases get occasional temporary errors for a variety of reasons (too many users, internal connection error,...). You need to detect and handle that in the same way as internet connection errors.

I don't think it's to do with carriers or phone type unless they are blocking access to the azure url / ports you are using - that sounds pretty unlikely as Azure is such a well known service, especially on WP7.

Just as a final thing (maybe not important) your code's logic doesn't handle the scenario of 'no error is returned but at the same time 0 messages are returned' and same for 0 categories (perhaps this isn't possible).

Hope that helps, and best of luck fixing it.

Ian
[Windows Phone 7 Software Development] sunxin8086:
Hi, Ian,

Wow, what a great reply. I am so grateful for your inputs.

From the reviews, it seems that the app is always failing, and even when users uninstall/reinstall doesn't solve the problem. However, the previous version didn't have this problem. Which leaves me to believe is not the problem with IsolatedSetting. However, its definitely a good idea to check if the LastMessageID is null before using it.

Another speculation is that my new version uses a WCF service hosted on azure, while my previous version only used odata connection. I am guessing the WCF service on azure is not available to all carrier and devices. But the question is that they should see a different error instead of the reported one. And I was hoping to reproduce this problem so I can be confident that its fixed in my next update. Without being able to reproduce it, it makes everything just a little bit harder.
[Windows Phone 7 Software Development] sensboston:
Another suggestion: you may simulate "no connectivity/very slow connection/Azure service not responding" issues by using "tethered" PC connection (if your handset connected to PC via USB cable, it uses your PC connection). Install traffic shaper (like NetLimiter) and try to play...

Yep.
[Windows Phone 7 Software Development] sunxin8086:
Thanks, I will try to play with it. however, its desirable to let the app quit when there is no connection. But some users report they experience this error when they have perfect connection. :(
[Windows Phone 7 Software Development] otherworld:
I can recreate it (the error) on a device it would seem consistently (tried about five times)

Uninstall it if already installed and reboot

reinstalling it (I'm using the Application Deployment tool for this)

reboot the device

Run it: First time I run it I get the error, second time (and subsequent) it's fine.

Note that before running it (and getting the error) I have checked I have internet (e.g. by loading a page in IE). This happens using sim card, wifi, or tethered connection (with wifi off) - tethered should be pretty reliable so can't see that being a connection drop.

This is on an LG panther pre-nodo developer device.

Hope that gives some clues.

All the best,

Ian
[Windows Phone 7 Software Development] sunxin8086:
Hi, Ian,

Thanks for your update. Were you able to recreate it on a post-nodo device? unfortunately, I don't have a pre-nodo device at my hand.
[Windows Phone 7 Software Development] otherworld:
I don't have a post-nodo device handy to test it on unfortunately. It seems to be happening only soon after startup (it's ok if I leave it a while) as though something on the phone isn't ready yet. Maybe it's not the same therefore as what your users are experiencing (as it's not 'always') but if you think it will help do a version of the xap which outputs the exception message in the message box (just for testing purposes) and I'll see what it says.
[Windows Phone 7 Software Development] sunxin8086:
Hi, Ian,

Thanks. Last night, I made a new version that generates an email with exception info when initialization failed. Also checks the LastMessageID to see if its null. Let me know if this fixes the problem, and if not, send me the exceptions, please. Thanks for your help.
[Windows Phone 7 Software Development] sunxin8086:
Hi, Ian,

I think that must be it. That totally explains why a small number of users would get this. However, where I am confused that categories_LoadCompleted is the handler for when categories load finishes, and takes LoadCompletedEventArgs, it should only be triggered in the above case. Why failing opening a channel also leads to this handler is puzzling me. Is it feature of .Net or a bug?
[Windows Phone 7 Software Development] sunxin8086:
To be more specific, if open the channel failed, shouldn't the myPushChannel_ErrorOccurred method called instead of the categories_LoadCompleted? I am deeply confused now.