RAM in Froyo (2.2) - Android Software/Hacking General [Developers Only]

Does someone know if the 2.2 or the 2.1 need more ram, because on my magic with CM5, is the homescreen reloading sometimes.
Because of Low Memory. Will that be in the 2.2 the same or better?

I am running 2.1 right now and I don't have that problem. What rom are you using exactly? And before u install os 2.1 you need to flash your memory card with a swap partition in order for the os to run smoothly. I can walk you though the process if you want.
-------------------------------------
Sent via the XDA Tapatalk App

I have a similar issue with my milestone and launcher pro would this swap partition resolve this issue I'm running 2.1.instructions would be great if you think it would resolve this issue.
Thanks

The swap partition would solve the problem and I have no problem giving you instructions but I'm not in front of a computer right now. As soon as I get in front of a computer I will give you detailed instructions on how to do this. Please keep in mind that a full format is required so perform a backup in any which way you want until I can get back to you with instructions.
Probably I will have access to my computer on about 4 hours so check back then plz.
-------------------------------------
Sent via the XDA Tapatalk App

Before I forget, please write detailed info about your phone, model, current rom, what kind and size of memory card you have, bord info (is it 32a or 32b), and anything you can think of.
-------------------------------------
Sent via the XDA Tapatalk App

Thanks restrrcted my phone is the milestone running 2.1 update1 telus stock rom, non rooted, 16gb microsd class 4, let me know if you need anything else, cheers again!

well. i am sorry to say but i am not very used to your motorola. but i assume they should be the same as every other android phone, if so, here is what you need to do.
turn off your phone, remove sim card (it tends to delete things off of it, did it on mine), backup everything you want to keep that is found on your sd card, and then just do the simple action of turning your phone on while holding the 'home' button until some menu with txt shows up.
now, in that menu, you can chose several things, but what we are interested in is the 'partition sd card' menu. select that, and then chose the first option, and then chose the size of the swap partition, something like 256 is more than enough, then chose the ext2 size, something like 512 is more than enough, then the rest is fat32.
select apply or whatever option it gives you to finish the procedure, and then, in the same menu where you have the 4 choices, you have to select the third on 'sd:ext2 to ext3'. once that is complete, just reboot your phone from the main menu.
you can use the back arrow just like in the os it self.
i dont know if it will work, it will defenently delete all your data on the sd card, but i dont know if it will do what needs to be done.
also, keep in mind, that for the swap partition to work, you have to enable apk2sd under settings. somewhere in there. i dont know exactly where its found.
i am very sorry that i could not be of more help.
after doing all that though, if you reinstall all the software you have they should run faster since you will alow for more space to be used as ram.
good luck, and please let me know how it turns out. i am not very good with your phone. if it was the mytouch 3g i could teach you anything you wanted.
sorry i could not do more. please do ask me though, since i thing almost all androids are the same.
good luck.

http://www.free-download-blog.com/motorola-milestone-root-on-android-2-1/
look at this. maybe its time to root, that makes so many things so much easier. give it a thought, but personaly, if you can get everything you want done as is, DO NOT ROOT! it only causes complications.
although, there is some smart people making some very, very stable roms for this phones. mine is up and runing for 7 days and it is as quick (actualy quicker) than the stock, and 100% stable.
let me know how it turns out.
ciao

Rooting in itself does not cause problems, what you do on your rooted device is what can cause issues.
If you know nothing about Linux or what an administrator account is then you may want to steer clear of rooting your device, if you understand the dangers of allowing an application root access to your entire device then you should be ok.

I have a HTC Magic with CyanogenMod 5.0.7
32B
Memory Card: 8GB sanDisk MicroSD HC

Related

Going From JF rc33 to thedudes 1.5 issue

