yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] aryndar:
Statement from Google

http://android-developers.blogspot.com/2009/09/note-on-google-apps-for-android.html

A Note on Google Apps for Android

Posted by Dan Morrill on 25 September 2009 at 2:31 PM

Lately we've been busy bees in Mountain View, as you can see from the recent release of Android 1.6 to the open-source tree, not to mention some devices we're working on with partners that we think you'll really like. Of course, the community isn't sitting around either, and we've been seeing some really cool and impressive things, such as the custom Android builds that are popular with many enthusiasts. Recently there's been some discussion about an exchange we had with the developer of one of those builds, and I've noticed some confusion around what is and isn't part of Android's open source code. I want to take a few moments to clear up some of those misconceptions, and explain how Google's apps for Android fit in.

Everyone knows that mobile is a big deal, but for a long time it was hard to be a mobile app developer. Competing interests and the slow pace of platform innovation made it hard to create innovative apps. For our part, Google offers a lot of services — such as Google Search, Google Maps, and so on — and we found delivering those services to users' phones to be a very frustrating experience. But we also found that we weren't alone, so we formed the Open Handset Alliance, a group of like-minded partners, and created Android to be the platform that we all wished we had. To encourage broad adoption, we arranged for Android to be open-source. Google also created and operates Android Market as a service for developers to distribute their apps to Android users. In other words, we created Android because the industry needed an injection of openness. Today, we're thrilled to see all the enthusiasm that developers, users, and others in the mobile industry have shown toward Android.

With a high-quality open platform in hand, we then returned to our goal of making our services available on users' phones. That's why we developed Android apps for many of our services like YouTube, Gmail, Google Voice, and so on. These apps are Google's way of benefiting from Android in the same way that any other developer can, but the apps are not part of the Android platform itself. We make some of these apps available to users of any Android-powered device via Android Market, and others are pre-installed on some phones through business deals. Either way, these apps aren't open source, and that's why they aren't included in the Android source code repository. Unauthorized distribution of this software harms us just like it would any other business, even if it's done with the best of intentions.

I hope that clears up some of the confusion around Google's apps for Android. We always love seeing novel uses of Android, including custom Android builds from developers who see a need. I look forward to seeing what comes next!

Follow up @ Official statement from Google regarding the Cyanogen controvery with xda.... http://xdaforums.com/showthread.php?t=564623
[G1 Android Development] creid2352:
Could some please email me the zip file of 4.04 or his latest version. The links are down and I really want this ROM. C.reid2352@gmail.com hit me up on gtalk if you can send it.
[G1 Android Development] eosrider:
could someone also send me the zip. eosrider@gmail.com

