yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] my_former_self:
Just messin' with ya while I searched. Sheesh. :rolleyes:

Give this post a wack. It's in the CyanogenMod forums, so you'll have to register to download it. The post has a few flashable options, which are nice, depending on what you want (like the ability to switch between 2D and 3D via Terminal commands or just flash one, etc). Cool stuff.

UPDATE (8.14.2010): I found this link, same guy, with an updated flashable script and instructions, too. Used it personally. Works well.
[G1 Android Development] TeeJay3800:
Thanks! That sounds like what I'm looking for (I'll make a Nandroid beforehand just to be safe).

I actually had registered there the day the forum was created and had a lot of posts, but I just noticed I'm not registered anymore (forum crash?).
[G1 Android Development] mugen910:
** nevermind
[G1 Android Development] ad505:
I have done the battery fix that user my_former_self has posted and it seemed to help a bit, but I am still experiencing atrocious battery drain with 2.1 roms. I'm thinking it's because my phone doesn't seem to sleep, even when the screen is off. Today, in spare parts>battery history>other usage it tells me that 100% of the battery use is the android system. When I select it, it says "time awake: 6h 23m." When I thought about it, my phone had been unplugged for about 6h and 23m (and is now about to die), so this is leading me to believe that the phone is not sleeping. I went to end button behavior and selected sleep, but cannot attest to this working yet as I have to charge it again before being able to see the battery usage again. Is there a way to check and see if my device is actually sleeping when the screen is off?

I think I'm finally getting to the root of the battery drain issue (hopefully..). I have the stock battery and the seidio 2300mah battery with the fat back, and the 2300mah battery BARELY keeps the phone alive for 12hrs. With 1.6 roms, I was easily getting 35-40hrs with this battery. The stock battery gives me 6-8hrs, and with 1.6 roms I was easily getting 12 to 17 hrs before the phone dies.

Thanks!
[G1 Android Development] PhenomenalCris:
When i try to adb push ADW 1.0.1 to my G1 with CM5 it always tells me theres a an error becuz its a read only file system. This worked fine with chromatic so why doesnt it work with CM5....... adb push ADWLauncher.apk /system/app/ADWLauncher.apk . thats how im typing it in ADB. please help DX
[G1 Android Development] my_former_self:
Quick answer: Use the flashable zip, in my sig, in recovery instead.

Long (uncertain) answer: As far as the /system being read only, that's a norm for CM. I don't use ADB too much, but via a Terminal console (as root), the command to allow /system to be written to is (brackets are for keystrokes, not to be typed):

mount[SPACE]-o[SPACE]rw,remount[SPACE]/system[ENTER]

So, conceivably, ADB way could be:

adb[SPACE]mount[SPACE]-o[SPACE]rw,remount[SPACE]/system[ENTER]

adb[SPACE]push[SPACE]ADWLauncher.apk[SPACE]/system/app/ADWLauncher.apk[ENTER]

But, I am NOT sure of that (the adb way). I AM sure, however, of the flashable zip.
[G1 Android Development] my_former_self:
Glad that my tutorial helped some. Make sure you read the "Note-able Notes" part again, too.

Honestly, though, I'm going to venture a guess that while, yes, 2.1 uses a little more battery, it's not the only cause. It could be an overclocking problem (which can be fixed with SetCPU). It could be that your battery is just going bad (the stock one, that is). Mine did. I got a new one and so far, we're good. It could also be Steve Jobs hacking into your phone via an app...sorry, I have an ongoing thing with these Steve Jobs jokes :D Plus, his WiFi would probably hang during the hack...heh heh heh.

So, what exactly is your cause? Heck, I don't know; there are so many different setups and variables, there'd be no way for any of us to know without either A) being you; or B) using your phone. What I do know is that there are some of us whose phone batteries are working well. I am not, however, saying that you are lying or exaggerating or any other synonym; I believe you.

What you need to do is some deep Android investigation. See if there are apps that are keeping your phone awake or are updating in the backgroud (I recently found a binary clock widget was causing issues and that a Twitter app update some how reset my update checking to every 5 minutes). Run fix_permissions. Wipe the dalvik-cache. Do things one at a time and see what happens. Also, it sucks, but you can backup your apps (and, if you've read enough of my posts, you can guess what program I'd recommend), Nandroid backup, and do a fresh install with one app at a time.

