yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] ringochan:
Haha. A new convert!

Here's the link to it. http://xdaforums.com/showthread.php?t=717874

Make sure to grab 3 latest files; recovery, boot, and remove.

Enter this in terminal window after cd'ing to /sdcard.

echo "mtd 90 2" > /sdcard/mtdpartmap.txt

You can go down to '86 2' with current COS-DS releases (instead of '90 2').

Flash the recovery patcher in recovery mode, reboot, and wipe the phone completely (either Osaka or fastboot). Check to see if the patching was successsful by typing 'df -h' in command prompt after mounting the partitions by 'mount -a'. You should see the new /system, /data, and /cache sizes.

After it's successful, you can flash the rom and everything should be ok. If you are flashing a rom that doesn't recognize the cMTD, you need to flash the boot patcher right after you flash the rom. COS-DS does it automatically.

remove patcher is only needed for removing the patch completely to return to the stock setting. Well, I only used it once to find out what the stock values were.

Hope this helps.:)

PS. Some old roms (I don't remember which one, or was it Market app?) expect a large /cache partition and give you out of storage error. You can bind link /cache to somewhere on your sd-ext partition to solve that issue, though.
[G1 Android Development] Ak Ankit:
Hey check this thread out.!!

Check out the most amazing thread on the best rom for g1..!!!

http://xdaforums.com/showthread.php?p=14380342#post14380342

It gives all the pros & cons of all gingerbread roms for g1..!
[G1 Android Development] cj chitwood:
Thanks a lot for this! I thought something fouled up. I had to reboot two times, not one, after running the patch but it seems to have worked the second time round.

So if I understand this correctly, I only need the recovery patch when I update my recovery, and with COS-DS I really don't need the boot patch, and the remove patch is only necessary when I want to revert to stock. Yes?

Secondly, if I understand, the /system and /cache are what I set with this, and the rest automatically goes to /data, yes? And also, the system memory (RAM) is not on the same NAND flash chip as the storage (/system, /cache, etc.), right?

well, it's late... gotta run. Thanks again!
[G1 Android Development] DionBurger:
Can anybody check for me whether this rom support south african english language (EN_za)?
[G1 Android Development] chris122380:
I only see us and uk english. This was with a update and not a wipe install.
[G1 Android Development] ringochan:
Mostly correct. I used to change my system partition a lot, but since I settled on COS-DS, I'm set to 90 2. If you want to change the mtd AFTER you already flashed the rom and don't want to rewipe, you can nand back up, change the size, flash the recovery patch, reboot, and restore the nand, then flash the boot patch. See you sometimes need the boot patch.

Correct.

Back in CM5 - CM6 era, I did some experiment and removed everything I could from /system without making the phone unusable. I got down to something like 65mb /system or over 130mb /data. Then, ddb made it unnecessary for a while. But no more ddb for me after loosing my data (forgot to backup my /sd-ext/data one time).

Enjoy!:)
[G1 Android Development] airadier:
Solved, but there might be a bug:

Already tried setting the "internal option", but same problem. Finally I made an ext4 partition, leaving the SD like (sdb is the device on my computer):

/dev/sdb1 - FAT32 - 7,4GB

/dev/sdb2 - ext4 - 512MB

/dev/sdb3 - swap - 64MB

and the problem dissapeared. However, some applications (I can confirm 3G Watchdog, Gingerbread Ghostly SMS and Acar) install to the sdext partition even when "Internal" is selected ni Settings/Applications.

So I guess there is some bug somewhere which tries to install certain applications to sdext even when "internal" is selected, or when there's no sdext partition, causing this annoying problem is there is no sdext, and causing the applications to be installed to sdext even the user chose "internal".