thanks
[G1 Android Development] AngryCookieMonster:
:( looks like com.android.phone was force closing on 3.6.7.1 had to flash back

to 3.6.6..ill wait for the next update. though not complaining at all eveyone makes mistakes..hey keep up the good work these roms are by far my favorite:D
[G1 Android Development] persiansown:
I'm using compcache without a backing swap and it seems like my battery is dropping about twice as fast as normal.
[G1 Android Development] airmaxx:
unable to start wifi

I tried to update to 3.6.7.2 from 3.6.7.1 without a wipe and the only issue was wifi also :(

but I was only able to get it working after a wipe and clean install, no more force restarts and "unable to start wifi" error messages

if someone knows another solution I'd be glad to know for the future

But otherwise, I'm up and running now, and so far its smooth and fast
[G1 Android Development] prettyboy85712:
No problems to report with 3.6.7.2. installed. :)
[G1 Android Development] sha.goyjo:
Working just fine

Using compcache without a backing swap is working fine for me, no pronounced battery drain. I'm running an ext4 partition on a 1 gig stock sd card though, that might be making a difference. High transfer rates might be forcing the processor to stay at high speeds for longer periods during file decompression.
[G1 Android Development] inoah:
I haven't been running it long enough to notice, but I set swappiness to 20 to avoid overeager paging just to increase filesystem cache; there's no reason to cache filesystem data for long.

Hitting the compcache less often means less use of lzo, which should reduce cpu and increase battery life.
[G1 Android Development] xidominicanoix:
can i flash the new rom and then flash a 3.6.7.1 theme over it and then push the Camera.apk and Music.apk back from the new one?
[G1 Android Development] ggrant3876:
I didn't post a log.

I didn't download one from the market, it came with the rom. I'll have more time tomorrow, I may just wipe and reflash.
[G1 Android Development] caleb12:
SWEET! I'm up...

I used fastboot as you suggested, then updated. It worked from that point, so I recovered and then updated. Looks all good now...

thanks again...
[G1 Android Development] daveid:
Damn man.. Just got 3.6.7.1 all configured the way I like and BAM!

Flashing 3.6.7.2 now, at least I am confident all my theme'd files can be copied right over (hopefully). I ported my drawables to the music.apk in case that had changed (the change log seems to indicate so). It's booting now....

Success... keep em coming man. Booted with no problems.
[G1 Android Development] inoah:
my userinit.sh for compcache

Based on the other examples people posted, I wrote my own userinit.sh.

A couple of details:

32M buffer used.

Swappiness set to 20; don't eagerly favor filesystem cache

Should continue to work even if Cyanogen revs the kernel.
[G1 Android Development] MotherMayI:
quick question going up roms like going from 3.6.7.1 to 3.6.7.2, i dont need to flash do i? and does anyone know if the themes are working with these roms yet? and o yea lol. if i flash from a 3.6.7.1 but using like the ophone theme with it, would i be able to flash to .2 with np or would i have to wipe? thanks in advance and sorry for all the questions ^_^;;;
[G1 Android Development] henrylim:
I had battery issues in 3.6.5. It went away after I backup my essential data and do a ALT-W wipe. I do not know what happen but it works for me. Now on 3.6.7.1 since 7pm. Its 9.24am at my timezone and battery life has only drop less than 20% over night.
[G1 Android Development] bhilgeman:
yes, yes, no :)
[G1 Android Development] MotherMayI:
haha thanks bhilgeman :D
[G1 Android Development] xsnipuhx:
Cyanogen this is the first time I've tried your rom, and I'm hooked now. you are like a god for updating this rom so fast. TY :)
[G1 Android Development] MotherMayI:
oh this is for cyanogen! i have an update idea...for the messaging app...can you get the display screen black and grey, like in the text message itself like in haykuro's old roms instead of the default blue and white cuz most of what i do is text and i just LOVED the black and grey backgrounds in text cuz it helped me not get caught while i text at work. if you could do that please please please! or tell me how to do that if its not too difficult, pretty please! :'(
[G1 Android Development] flak0:
Awesome Battery Life

I normally don't post a lot, but tonight I had to. This is probably the best ROM ever. Cyanogen you are a genius man. This ROM with the KSPEC OREO theme is awesome. I am reporting 0 FC's including CAM and others. The best thing is the compcache and I am happy to report that battery life is amazing. I left the house today at 4:30p and the battery was at 97% it is now 9:41p EST and my battery is at 75%. Usually it would be at 40%. I found the trick is to turn off wifi. Goto the market and d/l curvefish wifi widget. looks jus like the HERO one. Overall Cyanogen great job. im trying to learn linux but im stuck on Ubuntu lol:)
[G1 Android Development] mianosm:
3.6.7.2 is working flawlessly for me, thanks for the rapid updates. : )
[G1 Android Development] MotherMayI:
can someone tell me or point me to a place that explains compcache? is that just lunix-swap?
[G1 Android Development] dwang:
I'm noticing that the back of my phone gets really hot when I have compcache enabled.

I'm starting to think that maybe using compcache may not be such a good idea anymore.

the phone starts getting pretty laggy after a while too.
[G1 Android Development] henrylim:
sorry to post this, but I search and can't find the related commands in this or other threads...

does anyone has the terminal commands for enabling compcache?

I can create the userinit.sh file or download the wonderful examples here directly to the phone. Thanks!
[G1 Android Development] twosixths:
autorotate

I've been getting crazy auto-rotate issues since the 3.6 builds. If I open the keyboard, close it, and return to the home screen, my homescreen stays in landscape even if I upright my phne. I have to go to the menu screen to get my phone back in portrait. Anyone else experiencing the same?
[G1 Android Development] jklong03:
Please, someone shoot me!! :eek: I can't take this anymore! :)
[G1 Android Development] Nedlinin:
The terminal commands are the lines inside the userinit.sh file you have downloaded from this/other threads. They will work from just the terminal until the next reboot.