Ok, I asked this in theDudes thread for this release but it wasnt answered.
My question is this. I have went from Rc33 to the 1.5 cupcake build. I absolutely love it. Now, on JF's build i was using the apps to sd mod. So currently I have been running all my apps on my sd. Now that I have updated to theDudes, all of my apps are there, but my phone storage is pretty low.
Are all my apps on my sdcard still? All of them are showing up on phone. how do i figure this out, and or get my phone memory back??
thanks guys!
bump
Anybody suggestions?
All i know is I did an update without a wipe comming from jfrc33 with apps to sd mod by lucidrem. Now all my apps show up, but my available memory is 33mb.
Did my apps somehow make it back to the phone memory? I read that after an install there should be 51mb free. So im missing almost 20.
Anyone?
If you went from RC33 to TheDude's you probably need to do a wipe and then flash TheDude. Then, create all of your symlinks again. YMMV, but that's what I've heard recommended. I had to wipe going form Haykuro's to TheDudes and those were both App2SD versions and both based on 1.5 --- I'd imagine you'd have issues coming from RC33 to 1.5 without wiping. But I could be wrong.
and 33MB seems like a lot of available room to me. I have my apps to SD and I have 26MB free on /data --- and that's after freshly clearing my browser cache. (I dont have my caches to SD yet.)
Well, oddly enough when i flashed and didnt do a wipe, my phone came back exactly as it was b4 it was powered off. I noticed that the memory was alot lower than what i was used to getting, but that could be the build.
Anyway, I wiped the device and had to do the whole initial setup and all.
From this point, how do i do apps to sd on this rom? can you point me to a link?
I know with jf's you run the commands through the telnet.. but i dont think thats the case here. I looked through the thread, but nothing.
look under the applications tab for dev tools. There is a terminal emulator there.
type su at the prompt then enter the commands. You may need to boot to the recovery console: (power down phone, press home + power until text appears, press alt + x) Once at the recovery console type the sym links to complete the transition.
mrmikemcguire said:
From this point, how do i do apps to sd on this rom? can you point me to a link?
Click to expand...
Click to collapse
Search is your friend. http://android-dls.com/wiki/index.php?title=Haykuro_Apps_to_SD
Make sure you have your card partitioned correctly first.
I went straight to Dude's .8 apps2sd nowipe from JF's RC33 and everything works perfectly but I only have 20mb free.
I've only moved apps, not data or cache, so that may be why. I'm seeing all these people claiming 50-70mb free though and it makes me jealous. I may be just imagining it, but it seems when I start getting down to this amount of free space, the phone tends to get a little laggy.
How Did You Guys Move Apps But Not Data/Cache? Lol Those Are The Easiest Things To Do On Your G1.
TheStudent said:
How Did You Guys Move Apps But Not Data/Cache? Lol Those Are The Easiest Things To Do On Your G1.
Click to expand...
Click to collapse
I had the cache moved to SD for a long time. Then at around 80 installed apps, internal space started to become a real problem. I got tired of managing apps on a daily basis, not to mention the dismal performance of the phone when memory gets tight.
So I broke down and bought a class 6 card and partitioned. I initially tried moving both apps and data. It was a disaster. I never could get to work...either it never thought the apps were installed, or the phone got stuck at the flashing android.
I tried scripts, and even making the symlinks by hand. Nothing helped. I think I must have done a factory wipe about a dozen times trying to get it to work.
I finally ended up just moving the apps, but not the data. That worked just fine and has been working ever since. I think people who are moving both must not have very many apps installed in the first place.
If space starts to get tight again, I'll try moving the caches. In the meantime, I'm hoping Google/T-Mo makes and effort to resolve the lack of internal memory another way.....other than expecting us to buy a new phone.
I'm keeping a sharp eye on NuviPhone....4GB internal memory...I'm sure it won't be long before someone has Android running on it.
I have the same issue. 19mb available after cleared cache. updated from lucid rem mod to .8 apps2sd. had about 42mb free before update. It showed me having 18mb free originally, not sure why i have 19 now, although I did uninstall powermanager since it doesn't work on Dudes build. but that should have been installed to sd?!
f4phantomii said:
I had the cache moved to SD for a long time. Then at around 80 installed apps, internal space started to become a real problem. I got tired of managing apps on a daily basis, not to mention the dismal performance of the phone when memory gets tight.
So I broke down and bought a class 6 card and partitioned. I initially tried moving both apps and data. It was a disaster. I never could get to work...either it never thought the apps were installed, or the phone got stuck at the flashing android.
I tried scripts, and even making the symlinks by hand. Nothing helped. I think I must have done a factory wipe about a dozen times trying to get it to work.
I finally ended up just moving the apps, but not the data. That worked just fine and has been working ever since. I think people who are moving both must not have very many apps installed in the first place.
If space starts to get tight again, I'll try moving the caches. In the meantime, I'm hoping Google/T-Mo makes and effort to resolve the lack of internal memory another way.....other than expecting us to buy a new phone.
I'm keeping a sharp eye on NuviPhone....4GB internal memory...I'm sure it won't be long before someone has Android running on it.
Click to expand...
Click to collapse
Yeah I Get What Your Saying I Have Like 59MB Free But I Don't Have Apps Installed To SD-Card. I Would Love If T-Mobile/HTC Made An Update Where We Could Just Use Our Memory Card To Save Apps And Data/Cache Without Rooting It, That Would Be Insanely Crazy I Have A 8GB SD-Card But I'm Not Sure It It's Class 6 Dam, Bought It For Nothing.
I just moved dalvik-cache to sd card and went from 18mb available to 57mb in Dudes build.
Try this
I actually ran into the same senario when I went from RC33 to theDudes cupcake! I went back and reflashed my phone and went back to the RC33 build with mod, think that was 1.42, then instead of using LuciREM apps to sdcard i tried using MarcusMaximus's. They both move apps to sdcard and both work great. I realized on MarcusMaximus's edition after running commands in the terminal we rooted from recovery and mounted in recovery as well. I guess that did the trick for me, so now i'm using theDudes cupcake on a apps to sd command from MarcusMaximus. Thanks to all these guys, they rock from JF, LuciREM, MarcusMaximus and theDude. Hope it helps!
TheStudent said:
Yeah I Get What Your Saying I Have Like 59MB Free But I Don't Have Apps Installed To SD-Card. I Would Love If T-Mobile/HTC Made An Update Where We Could Just Use Our Memory Card To Save Apps And Data/Cache Without Rooting It, That Would Be Insanely Crazy I Have A 8GB SD-Card But I'm Not Sure It It's Class 6 Dam, Bought It For Nothing.
Click to expand...
Click to collapse
I agree with u, but im wondering if it would be possible to install apps directly to the SD card, i hope google can do something to make it work. If tried allocating my apps to my sd card twice and i failed, the first time it seems i got success but after i while, applications like ahome forced me to close, which was not good, not only with this one, so then i thought maybe it would be good idea to reboot the phone so i turned off and when i turned on, it got stuck in the splash image, buu anyway i fixed by deleting my ext2 partition and rebooting my phone with another build...after a while i tried to make a partition using only the phone and running some command...and i got the same problem, so i guess allocating app2sd doesnt work for me .Anyway the internal space still is not a problem for me cause i have 71apps with 20Mb free..not so much i know....im still having JFv1.42 RC33 but i guess i will move to dude .8 build i heard a lot about that build...so seems to work good for now...but people are demanding many things from his build. What im happy is to be part of this community cause when i got the problem with my phone i couldn't use it for 2 days, i didn't know what to do..and was asking questions to everyone, but i guess everything is in this forum, we just have to read, i learned a lot thanks to the contributions of guy like you, that share experiences with their phones...thank u guys and of course to the developers that make android be better.
Greetings from Peru