Apart from that, a really good work, keep it up, and many many thanks.
[G1 Android Development] yo9gnc:
am I the only one who can`t add google account ?

com.android.gapps FC.

i am on 06022011 ( fresh install ).
[G1 Android Development] cj chitwood:
I thought that was an issue a few builds ago (probably quite a few pages back).

Are you talking about the initial first-time-after-boot touch-the-android, or are you talking about Settings -> Accounts and Sync -> Add Account?

If the former, try the latter. If the latter, sorry, can't help. You wiped good? Cuz if you don't wipe good, bits get left behind that can really stink up the works.

I learned only the other night during reading that the recovery flashes don't overwrite the partitions. Fastboot flashes, however, do. Which may be why the fastboot wipe works better than recovery wipe.
[G1 Android Development] yo9gnc:
that`s not very good news :) i do wipe it from recovery (or oshaka superwipe v2 ). i can`t use fastboot due to an hardware problem with data connection on my phone.
[G1 Android Development] cj chitwood:
I assume that if recovery is capable of writing data to the partition, it should be capable of writing zeroes to it as well, effectively wiping it true clean. I just am not entirely sure how to go about forcing it to do that. I'm sure there's a way to do so in Linux, so you should be able to do it in the console in recovery... let me see what I find.

[EDIT]

From this post I think we can get away with either of these two options:

cat /dev/zero > [b][i]filename[/i][/b] & rm [b][i]filename[/i][/b]

or

dd if=/dev/zero of=[b][i]filename[/i][/b] && rm -f [b][i]filename[/i][/b]

where filename is the full path to and name of the temporary file you will create on said partition. So you'll want to remove old files first, which I THINK recovery CAN do, but then it wouldn't be an issue wiping... hmmm... maybe all this is overkill and simply

rm -rf /system

would work as a wipe replacement when there's no fastboot.

[/EDIT] I can tell I'm getting a little into the deep end here... anyone else know more about this?

On another tack, I scored 377 in Quadrant after install of 0602. I then wondered why things were jerky feeling until I saw JIT was enabled. Disabled, reboot, now quadrant is 366. I can live with that score, considering I was getting around 300 back a few months ago.

However, regarding Quadrant scores:

I was recently doing a comparison between the G2 and the Sidekick 4G from T-Mobile, and I found this PhoneDog.com video where the two are compared side by side. In part two of the comparison, the G2, with its slower processor, scored 1371 in quadrant against the Sidekick's score of 939. However, if you watch the video, the Sidekick is clearly MUCH smoother in some places (particularly in 3D video) than the G2. When I'm using a device, I'm more bothered by jerky graphics effects than I am by waiting an extra 4 seconds (usually), so that quadrant score doesn't mean that much to me any more (now that I've seen them side by side, anyway).

Of course, it could be framerates of the video getting in sync just right with those of the devices that makes it LOOK like the supposedly faster G2 is dropping frames, but I don't think so.
[G1 Android Development] hrk:
I don't know what you're trying to do but the "cat ... && rm" is just wrong.

dd if=/dev/zero of=/dev/block/mmcWHATEVERYOUWANTTODELETE

This will actually (try to*) write zero-s on the entire partition. Be careful, you could badly type it and write zero-s to the entire internal flash.

* Why "try to"? Because there are drivers which may just write somewhere "oh, there should be zero-s here, let's just remember this but avoid writing to the flash, in order to prolong its life".
[G1 Android Development] cj chitwood:
I should have known that! Most examples of dd show writing to block devices directly...

:facepalm:
[G1 Android Development] d12unk13astard:
5/30 build is the best this rom has been in a long time..

Super smooth scrolling and best quadrant scores i've ever seen

oh and regardless to what roalex says, firerats aio patch will work on this rom and the 3d patch from chainsfire does help significantly. I don't know about all cos ds rom builds but 5/30 does indeed :D
[G1 Android Development] innerspace:
force close when returning home

I'm getting FCs when hitting the home button on the last two builds.

home crashes and returns me to the last active app. I have to kill everything by hitting back until home finally reloads.

I've run fix permissions, anyone else seeing this behavior?
[G1 Android Development] d12unk13astard:
Have you ran the 5/30 buid? No FC for me since i've set it up.
[G1 Android Development] Maxamillion:
Hey, i was wondering what exactly does firerat's aio patch and the 3d patch do to help the phone? can you explain it to me so I can use them cuz it looks like it helps.
[G1 Android Development] d12unk13astard:
AIO patch for my own use, basicly lets me install as many apps as i want without effecting internal space much, if at all. Only thing that takes a hit is the sd-ext partition. Without the AIO patch sure the apps/games still go to the sdext partition, but they still will use up some internal space for each app/game installed, limiting how many apps u can have total. I've done this on a handful of roms and had up to one time 300+ apps and my phone still flew and had great performance with AIO patch ofc :P

Sure chainefires 3d patch is meant for 1ghz and up devices, but that doesn't mean it won't work @ all for our older devices, i've seen 3d games run slightly better even 2d games with a bump up in fps with some tweaks to the settings in chainefire3d patch, you just got to mess with it and see whats best for your device. As you can see inmy quadrant/linpack scores they don't lie in numbers. Plus i've already said plenty of times i'm way impressed with how smooth and fluid this 5/30 rom runs now.
[G1 Android Development] Maxamillion:
could you send me the link to the 3d patch?
[G1 Android Development] d12unk13astard:
Check your messages :D
[G1 Android Development] tvall:
But the placebo effect is fun and (as long as you don't notice lol)effective :)
[G1 Android Development] Paul Shirley:
As far as I can tell the 3D patch will indeed speed up a lot of apps with some settings but it's not actually running the same benchmark or demo because it's altering the textures. No one should be surprised that lowering graphic quality can make things run faster... or confuse that with the underlying rendering actually being faster.

While I can imagine some ways to speed up badly optimised rendering code with a shim layer, I don't for a moment believe this patch actually manages that. Making games run more smoothly by slowing rendering down I can believe.

This isn't doing what some of you think it is on our phones...
[G1 Android Development] ezterry:
The "3d patch" breaks 3d (revokes permission to the device) for many games and processes..

This forces the game/process to use software 3d

In some cases the software 3d is faster than the hw.. example: angry birds.. but not in others.
[G1 Android Development] d12unk13astard:
I dont check those settings to lower textures or graphics, i only use the power vr plugin and it def seems to help in 3d/2d gaming then without the hack. Having those other settings checked on makes the games look and play worse.
[G1 Android Development] mrjoeyloke:
gmail

how do i get my gmail? do i need google apps? if so where can i get it? thanks!
[G1 Android Development] tvall:
Dl from market
[G1 Android Development] mrjoeyloke:
in the set up! got it!
[G1 Android Development] kingjehu:
So people are noticing improvements by running a patch that sets a permission that is already there? That's brilliant self-delusion.

Also, the 5/30 rom has some broken scripts. Roalex told me to switch to 5/31, which I'm still on. For what it's worth though, I didn't notice a difference.
[G1 Android Development] d12unk13astard:
Which scripts are broken? I havent noticed any problems whatsoever. :D
[G1 Android Development] robuser007:
please add dutch (belgium) to locals.
[G1 Android Development] roalex:
some are, but it still works :)

@robuser007

give me the exact codes: language_COUNTRY, like en_US
[G1 Android Development] ginoyang:
@rolax

How should I prevent WiFi drain, last night I got 38% battery drain in 1hr.... I just follow ezterry's post to set WiFi always on and WiFi sleep policy is never...
[G1 Android Development] ginoyang:
I also check battery history other usage running 100%, is that mean no sleep of my phone?
[G1 Android Development] cosmique:
thanks so much for all your work !
[G1 Android Development] Lithosphere:
Also using Dutch (Belgium): code is nl_BE.
[G1 Android Development] drbobb:
Self-reboot on attempt to get gps location. /proc/last_kmsg ends in:

[14390.625579] ARM9 has CRASHED
[14390.625915] smem: DIAG 'MOD ipcmem.c00493
[G1 Android Development] roalex:
with what app ? my kernel ? details ?:D
[G1 Android Development] drbobb:
Using GPS Test, stock install of 06012011 on a 32A.
[G1 Android Development] roalex:
Works fine for me on 32B trout, suppose its either a more specific 32A issue or a hardware thing, or something.
[G1 Android Development] yo9gnc:
i`m using 06042011 and i have no connection on wireless.

