yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] henrylim:
Ok, thanks for the response. Must be from my legacy installations then. I will remove it straight away. Just still curious what it automatically launched upon reboot though.
[G1 Android Development] tekkitan:
I believe the app starts at bootup by design of the app, it isn't the ROM.
[G1 Android Development] tekkitan:
Agreed. It's also hard to talk to the iphone guys about the G1. They are always boasting to me "look at this app, and this app, and this app". Yes yes the G1 has that. But they don't seem impressed for some reason. It is like the only plus for the G1 right now is mostly for the techno-geek people that are hoorah for opensource and linux based devices. My boss is a big Apple fan and loves his iphone, but he was talking about how his iphone broke and he's thinking about getting a G1 instead. He is a techie too and is also very pro open source.

My point? There just doesn't seem to be enough right now for the regular person out there to want a G1, especially since all they hear about everywhere is iPhone. I think if the Android devs/HTC/Google/etc focused a lot more on business, things would go a lot better and in time even regular users will start to recognize it. Though, there is only a handful of Android devices so far so who knows, it may change soon :)

edit: also, since this is cyan's thread for his rom, this is my last post about this. sorry cyan!
[G1 Android Development] orangemaze:
Mounting G1 to a Car Radio

Before I rooted my G1, I was able to Mount my G1 to my cars radio using a USB cable and basically having the G1 act as a removable storage. Worked great, since it would charge the G1 while driving.

Since I have rooted my phone my car radio is not properly detecting the G1,. The G1 shows it is drawing power, the car radio goes into reading mode, but never gets further.

Any ideas?

I am running

CyanogenMod-3.6.6

using a 16gb class 2 micro sd hc

I have also tried a 256mb micro sd card

I never reformatted my SD card, it is still all in Fat32, do you think this could be the issue? Do you think I need to have multiple partitions?

I have also tried to manually mount the card via the terminal with

echo /dev/block/mmcblk0 > /sys/devices/platform/usb_mass_storage/lun0/file

with that above line, when I hook it up to my pc, mounts it without having to go to the notification drawer.

Any suggestions? I have also tried JF's roms with the same results. If I cant get it to work, I will have to go back to a stock build, as I need to be able to listen to my own music while driving, and not the same ole crappy stuff on the radio.
[G1 Android Development] QDT:
It may be related to the fact that CM ROM is giving your radio option of mounting two devices (the VFAT and EXT2/3/4 partition you are using for Apps2SD)

Sometime ago this issue was fixed but is back again.
[G1 Android Development] tekkitan:
He isn't using apps2sd though. He has a flat filesystem fat32 sdcard.

Wish I could help you more, but I don't know about this one. Good luck. Maybe cyan can help figure it out??
[G1 Android Development] jonesd22:
Battery Issue

Anyone else having serious battery life issues on this build. I charged it overnight. Took it off the charger at 6:50 am and by 8:00 am it was at 85 percent battery life. I usually get better life then this.
[G1 Android Development] sha.goyjo:
I go twelve hours and I'm at 50 percent.....

and yes, I'm using compcache AND apps2sd, and my compcache swappiness is set to 60.

Does it have anything to do with the SD card's speed? I'm using a stock I gb class 2. Perhaps the rapid data decompression is forcing the processsor to stay at a higher scaling point constantly.

Thoughts?
[G1 Android Development] orangemaze:
That is correct, I am not using apps2sd.
[G1 Android Development] Shane2:
Great work on the regular updates
[G1 Android Development] bhilgeman:
Cyan,

are you going to include this framework in your next update so everyone can enjoy the HtcMusic?

http://xdaforums.com/showthread.php?t=530572

I got it working last night without a hitch.
[G1 Android Development] lancealtar:
Just updated to 3.6.7.2 from 3.6.7.1 with great success. Camera and Camcorder work great. Better than before, even! The camera is snappier, imo. Deleting a picture and using the UI over all, is much, much better/faster. Thank you, very much Cyanogen! Srsly, you r0x! Oh, and I love the fact that now when I update, my pic widgets don't loose their pictures. Great stuff!
[G1 Android Development] Metatronx:
This is the exact error i was getting I've been trying to fix it on my own its changed to just a
[G1 Android Development] cyanogen:
I was talking to Stericson last night about this. The changes required to the core framework to support it are minimal. I'm going to try and turn the output of Baksmali into actual Java code and incorporate it into the Android core since it doesn't interfere with anything else and makes running this app much easier. I'm not going to simply replace my framework.jar with someone else's, though because I compile it from source and there are many modifications to it.
[G1 Android Development] cyanogen:
Either you got a bad flash, or bad blocks on your flash. Try erasing the system partition with fastboot like I suggested above "fastboot erase system" then reflashing the ROM.
[G1 Android Development] bouyark:
Battery issue