No one can give you a clear cut answer, but hopefully some of that or someone else's suggestion will help some. Ultimately, though, because of the diversity of setups, it boils down to some old fashioned detective work and a good deal of patience. But you will figure it out if you put your mind to it; I did. Good luck and post back your progress for others to learn from, too.

But, if you really want to test your theory (about 1.6 vs 2.1), flash back to CM's 1.6 ROM and run it for a week.
[G1 Android Development] Firerat:
the second line is good, but the first won't work

adb shell mount -o rw,remount /system

BUT

adb remount

will do the same ;)
[G1 Android Development] EbiEre:
He guys, i have a little Problem. The First time The market worked but now The download dosen't start. And The market Is Not shown up in The application list.

Can i just reflash The gapps again? Pr should i wipe dalvik before or something?

Thx
[G1 Android Development] ad505:
I think I solved my issue, because my phone as been unplugged for about 5hrs now and I'm still @ about 85% battery. My device was not sleeping when the screen turned off. By specifying the end button's behavior to put the phone to sleep, it ACTUALLY sleeps now. I wonder if more users have not tried this? It seems that this isn't a default setting on the cm based roms. Spare parts>end button behavior>sleep. Thank u all again for the awesome help. I love our android community.
[G1 Android Development] mastiff78:
Hi,

I was wondering if there is a way to overclock T-Mobile myTouch Fender editon, and make it run faster. Will this affect my battery consumption or any other unwanted effects? I'd appreciate if someone would help me here.

Fyi, I just rooted my phone yesterday, and now running CyanogenMod-5.0.8

Thanks
[G1 Android Development] ad505:
Use this app.

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

I believe the cmroms come overclocked already, though.
[G1 Android Development] my_former_self:
[Sigh] Remember when I said...

Hmmm? Didn't I tell you to read it all? Ahem...:rolleyes: Line #3, "Note-able Notes" from my tutorial:

Anyways...:D...I'm glad you got it all working well. CM 5.0.8 DS is, in my opinion, the best so far. I really love it as my daily driver. Oh, and if you haven't updated ADWLauncher to 1.0.1, do it! The newest is so much better than the version included in CM 5 (the link in my sig will take you to the flashable version).
[G1 Android Development] my_former_self:
Thanks, rat. I knew I was off on that one (like I said, I'm far more used to Terminal Consoles than ADB). Rat to the rescue, baby! :cool:
[G1 Android Development] my_former_self:
Updated Sig: "BATTERY DRAIN ISSUE FIXER-UPPER (The Consolidated 2nd Edition)"

All, I updated my sig to include a link to my original "BATTERY DRAIN ISSUE FIXER-UPPER + Other "Goodies" (The Consolidated 2nd Edition)" tutorial. I know a lot of people seemed to have liked and benefited from it. So I figured, instead of linking to it all the time in posts, I'd just throw it in my sig.

Thanks to all who've spread it around and I hope it continues to help!
[G1 Android Development] FatBoyExtraordinaire:
*Actual User Testimonial*

It works, it really does! Just look at my phone go!

Real talk though, follow this guide and you will be good money. I have and I love how my phone responds and performs now.
[G1 Android Development] graphorce:
Guys, need some help here

I've a HTC MyTouch3g (Vodafone)

Engineering-SPL-HBOOT-1.33.2010

AMON RA 1.7.0H

Radio 3.22

I can get into recovery.

I was on donut, I rooted, flashed my SPL through recovery then flashed CM5, the installation went well but when I tried to reboot, I got stuck in the red vodafone screen, waited for around 20 mins, then gave up. Tried flashing it again, the same result.

Then flashed the kernel patch and tried again, the same result. What am I doing wrong?

Any help would be much appreciated. Thanks!
[G1 Android Development] xanaviarai:
Server is slammed right now LOL.
[G1 Android Development] engagedtosmile:
Why does it seem my mounting option goes away? Am I doing something wrong?
[G1 Android Development] ericscottf:
I'm pleased to find that this doesn't slow down my phone much at all, if any.

Can anyone make suggestions on how to improve speed for this particular build? Getting into apps that are already running does take a bit loner than i'd like, for instance, clicking the dial button or going into messaging takes several seconds to get to the screen..

I've seen swap bandied about, however, i've also seen suggestions that it isn't used with this version...

I'm happy to sacrifice internal memory for speed, as i don't run many programs. I'd like to keep battery life, however, so overclocking seems like a bad idea in that respect...

and for the record, i've got an app killer installed and nothing non-critical is running/taking up memory or speed.

thanks!
[G1 Android Development] ericscottf:
It looks to me that if you have USB tethering on, it won't let you mount the SD card.

I turned it off and the option to mount came right up.

kinda makes sense that you couldn't mount a card and tether over the same usb cord... maybe...?
[G1 Android Development] kristoff123:
Wow, running at 710mhz now, no crashes yet! OMG!
[G1 Android Development] blackmamba22:
did you witness an installation aborted when installing google apps?
[G1 Android Development] ericscottf:
What's that do to your battery life?

Does the CPU still throttle down when it isn't being used, or is it always running AFAP?

Does it make things noticeably faster, or is it just a numbers game?
[G1 Android Development] sbdags:
I've been switching between Super D 1.11 and various CM5 test version. Upgrading to this now. Only issue I ever had on CM5 Test was sometimes home launcher icons would disappear until a reboot happened .....
[G1 Android Development] mikeysmith281:
ALRIGHT...So before this stable one came out i was using superbad1.3 for a few days, his morning i wiped, and flashed the cyanogen 5 stable and my pc wouldnt detect my phone at all, after doing another wipe re-rooting and reinstalling fresh it worked, but the usb tether still wont work. Any ideas?
[G1 Android Development] engagedtosmile:
Hmm I don't have it enabled. I will try enabling and disabling it to try it out.

Didnt work. Only way I am able to USB mount is from recovery.
[G1 Android Development] axllent:
Not having too much luck here with battery unfortunately on my Magic. Battery dropped 60% in 8 hours during the night despite syncing & bluetooth being turned off. Normally I'd get a 10-15% drop overnight with SuperD with the same settings.

The only thing I can think of is that it seems Cyanogenmod continuously seems to be closing programs due to low mem, which then restart on their own at some stage. An example would be JuicePlotter which only gives me partial readings over the last 12 hours. The way I see it, that surely must be one of the root causes of battery use - continuously having to restart daemons.

Still not giving up on it yet though, ROM seems to be running smooth ;-)
[G1 Android Development] dsn0wman:
Are the Google add on links valid? It's dificult to tell if the links are valid, or the server is just so slammed that nothing is happening.
[G1 Android Development] blackmamba22:
When I try to install google apps it says installation aborted
[G1 Android Development] xavier6303:
I wiped data and wiped ext then flashed and then installed titanium to get all my apps back but when I run titanium (or any root requesting app) I get "unable to get root" error messages. I didnt have this on any of the tests. Anyone having a similar issue? Maybe there is an option I am missing?
[G1 Android Development] blackmamba22:
did you experience any installation aborted problems when trying to apply the google add ons?
[G1 Android Development] Houka420:
Gapps

I just tried to download & install & both worked without a hitch. The first Gapps mirror wouldn't work, but as soon as I tried the second mirror it started right away. :)
[G1 Android Development] axllent:
You mean during the initial installation? Nope none, just applied the CM file and afterwards the Google one.
[G1 Android Development] rudeguy:
10-15% drop over 8 hours of non use?

Are you using anything like Doggcatcher or something that downloads files automatically? That's a heck of a lot of battery drain and my guess is that since you wiped, its trying to download all of your stuff again.

Or your battery is bad.

Or there are midgets that sleep under your bed. They might like 2.1 and played with it more than they usually do.
[G1 Android Development] rudeguy:
sounds like the file is corrupt. Redownload it and try again.
[G1 Android Development] my_former_self:
OK, first, clarify a few things for us:

When you reboot and hold the BACK button, list off the entire first line on the white screen that you get. For instance, mine looks like this:

SAPPHIRE PVT 32B ENG S-OFF H

What I'm looking for is 32A or 32B and the last part; S-OFF H or S-ON H. Also, while you're there, verify that you do, in fact, have the 1.33.2010 SPL (and not 1.33.0010) and the 3.22.XX.XX radio, as well.

Your SPL (1.33.2010) and your RADIO (3.22.XX.XX) make me think you have a 32A, but I need to be sure. The 32A, of course, requires the extra Magic 32A/EBI1 Kernel Update on top of the CM 5 update and gapps.

The other issue I'm seeing (or perceiving) is that you said...

