yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] bosna110:
umm well i dont know what kind of cable you are talking about but, i have a cable that can plug in my phone and that goes into the computer. and well umm i just got done installing 11.04. and well you know the rest.. i know you are right.. it is a little not stable but hey its still linux. and it works so far. so i mean i dont know what to say now... um yea. let me know what should i do to try and fix it. i have not installed any apps or androidsdk or eclipse or nothin so its a fresh install as of like about 20 minutes ago.
[G1 Android Development] roalex:
-No plans for a odex version.

-Install market enabler, fake tmo us and you can download all the gapps.

Also stay on topic please, this is not general android help, ubuntu support, how to install usb drivers and so on, for those things either post on the q & a section or on the general section. This being the development section I assume everybody knows the basics.

Thanks.
[G1 Android Development] thangbinh:
wow, thanks, I'm up this rom now
[G1 Android Development] cj chitwood:
You're right, they're not all the same, but typically it's just a matter of quality. That thing near the end is not a coil. It's just an iron-based ceramic tube that is intended to prevent electromagnetic energy from traveling up the wire (the cable kinda acts as an antenna too). It's more for blocking radiomagnetic interference and won't affect impedance in the slightest.

Whereas in some uses having it can improve signal transfer, I've yet to actually notice it. Or need it.
[G1 Android Development] bosna110:
Roal, im sorry i know i have posted this in the wrong section, but since you guys now know about what is happening... id really hate to rewrite my problem al over again. and i know i can copy and paste from what i have already said to the help section. once again im sorry
[G1 Android Development] DevilofanAngel:
As Effdee stated, MTD actually gives more space to the data partition. I have Firerat's AIO, need it to enable swap & the ddb & I didn't get along really. MTD shrinks/grows the cache to your setting. My system is set at 90mb & 2mb cache.

Thought we no longer have to flash legacy anymore, since several updates back...

So, setting the install location to internal is better than auto? On automatic my apps were not being installed to ext, were still going to data. When I enabled a2sdext, it only moved about 5-6 apps. According to Roalex, if the data partition gets too full, we will still get the low storage warning.

@arohacs...are you currently using the ddb patch?
[G1 Android Development] smashman42:
Google Maps Navigation makes my phone reboot at random, is that just to be expected at this stage or is there some configuration I should tweak to make it more stable?

Tried variations of JIT on/off, increasing VM heap, various CPU clocks, swap or CC etc

Sometimes it works well for 1/2hr or so, sometimes it reboots straight away, fails faster if I try to multitask in any way during nav (eg: listen to music).

The end of the last_kmsg says ARM9 has crashed

Apart from this one problem I prefer this rom to the last CM6x nightly 307 I was running before, this is more stable so long as I don't use navigation at all.

Just wondering if it is just me or not I guess?

I saw mention of probs with copilot a few pages back so it might just be GB is too resource hungry compared to FY for these grunt intensive functions on our poor little phones. 32B Sapphire with 14mb spl/radio
[G1 Android Development] 1r2R1:
same problem, same configuration
[G1 Android Development] ThdDude:
Updated my theme for COS D/S 03252011 TD HCUL Enjoy
[G1 Android Development] unkleremis:
frozen at G1 logo

Hey all, I would love to install this rom but I keep getting stuck at the G1 logo. If anyone can help, I would really appreciate it. I have attached my logcat below

LOGCAT
[G1 Android Development] sada23:
Few things to check for your problems.

1. Did you wipe before your flashed? Use superwipe.

2. Do you have ext4 partition on your SD card? If not,get it done using some tools.

3. Is your SD card corrupt? If so, save data, re-format, re-partition, copy ROM and flash.

4. Bad download of the ROM itself. Re-dwonload and Re-falsh.
[G1 Android Development] dadosmi:
Sorry guys but REQ System partition with> = 88 MB means the swap?

:confused:
[G1 Android Development] juangil:
it means this: http://xdaforums.com/showthread.php?t=717874 its not swap, is a way to resize "PHONE" system, cache and data
[G1 Android Development] dadosmi:
thanks for the mirror:)
[G1 Android Development] DevilofanAngel:
88mb is the size of the full version of this rom & swap is a partition you make on your SD card. I'm assuming you're going to apply Firerat's custom MTD. If so, you're better off putting mtd 90 2: 90mb being the partition for the system & 2mb for the cache. That would be the ideal setup for the full version of this rom. A swap partition can only be done on your SD via recovery or gparted, if you're so inclined. Easiest is via recovery.

