Need some help/clarification CM 4.2.3.1 + linux swap - myTouch 3G, Magic Android Development

Still new at this and searching hasn't really helped me understand whats really going on as well...
I have MT3G, CM 4.2.3.1, 8GB SD (7437MB Fat32, 500MB EXT3, 32MB Linux swap)
So here are my questions:
1) Is CM 4.2.3.1 have linux swap automatically enabled, or will i need to enable it?
2) If not enabled automatically, how do i enable it?
3) Does the CM 4.2.3.1 run better with linux swap on the MT3G or the same?
Just trying to utilize my MT3G to its MAX potential with the CM firmware! Please enlighten me. I tried searching, but being a newb to linux, i am just getting more confused.
Thanks for helping!

mautai916 said:
Still new at this and searching hasn't really helped me understand whats really going on as well...
I have MT3G, CM 4.2.3.1, 8GB SD (7437MB Fat32, 500MB EXT3, 32MB Linux swap)
So here are my questions:
1) Is CM 4.2.3.1 have linux swap automatically enabled, or will i need to enable it?
2) If not enabled automatically, how do i enable it?
3) Does the CM 4.2.3.1 run better with linux swap on the MT3G or the same?
Just trying to utilize my MT3G to its MAX potential with the CM firmware! Please enlighten me. I tried searching, but being a newb to linux, i am just getting more confused.
Thanks for helping!
Click to expand...
Click to collapse
It doesn't have linux swap enabled, but I recommend that you just leave it alone. Cyanogen's is the fastest ROM out there compared to other stock roms and he absolutely murders Hero in terms of speed. Though he does not have linux swap, or compcache anymore, he still has the CPU overclocked to 528. The phone will probably run the same with or without linux swap. That is really only needed if you are running a Hero ROM.
Oh, and you should probably post this in the general forums, or in the Q&A of the Dream. I'm sure you would get more answers there anyways.

outside of hero, the main use for Linux-swap was to keep your homescreen from having to constantly be refreshed. It was a huge annoyance in earlier CM builds when you didnt have CC enabled.
With the "keep homescreen in memory" spare parts toggle, I havent seen a refresh since 4.2.3.1 came out... well thats not true, but its rare enough that it never ruins the user experience for me.

tazz9690 said:
Oh, and you should probably post this in the general forums, or in the Q&A of the Dream. I'm sure you would get more answers there anyways.
Click to expand...
Click to collapse
You say that, but hardly anything gets answered in the general forum!

The_Chrome_Coyote said:
outside of hero, the main use for Linux-swap was to keep your homescreen from having to constantly be refreshed. It was a huge annoyance in earlier CM builds when you didnt have CC enabled.
With the "keep homescreen in memory" spare parts toggle, I havent seen a refresh since 4.2.3.1 came out... well thats not true, but its rare enough that it never ruins the user experience for me.
Click to expand...
Click to collapse
If i used "keep homescreen in memory" spare sparts toggle, am i utilizing the linux swap just because i have the partition or should and HOW do i enable it on CM 4.2.3.1?
Boonyard said:
You say that, but hardly anything gets answered in the general forum!
Click to expand...
Click to collapse
haha ya thats very true
So any insight guys?
Does CM 4.2.3.1 run better WITH linux swap or no? Just trying to figure out if it will help the firmware run better. If so, is it automatically enabled just because i have a 32mb linux swap partition or should and HOW do i enable it manually?
I guess my point is that i dun wanna go thru the hassle of linux swap when CM doesn't need it

mautai916 said:
If i used "keep homescreen in memory" spare sparts toggle, am i utilizing the linux swap just because i have the partition or should and HOW do i enable it on CM 4.2.3.1?
haha ya thats very true
So any insight guys?
Does CM 4.2.3.1 run better WITH linux swap or no? Just trying to figure out if it will help the firmware run better. If so, is it automatically enabled just because i have a 32mb linux swap partition or should and HOW do i enable it manually?
I guess my point is that i dun wanna go thru the hassle of linux swap when CM doesn't need it
Click to expand...
Click to collapse
just download swapper for root users and you will have linux swap. tada. No hassle there and it takes only seconds to do. From there you can make the decision for yourself.
You could go the hard way and pull the user.conf and edit it, then repush it to the phone and reboot. That just seems like a lot of work to me. Swapper is a much faster alternative.