I am having battery life issues as well on 3.6.7.2., but it is inconsistent. I am using the 1400mAh Seidio which is better than the stock battery.

Last night for example the battey level was at 100% for 2 hours in standby (off the charger) after a full charge. This morning I unplugged the G1 from the charger and the level immediately dropped to 97% in under 5 minutes.

I listen to an hour of podcast during my commute to work each morning. Once I get to work by battery level is usually at 88% to 90%.

This morning I was down at 66% listening to the same podcast for an hour.
[G1 Android Development] aagvain:
same experience here
[G1 Android Development] sha.goyjo:
I think that you guys should try to find the proc usage amount by ramzswap. I honestly don't think that compcache qua compcache is the problem. It has sped up my phone with no adverse effect on battery life. I'm having REALLY good luck with it.

Bottom line, I don't think we should give up on compcache. It's potential benefits over a swap partition are just too great, and if we get it working here it could eventually make its way into other roms. Whether we like it or not, CM ends up being the ruler to which most other roms attempt to reach.

On the other hand, if it's interfering with your main phone, I understand. I just think this tool is too powerful to pass up.
[G1 Android Development] underamoon:
I would love it also, but I believe this was answered on page 1.
[G1 Android Development] ivans13:
I agree, don't think that compcache is the only cause of the problem people are having. It really speeded things up for me. And battery life is great, i get 2-2.5 days with a stock battery (most things like wlan, gps data sync are disabled by default and i only enable them when I need them).
[G1 Android Development] Metatronx:
I tried running the fastboot erase system and reflashing but the same error came right back. That /system/frame/core/jar is still killing the bootup. The one thing Caleb did that I didn't prior to the dalvikvm cache on the phone. Do you think that could be the problem and if so how do I go about doing that? (I'm scared to delete the phones directly on the phone when i'm not completely sure it'll come back :-).
[G1 Android Development] mianosm:
@cyanogen, do you have any insight on why peoples /system/sd/userinit.sh would disappear from updating themes?

I noticed you had a /system/sd/placeholder file in your updates - is there something to that?
[G1 Android Development] cyanogen:
I have some other suspicions about the battery issue that I'm looking into.
[G1 Android Development] cyanogen:
No idea.

The placeholder file is there to make sure the directory is created when you flash. The code that flashes new images won't create empty directories.
[G1 Android Development] Chahk:
I had to turn off compcache as well because of stability and heat issues. Went back to using 24MB Swap partition and all is well. Haven't experienced anything wrong with 3.6.7.2 to warrant going back to 3.6.5.

I can't say that the battery life has changed at all for me. I'm still averaging 7-8% drop per hour on standby (Bluetooth and Wifi off, with a bunch of widgets). Been that way on every cupcake build I've tried.
[G1 Android Development] sha.goyjo:
Cyanogens, I figured you would. I was more speaking towards the theory that most people are putting forth that the most recent big feature MUST be the one killing their respective batteries. There are a lot of possibilities with this one. Although android is my first experience doing any kind of dev work for such small devices, compcache causing this much havok just doesn't seem likely.

If you have the time to post it, I'm interested in what you think possible problem areas might be.
[G1 Android Development] sha.goyjo:
Chahk, is there any chance you might be willing to try using compcache again, but with an altered userinit.sh, and see if that solves your heat problems? If so, let me know.

Also.....where on your phone is getting hot? Was it plugged in at the time? I'm not discounting the problem, it's definitely there, I just want to narrow it down.

Thanks.
[G1 Android Development] cyanogen:
Well, I know for a fact that the battery meter on Cupcake is erratic, there are open issues on the Android bugtracker about it already. The fact that it's all up in your face on the lock screen now just makes it more obvious. I'm doing some profiling and will report back, though.
[G1 Android Development] mdavidf:
I have strong doubts that the heat is caused by the compcache. When I was using the stock battery, it always felt a little warmer than usual whenever I'd use an overclocker - even before I started using CM ROMs. So, I always figured it had to do with the overclocking of the phone.