Apps2SD:Am I going crazy or just not paying attention

Before I get flamed, I know I posted this in the Sapphire General section, but the reason I am posting this here is 'cause I'm looking for more info from a different crowd. Thanks in advance.
Here is my dilemma.....
Cliff Notes Version:
Got the MY3G, did all the good stuff (rooted, CyanogenMod v4.0.4, Apps2SD, etc.,). However, after I configured Apps2Sd and the SD card with the partitions I could have swore I had 289MB (or something close to that) of free internal storage. I have installed numerous apps and it went down to 278. I know the Apps2SD worked, however what is taking up those 10 megs??? After I noticed this I began rebooting the phone after app installs to see if maybe the apps need to be pushed to the SD card during reboot. No luck. If anyone can throw me some advice or point me in the right direction that would be badass.
--------------
your_helpfull_hand provided this answer:
You do know cache does take up room? Also if you installed apps thats why it went down. its normal
--------------
I replied with:
your_helpfull_hand: This is my first Android based phone so thanks for taking it easy on me. Ok, I forgot about the cache....So, if I understand this correctly the apps will install on the SD card but the internal memory will still slowly decrease but not all crazy as if I was installing straight to the phone??
One more thing, after configuring Apps2SD how much internal storage should be left with (the phone being clean after loading Cyanogen)? As I mentioned I was originally left with 288MB or close to that. Is that about right? Should it more or less?
--------------
So, that is where I am at. If anyone has additional info that would be awesome.