Related

compcache module?

Anyone have a working compcache module for 1.5 builds? The previous JF builds used to have it, but I don't see one for 1.5.
Thanks.
I just tried compcache. Epic fail. I'm not sure if it's just broken horribly on ARM or what, but soon as I do "swapon /dev/ramzswap0", everything starts crashing. No kernel panics, just apps dying. I tried with and without a disk-based swap as a backing store (I have 3 partitions on my SD card).
I tried using the loop method earlier to create a swap on hero on my sdcard. it was successful but it's still painfully slow paging, unfortunately.
afflaq said:
I tried using the loop method earlier to create a swap on hero on my sdcard. it was successful but it's still painfully slow paging, unfortunately.
Click to expand...
Click to collapse
I have swap on actual SD card partition right now, and it's actually pretty snappy. Tons of **** running
cyanogen said:
I have swap on actual SD card partition right now, and it's actually pretty snappy. Tons of **** running
Click to expand...
Click to collapse
ugh mine bogged down. are you overclocking? It seems like I notice a *LOT* of problems when things start dipping into the swap. Ultimately I'll probably be back on one of your builds tomorrow..just get the goddamned lockscreen from 6.0r1 or help me port the framework over so i can have it on my personal build >=)
I tried it few days ago, with the same result. BTW, file-backed swap should be just as fast as a swap partition.
Hey guys, could you post some details about what you are doing so that we can get an idea of what works and what doesn't?
* What build are you on?
* Where did you get the compcache module? Did you compile it? If not, what kernel was it compiled for?
* What version of compcache did you use?
* What commands (options) did you use to install the module?
* What size device did you use?
* Did you use a file backing store?
* Did you mess with the swapiness setting? If so, what did you set it to?
I run the Dude's 1.2a build. I compiled compcache 5.3 against the android-msm-2.6.27 kernel using the prebuilt gcc 4.3. I tried many combinations of the settings, but it's always the same, processes get bus errors or segfaults... The modules I used are attached.
I can't wait until we figure this out, I think any performance boost or memory increase is definately needed with newer features and roms being released weekly
So how do we put a usable pagefile swap partition on Hero? I've been looking all day how to do it, but I'm not finding much.
What did you use to do this? Would love to set it up myself.
cyanogen said:
I have swap on actual SD card partition right now, and it's actually pretty snappy. Tons of **** running
Click to expand...
Click to collapse
http://www.cyrket.com/package/lv.n3o.swapper
I'd rather use squashfs with unionfs to compress /bin /and lib to save space and optimize speed, then use more device memory to create a swapfile instead of using an sd which would be slower. Although someone needs to set up a build environment and build a working compcache module and use that with my ideas above, once done android should run how it should have since october
Defcon
defconoi said:
I'd rather use squashfs with unionfs to compress /bin /and lib to save space and optimize speed, then use more device memory to create a swapfile instead of using an sd which would be slower. Although someone needs to set up a build environment and build a working compcache module and use that with my ideas above, once done android should run how it should have since october
Defcon
Click to expand...
Click to collapse
I nominate you.
But I have my app2sd and I have a bit of free space left on the internal. How much space would a swap file need? And also, what would be faster, the dalvik cache, or a swap file on internal?
From my understanding swapper doesn't work on 1.5.
dixxa said:
http://www.cyrket.com/package/lv.n3o.swapper
Click to expand...
Click to collapse
bad understanding since it works and I'm using it
Sure it runs and installs fine but after looking at it for an hour it never actually used the swap. It always stays at 0 bytes used.
dixxa said:
bad understanding since it works and I'm using it
Click to expand...
Click to collapse
currently using cyanogen rom and I'm sure it use it !
40Mo used on 75 available...
dixxa said:
currently using cyanogen rom and I'm sure it use it !
40Mo used on 75 available...
Click to expand...
Click to collapse
Let us know if you do not experience too many force closures eventually. I do whenever I use swap with JF1.5. I keep trying it every now and then just to eventually be disappointed.
defconoi said:
I'd rather use squashfs with unionfs to compress /bin /and lib to save space and optimize speed, then use more device memory to create a swapfile instead of using an sd which would be slower. Although someone needs to set up a build environment and build a working compcache module and use that with my ideas above, once done android should run how it should have since october
Defcon
Click to expand...
Click to collapse
Could you please explain what you are suggesting again, I can't understand it. For starters, there is no /bin on android, which lib are you referring to? And what kind of space are you trying to save by doing this (which partition? RAM?)? How would this optimize speed?
How does unionfs come into play in your scenario?
If you use the device memory (I suppose you mean flash, not RAM) for swap you will be wearing out your internal flash fairly quickly which, unlike an sdcard, cannot be replaced easily.
Compcache cannot use a file as backing store yet, only partitions.
If you have a great idea which I do not understand, please accept my apologies, but what you wrote sounds like you just chained together a bunch of buzzwords without understanding them. If you have a potentially viable idea, please enlighten us so that we can implement it.

