yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] ximmox:
My phone is running for 22 hours and 52 mins and I still have 41% battery left,

so it can't be only the rom's fault.
[G1 Android Development] cityeyes:
Why don't you enable compcache? I know there are downsides, but they're far outweighed by being able to multitask.

Anyway, I have noticed literally no problems caused by keeping compcache at default. COS DS remains blazing fast with little to no lag even after hours of uptime for me personally.

Still, I agree there are memory problems. More intensive stuff still gets pushed out of memory unexpectedly every once and a while, but it was worse when I was testing the CM6.1 RC's and nightlies earlier, so it's not getting on my nerves much.

People who get obscene amounts of battery like that are using their smart phone solely to make and receive calls. Only people I've ever heard getting uptimes like that have completely shut off all forms of background synchronization and have toggled off 3g.
[G1 Android Development] ximmox:
You're right, I've only send around 20 SMS today, made around 5 minutes of calls and used GPS Navigation for 15 minutes, thats it, some twitter and news checking aside.

3G was turned off for around 9 hours at night, sync is never turned off.

I can empty the battery in 12 hours if I use it all the time, this was just to illustrate, that this ROM doesn't eat battery when it mainly idles. ;)
[G1 Android Development] crypticc:
Agreed

I left a suspended phone with a phone-only sim (foreign calls). battery lasted 5 days and still only amber. Biggest consumers are display (when phone awake), and it appears network services / gapps in my opinion (when phone is idle and sometimes being kept awake)
[G1 Android Development] roalex:
MOST kernels you can flash just seam to work, but they aren't, AFIK.

Since they use the old USB drivers. (its made for the EzGingerBread Rom)

For good battery life:

Disable Data,Sync unless you need them at that point, set your phone to GSM only, reboot after unplug from PC. Set max cpu freq to 528.

My phone lasts at least 48h like that.
[G1 Android Development] Galaxen:
Is a wipe recommended when updating!? and is it necessary to wipe!?
[G1 Android Development] roalex:
If you come from COS its not needed.
[G1 Android Development] Galaxen:
Ok thanks.. Im running COS-DS 10th Mars.. gonna flash todays update ;)
[G1 Android Development] yo9gnc:
+1

2g and data enabled just when i need it. no sync, no gps no email sync.

btw: cpu 128-528 on demand.

no compcache ( no need, really).

swap 32mb (partition)

no animation and fancy stuff ( flashed launcher2, not adw and it is a lot better).

310-315 pts on quadrant, anytime :)

(no 2708 spl)

other stuff:

apks, moved to /data/app from terminal. with "keep launcher in memory", will see the apps after restart.

again, nice rom!

nice work!
[G1 Android Development] Galaxen:
Ouch.. Just flashed the update and Im getting massive FC on almost everything..gapps..services.. google framework .acore etc. Launcher is running fine but I cannot start any apps... they just FC on me. fix permissions!?

EDIT: I rebooted and phone seems to be working fine now... puh.
[G1 Android Development] roalex:
That's not suppose to happen !

So its on your end ;)
[G1 Android Development] MrFrankfromCM:
This ROM is so great. My son is the one who has my G1 now(i monitor how it's used) as I have a G2 now...and he has added apps, move apps to sdcard manually. Runs smooth with no issues. It's hard to believe some users have so many problems.

Great work roalex!
[G1 Android Development] HostFat:
Wifi doesn't work.

It show "error"

- 1.33.0013d

- 2.22.28.25

What I did:

1) Superwipe 2

2) Flashed COS-DS-03152011-full-signed.zip

3) Flashed signed-boot-2.6.37.3-cyanogenmod-ds_32b_radio2708-bfs-bfq-20110308.zip

4) Flashed Launcher2

5) Reboot

6) I tried with Other reboots ...

Do you have any suggestion?

How can I give more informations/logs to you?
[G1 Android Development] roalex:
Well ask the one who made that kernel, not me sorry.