[poll]Do you want A2SD (apps2sd)?

Figured it would be good to see how much interest there is in it so maybe a dev will see the point of taking it on.....
Whether I personally use enough apps to fill up internal memory or not, A2EXT is a nice option to have and I miss it. I remember in the past, when implented properly, I had apps on ext and when I would install a rom the apps I had on ext would already be waiting for me on first boot rather than having to wait for them to redownload from the market or restore from Titanium. My vote is yes, if a dev is willing to spend some time to bring that feature to us it can only enrich our experience and would be welcome.
Sent from my myTouch_4G_Slide using xda premium
while we are wishing
Id prefer a data2ext that also takes none vital system app files and places them on a partition in the sd card, and ability to make the extension around 2 or 4 gigs, for those of us with 32 gig sdcards that can afford the lost space. with dual mount sd card function should never have to worry about removing or mounting the sd card to where its unreadable to the system. thats my vote
I've never really used A2SD even with my G1, however, having all my apps on a fresh install does seem like a nice feature. Personally, the internal memory is more than enough for me.
I guess its more of a nuisance than anything though (regarding installing apps on fresh boots).
Yes.
1) Make easier backups with A2EXT.
2) A2EXT loads faster than the laggy A2FAT.
3) You can always resize the partitions via Gparted.
4) Unlocks the full potential of Android devices.
Anyone who has an argument against A2EXT should stick with the iPhone.
Absolutely A2EXT,Data2EXT is very nice. being able to have all the apps and data ready to go for the same 15-40 apps with data i use on every rom.
depending on which rom im using equals more or less, but that would make things alot faster.
but its still fun individually installing each one.
Ive had this phone for a couple months now and have been doing more reading and research and have just begun to flash all the roms. having a few of them now, it would be nice to have A2EXT,DATA2EXT.
I thank everyone for their hard work and have a great day!! (baby cries gotta run)
sorry for the newbish question, but in Settings->Applications->Manage Applications, what does the "Move to SD Card" option do? Is that only to move the app's data to the SD Card? I've never used it before.
mat_oli said:
sorry for the newbish question, but in Settings->Applications->Manage Applications, what does the "Move to SD Card" option do? Is that only to move the app's data to the SD Card? I've never used it before.
Click to expand...
Click to collapse
Cyanogen explains it best. A2SD is where you move it to a part of the SD card formatted to EXT format. What Google calls "A2SD" is the result of a symlink-at-best feature that forces a placeholder for each app on the phone's internal memory with the added drawback that (unlike the real A2SD), when mounted to the hard drive, the apps on the Fat partition are unusable.
There was actually a "no" vote? What does it matter to the people who don't want it?
[email protected] said:
Absolutely A2EXT,Data2EXT is very nice. being able to have all the apps and data ready to go for the same 15-40 apps with data i use on every rom.
depending on which rom im using equals more or less, but that would make things alot faster.
but its still fun individually installing each one.
Ive had this phone for a couple months now and have been doing more reading and research and have just begun to flash all the roms. having a few of them now, it would be nice to have A2EXT,DATA2EXT.
I thank everyone for their hard work and have a great day!! (baby cries gotta run)
Click to expand...
Click to collapse
No rom I've flashed has wiped /data.
certainly not a top priority but why not?
verne2k said:
certainly not a top priority but why not?
Click to expand...
Click to collapse
This is what I'm thinking.
Same here
Sent from my Senseless Doubleshot using xda premium
I'm surprised people actually care enough to vote "no." If you don't want A2EXT, let the grown-ups who know how to set it up partition their own SD cards and run the apps off of the EXT partition.

[Q] Swap, ext2/3/4(?) guide?