Help setting up userinit.sh & user.conf for "Backing Swap" on CyanogenMod

Help setting up userinit.sh & user.conf for "Backing Swap" on CyanogenMod
I am trying to set up Backing swap, which combines Compcache and traditional swap, on the phone/rom in my sig. I have been unable to do so for two main reasons.
1. I used Amon RAs recovery to make the partitions so I'm not sure what order they are in (need to know so I can put the right partition # in the useritit.sh file).
2. I am unsure how to create these files once I have all the proper info to plug into them, or where to acquire a base-line version of these files to edit.
I have been looking for hours but only seem to find posts of people suggesting I use these files. Even the Q&A wiki doesn't contain anything on the subject either (unless I was entering the wrong search critiria). I only have the terminal on my phone to work with or my pc which is win XP 64bit, so if I need any 3rd software please provide the windows flavor.
TIA everyone,
~psguardian
You can have one or the other one not both.
Swap always slows down the phone after a couple of hours and compache is compressed into the ram.If you want a fast rom use Super-D or Wesgarner.
Ace42 said:
You can have one or the other one not both.
Swap always slows down the phone after a couple of hours and compache is compressed into the ram.If you want a fast rom use Super-D or Wesgarner.
Click to expand...
Click to collapse
According to the Cyanogenmod wiki it does work with both (atleast you can back a shrunk compcache with the swap partition), I just don't want to try putting the file together until I can cipher out which part. # my swap partition is, as this may turn my ext3 partition into a 512mb swap partition & I don't want that.
~psguardian
Think i was thinking about backswap..thats not important though.
Swap partition is Block3
EXT is block 2
Ace42 said:
Think i was thinking about backswap..thats not important though.
Swap partition is Block3
EXT is block 2
Click to expand...
Click to collapse
I can see how backswap & standard swap wouldn't work together because they will try to use the same space. Is the linuxswap partition always mounted as Block3 ? when going through the format process in Amon RA recovery fat 32 is the last partition defined, which is why I hesitated to use the example given on the wiki (since back when that was put together partitioning was all manually handled).
~psguardian
still not smooth
I managed to get user.conf maker app on the market but it doesn't work properly in 4.2.13 (it sets the files up with its own defaults, but never accepts user input for value changes).
Had to
cp /system/sd/userinit.sh /sdcard/userinitsh.txt &
cp /system/sd/user.conf /sdcard/userconf.txt
so that I could use a 'notepad' type app to edit them propperly & then push them back to /system/sd now my phone is lagging worse then before so I'm not sure what I've done wrong... for backingswap am I suppose to enable compcache AND backingswap or just backingswap? I think its option A because that is the only time my swap partition shows active under 'free' command.
So now a new set of questions.
How much RAM is good to allocate to compcache
How large a swap partition should be used
What swappiness level is good for my setup
I know these answer are subject to the situation on my phone so let me give some stats, I am running a theme w/advanced launcher (5 screens) 10 widgets & 3 background apps that update every 15-30min (1 of them is a craigslist scanner that pulls search data from 10-15 regions so it probly should count as 3 by itself) so lets say 15ish self-updating apps.
Please any constructive input is very very welcome
Thanks In Advance Q&A guys-n-gals
~psguardian