Have you tried the autorotate fix on the first page?
[G1 Android Development] henrylim:
hmmm, ok, I didn't realize that. I will copy it to the related system dir from terminal then instead of using adb. Thanks!

EDIT: Could have kicked myself! Found my answers here http://xdaforums.com/showthread.php?t=537236
[G1 Android Development] Ohsaka:
The internet has a built in search feature. It's called Google. :)

First link: http://code.google.com/p/compcache/

It makes a compressed swapfile in memory (ie not the sdcard)
[G1 Android Development] micool_21:
very nice, glad i stumbled on this thread...am now a fan cyanogen
[G1 Android Development] henrylim:
LOL! install Backup for Root Users in market, and use it to backup your APN settings. You can restore it if you wipe your phone after every ROM upgrade.
[G1 Android Development] alapapa:
http://xdaforums.com/showthread.php?t=537236

http://code.google.com/p/compcache/
[G1 Android Development] simms22:
its on the very first page , first post of the thread for this . you cant miss it !

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

" To see if it is working enter: cat /proc/ramzswap in the terminal console app on the phone. You should have a XX% GoodCompress listed if it is working properly.

Hope this helps a bit. Please correct me if I made mistakes.

edit: re-uploaded the script with swappiness set to 60. You can re-push the new one the same way.

edit: removed media info from post and userinit.sh to simplify things.

edit: the following may help for those unable to get adb working. Make sure you place userinit.sh on the root of your sd (fat32 partition)

in terminal emulator:

su

mount -o remount,rw /dev/block/mtdblock3 /system

cp /sdcard/userinit.sh /system/sd

chmod 755 /system/sd/userinit.sh "
[G1 Android Development] metallicant:
at 64% battery life 90 minutes since i updated with little activity, w/wifi off
[G1 Android Development] AustinKnight45:
What SPL are you running just asking ...
[G1 Android Development] rrstx:
well I figured out why I had no ringtones. every single file was a zero byte file. I don't know how that happened, but once I replaced the files with valid files, they all reappeared and worked fine.
[G1 Android Development] Ohsaka:
I have been on 3.6.7.1 and just flashed .2

I have not seen any weird battery problems...

Someone who is having problems, post your result from running 'cat /proc/ramzswap'

Mine:

# cat /proc/ramzswap
cat /proc/ramzswap
DiskSize: 24468 kB
NumReads: 1826
NumWrites: 2690
FailedReads: 0
FailedWrites: 0
InvalidIO: 0
PagesDiscard: 0
ZeroPages: 118
GoodCompress: 74 %
NoCompress: 6 %
PagesStored: 2572
PagesUsed: 917
OrigDataSize: 10288 kB
ComprDataSize: 3631 kB
MemUsedTotal: 3668 kB
[G1 Android Development] mogulrudy:
anyone getting a mms Forceclose when you go into messaging??:confused:
[G1 Android Development] simms22:
i posted this on androidcommunity and something similar here(on cyanogens closed thread) a few days back . i dont think its cyanogens rom that is causing it . i think it started with cupcake . here is the original thread and post ....

http://androidcommunity.com/forums/f10/g1-battery-training-21243/

"

07-14-2009, 11:08 AM

simms22

simms22 is , was , and always will be Edit

Phone junkie!

Join Date: Oct 2008

Location: p and ocean ave , brooklyn

Posts: 1,196

G1 battery training....

so , a little while back i noticed an odd thing with the g1 battery life . sometimes the battery life would seem much longer and sometimes it would seem to last much shorter than other times . how could this be , i asked myself . since i used the phone exactly the same , the charge should last the same . well it didnt . the carge always differed . so i did some investigating and experimenting ......

this is what i got and where i am at .

if you power off/reboot your phone while the battery meter is less than 100% , the battery meter/charge becomes inaccurate ! example ... i powered down when the phone was at 32% , and when i powered up it was 68% . how could that be ??? after this i noticed the charge drained abnormally fast . i let the battery drain back down to where i thought it should be ( pretty fast drain) , then charged ut to 100% . the solution to this is to make sure that you only power off/reboot when the meter is at 100% . charge it to 100% before you reboot it . when it reboots , the charge will be accurate , and it will feel like you got 10% more ! if you reboot when the phone isnt charged 100% , the meter and charge become inaccurate . but if you let it get to 100% when its charging abnormally long , then reboot , the charge lasts longer and the meter reads the charge accurately . try it . ive been doing this for some time now and am happier with the charge !