Ok first off hope everyone had a great holiday (or Christmas, as the case may be )
I have come to realize that alot of my issues may/may not have been caused by factors outside my phone or the rom I was attempting to install and use. I will give myself credit tho in that in all but one case I have managed to follow instructions to a "T" and have not experienced many/any of the issues that others have. Anyways, I got a new wireless router, and also a class 10 SD card. Some of my earlier connectivity issues are very rare now, and camera issues seem to be minimal also (assuming that the issue there was write speed to the card).
So I've really come to like a few of the roms, in particular one I'm liking right now VERY MUCH is MIUI 1.11.9. What a nicely put together package that is. I would really really like to stay with it.
However, it's huge. With that and two apps (Gmail and Facebook), I'm lucky if I have 14 mb left over. Obviously, this causes crashes and reboots left right and center. Camera usage is almost impossible. But, I'm willing to admit, the problem is likely my fault, because I have not done anything to manipulate swap/ext/etc on my sd card. I have the phone, and I have a formatted 16 gb class 10 sd card.
I've looked through 10 pages of threads and to be honest I'm finding it hard to know where to begin. I'm convinced, however, that if I can learn what swap ext/ext2/ext3 do, and how to create/use them..and whatever else, that MIUI and probably a few of the other roms will be amazing for me.
So is someone bored over the holidays here and can help either point me in the right direction of a Guide to do this, or maybe even write a bit about it for me? Assume I know nothing about how to create a swap, an ext, link2sd, any of it. I don't know how to use terminal emulator, modify or execute scripts...but I can learn!!
I realize that I'm asking for info that is probably obtainable by reading numerous other threads..but I can't find anything truly comphrensive..it's too bad threads couldn't be "stickied"...this subject seems crucial to me in order to get some of these roms to run ok. Many of them operate the same way: they take up 100 mb or so, and they don't allow for easy moving of apps to the SD card.
Anyways many thanks in advance if you can help. I'm sure there's a few others who could probably use a refresher in this also.
I'm learning alot about this and hope to update this thread with my own tips for how to do this in the coming days.
That is, if anyone is interested. If so, hit me with a msg.
Sent from my Milestone XT720 using XDA App
internal upgrade?
can someone tell me how to upgrade the internal memory because im getting very low in phone memory.. are there any solutions like using the 1GB for the internal memory of my 8GB card?
Well, you cant physically expand the memory but you can virtually via an extended primary partition and an app like link2sd.
Sent from my Milestone XT720 using XDA App
Hey acrobat69
I am pretty much the same boat as you. I have tried a bunch of ROMs, and I am still on 6.3 rc3 now.. went back and tweeked after learning some things and this is the least buggy for me at the moment.
I also do not use swap at the moment.. but this is also something that those in the know here on the Xt720 forums have debated.. how useful is it???
I would love to try swap.. or any other tips you might have.. so I at least will be listening.
I would like to get FM radio working on 6.3 rc3 too.. no luck so far.
I have found that when you overclock.. some speeds and Vsel work better in some roms.. or applications.
I saw one fellow who was running 800/48vsel - overall nice and great for battery usage.. but camera would not work at 48vsel.. would crash it .. running several highpower apps like wifi tether and gps at the same time would crash a low vsel set phone..
SO I know there are many factors that you can tune to make a rom work best for you.
James
When I get back to my PC, ill type something up on this for you as well as archer's other thread similar to this Q.
FYI, FM radio works since 6.3.0 RC4. Well at least as much as FM radio "works" on any of the non-stock-based ROMs at the moment-- volume control is difficult/problematic.
I think 6.3.6 is a good choice if you don't mind disabling the hardware button lights. And if it does bother you, I can make a patch that puts the lights back as the were in RC3 (but would disable notification leds).
Sent from my Milestone XT720 using xda premium
Ok so to answer a few of the above questions, I'll try to break it up into sections. Ext2/3/4, Swap and basic memory management.
Ext partitions: since our XT's are so low on memory, a fair while back some scripts were created to make it so that when you downloaded an app, it went into your ext partition and not to the internal. Remember that this was when we had 2.1 and Froyo was only a dream. As you know Froyo has the native App2sd function where you can move most of the app's data/function to your SD card via the .androidsecure folder on your card. Since this was not a function on 2.1 we needed a bypass. This was done by creating a EXT partition on your SDCard to bypass/hijack the installation process and "force" the apps to install to the SDCard rather than the meager internal memory. Since the grand old days, we have evolved that function from app2sd to app2ext where now the /cache can be moved over to the partition as well, in addition to apps like Link2sd with one-click UI to do it for you.
This is how to do it.
1 Make sure your ROM supports app2ext-it should be in that ROMs OP.
2 You need to use GParted or Minitool Partition Wizard to create your Ext2/3 partitions (do not create an Ext4 with either of these b/c they won't work correctly, most ROMs don't support it and you can convert it from 2/3 to 4 in MZ's open recovery).
3 You have a 16gb card and are asking what size should I make my partitions. They need to be in this order-FAT/EXT/SWAP from L->R. FAT is what it sounds like. It is your biggest sized one (and make it Primary/Bootable in your partition wizard). Your Ext is going to be up to you on the size. I usually recommend 350-450mb. Anything bigger is really wasted space. In fact, I chorgle to myself when I see people with 1gb Ext partitions b/c your average size app is usually about 7-12mb (with something like Angry Birds at a meaty 18mb). Remember that 1gb=1024mb. 12mb vs 1024mb-see what I am saying here?
4 So now you have your partitions set up. How do you activate it. You flash your ROM and let it settle down. Get ROOT and open a file manager and go to the ROOT. You will see a folder labeled SD-ext. Open this folder and make another folder called App (not Apps-no S) or if you are using Link2sd, you would put a folder called Link2sd (not LinkS2sd-again no S). Reboot and BAM!!!once it boots up, all your apps that you had will be in there and any new ones will be installed there saving you tons of internal space.
I'll cover Swap tomorrow b/c I am tired of typing for now but here is a thread on some unknown types of memory management that you can do on your own.
Sorry for the long post but I wanted to make it as general as possible so that it wasn't too technical.
Woodrube thank you very much for that, indeed very helpful and to the point. Ill hit you with a thanks when back on my laptop.
James: debates nothwithstanding, I can't see how its possible to install one of these Roms and actually use it...and any decent number of apps with stability, without using the extended partition. I have not had any success until I learned how to do this. Therefore, were absolutely not going to debate it, just do it!
To Woodrubes excellent instructions I will add these tips, learned from Mio7's advice and trial and error:
- do any partitioning before you install your new rom, and do it via a card reader inserted into your computer, not by plugging the phone into the computer via usb.
- do not make the second partition fat. In some threads people said it worked however it never works for me. Create the second partition as ext2 , then go to open recovery and convert it to ext3
- use root explorer to create the folder in sd-ext as Woodrube advised. Make sure root explorer is in R/W mode not R/O or you wont be allowed to
- install Link2sd first of any program. It's when you're running link2sd it seems that you can't create the link for certain applications check the market to see if to the downloadable version then uninstall the app from the phone and reinstall it yourself then when you go back into linksd youll be able to create a link. I'm still experimenting with just how much I can rip out of the system and then reinstall myself so as to be able to move over to the sd card. Btw if the rom app manager wont let you uninstall, use the uninstall function in link2sd. It works, even tho it says "Failed" when done.
See the signature at the bottom of my thread that should be all you need to know about whether not the advice in this thread is good because I'm posting from my phone and I'm using voice to text
Next up I'm going to try installing other roms like MIUI or 7.1 to see you what ones this can be used on. I will post my successes and failures in this thread
Sent from my Milestone XT720 using XDA App
With regard to milestone overclock settings I'm currently running 900 and 60 and have achieved general stability with no crashes during picture taking or video recording
Sent from my Milestone XT720 using XDA App
Mio: Nooo don't disable LED its great the way it is. Who needs those backlights anyways the keys are far enough away to not need a light to tell my thumbs where to go by now
Sent from my Milestone XT720 using XDA App

[Q] A confirmation is all... :)

Hi,
I guess I might sound like a retard - but to the best of my understanding, I believe I have mostly understood what I need to do to install a larger ROM on my HD2 Leo
I have the radio, Hardspl 2.08 and MAGLDR already installed on my HTC and a previously CWM ROM I believe to be am ICS type I wish to upgrade from.
I would love to load a larger "sense" type ROM, but I realise it takes up more memory. So, I have ordered a 32Gb SD card with the intention of using it after "partioning" it to load my large ROM. I also want to a fair bit of memory set aside to install some large type apps, so I guess this is where the SD card comes into play as well.
I've read the guides and tried to ascertain what the best method would be for me - but there seems to be a few ways of going about it, and I easily get confused. Do I root the phone? - do a "Nand" or SD-based ROM install?
If I could get a simple rough guide as to which would be the simplest way to achieve the above - I would be greatly appreciative.
Smokey...

Categories

Resources