The "stock" kernel has a working WiFi.
[G1 Android Development] HostFat:
Ah sorry, I'll flash again the COS-DS-03152011-full-signed.zip .

I'll report if it back working :D

EDIT:

It works, thank you!
[G1 Android Development] HostFat:
Is there a way to block background scrolling without installing ADWLauncher?
[G1 Android Development] morTimar:
Custom MTD - need help

Hi,

tried to use fireats custom MTD patch but following nandrestore is not succesful. Runs in a loop.

What I did:

- flashed COS-DS 03122011-light

- deleted some stuff with Titanium Backup

- checked /system size with df -h (77.8)

- prepared 'mtdpartmap.txt' like this: "mtd 80 2" without the quotes

- followed the given install instructions here: http://xdaforums.com/showthread.php?t=717874

- tried also to override SPL in 'mtdpartmap.txt' with "spl 1.33.2005" which was succesful for BiffMod 2.1 but not with COS-DS

Any ideas? Thanks for your help in advance.

bye morT
[G1 Android Development] AndDiSa:
Did you patch the kernel after nand restore? Otherwise it will loop.
[G1 Android Development] morTimar:
Sorry my fault. What I meant, the nandrestore did not finish. Is like an endless loop. So I was not able to patch the kernel even if I wouldn't think about it.

So here more detailed what I did like the given install guide:

1. download FR-recovery-v1.5.6-CustomMTD_S.zip and FR-boot-v1.5.6-CustomMTD_S.zip

2. create mtdpartmap.txt and put on /sdcard/ see configuration *

3. reboot to recovery

4. nandbackup

5. wipe cache + data

6. flash FR-recovery-v1.5.6-CustomMTD_S.zip

7. reboot to recovery ( reboot and hold Home )

8. Nandrestore --> did not work

So 1st I have to succesful finish the nandrestore. Any ideas for that?

I understood that I have to patch the kernel again. Thought that would be done by FR-boot-v1.5.6-CustomMTD_S.zip

If not, what I have to do instead?

thanxs morT
[G1 Android Development] AndDiSa:
Try a

fastboot erase system -w

Then, reboot to recovery, nandrestore, boot to recovery, patch the kernel and then reboot.
[G1 Android Development] roalex:
flash superwipe

adb shell

mount /sdcard

rm /sdcard/mtd*

echo "mtd x y" > /sdcard/mtdpartmap.txt

(where x is system part. size and y cache part size)

flash cMTD

superwipe

reboot recovery

superwipe

reboot recovery

flash rom, gl
[G1 Android Development] AndDiSa:
Hmmm ... I was thinking he wanted to restore a nandroid backup instead of installing the ROM newly ;)
[G1 Android Development] roalex:
Didnt read it all, in that case replace flash rom with restore backup :) He's problem was not wiping AFTER flashing cMTD though.
[G1 Android Development] Galaxen:
I have a general question, Im have a HTC magic 32A running latest COD-DS and wonder if App2Ext, CompC and/or Swap is even necessary for good performance of this phone!? as it already has more memory than 32B & G1.

Or will my phone be even faster if I use CompC and/or Swap!? and move apps/cache from internal to external!?

Just wonderding.;)
[G1 Android Development] uvt_novice:
Thanks a lot, the battery life seems fantastic, so far looks everything working!!! But it has a bug anyway - after flashing this kernel USB is not being recognized. :confused:

My phone: G1, COS-Gingerbread, new radio and proper bootloader.
[G1 Android Development] :
As far as I'm aware this is a known bug with the kernel and am a little suprised to see it in here without any warning to that affect.
[G1 Android Development] roalex:
I did warn about this missing feature on that kernel.
[G1 Android Development] Khizzer:
live wallpapers lag

live wallpapers lag so much and when rebooted when a live wallpaper is on it keep on rebooting by itself even after a 14 mb ram hack

plz fix it