EDIT: Of course, I say this and I switched back to a Swap Partition, but I switched back due to lag issues with compcache :) Also, I don't feel the battery warming up with my Seidio 2600.
[G1 Android Development] uberingram:
I would. Provide me the file and instructions on implementing it and I can give my 2 cents.

My email is my username at gmail if you'd like to stay in touch.
[G1 Android Development] TurboTsi:
Yes I am having this problem too. I noticed this AFTER I partitioned my sdcard though. Also after I was on a Rogers Rom. I'm pretty sure its my partitioned card though. I have an alpine x300 radio.
[G1 Android Development] csdaytona:
My phone is running hot! Its only near the sd card slot, on the front of the phone its right on the call and home buttons and can be felt on the back too. I pulled out my sd card and it was very hot. I checked the battery and the battery was cool and the rest of the phone felt normal. I am NOT running a2sd or swap file, etc. Just doing some light texting and browsing and the phone hasn't been plugged in for hours. I'm using the stock 1 gb sd card.

Other than that the phone is running better than ever with no issue at all. I have the hard spl and have been running cm roms for almost 2 months now and have never experienced this sd card heat up. Just throwing that out there, thx for the great roms!
[G1 Android Development] Stigy:
Something is definitely draining the battery.

I have the Seidio extended battery and with some usage I will usually end the day with about 65% left, but the phone has been off the charger since 7:30AM this morning and I am down to 80% already with no usage.

No swap or compcache either.
[G1 Android Development] Stigy:
Oops double post -- wish I could delete this.
[G1 Android Development] ubernicholi:
My userinit.sh remains after I flash a theme (aeroblack) however the symlinks to /system/media are destroyed and not recreated after boot. Nor are they recreated after a reboot. I suspect the a2sd, but I'm at work and can't check it for myself right now.

I can run it manuallt via terminal and it will work, but not at boot. If I flash back to stock using template, it works again with no issues. :confused:

Also the compcache settings will work after flashing aeroblack, so I'm really confused.

Also any chance of getting ash as default shell?
[G1 Android Development] BSDADON:
Do you have Wifi running by any chance, and a few routers configured with the phone? Cause that happened to me a month back and I realized it only heated up when WiFi was up and running at my job, anywhere else it didn't heat up. I assumed it was the 11 routers the phone was connecting/trying to connect to that caused it to flip out. It didn't always do that, but I think with having the Optimum WiFi antenna installed across the street that that didn't help matters. So now I shut off WiFi at work and I haven't had it heat up since. Don't know if that helps you but I felt the SD card after removing it and it was almost too hot to touch.
[G1 Android Development] tep065:
I'm under that impression too, 4am = 100%, 11:30am = 52% with not much usage other than recieving txts and emails, and listening to music.

I also have the Seidio extended battery..that 2600mah monster :). When on the Twisted and JacHero's i'd get like 24-27 hours with a charge. Now its almost done after 12 hours.:eek:
[G1 Android Development] Stigy:
I have the 2600mAh monster as well -- its a great battery. Adds some thickness to the phone, but not having to worry about what I use my phone for is worth it. Maybe Cyan can chime in on any battery issues he is seeing and we can go from there.

Also does anyone have an issue the Browser becoming unresponsive for 2-3 minutes the first time it is run after a fresh boot. I click the Browser and all of a sudden stuff starts to hang and I get a ton of "Force Close/Wait" popups regarding diff applications (ChompSMS, Alarm Clock, etc...)

Thanks.
[G1 Android Development] hotadef:
If i put my phone on the charger at 11am 40% battery and charge until 7am i am on like 80% with stock battery
[G1 Android Development] shotad:
20 hour charge and only got up 40%??
[G1 Android Development] jklong03:
Excellent point! Although I think many complaining of battery problems w/Compcache have upgraded their SD cards already, hard to tell

SINCE SO MANY USERS WHO POST DON'T HAVE A .SIG

!!:mad:

Hint Hint, sorry for brief rant! But the type of SD card is certainly an interesting road to check out. I have upgraded 8GB Class-6 and I never noticed any overheating or battery drain problems. I have stock battery, took off charger about 7am yesterday and ran all day till 1am this morning! That is with WiFi going on my home network all that time! I can't believe all this is only ROM issue as too many like me have no problems.
[G1 Android Development] modidlee:
:DCyanogen, I just wanna say thanks for what u do on here everyday. You're like the picasso of android! RESPECT
[G1 Android Development] mdavidf:
Although I did have some over-heating issues, I agree with your comments. I was having battery drain issues with OTA Cupcake and it did NOT get any worse with Cyan's mods. Also, I always have Wi-Fi running and, with my stock battery, I get 12-14 hours with nominal use. I'm also having difficulties believing it's a ROM issue.

Don't completely blame it on the Cyanogen ROM. According to Cyan, it's a known issue with all of the builds, even Cupcake.
[G1 Android Development] mzet:
i read somewhere, that HTC Hero supports MPEG4, is there some way to port it to cyanogen's?
[G1 Android Development] kizer:
Unless I'm bonkers it already does support mp4

Just use something like Meridian player to play it.
[G1 Android Development] mzet:
mp4 != mpeg4
[G1 Android Development] sha.goyjo:
TO EVERYONE WHO IS INTERESTED IN TESTING A MODIFIED USERINIT.SH TO TROUBLESHOOT POSSIBLE BATTERY AND HEAT ISSUES:

I have an advertising proposal to present in a couple of hours, and then I have some other work to do so I won't be able to write the userinit.sh until approximately 12:00 pm this evening. Look forward to it then or tomorrow.

My one note: I would prefer it if people who used this tell me what their results are AND the exact setup of their sd cards (size, type, class, and partitions {and this means what kind of fat and what kind of ext as well}).

TTYL ALL.
[G1 Android Development] G1-evolve:
Flashing to 3.6.7.2 now.. Cyan updates too much. :p
[G1 Android Development] csdaytona:
Nope no wifi running, but I did put my sd card back in and rebooted my phone and it seems to be back to normal temp. I'm not sure what caused the sd card to heat up so much but its gone for now.
[G1 Android Development] njuncos:
http://www.mp4point.com/what-is-mp4/

MP4 is an abbreviated term for MPEG-4 Part 14.

a little off topic, but just had to find out for myself, yes mp4 is mpeg4
[G1 Android Development] mzet:
sry, my bad

was someone researching how to port some good codecs like xvid,divx?
[G1 Android Development] bobbybooshay:
would i have to wipe and clear ext3 partition if coming from a nandroid recovered 3.6.7.1 to flashing 3.6.7.2?

or would it be ok to just flash?

im asking because i just set it up with all my apps and the icons where i want em
[G1 Android Development] jasherai:
I know this is obvious but to cover the bases... are you sure your ext partition was mounted on /system/sd when you first copied your userinit.sh into place?

If it was copied onto the base system not the actual sd card mount, it is probable it would get overwritten during a flash.

just a possibilty... :)
[G1 Android Development] bhilgeman:
no need to wipe anything, just flash it and go...
[G1 Android Development] bhilgeman:
Keep it on topic here mzet, this is a thread for Cyanogen's ROMs...
[G1 Android Development] mdavidf:
There wasn't anything off-topic with his posts. He asked if this mod plays MPEG4 files...legitimate question.
[G1 Android Development] irishrally:
I thought everyone should know that I just made my signature :cool:
[G1 Android Development] lightforce:
noticed battery is draining alot faster with 3.6.7.2 than .1
[G1 Android Development] heyoh:
Had a weird issue with 3.6.7.1 where I couldn't run any of the busybox commands in a terminal but upgrading to 3.6.7.2 it is no longer an issue and compcache seems to be running great!

Thanks again Cyanogen for all the hard work!
[G1 Android Development] dav1boy:
i didnt really notice it at first but it does seem to be draining at a quicker rate then usual. especially noticable when you just let the phone sit and you see the percentage drop. but its been covered here for close to 24hours now and the best solution that i can think for my device would be to upgrade my sd card to something that is class 6.
[G1 Android Development] Chahk:
I'd be glad to help out.