i am connected on wireless, i have an ip (i tried even manually assigned ip and dns) and won`t connect to the local router web interface. and ofcourse, i can`t add google account or any other :)

i was a fresh install.

LATER EDIT: JUNE, NOT MAY
[G1 Android Development] roalex:
that's old and not supported anymore
[G1 Android Development] yo9gnc:
sorry about that. 5 is so damn close to 6 :)
[G1 Android Development] golfslicer:
Could you post step by step instructions on how to flash to this Rom from

Froyo by Laszlo - 5.2. Please. I don't want to mess anything up and I'm a newby to this phone, so please be patient.
[G1 Android Development] tvall:
1. Download

2. Wipe

3. Flash

4. Eat some bacon?
[G1 Android Development] uvt_novice:
Reboot into recovery, do a BACKUP. Then do a full wipe - Data, Cache, SD-EXT if you have one. Better to erase System and Boot too, -you can do it from clockwork recovery. Then flash the ROM in zip-file, reboot. Wait appr. 5 minutes till system boots up the 1st boot. Add google account, tune the Android OS. Don't forget to choose install location "SD-EXT" in the Settings/Applications, it's necessary...

That's it, my friend
[G1 Android Development] roalex:
Wifi is fine for me ><
[G1 Android Development] drbobb:
Well actually I had some issues when using networks secured by 802.1x EAP, especially when a SSL certificate was required. I'll check out how this works on the current release once the weekend is over.