Can't see how that's too confusing or complicated. Better if you refer to the post that confused you.
[G1 Android Development] arohacs:
Vomiting poor grammar won't make you sound any smarter. The MTD script with defaults does what I said it does, regardless of the RAM Hack (what it *is* called, try *reading*). You can either test and come to some results or stow your useless, negative retorts. Either way, I won't be listening because you are not worth my time.
[G1 Android Development] Effdee:
not true, cmtd does not effect /data/local/tmp

you are not worth my time
[G1 Android Development] arohacs:
It did when I run the script with defaults and installed with the adb utility Refute that, or kindly dry up and blow away. .
[G1 Android Development] kingjehu:
Sorry Roalex, I'll be brief and then go back to lurking. Awesome Rom, btw.

SMH...

MTD Affects the /Data, /Cache and /System partitions on the phone. This kind of memory is for STORAGE and it has nothing to do with the RAM.

RAM is random access data, which is used to run programs.

Swap is virtual RAM (on your computer, the hard disk is used for virtual memory, on the phone it's the SD partition). It is much slower than the RAM the phone has, so the extra memory helps the phone multitask but it can slow it down some, so having a class 6 sd card is important.

Compcache is when things stored to memory are compressed. They take up less space, thus creating an illusion of more RAM. This also takes time, so things might slow down just a bit.

I know some people aren't Android experts. I've only been flashing ROMs since June. I took the time to read about everything that people were talking about and even know I don't know it all. To anyone talking out of their ass: Your eyes are closer to your brains than your hands. Please stop and read before you type.
[G1 Android Development] cj chitwood:
Power update:

I just lost 26% in 8 hours, so right at a day plus a few hours of use. If you can call leaving the phone asleep in my pocket "use". But still, the only thing I did different that I can think of, compared to before, was I rebooted while not charging. Apparently even the a/c charger can cause a drain issue? Will test tomorrow.

Oh, and as I type this, I notice that my words are lagging about 4 or 5 words behind, so I don't know if that's a memory, cpu, or other resource issue (possibly b/c I use swap and no JIT but IDK).

Will stay tuned...
[G1 Android Development] DevilofanAngel:
Well said!! Here, here! That was explained very well, quite simple & straight forward. Most of all clear. Now, may we act like adults & please move on?!
[G1 Android Development] DevilofanAngel:
Ummm(hand raised @the back of the class) what are the defaults you're referring to?

Are you or are you not currently using the ddb script? Roalex's or Firerat's? What is/was your result? You've been too engaged with Effdee & haven't answered that yet. So, if you would be so kind...
[G1 Android Development] Effdee:
there are no defaults in cmtd

and if you look at the newer ones you *have* to set something if you make system so large that data becomes too small

look at patchbootimg.sh

checksizing ()
{
usertotal=`echo|awk '{printf "%f",'$systemMB' + '$cacheMB'}'`
userdatasize=`echo|awk '{printf "%f",'$SCD_Total' - '$usertotal'}'`
# check if user wants to override min data size
if [ "`grep -q -i "anydatasize" $mapfile;echo $?`" != "0" ];
then
# a freshly installed ROM should still boot with 50mb data
# However trickery to get things on to /sd-ext may be required
mindatasize=50
else
# Might change this to 2, user needs to know what they are doing anyway
mindatasize=0
fi

if [ "`echo|awk '{printf "%d", '$userdatasize'}'`" -lt "$mindatasize" ];
then
echo "data size will be less than 50mb,, exiting"
exit
fi
return
}

regardless of using the newer ones or not if data is 2mb like you say , then *you* screwed up not cmtd

now kindly apologise for getting it all wrong, or shut up because we now all know you are wrong and crying is not going to help you
[G1 Android Development] arohacs:
Since certain people seems to be into picking nits, let's just say that I downloaded the MTD script and followed the directions in the thread for setting it up. I tend to call default instructions as *defaults* but your experience may differ. I hope that answers your question, effdee. I'm not discussing this further with you since it appears that you are not attempting to have a discussion.

Regarding "RAM", I was referring to the cache that runs in the "built in storage" that is not on the sdcard. My apologies for causing any confusion about that. Yes, it is located inside ROM at that point. Referring to a piece of software as a ROM is technically incorrect if you want to pick nits about terminology.

I'm not here to pick or participate in modem fights. Suffice it to say that I've spent hours testing this ROM, trying things like ddb (yes, I am running it), testing things like MTD that if used *as prescribed in the thread* do not work well *for my phone* (G1) and this ROM software as low memory errors occur and apk files over 2mb cannot be installed.

I learned of the cache/"storage" issue while running a script I am testing that manipulates the ADB tool in the android sdk (Linux) to install apk files and uses other basic *nix tools such as the find utility. While the MTD was in place (installed/run, take your nitpick), the cache in "built-in-storage" filled up and the files would stop installing after a few success. This also caused low memory messages to appear in the taskbar. I removed the MTD effects and the problem was resolved.

If I see someone with *the exact* same problem, this is what I recommend trying. My apologies if trying to help caused certain forum personalities to foam at the mouth and distract from the issues.

Taxonomies are important, but they are only another tool to be leveraged (and in this case - abused). Fighting over words and intent seems like a sad attempt to "win", and that reflects sadly on the person using such tactics. I am not immune to such things, but I usually do not start a conversation with such. My apologies for responding at all to troll attempts.

No person starts out knowing everything and it is through mistakes that we learn. Otherwise, there would be one ROM package with no updates and no replies to the first post in the thread. Think about it.
[G1 Android Development] Effdee:
I think I know your problem

the bindcache script was not running, so it was not redirecting the cache to sd-ext or data

probably the boot.img's ramdisk doesn't run boot scripts

still it has nothing to do with /data/local/tmp as you stated
[G1 Android Development] g1user101:
Guys. this thread is only for the rom. not abd things
[G1 Android Development] arohacs:
I used the instructions here: http://xdaforums.com/showthread.php?t=717874 for mtd with version 1.58 which was not alpha or beta at the time so it looked safe.

In particular:

The ddb I'm using is from firerat's all-in-one: http://xdaforums.com/showthread.php?t=679572

The combo of ddb and internal as install location works for me since setting install location to external (in this ROM version) installs to fat.
[G1 Android Development] arohacs:
Perhaps this is true. How would you test for that?

ibid

You can't prove a negative.
[G1 Android Development] Effdee:
look at the mounts and check the device cache is bound to

block4 is cache

if /cache is on block4 the script didn't run

looking at the current version scripts are suppose to run on boot

seeing as /data/local/tmp is on data it has nothing to do with /cache being 2mb

it just proves that you were mixed up with the actual cause

looking at the OP it mentions that market cache has been moved to /data/local/download

which means that you half the size of the app you can install

so with your 2mb app example you need at least 16mb of data free to install it

firerat has a table in the unstable code of cmtd

https://github.com/Firerat/CustomMTD/raw/unstable/MTDPartPatcher/patchbootimg.sh

to keep the numbers simple assume data is 120mb

10% of this is 12mb

so you need twice the app size + 12mb to be able to install it

this is how I worked out the 16mb

2*app + 12

so 5mb app

2*5 + 12 = 22

if the download location was not on data it would only be 17mb free needed

and it makes no difference if you use a2sdext or not

this is because it is just a hack to trick Android

I guess that Firerat's magpie checks against available space of sd-ext if your installing to that

purely because I've been able to install to sd-ext when my data is maxed out to only 15mb free

but again it is not a problem with cMTD but the rom, either because it didn't run the boot scripts or because it switched the market download location without accounting for the extra pressures that creates
[G1 Android Development] arohacs:
Looks like without mtd, all is as it should be, though it appears that according to your example, the script did not run:

Perhaps, perhaps not. Let us not get so caught up on blame as to not be able to conduct a conversation.

Assuming this is true, this also validates the gist of my post to angelofadevil as true in that the mtd script with firerat's initial instructions does not work well with this ROM.

Slightly off-topic:

Are you are a co-author of the cMTD? I ask this because you seem to be taking any comments about it very personally.
[G1 Android Development] Effdee:
no it was lbcoder and Firerat

I just don't like people making long informative looking posts that basically miss inform people

the bind cache script is not running because it doesn't exist !

it is part of cmtd

were you running cmtd and ddb?

the ddb would explain why you are not seeing problem any more because it has freed up space on data so the /data/local/download location will work
[G1 Android Development] :
Seriously can we get back on topic please? If you want to argue about custom mtd then please move it to the appropriate thread.
[G1 Android Development] Effdee:
if

broke cmtd then it is on topic

and see posts 2 and 3

they suggest that cmtd should work , so again it is on topic
[G1 Android Development] :
I'll let the mods decide.
[G1 Android Development] Effdee:
:eek:

you pestered the busy Mods over this?

lol
[G1 Android Development] g1user101:
im with shadow. move it over the general thread.
[G1 Android Development] arohacs:
Fair enough. Do you think that you could reply to such posts without invoking ad-hominem?

Good - problem solved.
[G1 Android Development] Effdee:
I guess so

but if /data/local/download is used for market

then /cache is most defiantly not being used for anything

you have 25mb of untapped storage
[G1 Android Development] roalex:
I don't think it should broke anything, quite the contrary. cmtd users don't have /cache. I think everybody should be using cMTD tbh. Also the sysinit has a little hack to remove 06Bindcache you get over the rom with newer MTD_Boot so it should all be working.
[G1 Android Development] Effdee:
:D ok good to know

in any case I didn't think cmtd was broken as it works fine on FR Magpie

and funnily enough that deletes the bindcache script with 06SetEnv script

download_cache_loc () {
# Script for setting download cache location, requires
# https://github.com/Firerat/GB-framework_base/commit/40ca809a5dffebacb2b9dc7d466775cea30cbd49
# see commit notes for the reason for some of the logic in this script
avail ()
{
partition=`echo $1|sed s/[^a-zA-Z0-9]//g`
eval ${partition}_free=$(df |sed 's/^\ /\/dev\/fake/'|awk '$NF == "/'$1'" {printf $4}')
# the dev fake thing is a quick hack to get round vold mounts
# needed so the download_cache loc doesnt get screwed if someone plays about with this script
# i.e. they are setting ddb
eval checkzero=\$${partition}_free
if [ "$checkzero" = "" ];
then
eval ${partition}_free="0"
fi
}
for partition in sd-ext data cache;do
avail $partition
done
#prioritise the sd-ext ( if avialable )
# only use data if cache is too small
minDLCache=`expr 50 \* 1024` # 50mb , max market d/l is currently 50mb
#TODO check is sysdex will be going to cache
if [ "$sdext_free" -gt "$cache_free" ];
then
AltDownloadCache="/sd-ext/download"
elif [ "$cache_free" -lt "$minDLCache" -a "$data_free" -gt "`expr $cache_free \* 2`" -o "$data_free" -gt "`expr $minDLCache \* 2`" ];
then
AltDownloadCache="/data/download"
# TODO Factor in the 10% 'reserve'
else
AltDownloadCache=""
setprop env.download_cache ""
return
fi

setprop env.download_cache $AltDownloadCache
echo "download cache location = $AltDownloadCache"

if [ ! -e "$AltDownloadCache" ];
then
install -m 771 -o 1000 -g 2001 -d $AltDownloadCache
fi
[B]# since we don't need 06BindCache, delete it
if [ -e /system/etc/init.d/06BindCache ];
then
mountsystem rw
rm /system/etc/init.d/06BindCache
fi[/B]
return
}
[G1 Android Development] cj chitwood:
So when I enter terminal emulator, and type in "df -h", and I see output showing a /cache partition at 27 M, 16M in use, that means I'm not using cMTD (which I already knew I wasn't). However, I also have a /system partition at 91 M, 86M in use, and a /data partition at 91.8 M, 57 M in use. Now, since I'm not using cMTD (unless it's built-in and I don't know it), where do these partition sizes get set? Is there anything requiring I have /cache? Wouldn't this be okay on the SD card, assuming it's not read constantly? And if I do that, that's 27M more I can put on either /system or /data. Since /system is just big enough for the ROMs, I would put it on /data to have more room for apps, which I'm putting on SD-EXT anyway, so could that extra 27M from /cache instead be turned into RAM? Or is that the purpose of the cMTD in the first place? Ah, guess I need to go google some stuff...