thanks
[G1 Android Development] yeticomes:
After using this great ROM since more than a week (always no-wipe update to newest version), I switched yesterday from CompCache to my swap-Partition with Firerats script - and it is amazingly fast, for me no lag/problems with keyboard input, back to homescreen, it seems to be very smooth and I have always ca. 30MB free.

It got even better this swap partition (90MB I think).

Can only recommend to try the 2 configurations and compare which runs better for you.
[G1 Android Development] Pfeffernuss:
Whilst on a Sapphire it breaks Wifi ;)
[G1 Android Development] fonsigno:
New 2.6.37.3 Frankenstein Kernel It 's possible for 32 A
[G1 Android Development] Galaxen:
I just had another random reboot while phone was at sleep and wonder if posting last_kmsg or anything is of any use here!? does the developers want us to post logs etc for buggfixing!?
[G1 Android Development] d3vilskid:
anyone got any luck getting words with friends to play on this rom?
[G1 Android Development] MattDrumz:
Just flashed the newest version about 2 hours ago, and everything is running fine and fast. I also flashed the Frankenstein kernel on top of it, and everything seems like its working. Haven't tried WiFi or USB file transfer yet, which seems to be the problems with the kernel.

Nice work!
[G1 Android Development] Xpire:
Hi guys,

Currently running CM6 nightly on a Magic 32A with SPL 1.33.0009 and Radio 3.22.20.17. I believe that my SPL is okay according to the first page.

I'm guessing I'll have to wipe, so I'll have to back up my apps now

Is there anything else I need to do before I flash COS-DS? Haven't done this for a while...

Thanks!
[G1 Android Development] midnightmach:
Can someone point me in the right direction for how to partition my sd card for this rom? Thanks
[G1 Android Development] brian(::
i used clockwork preimum, have my ext at 512mb and my swap at 32mb, i have no idea if thats correct for this rom but my phonee runs really smooth . haha .
[G1 Android Development] belrin:
I used 96mb Swap and 80 Swappiness.Work fast and no problem.
[G1 Android Development] Xpire:
Just flashed the latest COS-DS after using Ohsaka Superwipe. The usual initial setup for the phone didn't pop up, and found that gapps wasn't installed. Searched around and doesn't seem to be a common problem.

I tried using a gapps zip file to flash it, booted up and the initial setup popped up but simply kept rebooting after it got to the setup screen

Anyone know? :(
[G1 Android Development] Pfeffernuss:
Swappiness 80, LOL. Use it for a couple of hours and watch it crawl down to a complete halt ;)
[G1 Android Development] dadosmi:
hello guys I just installed this rom but I did the partitioning of the SD! I left the old one with swap 0, ext2 728 no ext3-4. my sd 2gb class 4.

you say okay or should I change?

if what you recommend? Thank you in advance :D
[G1 Android Development] juangil:
fat32, ext4(500Mb?), linux swap(96Mb)

use ext4 only if you want app2sd, linux swap for swap, besides is always good to have it partitioned this way, you can use it or not;)
[G1 Android Development] dadosmi:
ok perfect.

as ext2?
[G1 Android Development] juangil:
it could be ext2/3/or /4

ext 3 and 4 is journaled, better to avoid file corruption