BTW might upgrading to 0604 with no wipe work?
[G1 Android Development] feisty_noodle:
This strategy worked for me as well after many unsuccessful attempts (in absence of an sd-ext partition).

In my case, several--but not all--apps complained of "insufficient storage" and refused to install. (Examples: ADB Launcher[Free], Beautiful Widgets, Fancy Widget.)

This happened despite the install location being set to "internal".

The fix involved adding an ext4 partition through ROM Manager (chose the smallest option because I don't need it). Now these apps install without problems.
[G1 Android Development] Maxamillion:
The wifi drains my battery rapidly, like right now I just woke up and started using my phone at 100%, and now its at 77% after one hour of being on xda. Is there any fix for this yet?
[G1 Android Development] d12unk13astard:
Another thing i love about the 5/30 build lol...

Hardly any wifi drain, seems like i was using it all day yesterday and my battery only went down 30% from a full charge using stock kernel it booted with.
[G1 Android Development] hrk:
I don't know if it may help identify the problem (and I just skimmed the post, really) but my Gingerbread Ghostly SMS is set so that it will be installed to "internalOnly", not allowing to be installed to (Google/FAT) SD.
[G1 Android Development] roalex:
Ok it got old to just keep adding this and that language_local, i added them all splinted in 4 builds, download the one containing what your after, hf ;)
[G1 Android Development] dw9906:
Roalex, can I get the link to that flashable zip to swap adw with launcher2 that used to be posted when you used adw? Thanks.
[G1 Android Development] uvt_novice:
Last version (06/04) is flying!!! Personal thanks for added CAN Lang. :D
[G1 Android Development] selfinflicted1:
I am using the 5/22 build and its great for me. Everytime I try a newer build I get lots of random reboots. Also has anyone else tried using a pershoot kernel or ezterrys? Pershoot seemed to work fine as far as I could tell. But I thought I read somewhere they wouldn't work together? The only thing I noticed was changes in some of the performance options. Mainly the govenor settings?
[G1 Android Development] roalex:
It woud not work, but you can install the one on market.
[G1 Android Development] TooMuchViagra:
Anyway I can get the flashable version for the newer gallery ,I think you had one up before,would it still work on this one? And if so could I get a link ,pls and ty
[G1 Android Development] cj chitwood:
I can't say as there's a wifi bug, but I noticed on 0602 (at least, I THOUGH I updated to 0604, guess not, according to phone info) that when I had wifi off, battery drained pretty quick, but I had wifi on (forgot it, actually) and three hours and fifteen minutes of talk time later the charge level was not even 2% less than when I had last unplugged it... Seems to be what others have noticed as well. Will update to latest tonight and see what's up.

I think my wife's about ready to have her MT3G hacked. She's bone stock and can't stand the FroBloat T-Mo fed her phone. My G1 is outperforming her MT3G now, and I think this is the version and ROM I'll be flashing onto her phone. I am having trouble, though, finding a flashing guide that doesn't mention putting a one-click-root on the phone (trust issues). Anyone have a good old-fashioned downgrade-flashrecovery-flashradio-flashSPL-flashROM guide they like?
[G1 Android Development] cj chitwood:
@RingoChan

Let's say the ROM goes a little larger than where I set my MTD (I currently have 86 2) and I need to increase it. After I edit the mtdpartmap.txt, do I need to reflash the recovery patch before flashing the ROM, or is simply a reboot good enough? What if I'm not updating the ROM and I just want to play with sizes? For instance, let's say I decide to add my own ringtones and need some more/less space in /system (because I never did like having them on SD)...
[G1 Android Development] ringochan:
here you go.
[G1 Android Development] TooMuchViagra:
Thnx a lot
[G1 Android Development] ringochan:
The recovery patch needs to be flashed everytime you change the MTD size. If you want to keep the contents of MTD partitions, do nand backup BEFORE flashing the recovery patch. You can resotre the data after you flash the revoery patch and rebooted the phone. As a precaution, you can fastboot erase /system and /data, too.