Now, did you do that all in one recovery session (i.e. flashed SPL, radio, CM one right after another)? If so, that'd be your issue. You need to flash the SPL, then reboot. Flash the radio, then reboot. THEN, flash CM 5, gapps and the extra update (if you do, in fact, have a 32A Magic), reboot and wait for a good while (up to 15 minutes, sometimes).

Anyways, post back with some info and we'll get this thing fixed.
[G1 Android Development] my_former_self:
ad505 is dead on; SetCPU is the bomb. And CM is overclocked by default, but not by much. This (SetCPU) will speed it up even more.

To alleviate the battery consumption, however (as you are rightfully worried about), use the instructions from my "BATTERY FIXER-UPPER + Other Goodies" link in my sig. Scroll down to its "Note-able Notes" part; you'll find instructions for SetCPU there that will help to save battery yet give you the boost you need when you need it. As far as any ill effects on the phone's CPU, as long as you're not playing 3D games for hours on end, your phone's CPU should be perfectly fine. By the time it dies (if it even does, that is), you'll be on to your next phone by then.
[G1 Android Development] my_former_self:
Sweet. Next up, business cards! :D

P.S. - Please refer all appointments through my agent, FBE :cool:
[G1 Android Development] my_former_self:
2D Gallery to 3D and back again zip

Hey, I updated my post response to you. Here's the addition, so you don't have to look back...

For everyone else who has no idea what we're talking about here, TeeJay was looking for a way to replace the 3D gallery in his ROM with the default 2D from CM. The file I linked to (the updated one) is a flashable zip. Once flashed, you can run script commands from Terminal to replace the 2D Gallery with the 3D or vice verse and other commands, too. Check it out.

NOTE: When you first replace the 2D gallery with the 3D, any photo frame widgets will have to be redone. Also, the 3D gallery will have its own icon (very similar to 2D, but blue in color) and when it is first launched, it will take a while for each folder to cache its thumbnails. So, a little patience at first is required. Now, I've only tested this for a few hours, so I can't vouch for it long term, but so far it's pretty cool. But that's why we all do what first? And the masses say, "Nandroid backup!" :D Ah, you have learned well, grasshoppers!

P.S. - I may have flashed and tested this...at a restaurant during dinner with my wife :rolleyes: I'm in a little trouble right now, but I bought her dessert, told her she looked pretty...and so I may be alive tomorrow for responses :D
[G1 Android Development] my_former_self:
Minor Tutorial Updates

I added a few minor updates to my tutorial in my sig. Nothing huge, just some common sense stuff about not using Live Wallpapers, unchecking "system persistence" in ADWLauncher, etc.

P.S. - I included a few shout outs and name droppin' for my peeps, too :D
[G1 Android Development] FatBoyExtraordinaire:
And buttons, everybody loves buttons!

And appointments are available Monday through Saturday. No Sundays though, either sleeping or watching football, sometimes at the same time.

But on a serious note, just to further illustrate the beauty of this set up guide, I used to have to reboot my phone daily, just to get that fresh feeling back because my phone would bog down and slow to a crawl after a day's use. Since following this guide to a tee, that hasn't been the case. I haven't rebooted my phone in 8 DAYS and I'm still going strong. I haven't done that ever with ym g1 and that including when I very first got it and it wasn't rooted. This rom + this guide = Oh Yeah!

Yeah buddy, got my name in lights now!
[G1 Android Development] my_former_self:
Tutorial now an XDA exclusive!

Hey, FBE, I also added a #15 to the "Note-able Notes" about the CacheCleaner app from the Market. It helps, too.

On a side note to everyone, I just wanted to say that because of the appreciation XDA's shown for my tutorial, this is now the only place I have it posted. I removed it from CM forums due to the ludicrous amount of moronic comments and nitpicking. Most of the posts there were from people who did things wrong, didn't try it or felt they had a better way. The latter always bothers me because those people could have always just started their own thread, but chose to hijack another's instead. [Sigh] Whatever. Not picking on CM or the CM forum, just the people in that particular thread I started (and now ended). The difference between there and here is night and day. Heck, even Arkain2k seems to have turned over a new leaf in here (Kudos, brother. Really.) ;)

So, again, thanks to everyone and keep on being awesome. You guys rock. Keep passing the knowledge around!
[G1 Android Development] FatBoyExtraordinaire:
Ha finally, one tip from you that I have already been doing. Found that app while "app hunting" and it was glad I stumbled upon it. Works well too.
[G1 Android Development] flyers00:
Thanks for the tips. I switched from adw launcher to launcher pro,seems to work pretty well. Speed is pretty good.
[G1 Android Development] my_former_self:
Totally welcome for any tips. Just passing on the knowledge.