[Edit: POWER UPDATE]

So I reverted to a NANDroid of the 03142011-full and that's where I got back to my 3% or so per hour drain. I downloaded and installed 03252011-full and now my drain is really fast again. Are the kernels different? Will check.

5 hours, 38% left. 12.4% per hour drain. Android OS took 75% of that.

But then, it could have been I rebooted whilst still plugged into a power outlet -- A/C mind you -- so I'll still have to try that. Will charge up before bed and disconnect, reboot, then hit the hay unplugged and see where we sit in the morning.

cheers all
[G1 Android Development] DevilofanAngel:
Now we're getting some where! This would explain part of my previous problem prior to the 0323 ROM update. I didn't have 16-18mb free on data. However, when I enabled a2sdext, I had more than 25mb free, but anything I installed after it was enabled, still went to data. Haven't a clue how or why at this point. Haven't read that anyone else has encountered this.

Now, if I understand correctly, since the download cache on this ROM was moved, we can have less space available on data, but 17-20mb would be the ideal amount to leave free to avoid issues?

Install location is best left at automatic with a2sdext enabled, that correct?
[G1 Android Development] Khizzer:
live wallpapers

plzz optimize this rom for live wallpapers

they lag alot

thanks
[G1 Android Development] roalex:
Are you serious ?
[G1 Android Development] robuser007:
where's the call slider from the lockscreen (can't find it anymore)?
[G1 Android Development] cj chitwood:
Power update