It's actually quite simple once you get a hung of it.
[G1 Android Development] ringochan:
The builtin kernel should work fine with a Dream (except for the occasional battery drain issues:(). I sometimes try other kernels, but come back to stock cos-ds kernel when I flash a new release because I see not much difference (if any) anyway.

As for the random reboots, can you describe how it happens? Do you get hard or soft reboots? What's your clock freqs? Is it really random or does it occur when you are doing certain things? If it's hardware related, dmesg might give you some idea. If it's soft reboots, it may be low memory problems.

I only had one real hard reboot during last two weeks (about the same time the 5/22 was released). So there's no reason to suspect the stock kernel.
[G1 Android Development] robuser007:
Why don't you release language packs as an update (just 1-2 languages a pack, should perform better, right?) ?

I did try some other rom, but this rom just is more complete than any other (ext options,...).
[G1 Android Development] santelm:
HI

I'm new to this rom so can anyone explain how to do a swap instead of cc?:confused:
[G1 Android Development] roalex:
and how much free space do you have on system before you flash the rom, after you wipe?
[G1 Android Development] roalex:
Added a new kernel build, flash-able update, see post #1.
[G1 Android Development] almostthere:
Hi Roalex,

Did a full wipe update to 0604 and now getting an error when installing saying insufficient space eventhough free space still indicates 65Mb free.

Any reason why?
[G1 Android Development] roalex:
When you install an apk or ?
[G1 Android Development] almostthere:
Yup when installing an .apk especially files larger then 1.6Mb. And also noticed the radio button to move app sd-ext is greyed out
[G1 Android Development] roalex:
do you have a ext partition and is it where it should be ? FAT/EXT
[G1 Android Development] almostthere:
Yes it does and it worked perfectly well before on 0602 build and earlier. I'm trying to remake the partition on Amon-RA , reflash 0604, and will get back to you if anything

EDIT: Think I've fixed it. Seems earlier when I just did an update only flash of 0604, I enabled bind data to sd-ext and that corrupted the partition. Clean repartition (Took the oppurtunity to rid of swap partition) and upgrade back ext4 and all's well

Thanks for the pointers
[G1 Android Development] BlackF09:
Special ClockworkMod Recovery version

What's the advantage for using this version? Can I switch S-off with it? The "default" ClockworkMod Recovery version for Dream (v2.5.0.7) does not have the switch (what I've heard).
[G1 Android Development] robuser007:
Launcher keeps restarting again compared to a release from a week ago.
[G1 Android Development] cj chitwood:
Uhh, I didn't check before I flashed and after I wiped, but I would assume it would be equal to the size of the partition -- which is now 88.0M (90,112 1-K Blocks). With version 0604, I have 3.8 M free on that setup. so an 84.2M partition would have been enough for this version. I did have mtdpartmap set for 86 but I read that that was the minimum for this version, so I upped it to 88.
[G1 Android Development] cj chitwood:
I wonder if journaling would have prevented that -- a simple symlink data-on-sd bind should not have corrupted the partition.... unless it was trying to write to it for some reason and was not cleanly unmounted at shutdown. Any soft or hard reboots by chance?

But thanks for reminding me -- I need to go make sure my ext4 is journaled.
[G1 Android Development] almostthere:
85Mb on my phone, just did a full wipe an repartition since I FUBAR'ed on the bind data to SD-ext setting

I'd doubt it's a journalling issue as I've been on ext4 since CM6.1 actually. And didn't really soft reboot just that when I did the bind and reboot to reflect the new changes, all settings were lost and things were pretty head scratching until I rebuilt the partitions
[G1 Android Development] cj chitwood:
Recovery has nothing to do with s-off / s-on. That's handled in the SPL/Bootloader.
[G1 Android Development] roalex:
the rom needs 84.5 MB in fact, i said 86 to be safe considering there are some bad blocks from factory and others develop in time, i bet you are in such a case :)

Plus once i splited the languages some are a little bigger then others :)

data/data does requite journaling so take that into account, since i am offering such a features im not force disabling the journaling any more, in fact vold takes care of the ext mounting.
[G1 Android Development] almostthere:
Thanks for the clarification roalex, will KIV that whenever I set up my phone
[G1 Android Development] BlackF09:
CWM & signature verification

It has! CWM can switch signature verification, see point #3:

in this post. This seems to answer my question too...

PS: What I don't know, if this is a permanent or a temp switch.

PPS:

Could you please include GMail? I can't download it in market it's blocked, dunno why...