Did you flash the latest ADW (v1.0.1)? The speed is MUCH better than previous versions and it has all the features of Launcher Pro (except the 3D Launcher) and seems a bit more customizable. Plus, it's available in flashable form (i.e. a real home replacement), which makes for better stability, in my opinion.

Anyway, don't get me wrong, I don't have stock in ADWLauncher or anything; it's your preference. Just getting the info out there is all. If you like Launcher Pro, have at it, my friend. I do like the widgets of Launcher Pro's Plus version, but I don't like that it's not free :D Eh, call me cheap, but I like to keep my money for things like the new extended battery I just bought (stupid failing stock battery...grumble, grumble).

P.S. - If you want the ADW 1.0.1 zip, it's in my sig.
[G1 Android Development] ericscottf:
Hi all

My setup hasn't been automatically refreshing my gmail mail for the last week or so.

Tried rebooting, nothing. It might refresh once a day or so, frequently not even that much

If i go to main settings - accounts and sync - and click on my accounts, i can see the last time it refreshed, which is typically very long ago unless i manually refreshed. Strange, eh?

if i manually refresh by going to gmail, menu, refresh, it works just fine.

I'm pretty sure I didn't change anything around the time this started happening, but it is impossible for me to pinpoint the last time my phone was regularly refreshing my gmail.

I go into settings->applications->manage applications to clear my gmail data (suggested in other forums), but gmail isn't in there to be cleaned out. Is that because i'm using google apps or because of the way i installed gapps when i upgraded to CM5.0.8? Any other way to clear it out?

Any suggestions on how to get refreshing working again?

thanks!

Edit: Turned off sync everywhere and rebooted. Got stuck in a boot loop.

Used amon ra recovery console to wipe dalvik cache

Boot loop is fixed

Refresh problem seems fixed too.

yay?
[G1 Android Development] spongaweb:
Everything is/was running great, but I will get the .acore error every once in while and it will corrupt everything have to resort to a backup. Like just recently I clicked on ADWLauncher in the /Settings and it popped the .acore error up twice, but now it hasn't come up.
[G1 Android Development] my_former_self:
Most likely there is an error in your backup which causes the FC's after you restore and use for awhile. Unfortunately, I think a fresh install is warranted. If you haven't, though (but I'm sure you probably did), a fix_permissions may help (plus a wipe of the dalvik-cache).

And do I have to say Titanium Backup? :D They should hire me for marketing.
[G1 Android Development] my_former_self:
Went by my local (and newly remodeled) TMO store today. Took another look at the MT3G Slide. Still love the keyboard, but the features aren't quite enough for me to shell out the money for it (I offered to buy one for my wife, who has a G1, but she just hugged her phone and said, "No way. I love my phone."). Still a nice looking phone, though, for someone who does not currently have a MT3G already.

So, I'm going to wait on the G2 (which I believe is the "G1 Blaze") that TMO's been teasing on their site. If it's truly the successor to the beloved G1, then it'll have a keyboard, as well. And if it is the "G1 Blaze", it'll rival the Nexus One in performance, as well (1Ghz processor, etc). Good combo. Guess we'll wait and see :rolleyes:
[G1 Android Development] FatBoyExtraordinaire:
Yeah, after reading any and all I could find on the G2/Blaze, I'm hooked and think I'll wait it out till that phone comes out as well.
[G1 Android Development] pl4sMa:
Try going "Main Settings" -> "Applications" -> "Manage Applications" -> Press the Menu Button -> "Filter" -> "All Applications"

Your GMail would have popped up. Then just go into it settings and clear the data.

HTH mate.
[G1 Android Development] ericscottf:
Brilliant! thanks.

On a related note: I just can't seem to get things reliably refreshing my email.

Running CM 5.0.8 (see sig) Any other ideas as to what might be going on with that? Other forums say to turn off sync, reboot and turn it on, but that works for a few hours at best.

I don't care about fancy anything, i just want fast, reliable email, sms and web browsing (teathering is nice too). I find CM5.0.8 slow for my taste, i especially don't need the fancy launcher.

Any recommendations on what the best version for my needs would be? Barebones everything in an effort to gain the most speed for important tasks. What version does this sound like? Is there some kind of chart listing the way-too-many versions and their features?

thanks!