I don't know what I did, but I found the magic combination or something...

HAH! Just discovered I accidentally left USB Debugging enabled!

Menu, Settings, COS Settings, Style Options, Lockscreen Style, Sliding Tab. Then, with that enabled, you should have an option either on that screen or the previous one to enable phone slider.

Unless you mean you HAVE this enabled and you still don't see that option, in which case, IDK.
[G1 Android Development] g1user101:
how did you get batt life to be 20 hours!? show us your settings and stuff:)
[G1 Android Development] bosna110:
no more updates? im still on the 3/25... i would really like to see a bran new kernel implemented and a new bootscreen and what not else. I cant wait to fix my g1. i will be so happy lol
[G1 Android Development] smashman42:
I almost exclusively use USB to charge (that or car charger), always leave USB debugging enabled (whether I've used ADB or not, just lazy & leave it on) & never seem to get this drain bug everyone seems to speak of...

Pull the phone off USB when I go to bed with data/sync/wifi/bt/gps disabled & when I wake up in the morning the battery still reads 100% without fail.

What am I doing wrong/right? :confused:
[G1 Android Development] bosna110:
haha thats good.. 100% even when you wake up.. i'd love to get that good of a battery drain
[G1 Android Development] paradix:
Congrats!

:)Hi,

I have tried many roms for the G1, since january. In France a stable Rom (2.2) is available but I continue to try some other to see the improvement.