[Idea]add memory to myTouch

Originally, a2sd was developed to allow installation of many apps on G1 as G1 has limited memory. The MT3G has more internal memory so it does not need a2sd.
My question is if we can enable a2sd on a MT3G and than use the additional memory for the system. This can improve performance so much ....
Is this possible? I'm a dev, but not on this kind of platform . I know shell scripting, Unix, C so I can help if needed, but don't know how to approach this thing.
Thx.
mr.tenuki said:
Originally, a2sd was developed to allow installation of many apps on G1 as G1 has limited memory. The MT3G has more internal memory so it does not need a2sd.
My question is if we can enable a2sd on a MT3G and than use the additional memory for the system. This can improve performance so much ....
Is this possible? I'm a dev, but not on this kind of platform . I know shell scripting, Unix, C so I can help if needed, but don't know how to approach this thing.
Thx.
Click to expand...
Click to collapse
It depends. Now if you have a 32a board, this is pointless. Unless you have 300+apps installed it will not hurt performance.
I sugest App killer to kill off unused apps that never shut down, it helps so much/
Me really dont need Apsd for mytouch, especially the new 32a boards. Running from the sd card slows everythign down. To improve your performance..
1. Get CPU overclosk from market, set lowest to 386, high to 528 screen on, screen off 256/256.
2. Download swapper, set to size of yoru swap partition etc...
3. Get any free app killer ( ifully suggest Anvanced task killer) and every hour or so, go in and ignore what u use all the time, and kill everything else.
Also, get Cachemate from market or Clean up. this clears out all the garbage.
Doing this, on a good day, my battery lasts 17 hours with data going. and My Live wallpapers never lag
Hi,
Thanks - I already have all that set up. I was thinking on a MOD that will allow improvement of performance in a different way.
My Idea is to actually use the memory that becomes available under /data as we move the app to SD to be used by /system partition. Maybe we can also do a "reverse RAM hack" and increase the 3D RAM.
Again, as I'm not very familiar with the Linux system I don't know how exactly this should be done, or if it can be done at all.
Thanks for the reply though
storage memory in the phone is different then addressable ram.. therefore what your saying is not possible...if you really want something like this set up a swap partition on your sd card.
also task killers are not needed for android... its been well documented here and on other forums as android handles processes much differently than your standard windows box (so no need to have the mindset that background apps are slowing down your system). android itself does an excellent job of managing memory and kills tasks itself when more mem is needed. i used to run ATK myself, and found after removing it my phone actually ran better than killing processes all the time.
your likely just having a placebo affect if you think it speeds up your phone.. however killing process can increase battery life.. albeit only slightly...try it yourself and you will see what im talking about..
regarding task killers, just google it and you will see what im saying...
edit: most roms have cpu scaling in them, if you want an app i find set cpu to be the best, followed by overclock widget...
edit2: forgot to mention autostarts . a great program to edit which programs start up upon boot .. if your still worried about having things running in the background...
I was trying to get a swapfile on /Data (being a lot faster than sdcard, probably), but It didn't work :/

Swap on Cyanogen 5.0.7 test1 - Thoughts!