ext2 some say that is technically faster:confused:
[G1 Android Development] arohacs:
Would be nice to receive an reply, but I figured this partly out on my own. After a full wipe but leaving sd-ext not wiped, the phone reboots in stable condition - very fast actually. Next, I changed the install location to external after setting the other flags and left dalvik on internal (I hear this is fine - dalvik on sd-ext gets very slow so I'm looking for alternatives to that). On rebooting, the sd-ext partition is recognized, but FC Armageddon ensues with programs that are not even running. When gapps framework does an FC I know something is terribly wrong.

Before doing the above and while testing my apk install script (menus and other options added - will post soon) after applying firerat's MTD mod, I realized where the "insufficient storage" error was coming from - 2mb of /system/tmp doesn't leave much wiggle room for, well, anything, much less the install of a large apk. So *I think* I got rid of that by applying the zip to remove, and then wiping and reflashing the ROM. Please let me know if I missed a step. Or please reply to any of this.

I did try swapper2 for a while with a 32mb swap partition, but it would not start on boot before the rest of the programs even when installed to internal memory, so I moved back to compcache. Either way does not work properly and my sd-ext installed apps FC a lot.

Any advice?
[G1 Android Development] arohacs:
Basic Gapps is included, so don't flash a gapps zip or you will boot/splash-loop. Install gmail, etc., from market after flashing only the ROM.
[G1 Android Development] Pairon:
It's a good ROM,I like.But can not display Chinese operators name.Can you put the JAVA into next version?thanks!

PlmnOverride.java

package com.android.internal.telephony;

import java.io.File;

import java.io.FileNotFoundException;

import java.io.FileReader;

import java.io.IOException;

import java.util.HashMap;

import java.util.Locale;

import org.xmlpull.v1.XmlPullParser;

import org.xmlpull.v1.XmlPullParserException;

import android.os.Environment;

import android.util.Log;

import android.util.Xml;

import com.android.internal.util.XmlUtils;

public class PlmnOverride {

private HashMap<String, String> CarrierPlmnMap;

static final String LOG_TAG = "GSM";

static final String PARTNER_PLMN_OVERRIDE_PATH ="etc/plmn-conf.xml";

PlmnOverride () {

CarrierPlmnMap = new HashMap<String, String>();

loadPlmnOverrides();

}

boolean containsCarrier(String carrier) {

return CarrierPlmnMap.containsKey(formatCarrier(carrier));

}

String getPlmn(String carrier) {

return CarrierPlmnMap.get(formatCarrier(carrier));

}

private String formatCarrier(String carrier){

return carrier + "_" + Locale.getDefault().toString();

}

private void loadPlmnOverrides() {

FileReader plmnReader;

final File plmnFile = new File(Environment.getRootDirectory(),

PARTNER_PLMN_OVERRIDE_PATH);

try {

plmnReader = new FileReader(plmnFile);

} catch (FileNotFoundException e) {

Log.w(LOG_TAG, "Can't open " +

Environment.getRootDirectory() + "/" + PARTNER_PLMN_OVERRIDE_PATH);

return;

}

try {

XmlPullParser parser = Xml.newPullParser();

parser.setInput(plmnReader);

XmlUtils.beginDocument(parser, "plmnOverrides");

while (true) {

XmlUtils.nextElement(parser);

String name = parser.getName();

if (!"plmnOverride".equals(name)) {

break;

}

String numeric = parser.getAttributeValue(null, "numeric");

String data = parser.getAttributeValue(null, "plmn");

CarrierPlmnMap.put(numeric, data);

}

} catch (XmlPullParserException e) {

Log.w(LOG_TAG, "Exception in plmn-conf parser " + e);

} catch (IOException e) {

Log.w(LOG_TAG, "Exception in plmn-conf parser " + e);

}

}

}
[G1 Android Development] dadosmi:
you advise me how to partition?
[G1 Android Development] TriforceKommando:
Thank you roalex for your work, also ezterry etc of course!

Works great on my Dream!
[G1 Android Development] arohacs:
| = partition boundary

partitions are not shown as actual sizes.

Order must be fat32, then ext3/4, then swap going from left to right.

fat32/ext/swap setup could be:

(fat32 partition) (ext4) (Linux swap)

| space = fat32 - (ext + swap)| ext(3 or 4) = 500mb | swap = 32 or 64 mb|

fat32/ext setup (no swap) could be:

(fat32 partition) (ext4)

| space = fat32 - (ext + swap)| ext(3 or 4) = 500mb |

You can partition in recovery - make a backup of your data in fat32 first as I'm not sure if that will get wiped. You could also download a knoppix livecd, boot, and use gparted or fdisk to do the partitioning. As long as you have a backup of your data, there are no worries of "breaking" anything as you can always copy the files back, so experiment and have fun :)
[G1 Android Development] dadosmi:
thank you now try and tell you my results

:D
[G1 Android Development] TriforceKommando:
I couldn't find an answer to that:

Should the screen on/off animations work?

They don't for me..
[G1 Android Development] roalex:
If this is a patch i think you should submit it to CM since im using their soruce for this part .

@TriforceKommando

Atm they do NOT work.
[G1 Android Development] Pfeffernuss:
That is the case for everybody ;)
[G1 Android Development] id242:
Spam or just overly excited?
[G1 Android Development] virajss:
Defi Spam !!!
[G1 Android Development] uvt_novice:
Definitely SPAM!!!
[G1 Android Development] smashman42:
Facebook contact sync doesn't work for me, am I doing something wrong or is this a known bug? Try to add it under Accounts & Sync & the Facebook app force closes, can get a logcat if needed.
[G1 Android Development] cj chitwood:
Nah, neither spam nor excitement... He was D12unk when he posted that -- just kept posting and couldn't find the right forum!
[G1 Android Development] MattDrumz:
Gonna go back to my old ROM. For some reason, I just can't get my home app to stay in memory. It always has to reload itself whenever I go back to it. Plus, I don't have a whole lot of RAM left over with this ROM. I'm guessing its because I don't really use swap.