I just want to say that this ROM is just amazing! Congratulations for your great job. I just installed your Rom for a french network, everything looks fine, smooth, no lag, and with a brand new Gingerbread!

Keep going this way, you are the best!

Thanks.
[G1 Android Development] Paul Shirley:
Just had to clean out 49Mb of apk's from there to get rid of the low space warning.

Is my system borked or is this meant to be mounted on sdcard? Mines internal and not getting flushed ever.

Currently on 03252011 full, think I skipped 22 and went 19->23->25.
[G1 Android Development] Patrick@sw:
can someone add a flashable zip file for launcher pro :) would be very pleased about it. Thanks!!!
[G1 Android Development] slvrarrow:
Love the rom, hate Gingerbread's theme - is it possible to have a froyo theme in Gingerbread? Just the notifcation bar, lower menu bar and notification icons would suffice.

Cheers!
[G1 Android Development] wjsturgis3:
COS settings->lockscreen->Style options->sliding tab; then

COS settings->Lockscreen->Custom App Starter.

Works for sliding tab style only, not rotary.

However, the silent mode icon is missing from the right side of all slider options. You can drag the right side and select/deselect silent mode though. I don't remember when this crept in.
[G1 Android Development] bosna110:
Only reason why i still have my G1 is because i am unemployed. Been unemployed ever since 06/10 so its going to be almost a year now. So i want to squeeze every life i have left in my g1. I sure hope people can keep updating the rom.. cm7 for the g1 would be out of this world! but the rom would be really heavy that it wouldnt be able to support the phone. Ugh. oh well. once i can land a job, i am thinking to do a upgrade.'
[G1 Android Development] azrash:
g1 is still a great phone! i just got mine a fw weeks ago, we are getting good enough GBs around, and they are very smooth and stable as of now, just a few more tuning and it'll be great!
[G1 Android Development] Dukenukemx:
My phone is draining the battery fast. Android OS is using 85% of the battery power, and I didn't even use the phone over night. I just flashed this rom last night, and woke up to a low battery.

I disabled wifi, data, and data sync. Plus, I set the min clock speed to 176 Mhz. What could be draining my battery? USB drain bug?
[G1 Android Development] d12unk13astard:
Try using EZterry's latest kernel it works the best imho for this rom.