Jump to content
Tom G

CyanogenMod 6 port for Pulse

Recommended Posts

Even if you have swap partition.

This rom doesn't Swap on the /mmcblk0p3 swap partitom automatically by default.

You can swap it on manually from the terminal emulator application.

But first check if the swap partition exists.

su

find /dev/block/mmcblkop3
If you get : /dev/block/mmcblk0p3 back then everything is alright? You can create your own (swap) binary in some linux text editor:
#!/system/bin/sh

if [ -e /dev/block/mmcblk0p3 ];

then

echo Preparing swap.;

mkswap /dev/block/mmcblk0p3;

swapon /dev/block/mmcblk0p3;

echo setting swappiness;

echo ** > /proc/swaps;

echo Ram memory information;

free;

echo Swap state information;

cat /proc/swaps;

echo Swappiness state;

cat /proc/sys/vm/swappiness;

fi;
** = swappiness amount My suggestion somewhere between 30 and 45, down to 15 and up to 60. adb push to /system/bin/swap adb shell chmod 777 /system/bin/swap also rename it into 15swap and push it in: /system/etc/15swap But don't forget to chmod it to 777 also you could create a swaps file. for easier way to chechk the ram mem ory and swap.
#!/system/bin/sh

echo Ram memory information.;

free

echo Swappiness state information;

cat /proc/swaps;

echo Swappiness state;

cat /proc/sys/vm/swappiness;

this file just adb push to /system/bin/swaps

you won't need root permissions for this file to work.

after you set it all.

if you doesn't want to swap on the swap partition on boot time you can use the

swap

command from terminal emulator app

and to check the state:

swaps

before use both of the type

su

EDIT: Before performing adb push of the files.

Type adb remount

Best regards

TOTI

Toti, you have lost me with this I am afraid, not sure if it totally relates to the problem I had, but I was following the install on this thread : http://android.modaco.com/content/t-mobile...-and-oc-kernel/ ,

and the tried to install it by :

1. I have tried partioning the SD card first with Amoron then changing back to clockwork, but that didn't work, so I then reformatted the disk via a card reader and running a Live disc of Linux and Gparted. The same problem existed as described.

2. The order that I installed was CM, oc Kernal, DTapps, and Gapps. I then tried doing it CM6, oc Kernal, Gapps and then DTapps still with same result.

3. Did full wipes of everything before the installation of the zips.

I was getting an error each time I tried to do a wipe in clockwork,

Formatting DATA...

Formatting CACHE...

Formatting SDEXT...

E:Can't mount /dev/block/mmcblk0p2

(File exists)

Error mounting /sd-ext/!

Skipping format...

Formatting SDCARD:/.android_secure...

Data Wipe Complete

and if I use astro file manager to look a bit deeper at sd-ext I get this :

name : sd-ext

size : 0 Bytes

permission : d--

modified : 2010-11-12 15:15:33

Number of files : 0

device Free Size : 0

Device total Size : 0

Not sure what all this means, so I have had to revert to using the inbuilt Froyo A2Sd instead.

Out of interest, and I am not sure if I am the only one experiencing this but the gapps-pulse-20101020 version, newly updated one, wouldn't let me download anything from the market, the phone just kept restarted when it said it was installing. so I tried the gapps-mdpi-20100930, but this wouldn't give me the market, so in the end and a lot of searching for the link used gapps-mdpi-tiny-20100930 which worked okay for me.

Not sure if this is relevent or was just exclusive to me.

Sorry for the long post, but would love to get to the bottom of this.

Share this post


Link to post
Share on other sites
Swappiness means how percent of swap space is used maximum by the system. If You have large swap partition, then try to lower this setting, otherwise the system slowing down cause of continous SD reading and writeing. Ideal swap usage is around 10-15 MB, if You have Dalvik cache on phone (and if you have lots of apps, then yes, you have).

So, ideal swap partition is 32 MB with deafult swappiness 60, or, If You have larger swap partition/file (wasted space), try to lower it to 15-20 maximum, not use higher numbers.

And use App2SD lowmem-optimum if You like a snappy phone, this kill every unnecessary programs from memory, when You sent them to background. :rolleyes:

This is just my two cents.

Thanks for the information. It is helpful to have explanations for why you are setting things the way you do, and your intended results.

But please indulge me while I show my ignorance and try to get a couple of other things clarified.

If you use lowmem-optimum in order to kill off apps as they are moved to the background, don't those apps have to be reloaded when accessed again? Why is that preferable to having them moved to swap? Isn't pulling them back out of swap faster than reloading them?

How does moving cache to SD affect the "formula" you are using?

I think it would be great if someone who really knows what the different combinations of these setting achieves would write a tutorial for how to determine "optimal" settings, including swap size, swappiness, memory control settings, SetCPU settings, etc. Maybe that's too much for the variety of purposes people are trying to achieve.

(PS - I'm feeling a bit uncomfortable having all these discussions in this thread. :huh: Is it better to move these types of discussions over to the CyanogeMod 6 Discussion/Help thread?)

Share this post


Link to post
Share on other sites
I think it would be great if someone who really knows what the different combinations of these setting achieves would write a tutorial for how to determine "optimal" settings, including swap size, swappiness, memory control settings, SetCPU settings, etc. Maybe that's too much for the variety of purposes people are trying to achieve.

+1

Also think it would be good if there was perhaps a separate thread to discuss how to optimize the settings, or a mini tutorial type of thing so that we can get the best out of our pulse.

Share this post


Link to post
Share on other sites
I kind of, understood nothing of this... :rolleyes:

However; this is what terminal told me.

$su
# find /dev/block/mmcblkop3
find: /dev/block/mmcblkop3: No such file or directory
#

[/codebox]

It's 0 (zero), not o, i.e. "/dev/block/mmcblk0p3". It's short for "MMC block device number 0, partition number 3".

Share this post


Link to post
Share on other sites
If you use lowmem-optimum in order to kill off apps as they are moved to the background, don't those apps have to be reloaded when accessed again? Why is that preferable to having them moved to swap? Isn't pulling them back out of swap faster than reloading them?

How does moving cache to SD affect the "formula" you are using?

Theoretically yes, but my experiences doubt it. Android fills the swap with automatically started programs default, and if You have larger swap space, this slows down the phone. And if Your home app is swapped, or system needs to close programs first, if You want start one (which is not swapped) You'll not so happy with performance. :rolleyes: If You have free memory (as many as you can), Your programs starts in milliseconds, and it's better, than freeing up memory, even from swap, and the start the program...

Regarding Dalvik cache: if you have only few used apps, then it's not a big problem, You don't need to move it to SD. But, if you have and use tons of apps (like me), You will be run out of internal space more sooner, than later. Dalvik cache gets bigger and bigger with every started programs, and You'll run out of space.

My setup:

32 MB SWAP partition, swappiness 60

A2SD installed: Dalvik on SD, lowmem-optimum settings

Heap size 24 MB

OC to 690 MHz,

Compcache disabled (battery saver)

3G disabled default, I switch on if I need faster mobile connection

And a good advice: check your running processes regularly, some programs eating Your precious memory, even if You don't started it. This apps (like Ebay, Paypal, Skype and so on) sits ALWAYS in memory, and You just experiencing slowdowns without any specific reason: your system swapping all the time...

Share this post


Link to post
Share on other sites
Some settings doesn't save on reboot, like input mehtod, auto loading programs and some of the Wifi security settings won't save.

I noticed that. after reboot the phone loads the standard keyboard. :rolleyes:

have to go thru setting to re-enable thickbuttons then change the keyboard for input when i need it :huh:

Share this post


Link to post
Share on other sites

Your keyboard app is probably installed to sd card - move it to phone memory and it should work. Apparently, programs that are installed to sd card via Froyo a2sd cannot be loaded at boot (same problem with widgets that are on the sd card).

Share this post


Link to post
Share on other sites
Sorry, i didn't make it clear, I did actually install it, but for some unknown reason, it just wouldn't work. tried several times, over several nights following every guide on this site, but it just would not work. Even reformatted the SD card, several times as well. Problem from what can fathom out is that it won't read or find the ext partition, in clockwork it says it is not mounted, and despite me fiddling and trying to find a solution, gave up so resorted to internal built in version - not as good but workable for me.

I just can't keep re-flashing the roms every night as it then takes me a day to get it back to where it started.

I got around this by using AmonRA to partition and inatall DTA2SD when on CM 0.2. I had this issue only when using clockwork.. I don't like clockwork I can't see any useful benefits over AmonRA but I have a feeling this 0.3 rom won't install with out it.

Share this post


Link to post
Share on other sites
I got around this by using AmonRA to partition and inatall DTA2SD when on CM 0.2. I had this issue only when using clockwork.. I don't like clockwork I can't see any useful benefits over AmonRA but I have a feeling this 0.3 rom won't install with out it.

I think it won't install in AmonRA as well, as when I first tried to install the 0.3 rom, it kept failing to install, and then I realized after more reading of the posts that it would only work under clockwork, so I had to do it this way.

I tried to partion via AmonRa and then after use clockwork but DTA2SD still wouldn't work, so I then tried formatting under Gparted in a card reader, again with same results.

Must admit though I prefer AmonRA over Clockwork, just seems a bit more smoother to use.

Never mind, just do without DTA2SD for now.

Share this post


Link to post
Share on other sites
I don't like clockwork I can't see any useful benefits over AmonRA ....

Two benefits for me are:

1. I can install unsigned zip's. When I'm doing a lot of experimentation with roms and other install files, it's a hassle to have to sign the file every time.

2. The ability to start a backup from within RomManager, with a unique name of my choosing, and have it do the backup and reboot without my intervention is also very appealing to me.

But that's about it though. Otherwise, for me, AmonRA is equal if not better in other categories. As always, YMMV.

Edited by twrock

Share this post


Link to post
Share on other sites

Hi,

I have some weird trouble. Sometimes I detect that the phones drains battery quickly (in two hours I can lost more than 40%) and I don't know why, when this happends I can't enable or disable Wifi, GPS or change 2G/3G (the power control of notification bar change, but into Settings I can read, for exemple, in Wifi connection "Turnning off...".

I installed Advanced Task Manager, but I didn't see any application that can affect this. My phone configuration is really low power (no overclocked CPU Freq., comcache off, Wifi off, Bluetooth off, GPS off, brightness low).

Any one have the same problem? or know how to resolve it?! :rolleyes:

Thanks!!

Edited by Pq2son2

Share this post


Link to post
Share on other sites
Hi,

I have some weird trouble. Sometimes I detect that the phones drains battery quickly (in two hours I can lost more than 40%) and I don't know why

I have exactly the same situation here.

Sometimes my battery dies so fast the phone is empty after a few hours.

Also my user experience with this rom is deteriorating over time.

It seems to be getting slower and slower with mor frequent "hanging"

of ADW Launcher for example.

The camera application is also crashing a lot recently.

I use the beta 30 of the CM6 mod with the overclock kernel and the DT App2SD (and the separate fixes like described here :

http://android.modaco.com/content/t-mobile...-and-oc-kernel/ )

The first week or so was really great. I did not install any fancy widget or other

stuff that might affect the system load (afaik).

Share this post


Link to post
Share on other sites
GPS is working normally when compcache is enabled. However, when compcache is disabled, GPS cannot be worked. Anyone hv the same experience?

The GPS works fine work for me, maybe a little bit slowly to sync sometimes. But works without compcache. :S

Edited by Pq2son2

Share this post


Link to post
Share on other sites
Hi,

I have some weird trouble. Sometimes I detect that the phones drains battery quickly (in two hours I can lost more than 40%) and I don't know why, when this happends I can't enable or disable Wifi, GPS or change 2G/3G (the power control of notification bar change, but into Settings I can read, for exemple, in Wifi connection "Turnning off...".

I installed Advanced Task Manager, but I didn't see any application that can affect this. My phone configuration is really low power (no overclocked CPU Freq., comcache off, Wifi off, Bluetooth off, GPS off, brightness low).

Any one have the same problem? or know how to resolve it?! :rolleyes:

Thanks!!

I can't say with certainty, but both times I had this happen early on, I had been using the Camera app and it had crashed (known bug). After I replaced the camera app, it hasn't happened again. I don't know if that "guess" is helpful or not.

Share this post


Link to post
Share on other sites
Hi,

I have some weird trouble. Sometimes I detect that the phones drains battery quickly (in two hours I can lost more than 40%) and I don't know why, when this happends I can't enable or disable Wifi, GPS or change 2G/3G (the power control of notification bar change, but into Settings I can read, for exemple, in Wifi connection "Turnning off...".

I installed Advanced Task Manager, but I didn't see any application that can affect this. My phone configuration is really low power (no overclocked CPU Freq., comcache off, Wifi off, Bluetooth off, GPS off, brightness low).

Any one have the same problem? or know how to resolve it?! :rolleyes:

Thanks!!

Same here, battery drained over 30 % in couple of hours.So I checked phone usage and saw that MEDIA SERVER used the phone for couple of hours over 40 %, and battery was warm also.So it must be media server service or app.I don't know what it does and I don't see the process or app in task manager.But I will google for solution.

Ok I have been looking about what is media server and how to shut it down, and bad news, it's every app that does something like play music, video file, multimedia streaming or some such.But I have also found out that some media server is using like 40 % + of battery is due to a corrupt media file on SD card (be it a picture, video or music).And it seems that media server only malfunctions on the boot, and not when phone is turned on for some time.

So there.

Edited by baotica

Share this post


Link to post
Share on other sites
The GPS works fine work for me, maybe a little bit slowly to sync sometimes. But works without compcache. :S

Works without compcache, but it requires a reboot to turn it on or off for me...

Share this post


Link to post
Share on other sites
How do I disable the short vibration when someone answers my call? Incredible annoying when I have the phone to my ear.

This is easy, "Settings" -> "Call Settings" -> Uncheck "Vibrate on answer".

It's really intuitive the Android OS. or logical.

Share this post


Link to post
Share on other sites
someone knows how to calibrate the motion sensors on this rom? mine thinks the phone is inclined when it is not inclined

+1. It was so annoying to me that I've created a rule in Tasker to allow the screen auto rotation only for certain apps (maps, nav, ...). I did not have this issue with FLB 1.6.

Share this post


Link to post
Share on other sites
Same here, battery drained over 30 % in couple of hours.So I checked phone usage and saw that MEDIA SERVER used the phone for couple of hours over 40 %, and battery was warm also.So it must be media server service or app.I don't know what it does and I don't see the process or app in task manager.But I will google for solution.

Ok I have been looking about what is media server and how to shut it down, and bad news, it's every app that does something like play music, video file, multimedia streaming or some such.But I have also found out that some media server is using like 40 % + of battery is due to a corrupt media file on SD card (be it a picture, video or music).And it seems that media server only malfunctions on the boot, and not when phone is turned on for some time.

So there.

My Pulse is draining battery in less than 16 hours. Totaly. And charging takes forever (7-8 hours) - and if all radios (except pure GSM signal) are off takes lot less time - cca 3-4 hours? And screen off (while charging) reduces charging time for another 30 mins.

This didn't happend in FLB1.7 - charging in 2 hours, give or take few minutes, regardless of state of radios (BT, wless, 3g data (not a radio but consumes power)).

Any clues why?

Share this post


Link to post
Share on other sites
I can't say with certainty, but both times I had this happen early on, I had been using the Camera app and it had crashed (known bug). After I replaced the camera app, it hasn't happened again. I don't know if that "guess" is helpful or not.

I am having the same feeling but did not really test this.

I will try that right now :rolleyes:

edit: I tried that. After the camera app crashed, the phone lost 20% battery in 20 minutes

and i did not even use it during that time and the screen was certainly off. So this is really one root cause for battery drain.

Which camera app are you using now?

Edited by Oysterman

Share this post


Link to post
Share on other sites
Swapper2 is using a lot of precious memory, so I don't like it. I'm using 32 MB swap partition now with default swappiness 60, it's the best configuration in performance. Compcache is working, but it's not worth the power, what our processor is eating when compressing things to memory.

My best config is a2sd lowmem-optimum with 32 MB swap partition and swappy 60... it's not multitasking-friendly, but everything is loading-working hell fast...

What would be a multitask friendly configuration?

Thanks

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.