Still a very good ROM though. I'll be watching this ROM for updates!
[G1 Android Development] s14evil:
I'm unable to upload any picturs to fasebook. I'm using cos-03102011. Also can I flash to the latess with out wipping. Will I run into any problems. Can i flash a full-version or do i need-light-version ?
[G1 Android Development] habitat22:
Okay 03172011-light-version! I downloaded it and flashed it on my Dream!

But there is no marke!i rebooted my phone 3 times but there is no marker!?

Is this normal in the light version??

Im running the 03152011-light-version and there is a market and everything is working!

____________________________

Phone: HTC Dream (rooted)

Rom: COS-DS 03152011 2.3.3 GingerBread

Radio: 2.22.27.08

Spl: 1.33.0013d

sdcard: 2gb ; ext3
[G1 Android Development] yeticomes:
Maybe you have installed a stock-version of the ROM? There are 3 Downloads, try the full or light version, there are the correct gapps included
[G1 Android Development] alex_aac14:
my touchscreen just stopped working today and im stuck at the lockscreen :(

is it possible to include using menu button as unlocker in your next update????

or maybe someone is experiencing this same problem???(i tried doing everything though...hard, soft reset, reflashing, backing up and restoring. i figured it might be my phone because i changed back to cm6.1 an problem still persists)
[G1 Android Development] Llywelyn:
Hi Alex !

I am really enjoying your ROM but since we have a proxy connection here could you both mirror the ROM and store it on multiupload ? (MU-like sites are almost always blocked by proxys...).

So far (1 month of use) I experienced a very good performance and much smoothness but when I try to load the keyboard in the Internet app I've got to wait at least 4/5s to let it pop.

Could you have a closer look to the keyboard's settings in your ROM ? (especially in the internet browsingn, I do not have any pbs with SMS !).

Thanks for your work !!
[G1 Android Development] dadosmi:
Hi guys, it's a couple of days I feel this fantastic rom but I had some problems!!

When I turn off the phone, I have to reboot to reset the keyboard Swype, and also if I press the icon messages are always asking me which I prefer to use whenever inspiration although my favorite!

Finally I do not work in moving the apps I install when sd-ext!!

Thanks in advance for all your work and for making our dream is still cutting edge

:)
[G1 Android Development] roalex:
I wouldnt use Swype since its quite a hassel on the RAM use, if you wanna just use it though, do this in terminal/adb shell

su

mount -o remount,rw /system