ps. i also posted this on xda yesterday . im waiting for some comfirmations ( but unfortunally , i expect a day or 2 for ppl to get back to me if it works for them )

Last edited by simms22; 07-14-2009 at 11:14 AM. "
[G1 Android Development] Maisum:
from all these different complaints and issues..im guessing 3.6.7.2 isn't very stable...
[G1 Android Development] mianosm:
I have 70% GoodCompress (compcache), after 30 minutes I'm down only 2%.

Seems much more stable than the 3.6.x updates to me...
[G1 Android Development] simms22:
not one problem over here .

apps2sd and lcompcache enabled . everything is humming just perfectly !

thank you cyanogen , i owe you a couple more beers ;)
[G1 Android Development] daveid:
Not a single problem here.
[G1 Android Development] gottifour:
Running GREAT HERE too! THANKS AGAIN FOR A GREAT Rom!!
[G1 Android Development] temporizer:
Flashing now. I didn't even get to make any comments about 3.6.7.1.... well maybe 1.
[G1 Android Development] here.david:
v3.6.7.2

Running w/o issues (with compcache) testing battery now...:D
[G1 Android Development] jklong03:
"Signing" withing Windoze?

I would like to be able to add files to the update*.zip files that Cyanogen puts out. Specifically, it would be nice to be able to add the V2 louder .cvs files, the complete media/audio tree and my userinit.sh files into the update.zip and save myself the time of pushing it all via adb after I flash.

I tried brute force stuff of unzipping the update, putting files into the update folder tree and then rezipping it up. Of course, upon reboot it fails the verification within recovery console.

Any way to do this within windows, I don't have a dual-boot setup with Linux on my PC.
[G1 Android Development] ScottGood:
Head over to http://xdaforums.com/showthread.php?t=471586&highlight=signing and read about signing themes, its the same as what you want
[G1 Android Development] ubernicholi:
You can put the userinit.sh in you system/sd folder and it will survive the flash and wipe
[G1 Android Development] usmc2k:
is anyone experiencing compache slowing down after a while in 3.6.7.2 or over heatn the back like dwang mentioned ?
[G1 Android Development] jklong03:
A blinding momement of clarity on one issue!!

Of course, that explains one thing! Since system/sd is actually a link to the partition on the SD Card and the card isn't touched in flashing or wiping, that is why my userinit.sh was working after I flashed ! Duhh, now that I think of it! Sorry, I was giving Cyanogen too much credit there for having really exotic scripts on first boot (yes, he still does :D) that were recreating my userint.sh based on my sd card configuration.

Anyway, what about the /audio and the V2 files? Anyone heard of a windows way to sign .zips? Would I have to go in and append the manifest file in the original distribution also?
[G1 Android Development] jklong03:
Thanks

Thanks for the tip. I still wonder, Maybe this is best for Cyanogen to answer, would I need to append the manifiest file in the distribution if I add things?
[G1 Android Development] Droid8Apple:
Tested And Approved

ps. i also posted this on xda yesterday . im waiting for some comfirmations ( but unfortunally , i expect a day or 2 for ppl to get back to me if it works for them )

i was in the process of the same test starting yesterday because my wife was having the same problem, along with myself of course. luckily for me you have already done the hard part, testing. so thanks! also, i charge with phone off at night because it is said that doing so will extend battery life and health. (to not have anything pulling juice except a LED light). works great and gives plenty of time for her to get some sleep as well.

_________________________________________________________________

White T-Mobile G1

Cyanogens’ 3.6.7.2 ROM

Cyanogens’ 1.3.1 Recovery

4GB Class 4 SD by PNY

Hard SPL

Apps2SD partitioned at 1GB ext2/ 3GB FAT

Radio: Duh…

Wife’s G1= same as above except bronze

“She’ll whisper “recovery” in my ear, and immediately I fastboot into Hard SPL…”

“You put your new ROM in, you put your new ROM out, you put your new ROM in, but you wipe when you’re in doubt…” – Modded Hokey Pokey
[G1 Android Development] ScottGood:
I'll repeat myself once more, Read this http://xdaforums.com/showthread.php?t=471586&highlight=signing

All you need is there

PS: Post 2

oh and BTW,

If your sitting at your windoze system, ADB pushing after flashing is faster than adding files rezipping then flashing, imo