Hey,
So Ive been playing with CM-5.0.7-DS test1, like everyone im sure , however I am noticing some major slowdown in the Launcher, many apps, and especially in 3g gallery without some memory assistance such as Swap\CC for the "low-memory" devices like the G1\Dream.
I enabled a 96mb swap partition, swappiness 60 using a userinit.sh script (see attached), and it really helped speed things along.
Wanted to know everyone else's experience using swap on this crazy new upgrade to our 2-yr old device
Good call. You can also just install "Swapper" from market, and go to advanced preferences, enable partition, good to go.
I am using a 96mb swap partition, and am overclocked to 596 mhz with the replacement kernel. Everything is working brilliantly for me, very stable.
Android 2.1, 600mhz Android device, ample RAM via swap, 16gb card, new slim extended battery - I am once again a happy G1 owner!
kristoff123 said:
Good call. You can also just install "Swapper" from market, and go to advanced preferences, enable partition, good to go.
I am using a 96mb swap partition, and am overclocked to 596 mhz with the replacement kernel. Everything is working brilliantly for me, very stable.
Android 2.1, 600mhz Android device, ample RAM via swap, 16gb card, new slim extended battery - I am once again a happy G1 owner!
Click to expand...
Click to collapse
:O howd u overclock to 596mhz?!
chim4ira312 said:
:O howd u overclock to 596mhz?!
Click to expand...
Click to collapse
The overclock thread that's been sitting on the top of this forum for the last week :0
the kernel I used is on page 38 or 39...anything over 600 eventually crashes for me, but 596 works very well. Flash video even plays fine with Skyfire - so many new goodies for my beloved G1!
-Although I am sure cyanogen will include that kernel or a better one with the next release, but leave it to the user to overclock using setcpu or whatever. Just leave it at 528 default via userinit.sh, so people can choose to what degree they want to melt their G1's, lol.
kristoff123 said:
Good call. You can also just install "Swapper" from market, and go to advanced preferences, enable partition, good to go.
I am using a 96mb swap partition, and am overclocked to 596 mhz with the replacement kernel. Everything is working brilliantly for me, very stable.
Android 2.1, 600mhz Android device, ample RAM via swap, 16gb card, new slim extended battery - I am once again a happy G1 owner!
Click to expand...
Click to collapse
hello
link please
lefeudedieu said:
hello
link please
Click to expand...
Click to collapse
Here, searched my ass off to find it...your welcome
http://forum.xda-developers.com/showpost.php?p=6352322&postcount=402
ok, thank
but i put the image boot by fastboot and G1 reboot and reboot ?
In my personal experiences with swap..... I'm not exactly sure what it was supposed to do after I applied it.
I do know what it does though...
As stated in previous forums,
The longevity og my card is very important to me
And finally, Cyanogen advises against swap.
if you would like to learn his thoughts, read his wiki.
And op, you crack me up. +10!
Sent from my HTC Dream using the XDA mobile application powered by Tapatalk
lefeudedieu said:
ok, thank
but i put the image boot by fastboot and G1 reboot and reboot ?
Click to expand...
Click to collapse
i think its not a image that can be flashed. it should be paste to /sd-ext document.
u need to extract the userinit.sh script and put it in /sd-ext
zimphishmonger said:
u need to extract the userinit.sh script and put it in /sd-ext
Click to expand...
Click to collapse
and thats it??
zimphishmonger said:
u need to extract the userinit.sh script and put it in /sd-ext
Click to expand...
Click to collapse
This conversation is confusing. 2 people talking about swap and 2 trying to overclock. Use the zip file from this thread, unzip it, open it with gedit or notepad++, add the stuff in the link from @zimphishmonger talking about overclocking. Follow the stepsw in that post. If you fastbooted the boot.img and it just boot loops, you may have trouble. You may need to reflash cm5.0.7. Or reinstall the Nandroid backup you made before you flashed it.
Also if history tells us anything, Cy will never include any over clock hack. He is pretty conservitive along those lines.
dangambino said:
and thats it??
Click to expand...
Click to collapse
Not exactly
do
adb shell chmod 755 /sd-ext/userinit.sh
to give it permissions.
My userinit.sh looks a little different so I can't say for sure it is correct.
...You mileage may vary.
thanks. running command now
seems to of took!
Swap is not a good feature to use, and I'll explain why:
When you enable swap, your end result is that you have a lot more "memory" available for programs to run in. Because of the memory management scheme used by android (kill background processes on low memory), it ends up that you will be RUNNING MORE PROCESSES. And this is a bad thing because (1) it means that your CPU will be more loaded (multitasking/background processes), and (2) it means that it will end up doing a lot of swapping (sdcard is SLOW) in order to continue providing all the "memory" allocated to each of those running programs.
The end result is that your phone will become VERY SLOW.
The ONLY legitimate use for swap is when you are running a process that is SO LARGE that it can't physically fit in the RAM available on the device *even when* all killable processes are already dead. And on Android, I have yet to encounter such a program.
DON'T USE SWAP! It will accomplish precisely TWO things;
(1) it will make your phone SLOW.
(2) it will kill your SDCARD.
lbcoder said:
DON'T USE SWAP! It will accomplish precisely TWO things;
(1) it will make your phone SLOW.
(2) it will kill your SDCARD.
Click to expand...
Click to collapse
(1) I disagree, it's the opposite ;-)
(2) agreed, but it probably will last enough till my next phone...
Most class 6 cards feature wear levelling from which from what I understand means I'll have upgraded my phone way before it ever dies.
For me using CM without swap has been impossible for quite a while now, gmail sync just doesn't work properly without the extra memory to fall back on. As for it slowing the phone down I've never noticed anything ever being slower with swap although I do have a class 6 card.
deimdos said:
(1) I disagree, it's the opposite ;-)
(2) agreed, but it probably will last enough till my next phone...
Click to expand...
Click to collapse
+1 I disagree as well.
If anything it helps the phone operate normally. Especially with the G1 it has a tendency to push GTalk out of the memory. That means it stops pushing email notifications to your phone, which is really annoying. Even eBuddy has a hard time staying in the memory if you minimize it. The G1 one really benefits from having the swap. And really, are SD cards that expensive? I've had swap on for 8 months and my SD card is fine. I personally use 64MB on my G1 and 30 swappiness, anymore is excessive.
Really you only want enough memory that it holds all the essential apps in place. Autokiller helps too if set at Moderate. So far CM5 though, the battery life is phenomenal compared to the old 4.2.15 (especially after the battery wipe stats fix, if you're having battery drain issues).
If you're using this on the Magic, then I have an issue with that, since it isn't even needed. Unless you have like over 300MB worth of apps and cache. Then maybe you'll need an ext partition. But that's a separate issue.
lbcoder said:
Swap is not a good feature to use, and I'll explain why:
When you enable swap, your end result is that you have a lot more "memory" available for programs to run in. Because of the memory management scheme used by android (kill background processes on low memory), it ends up that you will be RUNNING MORE PROCESSES. And this is a bad thing because (1) it means that your CPU will be more loaded (multitasking/background processes), and (2) it means that it will end up doing a lot of swapping (sdcard is SLOW) in order to continue providing all the "memory" allocated to each of those running programs.
The end result is that your phone will become VERY SLOW.
The ONLY legitimate use for swap is when you are running a process that is SO LARGE that it can't physically fit in the RAM available on the device *even when* all killable processes are already dead. And on Android, I have yet to encounter such a program.
DON'T USE SWAP! It will accomplish precisely TWO things;
(1) it will make your phone SLOW.
(2) it will kill your SDCARD.
Click to expand...
Click to collapse
Check out autokiller in the market. It limits the running processes so that swap actually works.
For those uncomfortable with making a userinit script, as I said before, Swapper does the same thing, it's free, and it's not a program that runs in memory. With the benefit being that you can experiment with swappiness and other settings on the fly. Just go to "Advanced" and select your partition - it's the right location by default.

[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

Categories

Resources