rm -f /system/app/LatinIME.apk

sync 2

reboot

then you will have only Swype

about the moving from sd-ext, this isnt a feature, once you set it up, all the apks will be on sd-ext.

Regards :)
[G1 Android Development] d12unk13astard:
This rom is much better then the last time i tested it, gettign over 4+ mflops on linpack, 305 on quadrant..past the magic. Keep up the great work can't ait for a final release this rom just keeps getting better and better.
[G1 Android Development] AndDiSa:
It's normal ... ;)

Really speaking, it's a bug within 2.3.3. (Almost?) all Gingerbread 2.3.3 builds are suffering with this bug, even Nexus S ...
[G1 Android Development] ra100x:
Hi,

I've got one problem with this ROM, when I turn off GPS and then turn it on, it doesn't, have tried it with gpsStatus, it simply doesn't work. I tried to turn it on by widget and in settings too, it seems like turned on, but does nothing.

Don't know if it can be something with perf settings: apps2sdext, swap on,heap 24, cpu 128/576.

any ideas? when I reboot phone, it works again.
[G1 Android Development] roalex:
Update to the latest build. Has been fixed.
[G1 Android Development] s14evil:
Can I flash the new update without wipping. I'm using cos-full-03102011
[G1 Android Development] roalex:
Sure you can.
[G1 Android Development] s14evil:
Should I use the light, or the full upadte
[G1 Android Development] Galaxen:
I see.. thanks for the heads up ;) guess google will come out with a fix soon.
[G1 Android Development] cj chitwood:
Whichever you prefer. The full has everything, the light is missing some optional components but is still just as functional. Post #1 describes the differences IIRC.
[G1 Android Development] cj chitwood:
Power and Performance Update

The following is mainly FYI, may not be useful to most but some may appreciate the info.

Using 031711, I noticed two things different from 031211.

I have noticed that when the option to purge bitmaps from memory when memory is low is enabled (the new feature in the St. Patrick's Day version, and enabled is the default setting), my Quadrant score was a good 50 to 75 points lower. When disabled, my score is right where it was before. That said, I'm not sure how trusty I am of benchmarks, but I did notice a difference in the framerates in the graphical segments.

Secondly, unrelated to the ROM, I turn everything (GPS, Data, WiFi, etc.) off overnight. I only have phone enabled. Last night I was tired, and while I had turned everything off earlier, I had turned WiFi back on for some Market browsing. I forgot to turn it off, and went to bed at midnight. Overnight, I usually don't charge the phone if it's already at 100%, and I just top it off in the morning. When I woke up at 8:00, my phone's battery was at 2%.

So, with everything except WiFi off, the battery lasts only 8 hours. Turn Wifi off and you'll gain an additional 16 hours of life, give or take. Seems Wifi is a considerable drain to be left off when possible. Maybe tonight I'll try the same with 3G-only on but Wifi off. If I don't forget, that is.

HIH someone.
[G1 Android Development] Paul Shirley:
I've been leaving WiFi and 3G on overnight and losing about 20-30%, about what I expect.

Sounds more like you've hit either the USB power drain bug or there's a service blocking sleep mode. I've got into the habit of checking battery history a few minutes after the screen powers off to check it's really sleeping, saves waking up to a dead battery.

I accidentally nuked my SD card last week and didn't bother reinstalling any of the services (apart from Say My Name), my phone stopped being sluggish and has far fewer sleep problems now. Check your services, there's not enough RAM to use them on this ROM without severe consequences.
[G1 Android Development] uvt_novice:
Right, starting from kernel 2.6.35.7 up to 2.6.35.11, which is the last kernel for 32A/32B devices, - they all have the USB bug. That's why it says, "reboot after unplug from usb to prevent excessive battery drain".

What is about turning off wifi service: wifi turnes off itself by default when the phone is in sleep mode. 3G data service however stays all the time ON, if was not turned off manually.