last Edit:

I'm sure Cyan can give you more info but what I gave is just for signing in windows
[G1 Android Development] iflyabeech:
for the guy having problems with quick office force closing....I had that problem, and solved it by rebooting to recovery and running fix permissions from there.
[G1 Android Development] kockroach:
I tried to apply the update on top of my 3.6.5 install. At first the update wouldn't even run. I redownloaded, and the checksum is good, it ran the second time. Like others, I ran fix_permissions through the recovery console, but when I did that, I got a ton of errors saying that files didn't exist. Upon rebooting, most of my shortcuts and widgets didn't work (only for those apps that were installed by me). I tried to run fix_permissions again, but without any luck. I did a wipe and reinstalled the update. Now, everything is gone from my ext3 partition. None of the apps I installed exist. I am now having to reinstall everything from scratch. Any idea why this may have happened? Not sure if there is anything I could provide, Cyanogen, as I had to wipe and install from scratch basically.
[G1 Android Development] iflyabeech:
My battery usage seems a little high as well, but doable.....Its the only small problem I have with this ROM now! Thanks, Cyan!

Here is a battery graph screenshot from the last few hours...I was flying from about 21:10 to 22:30, so it might have been using more battery searching for signals...I can't figure out why a damn cell phone won't work, even at relatively low altitudes of 2500ft!
[G1 Android Development] mianosm:
Hmm I too am experiencing extreme battery usage (going to just turn off cc to see if it makes a difference).

62% @ 1214am

53% @ 1235am

9% over 21 minutes while just using the browser and GMail applications.
[G1 Android Development] twosixths:
C'mon! I was four doubles of Makers in and didn't have time to search! I've been a Cyanogen follower for multiple weeks (which is a long time in the Android world) and didn't think to check this FAQs. I did use his commands and everything works great now. Thanks for helpin' out!
[G1 Android Development] cyanogen:
My experience with it so far matches exactly this.
[G1 Android Development] innerspace:
3.6.7.2 flashed. droid reporting for duty.

No wipe, nandroid backup from 3.6.7.1 just in case.

Booted fine, camera and camcorder confirmed working.

Opened work mail and refreshed inbox, read a message. Reopened cam/corder, still working. I was having issues with audio not being recorded but know you were fiddling and this is probably fine now. Its simply too loud in this bar for me to tell if there is audio now.

Rebooted and redid tests just for good measure and everything works fine.

So, nice update! Well done mah friend.

Incidentally, I have been seeing the following errors since 3.6.7.1 and i don't know what they mean or why they're there:

and then boot finishes. Any other errors are related to apps I have installed. Thought I'd bring up the errors now, like I said, everything works fine afaik, maybe these eroors will help you in some way.

Thanks again for the update, cam problems solved - INCREDIBLY DELICIOUS.:D

EDIT --> Just FYI - I've noticed a bit more heat than normal after the phones been active for awhile. I've also noticed things getting laggy, especially when my battery is getting low.
[G1 Android Development] G1-evolve:
3.6.5 was the best. :rolleyes:
[G1 Android Development] iflyabeech:
Feature Request

Cyanogen-

I had a thought I haven't seen put out there yet.....Since you added the Reboot Phone option to the shutdown menu, how about a Reboot Recovery option as well...That would save a little time for some of us! Thanks!
[G1 Android Development] Droid8Apple:
Grey

if you go to the market and download "Handcent SMS" you will have every answer you are looking for... even make each person have their own colors, text notifications, and signatures

_________________________________________________________________

White T-Mobile G1

Cyanogens’ 3.6.7 ROM

Cyanogens’ 1.3.1 Recovery

4GB Class 4 SD by PNY

Hard SPL

Apps2SD partitioned at 1GB ext2/ 3GB FAT

Radio: Duh…

Wife’s G1= same as above except bronze

“She’ll whisper “recovery” in my ear, and immediately I fastboot into Hard SPL…”

“You put your new ROM in, you put your new ROM out, you put your new ROM in, but you wipe when you’re in doubt…” – Modded Hokey Pokey
[G1 Android Development] Nedlinin:
So, can we expect to be dropping compcache in the next versions? or, thinking you might be able to get it tweaked to work a little more smoothly?

It seems to work wonders as far as being speedy for the first couple hours... but, as another user noted, when the battery gets low, things *DRASTICALLY* slow down.