The phone was getting hot on the bottom, under the Menu button area. It was plugged in at the time I noticed the problem, but I then disconnected it from USB, and after an hour commute it was still unusually warm.
[G1 Android Development] caleb12:
I've been running on the same charge since updating yesterday. I have wifi on all the time. Email checks once an hour, moderate phone usage (couple of phone calls) and I've updated probably 10 apps out of the store. I still have 22% charge and that's almost 24 hours. I don't think the issue is with 3.6.7.2 - also, I'm not running compcache or anything like that...
[G1 Android Development] Ohsaka:
There are too many variables at play to try and blame this rom for battery issues. If it was really this rom, then more people would have the problem. What if it's just the battery meter reading being glitchy? Everyone should make a point to leave their phone off the charger for a long time (no reboots) and then goto Spare Parts -> Battery Information. It will list your battery vitals as well as how long you have been off the charger...

On a side note, here is a nice hack I found last night I didn't want other people to miss (credit: DarkStrumn)

From an adb shell or from terminal...run this:

mv /system/bin/sh /system/bin/sh0

ln -s /system/xbin/bb/ash /system/bin/sh

Switch your default shell from sh to ash. It shows your current working directory at the prompt, and in terminal it will support the trackball to scroll back through command history. There is a separate thread on this, but I didn't want anyone to miss it...
[G1 Android Development] dav1boy:
dont get me wrong... i dont think its the rom itself persay, but just some upgrades within it could demand more usage. as stated a few pages back, (could be more then a few pages since this thread moves a hundred miles an hour lol), that upgrading the sd card could help with the battery issues im having when running things such as compcache. since i have more or less a basic type of card, a class 6 would help speed things up and require less consumption of the battery. with what has been said this solution seems logical for me. has nothing to do with the build itself or being bugging. my phone lives off of CM builds!
[G1 Android Development] sparticus78:
erratic behavior

first time poster, long time reader.just like to say thank you to everyone for all there help, never had a problem with anything that i could not find already asked. search is a great feature. i noticed an overheating issue, then all of a sudden my phone will start to open things on my home page. its like someone is pressing on the screen. i do a restart and it stops for a while. i don't know if the two are related. any help would be greatly appreciated. ohh and it started with rom 3.6.6

Phone: T-Mobile G1 (Black)

ROM: CyanogenMod-3.6.7.2 /w compcache

Recovery: Recovery 1.3.1 + JF

Radio: 2.22.19.26I

SPL: 1.33.2005
[G1 Android Development] caleb12:
Right... That's the point is that it could be alot of things, perhaps it became more noticeable after switching to compcache. It's not like battery life on these things are that great anyways. Just the slightest apps, that run in the background constantly will kill a battery.

You know that T-mobile will ship you a new battery, if you are still within the first 3 months of your warranty. It may be longer, I don't know... I called in after two months, complained about battery life - had to go through the tech support hoops - and after they sent me a new battery. Two sure does help... :)
[G1 Android Development] atlmatt:
Home button does not function
[G1 Android Development] lazaro17:
im noticing a bit of lag on 3.7.2

especially on virtual keyboard, it'll get stuck briefly and skip on a few letters.

been doing non-wipe upgrades since 3.6.

you think its maybe just time i do a wipe?
[G1 Android Development] qPs1:
Noticed missed call notification does not seem to work anymore. Just upgraded from 3.6.5 today. Now when I have a missed call, pull the down the notification bar and select missed calls it does not bring me to the Call Log but instead just drops me back in the home screen.

Anyone else having this problem?
[G1 Android Development] njuncos:
thanks! ash works great!
[G1 Android Development] alritewhadeva:
Uh I just got stuck at the g1 screen after following that and rebooting :o Fired up DDMS logcat and i get "-exec '/system/bin/sh' failed

:"
[G1 Android Development] andonnguyen:
Been noticing a charge temperature range of 107 to 110 degrees farenheit. I'm pretty sure that isn't normal.
[G1 Android Development] bkmo:
Looks like there is no link to ash, or there is no busybox executable available at this point in the boot. At the recovery shell try copying the backup sh0 back to sh (reverse the mv )
[G1 Android Development] xidominicanoix:
um is this a safe hack then? ;)
[G1 Android Development] alritewhadeva:
probably lol. I'm on hero that might be the problem. Not sure haha :p Just nandroid backup and then do this. I was stupid and didnt haha. well this gives me an excuse to flash newest hero ROM.
[G1 Android Development] psrtx:
Manualy swith to ash

When you start terminal, you can switch to ash by typing in "ash". Replacing sh with "ash" could result in problems if ash/busybox is not available.